Mitsubishi Electric MELSEC-Q/L Programming Manual page 845

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

• 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.
[Structure]
Master
CPU
Station
station:
module
Station
No. 1
No. 0
CC-Link master station:
Type:
S1
+1=1
Station No. 0
CPU module
Start I/O No.: 0000
Refresh device
Remote register (RWr)
W1000
W1000
RWr00
to
W100F
RWr0F
W1010
RWr10
to
W105F
RWr5F
W1060
RWr60
to
W106F
RWr6F
W1070
RWr70
to
W10BF
RWrBF
Refresh device areas assigned for station No. 4
• 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).
Start number of the device
where target data is stored:
D1
=D1240
D1240
D1241
Read area size:
D1242
n2=4
D1243
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.
Specified
station:
.....
Station
No. 4
Station number:
Start I/O No.: n1=0
Remote device station:
Station No. 1
H
Remote register (RWr)
RWr00
to
to
RWr0F
to
to
to
Refresh device areas
assigned for the remote
register (RWr) of station No. 4
Offset reference point
W1060
(start point: 0)
W1061
W1062
W1063
W1063 is the 3rd word from
W1064
the offset reference point.
W1065
Specify the offset in
W1066
hexadecimal, 3
W1067
S1
+2=3
W1068
W1069
to
W106F
S1
+0=4
Remote device station:
Station No. 4
.....
Remote register (RWr)
RWr00
to
RWr0F
.
H
H
8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
8
843

Advertisement

Table of Contents
loading

Table of Contents