EasyManuals Logo
Home>Ebyte>Modem>8DO

Ebyte 8DO User Manual

Ebyte 8DO
35 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Chengdu Ebyte Electronic Technology Co.,Ltd. 8DOMA01 -XXCX0080 User Manual
Copyright ©2012–2021Chengdu Ebyte Electronic Technology Co.,Ltd.
32
Device Modbus
address
The function
code
The number of bytes of the
data
The data returned
CRC check code
The above 00 00 indicates that DO1 is level mode.
7.2.3 Write a single hold register
Write a single hold register using the 06 function code, for example, set the operating mode of DO1 to pulse mode
20
06
05 78
00 01
XX XX
Device Modbus
address
The function
code
Register address
Write the value
CRC check code
When the above command is sent to the device via the 485 bus, the device returns the following values:
20
06
05 78
00 01
XX XX
Device Modbus
address
The function
code
Register address
Write the value
CRC check code
If the modification is successful, the 0x0578 register data is 0x0001.
7.2.4 Write multiple hold registers
Write multiple hold register commands using 10 function codes, for example, set the do1-DO4 operating mode at the
sametime.
20
10
05 78
00 04
08
0001 0002
XX XX
Device Modbus
address
The function
code
Register
start address
The number
of registers
The number
of bytes
written to
the data
The data
written
CRC check
code
When the above command is sent to the device via the 485 bus, the device returns the following values:
20
10
05 78
00 04
XX XX
Device Modbus
address
The function
code
Register
address
The number of registers
CRC check
code
If the modification is successful, the values of thefour consecutive registers with 0x 0578 as the starting address are 0
x0001, 0x0002, 0x0003, 0x0000.
7.2.5 Write a single DO coil status
Use the 05 command to write a single command, for example, to set do1 to pulse mode

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ebyte 8DO and is the answer not in the manual?

Ebyte 8DO Specifications

General IconGeneral
BrandEbyte
Model8DO
CategoryModem
LanguageEnglish

Related product manuals