SOEM
v1.4.0
|
#include <ethercatmain.h>
Data Fields | |
ecx_portt * | port |
ec_slavet * | slavelist |
int * | slavecount |
int | maxslave |
ec_groupt * | grouplist |
int | maxgroup |
uint8 * | esibuf |
uint32 * | esimap |
uint16 | esislave |
ec_eringt * | elist |
ec_idxstackT * | idxstack |
boolean * | ecaterror |
uint16 | DCtO |
uint16 | DCl |
int64 * | DCtime |
ec_SMcommtypet * | SMcommtype |
ec_PDOassignt * | PDOassign |
ec_PDOdesct * | PDOdesc |
ec_eepromSMt * | eepSM |
ec_eepromFMMUt * | eepFMMU |
int(* | FOEhook )(uint16 slave, int packetnumber, int datasize) |
int(* | EOEhook )(ecx_contextt *context, uint16 slave, void *eoembx) |
int | manualstatechange |
Context structure , referenced by all ecx functions
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
int(* ecx_contextt::EOEhook) (ecx_contextt *context, uint16 slave, void *eoembx) |
registered EoE hook
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::manualstatechange |
flag to control legacy automatic state change or manual state change
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