Index

encoders az_per_turn, el_per_turn, dk_per_turn

Specify the scale and sense of each of the telescope encoders.

Arguments:
EncoderCount az_per_turn
The number of azimuth encoder counts per turn.
EncoderCount el_per_turn
The number of elevation encoder counts per turn.
EncoderCount dk_per_turn
The number of deck encoder counts per turn.

Example:
The following example specifies that one turn of both the azimuth and elevation axes constitutes 2^22 encoder counts, and it specifies that a rotation of 2^19 counts on the deck axis results in the deck axis rotating "backwards" by one turn. In this example, the values are specified in hexadecimal.
 encoders 0x400000, 0x400000, -0x80000

Context:
Before the control system can point the telescope, the encoders command must be invoked to tell it the scale factors of the azimuth, elevation and deck encoders. The encoders command should thus be called from the $CBI_DIR/conf/rtc.init boot script.

Martin Shepherd (23-Jan-1999)