Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
824
8  INSTRUCTIONS FOR DATA LINK
8.2  Reading/Writing Routing Information
8.2
Reading/Writing Routing Information
Reading routing information
S(P).RTREAD
Processing details
 • 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 (D).
 • 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 (D).
 • The contents of the data stored in the area starting from (D) is as indicated below.
[Specification range of relay station number]
Operation error
 • In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• LCPU: The serial number (first five digits) is "13012" or later.
n:  
Transfer destination network No. (1 to 239) (BIN 16 bits)
(D):   Head number of the devices that stores the read data (Device name)
Setting 
data
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
n
(D)
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
4004
When the device which cannot be used the argument is specified
4100
The value in n is the value other than 1 to 239.
4101
The device specified for n and (D) exceeds the range of the corresponding 
device.
Process
High
performance
Redundant
Basic
LCPU
Ver.
Universal
Command
S.RTREAD
Command
n
SP.RTREAD
n
D
S.RTREAD
SP.RTREAD
D
Relay station number
+0
+1
+2
Dummy
Relay network number
(1 to 239)
(Individual data ranges)
See the table below.
D