(c) RIWT instruction setting
The following table lists values set in RIWT instruction control data.
(S1)+0
(S1)+1
(S1)+2
(S1)+3
(S1)+4
(d) Program example
Write the following program to the CPU module of station No.2.
358
Device
D420
Completion status
D421
Target station number
D422
Access code/attribute code
D423
Device number
D424
Number of write points
Item
(The system sets this item.)
3
0405
H
1100
4
Processing program upon completion
Processing program upon failure
Set value
(data register (D))
Control data
setting for RIWT
instruction
Stores write data
in D850 to D853.
Execution of RIWT
instruction