Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
8-6
RTREAD
8.2  
Reading/Writing Routing Information
8.2.1  
Reading routing information (S(P)/Z(P).RTREAD)
RTREAD
Function
(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.
Operation Error
(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.
 • When data specified by n is other than 1 to 239.
(Error code: 4100)
 • The device specified by 
 exceeds the range of the corresponding device. 
(For the Universal model QCPU only.)
(Error code: 4101)
 n
: Transfer destination network No. (1 to 239) (BIN 16 bits)
: Head number of the devices that stores the read data (Device name)
Setting
Data
Internal Devices
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n
––
––
––
––
––
––
Process
High
performance
Redundant Universal
Basic
Command
S.RTREAD
Command
n
SP.RTREAD
n
D
S.RTREAD
SP.RTREAD
D
D
D
D
D
D
Relay station number
+0
+1
+2
Dummy
Relay network number
(1 to 239)
(Individual data ranges)
(1 to 120)
D
D