All BASIC commands
Section 4-2
117
4-2-45 CANCEL
/i
/i
Type
Axis command
Syntax
CANCEL[(1)]
CA[(1)]
Description
The
CANCEL
command cancels the move on an axis or an interpolat-
ing axis group. Speed-profiled moves (
FORWARD
,
REVERSE
,
MOVE
,
MOVEABS
,
MOVECIRC
,
MHELICAL
and
MOVEMODIFY
) will be
decelerated at the deceleration rate as set by the
DECEL
parameter
and then stopped. Other moves will be immediately stopped.
The
CANCEL
command cancels the contents of the current move
buffer (
MTYPE
). The command
CANCEL(1)
cancels the contents of the
next move buffer (
NTYPE
) without affecting the current move in the
MTYPE
buffer.
CANCEL
works on the default basis axis (set with
BASE
) unless
AXIS
is used to specify a temporary base axis.
Note:
•
CANCEL
cancels only the presently executing move. If further
moves are buffered they will then be loaded.
•
During the deceleration of the current move additional
CANCEL
s
will be ignored.
•
CANCEL(1)
cancels only the presently buffered move. Any moves
stored in the task buffers indicated by the
PMOVE
variable can be
loaded into the buffer as soon as the buffered move is cancelled.
Arguments
N/A
Example
FORWARD
WA(10000)
CANCEL ' Stop movement after 10 seconds
Example
MOVE(1000)
MOVEABS(3000)
CANCEL ' Cancel the move to 3000 and move to 4000 instead.
MOVEABS(4000)
Note that the command
MOVEMODIFY
is a better solution for modifying
end points of moves in this case.
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...