
HB700 | CPU | PMC921xEx | en | 24-04
163
iC9200 Series
Deployment CPU iC921xM-FSoE
System variables and status information > System variables
EtherCAT system variables
System variable
Type - description
SB_DIAG_ALARM_ACK_PENDING
ULINT - acknowledgement diagnostic status of the modules
■
As soon as a module on the
SliceBus
requests an acknowl-
edgement of the diagnostic alarm, according to the slot position
the corresponding bit is set in the 64-bit register.
The system variables for diagnostics of the EtherCAT master and the connected
EtherCAT slaves are listed below.
System variable
Description
EC_MASTER_STATE
BYTE - master state
■
Returns the state of the EtherCAT master:
–
00h: Unknown - the state is unknown.
–
01h: INIT
–
02h: PreOp
–
04h: SafeOp
–
08h: OP
EC_MASTER_LINK_CONNECTED
BOOL - physical connection
■
Set when an Ethernet cable is connected to the
EtherCAT master.
EC_TOPOLOGY_OK
BOOL - topology OK
■
Set when current topology and configured topology
match.
EC_DC_IN_SYNC
BOOL - distributed clocks
■
Set when the distributed clocks are synchronized.
EC_CYCLIC_LOST_FRAMES
DWORD - missing frames (cyclic)
■
Returns the number of frames lost during cyclic com-
munication.
EC_ACYCLIC_LOST_FRAMES
DWORD - missing frames (acyclic)
■
Returns the number of frames lost during acyclic com-
munication.
EC_NUM_CONFIGURED_SLAVES
WORD - configured number of slaves
■
Returns the number of configured EtherCAT slaves.
EC_NUM_AVAILABLE_SLAVES
WORD - number of slaves in the network
■
Returns the number of EtherCAT slaves found when
searching the EtherCAT network.
EC_SLAVES_IN_MASTER_STATE
BOOL - EtherCAT slaves in master state
■
Set when all EtherCAT slaves on the EtherCAT master
have the state of the EtherCAT master.
EC_SLAVE_STATION_ADDRESS
ARRAY[0…512] OF WORD
1)
- slave addresses
■
Returns all addresses of the EtherCAT slaves con-
nected to the EtherCAT master.
Содержание iC9200 Series
Страница 211: ...7 Appendix...
Страница 212: ......
Страница 214: ...214 HB700 CPU PMC921xEx en 24 04 Checklists Deployment CPU iC921xM FSoE iC9200 Series...