#include <ethercatmain.h>
for list of ethercat slaves detected
Definition at line 106 of file ethercatmain.h.
uint8 ec_slave::activeports |
active ports bitmap : ....3210 , set if respective port is active
Definition at line 175 of file ethercatmain.h.
uint16 ec_slave::aliasadr |
Alias address
Definition at line 115 of file ethercatmain.h.
uint16 ec_slave::ALstatuscode |
AL status code
Definition at line 111 of file ethercatmain.h.
uint8 ec_slave::blockLRW |
if >0 block use of LRW in processdata
Definition at line 223 of file ethercatmain.h.
uint8 ec_slave::CoEdetails |
CoE details
Definition at line 213 of file ethercatmain.h.
uint16 ec_slave::configadr |
Configured address
Definition at line 113 of file ethercatmain.h.
uint16 ec_slave::configindex |
link to config table
Definition at line 205 of file ethercatmain.h.
uint8 ec_slave::consumedports |
consumed ports bitmap : ....3210, used for internal delay measurement
Definition at line 177 of file ethercatmain.h.
uint8 ec_slave::DCactive |
DC sync activation, 0=off, 1=on
Definition at line 203 of file ethercatmain.h.
int32 ec_slave::DCcycle |
DC cycle time in ns
Definition at line 199 of file ethercatmain.h.
uint16 ec_slave::DCnext |
next DC slave
Definition at line 195 of file ethercatmain.h.
uint16 ec_slave::DCprevious |
previous DC slave
Definition at line 197 of file ethercatmain.h.
int32 ec_slave::DCrtA |
DC receivetimes on port A
Definition at line 185 of file ethercatmain.h.
int32 ec_slave::DCrtB |
DC receivetimes on port B
Definition at line 187 of file ethercatmain.h.
int32 ec_slave::DCrtC |
DC receivetimes on port C
Definition at line 189 of file ethercatmain.h.
int32 ec_slave::DCrtD |
DC receivetimes on port D
Definition at line 191 of file ethercatmain.h.
int32 ec_slave::DCshift |
DC shift from clock modulus boundary
Definition at line 201 of file ethercatmain.h.
uint16 ec_slave::Dtype |
Device type
Definition at line 125 of file ethercatmain.h.
int16 ec_slave::Ebuscurrent |
E-bus current
Definition at line 221 of file ethercatmain.h.
uint8 ec_slave::eep_8byte |
1 = 8 bytes per read, 0 = 4 bytes per read
Definition at line 209 of file ethercatmain.h.
uint32 ec_slave::eep_id |
ID from EEprom
Definition at line 119 of file ethercatmain.h.
uint32 ec_slave::eep_man |
Manufacturer from EEprom
Definition at line 117 of file ethercatmain.h.
uint8 ec_slave::eep_pdi |
0 = eeprom to master , 1 = eeprom to PDI
Definition at line 211 of file ethercatmain.h.
uint32 ec_slave::eep_rev |
revision from EEprom
Definition at line 121 of file ethercatmain.h.
uint8 ec_slave::entryport |
port number on this slave the parent is connected to
Definition at line 183 of file ethercatmain.h.
uint8 ec_slave::EoEdetails |
EoE details
Definition at line 217 of file ethercatmain.h.
ec_fmmut ec_slave::FMMU[EC_MAXFMMU] |
FMMU structure
Definition at line 147 of file ethercatmain.h.
uint8 ec_slave::FMMU0func |
FMMU0 function
Definition at line 149 of file ethercatmain.h.
uint8 ec_slave::FMMU1func |
FMMU1 function
Definition at line 151 of file ethercatmain.h.
uint8 ec_slave::FMMU2func |
FMMU2 function
Definition at line 153 of file ethercatmain.h.
uint8 ec_slave::FMMU3func |
FMMU3 function
Definition at line 155 of file ethercatmain.h.
uint8 ec_slave::FMMUunused |
first unused FMMU
Definition at line 227 of file ethercatmain.h.
uint8 ec_slave::FoEdetails |
FoE details
Definition at line 215 of file ethercatmain.h.
uint8 ec_slave::group |
group
Definition at line 225 of file ethercatmain.h.
boolean ec_slave::hasdc |
has DC capability
Definition at line 169 of file ethercatmain.h.
uint16 ec_slave::Ibits |
input bits
Definition at line 135 of file ethercatmain.h.
uint32 ec_slave::Ibytes |
input bytes, if Ibits < 8 then Ibytes = 0
Definition at line 137 of file ethercatmain.h.
uint8* ec_slave::inputs |
input pointer in IOmap buffer
Definition at line 139 of file ethercatmain.h.
boolean ec_slave::islost |
Boolean for tracking whether the slave is (not) responding, not used/set by the SOEM library
Definition at line 229 of file ethercatmain.h.
uint8 ec_slave::Istartbit |
startbit in first input byte
Definition at line 141 of file ethercatmain.h.
uint16 ec_slave::Itype |
Interface type
Definition at line 123 of file ethercatmain.h.
uint8 ec_slave::mbx_cnt |
Counter value of mailbox link layer protocol 1..7
Definition at line 167 of file ethercatmain.h.
uint16 ec_slave::mbx_l |
length of write mailbox in bytes, if no mailbox then 0
Definition at line 157 of file ethercatmain.h.
uint16 ec_slave::mbx_proto |
mailbox supported protocols
Definition at line 165 of file ethercatmain.h.
uint16 ec_slave::mbx_rl |
length of read mailbox in bytes
Definition at line 161 of file ethercatmain.h.
uint16 ec_slave::mbx_ro |
mailbox read offset
Definition at line 163 of file ethercatmain.h.
uint16 ec_slave::mbx_wo |
mailbox write offset
Definition at line 159 of file ethercatmain.h.
char ec_slave::name[EC_MAXNAME+1] |
readable name
Definition at line 235 of file ethercatmain.h.
uint16 ec_slave::Obits |
output bits
Definition at line 127 of file ethercatmain.h.
uint32 ec_slave::Obytes |
output bytes, if Obits < 8 then Obytes = 0
Definition at line 129 of file ethercatmain.h.
uint8 ec_slave::Ostartbit |
startbit in first output byte
Definition at line 133 of file ethercatmain.h.
uint8* ec_slave::outputs |
output pointer in IOmap buffer
Definition at line 131 of file ethercatmain.h.
uint16 ec_slave::parent |
slave number for parent, 0=master
Definition at line 179 of file ethercatmain.h.
uint8 ec_slave::parentport |
port number on parent this slave is connected to
Definition at line 181 of file ethercatmain.h.
int32 ec_slave::pdelay |
propagation delay
Definition at line 193 of file ethercatmain.h.
registered configuration function PO->SO, (DEPRECATED)
Definition at line 231 of file ethercatmain.h.
int(* ec_slave::PO2SOconfigx) (ecx_contextt *context, uint16 slave) |
registered configuration function PO->SO
Definition at line 233 of file ethercatmain.h.
uint8 ec_slave::ptype |
Physical type; Ebus, EtherNet combinations
Definition at line 171 of file ethercatmain.h.
uint16 ec_slave::SIIindex |
link to SII config
Definition at line 207 of file ethercatmain.h.
SM structure
Definition at line 143 of file ethercatmain.h.
SM type 0=unused 1=MbxWr 2=MbxRd 3=Outputs 4=Inputs
Definition at line 145 of file ethercatmain.h.
uint8 ec_slave::SoEdetails |
SoE details
Definition at line 219 of file ethercatmain.h.
uint16 ec_slave::state |
state of slave
Definition at line 109 of file ethercatmain.h.
uint8 ec_slave::topology |
topology: 1 to 3 links
Definition at line 173 of file ethercatmain.h.