8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
843
8
• Number of points specified in n2 is read from the device specified in (D1) to the offset specified in (S1)+2 of the refresh
device assigned for the device specified in (S1)+1 of the target station specified in n1 and (S1)+0.
• At the above configuration, number of points specified in n2 is read starting from the offset (W1063) specified in (S1)+2 of
the device assigned for the station number 4, then the number of points is read to devices starting from the device specified
in (D1).
When a refresh range per station is assigned in transfer settings, specify number of read points so that the
range read data from the specified offset is within the range assigned in the same transfer setting. An error
occurs if the number of read points over the range assigned in each transfer setting is specified.
Refresh device
W1000
CPU module
CPU
module
Master
station:
Station
No. 0
Specified
station:
Station
No. 4
Station
No. 1
W1000
W100F
W1010
W105F
W1060
W106F
W1070
W10BF
to
to
to
to
Remote register (RWr)
CC-Link master station:
Station No. 0
Start I/O No.: 0000
H
Start I/O No.: n1=0
RWr00
RWr0F
RWr10
RWr5F
RWr60
RWr6F RWr0F
RWr70
RWrBF
to
to
to
Remote register (RWr)
RWr00
to
to
Remote register (RWr)
Remote device station:
Station No. 1
Remote device station:
Station No. 4
RWr00
RWr0F
to
.....
.....
Type: +1=1S1
Station number:
+0=4
S1
Refresh device areas assigned for station No. 4
[Structure]
Start number of the device
where target data is stored:
Read area size:
n2=4
Offset reference point
(start point: 0)
W1063 is the 3rd word from
the offset reference point.
Specify the offset in
hexadecimal, 3
H.
W1060
W1061
W1062
W1063
D1240
D1241
D1242
D1243
W1064
W1065
W1066
W1067
W1068
W1069
to
W106F
Refresh device areas
assigned for the remote
register (RWr) of station No. 4
=D1240D1
+2=3HS1