Fail-Safe Blocks
Fail-Safe Systems
8-104 A5E00085588-03
I/Os
Name Data Type Explanation Default
Inputs:
CU F_BOOL Up-counting input 0
CD F_BOOL Down-counting input 0
R F_BOOL Reset input (R dominates over
LOAD)
0
LOAD F_BOOL Load input (LOAD dominates
over CU and CD)
0
PV F_INT Preset value 0
Name Data Type Explanation Default
Outputs:
QU F_BOOL Status of the up counter
QU has the value
– 1 if CV >= PV
– 0, otherwise
0
QD F_BOOL Status of the down counter
QD has the value
– 1 if CV <= 0
– 0, otherwise
0
CV F_INT Current count value 0
Note
If, when you create the program, you preset the CV output in CFC with an initial
value of < 0 or > 0, the counter is incremented or decremented as of this value.
Note that the initial values of output parameters do not appear in the printout of the
CFC chart. They must be checked in the printout of the safety program.
Error Handling
In the event of an error that is critical to safety, the system function SFC F_CTRL
is called. This records the event in the Diagnostic Buffer and requests a switch to
the reserve CPU if the error occurred only on the master CPU. For non-redundant
systems or a common-cause error occurring in both CPUs, the shutdown logic can
be configured to either disable the erred F-run-time group or the entire Safety
Program.
Error Information in Diagnostic Buffer
Error Code (W#16#...) Description
75DAH
Error in the safety data format of the input CU, CD, R, LOAD
or PV (error due to online modification of the Safety Program
or internal CPU fault)