Vaddio Canon VC-C50i Programmers User Manual

Page 80

Advertising
background image

79

13.20 Zoom Speed Assignment

Camera Control Command Type 1

Function

To assign zooming speed.

Command

00B4h

Length

2 byte, including "31h" (fixed value)

Parameter

Range

0~7

Status

None

Reference •Speed set by this command is reflected in Zoom Wide, Zoom Tele, Zoom

Position Assignment and Preset Move.
•Default value is 7.

Format of Control Code

d0 d1 d2 d3 d4 d5 d6 d7

Header Device

Num

Command

Parameter

End

mark

FFh 30h 3Xh 00h B4h 31h p1

EFh

Zoom speed indicates in hexadecimal 1 figure and parameter value is its ASCII code.
Example: p0

4

⇒ 4h ⇒

34h

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 case of executing Preset Move command.

Parameter Error •In case of out of range of assigned parameter.
Mode Error

•Not in status of Camera ON.
•Not in status of Host Control Mode.

Advertising