4 - 55
4 Safety Function Blocks
NX-series Safety Control Unit Instructions Reference Manual (Z931)
4
SF_GuardMonitoring
SF_GuardMonitoring
This safety FB monitors a relevant safety guard and opens or closes the safety guard.
Instruction Name FB/FUN Graphic expression
SF_GuardMonitori
ng
Safety Guard
Monitoring
FB
Variables
Input Variables
Variable Data type Valid range Default Description
Activate BOOL TRUE or FALSE FALSE Refer to Safety FB Common Input Variables on page 4-2.
S_GuardSwitch1 SAFEBOOL TRUE or FALSE FALSE A variable. The input from guard switch 1.
FALSE: The guard is open.
TRUE: The guard is closed.
S_GuardSwitch2 SAFEBOOL TRUE or FALSE FALSE A variable. The input from guard switch 2.
FALSE: The guard is open.
TRUE: The guard is closed.
Discrepancy-
Time
TIME Depends on data
type.
T#0ms A constant. It sets the synchronization time to monitor
between S_GuardSwitch1 and S_GuardSwitch2.
S_StartReset SAFEBOOL TRUE or FALSE FALSE Refer to Safety FB Common Input Variables on page 4-2.
S_AutoReset SAFEBOOL TRUE or FALSE FALSE Refer to Safety FB Common Input Variables on page 4-2.
Reset BOOL TRUE or FALSE FALSE Refer to Safety FB Common Input Variables on page 4-2.
Output Variables
Variable Data type Valid range Default Description
Ready BOOL TRUE or FALSE FALSE Refer to Safety FB Common Output Variables on page
4-4.
S_GuardMonitori
ng
SAFEBOOL TRUE or FALSE FALSE Gives the guard status.
FALSE: Opens the guard.
TRUE: Closes the guard.
Error BOOL TRUE or FALSE FALSE Refer to Safety FB Common Output Variables on page
4-4.
DiagCode WORD Depends on state
code.
16#0000 Refer to Safety FB Common Output Variables on page
4-4.
SF_GuardMonitoring
Activate
S_GuardSwitch1
S_GuardSwitch2
BOOL
SAFEBOOL
BOOL
WORD
Ready
S_GuardMonitoring
Error
DiagCode
BOOL
SAFEBOOL
SAFEBOOL
TIME DiscrepancyTime
SAFEBOOL S_StartReset
SAFEBOOL S_AutoReset
BOOL Reset