269
DFMOV, DFMOVP
1
2
3
4
6
7
8
6.4
D
ata T
ransfer I
nstr
uctions
6.4.8
D
FMOV, DF
MOVP
(2) If specifies data of a device with digit specification, the amount of data to be transferred will be the amount of the data
specified digit.
If K5Y0 is specified by , the lower 20 bits (five digits) of the word device specified by will be the object.
(3) If specifies data of a device with digit specification, the amount of data stored in the device specified by will be
transferred.
If K5Y0 is specified by , the lower 20 bits of the word device specified by will be the object.
If both and specify data of a device with digit specification, the amount of data specified by will be transferred
regardless of the number of digits.
(4) If the value specified by n is 0, the instruction will be not processed.
(5) Whether to check a device range during the execution of the FMOV instruction can be selected with the device range
check inhibit flag (SM237). (Only when the conditions of the subset processing are established)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored into
SD0.
Program Example
(1) The following program stores the value data stored at Y0 to Y13(20 bits) into D10 to D17,when M0 is turned on,
[Ladder Mode] [List Mode]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4100
The value specified for n is negative.
––
––
––
––
4101
Data points to be transferred (n) exceed the points of the device
specified in .
––
––
––
––
S
S
S
Y1F
Y14 Y13
Y0
Transfer
S
S +1
,
Ignored
20 bits
(
five digits
)
data
b31
b20 b19
b0
b31
b20 b19
b0
Filled with 0s
20 bits
(
five digits
)
data
D
D
+2
+3
,
D
D
+1
,
D
+
(
2n 2
)
+
(
2n 1
),
D
0
0
0
D
D
D
S
S
D
D
b31
b20 b19
b0
S
S +1
,
Amount of data specified digits b
y
D
Y14n+19
Y14n
Y0
Transfer
Y27
Y14 Y13
D +n
D +1
D
D
Step
Instruction
Device