Chapter 8 Logic Instructions
8.3.4 SR
FB/FC
Explanation
FB
SR is used for giving priority to the Set input. DVP15MC11T
Parameters
Meaning
Description Valid range
SET
Input
SET signal TRUE or FALSE
Reset
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, SET is given the priority.
SR
EN ENO
SET
Q
SR_instance
Q
Reset
8-13