Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManul_EN
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd 27
Use the 06 function code to write a single Holding register, for example: set the working mode of DO1 to pulse
mode
After the above command is sent to the device through the 485 bus, the device will return the following values:
If the modification is successful, the 0x0578 register data is 0x0001, and the pulse output mode is turned on.
Use the 10 function code to write multiple holding register commands, for example: set the working mode of DO1
and DO2 at the same time.
Number of bytes of
written data
After the above command is sent to the device through the 485 bus, the device will return the following values:
If the modification is successful, the values of the two consecutive registers with 0x0578 as the starting address are
0x0001 and 0x0001 respectively to identify DO1 and DO2 to enable pulse output.