Vaddio Canon VC-C50i Programmers User Manual

Page 28

Advertising
background image

27

12.3 Pan Speed Request

Pedestal Control Command Type 1

Function

To request the running speed of Pan direction.

Command 0052h

Length 1

byte

Parameter

Value 0h
Length 3

byte

Status

Range 8~800

(008h~320h)

Reference •1 LSB of status value is equal to 0.1125 degree/s.

Format of Control Code

d0 d1 d2 d3 d4 d5 d6

Header Device

Num

Command Parameter End

mark

FFh 30h 3Xh 00h 52h 30h EFh

Answer Format
In case of No Error

d0 d1 d2 d3 d4 d5 d6 d7 d8

Header

Device Num

Error Code

Status

End mark

FEh 30h 3Xh 30h 30h s0 s1 s2 EFh

The running speed indicates in 3 figures hexadecimal, and its ASCII code treats
as status.
Example: s0 s1 s2
150

⇒ 096h ⇒ 30h 39h 36h

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 Parameter Error :

01010000B

⇒ 50h ⇒ 35h 30h

In case of Mode Error :

10010000B

⇒ 90h ⇒ 39h 30h

Condition of Error flag to be set

Parameter Error •Assign illegal parameters.
Mode Error

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

Advertising