No.11S031-03
25
STC-CL500E/CLC500E
Users guide Rev. 1.3
4.4
The camera control commands
4.4.1 The camera commands list
Note. 1: The data unit of the each command is 1byte (8bit).
Note. 2: The data can be saved to the EEPROM if “x” in the “Save to EEPROM” column in the list.
Note. 3: The camera is operating with the data of the EEPROM when the power on the camera.
Command
Read / Write Save to
Function
Initial data
Data
No.
EEPROM
range
00 to 0BH
Reserved
-
-
0CH
Read / Write
x
The signals of the power/IO connector at power on (8bit: D[7..0])
0D to 0FH
Reserved
-
-
10H
Read / Write
x
The camera function mode 1 (8bit: D[7..0])
9
11H
Read / Write
x
The camera function mode 2 (8bit: D[7..0])
0
12H
Read / Write
x
The camera function mode 3 (8bit: D[7..0])
0
13H
Reserved
-
-
14H
Read / Write
x
The communication mode (8bit: D[7..0])
1
15 to1FH
Reserved
-
-
20H
Read / Write
x
The exposure time (H) of the electronic shutter (16bit: D[7..0])
0
0 to 4095
21H
Read / Write
x
The exposure time (H) of the electronic shutter (16bit: D[15..8])
22H
Read / Write
x
The exposure time (CLK) of the electronic shutter (16bit: D[7..0])
0
0 to 1919
23H
Read / Write
x
The exposure time (CLK) of the electronic shutter (16bit: D[15..8])
24H
Read / Write
x
The start line of the variable partial scanning (16bit: D[7..0])
0
0 to 1235
25H
Read / Write
x
The start line of the variable partial scanning (16bit: D[15..8])
26H
Read / Write
x
The effective lines of the variable partial scanning (16bit: D[7..0])
1236
0 to 1236
27H
Read / Write
x
The effective lines of the variable partial scanning (16bit: D[15..8])
28H
Read / Write
x
The delay time for the trigger (8bit: D[7..0])
0
0 to 255
29 - 2FH
Reserved
-
-
30H
Read / Write
x
CDS gin (8bit: D[7..0])
0
0 to 255
31H
Read / Write
x
The digital gain (8bit: D[7..0])
The factory
0 to 255
adjusted value
32H
Read / Write
x
The gain offset (8bit: D[7..0])
The factory
0 to 255
adjusted value
33 to 37H
Reserved
-
-
38H
Read / Write
x
The clamp level (8bit: D[7..0])
4
0 to 31
39 to 67H
Reserved
-
-
68H
Read / Write
x
Digital clamp (8bit: D[7..0])
69H
Reserved
-
-
6AH
Read / Write
x
Manual digital clamp (Left) (16bit: D[7..0])
0
0 to 1023
6BH
Read / Write
x
Manual digital clamp (Left) (16bit: D[15..8])
6CH
Read / Write
x
Manual digital clamp (Right) (16bit: D[7..0])
0
0 to 1023
6DH
Read / Write
x
Manual digital clamp (Right) (16bit: D[15..8])
6E to 77H
Reserved
-
-
78H
Read / Write
x
Test pattern selection (8bit: D[7..0])
0
79H
Read / Write
x
Image effect selection (8bit: D[7..0])
0
7A to 7FH
Reserved
-
-
80H
Read / Write
EEPROM control (8bit: D[7..0])
81 to EFH
Reserved
-
-
F0H
Read / Write
The signals of the power/IO connector (8bit: D[7..0])
F1 to FFH
Reserved
-
-