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

Скачать
Страница из 1204
8-8
RTWRITE
8.2.2  
Registering routing information (S(P)/Z(P).RTWRITE)
RTWRITE
Function
(1) Registers routing data of 
 or later in the area for the transfer destination network number 
specified by n in the routing parameters.
(2) The following shows the contents of data to be set at 
 or later.
(3) If data for the transfer destination network number specified by n is set in the routing 
parameters, it is used to update the data in the area starting from 
.
(4) If all data in 
 or later (
+0 to 
+2) is 0, the data for the transfer destination network 
number specified by n is deleted from the routing parameters.
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)
 • When the data of 
 or later exceeds each setting ranges.
(Error code: 4100)
 • When the total number of routing information registered in the routing parameter of the 
network parameters and routing information registered with the RTWRITE instruction 
exceeds 64.
(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 where the data to be written is stored (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.RTWRITE
Command
n
SP.RTWRITE
n
S.RTWRITE
SP.RTWRITE
S
S
S
S
S
S
Relay station number
+0
+1
+2
Dummy
Relay network number
(0 to 239)
(Individual data ranges)
(0 to 120)
S
S
S
S
S
S
S