HRX-OM-Y120
Chapter 3 Serial communication
HRL Series
3.13
Register Map
3-25
■
Communication example
○
When reading the
ambient temperature
to the data display 1
○
Slave Address
:
No.1
○
Function code 6 : Write one data to 0043 h
(Set ambient temperature to data instruction 1.)
Request message 010600430001
Field name
Example
(HEX)
ASCII mode
character data
RTU mode
binary data
Header
-
“
:
”
None
Slave Address
0x01
“0”,“1”
0x01
Function
0x06
“0”,“6”
0x06
Address of the specified register
0x0043
“0”,“0”,“4”,“3”
0x00,0x43
Information written to 0043h
(Data instruction)
0x0001
“0”,“0”,“0”,“1”
0x00,0x01
Checksum ASCII:LRC RTU:CRC
-
“B”,”5”
0xB9,0xDE
Trailer
-
CR/LF
None
-
Total
quantity of byte
17
8
Response message 010600430001
Field name
Example
(HEX)
ASCII mode
character data
RTU mode
binary data
Header
-
“
:
”
None
Slave Address
0x01
“0”,“1”
0x01
Function
0x06
“0”,“6”
0x06
Address of register to write
0x0043
“0”,“0”,”4”,”3”
0x00,0x43
Information of register to write
0x0001
“0”,“0”,“0”,“1”
0x00,0x01
Checksum ASCII:LRC RTU:CRC
-
“B”,“5”
0xB9,0xDE
Trailer
-
CR/LF
None
-
Total
quantity of byte
17
8
Содержание HRL100-A*-20 Series
Страница 6: ...HRX OM Y120 Contents HRL Series ...
Страница 74: ...HRX OM Y120 Chapter 5 Ethernet Modbus TCP communication 5 12 Register Map HRL Series 5 18 ...
Страница 75: ......