![SinoCon KonNaD C2000-A1-SDD1010-AB3 User Manual Download Page 26](http://html1.mh-extra.com/html/sinocon/konnad-c2000-a1-sdd1010-ab3/konnad-c2000-a1-sdd1010-ab3_user-manual_1283119026.webp)
0008
Length Field
2 Bytes, number of following bytes
FF
Unit ID
1 Byte, 0xFF = Master device
0F
Function Code
1 Byte, 0F = Write
0064
Starting Address
2 Bytes, address of the first register
0001
Quantity of Registers
2 Bytes, the number of required registers
01
Data Length
1 Byte, Data Length
01
Data
1 Byte, 01 indicates COM and NO is close
In the response from the device we get:
0x 000100000006FF0F00640001
Command
Field
Description
0001
Transaction ID
2 Bytes, identification of a Modbus Request/Response transaction
0000
Protocol ID
2 Bytes, 0000 = Modbus protocol
0006
Length Field
2 Bytes, number of following bytes
FF
Unit ID
1 Byte, 0xFF = Master device
0F
Function Code
1 Byte, 0F = Write
0064
Starting Address
2 Bytes, address of the first register
0001
Quantity of Registers
2 Bytes, the number of required registers
5.2.3. Write Single DO Status (0x05)
You can write 0 or 1 to the register, the value 0 indicates COM and NO are open, and the value 1 indicates COM
and NO are close.
Close DO1, the command is as follows:
0x000100000006FF050064FF00
Command
Field
Description
0001
Transaction ID
2 Bytes, identification of a Modbus Request/Response transaction
0000
Protocol ID
2 Bytes, 0000 = Modbus protocol
0006
Length Field
2 Bytes, number of following bytes
C2000-A1-SDD1010-AB3 User Manual
26 / 34
SinoCon Co., Ltd.
www.sinoconsys.com