SOEM  v1.4.0
Data Fields
ec_slavet Struct Reference

#include <ethercatmain.h>

Data Fields

uint16 state
 
uint16 ALstatuscode
 
uint16 configadr
 
uint16 aliasadr
 
uint32 eep_man
 
uint32 eep_id
 
uint32 eep_rev
 
uint16 Itype
 
uint16 Dtype
 
uint16 Obits
 
uint32 Obytes
 
uint8 * outputs
 
uint8 Ostartbit
 
uint16 Ibits
 
uint32 Ibytes
 
uint8 * inputs
 
uint8 Istartbit
 
ec_smt SM [EC_MAXSM]
 
uint8 SMtype [EC_MAXSM]
 
ec_fmmut FMMU [EC_MAXFMMU]
 
uint8 FMMU0func
 
uint8 FMMU1func
 
uint8 FMMU2func
 
uint8 FMMU3func
 
uint16 mbx_l
 
uint16 mbx_wo
 
uint16 mbx_rl
 
uint16 mbx_ro
 
uint16 mbx_proto
 
uint8 mbx_cnt
 
boolean hasdc
 
uint8 ptype
 
uint8 topology
 
uint8 activeports
 
uint8 consumedports
 
uint16 parent
 
uint8 parentport
 
uint8 entryport
 
int32 DCrtA
 
int32 DCrtB
 
int32 DCrtC
 
int32 DCrtD
 
int32 pdelay
 
uint16 DCnext
 
uint16 DCprevious
 
int32 DCcycle
 
int32 DCshift
 
uint8 DCactive
 
uint16 configindex
 
uint16 SIIindex
 
uint8 eep_8byte
 
uint8 eep_pdi
 
uint8 CoEdetails
 
uint8 FoEdetails
 
uint8 EoEdetails
 
uint8 SoEdetails
 
int16 Ebuscurrent
 
uint8 blockLRW
 
uint8 group
 
uint8 FMMUunused
 
boolean islost
 
int(* PO2SOconfig )(uint16 slave)
 
int(* PO2SOconfigx )(ecx_contextt *context, uint16 slave)
 
char name [EC_MAXNAME+1]
 

Detailed Description

for list of ethercat slaves detected

Field Documentation

◆ activeports

uint8 ec_slavet::activeports

active ports bitmap : ....3210 , set if respective port is active

◆ aliasadr

uint16 ec_slavet::aliasadr

Alias address

◆ ALstatuscode

uint16 ec_slavet::ALstatuscode

AL status code

◆ blockLRW

uint8 ec_slavet::blockLRW

if >0 block use of LRW in processdata

◆ CoEdetails

uint8 ec_slavet::CoEdetails

CoE details

◆ configadr

uint16 ec_slavet::configadr

Configured address

◆ configindex

uint16 ec_slavet::configindex

link to config table

◆ consumedports

uint8 ec_slavet::consumedports

consumed ports bitmap : ....3210, used for internal delay measurement

◆ DCactive

uint8 ec_slavet::DCactive

DC sync activation, 0=off, 1=on

◆ DCcycle

int32 ec_slavet::DCcycle

DC cycle time in ns

◆ DCnext

uint16 ec_slavet::DCnext

next DC slave

◆ DCprevious

uint16 ec_slavet::DCprevious

previous DC slave

◆ DCrtA

int32 ec_slavet::DCrtA

DC receivetimes on port A

◆ DCrtB

int32 ec_slavet::DCrtB

DC receivetimes on port B

◆ DCrtC

int32 ec_slavet::DCrtC

DC receivetimes on port C

◆ DCrtD

int32 ec_slavet::DCrtD

DC receivetimes on port D

◆ DCshift

int32 ec_slavet::DCshift

DC shift from clock modulus boundary

◆ Dtype

uint16 ec_slavet::Dtype

Device type

◆ Ebuscurrent

int16 ec_slavet::Ebuscurrent

E-bus current

◆ eep_8byte

uint8 ec_slavet::eep_8byte

1 = 8 bytes per read, 0 = 4 bytes per read

◆ eep_id

uint32 ec_slavet::eep_id

ID from EEprom

◆ eep_man

uint32 ec_slavet::eep_man

Manufacturer from EEprom

◆ eep_pdi

uint8 ec_slavet::eep_pdi

0 = eeprom to master , 1 = eeprom to PDI

◆ eep_rev

uint32 ec_slavet::eep_rev

revision from EEprom

◆ entryport

uint8 ec_slavet::entryport

port number on this slave the parent is connected to

◆ EoEdetails

uint8 ec_slavet::EoEdetails

EoE details

◆ FMMU

ec_fmmut ec_slavet::FMMU[EC_MAXFMMU]

FMMU structure

◆ FMMU0func

uint8 ec_slavet::FMMU0func

FMMU0 function

◆ FMMU1func

uint8 ec_slavet::FMMU1func

FMMU1 function

◆ FMMU2func

uint8 ec_slavet::FMMU2func

FMMU2 function

◆ FMMU3func

uint8 ec_slavet::FMMU3func

FMMU3 function

◆ FMMUunused

uint8 ec_slavet::FMMUunused

first unused FMMU

◆ FoEdetails

uint8 ec_slavet::FoEdetails

FoE details

◆ group

uint8 ec_slavet::group

group

◆ hasdc

boolean ec_slavet::hasdc

has DC capability

◆ Ibits

uint16 ec_slavet::Ibits

input bits

◆ Ibytes

uint32 ec_slavet::Ibytes

input bytes, if Ibits < 8 then Ibytes = 0

◆ inputs

uint8* ec_slavet::inputs

input pointer in IOmap buffer

◆ islost

boolean ec_slavet::islost

Boolean for tracking whether the slave is (not) responding, not used/set by the SOEM library

◆ Istartbit

uint8 ec_slavet::Istartbit

startbit in first input byte

◆ Itype

uint16 ec_slavet::Itype

Interface type

◆ mbx_cnt

uint8 ec_slavet::mbx_cnt

Counter value of mailbox link layer protocol 1..7

◆ mbx_l

uint16 ec_slavet::mbx_l

length of write mailbox in bytes, if no mailbox then 0

◆ mbx_proto

uint16 ec_slavet::mbx_proto

mailbox supported protocols

◆ mbx_rl

uint16 ec_slavet::mbx_rl

length of read mailbox in bytes

◆ mbx_ro

uint16 ec_slavet::mbx_ro

mailbox read offset

◆ mbx_wo

uint16 ec_slavet::mbx_wo

mailbox write offset

◆ name

char ec_slavet::name[EC_MAXNAME+1]

readable name

◆ Obits

uint16 ec_slavet::Obits

output bits

◆ Obytes

uint32 ec_slavet::Obytes

output bytes, if Obits < 8 then Obytes = 0

◆ Ostartbit

uint8 ec_slavet::Ostartbit

startbit in first output byte

◆ outputs

uint8* ec_slavet::outputs

output pointer in IOmap buffer

◆ parent

uint16 ec_slavet::parent

slave number for parent, 0=master

◆ parentport

uint8 ec_slavet::parentport

port number on parent this slave is connected to

◆ pdelay

int32 ec_slavet::pdelay

propagation delay

◆ PO2SOconfig

int(* ec_slavet::PO2SOconfig) (uint16 slave)

registered configuration function PO->SO, (DEPRECATED)

◆ PO2SOconfigx

int(* ec_slavet::PO2SOconfigx) (ecx_contextt *context, uint16 slave)

registered configuration function PO->SO

◆ ptype

uint8 ec_slavet::ptype

Physical type; Ebus, EtherNet combinations

◆ SIIindex

uint16 ec_slavet::SIIindex

link to SII config

◆ SM

ec_smt ec_slavet::SM[EC_MAXSM]

SM structure

◆ SMtype

uint8 ec_slavet::SMtype[EC_MAXSM]

SM type 0=unused 1=MbxWr 2=MbxRd 3=Outputs 4=Inputs

◆ SoEdetails

uint8 ec_slavet::SoEdetails

SoE details

◆ state

uint16 ec_slavet::state

state of slave

◆ topology

uint8 ec_slavet::topology

topology: 1 to 3 links


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