Public Attributes | List of all members
ecx_context Struct Reference

#include <ethercatmain.h>

Public Attributes

uint16 DCl
 
int64DCtime
 
uint16 DCtO
 
booleanecaterror
 
ec_eepromFMMUteepFMMU
 
ec_eepromSMteepSM
 
ec_eringtelist
 
int(* EOEhook )(ecx_contextt *context, uint16 slave, void *eoembx)
 
uint8esibuf
 
uint32esimap
 
uint16 esislave
 
int(* FOEhook )(uint16 slave, int packetnumber, int datasize)
 
ec_grouptgrouplist
 
ec_idxstackTidxstack
 
int manualstatechange
 
int maxgroup
 
int maxslave
 
ec_PDOassigntPDOassign
 
ec_PDOdesctPDOdesc
 
ecx_porttport
 
int * slavecount
 
ec_slavetslavelist
 
ec_SMcommtypetSMcommtype
 

Detailed Description

Context structure , referenced by all ecx functions

Definition at line 384 of file ethercatmain.h.

Member Data Documentation

◆ DCl

uint16 ecx_context::DCl

internal, length of DC datagram

Definition at line 413 of file ethercatmain.h.

◆ DCtime

int64* ecx_context::DCtime

reference to last DC time from slaves

Definition at line 415 of file ethercatmain.h.

◆ DCtO

uint16 ecx_context::DCtO

internal, position of DC datagram in process data packet

Definition at line 411 of file ethercatmain.h.

◆ ecaterror

boolean* ecx_context::ecaterror

reference to ecaterror state

Definition at line 409 of file ethercatmain.h.

◆ eepFMMU

ec_eepromFMMUt* ecx_context::eepFMMU

internal, FMMU list from eeprom

Definition at line 425 of file ethercatmain.h.

◆ eepSM

ec_eepromSMt* ecx_context::eepSM

internal, SM list from eeprom

Definition at line 423 of file ethercatmain.h.

◆ elist

ec_eringt* ecx_context::elist

internal, reference to error list

Definition at line 405 of file ethercatmain.h.

◆ EOEhook

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

registered EoE hook

Definition at line 429 of file ethercatmain.h.

◆ esibuf

uint8* ecx_context::esibuf

internal, reference to eeprom cache buffer

Definition at line 399 of file ethercatmain.h.

◆ esimap

uint32* ecx_context::esimap

internal, reference to eeprom cache map

Definition at line 401 of file ethercatmain.h.

◆ esislave

uint16 ecx_context::esislave

internal, current slave for eeprom cache

Definition at line 403 of file ethercatmain.h.

◆ FOEhook

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

registered FoE hook

Definition at line 427 of file ethercatmain.h.

◆ grouplist

ec_groupt* ecx_context::grouplist

grouplist reference

Definition at line 395 of file ethercatmain.h.

◆ idxstack

ec_idxstackT* ecx_context::idxstack

internal, reference to processdata stack buffer info

Definition at line 407 of file ethercatmain.h.

◆ manualstatechange

int ecx_context::manualstatechange

flag to control legacy automatic state change or manual state change

Definition at line 431 of file ethercatmain.h.

◆ maxgroup

int ecx_context::maxgroup

maximum number of groups allowed in grouplist

Definition at line 397 of file ethercatmain.h.

◆ maxslave

int ecx_context::maxslave

maximum number of slaves allowed in slavelist

Definition at line 393 of file ethercatmain.h.

◆ PDOassign

ec_PDOassignt* ecx_context::PDOassign

internal, PDO assign list

Definition at line 419 of file ethercatmain.h.

◆ PDOdesc

ec_PDOdesct* ecx_context::PDOdesc

internal, PDO description list

Definition at line 421 of file ethercatmain.h.

◆ port

ecx_portt* ecx_context::port

port reference, may include red_port

Definition at line 387 of file ethercatmain.h.

◆ slavecount

int* ecx_context::slavecount

number of slaves found in configuration

Definition at line 391 of file ethercatmain.h.

◆ slavelist

ec_slavet* ecx_context::slavelist

slavelist reference

Definition at line 389 of file ethercatmain.h.

◆ SMcommtype

ec_SMcommtypet* ecx_context::SMcommtype

internal, SM buffer

Definition at line 417 of file ethercatmain.h.


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


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Mon Feb 28 2022 23:46:58