Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-XXAX0060_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd
24
The above 00 00 means that DO1 is in level output mode.
4. Operation holding register
Support operation of single register (06), operation of multiple registers (10) function code operation.
Use 06 function code to write a single holding register, for example: set the working mode of DO1 to pulse mode:
After sending the above command to the device through the 485 bus, the device will return the following values:
If the modification is successful, the data in the 0x0578 register is 0x0001, and the pulse output mode is turned on.
Use function code 10 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 sending the above command 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 starting with 0x0578 are 0x0001 and
0x0001 respectively, marking DO1 and DO2 to enable pulse output.