Omron SYSMAC CJ Operation Manual page 243

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
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
Section 4-2
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents