8-26 Trio BASIC Commands
Motion and Axis Commands
Trio Motion Technology
CANCEL
Type:
Motion Command
Alternate Format:
CA
Syntax:
CANCEL / CANCEL(1)
Description:
Cancels a move on an axis or an interpolating axis group. Velocity profiled moves
(
FORWARD, REVERSE, MOVE,MOVEABS,MOVECIRC, MHELICAL,MOVEMODIFY
) will be
ramped down at the programmed deceleration rate then terminated. Other move
types will be terminated immediately.
CANCEL(1)
clears a buffered move, leaving the current executing movement intact.
Note:
Cancel will only cancel the presently executing move. If further moves are buffered
they will then be loaded.
See also:
RAPIDSTOP.
Example:
FORWARD
WA(10000)
CANCEL' stop movement after 10 seconds
Example 2:
MOVE(1000)
MOVEABS(3000)
' now change your mind:
’ move to 4000 not 3000
CANCEL(1)
MOVEABS(4000)
’ MOVEMODIFY would be better for this !