17.2
Bistable Function Block (Reset-Dominant)
RS
These function blocks discriminate between two input values, and output 1 (TRUE) or 0 (FALSE).
Structured text
Instance name(S:=s1,R1:=s2,Q1:=d);
Setting data
■Description, type, data type
Argument
Description
s1 (S)
Set command
s2 (R1)
Reset command
d (Q1)
Output
Processing details
■Operation processing
• When (s1) turns on, (d) is set. When (s2) turns on, (d) is reset.
• Even when (s1) turns on while (s2) is on, (d) is not reset.
■Operation result
The operation processing is performed. The operation result is output from (d).
• Timing chart
ON
ON
(s1)
OFF
ON
ON
(s2)
OFF
OFF
ON
ON
(d)
OFF
OFF
(1)
(2)
(1) When (s2) turns off while (s1) is on, (d) turns on.
(2) When (s2) turns on, (d) turns off.
Operation error
There is no operation error.
ON
ON
ON
ON
ON
OFF
ON
OFF
OFF
Type
Input variable
Input variable
Output variable
ON
ON
ON
ON
OFF
OFF
ON
ON
ON
OFF
OFF
17 BISTABLE FUNCTION BLOCKS
17.2 Bistable Function Block (Reset-Dominant)
17
Data type
BOOL
BOOL
BOOL
193