![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243168.webp)
153
Command, function and parameter description
Section 6-3
6-3-103 JOGSPEED
Type:
Axis Parameter
Description:
The JOGSPEED parameter sets the jog speed in user units for an axis. A jog
will be performed when a jog input for an axis has been declared and that
input is low. A forward jog input and a reverse jog input are available for each
axis, respectively set by FWD_JOG and REV_JOG. The speed of the jog can
be controlled with the FAST_JOG input.
See also:
AXIS, FAST_JOG, FWD_JOG, REV_JOG, UNITS
6-3-104 KEY
Type:
I/O Parameter
Syntax:
KEY
[
#n
]
Description:
The KEY parameter returns TRUE or FALSE depending on if a character has
been received at the serial port buffer or not. A TRUE result will reset when
the character is read with the GET command.
Channels 5 to 7 are logical channels that are superimposed on the RS-232C
programming port 0 when using Motion Perfect.
Argument:
n
The specified input device. When this argument is omitted, the port as speci-
fied by INDEVICE will be used.
Precautions:
Channel 0 is reserved for the connection to Motion Perfect and/or the com-
mand line interface. Please be aware that this channel may give problems for
this function.
See also:
GET
Example:
WAIT UNTIL KEY#1
GET#1, k
Beware that for using KEY#1 in an equation may require parentheses in the
statement, in this case:
WAIT UNTIL (KEY#1)=TRUE
.
6-3-105 LAST_AXIS
Type:
System Parameter
Description:
The LAST_AXIS parameter contains the number of the last axis processed by
the system.
Most systems do not use all the available axes. It would therefore be a waste
of time to task the idle moves on all axes that are not in use. To avoid this to
some extent, the MC Unit will task moves on the axes from 0 to LAST_AXIS,
where LAST_AXIS is the number of the highest axis for which an AXIS or
BASE command has been processed, whichever of the two is larger.
Note This parameter is read-only.
See also:
AXIS, BASE
0
RS-232C programming port 0
1
RS-232C serial port 1
2
RS-422A/485 serial port 2
5
Motion Perfect port 0 user channel 5
6
Motion Perfect port 0 user channel 6
7
Motion Perfect port 0 user channel 7