I/O Write - Writ(87); I/O Read - Read(88) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Intelligent I/O Instructions
5-26-1
I/O WRITE – WRIT(87)
Limitations
Description
Precautions
Flags
5-26-2
I/O READ – READ(88)
Description
Precautions
218
Ladder Symbols
WRIT(87)
@WRIT(87)
N
S
D
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 .
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.
Ladder Symbols
READ(88)
@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.
Operand Data Areas
N: Number of transfer words (BCD)
IR, AR, DM, HR, TC, LR, #
N
S: Source beginning word
S
IR, SR, AR, DM, HR, TC, LR
D
Operand Data Areas
N: Number of transfer words (BCD)
IR, AR, DM, HR, TC, LR, #
N
S
D
IR, AR, DM, HR, TC, LR
Section 5-26
D: Destination word
IR (I/O word only)
S: Source word
IR (I/O word only)
D: Destination word

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents