Document toolboxDocument toolbox

Modbus Checklist

The terminology changed according to modbus.org. Unfortunately, this conversion has not yet been completed here.

Update to the newest stable Revolution Pi Image

https://kunbus-gmbh.atlassian.net/wiki/spaces/KS/pages/836468748

Update PiCtory to the newest version.

Modbus RTU

Set the timing of the action interval to 1000ms. This is the default value.
Check if the Extended Data in the Modbus RTU Master is set correctly.
Do the addresses and the access function fit to the slave?
Are there any empty data?

Modbus TCP

  • So far, there is no need for action here.

Client application

Check the status of the background daemons
sudo service pimodbus-master.service

Output

Fix

Output

Fix

Unit pimodbus-master.service.service could not be found.
sudo revpi-config enable pimodbus-master Created symlink /etc/systemd/system/multi-user.target.wants/pimodbus-master.service → /lib/systemd/system/pimodbus-master.service. 0

Server application

Check the status of the background daemons

Output

Fix

Output

Fix

Troubleshooting

Check if the Modbus Service is Running correctly by inspecting the log to see if the Modbus demon outputs errors

Output

Fix

Output

Fix

Check the PiCtory configuration

Check the “Extended Data” configuration