59
4-9 IOWR Instruction
Use the IOWR instruction to transmit data from the PC to the MC Unit. Refer to
the following for the format of the IOWR instruction.
4-9-1 Designation
IOWR
C
S
D
@IOWR
C
S
D
Operand Description
C
Designates the address of the MC Unit that will receive the data.
MC Unit address (BCD)
S
Designates the first word of the PC that has the first block of data.
Refer to the following table to designate first data source words. Refer
to the C200HX/C200HG/C200HE PCs Operation Manual for these
allocations in detail.
No. of first source word
Area Range
IR area 1 000 to 250
IR area 2 256 to 511
HR area HR 00 to HR 99
AR area AR 00 to AR 27
LR area LR 00 to LR 63
Timer/Counter T/C 000 to T/C 511
Data memory DM 0000 to DM 6143
Indirect DM addressing *DM 0000 to *DM 6655
D
Designates the destination unit number and the number of transfer
data words.
The number of data transfer words varies as follows:
Three words are required for the transmission of a position data item.
Therefore, 12 words are required to transmit four position data items
(i.e., 3 words x 4 position data items).
Two words are required for the transmission of a data item other than
a position data item.
X No. of data transfer words (BCD)
Destination unit no. (0 to 8 or A to E)
IOWR Instruction
Section 4-9