115
13.51 Pixel Size Request
Camera Control Command Type 1
Function
To return pixel size of CCD
Command
00ACh
Parameter
None
Length 2
byte
Status
Value 14h
(fixed)
Reference •To come out and return 14h because of using 1/4 inch CCD.
1/4 Numerator: first byte, Denominator: second byte.
Format of Control Code
d0 d1 d2 d3 d4 d5
Header
Device Num
Command
End mark
FFh 30h 3Xh 00h ACh EFh
Answer Format
In case of No Error
d0 d1 d2 d3 d4 d5 d6 d7
Header
Device Num
Error Code
pixel size ratio
End mark
FEh 30h 3Xh 30h 30h s0h s1h EFh
⇓
Pixel size ratio indicates in hexadecimal 2 figures and its ASCII code is Status value.
Example: s0
s1
1/4
⇒
14h
⇒
31h 34h
In case of Error
d0 d1 d2 d3 d4 d5
Header
Device Num
Error Code
End mark
FEh 30h 3Xh e0 e1 EFh
⇓
Error Flag indicates in 2 figures hexadecimal and returns ASCII code value.
Example: e0 e1
In case of Busy :
00010000B
⇒
10h
⇒
31h 30h
In case of Mode Error :
10010000B
⇒
90h
⇒
39h 30h
Condition of Error flag to be set
Busy
•In process of camera initializing operation by
Camera Reset
command, etc.
•In case of executing
Preset Move
command.
Mode Error
•Not in status of
Camera ON.
•Not in status of
Host Control Mode.