All BASIC commands
Section 4-2
237
/i
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
.
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
.
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...