All BASIC commands
Section 4-2
167
4-2-122 GET
/i
/i
/i
Example
No example.
See also
AXIS
,
FAST_JOG
,
JOGSPEED
,
REV_JOG
.
Type
I/O command
Syntax
GET [#n,] variable
Description
The
GET
command assigns the ASCII code of a received character to a
variable. If the serial port buffer is empty, program execution will be
paused until a character has been received. Channels 5 to 7 are logical
channels that are superimposed on the programming port 0 when using
Trajexia Studio.
Note: Channel 0 is reserved for the connection to Trajexia Studio and/or
the command line interface. Please be aware that this channel may give
problems for this function.
Arguments
•
n
The specified input device. When this argument is omitted, the port
is 0 (Terminal window). See the table below.
Input device number
Description
0
Programming port 0
5
Trajexia Studio port 0 user channel 5
6
Trajexia Studio port 0 user channel 6
7
Trajexia Studio port 0 user channel 7
•
variable
The name of the variable to receive the ASCII code.
Example
GET#5, k
This line stores the ASCII character received on the Trajexia Studio port
channel 5 in
k
.
See also
N/A
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...