Vaddio Canon VC-C50i Programmers User Manual

Page 82

Advertising
background image

81

13.22 Zoom Position Maximum Request

Camera Control Command Type 1

Function

To return maximum value of zoom position.

Command

00B4h

Length

1 byte

Parameter

Value

3h

Length 4

byte

Status

Value 0000h~07A8h

Reference •To return movable max. value of zoom position.

Format of Control Code

d0 d1 d2 d3 d4

d5 d6

Header Device

Num

Command Parameter End

mark

FFh 30h 3Xh 00h B4h 33h EFh

Answer Format
In case of No Error

d0 d1 d2 d3 d4 d5 d6 d7 d8 d9

Header

Device Num

Error Code

Zoom Movable Max. Value

End mark

FEh

30h

3Xh

30h

30h s0 s1 s2 s3 EFh

Zoom maximum value indicates in hexadecimal 4 figures and its ASCII code is status
value.
Example: s0 s1 s2 s3
2142

⇒ 085Eh

⇒ 30h 38h 35h 45h

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.

Advertising