How to simulate and use Modbus Industrial Communication Protocol under NetCore
This article introduces how to simulate and use Modbus industrial communication protocol under NetCore. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
Tips:
1. At present, the framework of communication with Modbus under NetCore mainly chooses Modbus.Net https://github.com/parallelbgls/Modbus.Net.
2. Modbus is a commonly used industrial communication protocol, which can be debugged through modbus poll+slave simulation communication during software debugging. The following picture shows me using the software.
1) as a serial port simulation tool
2) Modbus Slave simulation tool
3) for Modbus Poll simulation, modify the corresponding value value and send it to Slave
Invoke and test the code:
You can also use Modbus-TCP Client Tester to simulate the display, and you can write or read registers.
How to simulate and use Modbus industrial communication protocol under NetCore is shared here. I hope the above content can be of some help to everyone and can learn more knowledge. If you think the article is good, you can share it for more people to see.