Programmers User Manual

75
13.16 Zoom Position 1 Assignment Camera Control Command Type 2
Function To move to zoom position assigned.
Command 00A3h
Length 2 byte Parameter
Range 00h (Wide End)~80h (Tele End)
Status None
Reference •To assign zoom position by pre-assigned step value, within movable range.
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
Header Device Num Command Parameter End mark
FFh 30h 3Xh 00h A3h p0 p1 EFh
Zoom position indicates in hexadecimal 2 figures and parameter value is its ASCII code.
Example: p0 p1
64 40h 34h 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 and lower.
Mode Error •Not in status of Camera ON.
•Not in status of Host Control Mode.