MThings simulates master-slave debugging experience through virtual serial port

background

Learn how to use a MODBUS debugging tool to establish communication through RS485. (This article uses virtual serial port debugging)

ready

The virtual serial port tool, as shown in the following figure:
Insert picture description here
MODBUS debugging tool MThings (only one piece of software is needed to realize the simulation of the master and slave at the same time), as shown in the following figure:
Insert picture description here

start working

  1. The establishment of a virtual serial port
    You can download a serial port virtual tool from the Internet. This is relatively simple and not introduced one by one. My virtual serial ports are COM1 and COM2.

  2. Establish communication between master and slave through MThings
    **** Official download address of the software: http://www.gulink.cn/files/MThings.zip
    ****Open MThings, add COM1 as a slave and COM2 as a master ,As shown below
    Insert picture description here

    Insert picture description here

    ****It should be noted here that the communication configuration of the master and slave must be consistent
    Insert picture description here
    ****The link has been established, and the communication data of the
    Insert picture description here
    master and slave will be configured below. ****The data of the master and the slave must be configured below. The configured address and number are exactly the same.
    Insert picture description here
    Finally, let’s show the curve drawn by the communication data.
    Insert picture description here

end

Choosing a good tool is the beginning of your success, MThings deserves it!

Guess you like

Origin blog.csdn.net/weixin_48255293/article/details/109435266