BASIC commands
PROGRAMMING MANUAL 124
Revision 1.0
/i
/i
3.2.176 LAST_AXIS
/i
3.2.177 LIMIT_BUFFERED
/i
3.2.178 LINPUT
/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 TJ2-MC64 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 System parameter
Syntax LIMIT_BUFFERED
Description This parameter controls the maximum number of move buffers available in the
controller. The maximum value is 64, default value is 1 (TJ1-MC__ compati-
ble).
Arguments N/A
Example LIMIT_BUFFERED = 10
will set the total number of available buffered moves in the controller to 10.
See also N/A
Type Communication 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.