Programmers User Manual

51
Format of Control Code
d0 d1 d2 d3 d4
Header Device Num Command
FFh 30h 3Xh 00h 62h
d5 d6 d7 d8 d9 d10 d11 d12 d13
Pan Angle Parameter Tilt Angle Parameter End mark
p0 p1 p2 p3 p4 p5 p6 p7 EFh
Running speed indicates hexadecimal 8 figures and returns ASCII as parameter value.
Example: Pan right 90 degrees Tilt lower 30 degrees
Pan p0 p1 p2 p3
+800 8320h 38h 33h 32h 30h
Tilt p4 p5 p6 p7
–267 7EF5h 37h 45h 46h 35h
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 case of executing Home Position, Pedestal Initialize 1 and
Pedestal Initialize 2 commands.
•In case of executing Pan/Tilt Angle Assignment and Preset
Move commands.
•In case of Panning by Pedestal Control command.
•In case of Tilting by Pedestal Control command.
Parameter Error •Assign illegal parameters.
•In case that Pan/Tilt angle(position) is out-of-range Pan/Tilt
Movable Range.
Mode Error •After power ON, not executed pedestal initialize.
•Not in status of Camera ON.
•Not in status of Host Control Mode.