5. SEQUENCE INSTRUCTIONS
5 − 19
MELSEC-A
5.3.2 Bit device set, reset (SET,RST)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
SET O O O O O O
RST
(D)
O O O O O O O O O O O O O O O
*1: Index qualification can be used with AnA, A2AS, AnU, QCPU-A (A Mode) and A2USH board only.
Functions SET
(1) When the SET input turns on, the specified device is turned on.
(2) The turned-on device remains on even if the SET input turns off. The device can
be turned off by the RST instruction.
(3) When the SET input is off, the status of the device does not change.
RST
(1) When the RST input turns on, the specified device changes as described below:
Device Status
Y, M, L, S, B, F Coil and contact are turned off.
T, C Present value is set to 0, and coil and contact are turned off.
D, W, R, A0, A1, Z, V Content is set to 0.
(2) When the RST input is off, the status of device does not change.
Applicable
CPU
All CPUs
*1
X005
X007
SET Y010
RST Y010
SET
Device number to
be set (turned on)
RST
(D)
Device number to
be reset.
Setting data
SET inpu
RST in
ut
SET
RST
(D)
(D)