Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to simulate and use Modbus Industrial Communication Protocol under NetCore

Shulou Source: shulou.com Published: 2022-06-02 00:33:51 10月01日 Update

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.

Tags: Communications industry content tools more software help yes the following picture serial port code interest can be passed registers guys buddies commonly used articles frames purposes Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux Xiaomi Huawei Shulou Information