After activation of the FB, any button set to TRUE is detected as an invalid input setting leading
to an error.
Error behavior
In the event of an error, the S_TwoHandOut output is set to FALSE and remains in this safe
state.
The error state is exited when both buttons are released (set to FALSE).
Function block-
Table 40: FB-specific error codes
specific error
DiagCode
and status
codes
C001
C002
C003
Table 41: FB-specific status codes (no error):
DiagCode
0000
8000
8001
8004
2020/06/19
State name
State description and output setting
Error B1
S_Button1 was TRUE on FB activation.
Ready = TRUE
Error = TRUE
S_TwoHandOut = FALSE
Error B2
S_Button2 was TRUE on FB activation.
Ready = TRUE
Error = TRUE
S_TwoHandOut = FALSE
Error B1&B2 The signals at S_Button1 and S_Button2 were TRUE on FB acti-
vation.
Ready = TRUE
Error = TRUE
S_TwoHandOut = FALSE
State name
State description and output setting
Idle
The function block is not active (initial state).
Ready = FALSE
Error = FALSE
S_TwoHandOut = FALSE
Buttons
Both buttons actuated correctly. The safety related output is ena-
Actuated
bled.
Ready = TRUE
Error = FALSE
S_TwoHandOut = TRUE
Init
Function block is active, but in the Init state.
Ready = TRUE
Error = FALSE
S_TwoHandOut = FALSE
Buttons
No button is actuated.
Released
Ready = TRUE
Error = FALSE
S_TwoHandOut = FALSE
3ADR025091M0208, 12, en_US
Configuration and programming
AC500-S libraries > SafetyBlocks_PLCopen_AC500_v22.lib
225