Modbus
Prerequisites
Install Modbus Device Connectivity Service and register the service as System Admin.
ThingsPanel 1.0.0 Modbus Service Installation Guide
Access Steps
Create Modbus Gateway Device on Platform
- Create Gateway Device Template
- Create Device Template.

- In Protocol Configuration, select Modbus_RTU or Modbus_TCP.

- Create Device Template.
- Create Device, bind the Gateway Template created above.
- Go to
Device Connectivity->Device Management, clickAdd Deviceto create gateway device.
- Fill in Registration Packet info (Ensure consistency with Gateway or DTU config, and disable device heartbeat packet).

- Power on the device, you should see it online.
- Go to
Create Sub-device for Modbus Gateway
- Create Sub-device Template
- Create Device Template.

- In Protocol Configuration, select Modbus_RTU or Modbus_TCP. A config form will appear. Fill in config info as prompted.

- Create Device Template.
- Create Device, bind the Sub-device Template.
- Go to
Device Connectivity->Device Management, clickAdd Deviceto create sub-device.
- Set Heartbeat Time.

- Go to
- Bind Sub-device to Gateway
- Go to
Device Connectivity->Device Management, select the corresponding Gateway Device, choose Sub-device tab, click Add Sub-device, select the sub-device to add.
- Modify Sub-device Address (Slave Address).

- View Sub-device details. If configured correctly, the sub-device should report data normally.
- Go to
Operation Flowchart
Access Result
