Touchpoint 4 Serial Communication Protocol Issue 1 09/07
Time diagram
Figure 1. Communication time diagram
Protocol Packet Denition
Packet Format
The format of packets using Touchpoint4 SERIAL COMMUNICATION PROTOCOL is as
follows:
Figure 2. Protocol packet format
Start Code Size:1byte.Always0x7F.
Slave Address Size: 1 byte.
Represents the Touchpoint4 gas detector controller address,
0X01to0X10(1to16decimal).
Length Size: 1 byte.
The number of bytes in the Command field and Data field.
The total packet length is 4 bytes larger than this.
Command Size: 1 byte.
Thisis0x30,0x40or0x41asdefinedintheremainderofthisbook.
Data Size:0-250byte(s).
This section varies according to the chosen command and may
be omitted.
Checksum Size: 1 byte
Thebit-wiseXORresultofallthepreviousbytesinthepacket.
ThismakestheXORoftheentirepacket0X00.
Start
Code
Slave
Address
Length Command Data Checksum
5