Exception Code List - Omron K6CM User Manual

Motor condition
Hide thumbs Also See for K6CM:
Table of Contents

Advertisement

Example: Change IP Address
 Request
(1)
00
00
(1): Transaction ID
(2): Protocol ID
(3): Number of bytes transferred
(4): Unit ID
(5): Function code
(6): Start address
(7): Number of words to read
(8): Byte count
(9): Data
 Normal Response
(1)
00
00
(3): Number of bytes transferred
Note For the other elements (the elements shaded in the above figure), the value specified in the request is
set.
9-2-5

Exception Code List

The following is the exception codes when an error response occurs. Confirm this content and review
the request.
Exception
code
01 hex
Illegal function codes
02 hex
Illegal data address
03 hex
Illegal data value
04 hex
Failure in associated device
K6CM Motor Condition Monitoring Device User's Manual (N219)
9 Monitoring and Setting Using the Modbus TCP Devices
(2)
(3)
00
00
00
0B
Specify any value. For example, 0000 hex is used in this explanation.
Specify 0000 hex.
The total number of bytes of (4) and the successor are 11, so specify
000B hex.
Specify FF hex.
10 hex (Writing of multiple registers) is specified.
Specify the register address of the IP address.
The IP address is 2 words (4 bytes), so specify 0002 hex.
The total number of bytes of (9) is 4 bytes, so specify 04 hex.
Specify 192.168.250.10 (C0 A8 FA 0A hex) as the IP address.
(2)
(3)
00
00
00
06
The total number of bytes of (4) and the successor are 6, so 0006 hex is
set.
Types of error
In the case of an unsupported function code.
When an address that cannot be read or written is included.
When data that cannot be written, such as data that is outside
the setting range, is included.
This is the state in which normal execution cannot be per-
formed.
• When K6CM is an error state.
• When an operation command and writing of multiple registers
(4)
(5)
(6)
FF
10
C2
00
(8)
04
C0
(4)
(5)
(6)
FF
10
C2
00
Function
cannot be performed. Refer to 9-3 Register Address Lists on
page 9-8 for details.
(7)
00
02
(9)
A8
FA
1E
(7)
00
02
9 - 7
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

K6cm-ismK6cm-cimK6cm-vbmK6cm-ci2m

Table of Contents