Omron SYSMAC CJ Operation Manual page 249

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

Advertisement

All BASIC commands
4-2-208 RS_LIMIT
/i
Example
A joystick is used to control the speed of a platform. A deadband is
required to prevent oscillations from the joystick midpoint. This is done
with the REVERSE command, which sets the correct direction relative
to the operator. Then, the joystick adjusts the speed through analogue
input 0.
REVERSE
WHILE IN(2)=ON
IF AIN(0)<50 AND AIN(0)>-50 THEN 'sets a deadband in the input
SPEED=0
ELSE
SPEED=AIN(0)*100 'sets speed to a scale of AIN
ENDIF
WEND
CANCEL
See also
AXIS, CANCEL, FORWARD, RAPIDSTOP.
/i
Type
Axis parameter
Syntax
RS_LIMIT
RSLIMIT
Description
The RS_LIMIT parameter contains the absolute position of the reverse
software limit in user units.
A software limit for reverse movement can be set from the program to
control the working range of the machine. When the limit is reached, the
CJ1W-MCH72 will decelerate to 0, and then cancel the move. Bit 10 of
the AXISSTATUS axis parameter will be turned on while the axis posi-
tion is smaller than / below RS_LIMIT.
Arguments
N/A
Example
No example.
See also
AXIS, FS_LIMIT, UNITS.
Section 4-2
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents