![Ebyte 8DO User Manual Download Page 32](http://html1.mh-extra.com/html/ebyte/8do/8do_user-manual_3836022032.webp)
Chengdu Ebyte Electronic Technology Co.,Ltd.
【
8DO
】
MA01 -XXCX0080 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
31
0x0003, or 9600;
0x0004, i.e. 19200;
0x0005, or 38400;
0x0006, or 57600;
0x0007, or 115200;
(42102)0x0836
1
The way to check
RW
The default value is 0x0000,
which is
no
check.
0x0000, i.e. no checks;
0x0001, i.e. odd check;
0x0002, i.e. parity;
0x03
、
0x06
、
0x10
7.2 Instruction format (partial).
7.2.1 Read DO output coil status
Use the 01 function code to read the output coil status, for example, read the two output coil states
20
01
00 00
00 02
XX XX
Device Modbus
address
The function
code
Register start address
The number of output
coils read
CRC check code
When the above command is sent to the device via the 485 bus, the device returns the following values:
20
01
01
02
XX XX
Device Modbus
address
The function
code
The number of bytes of
the data
The status data returned
CRC check code
The status data returned above 02 indicates that the output DO2 on .
7.2.2 Read Hold Register
Use the 03 function code to read one or more register values, for example, read DO1 operating mode.
20
03
05 78
00 01
XX XX
Device Modbus
address
The function
code
Register start address
The register to read
quantity
CRC check code
When the above command is sent to the device via the 485 bus, the device returns the following values:
20
03
02
00 00
XX XX
Summary of Contents for 8DO
Page 1: ...1 8DO MA01 XXCX0080...