BASIC commands
PROGRAMMING MANUAL 104
Revision 3.0
/i
3.2.163 LAST_AXIS
/i
3.2.164 LINKAX
/i
3.2.165 LINPUT
/i
See also • GET
Value Input device
0 Programming port 0
1 RS-232C serial port 1
2 RS-422A/485 serial port 2
5 Trajexia Tools port 0 user channel 5
6 Trajexia Tools port 0 user channel 6
7 Trajexia Tools port 0 user channel 7
Type System parameter
Syntax LAST_AXIS (read-only)
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, BASE.
Type Axis parameter (read-only)
Syntax LINKAX
Description Returns the axis number that the axis is linked to during any linked moves.
Linked moves are where the demand position is a function of another axis.
Arguments N/A
Example No example.
See also CONNECT, CAMBOX, MOVELINK.
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 Tools.
Note: Channel 0 is reserved for the connection to Trajexia Tools and/or the
command line interface. Please be aware that this channel may give prob-
lems 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.
• vr_variable
The first VR variable to write to.
I52E-EN-03.book Seite 104 Freitag, 29. Juni 2007 11:55 11