In this video I explain how to use NModbus to read and write values from Modbus holding registers.
This video follows the article “Modbus with C#” and should dissipate the doubts around setting up Modbus and using the functions provided. I’m using a modbus simulator and comport simulator, so it shouldn’t be difficult for you to reproduce the testing environment and get the application running.
In the video I’m using these softwares:
- com0com: to create a pair of connected COM ports without the need of the cable
- http://www.plcsimulator.org/: simulates a device with Modbus
- Free serial port monitor: to check the data-exchange in the selected COM ports.
Hello, great article thanks!
I want just to know if there is an other protocol of industrial communication open source like modbus .