Windows Protocol - Agilent Technologies TwisTorr 305-ICQ User Manual

Table of Contents

Advertisement

Technical Information

Windows Protocol

The Windows Protocol is a MASTER/SLAVE type where:
Host = MASTER
Controller = SLAVE
The communication is performed in the following way:
1
the host (MASTER) send a MESSAGE + CRC to the controller (SLAVE);
2
the controller answer with an ANSWER + CRC to the host.
The MESSAGE is a string with the following format:
<STX>+<ADDR>+<WIN>+<COM>+<DATA>+<ETX>+<CRC>
Where:
When a data is indicated between two quotes ('...') it means that the indicated data
NOTE
is the corresponding ASCII character.
<STX> (Start of transmission) = 0x02
<ADDR> (Unit address) = 0x80 + device number (0 to 31)
<WIN> (Window) = a string of 3 numeric character indicating the window
number (from '000' to '999'); for the meaning of each window see the relevant
paragraph.
<COM> (Command) = 0x30 to read the window, 0x31 to write into the window
<DATA> = an alphanumeric ASCII string with the data to be written into the
window. In case of a reading command this field is not present.
The field length is variable according to the data type as per the following table:
Table 5
Data Type
Logic (L)
Numeric (N)
Alphanumeric (A)
<ETX> (End of transmission) = 0x03
Agilent TwisTorr 305-ICQ & 305-IC SF User Manual
Data type
Field Length
1
6
10
Valid Characters
'0' = OFF
'1' = ON
'-', '.', '0' . . . '9' right justified with '0'
from blank to '_' (ASCII)
253

Advertisement

Table of Contents
loading

Table of Contents