Omron trajexia CJ1W-MCH72 Operation Manual page 179

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-124 GET
168
Example
No example.
See also
AXIS, FAST_JOG, JOGSPEED, REV_JOG.
/i
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.
/i
Input device number
0
5
6
7
/i
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
Description
Programming port 0
Trajexia Studio port 0 user channel 5
Trajexia Studio port 0 user channel 6
Trajexia Studio port 0 user channel 7
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents