- Home
- Domestic appliances
- Climate control
- Temperature & humidity sensors
- RKC INSTRUMENT
- SA200
- User manual
advertisement
5. MODBUS COMMUNICATION PROTOCOL
5.6.2 Preset single register [06H]
The query message specifies data to be written into the designated holding register. The write data is arranged in the query message with high-order 8 bits first and low-order 8 bits next. Only R/W holding registers can be specified.
Example: Data is written into the holding register 0010H of slave address 1.
Query message
Slave address
Function code
Holding register number
Write data
CRC-16
High
Low
High
Low
High
Low
01H
06H
00H
10H
01H
02H
08H
5EH
Any data within the range
Normal response message
Slave address
Function code
Holding register number
Write data
CRC-16
High
Low
High
Low
High
Low
Error response message
Slave address
80H + Function code
Error code
CRC-16 High
Low
01H
86H
02H
C3H
A1H
01H
06H
00H
10H
01H
02H
08H
5EH
Contents will be the same as query message data.
36
IMR01D02-E3
advertisement
Related manuals
advertisement
Table of contents
- 7 1. SPECIFICATIONS
- 9 2. WIRING
- 11 3. SETTING
- 11 3.1 Communication Setting Mode
- 12 3.2 Setting the Communication Parameters
- 13 3.3 Device Address/Slave Address Setting
- 15 3.4 Communication Speed Setting
- 17 3.5 Data Configuration Setting
- 19 3.6 Interval Time Setting
- 20 3.7 Communication Requirements
- 23 4. RKC COMMUNICATION PROTOCOL
- 23 4.1 Polling
- 24 4.1.1 Polling procedures
- 27 4.1.2 Polling procedure example
- 28 4.2 Selecting
- 28 4.2.1 Selecting procedures
- 31 4.2.2 Selecting procedure example
- 32 4.3 Communication Identifier List
- 36 5. MODBUS COMMUNICATION PROTOCOL
- 36 5.1 Message Format
- 37 5.2 Function Code
- 37 5.3 Communication Mode
- 38 5.4 Slave Response
- 39 5.5 Calculating CRC
- 41 5.6 Message Format
- 41 5.6.1 Reading holding registers [03H]
- 42 5.6.2 Preset single resister [06H]
- 43 5.6.3 Diagnostics (loopback test) [08H]
- 44 5.7 Data Configuration
- 44 5.7.1 Data range
- 45 5.7.2 Data processing precautions
- 46 5.8 Communication Data List
- 50 6. INPUT RANGE TABLES
- 54 7. TROUBLESHOOTING
- 57 8. ASCII 7-BIT CODE TABLE