iC9200 Series
System variable
SB_DIAG_ALARM_ACK_PENDING
EtherCAT system variables
System variable
EC_MASTER_STATE
EC_MASTER_LINK_CONNECTED
EC_TOPOLOGY_OK
EC_DC_IN_SYNC
EC_CYCLIC_LOST_FRAMES
EC_ACYCLIC_LOST_FRAMES
EC_NUM_CONFIGURED_SLAVES
EC_NUM_AVAILABLE_SLAVES
EC_SLAVES_IN_MASTER_STATE
EC_SLAVE_STATION_ADDRESS
HB700 | CPU | PMC921xEx | en | 24-04
Type - description
ULINT - acknowledgement diagnostic status of the modules
■
The system variables for diagnostics of the EtherCAT master and the connected
EtherCAT slaves are listed below.
System variables and status information > System variables
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.
Description
BYTE - master state
■
Returns the state of the EtherCAT master:
–
00h: Unknown - the state is unknown.
–
01h: INIT
–
02h: PreOp
–
04h: SafeOp
–
08h: OP
BOOL - physical connection
■
Set when an Ethernet cable is connected to the
EtherCAT master.
BOOL - topology OK
■
Set when current topology and configured topology
match.
BOOL - distributed clocks
■
Set when the distributed clocks are synchronized.
DWORD - missing frames (cyclic)
■
Returns the number of frames lost during cyclic com-
munication.
DWORD - missing frames (acyclic)
■
Returns the number of frames lost during acyclic com-
munication.
WORD - configured number of slaves
■
Returns the number of configured EtherCAT slaves.
WORD - number of slaves in the network
■
Returns the number of EtherCAT slaves found when
searching the EtherCAT network.
BOOL - EtherCAT slaves in master state
■
Set when all EtherCAT slaves on the EtherCAT master
have the state of the EtherCAT master.
ARRAY[0...512] OF WORD
■
Returns all addresses of the EtherCAT slaves con-
nected to the EtherCAT master.
Deployment CPU iC921xM-FSoE
- slave addresses
1)
163