SOEM
v1.4.0
|
#include <ethercatmain.h>
Data Fields | |
uint16 | state |
uint16 | ALstatuscode |
uint16 | configadr |
uint16 | aliasadr |
uint32 | eep_man |
uint32 | eep_id |
uint32 | eep_rev |
uint16 | Itype |
uint16 | Dtype |
uint16 | Obits |
uint32 | Obytes |
uint8 * | outputs |
uint8 | Ostartbit |
uint16 | Ibits |
uint32 | Ibytes |
uint8 * | inputs |
uint8 | Istartbit |
ec_smt | SM [EC_MAXSM] |
uint8 | SMtype [EC_MAXSM] |
ec_fmmut | FMMU [EC_MAXFMMU] |
uint8 | FMMU0func |
uint8 | FMMU1func |
uint8 | FMMU2func |
uint8 | FMMU3func |
uint16 | mbx_l |
uint16 | mbx_wo |
uint16 | mbx_rl |
uint16 | mbx_ro |
uint16 | mbx_proto |
uint8 | mbx_cnt |
boolean | hasdc |
uint8 | ptype |
uint8 | topology |
uint8 | activeports |
uint8 | consumedports |
uint16 | parent |
uint8 | parentport |
uint8 | entryport |
int32 | DCrtA |
int32 | DCrtB |
int32 | DCrtC |
int32 | DCrtD |
int32 | pdelay |
uint16 | DCnext |
uint16 | DCprevious |
int32 | DCcycle |
int32 | DCshift |
uint8 | DCactive |
uint16 | configindex |
uint16 | SIIindex |
uint8 | eep_8byte |
uint8 | eep_pdi |
uint8 | CoEdetails |
uint8 | FoEdetails |
uint8 | EoEdetails |
uint8 | SoEdetails |
int16 | Ebuscurrent |
uint8 | blockLRW |
uint8 | group |
uint8 | FMMUunused |
boolean | islost |
int(* | PO2SOconfig )(uint16 slave) |
int(* | PO2SOconfigx )(ecx_contextt *context, uint16 slave) |
char | name [EC_MAXNAME+1] |
for list of ethercat slaves detected
uint8 ec_slavet::activeports |
active ports bitmap : ....3210 , set if respective port is active
uint16 ec_slavet::aliasadr |
Alias address
uint16 ec_slavet::ALstatuscode |
AL status code
uint8 ec_slavet::blockLRW |
if >0 block use of LRW in processdata
uint8 ec_slavet::CoEdetails |
CoE details
uint16 ec_slavet::configadr |
Configured address
uint16 ec_slavet::configindex |
link to config table
uint8 ec_slavet::consumedports |
consumed ports bitmap : ....3210, used for internal delay measurement
uint8 ec_slavet::DCactive |
DC sync activation, 0=off, 1=on
int32 ec_slavet::DCcycle |
DC cycle time in ns
uint16 ec_slavet::DCnext |
next DC slave
uint16 ec_slavet::DCprevious |
previous DC slave
int32 ec_slavet::DCrtA |
DC receivetimes on port A
int32 ec_slavet::DCrtB |
DC receivetimes on port B
int32 ec_slavet::DCrtC |
DC receivetimes on port C
int32 ec_slavet::DCrtD |
DC receivetimes on port D
int32 ec_slavet::DCshift |
DC shift from clock modulus boundary
uint16 ec_slavet::Dtype |
Device type
int16 ec_slavet::Ebuscurrent |
E-bus current
uint8 ec_slavet::eep_8byte |
1 = 8 bytes per read, 0 = 4 bytes per read
uint32 ec_slavet::eep_id |
ID from EEprom
uint32 ec_slavet::eep_man |
Manufacturer from EEprom
uint8 ec_slavet::eep_pdi |
0 = eeprom to master , 1 = eeprom to PDI
uint32 ec_slavet::eep_rev |
revision from EEprom
uint8 ec_slavet::entryport |
port number on this slave the parent is connected to
uint8 ec_slavet::EoEdetails |
EoE details
ec_fmmut ec_slavet::FMMU[EC_MAXFMMU] |
FMMU structure
uint8 ec_slavet::FMMU0func |
FMMU0 function
uint8 ec_slavet::FMMU1func |
FMMU1 function
uint8 ec_slavet::FMMU2func |
FMMU2 function
uint8 ec_slavet::FMMU3func |
FMMU3 function
uint8 ec_slavet::FMMUunused |
first unused FMMU
uint8 ec_slavet::FoEdetails |
FoE details
uint8 ec_slavet::group |
group
boolean ec_slavet::hasdc |
has DC capability
uint16 ec_slavet::Ibits |
input bits
uint32 ec_slavet::Ibytes |
input bytes, if Ibits < 8 then Ibytes = 0
uint8* ec_slavet::inputs |
input pointer in IOmap buffer
boolean ec_slavet::islost |
Boolean for tracking whether the slave is (not) responding, not used/set by the SOEM library
uint8 ec_slavet::Istartbit |
startbit in first input byte
uint16 ec_slavet::Itype |
Interface type
uint8 ec_slavet::mbx_cnt |
Counter value of mailbox link layer protocol 1..7
uint16 ec_slavet::mbx_l |
length of write mailbox in bytes, if no mailbox then 0
uint16 ec_slavet::mbx_proto |
mailbox supported protocols
uint16 ec_slavet::mbx_rl |
length of read mailbox in bytes
uint16 ec_slavet::mbx_ro |
mailbox read offset
uint16 ec_slavet::mbx_wo |
mailbox write offset
char ec_slavet::name[EC_MAXNAME+1] |
readable name
uint16 ec_slavet::Obits |
output bits
uint32 ec_slavet::Obytes |
output bytes, if Obits < 8 then Obytes = 0
uint8 ec_slavet::Ostartbit |
startbit in first output byte
uint8* ec_slavet::outputs |
output pointer in IOmap buffer
uint16 ec_slavet::parent |
slave number for parent, 0=master
uint8 ec_slavet::parentport |
port number on parent this slave is connected to
int32 ec_slavet::pdelay |
propagation delay
int(* ec_slavet::PO2SOconfig) (uint16 slave) |
registered configuration function PO->SO, (DEPRECATED)
int(* ec_slavet::PO2SOconfigx) (ecx_contextt *context, uint16 slave) |
registered configuration function PO->SO
uint8 ec_slavet::ptype |
Physical type; Ebus, EtherNet combinations
uint16 ec_slavet::SIIindex |
link to SII config
uint8 ec_slavet::SMtype[EC_MAXSM] |
SM type 0=unused 1=MbxWr 2=MbxRd 3=Outputs 4=Inputs
uint8 ec_slavet::SoEdetails |
SoE details
uint16 ec_slavet::state |
state of slave
uint8 ec_slavet::topology |
topology: 1 to 3 links