![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454179.webp)
All BASIC commands
Section 4-2
168
4-2-124 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
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...