首页
搜索
历史搜索
HOME > SERVICE > Problem > I/O

How to generate device instructions

2022-03-09 17:57:27| | 0

For Modbus instructions not in the product manual, they can be generated in the following two ways:

① . dam debugging software generation

Ø when using dam debugging software to generate instructions, there is no need to connect and communicate with the equipment, just open any serial port. Take the generation of relay flash off mode command as an example, as shown in the following figure:

97.png

Ø generate and read analog input instruction:

98.png

Ø if the current computer has no serial port number, you can install virtual serial port software to virtual a serial port.

Click to download virtual serial port software

② Calculation and generation, MODBUS CRC verification generation tool

Ø when using the Modbus CRC verification generation tool, you need to understand the byte meaning of Modbus instruction (hexadecimal). An example of single channel read instruction is as follows:

Modbus example instructionDevice address Function code Start register address Number of registers CRC check code
Do relay statusFE100 0000 01E9 C5
Di switching value inputFE200 0000 01AD C5
AI analog inputFE400 0000 0125 C5

Ø software generation instructions

99.png


联系销售
销售王经理微信 销售王经理
微信公众号 微信公众号
服务热线
400-6688-400