L_MC1P_SafetyReadStatusWords
This FB is used for reading out the status words of the safety technology available in a lower-level drive.
If the lower-level drive is an EtherCAT slave, the status information must be contained in the active PDO mapping. If none of these status words is contained in the PDO mapping, an error message is output.
|
|
|
|
L_MC1P_SafetyReadStatusWords |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
Axis |
xValid |
|
- |
BOOL |
|
BOOL |
- |
|
xEnable |
xBusy |
|
- |
BOOL |
|
|
|
|
|
xError |
|
- |
BOOL |
|
|
|
|
|
eErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
dwControl |
|
- |
DWORD |
|
|
|
|
|
dwState |
|
- |
DWORD |
|
|
|
|
|
dwIOState |
|
- |
DWORD |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Axis |
Transfer of the axis data structure |
|
|
xEnable |
TRUE |
Activate FB and read out status words. |
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
xValid BOOL |
TRUE |
Valid values are applied to the FB outputs. |
|
xBusy BOOL |
TRUE |
Processing is running. |
|
xError BOOL |
TRUE |
An error has occurred. For details see eErrorID . |
|
eErrorID |
If xError = TRUE: Error number for the error that has occurred.
|
|
|
dwControl DWORD |
TRUE |
SafetyInterface Controlword (0x2870/1)
|
|
dwState DWORD |
TRUE |
SafetyInterface State (0x2870/2) For decoding the status information, the L_MC1P_SafetyStateDecoder FB is provided |
|
dwIOState DWORD |
TRUE |
SafetyInterface IOState (0x2870/3) For decoding the status information, the L_MC1P_SafetyIOStateDecoder FB is provided |
Motion axes (AXIS_REF)