Chengdu Ebyte Electronic Technology Co.,Ltd. 【8DO】MA01 -XXCX0080 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
0x0003, or 9600;
0x0004, i.e. 19200;
0x0005, or 38400;
0x0006, or 57600;
0x0007, or 115200;
The default value is 0x0000,
which is no check.
0x0000, i.e. no checks;
0x0001, i.e. odd check;
0x0002, i.e. parity;
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
The number of output
coils read
When the above command is sent to the device via the 485 bus, the device returns the following values:
The number of bytes of
the data
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.
The register to read
quantity
When the above command is sent to the device via the 485 bus, the device returns the following values: