SOEM  v1.4.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)
 
int(* EOEhook )(ecx_contextt *context, uint16 slave, void *eoembx)
 
int manualstatechange
 

Detailed Description

Context structure , referenced by all ecx functions

Field Documentation

◆ DCl

uint16 ecx_contextt::DCl

internal, length of DC datagram

◆ DCtime

int64* ecx_contextt::DCtime

reference to last DC time from slaves

◆ DCtO

uint16 ecx_contextt::DCtO

internal, position of DC datagram in process data packet

◆ ecaterror

boolean* ecx_contextt::ecaterror

reference to ecaterror state

◆ eepFMMU

ec_eepromFMMUt* ecx_contextt::eepFMMU

internal, FMMU list from eeprom

◆ eepSM

ec_eepromSMt* ecx_contextt::eepSM

internal, SM list from eeprom

◆ elist

ec_eringt* ecx_contextt::elist

internal, reference to error list

◆ EOEhook

int(* ecx_contextt::EOEhook) (ecx_contextt *context, uint16 slave, void *eoembx)

registered EoE hook

◆ esibuf

uint8* ecx_contextt::esibuf

internal, reference to eeprom cache buffer

◆ esimap

uint32* ecx_contextt::esimap

internal, reference to eeprom cache map

◆ esislave

uint16 ecx_contextt::esislave

internal, current slave for eeprom cache

◆ FOEhook

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

registered FoE hook

◆ grouplist

ec_groupt* ecx_contextt::grouplist

grouplist reference

◆ idxstack

ec_idxstackT* ecx_contextt::idxstack

internal, reference to processdata stack buffer info

◆ manualstatechange

int ecx_contextt::manualstatechange

flag to control legacy automatic state change or manual state change

◆ maxgroup

int ecx_contextt::maxgroup

maximum number of groups allowed in grouplist

◆ maxslave

int ecx_contextt::maxslave

maximum number of slaves allowed in slavelist

◆ PDOassign

ec_PDOassignt* ecx_contextt::PDOassign

internal, PDO assign list

◆ PDOdesc

ec_PDOdesct* ecx_contextt::PDOdesc

internal, PDO description list

◆ port

ecx_portt* ecx_contextt::port

port reference, may include red_port

◆ slavecount

int* ecx_contextt::slavecount

number of slaves found in configuration

◆ slavelist

ec_slavet* ecx_contextt::slavelist

slavelist reference

◆ SMcommtype

ec_SMcommtypet* ecx_contextt::SMcommtype

internal, SM buffer


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