Touchpoint 4 Serial Communication Protocol Issue 1 09/07
Protocol Command Denition
Handshake command – 0x40
This is used to test for communication between the master and the specified slave.
Command packet to instrument:
Commandcode: 0x40
Data field: null
Checksum: 1 byte
Example:
Ifthemasterwantstotestthecommunicationwiththeaddressed01instrument,it
should send out:
0x7f0x010x010x400x3f.
Response packet from instrument:
Commandcode: 0x40
ACKcode: 0x01
Checksum: 1 byte
Example:
Theaddressed01instrumentreceivesthehandshakecommandandresponses:
0x7f0x010x020x400x010x3d.
Get unit and points status - 0x30
This command requests the instrument date, time, alarm status, fault status and up-to-
four channel(s) status.
Command packet to instrument:
Commandcode: 0x30
Data field: null
Checksum: 1 byte
Example:
0x7f0x010x010x300x4fmeansthemasterrequeststhestatusofthe
instrument whose address is 1.
Response packet from instrument:
Commandcode: 0x30
Date field:
Date: 2 bytes
Time: 2 bytes
Unit alarm status: 1 byte
0x00: noalarm
0x01: A1alarm
0x02: A2alarm
0x03: A1andA2alarm
8