
- 35 -
②
Protocol identifier [2 bytes]: used for multiplexer in the system, 0 at Modbus protocol.
③
Length [2 bytes]: length field is the number of bytes in the continuation field, including unit identifier and Data field.
④
Unit identifier [1 byte]: this field is used for router selection in the system.
Send ADU of all Modbus TCP to the registered 502 port by TCP.
For example: taking the communication address control bit 0x9C8E(40078) of the first indoor unit Mapping Table as
example, refer to the Mapping Table for other indoor units as follows:
Modbus TCP code: the first indoor unit running, write command format.
MBAP message header
Function code
Data
00 01 00 00 00 09 FF
10
9C 8E 00 01 02 00 01
Modbus device
continuous write
command
Communication protocol start address Number of write hold
register Bytes Write value
Modbus TCP code: Modbus adapter write response code.
MBAP message header
Function code
Data
00 01 00 00 00 06 FF
10
9C 8E
00 01
Modbus device
continuous write
command
Communication protocol start
address
Number of successful write
hold register
Modbus TCP code: Modbus adapter write error response code.
MBAP message header
Function code
Data
00 01 00 00 00 03 FF
90
01
Modbus device
Function
code+0x80
Modbus TCP code: First indoor unit system Data 0x9C40 (40000), read command format.
MBAP message header
Function code
Data
00 01 00 00 00 06 FF
03
9C 40 00 45
Modbus device
continuous read
command
Communication protocol start address Number of read hold
register (69)
Modbus TCP code: Modbus adapter read response code.
MBAP message header
Function code
Data
00 01 00 00 00 8D FF
03
8A 00 52 00 41 00 53 00 2D 00 32 00 30 00 30 00 46 00 53 00
44 00 4E 00 59 00 32 00 51 00 20 00 08 00 EF…
Modbus device
continuous read
command
Number of read bytes Successfully read Data (69 register
Data,138bytes)
Modbus TCP code: Modbus adapter read error response code.
MBAP message header
Function code
Data
00 01 00 00 00 03 FF
83
01
Modbus device
Function
code+0x80
Note
●
When using Modbus TCP, if there’s no terminal resistance on the H-NET communication bus, please set
bit1 of DSW3 as ON, connect to terminal resistance, bit1 of DSW3 is defaulted as OFF.
4 Air Conditioner Monitoring