295
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
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
2. When specifying high speed counters (C235 to C255)
ZRST instruction is handled as the 16-bit type, but 32-bit counters can be specified in
and
.
However, it is not possible to specify a 16-bit counter in
and specify a 32-bit counter in
;
and
should be a same type.
Example
Program example
1. When using devices in the latch area as non-latch type devices
In the program shown below, when the power of the PLC is turned ON or when the PLC mode is changed to
RUN, the specified ranges of bit devices and word devices are reset at one time.
D
1
D
1
D
1
D
2
D
1
D
1
D
1
D
2
D
1
D
1
D
1
D
2
Command
input
FNC 40
ZRST
C180
C230
16-bit
counter
32-bit
counter
Command
input
FNC 40
ZRST
C180
C199
FNC 40
ZRST
C200
C230
M8002
FNC 40
ZRST
M500
M599
Initial pulse
D
1
D
2
M500 to M599 are reset at one time.
FNC 40
ZRST
C235
C255
D
1
D
2
FNC 40
ZRST
S0
S127
D
1
D
2
C235 to C255 are reset at one time.
("0" is written to them, and their contacts are reset.)
S0 to S127 are reset at one time.