333
FX
3G
/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
FNC3
0-F
NC3
9
R
otati
on and
Shif
t
12
FNC4
0-F
NC4
9
D
ata
O
per
ati
on
13
FN
C
50-FN
C
59
H
igh Speed
Pr
ocess
ing
14
FM
C
60-
FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
N
C7
9
Ex
ter
nal
FX
I/O
D
evice
16
FN
C
80-FN
C
89
Ext
ernal FX
De
vic
e
17
FN
C
100-
FN
C
109
Da
ta
Transf
er 2
18
FN
C
110-
FN
C
139
Fl
oati
ng Poi
nt
19
FN
C
140
-F
N
C
14
9
Da
ta
O
per
ati
on 2
20
FN
C
150-
FN
C
159
Posit
ioning
C
ontr
ol
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
S500
S599
D
1
D
2
C235 to C255 are reset at one time.
("0" is written to them, and their contacts are reset.)
S500 to S599 are reset at one time.