Modbus on RB
Last updated
Was this helpful?
Last updated
Was this helpful?
Step 1: Connect the A & B of energy meter to A & B pin in RuggedBoard RS485 port respectively.
Step 2: Download the modpoll ARM execulatble binary and save it into your work directory. To download the file click below.
Step 3: Save the following code in .sh
format on your working directory and name is as mbpoll.sh
Step 4: Run the above code to test ModBus communication
sh mbpoll.sh
If everything is correct your code will run without any error. and you can proceed to next stage.