Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 184

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Command Lists
Handling Fatal and Non-fatal CPU Errors
Example of a CPU Unit Error
Handling Network Relay Errors
162
15
14
13
12
1
Main code (MRES)
1: Network relay error (See following section for details)
If bit 6 or 7 is ON, an error has occurred in the destination CPU Unit. If this
occurs, refer to the operation manuals for the CPU Unit where the error
occurred and remove the cause of the error.
For example, if a battery error occurs in the destination CPU Unit, bit 6 in the
end code will be ON, because a battery error is a non-fatal CPU Unit error.
Basically, the end code of a sent command that is completed normally is
0040.
If bit 15 is ON, an error has occurred during a network relay operation. The
end code has an additional two-byte (one word) network relay error code,
which can be used to determine the location of the relay error. The following
diagram shows the response data when a network relay error occurs when
CMND(490) is used.
Bit
D (First Re-
sponse Word)
Bit
D+1
1: Fatal CPU Unit error
1: Network relay error
Bit
Error network address
D+2
Error network address: 00 to 7F (0 to 127)
Error Node Address
Use this information to determine the node where the error occurred and take
appropriate measures.
Note When Using SEND(090) and RECV(098)
Check the path the command took using the routing tables. Check the end
code and take appropriate measures for the relay node where the error
occurred.
11
10
9
8
7
1: Fatal CPU Unit error
Command code
Main code
Sub-code
1: Non-fatal CPU Unit error
Error node address
Ethernet:
01 to 7E (1 to 128)
SYSMAC NET: 01 to 7E (1 to 126)
Controller Link: 01 to 20 (1 to 32)
SYSMAC LINK: 01 to 3E (1 to 62)
Section 5-1
6
5
4
3
2
1
Sub-code (SRES)
1: Non-fatal CPU Unit error
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents