![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454128.webp)
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.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...