7 Applied Instructions
7.2 Move and Compare
167
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Cautions
1) When handling 32-bit data in a structured program, a 16-bit device cannot be specified directly as in the
case of a simple project. Use a label to handle 32-bit data.
A 32-bit counter can be specified directly as it is a 32-bit long device.
Use a global label to specify a device.
2) The FX
U PLC of V2.30 or earlier does not support 32-bit instructions.
3) Some restrictions to applicable devices
S1:The FX
3U, FX3UC and FX3G PLCs only are applicable.
S2:The FX
3U and FX3UC PLCs only are applicable.
Program examples
1. When writing specified data to two or more devices
X000
K0 D0
FMOV
EN
s
n
ENO
d
K5
K 0
K 0
D 0
K 0
D 1
K 0
D 2
K 0
D 3
K 0
D 4
Before
execution
After
execution
K 3 K 0
K 5 K 0
K 65 K 0
K 7 K 0
K100 K 0
Values before execution are shown as examples.
······
······
······
······
······
[Structured ladder] [ ST ]
FMOV(X000, K0, K5, D0);