U
SER
M
ANUAL
C
OLOR
–
R
EV
I
–
09/2016
P
A G E
|
18
6.2
Serial Protocol and Command Format
The Camera Link interface provides two LVDS signal pairs for communication between the camera and
the frame grabber. This is an asynchronous serial communication based on RS-232 protocol.
The serial line configuration is:
Full duplex/without handshaking
9600 bauds (default), 8-bit data, no parity bit, 1 stop bit. The baud rate can be set up to 115200
6.2.1
Syntax
Internal camera configurations are activated by write or readout commands.
The command syntax for write operation is:
w
<command_name> <command_parameters>
<CR>
The command syntax for readout operation is:
r
<command_name>
<CR>
6.2.2
Command Processing
Each command received by the camera is processed:
The setting is implemented (if valid)
The camera returns “>”<return code><CR>
The camera return code has to be received before sending a new command.
The camera return code has to be received before sending a new command. Some
commands are longer than the others : Waiting for the return code ensure a good
treatment of all the commands without saturating the buffer of the camera.
6.2.3
GenCP Compliance
The camera is compliant with the GenCP standard. It is also still compliant with ASCII command format :
Both types of commands are detailed in the next chapter.
GenCP requires a certain time for the command execution:
Maximum Device Response Time : This register gives the max time for the execution of any command.
Usually it’s set at a value lower than 300ms
If the execution time of the command is greater than 300ms, the camera sends a “pending
acknowledge” command which gives the duration of this command : It can’t be greater than 65536ms