32
Camera Control Command
Camera Control Command
It is recommended that you make a test under the
condition you will operate the camera before using the
camera actually.
Overview
The XC-HR90 (Black and White Video
Camera Module) can be controlled externally using
serial communication.
Serial Communication
Specifications
The serial communication system for the camera is an
asynchronous method compliant with the RS-232C
standard. The following table shows the transmission
control specifications.
Command inputs are echoed back.
Baud rate
115200/4800 [bps]
Default setting: 38400[bps]
Data bits
8
Parity
None
Stop bit
1
Flow control
None
Command Format
To input (send) a command, delimit a command name
and parameters with spaces, and press the Carriage
Return (CR) key.
The following shows the input format and an example:
<Input format> command param1 param2 [CR]
<Input example> PARTIAL 1 <CR>
Input characters are case-insensitive.
Use hexadecimal numbers for parameters.
Command Input and Response
When the camera receives commands from the host, it
returns a response after each command is processed.
Input commands are echoed back.
Note
To input multiple commands in sequence, input a
command after the previous command returns its
response.
Command response messages are as follows:
OK : normal
Error : syntax error
Error : status error
■
When command execution is completed normally,
“OK[CR]” is returned.
Example:
<Input> PARTIAL 1 <CR>
<Output on screen> OK[CR]
■
If command execution is terminated abnormally,
“Error[CR]” is returned.
■
When no parameter is input for a command
requiring parameters, the current parameters of the
command are returned.
Example:
<Input> PARTIAL<CR>
<Output on screen> 1[CR]
■
If an input value is out of parameter range or an
invalid command name is input, the command is
invalid and “Error[CR]” is returned.
<Input> PARTIAL 5<CR>
<Output on screen> Error [CR]