F_Sr_Ff - Siemens SIMATIC S7 F Manual

Systems
Table of Contents

Advertisement

Fail-Safe Blocks
8.9.2

F_SR_FF

Function
The block executes the function of an SR flipflop (setting dominant).
The SR flipflop is set if the signal state at the input R = 0 and at the input S = 1.
The flipflop is reset if the input R = 1 and the input S = 0. If the result of the logic
operation is 1 at both inputs, the flipflop is set.
Truth Table
R
S
0
0
0
1
1
0
1
1
I/Os
Name
Inputs:
R
S
Outputs:
Q
QN
Note
If, when you create the program, you preset the Q output in CFC with the initial
value 1, it will remain set after startup (cold restart or warm restart) until the signal
state at the R input changes to 1 (at input S = 0).
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 .
8-102
QN
QNn
Qn-1
QNn-1
1
0
0
1
1
0
Data Type
Explanation
F_BOOL
Reset
F_BOOL
Set
F_BOOL
Output
F_BOOL
Negating output
Default
0
0
0
1
Fail-Safe Systems
A5E00085588-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7 fh

Table of Contents