Reading/Writing Routing Information; Reading Routing Information - Mitsubishi Electric MELSEC-Q/L Programming Manual

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

Advertisement

8.2

Reading/Writing Routing Information

Reading routing information

S(P).RTREAD
Basic
High
Process
Redundant
performance
• LCPU: The serial number (first five digits) is "13012" or later.
S.RTREAD
SP.RTREAD
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
Internal device
data
Bit
Word
n
(D)
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.
(Individual data ranges)
D
Relay network number
+0
Relay station number
+1
+2 Dummy
[Specification range of relay station number]
Network type
MELSECNET/H
CC-Link IE Controller Network
CC-Link IE Field Network
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.
Error
Error details
code
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.
Ver.
Universal
LCPU
Command
Command
R, ZR
J\
Bit
(1 to 239)
See the table below.
S.RTREAD
SP.RTREAD
U\G
Zn
Word
Specification range
1 to 64
1 to 120
Master station: Fixed at 125. (The fixed value is stored.)
Local station: 1 to 120 (A station number is stored.)
Q00J/
QnH
QnPH
Q00/
Q01
8 INSTRUCTIONS FOR DATA LINK
8.2 Reading/Writing Routing Information
n
D
n
D
Constant
Others
K, H
QnPRH
QnU
LCPU
825
8

Advertisement

Table of Contents
loading

Table of Contents