Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G User Manual

Page of 936
315
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
FN
C
30
-FN
C
39
R
otati
on and 
Shi
ft
12
FNC4
0-F
NC4
9
D
ata O
per
ati
on
13
FN
C
50-FN
C
59
H
igh S
pe
ed 
P
rocessing
14
FM
C
60-FN
C
69
H
andy 
In
st
ru
ct
ion
15
FNC7
0-F
NC7
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
10
9
Da
ta
 
Transf
er 2
18
FN
C
110-
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
 
O
per
at
ion 2
20
FN
C
150-
FN
C
159
Posit
ioning 
C
ont
ro
l
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, D and R).
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, D and R) 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
‚
D
‚
D
‚
D
‚
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