Programmers User Manual

77
13.18 Zoom Position 2 Assignment Camera Control Command Type 2
Function To move to zoom position assigned.
Command 00B3h
Length 4 byte
Min. Value: 0000h (Wide End)
Parameter
Range
Max. Value: 07A8h (Tele End)
Status None
Reference •To assign zoom position in effective value.
Flags in Zooming of Operation Status Request comes out 1. Zooming
will stop after moving assigned position and Flag in Zooming comes 0.
•To stop zooming by Zoom Stop command and Flag in Zooming comes
out zero.
•To return notification at the moment of setting command termination
notification after reaching to assigned position. But not to return
notification, when zooming stops by Zoom Stop command before
reaching assigned position.
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 B3h p0 p1 p2 p3 EFh
Zoom position indicates in hexadecimal 4 figures 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 zooming operation.
•In process of focus operation by manual.
•In case of executing Preset Move command.
Parameter Error •In case of assigned parameter over value to upper.
Mode Error •Not in status of Camera ON.
•Not in status of Host Control Mode.