![background image](http://html1.mh-extra.com/html/cis/vcc-hd3n/vcc-hd3n_product-specification-and-operational-manual_2608678011.webp)
VCC-HD3N
Rev. 905-0160-01
©2018 CIS Corporation. All rights reserved.
11
10.
Serial Communication
10.1
Serial Communication Settings
Transmit Speed
:
9600bps
Data Length
:
8bit
Start bit :
1bit
Parity bit :
NO
Stop bit :
1bit
10.2
Command
Command
Parameter 1
Parameter 2
Function
GU
Command number
Usually “None”
Acquire the camera data
SU
Command number
Data 1, Data 2, …
Set the camera data
SAVE
None
None
Save the camera settings
INIT
None
None
Initialize the camera settings
There are several kinds of commands, GU (Get User) command to acquire the camera data, SU (Set User) command to set
the camera data, SAVE command to save the set data, and others.
・
Separate COMMAND and PARAMETER by a space.
・
Input COMMAND in capital letters.
・
Parameters with 0x are regarded as hexadecimal, the one with 0 are as octal, and the one as-is are as decimal to parse.
・
Numbers (0~9), decimal point, and alphabet other than hexadecimal (0~9, a~f) cannot be input.
・
Identifiable letters from the head are to be analyzed.
・
Command from the head to the linefeed code, [¥r]or[¥n], is to be regarded as one command to be analyzed.
・
The returned command from the PC will be received by the camera, and then echoed back. The line feed code when
echoing back shall be [¥r][¥n].
・
Command completion shall be judged with >[sp]
・
The next command shall be issued after completion of the prior command.
【
Example of Get Command
】
To get the information on the Command No.10
[Send] GU[sp]10[¥r]
[Returned value] GU[sp]10[¥r][¥n]
[Echo back]
[Returned value] 50[¥r][¥n] [Acquired Data + line feed]
[Returned value] [¥r] [¥n]
[Line feed]
[Returned value] >[sp]
[ space]
【
Example of Set Command
】
To set 30 to the Command No.10
[Send] SU[sp]10[sp]30[¥r]
[Returned value] SU[sp]10[sp]30[¥r][n] [Echo back]
[Returned value] [¥r] [¥n]
[Line feed]
[Returned value] >[sp]
[ Space]
[¥r]=CR(0x0D)
[¥n]=LF(0x0A)
[sp]=Space(0x20)