BASIC commands
PROGRAMMING MANUAL
125
R
e
vi
si
o
n
1
.0
/i
/i
3.2.179 LIST
/i
3.2.180 LIST_GLOBAL
/i
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.
Example
Consider the following line in a program.
LINPUT#5, VR(0)
Entering START<CR> on port 5 will give
VR(0)=83 ' ASCII 'S'
VR(1)=84 ' ASCII 'T'
VR(2)=65 ' ASCII 'A'
VR(3)=82 ' ASCII 'R'
VR(4)=84 ' ASCII 'T'
VR(5)=13 ' ASCII carriage return
See also
GET
,
INPUT
,
VR
Type
Program command (Trajexia Studio command line only)
Syntax
LIST [ "program_name" ]
TYPE [ "program_name" ]
Description
For use only with the Command Line Terminal interface.
LIST
is used as an
immediate (command line) command only and must not be used in programs.
The
LIST
command prints the current selected program or the program spec-
ified by
program_name
. The program name can also be specified without
quotes. If the program name is omitted, the current selected program will be
listed.
Note: This command is implemented for an offline Command Line Terminal.
Within Trajexia Studio users can use the terminal window.
Arguments
•
program_name
The program to be printed.
Example
No example.
See also
SELECT
.
Type
System command (terminal only)
Syntax
LIST_GLOBAL
Description
When executed from the Command Line Terminal interface (channel 0), all
the currently set
GLOBAL
and
CONSTANT
parameters will be printed to the
terminal.
Arguments
N/A
Example
In an application where the following GLOBAL and CONSTANT have been
set:
CONSTANT "cutter", 23
GLOBAL "conveyor",5
>>LIST_GLOBAL
Global VR
---------------- ----
conveyor 5
Constant Value
---------------- -------
cutter 23.0000
See also
CONSTANT
,
GLOBAL