Command Frame And Response Format - Basler A102K User Manual

Hide thumbs Also See for A102K:
Table of Contents

Advertisement

4.2.1 Command Frame and Response Format

Figure 4-1: Representation of a Command Frame and Response
STX
Identifies the start of the frame text
Size = 1 Byte
(The value of the STX byte is always 0x02)
DESC
Descriptor
Size = 2 Bytes
The bits in the descriptor are assigned as follows:
The MSB of the descriptor is on the left (highest bit of the command ID) and the LSB of
the descriptor is on the right (lowest bit of the data length).
DATA
Data field
Size = Number of bytes indicated in the Data Length portion of the descriptor.
BCC
Block check character
Size = 1 Byte
The block check character is the exclusive-or sum (XOR sum) of the bytes in the
descriptor field and the data field.
ETX
Identifies the end of the frame text
Size = 1 Byte
(The value of the ETX byte is always 0x03)
k
BASLER A102
8 bits
Command ID
( 0 = write, 1 = read )
DRAFT
1 bit
Read/Write Flag
Configuring the Camera
7 bits
Data Length
(in Bytes)
4-5

Advertisement

Table of Contents
loading

Table of Contents