![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 261](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083261.webp)
259
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.3 FNC 12 – MOV / Move
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
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
S
: 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
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
3
3
3
3
3 3 3 3
S
3 3
3
3 3
3
3
3
3 3 3 3
S
3 3
3
DMOV
DMOVP
Mnemonic
Operation Condition
P
FNC 12
MOV
D
16-bit Instruction
5 steps
MOV
MOVP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
9 steps
Continuous
Operation
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