SOEM  v1.3.0
Data Fields
ecx_contextt Struct Reference

#include <ethercatmain.h>

Data Fields

ecx_portt * port
 
ec_slavetslavelist
 
int * slavecount
 
int maxslave
 
ec_grouptgrouplist
 
int maxgroup
 
uint8 * esibuf
 
uint32 * esimap
 
uint16 esislave
 
ec_eringtelist
 
ec_idxstackTidxstack
 
boolean * ecaterror
 
uint16 DCtO
 
uint16 DCl
 
int64 * DCtime
 
ec_SMcommtypetSMcommtype
 
ec_PDOassigntPDOassign
 
ec_PDOdesctPDOdesc
 
ec_eepromSMteepSM
 
ec_eepromFMMUteepFMMU
 
int(* FOEhook )(uint16 slave, int packetnumber, int datasize)
 

Detailed Description

Context structure , referenced by all ecx functions

Field Documentation

uint16 ecx_contextt::DCl

internal, length of DC datagram

int64* ecx_contextt::DCtime

reference to last DC time from slaves

uint16 ecx_contextt::DCtO

internal, position of DC datagram in process data packet

boolean* ecx_contextt::ecaterror

reference to ecaterror state

ec_eepromFMMUt* ecx_contextt::eepFMMU

internal, FMMU list from eeprom

ec_eepromSMt* ecx_contextt::eepSM

internal, SM list from eeprom

ec_eringt* ecx_contextt::elist

internal, reference to error list

uint8* ecx_contextt::esibuf

internal, reference to eeprom cache buffer

uint32* ecx_contextt::esimap

internal, reference to eeprom cache map

uint16 ecx_contextt::esislave

internal, current slave for eeprom cache

int(* ecx_contextt::FOEhook)(uint16 slave, int packetnumber, int datasize)

registered FoE hook

ec_groupt* ecx_contextt::grouplist

grouplist reference

ec_idxstackT* ecx_contextt::idxstack

internal, reference to processdata stack buffer info

int ecx_contextt::maxgroup

maximum number of groups allowed in grouplist

int ecx_contextt::maxslave

maximum number of slaves allowed in slavelist

ec_PDOassignt* ecx_contextt::PDOassign

internal, PDO assign list

ec_PDOdesct* ecx_contextt::PDOdesc

internal, PDO description list

ecx_portt* ecx_contextt::port

port reference, may include red_port

int* ecx_contextt::slavecount

number of slaves found in configuration

ec_slavet* ecx_contextt::slavelist

slavelist reference

ec_SMcommtypet* ecx_contextt::SMcommtype

internal, SM buffer


The documentation for this struct was generated from the following file: