Mitsubishi Electronics FX3S ユーザーズマニュアル
249
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.3 FNC 12 – MOV / Move
1
Introdu
ction
2
Ov
ervi
ew
ew
3
Instruction
Li
st
4
D
evices
in Det
ai
l
5
Specifi
ed the
De
vice
&
C
onst
ant
ant
6
Bef
ore
ore
Pr
og
ra
mmi
ng
ng
7
Bas
ic
ic
Instruction
8
FN
C00-FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
9.3
FNC 12 – MOV / Move
Outline
This instruction transfers (copies) the contents of a device to another device.
1. Instruction format
2. Set data
3. Applicable devices
S1: This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLCs.
S2: This function is supported only in FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
1. 16-bit operation (MOV and MOVP)
The contents of the transfer source
are transferred to the transfer destination
.
• While the command input is OFF, the transfer destination
does not change.
• When a constant (K) is specified as the transfer source
, it is automatically converted into binary.
When specifying digits of a bit device (K1X000
→ K1Y000)
The bit device transfers a maximum of 16 points(multiple of 4).
Operand Type
Description
Data Type
Transfer source data or device number storing data
16- or 32-bit binary
Transfer destination device number
16- or 32-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D
R
U \G
V Z Modify K H
E
" "
P
S1
S2
S1
S2
DMOV
DMOVP
DMOVP
Mnemonic
Operation Condition
P
FNC 12
MOV
D
16-bit Instruction
5 steps
MOV
MOVP
MOVP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Pulse (Single)
Operation
32-bit Instruction
9 steps
Continuous
Operation
Pulse (Single)
Pulse (Single)
Operation
S
D
S
D
S
D
D
S
→
FNC 12
MOV
S
D
Command
input
S
D
ON
Command contact
ON
X000
OFF
X001
OFF
X002
ON
X003
ON
Y000 OFF
ON
Y001
OFF
ON
Y003
ON
Y002
OFF
S
D
Before
execution
After
execution
Transfer
FNC 12
MOV
K1X000 K1Y000
Command
input
:K1X000
S
:K1Y000
D
X3 X2 X1 X0
ON OFFOFF ON
ON ON ON OFF
Y3 Y2 Y1 Y0
X3 X2 X1 X0
ON OFFOFF ON
ON OFFOFF ON
Y3 Y2 Y1 Y0