![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324079.webp)
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
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......