EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 Instruction Descriptions
2-48
NJ-series Instructions Reference Manual (W502)
SR
The SR instruction retains the value of a BOOL variable. It gives priority to the Set input if both the Set
input and Reset input are TRUE.
The SR instruction forms a self-holding output that gives priority to setting. The following table shows
the relationship between the inputs are outputs.
Instruction Name FB/FUN Graphic expression ST expression
SR Set-Priority Keep FB SR_instance(Set1, Reset,
Q1);
Variables
Name Meaning I/O Description Valid range Unit Default
Set1 Set
Input
Set input
Depends on data type. --- 0
Reset Reset Reset input
Q1 Keep Output Keep output Depends on data type. --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Set1 OK
Reset OK
Q1 OK
Function
Value of Set1 Value of Reset Value of Q1
TRUE TRUE TRUE
TRUE FALSE TRUE
FALSE TRUE FALSE
FALSE FALSE Not changed.
SR
Set1 Q1
Reset
SR_instance

Table of Contents

Related product manuals