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

uint8 ec_slave::activeports

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

Definition at line 175 of file ethercatmain.h.

uint16 ec_slave::aliasadr

Alias address

Definition at line 115 of file ethercatmain.h.

uint16 ec_slave::ALstatuscode

AL status code

Definition at line 111 of file ethercatmain.h.

uint8 ec_slave::blockLRW

if >0 block use of LRW in processdata

Definition at line 223 of file ethercatmain.h.

uint8 ec_slave::CoEdetails

CoE details

Definition at line 213 of file ethercatmain.h.

uint16 ec_slave::configadr

Configured address

Definition at line 113 of file ethercatmain.h.

uint16 ec_slave::configindex

link to config table

Definition at line 205 of file ethercatmain.h.

uint8 ec_slave::consumedports

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

Definition at line 177 of file ethercatmain.h.

uint8 ec_slave::DCactive

DC sync activation, 0=off, 1=on

Definition at line 203 of file ethercatmain.h.

int32 ec_slave::DCcycle

DC cycle time in ns

Definition at line 199 of file ethercatmain.h.

uint16 ec_slave::DCnext

next DC slave

Definition at line 195 of file ethercatmain.h.

uint16 ec_slave::DCprevious

previous DC slave

Definition at line 197 of file ethercatmain.h.

int32 ec_slave::DCrtA

DC receivetimes on port A

Definition at line 185 of file ethercatmain.h.

int32 ec_slave::DCrtB

DC receivetimes on port B

Definition at line 187 of file ethercatmain.h.

int32 ec_slave::DCrtC

DC receivetimes on port C

Definition at line 189 of file ethercatmain.h.

int32 ec_slave::DCrtD

DC receivetimes on port D

Definition at line 191 of file ethercatmain.h.

int32 ec_slave::DCshift

DC shift from clock modulus boundary

Definition at line 201 of file ethercatmain.h.

uint16 ec_slave::Dtype

Device type

Definition at line 125 of file ethercatmain.h.

int16 ec_slave::Ebuscurrent

E-bus current

Definition at line 221 of file ethercatmain.h.

uint8 ec_slave::eep_8byte

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

Definition at line 209 of file ethercatmain.h.

uint32 ec_slave::eep_id

ID from EEprom

Definition at line 119 of file ethercatmain.h.

uint32 ec_slave::eep_man

Manufacturer from EEprom

Definition at line 117 of file ethercatmain.h.

uint8 ec_slave::eep_pdi

0 = eeprom to master , 1 = eeprom to PDI

Definition at line 211 of file ethercatmain.h.

uint32 ec_slave::eep_rev

revision from EEprom

Definition at line 121 of file ethercatmain.h.

uint8 ec_slave::entryport

port number on this slave the parent is connected to

Definition at line 183 of file ethercatmain.h.

uint8 ec_slave::EoEdetails

EoE details

Definition at line 217 of file ethercatmain.h.

ec_fmmut ec_slave::FMMU[EC_MAXFMMU]

FMMU structure

Definition at line 147 of file ethercatmain.h.

uint8 ec_slave::FMMU0func

FMMU0 function

Definition at line 149 of file ethercatmain.h.

uint8 ec_slave::FMMU1func

FMMU1 function

Definition at line 151 of file ethercatmain.h.

uint8 ec_slave::FMMU2func

FMMU2 function

Definition at line 153 of file ethercatmain.h.

uint8 ec_slave::FMMU3func

FMMU3 function

Definition at line 155 of file ethercatmain.h.

uint8 ec_slave::FMMUunused

first unused FMMU

Definition at line 227 of file ethercatmain.h.

uint8 ec_slave::FoEdetails

FoE details

Definition at line 215 of file ethercatmain.h.

uint8 ec_slave::group

group

Definition at line 225 of file ethercatmain.h.

boolean ec_slave::hasdc

has DC capability

Definition at line 169 of file ethercatmain.h.

uint16 ec_slave::Ibits

input bits

Definition at line 135 of file ethercatmain.h.

uint32 ec_slave::Ibytes

input bytes, if Ibits < 8 then Ibytes = 0

Definition at line 137 of file ethercatmain.h.

uint8* ec_slave::inputs

input pointer in IOmap buffer

Definition at line 139 of file ethercatmain.h.

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.

uint8 ec_slave::Istartbit

startbit in first input byte

Definition at line 141 of file ethercatmain.h.

uint16 ec_slave::Itype

Interface type

Definition at line 123 of file ethercatmain.h.

uint8 ec_slave::mbx_cnt

Counter value of mailbox link layer protocol 1..7

Definition at line 167 of file ethercatmain.h.

uint16 ec_slave::mbx_l

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

Definition at line 157 of file ethercatmain.h.

uint16 ec_slave::mbx_proto

mailbox supported protocols

Definition at line 165 of file ethercatmain.h.

uint16 ec_slave::mbx_rl

length of read mailbox in bytes

Definition at line 161 of file ethercatmain.h.

uint16 ec_slave::mbx_ro

mailbox read offset

Definition at line 163 of file ethercatmain.h.

uint16 ec_slave::mbx_wo

mailbox write offset

Definition at line 159 of file ethercatmain.h.

char ec_slave::name[EC_MAXNAME+1]

readable name

Definition at line 235 of file ethercatmain.h.

uint16 ec_slave::Obits

output bits

Definition at line 127 of file ethercatmain.h.

uint32 ec_slave::Obytes

output bytes, if Obits < 8 then Obytes = 0

Definition at line 129 of file ethercatmain.h.

uint8 ec_slave::Ostartbit

startbit in first output byte

Definition at line 133 of file ethercatmain.h.

uint8* ec_slave::outputs

output pointer in IOmap buffer

Definition at line 131 of file ethercatmain.h.

uint16 ec_slave::parent

slave number for parent, 0=master

Definition at line 179 of file ethercatmain.h.

uint8 ec_slave::parentport

port number on parent this slave is connected to

Definition at line 181 of file ethercatmain.h.

int32 ec_slave::pdelay

propagation delay

Definition at line 193 of file ethercatmain.h.

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

registered configuration function PO->SO, (DEPRECATED)

Definition at line 231 of file ethercatmain.h.

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

registered configuration function PO->SO

Definition at line 233 of file ethercatmain.h.

uint8 ec_slave::ptype

Physical type; Ebus, EtherNet combinations

Definition at line 171 of file ethercatmain.h.

uint16 ec_slave::SIIindex

link to SII config

Definition at line 207 of file ethercatmain.h.

ec_smt ec_slave::SM[EC_MAXSM]

SM structure

Definition at line 143 of file ethercatmain.h.

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.

uint8 ec_slave::SoEdetails

SoE details

Definition at line 219 of file ethercatmain.h.

uint16 ec_slave::state

state of slave

Definition at line 109 of file ethercatmain.h.

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 Sat Jun 27 2020 03:48:21