next up previous contents
Next: ABV Up: Detailed Description of Commands Previous: ABA   Contents

ABP

The ABP command sends a request to the ZY to set the absolute position parameter (the target destination, in absolute encoder counts) on one of the two LM628 axis controllers, in preparation for a move to this position.
Mnemonic:

ABsolute Position
Syntax:

ABP $<$n, p$>$
n:
axis value (0: azimuth, or 1: elevation)
p:
position in encoder counts $-(2^{30})$ to $(2^{30}) - 1$. If this value is not present, ABP returns an error. Current position can be obtained using ACP for actual position or DSP for desired position.
Return values:
Success:
ABP 1, n, p
Failure:
ABP 0, err_msg
n:
Axis value
p:
New target encoder position (pending move)
err_msg:
Should the command fail, this value will be an error message string, explaining the cause of failure.
Remarks:

It is important to keep in mind that the units used are encoder counts, and are therefore dependent on the encoder used. In order to complete the move, STT $<$n$>$ must be issued.
Example:
     send: ABP 0, 15000
  receive: ABP 1, 0, 1500
See also:

ACP, STT

next up previous contents
Next: ABV Up: Detailed Description of Commands Previous: ABA   Contents
Ramon E. Creager 2002-03-11