427-0016-00-10 Revision 120
Copyright © 2008 FLIR Systems, Inc. 28
9.0
SOFTWARE CONTROL FUNCTIONS
9.1 Software Interface Description
The Sensor software interface is accomplished across a single hardware communications channel.
This channel is factory selectable to be either RS-422 or RS-232. The channel baud rate is set at
2400k, 9600k. This channel carries command/status data for all three devices; IR Imager, visible
imager and the pan/tilt mechanism.
The RS-232 configuration is as follows:
Baud
Rate 9600
Data
Bits 8
Parity
None
Stop
Bits 1
Flow
Control
None
9.2 IR Imager
This section describes the structure of the commands of the IR imager on the PTZ-35 MS / PTZ-50
MS. Note that all data values are called out in hexadecimal. The command and response strings of
the IR imager interface are of variable length, ranging from 10 bytes to 32 bytes. The byte
descriptions are as follows:
Byte 1
Process Code
Byte 2
Status
Byte 3
Reserved
Byte 4
Function Code
Byte 5
Data Byte Count (MSB)
Byte 6
Data Byte Count (LSB)
Byte 7
CRC 1 (MSB)
Byte 8
CRC 1 (LSB)
Byte
Data Byte i (first byte)
…
{Variable, 0 to 22 data bytes total}
Byte
Data Byte j (last Byte)
Byte
n
CRC 2 (MSB)
Byte
n+1
CRC 2 (LSB)
where: n = 8 + Data Byte Count