![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079224.webp)
218
5-26-1
I/O WRITE – WRIT(87)
N
: Number of transfer words (BCD)
IR, AR, DM, HR, TC, LR, #
S
: Source beginning word
IR, SR, AR, DM, HR, TC, LR
Operand Data Areas
D
: Destination word
IR (I/O word only)
Ladder Symbols
WRIT(87)
N
S
D
@WRIT(87)
N
S
D
Limitations
S and S+(N–1) must be in the same data area.
When the execution condition is OFF, WRIT(87) is not executed. When the
execution condition is ON, WRIT(87) transfers the contents of S through
S+(N–1) to the Intelligent I/O Unit allocated D.
If an Intelligent I/O Unit is busy and unable to receive data, the data will be
written during the next cycle. To make sure that WRIT(87) execution has
been completed, check EQ .
Flags
ER:
N is not BCD.
D is not allocated to an Intelligent I/O Unit.
S+(N–1) exceeds the data area boundary.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ
:
OFF while data is being written; ON when writing has been com-
pleted.
5-26-2
I/O READ – READ(88)
N
: Number of transfer words (BCD)
IR, AR, DM, HR, TC, LR, #
S
: Source word
IR (I/O word only)
Operand Data Areas
D
: Destination word
IR, AR, DM, HR, TC, LR
Ladder Symbols
READ(88)
N
S
D
@READ(88)
N
S
D
When the execution condition is OFF, READ(88) is not executed. When the
execution condition is ON, READ(88) reads data from the memory area of
the Intelligent I/O Unit allocated S and transfers it to D through D+(N–1).
If the data cannot be sent or the Intelligent I/O Unit is busy, the data will be
transferred during the next cycle. To make sure that READ(88) execution has
been completed, check EQ.
Description
Precautions
Description
Precautions
Intelligent I/O Instructions
Section 5-26