All BASIC commands
Section 4-2
231
4-2-198 REMAIN
/i
Type
Axis parameter (read-only)
Syntax
REMAIN
Description
The
REMAIN
parameter contains the distance remaining to the end of
the current move. It can be checked to see how much of the move has
been completed.
The units in which
REMAIN
is expressed depends on the type of the
motion command:
•
If a master axis is moved by
MOVELINK
or
CAMBOX
,
REMAIN
is
expressed in user units set by
UNITS
.
•
If a slave axis is moved by
MOVELINK
or
CAMBOX
,
REMAIN
is
expressed in encoder counts.
•
If a master or a slave axis is moved by a motion command that is not
MOVELINK
or
CAMBOX
,
REMAIN
is expressed in user units set by
UNITS
.
The
CONNECT
command moves an axis without a defined end. For
this command,
REMAIN
has the fixed value of 1000.
Arguments
N/A
Example
To change the speed to a slower value 5mm from the end of a move.
start:
SPEED = 10
MOVE(45)
WAIT UNTIL REMAIN < 5
SPEED = 1
WAIT IDLE
See also
AXIS
,
UNITS
Содержание 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...