Specifications
BASIC commands
PROGRAMMING MANUAL 110
Revision 5.0
/i
/i
3.2.165 LAST_AXIS
/i
3.2.166 LINPUT
/i
/i
/i
Arguments • n
The specified input device. When this argument is omitted, the port as
specified by INDEVICE will be used. See the table below.
Value Input device
0 Programming port 0
1 RS-232C serial port 1
2 RS-422A/485 serial port 2
5 Trajexia Studio port 0 user channel 5
6 Trajexia Studio port 0 user channel 6
7 Trajexia Studio port 0 user channel 7
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.
See also • GET
Type System parameter (read-only)
Syntax LAST_AXIS
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 TJ1-MC__ 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.
Arguments N/A
Example No example.
See also AXIS, BACKLASH.
Type I/O command
Syntax LINPUT [#n , ] vr_variable
Description The LINPUT command assigns the ASCII code of the characters to an array
of variables starting with the specified VR variable. Program execution will be
paused until the string is terminated with a carriage return, which is also
stored. The string is not echoed by the controller.
Channels 5 to 7 are logical channels that are superimposed on the program-
ming port 0 when using Trajexia Studio.
Note: Channel 0 is reserved for the connection to Trajexia Studio and/or the
Command Line Terminal interface. Please be aware that this channel may
give problems for this command.
Arguments • n
The specified input device. When this argument is omitted, the port as
specified by INDEVICE will be used. See the table below.
Value Input device
0 Programming port 0
1 RS-232C serial port 1
2 RS-422A/485 serial port 2
5 Trajexia Studio port 0 user channel 5
6 Trajexia Studio port 0 user channel 6
7 Trajexia Studio port 0 user channel 7
• vr_variable
The first VR variable to write to.