Vaddio Canon VC-C50i Programmers User Manual

Page 42

Advertising
background image

41

12.17 Pan Angle Pulse Ratio Request

Pedestal Control Command Type 1

Function

To return the coefficient to convert parameter value using Pan angle (position)
and Pan speed commands to angle unit.

Command 005Bh

Length 1

byte

Parameter

Value 0h
Length 4

byte

Status

Value 11250

(2BF2h)

Reference •To return integral value multiplied 100000 to the conversion coefficient of

true Pan angle. In case of angle conversion, divide it by 100000.
Example below,

Status value /100000 = 11250 /100000 = 0.1125


Note: The parameter of 12.1 Pan Speed Assignment command can be

converted as under.

Pan speed = 800PPS = 800

×

0.1125 = 90 degrees/s

Format of Control Code

d0 d1 d2 d3 d4 d5 d6

Header Device

Num

Command Parameter End

mark

FFh 30h 3Xh 00h 5Bh 30h EFh

Answer Format
In case of No Error

d0 d1 d2 d3 d4 d5 d6 d7 d8 d9

Header

Device Num

Error Code

Status

End mark

FEh 30h 3Xh 30h 30h 32h 42h 46h 32h EFh

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