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