828
8 INSTRUCTIONS FOR DATA LINK
8.2 Reading/Writing Routing Information
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• 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.
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.
The data of (S) or later exceeds each setting range.
If the number of routing data registered in the routing parameter of the network
parameters plus the number of routing data registered using the RTWRITE
instruction exceeds the maximum registration number.
If deleting a transfer destination network number, which is not registered in the
routing parameter, is specified.
4101 The device specified for n and (D) exceeds the range of the corresponding device.
[Ladder Mode] [List Mode]
1
2
3
20
10
10
1
2
1
20
1
1
D1
D2
D3
D0
[Operation] [Routing parameter setting]
Transfer
destination
network number
Relay network
number
Relay station
number
Dummy