Public Attributes | List of all members
ec_slave Struct Reference

#include <ethercatmain.h>

Public Attributes

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

Detailed Description

for list of ethercat slaves detected

Definition at line 106 of file ethercatmain.h.

Member Data Documentation

◆ activeports

uint8 ec_slave::activeports

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

Definition at line 175 of file ethercatmain.h.

◆ aliasadr

uint16 ec_slave::aliasadr

Alias address

Definition at line 115 of file ethercatmain.h.

◆ ALstatuscode

uint16 ec_slave::ALstatuscode

AL status code

Definition at line 111 of file ethercatmain.h.

◆ blockLRW

uint8 ec_slave::blockLRW

if >0 block use of LRW in processdata

Definition at line 223 of file ethercatmain.h.

◆ CoEdetails

uint8 ec_slave::CoEdetails

CoE details

Definition at line 213 of file ethercatmain.h.

◆ configadr

uint16 ec_slave::configadr

Configured address

Definition at line 113 of file ethercatmain.h.

◆ configindex

uint16 ec_slave::configindex

link to config table

Definition at line 205 of file ethercatmain.h.

◆ consumedports

uint8 ec_slave::consumedports

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

Definition at line 177 of file ethercatmain.h.

◆ DCactive

uint8 ec_slave::DCactive

DC sync activation, 0=off, 1=on

Definition at line 203 of file ethercatmain.h.

◆ DCcycle

int32 ec_slave::DCcycle

DC cycle time in ns

Definition at line 199 of file ethercatmain.h.

◆ DCnext

uint16 ec_slave::DCnext

next DC slave

Definition at line 195 of file ethercatmain.h.

◆ DCprevious

uint16 ec_slave::DCprevious

previous DC slave

Definition at line 197 of file ethercatmain.h.

◆ DCrtA

int32 ec_slave::DCrtA

DC receivetimes on port A

Definition at line 185 of file ethercatmain.h.

◆ DCrtB

int32 ec_slave::DCrtB

DC receivetimes on port B

Definition at line 187 of file ethercatmain.h.

◆ DCrtC

int32 ec_slave::DCrtC

DC receivetimes on port C

Definition at line 189 of file ethercatmain.h.

◆ DCrtD

int32 ec_slave::DCrtD

DC receivetimes on port D

Definition at line 191 of file ethercatmain.h.

◆ DCshift

int32 ec_slave::DCshift

DC shift from clock modulus boundary

Definition at line 201 of file ethercatmain.h.

◆ Dtype

uint16 ec_slave::Dtype

Device type

Definition at line 125 of file ethercatmain.h.

◆ Ebuscurrent

int16 ec_slave::Ebuscurrent

E-bus current

Definition at line 221 of file ethercatmain.h.

◆ eep_8byte

uint8 ec_slave::eep_8byte

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

Definition at line 209 of file ethercatmain.h.

◆ eep_id

uint32 ec_slave::eep_id

ID from EEprom

Definition at line 119 of file ethercatmain.h.

◆ eep_man

uint32 ec_slave::eep_man

Manufacturer from EEprom

Definition at line 117 of file ethercatmain.h.

◆ eep_pdi

uint8 ec_slave::eep_pdi

0 = eeprom to master , 1 = eeprom to PDI

Definition at line 211 of file ethercatmain.h.

◆ eep_rev

uint32 ec_slave::eep_rev

revision from EEprom

Definition at line 121 of file ethercatmain.h.

◆ entryport

uint8 ec_slave::entryport

port number on this slave the parent is connected to

Definition at line 183 of file ethercatmain.h.

◆ EoEdetails

uint8 ec_slave::EoEdetails

EoE details

Definition at line 217 of file ethercatmain.h.

◆ FMMU

ec_fmmut ec_slave::FMMU[EC_MAXFMMU]

FMMU structure

Definition at line 147 of file ethercatmain.h.

◆ FMMU0func

uint8 ec_slave::FMMU0func

FMMU0 function

Definition at line 149 of file ethercatmain.h.

◆ FMMU1func

uint8 ec_slave::FMMU1func

FMMU1 function

Definition at line 151 of file ethercatmain.h.

◆ FMMU2func

uint8 ec_slave::FMMU2func

FMMU2 function

Definition at line 153 of file ethercatmain.h.

◆ FMMU3func

uint8 ec_slave::FMMU3func

FMMU3 function

Definition at line 155 of file ethercatmain.h.

◆ FMMUunused

uint8 ec_slave::FMMUunused

first unused FMMU

Definition at line 227 of file ethercatmain.h.

◆ FoEdetails

uint8 ec_slave::FoEdetails

FoE details

Definition at line 215 of file ethercatmain.h.

◆ group

uint8 ec_slave::group

group

Definition at line 225 of file ethercatmain.h.

◆ hasdc

boolean ec_slave::hasdc

has DC capability

Definition at line 169 of file ethercatmain.h.

◆ Ibits

uint16 ec_slave::Ibits

input bits

Definition at line 135 of file ethercatmain.h.

◆ Ibytes

uint32 ec_slave::Ibytes

input bytes, if Ibits < 8 then Ibytes = 0

Definition at line 137 of file ethercatmain.h.

◆ inputs

uint8* ec_slave::inputs

input pointer in IOmap buffer

Definition at line 139 of file ethercatmain.h.

◆ islost

boolean ec_slave::islost

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

Definition at line 229 of file ethercatmain.h.

◆ Istartbit

uint8 ec_slave::Istartbit

startbit in first input byte

Definition at line 141 of file ethercatmain.h.

◆ Itype

uint16 ec_slave::Itype

Interface type

Definition at line 123 of file ethercatmain.h.

◆ mbx_cnt

uint8 ec_slave::mbx_cnt

Counter value of mailbox link layer protocol 1..7

Definition at line 167 of file ethercatmain.h.

◆ mbx_l

uint16 ec_slave::mbx_l

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

Definition at line 157 of file ethercatmain.h.

◆ mbx_proto

uint16 ec_slave::mbx_proto

mailbox supported protocols

Definition at line 165 of file ethercatmain.h.

◆ mbx_rl

uint16 ec_slave::mbx_rl

length of read mailbox in bytes

Definition at line 161 of file ethercatmain.h.

◆ mbx_ro

uint16 ec_slave::mbx_ro

mailbox read offset

Definition at line 163 of file ethercatmain.h.

◆ mbx_wo

uint16 ec_slave::mbx_wo

mailbox write offset

Definition at line 159 of file ethercatmain.h.

◆ name

char ec_slave::name[EC_MAXNAME+1]

readable name

Definition at line 235 of file ethercatmain.h.

◆ Obits

uint16 ec_slave::Obits

output bits

Definition at line 127 of file ethercatmain.h.

◆ Obytes

uint32 ec_slave::Obytes

output bytes, if Obits < 8 then Obytes = 0

Definition at line 129 of file ethercatmain.h.

◆ Ostartbit

uint8 ec_slave::Ostartbit

startbit in first output byte

Definition at line 133 of file ethercatmain.h.

◆ outputs

uint8* ec_slave::outputs

output pointer in IOmap buffer

Definition at line 131 of file ethercatmain.h.

◆ parent

uint16 ec_slave::parent

slave number for parent, 0=master

Definition at line 179 of file ethercatmain.h.

◆ parentport

uint8 ec_slave::parentport

port number on parent this slave is connected to

Definition at line 181 of file ethercatmain.h.

◆ pdelay

int32 ec_slave::pdelay

propagation delay

Definition at line 193 of file ethercatmain.h.

◆ PO2SOconfig

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

registered configuration function PO->SO, (DEPRECATED)

Definition at line 231 of file ethercatmain.h.

◆ PO2SOconfigx

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

registered configuration function PO->SO

Definition at line 233 of file ethercatmain.h.

◆ ptype

uint8 ec_slave::ptype

Physical type; Ebus, EtherNet combinations

Definition at line 171 of file ethercatmain.h.

◆ SIIindex

uint16 ec_slave::SIIindex

link to SII config

Definition at line 207 of file ethercatmain.h.

◆ SM

ec_smt ec_slave::SM[EC_MAXSM]

SM structure

Definition at line 143 of file ethercatmain.h.

◆ SMtype

uint8 ec_slave::SMtype[EC_MAXSM]

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

Definition at line 145 of file ethercatmain.h.

◆ SoEdetails

uint8 ec_slave::SoEdetails

SoE details

Definition at line 219 of file ethercatmain.h.

◆ state

uint16 ec_slave::state

state of slave

Definition at line 109 of file ethercatmain.h.

◆ topology

uint8 ec_slave::topology

topology: 1 to 3 links

Definition at line 173 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 Wed Mar 2 2022 01:01:49