YO Modbus
User guide
v2.1
page 21/33
Configuration node via Yosensi Management platform
Connect to the device following these instructions:
1. Go to
and log in.
2. You’ll see the dashboard organization view. Now go to the Application section in the sidebar.
3. After selecting the application, locate and select the device by looking for the DEV EUI on the
device label that matches the NODE ID in the list.
4. Select the Firmware section. For the configuration of the device you can see three different
buttons:
●
Configure - here, you can change and upload the device parameters.
●
Update firmware – here, you can update the firmware to version 3.4.0 and newer.
●
Recover device - this section recovers the firmware of the device. This button helps if
you lose connection while uploading firmware.
5. Once the configure button has been selected and the node has been connected, the next step
is to configure the parameters. It is necessary to follow the communication Modbus RTU
protocol and the variables given in the datasheet. This depends on which parameters you
want to read from the slave device.
6. There are two options to configure the device. First recommended is “form based editor”,
second is “text editor”. To add queries and responses to the slave, you can refer to the
configuration file and images given below. It is possible to add up to 150 queries, make sure
that each query is separate. YO Modbus can send 30 LoRa packets, that means in each poll
you can create 30
cnt
(counter parameter) with 5
out
variables with the name of configured
queries. Example
pollstosend
parameters are also given in the configuration file. Remember
that for each packet counter you can send up to 5 different variable responses from slaves.
Below is a guide to configuration of the YO Modbus device with an example slave device.
First let's look at sample variables of Modbus Communication Protocol. We will add a query and
response of Phase 1 : phase voltage and (register 0x1000) and run hour meter (register 0x1026).
First case is shown how to make queries and poll to send with one LoRa packet. In the second
example it is shown with sending 2 LoRa packets.
Figure 12
Example variables of the Modbus communication protocol. Source