The p12mProg is the AO control program for
the 12meter telescope. It purpose is to:
The commands sent to the p12mProg via
tcp/sockets are all in ascii. The communication protocol is:
The table below contains the currently supported commands with
their options and a short description.
The Boldface part of the
command/options is the minimum characters that must be sent
for the program to recognize the command/options.
command |
options |
Description |
dbg |
- |
return debugging info |
ephm |
? |
Query ephm info. It
returns the following: startSec1970 secEntry NumEntry Nopts ephmFileNm
|
ld type filename
{startSec1970}
|
||
mode |
pwroff |
brakes on,motors
de-energized, main contactor open. |
standby |
main contactor closed,brakes are on, motors
are de-energized |
|
stop |
stop the telescope. The motors remain energized. |
|
pos az el |
move to setpoint position.
az,el (both in degrees) using position setpoint mode. |
|
rate azVel elVel |
start moving at azVel,elVel
(deg/sec) using velocity setpoint mode. |
|
tr |
start tracking from the track
array |
|
monreq |
- |
return monitor info. |
nop |
- |
send nop, get reply from
p12mProg. checks that it is alive. |
tr |
clr |
clear points in tracking
array. This will perform a mode stop before the clear. |
hold |
don't send computed tracking points to p12m. Used for debugging | |
send |
send computed tracking points to p12m. | |
{-Ux}
p1 p2 -Cp -Tp {-o o1 o2 -Co -To} {-r r1 r2 -Cr -Tr} Point to track. It consists of 3 tupples: position(p1,p2), offset(o1,o2), rate(r1,r2)
|
||
The p12m controller has lots observing modes.
Most of these are not used by the p12mProg. It converts everything
to az,el before sending
it to the p12mcontroller. The p12m controller settings used by the
p12mProg are: