26
12. Details of Pedestal Control Commands
12.1 Pan Speed Assignment
Pedestal Control Command Type 1
Function
To set running speed of Pan direction.
Command 0050h
Length 3
byte
Range 8~800PPS
(008h~320h)
Parameter
Default Value
800PPS (320h)
Status None
Reference •1LSB of parameter value is equal to 0.1125 degree/s
•The running time of Pan can calculate as under
(Pan position after run) – (Pan position before run)
(Pan running speed)
(refer to
12.27
,
12.29
concerning Pan position of pedestal)
Example set Pan running speed 800. In this case, the running time is
approx. 2 seconds from +800 position to –800 position of pedestal.
800{po90 degree} – (–800){position –90 degree}
800{Pan running speed}
•The command unable to set speed, is
Home Position
,
Pedestal Initialize 1
and
Pedestal Initialize 2
, total 3 commands.
•Pan running speed can modify by this command during even running Pan.
Format of Control Code
d0 d1 d2 d3 d4 d5 d6 d7 d8
Header
Device Num
Command
Parameter
End mark
FFh 30h 3Xh 00h 50h p0 p1 p2 EFh
⇓
The running speed indicates in 3 figures hexadecimal, and its ASCII code treats as
parameter.
Example: p0 p1 p2
150
⇒
096h
⇒
30h 39h 36h
Answer Format
d0 d1 d2 d3 d4 d5
Header
Device Num
Error Code
End mark
FFh 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 Parameter Error :
01010000B
⇒
50h
⇒
35h 30h
In case of Mode Error :
10010000B
⇒
90h
⇒
39h 30h
Condition of Error flag to be set
Parameter Error •Assigned parameter comes out less than minimum value.
•Assigned parameter comes out more than maximum value.
Mode Error
•Not in status of
Camera ON.
•Not in status of
Host Control Mode.