Mitsubishi Electric MELSEC-Q/L Programming Manual page 830

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

Advertisement

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.
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.
Program example
• 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]
[Operation]
D0
1
D1
20
D2
1
D3
Dummy
8 INSTRUCTIONS FOR DATA LINK
828
8.2 Reading/Writing Routing Information
[Routing parameter setting]
Transfer
Relay network
destination
number
network number
1
20
2
10
3
10
Q00J/
QnH
Q00/
Q01
[List Mode]
Step
Instruction
Relay station
number
1
2
1
QnPH
QnPRH
QnU
Device
LCPU

Advertisement

Table of Contents
loading

Table of Contents