Programmers User Manual

66
13.7 Focus Position Assignment Camera Control Command Type 2
Function To move focus position assigned.
Command 00B0h
Length 4 byte Parameter
Range Within the range to be returned by Focus Range Request
Status None
Reference •In case of Auto Focus mode, cancel AF mode and set manual mode.
Flags in Focusing of Operation Status Request and Manual Focus come
out 1 and when focus stops after moving assigned point, flag in focusing
comes out zero.
•By Focus Manual command, stop focusing, and flag in focusing comes out
zero.
•Return notification at the moment of reaching to assigned point, when
command termination notification ON is to be set. But not return
notification, in case of stopping Focus by Manual command before
reaching assigned point.
Format of Control Code
d0 d1 d2 d3 d4 d5 d6 d7 d8 d9
Header Device Num Command Parameter End mark
FFh 30h 3Xh 00h B0h p0 p1 p2 p3 EFh
Focus position indicates in 4 figures hexadecimal and its ASCII code is
Parameter value.
Example: p0 p1 p2 p3
256 0100h 30h 31h 30h 30h
Answer Format
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 No Error : 00000000B 00h 30h 30h
In case of Busy : 00010000B 10h 31h 30h
In case of Parameter Error : 01010000B 50h 35h 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 process of focus operation by manual.
•In process of One Push AF operation.
•In process of zooming operation.
•In case of executing Preset Move command.
Parameter Error •In case of assigned parameter over value to upper and lower.
Mode Error •Not in status of Camera ON.
•Not in status of Host Control Mode.