Network Relay Errors - Omron C200HW-CLK21 Operation Manual

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Response Codes
6-7-2

Network Relay Errors

Relay Errors
226
A network relay error will occur whenever a command cannot reach the desti-
nation. These errors can occur for several reasons: 1) Data was not success-
fully passed between two Link Units, 2) Data was not passed successfully
between a Link Unit and another Unit, such as the PLC's CPU Unit, or 3) The
destination of a gateway does not exist. In any case, the Unit that was not able
to transfer data will return a response indicating a network relay error.
Bit 7 of the first byte of the response code will be ON if a network relay error
has occurred. When this happens, two more bytes of data will follow the
response code to indicate the location of the error. This information, along
with the response code, should enable you to track the error.
7
6
5
Bit
First word
7
6
5
Main response code (MRES)
Second word
1: Relay Error Flag
7
6
5
Third word
Error network address
Error network address: 00 to 7F (Hex) (0 to 127 in decimal)
Error node address:
A relay error indicates that the command did not reach the Unit to which it was
sent. There are several types of situation in which this can occur. Example 1
(below) shows a situation in which a relay error occurs when data cannot be
transferred from one Communications Unit to another in an interconnected
network. Example 2 shows a similar situation, except that the destination Unit
is something other than a Communications Unit. In Example 3, the relay error
occurs because either the specified destination node or the next relay node
does not exist.
In the three diagrams, the numbers indicate the following:
(1)The transmitted data fails to be received.
(2)The relay error and response code are returned to the command
source.
First byte
4
3
2
1
0
7
Command code
4
3
2
1
0
7
4
3
2
1
0
7
Controller Link: 01 to 3E (Hex) (1 to 62 in decimal)
Ethernet:
01 to 7E (Hex) (1 to 126 in decimal)
SYSMAC NET: 01 to 7E (Hex) (1 to 126 in decimal)
SYSMAC LINK: 01 to 3E (Hex) (1 to 62 in decimal)
Section 6-7
Second byte
6
5
4
3
2
1
0
6
5
4
3
2
1
0
Sub response code (SRES)
1: PLC Non-fatal Error Flag
1: PLC Fatal Error Flag
6
5
4
3
2
1
0
Error node address

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents