842
24 BISTABLE FUNCTION BLOCKS
24.2 Bistable Function Blocks (Reset Priority)
24.2 Bistable Function Blocks (Reset Priority)
RS(_E)
These function blocks judge two input values and output 1 (TRUE) or 0 (FALSE).
â– Descriptions, types, and data types
â– Operation processing
• When (s1) turns ON, (d) is set. When (s2) is turned ON, (d) is reset.
• If (s1) is turned ON when (s2) is ON, (d) is not reset.
â– Operation result
1. Function block without EN/ENO
The operation processing is executed. The operation output value is output from (d).
• Timing chart
Ladder diagram Structured text
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
RS_1(S:=s1,R1:=s2,Q1:=d);
[With EN/ENO]
RS_E_1(EN:=EN, ENO:=ENO S:=s1,R1:=s2,Q1:=d);
Argument Description Type Data type
EN Execution condition (TRUE: Execution, FALSE: Stop) Input variable BOOL
s1 Set instruction Input variable BOOL
s2 Reset instruction Input variable BOOL
ENO Output status (TRUE: Normal, FALSE: Abnormal) Output variable BOOL
d Output Output variable BOOL
OFF
ON
ON ON ON ON ON
(s1)
OFF OFF
ON
OFF
ON
ON ON
OFF
ON
OFF
ON
ON
(s2)
OFF OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
ON
(d)
When (s1) is on
and (s2) is off,
(d) turns on.
When (s2) is on,
(d) turns off.