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