Iowr Instruction; Designation - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

IOWR Instruction

4-9

IOWR Instruction

4-9-1 Designation

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.
Operand
C
MC Unit address (BCD)
Designates the address of the MC Unit that will receive the data.
S
No. of first source word
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.
IR area 1
IR area 2
HR area
AR area
LR area
Timer/Counter
Data memory
Indirect DM addressing
D
X
No. of data transfer words (BCD)
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.
IOWR
@IOWR
C
S
D
Description
Area
000 to 250
256 to 511
HR 00 to HR 99
AR 00 to AR 27
LR 00 to LR 63
T/C 000 to T/C 511
DM 0000 to DM 6143
*DM 0000 to *DM 6655
Destination unit no. (0 to 8 or A to E)
Section 4-9
C
S
D
Range
59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents