Specifications

BASIC commands
PROGRAMMING MANUAL 157
Revision 5.0
3.2.228 RETURN
See GOSUB..RETURN.
3.2.229 REV_IN
/i
3.2.230 REV_JOG
/i
3.2.231 REVERSE
/i
Type Axis parameter
Syntax REV_IN
Description The REV_IN parameter contains the input number to be used as a reverse
limit input. The valid input range is 0 to 31. Values 0 to 15 represent physically
present inputs of TJ1-MC__ I/O connector and are common for all axes.
Values 16 to 31 are mapped directly to driver inputs that are present on the
CN1 connector. They are unique for each axis. It depends on the type of
Servo Driver which Servo Driver inputs are mapped into inputs 16 to 31. For
more information on Servo Driver I/O mapping into the Trajexia I/O space,
refer to section 5.1.4.
As default the parameter is set to -1, no input is selected.
If an input number is set and the limit is reached, any reverse motion on that
axis will be stopped. Bit 5 of the AXISSTATUS axis parameter will also be set.
Note: This input is active low.
Arguments N/A
Example No example.
See also AXIS, AXISSTATUS, FWD_IN.
Type Axis parameter
Syntax REV_JOG
Description The REV_JOG parameter contains the input number to be used as a jog
reverse input. The input can be from 0 to 31. As default the parameter is set to
-1, no input is selected.
Note: This input is active low.
Arguments N/A
Example No example.
See also AXIS, FAST_JOG, FWD_JOG, JOGSPEED, UNITS.
Type Axis command
Syntax REVERSE
RE
Description The REVERSE command moves an axis continuously in reverse at the speed
set in the SPEED parameter. The acceleration rate is defined by the ACCEL
axis parameter.
REVERSE works on the default basis axis (set with BASE) unless AXIS is
used to specify a temporary base axis.
Note: The reverse motion can be stopped by executing the CANCEL or
RAPIDSTOP command, or by reaching the reverse limit, inhibit, or origin
return limit.
Arguments N/A
Example Run an axis in reverse. When an input signal is detected on input 5, stop the
axis.
back:
REVERSE
WAIT UNTIL IN(0) = ON ' Wait for stop signal
CANCEL