485 TO ETH (B) User Manual
2 / 36 www.waveshare.com
CONTENTS
1. Overview
.................................................................................................................................
3
2. JSON simple example
.............................................................................................................
3
2.1. Modbus RTU to JSON
.......................................................................................................
3
2.2. Modbus table
....................................................................................................................
3
2.3. Device configuration
........................................................................................................
4
2.4. Create a new Modbus analog meter
............................................................................
10
3. JSON complex example
.......................................................................................................
11
3.1. Enable NTP
.....................................................................................................................
11
3.2. Nested JSON design
.......................................................................................................
11
3.3. Read the bits of the byte register
.................................................................................
13
3.4. 01 and 02 function codes
...............................................................................................
14
3.5. Show design results
.......................................................................................................
15
3.6. Excel editing
...................................................................................................................
16
3.7. Brackets and arrays
........................................................................................................
17
3.8. Cannot read and clear
....................................................................................................
21
3.9. Device offline
.................................................................................................................
22
3.10. Pan and zoom
...............................................................................................................
23
3.11. Data change reporting
.................................................................................................
23
3.12. JSON issuance
...............................................................................................................
24
3.13. 645 Timing of the agreement
......................................................................................
25
4. JSON to Modbus RTU
...........................................................................................................
26
5. MQTT
....................................................................................................................................
28
5.1. Device configuration
......................................................................................................
28
5.2. Data Test
.........................................................................................................................
33
6. MQTT+JSON to Modbus RTU
..............................................................................................
34
7. HTTP POST/GET+JSON
....................................................................................................
34