Chapter 8 Logic Instructions
8.3.3 RS
FB/FC
Explanation
FB
RS is used for giving priority to the Reset input. DVP15MC11T
Parameters
Meaning
Description Valid range
SET
Input
Input
SET signal TRUE or FALSE
Reset
Input
Input
Reset signal TRUE or FALSE
Q
Output
signal
Output Output signal TRUE or FALSE
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
SET
●
Reset
●
Q
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
When the SET and Reset inputs of RS are both TRUE, Reset is given the priority.
Programming Example
The variable table and program
RS1_Reset BOOL FALSE
RS1_Q
BOOL
RS
EN ENO
SET
Q
RS_instance
Q
Reset
8-11