Omron trajexia CJ1W-MCH72 Operation Manual page 249

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-212 RS_LIMIT
238
/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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents