![background image](http://html1.mh-extra.com/html/omron/k6pm-th/k6pm-th_user-manual_743374133.webp)
6 - 3
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-1 F
unct
ion C
ode List
6-2
Function Codes
This section describes function codes that can be used with Modbus TCP.
The function codes that can be used are as follows.
This function can read the contents of multiple registers starting from the specified address.
The frame configurations of Modbus TCP are as follows.
Request
6-2-1
Function Code List
Function code
Name
Usages
03 hex
Reading of multiple
registers
Used to read the Main Unit status, alarm status, current value
of the temperature, IP address, etc.
06 hex
Operation command Used to instruct software reset, K6PM-TH sensor registration,
K6PM-TH sensor mode change, K6PM-TH sensor location
registration, max. temperature reset, etc.
10 hex
Writing of multiple
registers
Used to set the IP address, Main Unit initial setting, etc.
6-2-2
03 hex: Reading of Multiple Registers
Frame Configurations
(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 trans-
ferred
Specify the total number of bytes of (4) and the successor. In the above case,
it is from (4) to (7), so it is 0006 hex.
(4): Unit ID
Specify FF hex.
(5): Function code
Specify 03 hex (Reading of multiple registers).
(6): Start address
Specify the address to start reading.
Refer to
(7): Number of words to read
Specify the number of words of the register to be read. The maximum value is
125 (007D hex).
(1)
(2)
(3)
(4)
(5)
(6)
(7)
2
2
2
1
1
2
2
00
00
00
00
00
06
FF
03
←
Number of bytes
←Hex
Содержание 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: ......