VCC-SXCL3R
Rev.
905-0046-00
©2016 CIS Corporation. All rights reserved.
17
8.
Serial Communication Function
The camera can be controlled externally via Camera Link serial communication function.
(1)
The settings for RS232C
Baud rate
:
115200bps or 9600bps
Data
:
8bit
Stop bit
:
1bit
Parity
:
None
XON/XOFF
:
None
(2)
Control code
・
The control code is ASCII code.
・
The control code consists of command, parameter and CR (0x0d) or LF (0x0a). The Camera setting
data (including changes made) can be obtained by executing the command from PC to the Camera.
(3)
How to set a Command
{Command Name} {Parameter 1} {Parameter 2} {Parameter 3}…
・
Input {Parameter n}
With hexadecimal notation.
Start inputting with “0x” or “0X”.
Case-insensitive
(Either a
~
f or A
~
F can be input).
Input range: 0x0000
~
0xFFFF
With decimal notation.
Only “0”
~
“9” can be input.
Input range: 0
~
65535
・
At initialization, Prompt “>” is indicated after command is processed.
・
Input command in capital letters following to the Prompt.
・
Letters can be input up to 80 characters.
・
Separate between a command and a parameter by one space.
・
From the head of input character to the linefeed code CR (0x0d) or LF (0x0a) is analyzed as one command.
・
Refer to the Section 5., Function Settings, for the detailed settings of address and data.
・
The command from the PC will be received by the camera, and then echoed back.
Command
Parameter 1
Parameter 2
~
7
Function
GU
Address
not used
Obtain a setting data
SU
Address
Data
Change a camera setting
SRST
not used
not used
REST the sensor
(Refer to Section 7.5.
②
)
INIT
not used
not used
Return to the initial setting
SAVE
not used
not used
Save the settings to EEP-ROM
GSI
not used
Data
Camera information received
Data 1: Model name