AB&T / SOEM

Dependents:   EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB

Embed: (wiki syntax)

« Back to documentation index

ec_group Struct Reference

ec_group Struct Reference

for list of ethercat slave groups More...

#include <ethercatmain.h>

Data Fields

uint32 logstartaddr
 logical start address for this group
uint32 Obytes
 output bytes, if Obits < 8 then Obytes = 0
uint8 * outputs
 output pointer in IOmap buffer
uint32 Ibytes
 input bytes, if Ibits < 8 then Ibytes = 0
uint8 * inputs
 input pointer in IOmap buffer
boolean hasdc
 has DC capabillity
uint16 DCnext
 next DC slave
int16 Ebuscurrent
 E-bus current.
uint8 blockLRW
 if >0 block use of LRW in processdata
uint16 nsegments
 IO segments used.
uint16 Isegment
 1st input segment
uint16 Ioffset
 Offset in input segment.
uint16 outputsWKC
 Expected workcounter outputs.
uint16 inputsWKC
 Expected workcounter inputs.
boolean docheckstate
 check slave states
uint32 IOsegment [EC_MAXIOSEGMENTS]
 IO segmentation list.

Detailed Description

for list of ethercat slave groups

Definition at line 235 of file ethercatmain.h.


Field Documentation

uint8 blockLRW

if >0 block use of LRW in processdata

Definition at line 254 of file ethercatmain.h.

uint16 DCnext

next DC slave

Definition at line 250 of file ethercatmain.h.

boolean docheckstate

check slave states

Definition at line 266 of file ethercatmain.h.

int16 Ebuscurrent

E-bus current.

Definition at line 252 of file ethercatmain.h.

boolean hasdc

has DC capabillity

Definition at line 248 of file ethercatmain.h.

uint32 Ibytes

input bytes, if Ibits < 8 then Ibytes = 0

Definition at line 244 of file ethercatmain.h.

uint8* inputs

input pointer in IOmap buffer

Definition at line 246 of file ethercatmain.h.

uint16 inputsWKC

Expected workcounter inputs.

Definition at line 264 of file ethercatmain.h.

uint16 Ioffset

Offset in input segment.

Definition at line 260 of file ethercatmain.h.

uint32 IOsegment[EC_MAXIOSEGMENTS]

IO segmentation list.

Datagrams must not break SM in two.

Definition at line 268 of file ethercatmain.h.

uint16 Isegment

1st input segment

Definition at line 258 of file ethercatmain.h.

uint32 logstartaddr

logical start address for this group

Definition at line 238 of file ethercatmain.h.

uint16 nsegments

IO segments used.

Definition at line 256 of file ethercatmain.h.

uint32 Obytes

output bytes, if Obits < 8 then Obytes = 0

Definition at line 240 of file ethercatmain.h.

uint8* outputs

output pointer in IOmap buffer

Definition at line 242 of file ethercatmain.h.

uint16 outputsWKC

Expected workcounter outputs.

Definition at line 262 of file ethercatmain.h.