Omron C200HG Computer Hardware User Manual


 
352
When the execution condition is OFF, IOWR(––) is not executed. When the
execution condition is ON, IOWR(––) transfers data from the words beginning at
D to the specified Special I/O Units memory. The destination information pro-
vides the node number of the Special I/O Unit and the number of words to be
written, as shown in the following diagram.
D:
Digits 2 to 4: Number of words to write (001 to 128)
Digit 1: Node number of the Special I/O Unit (0 to F)
The control code (C) depends on the Special I/O Unit being specified. Refer to
the Units Operating Manual for details.
Example When IR 00000 goes from OFF to ON, the following instruction writes the con-
tents of the 10 words from DM 0100 through DM 0109 to the memory area of
Special I/O Unit number 2.
IOWR(––)
C
DM 0100
#2010
00000
Address Instruction Operands
00200 LD 00000
00201 @IOWR(––)
C
DM 0100
#2010
Flags ER: The last three digits of D (number of words specifier) isnt BCD or isnt
within the range of 001 through 128.
Indirectly addressed DM word is non-existent. (Content of DM word is
not BCD, or the DM area boundary has been exceeded.)
The destination Units unit number isnt 0 to F or it is mounted on a Slave
Rack.
The instruction wasnt completed normally.
EQ: ON when the data was read successfully, otherwise OFF.
Description
Special I/O Unit Instructions Section 5-29