40348
1
DI1 ~ DI8
automatic
zeroing
RW
0: manual zeroing 1:
automatic zeroing
0x03,0x06,0x10
40349
2
DO1 ~ DO2
mode
RW
0: Level mode 1: Pulse
mode Other values
are invalid
0x03,0x06,0x10
40351
2
DO1 ~ DO2
pulse width
RW
The minimum value is 50,
i.e. the output pulse is
50ms; the maximum value
is 65535
0x03,0x06,0x10
When the device connects to the host computer, you can obtain the data of the device through the standard
Modbus Protocol. The Unit ID of the device is fixed as "FF" and the Unit ID of the cascading device is its RS485
address.
Take the case of acquisition 8 channels DI as an example. The command is as follows:
0x 000100000006FF0200C8000
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, FF = Master device
02
Function Code
1 Byte, 02 = Read
00C8
Starting Address
2 Bytes, address of the first register
0008
Quantity of Registers
2 Bytes, the number of required registers
Assume that short DI1 ~ DI4 to GND and the input voltage of the DI5 ~ DI8 is 12VDC. In the response from the
device we get:
0x000100000004FF0201FF
Command
Field
Description
0001
Transaction ID
2 Bytes, identification of a Modbus Request/Response transaction
C2000-A2-SDD8020-DD3 User Manual
25 / 33
SinoCon Co., Ltd.
www.sinoconsys.com