Moves

cancel_all_moves(), cam()
Cancels all pending moves. Pending moves are those that have been set-up but not been started yet.
e.g.:
do cam()

check_move( dev_id), cm()
Returns 1, if the specified motor is moving.
e.g.:
* = check_move(mot1)

check_motors_moving(), cmm()
Returns 1, if at least one motoris moving.
e.g.:
* = cmm()

complete_all_moves(), cmpltam()
The function waits until all moves, including backlash corrections, are finished.
e.g.:
do cmpltam()

move_to( motor_id) = float_expr
motor_id is moved to some position [unit].
e.g.:
move_to(mot1) = 12

setup_absolute_step_move(motor_id) = int_expr, sasm()
setup_absolute_unit_move(motor_id) = float_expr, saum()
Prepares motor movements, which have to be started by start_all_moves() or start_and_complete_all_moves().
e.g.:
saum(mot1) = 12
saum(mot2) = 14
do start_all_moves()
do complete_all_moves()

start_all_moves(), strtam()
Moves that have been set-up before are started.
e.g.:
setup_absolute_unit_move(mot1) = 12
do start_all_moves()
do complete_all_moves()
These commands are equivalent to: move/unit=12 mot1 or move mot1 12.

start_and_complete_all_moves(), sacam()
The function starts all moves that have been set-up and waits until they are finished, including backlash corrections.
e.g.:
setup_absolute_unit_move(mot1) = 12
setup_absolute_unit_move(mot2) = 14
do sacam()

stop_all_moves(), stpam()
Motors that are currently moving are stopped. The moves are cancelled.
e.g.:
do stop_all_moves()

search_motor()
Returns 1, if the specified motor exists.
e.g.:
* = search_motor( mot1)