Omron SYSMAC CJ Operation Manual page 179

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
4-2-122 GET
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
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents