Item number
Basic instructions-11, 12
Ladder format
n
n
S
SET
SET
n
n
R
RES
RES
Instruction format
SET n
RES n
Usable I/O
n
I/O number
Function
n
SET
Switches on the device when the operation result obtained up to that point is "1."
SET n
The device that is switched on will not be switched off even if the operation result is "0."
n
RES
Switches off the device when the operation result obtained up to that point is "1."
RES n
( ) indicates the display when the Ladder Editor is used.
Notes
•
When a set/reset coil is used on a multi-layer coil, it must be set to the highest level or an arbitrary contact must be entered
immediately before the use.
Program example
X00000
X00001
Program description
•
When input X00000 turns on, output R100 turns on. Even if X00000 turns off, R100 remains on.
•
When input X00001 turns on, output R100 turns off.
•
When input X00000 and X00001 both turn on, the one executed later than the other during programming takes a higher
priority.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
Example of OK
SET
SET
R100
R100
5-21
Chapter 5 Instruction Specifications
Set/reset coil output (SET, RES)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
0.9
Steps
1
0.9
Word
Double word
WR,
DR,
WM TC DX DY
DM
Example of NG
SET
SET
SET
LD
X00000
SET
SET
R100
LD
X00001
RES
R100
RES
Remark
Upper case: SET
←
Lower case: RES
←
Other