Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
6-123
DFMOV(P)
1
2
3
4
4
6
7
8
6.4 Data Transfer Instructions
6.4.8 Identical 32-bit data block transfers (DFMOV(P))
(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.
The value specified by n is negative. (Error code: 4100)
The range of n-point devices, to be transferred, exceeds the range of devices specified by
. (Error code: 4101)
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]
[Operation]
D
D
D
S
S
D
D
b31 b20 b19 b0
SS
1,
Amount of data specified digits by D
Y14n+19 Y14n Y0
Transfer
Y27 Y14 Y13
D
nD1D
D
Step
Instruction
Device
D11,D1
0
D13,D1
2
D15,D1
4
D17,D1
6
Transfer
Y1F
11
1 1 1 1 1 1 1 1 1 1 1 1 01
Y14 Y13 Y0
0 1 0 1 0 1 0 1 0 1 0 1 0101
Ignored 20 bits (five digits) data
1 1 010 1 0 1 0 1 0 1 0 1 0 1 0101
Filled with 0s
20 bits (five digits)
1 1 010 1 0 1 0 1 0 1 0 1 0 1 0101
1 1 010 1 0 1 0 1 0 1 0 1 0 1 0101
b31
00
0 0 0 0 0 0 0 0 0 0
000000000000
000000000000
000000000000
1 1 01
b20 b19 b0
0 1 0 1 0 1 0 1 0 1 0 1 0101