![Xenics Bobcat 320 Gated Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/xenics/bobcat-320-gated/bobcat-320-gated_user-manual_3256096023.webp)
User Manual
Bobcat 320 Gated
Company confidential.
This document is the property of Xenics. It may not be reproduced – completely or partially – or passed to a third
party without written permission from Xenics.
Xenics nv
T +32 16 38 99 00
Doc Ref: ENG-2012-UMN016
Ambachtenlaan 44
F +32 16 38 99 01
Issue: 002
BE-3001 Leuven
Belgium
www.xenics.com
Date: 09/11/2012
XF-104_02/20-01-2012
Page 23 of 34
5. Interface Protocols
This paragraph contains a description of the protocols and formats for the different
interfaces to the camera:
The serial command and control interface is routed through the Camera Link serial
interface. The protocol description consists of two parts: a generic message protocol
describing the message formats and a register/command model that contains a description
of the message contents.
5.1. Serial Message Protocol
This paragraph describes the message protocol over the serial Camera Link interface.
The camera is controlled via the serial control channel SerTFG and SerTC. The voltage
levels are compliant with the Camera Link standard. The Serial Data rate is 115.2 Kbaud.
The data bytes are transmitted with the least significant bit first.
Message can be sent in either the binary or text-based format:
•
The binary message format is intended for normal use in a final application: it is
more efficient, allows transfer of blocks of data and provides more security (see
chap.
5.1.1
).
•
The text-based format is intended for initial system set up and debug. Although
less efficient, they can be executed from a terminal and are human-readable (see
chap.
5.1.2
).
5.1.1.
Binary Messages
Binary messages are used for transferring large amounts of data (firmware updates,
calibration data, etc.) and secured with a CRC.
The binary message container is explained in
Table 5-1
.
Position
Contents
Size
Remarks
0
STX (0x02)
1
Start of message
1
Packet Tag
1
Can be used by sender to identify replies. The camera will copy
this Tag in its reply.
2
Message ID
1
See below for list of all IDs. (Read, write, … )
3
Payload length in
bytes
2
How many bytes in payload. Least significant byte is transmitted
first.
4
Payload
0 – 1024
Payload contents, depending on message ID
5
CRC
1
Calculated over: Packet Tag, Message ID, Payload length and
Payload
6
ETB (0x17)
1
End of message
Table 5-1 Binary message container