310
6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
Identical 16-bit data block transfer
FMOV(P)
• Transfers 16-bit data at the device designated by (S) to n points of devices starting from the one designated by (D).
• In cases where (S) designates a word device and (D) a bit device, the number of bits designated by digit designation for the
bit device will be the object bits for the word device (S). If K1Y30 has been designated by (D), the lower 4 bits of the word
device designated by (S) will become the object.
• If bit device has been designated for (S) and (D), then (S) and (D) should always have the same number of digits.
• Selection whether to check a device range
While SM237 is on, do not make the following access.
• The indexing target exceeds the device range.
• The value obtained from "(D) to (D) + (n) - 1" is over the boundaries of the device ranges.
*1
• Accessing the file register with file register not set.
• Accessing the area where the multiple CPU high speed transmission area device is not available (only for the QCPU).
*1 Refer to the DFMOV instruction.
(S): Data to be transferred or the head number of the devices where the data to be transferred is stored (BIN 16 bits)
(D): Head number of the devices of transfer destination (BIN 16 bits)
n: Number of data to be transferred (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S)
(D)
n
Whether to check a device range during execution of the FMOV instruction can be set with SM237 (Device range check inhibit flag). (Only when the conditions
of the subset processing are established)
While SM237 is ON, whether (D) to (D) + (n) - 1 is within the device range or not is not checked.
For details of SM237, refer to the User's Manual (Hardware Design, Maintenance and Inspection) for the CPU module used.
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
FMOVP
FMOV
n
n
FMOVP
FMOV
S D
S D
+1
+2
+(n-2)
+(n-1)
n
3456
H
3456
H
3456
H
3456
H
3456
H
3456
H
Transfer
b0b15
b0b15
S
D
D
D
D
D
n
1
0
1 11
0
1 111
0
1
Y30Y33Y3B Y38Y3F Y3C
+2+3
D100
1
0
1
1
b0b1b2b3b4b15
Transfer
1
0
1
1
Y37 Y34
+1
S
D D D D