Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
6-121
FMOV(P)
1
2
3
4
4
6
7
8
6.4 Data Transfer Instructions
6.4.7 Identical 16-bit data block transfers (FMOV(P))
(4) Selection whether to check a device range
Whether to check a device range during execution of the FMOV instruction can be selected
with the device range check inhibit flag (SM237) (only when the conditions for subset
processing are established).
While SM237 is ON, whether to + (n) - 1 is within the device range or not is not
checked.
For details of SM237, refer to Appendix 3 SPECIAL RELAY LIST.
SM237 can be used only for the Universal model QCPU whose first 5 digits of
serial number is 10012 or later.
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 device range of n points from or exceeds the corresponding device range.
(Error code: 4101)
Program Example
(1) The following program outputs the lower 4 bits of D0 when XA goes ON to Y10 to Y23 in
4-bit units.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program outputs the data at X20 through X23 to D100 through D103 when XA
goes ON.
[Ladder Mode] [List Mode]
[Operation]
D D
D
Step
Instruction
Device
1 Y13 to Y10011
1011
1011
1011
1
0
11
Y17 to Y14
Y1B to Y18
Y1F to Y1C
Y23 to Y20
1011 10110 111 1001D0
Transfer
Ignored
b0b3b15 b4 b2b1
5 points
Step
Instruction
Device
0
111
111
0
1 1
0
1
X20X23X2B X28X2F X2C
00
1
0
X27 X24
0000 11100 000 0000
Before execution
D100
After execution (destination of transfer)
0000 11100 000 0000 D101
0000 11100 000 0000 D102
0000 11100 000 0000 D103
4 points
Filled with 0s.
b0b3b15 b4
Ignored