Programmers User Manual

42
12.18 Tilt Angle Pulse Ratio Request Pedestal Control Command Type 1
Function To return the coefficient to convert parameter value using Tilt angle (position)
and Tilt speed commands to angle unit.
Command 005Bh
Length 1 byte Parameter
Value 1h
Length 4 byte Status
Value 11250 (2BF2h)
Reference •To return integral value multiplied 100000 to the conversion coefficient of
true Tilt angle. In case of angle conversion, divide it by 100000.
Example below,
Status value /100000 = 11250 /100000 = 0.1125
Note: The parameter of 12.2 Tilt Speed Assignment command can be
converted as under.
Tilt speed = 622 PPS = 622 × 0.1125 70 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 31h 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.