70
13.10 Focus Range Request
Camera Control Command Type 1
Function
To return movable range of focus.
Command 00B1h
Length 1
byte
Parameter
Value 2h
Length 8
byte
Status
Range
Change according to zoom position.
Reference
Format of Control Code
d0 d1 d2 d3 d4 d5 d6
Header
Device Num
Command
Parameter End mark
FFh 30h 3Xh 00h B1h 32h EFh
Answer Format
In case of No Error
d0 d1 d2 d3 d4
Header
Device Num
Error Code
FEh 30h 3Xh 30h 30h
d5 d6
d13
d7 d8 d9 d10 d11
d12
Minimum Movable value
Maximum Movable value
End mark
s0 s1 s2 s3 s4 s5 s6 s7 EFh
⇓
Movable Range indicates in hexadecimal 8 figures and its ASCII is status value.
Example:
Movable
Min.
Value s0 s1 s2 s3
256
⇒
0100h
⇒
30h 31h 30h 30h
Movable
Max.
Value s4 s5 s6 s7
512
⇒
0200h
⇒
30h 32h 30h 30h
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.