671
S.RTWRITE, SP.RTWRITE
1
2
3
4
6
6
7
8
8.2
R
eading/Writing Routing Infor
m
atio
n
8.2.2
S
.RTWRIT
E
, SP.RTWRIT
E
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.
Program
E
xamp
l
e
(1) The following program writes the routing information specified by D1 to D3 to the network module of the network number
specified by D0 when X0 is turned ON.
[Ladder Mode]
[List Mode]
[Operation] [Content of routing parameter setting]
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.
The data of or later exceeds each setting range.
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.
––
––
4101
The device specified by exceeds the range of the corresponding
device.
––
––
––
––
S
S
I
nstruct
i
on
De
vi
ce
Step
Transfer
destination
net
w
ork number
Relay net
w
ork
number
Relay station
number
1
2
3
20
10
10
1
2
1
20
1
Dummy
1
D1
D2
D3
D0