for list of ethercat slaves detected More...
#include <ethercatmain.h>
Data Fields | |
uint16 | state |
state of slave | |
uint16 | ALstatuscode |
AL status code. | |
uint16 | configadr |
Configured address. | |
uint16 | aliasadr |
Alias address. | |
uint32 | eep_man |
Manufacturer from EEprom. | |
uint32 | eep_id |
ID from EEprom. | |
uint32 | eep_rev |
revision from EEprom | |
uint16 | Itype |
Interface type. | |
uint16 | Dtype |
Device type. | |
uint16 | Obits |
output bits | |
uint32 | Obytes |
output bytes, if Obits < 8 then Obytes = 0 | |
uint8 * | outputs |
output pointer in IOmap buffer | |
uint8 | Ostartbit |
startbit in first output byte | |
uint16 | Ibits |
input bits | |
uint32 | Ibytes |
input bytes, if Ibits < 8 then Ibytes = 0 | |
uint8 * | inputs |
input pointer in IOmap buffer | |
uint8 | Istartbit |
startbit in first input byte | |
ec_smt | SM [EC_MAXSM] |
SM structure. | |
uint8 | SMtype [EC_MAXSM] |
SM type 0=unused 1=MbxWr 2=MbxRd 3=Outputs 4=Inputs. | |
ec_fmmut | FMMU [EC_MAXFMMU] |
FMMU structure. | |
uint8 | FMMU0func |
FMMU0 function. | |
uint8 | FMMU1func |
FMMU1 function. | |
uint8 | FMMU2func |
FMMU2 function. | |
uint8 | FMMU3func |
FMMU3 function. | |
uint16 | mbx_l |
length of write mailbox in bytes, if no mailbox then 0 | |
uint16 | mbx_wo |
mailbox write offset | |
uint16 | mbx_rl |
length of read mailbox in bytes | |
uint16 | mbx_ro |
mailbox read offset | |
uint16 | mbx_proto |
mailbox supported protocols | |
uint8 | mbx_cnt |
Counter value of mailbox link layer protocol 1..7. | |
boolean | hasdc |
has DC capabillity | |
uint8 | ptype |
Physical type; Ebus, EtherNet combinations. | |
uint8 | topology |
topology: 1 to 3 links | |
uint8 | activeports |
active ports bitmap : ....3210 , set if respective port is active | |
uint8 | consumedports |
consumed ports bitmap : ....3210, used for internal delay measurement | |
uint16 | parent |
slave number for parent, 0=master | |
uint8 | parentport |
port number on parent this slave is connected to | |
uint8 | entryport |
port number on this slave the parent is connected to | |
int32 | DCrtA |
DC receivetimes on port A. | |
int32 | DCrtB |
DC receivetimes on port B. | |
int32 | DCrtC |
DC receivetimes on port C. | |
int32 | DCrtD |
DC receivetimes on port D. | |
int32 | pdelay |
propagation delay | |
uint16 | DCnext |
next DC slave | |
uint16 | DCprevious |
previous DC slave | |
int32 | DCcycle |
DC cyle time in ns. | |
int32 | DCshift |
DC shift from clock modulus boundary. | |
uint8 | DCactive |
DC sync activation, 0=off, 1=on. | |
uint16 | configindex |
link to config table | |
uint16 | SIIindex |
link to SII config | |
uint8 | eep_8byte |
1 = 8 bytes per read, 0 = 4 bytes per read | |
uint8 | eep_pdi |
0 = eeprom to master , 1 = eeprom to PDI | |
uint8 | CoEdetails |
CoE details. | |
uint8 | FoEdetails |
FoE details. | |
uint8 | EoEdetails |
EoE details. | |
uint8 | SoEdetails |
SoE details. | |
int16 | Ebuscurrent |
E-bus current. | |
uint8 | blockLRW |
if >0 block use of LRW in processdata | |
uint8 | group |
group | |
uint8 | FMMUunused |
first unused FMMU | |
boolean | islost |
TRUE is slave is not responding at all. | |
int(* | PO2SOconfig )(uint16 slave) |
registered configuration function PO->SO | |
char | name [EC_MAXNAME+1] |
readable name |
for list of ethercat slaves detected
Definition at line 119 of file ethercatmain.h.
active ports bitmap : ....3210 , set if respective port is active
Definition at line 188 of file ethercatmain.h.
Alias address.
Definition at line 128 of file ethercatmain.h.
AL status code.
Definition at line 124 of file ethercatmain.h.
if >0 block use of LRW in processdata
Definition at line 236 of file ethercatmain.h.
CoE details.
Definition at line 226 of file ethercatmain.h.
Configured address.
Definition at line 126 of file ethercatmain.h.
link to config table
Definition at line 218 of file ethercatmain.h.
consumed ports bitmap : ....3210, used for internal delay measurement
Definition at line 190 of file ethercatmain.h.
DC sync activation, 0=off, 1=on.
Definition at line 216 of file ethercatmain.h.
DC cyle time in ns.
Definition at line 212 of file ethercatmain.h.
next DC slave
Definition at line 208 of file ethercatmain.h.
previous DC slave
Definition at line 210 of file ethercatmain.h.
DC receivetimes on port A.
Definition at line 198 of file ethercatmain.h.
DC receivetimes on port B.
Definition at line 200 of file ethercatmain.h.
DC receivetimes on port C.
Definition at line 202 of file ethercatmain.h.
DC receivetimes on port D.
Definition at line 204 of file ethercatmain.h.
DC shift from clock modulus boundary.
Definition at line 214 of file ethercatmain.h.
Device type.
Definition at line 138 of file ethercatmain.h.
E-bus current.
Definition at line 234 of file ethercatmain.h.
1 = 8 bytes per read, 0 = 4 bytes per read
Definition at line 222 of file ethercatmain.h.
ID from EEprom.
Definition at line 132 of file ethercatmain.h.
Manufacturer from EEprom.
Definition at line 130 of file ethercatmain.h.
0 = eeprom to master , 1 = eeprom to PDI
Definition at line 224 of file ethercatmain.h.
revision from EEprom
Definition at line 134 of file ethercatmain.h.
port number on this slave the parent is connected to
Definition at line 196 of file ethercatmain.h.
EoE details.
Definition at line 230 of file ethercatmain.h.
FMMU structure.
Definition at line 160 of file ethercatmain.h.
FMMU0 function.
Definition at line 162 of file ethercatmain.h.
FMMU1 function.
Definition at line 164 of file ethercatmain.h.
FMMU2 function.
Definition at line 166 of file ethercatmain.h.
FMMU3 function.
Definition at line 168 of file ethercatmain.h.
first unused FMMU
Definition at line 240 of file ethercatmain.h.
FoE details.
Definition at line 228 of file ethercatmain.h.
group
Definition at line 238 of file ethercatmain.h.
boolean hasdc |
has DC capabillity
Definition at line 182 of file ethercatmain.h.
input bits
Definition at line 148 of file ethercatmain.h.
input bytes, if Ibits < 8 then Ibytes = 0
Definition at line 150 of file ethercatmain.h.
input pointer in IOmap buffer
Definition at line 152 of file ethercatmain.h.
boolean islost |
TRUE is slave is not responding at all.
Definition at line 242 of file ethercatmain.h.
startbit in first input byte
Definition at line 154 of file ethercatmain.h.
Interface type.
Definition at line 136 of file ethercatmain.h.
Counter value of mailbox link layer protocol 1..7.
Definition at line 180 of file ethercatmain.h.
length of write mailbox in bytes, if no mailbox then 0
Definition at line 170 of file ethercatmain.h.
mailbox supported protocols
Definition at line 178 of file ethercatmain.h.
length of read mailbox in bytes
Definition at line 174 of file ethercatmain.h.
mailbox read offset
Definition at line 176 of file ethercatmain.h.
mailbox write offset
Definition at line 172 of file ethercatmain.h.
char name[EC_MAXNAME+1] |
readable name
Definition at line 246 of file ethercatmain.h.
output bits
Definition at line 140 of file ethercatmain.h.
output bytes, if Obits < 8 then Obytes = 0
Definition at line 142 of file ethercatmain.h.
startbit in first output byte
Definition at line 146 of file ethercatmain.h.
output pointer in IOmap buffer
Definition at line 144 of file ethercatmain.h.
slave number for parent, 0=master
Definition at line 192 of file ethercatmain.h.
port number on parent this slave is connected to
Definition at line 194 of file ethercatmain.h.
propagation delay
Definition at line 206 of file ethercatmain.h.
int(* PO2SOconfig)(uint16 slave) |
registered configuration function PO->SO
Definition at line 244 of file ethercatmain.h.
Physical type; Ebus, EtherNet combinations.
Definition at line 184 of file ethercatmain.h.
link to SII config
Definition at line 220 of file ethercatmain.h.
SM structure.
Definition at line 156 of file ethercatmain.h.
SM type 0=unused 1=MbxWr 2=MbxRd 3=Outputs 4=Inputs.
Definition at line 158 of file ethercatmain.h.
SoE details.
Definition at line 232 of file ethercatmain.h.
state of slave
Definition at line 122 of file ethercatmain.h.
topology: 1 to 3 links
Definition at line 186 of file ethercatmain.h.