ICP DAS, ZT-2005-C8 User Manual, Version v1.0.1 Page 18
Copyright © 2014 by ICP DAS Co., Ltd. All Rights Reserved.
5
The DCON/Modbus RTU Command Sets
5.1
Communication with the ZT-2005-C8 module
ZT-2005-C8 module can be operated using either the DCON or the Modbus RTU
protocol, which can be selected by adjusting the position of DIP Switch 2 to OFF (DCON)
or ON (Modbus RTU) and then rebooting the ZT-2005-C8 to use the new protocol.
5.2
The DCON Protocol Command Set
The ZT-2005-C8 are controlled via wireless broadcast commands, so each device
must have a unique address (or Node ID) that is saved in the EEPROM of the device.
Consequently, all command and response formats contain the address of the
destination module. When an I/O device receives a command, it will determine whether
or not to respond based on the address contained in the command.
DCON Command Format:
Leading
Character
Module
Address
Command [CheckSum]
CR
DCON Response Format:
Leading
Character
Module
Address
Data
[CheckSum]
CR
※
Note:
‘CR’
(0x0D) is the end of command (carriage return) character used to end a
frame, and all characters should be expressed in capital letters.