![background image](http://html1.mh-extra.com/html/omron/k6pm-th/k6pm-th_user-manual_743374137.webp)
6 - 7
6 Monitoring and Setting with the Modbus TCP
K6PM-TH Thermal Condition Monitoring Device User’s Manual (H231)
6-
2 Fu
ncti
on C
ode
s
6
6-
2-5 Excep
tion C
ode List
Request
Normal Response
Note For the other elements (the elements shaded in the above figure), the value specified in the request is
set.
The following is the exception codes when an error response occurs. Confirm this content and review
the request.
Example: Change IP Address
(1): Transaction ID
Specify any value. For example, 0000 hex is used in this explanation.
(2): Protocol ID
Specify 0000 hex.
(3): Number of bytes transferred
The total number of bytes of (4) and the successor are 11, so specify
000B hex.
(4): Unit ID
Specify FF hex.
(5): Function code
10 hex (Writing of multiple registers) is specified.
(6): Start address
Specify the register address of the IP address.
(7): Number of words to read
The IP address is 2 words (4 bytes), so specify 0002 hex.
(8): Byte count
The total number of bytes of (9) is 4 bytes, so specify 04 hex.
(9): Data
Specify 192.168.250.30 (C0 A8 FA 1E hex) as the IP address.
(3): Number of bytes transferred
The total number of bytes of (4) and the successor are 6, so 0006 hex is
set.
6-2-5
Exception Code List
Exception
code
Types of error
Function
01 hex
Illegal function codes
In the case of an unsupported function code.
02 hex
Illegal data address
When an address that cannot be read or written is included.
03 hex
Illegal data value
When data that cannot be written, such as data that is outside
the setting range, is included.
04 hex
Failure in associated device
This is the state in which normal execution cannot be per-
formed.
• When K6PM-TH is an error state.
• When an operation command and writing of multiple registers
(8)
(9)
(1)
(2)
(3)
(4)
(5)
(6)
(7)
→
→
00
00
00
00
C0
04
A8
FA
1E
00
0B
C2
00
00
02
FF
10
(1)
(2)
(3)
(4)
(5)
(6)
(7)
00
00
00
00
C2
00
00
02
00
06
FF
10
Содержание K6PM-TH
Страница 56: ...2 Installation and Wiring 2 20 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 76: ...3 Initial Setting 3 20 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 156: ...7 Troubleshooting 7 8 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 195: ...I 1 I K6PM TH Thermal Condition Monitoring Device User s Manual H231 Index...
Страница 197: ......