496
(c) RIWT instruction settings
Control data settings for the RIWT instruction are shown below.
(d) Program example
The following example program is written to the CPU module of station No.2.
Device Item Set value
(S1)+0 D420 Completion status
—
(Set by the system, no setting required)
(S1)+1 D421 Target station No. 3
(S1)+2 D422 Access code/Attribute code
0405
H
(Data register (D))
(S1)+3 D423 Device No. 1100
(S1)+4 D424 Number of points to write 4
Control data
setting for
RIWT instruction
Stores write data
in D850 to D853.
Execution of
RIWT instruction
Error code
reading, etc.
Processing program for write completion
Processing program for normal completion
Processing program for error completion