Function Block-Specific Error and Status Codes
Table 61: FB-specific error codes
DiagCode State Name State Description and Output Setting
C001 Reset Error1 Static Reset detected in state 8001.
Ready = TRUE
S_GuardLocked = FALSE
S_UnlockGuard = FALSE
Error = TRUE
C002 Reset Error 2 Static Reset detected in state C004.
Ready = TRUE
S_GuardLocked = FALSE
S_UnlockGuard = FALSE
Error = TRUE
C003 Reset Error 3 Static Reset detected in state 8011.
Ready = TRUE
S_GuardLocked = FALSE
S_UnlockGuard = FALSE
Error = TRUE
C004 Safety Lost Safety lost, guard opened or guard unlocked.
Ready = TRUE
S_GuardLocked = FALSE
S_UnlockGuard = FALSE
Error = TRUE
Table 62: FB-specific status codes (no error):
DiagCode State Name State Description and Output Setting
0000 Idle The function block is not active (initial state).
Ready = FALSE
S_GuardLocked = FALSE
S_UnlockGuard = FALSE
Error = FALSE
8000 Guard Closed
and Locked
Guard is locked.
Ready = TRUE
S_GuardLocked = TRUE
S_UnlockGuard = FALSE
Error = FALSE
Configuration and programming
AC500-S Libraries > SafetyBlocks_PLCopen_AC500_v22.lib
30.03.2017 AC500-S 321