next up previous contents
Next: Data Acquisition Up: Servo Operation Previous: Finding Home Position   Contents

Using the Servos

With the PID and trajectory values loaded, the servo motors can be moved to any point in their range with the low level servo commands. Moving an axis involves first loading the destination, then issuing a start command. For example
        ABP 0, 3000
        STT 0
        WAI 0
moves axis 0 to encoder coordinate 3 000. WAI blocks until the move completes. The use of WAI is optional. It should be used if synchronization with the move is necessary.

Ramon E. Creager 2002-03-11