![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454249.webp)
All BASIC commands
Section 4-2
238
/i
4-2-212 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
.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...