No.19S019-01
1
21
STC-APB503PCL / STC-APC503PCL
Product Specifications and Use’s Guide
9.4
Camera control commands
9.4.1
Camera control commands list
Note. 1: The data unit of each command is 1 byte (8bits).
Note. 2: The data can be saved to the EEPROM if “X” in the “EEPROM” column in the list.
Note. 3: The camera is operating with the data of the EEPROM when the power on the camera.
(*1) Only available for the color model
Command
No.
R/W
EEPROM Function
Default Data
Data Range
00 - 0FH
Reserved
-
-
10H
R/W
X
Camera function mode 1 (8bits: D[7..0])
01H
11H
R/W
X
Camera function mode 2 (8bits: D[7..0])
08H
12H
R/W
X
Camera function mode 3 (8bits: D[7..0])
40H
13H
Reserved
-
-
14H
R/W
X
Communication mode (8bits: D[7..0])
01H
15 - 1FH
Reserved
-
-
20H
R/W
X
Exposure time of electronic shutter (24bits: D[7..0])
0
0 to 16,777,215
21H
R/W
X
Exposure time of electronic shutter (24bits: D[15..8])
22H
R/W
X
Exposure time of electronic shutter (24bits: D[23..16])
23 - 27H
Reserved
-
-
28H
R/W
X
Delay time for trigger signal (8bits: D[7..0])
0
0 to 255
29 - 2FH
Reserved
-
-
30H
R/W
X
Analog gain (8bits: D[7..0])
0
0 to 180
31H
R/W
X
Digital gain (8bits: D[7..0])
0
0 to 240
32H
R/W
X
Offset gain (8bits: D[7..0])
Factory adjusted
value
0 to 60
33 - 37H
Reserved
-
-
38H
R/W
X
Clamp level (8bits: D[7..0])
40
0 to 255
39H
Reserved
-
-
3AH
R/W
X
White Balance R gain (15bits: D[7..0]) (*1)
0
0 to 255
3BH
R/W
X
White Balance B gain (15bits: D[7..0]) (*1)
0
0 to 255
3CH
R/W
X
White Balance GR gain (15bits: D[7..0]) (*1)
0
0 to 255
3DH
R/W
X
White Balance GB gain (15bits: D[7..0]) (*1)
0
0 to 255
3EH
R/W
X
Test pattern level (12bits: D[7..0])
1,023
0 to 4,095
3FH
R/W
X
Test pattern level (12bits: D[11..8])
3E - 77H
Reserved
-
-
78H
R/W
X
Test Pattern (3bits: D[2..0])
0
0 to 7
79 - 7FH
Reserved
-
-
80H
R/W
X
EEPROM control (8bits: D[7..0])
00H
81 - 8FH
Reserved
-
-
90H
R/W
X
Vertical ROI_A Start line (16bits: D[7..0])
54
0 to 2,004
91H
R/W
X
Vertical ROI_A Start line (16bits: D[15..8])
92 - 9FH
Reserved
-
-
A0H
R/W
X
Vertical ROI_A Effective lines (16bits: D[7..0])
1,944
1 to 2,005
A1H
R/W
X
Vertical ROI_A Effective lines (16bits: D[15..8])
A2 - AFH
Reserved
-
-