488
(c) RIRD instruction settings
Control data settings for the RIRD instruction are shown below.
(d) Program example
The following example program is written to the CPU module of station No.1.
Device Item Set value
(S)+0 D400 Completion status
—
(Set by the system, no setting required)
(S)+1 D401 Target station No. 4
(S)+2 D402 Access code/Attribute code
0405
H
(Data register (D))
(S)+3 D403 Device No. 1000
(S)+4 D404 Number of points to read 5
Control data
setting for
RIRD
instruction
Execution of
RIRD instruction
Error code
reading, etc.
Processing program for read completion
Processing program for normal completion
Processing program for error completion