Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
315
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
2
D
1
D
2
D
1
Command
input
Before
execution
After
execution
Executed
K0
K0K0
K0K0 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
M0RST
T0RST
D0RST
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