294
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.1 FNC 40 – ZRST / Zone Reset
When
and
are word devices
"K0" is written to the entire range from
to
at one time.
Related instructions
1. RST instruction
As an independent reset instruction for devices, RST instruction can be used for bit devices (Y, M and S) and
word devices (T, C and D).
2. FMOV (FNC 16) instruction
FMOV (FNC 16) instruction is provided to write a constant (example: K0) at one time. By using this
instruction, "0" can be written to word devices (KnY, KnM, KnS, T, C and D) at one time.
Cautions
1. Caution on specifying devices
Specify same type of devices in
and
. The device number of
should be smaller than or
equal to the device number of
.
If the device number of
is larger than the device number of
, only one device specified in
is
reset.
D
1
D
1
D
1
D
2
D
1
D
1
D
1
D
2
FNC 40
ZRST
Devices through are reset at one time.
D
2
D
1
D
2
D
1
Command
input
Before
execution
After
execution
Executed
K0
K0
K0
…
K0
K0
K0
K0
K0
K0
K0
K0
K0
…
+2
+9 +8 +7 +6 +5 +4 +3
+1
D
1
D
2
D
1
D
1
D
1
D
1
D
1
D
1
D
1
D
1
D
1
X001
M0
RST
T0
RST
D0
RST
M0 is reset.
The current value of T0
is reset.
D0 is reset.
X002
K0
K0 is written to D0 to D99 at one time.
FNC 16
FMOV
D0
K100
D
1
D
1
D
1
D
2
D
1
D
1
D
1
D
2
D
1
D
1
D
1
D
2
D
1
D
1