Waveshare RS485 TO ETH Manual page 12

Hide thumbs Also See for RS485 TO ETH:
Table of Contents

Advertisement

485 TO ETH (B) User Manual
"Value":2345
}
The design steps are as follows:
1. The keyword in step 1. is "header", then select "JSON Nesting" as the source, and then
click the "Design Nested JSON" button.
2. Enter step 1.1, here design "DEVID": "285301020304", enter the keyword as DEVID, select
"Device ID" as the source, and click "Design next".
3. Enter step 1.2, here design "time": "2019-05-13 22:23:31", enter the key word as time,
select "current time" as the source, it should be
been designed Finished, but you still need to click "Design Next". After entering step 1.3,
click "Return to the previous level". This 1.3 step will be automatically abandoned.
4. Go to step 2. Enter the keyword data here, then select "JSON Nesting" as the source, and
then click the "Design Nested JSON" button.
5. Go to step 2.1, here design "id": "MyData123456", enter the keyword id, select the source
as a fixed string, then enter "MyData123456" in the fixed string box, and click "Design
next".
6. Go to step 2.2, enter the keyword alarm here, select "JSON Nesting" as the source, and
then click the "Design Nested JSON" button.
7. Enter step 2.2.1 to design "alarm1": 123.4C, this is a Modbus data with unit, the function
code is 3, the register is 0, then the design is shown in the figure:
noted
that although the first level has
Figure 8 Register design
12 / 36
www.waveshare.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents