669
S.RTREAD, SP.RTREAD
1
2
3
4
6
6
7
8
8.2
R
eading/Writing Routing Infor
m
atio
n
8.2.1
S
.RTR
E
A
D
, SP
.R
TREAD
8.2
Reading/Writing Routing Information
n
: Transfer destination network No. (1 to 239) (BIN 16 bits)
: Head number of the devices that stores the read data (Device name)
F
unct
i
on
(1) Reads data from transfer destination network number specified by n, using routing information set by the routing
parameters, and stores it into the area starting from .
(2) If no data for the transfer destination network number specified by n is set at the routing parameters, stores 0 into the
area starting from .
(3) The contents of the data stored in the area starting from is as indicated below.
[Specification range of relay station number]
Operat
i
on
E
rror
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
S.RTREAD, SP.RTREADReading routing information
8.2.1
S.RTREAD, SP.RTREAD
• LCPU: The serial number (first five digits) is "13012" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n
––
––
––
––
––
––
Network Type
Specification Range
MELSECNET/H
1 to 64
CC-Link IE Controller Network
1 to 120
CC-Link IE Field Network
• Master station: Fixed at 125. (The fixed value is stored.)
• Local station: 1 to 120 (A station number is stored.)
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4100
The value in n is the value other than 1 to 239.
––
4101
The device specified by exceeds the range of the corresponding
device.
––
––
––
––
Process
High
performance
Redundant
Bas
i
c
LCPU
Ver.
Universal
Command
S
.
R
T
R
E
AD
Command
n
SP
.
R
T
R
E
AD
n
D
S.RTREAD
SP.RTREAD
D
D
D
D
D
D
Relay station number
+0
+1
+2
Dummy
Relay net
w
ork number
(1 to 239)
(Indi
v
idual data ranges)
See the table belo
w
.
D
D