![background image](http://html1.mh-extra.com/html/omron/smartslice-grt1-ml2/smartslice-grt1-ml2_programming-manual_742305113.webp)
BASIC commands
PROGRAMMING MANUAL
107
R
e
vi
si
o
n
1
.0
3.2.143 FWD_IN
/i
3.2.144 FWD_JOG
/i
3.2.145 GET
/i
/i
/i
Type
Axis parameter
Syntax
FWD_IN
Description
The
FWD_IN
axis parameter contains the input number to be used as a for-
ward limit input. The valid input range is 0 to 31. Values 0 to 15 represent
physically present inputs of TJ2-MC64 I/O connector and are common for all
axes.
Values 16 to 31 are mapped directly to Drive inputs that are present on the
CN1 connector. They are unique for each axis. It depends on the type of
Servo Drive which Servo Drive inputs are mapped into inputs 16 to 31.
As default the parameter is set to -1, no inputs selected.
If an input number is set and the limit is reached, any forward motion on that
axis will be stopped. Bit 4 of the
AXISSTATUS
will also be set.
Note: This input is active low.
Arguments
N/A
Example
No example.
See also
AXIS
,
AXISSTATUS
,
REV_IN
.
Type
Axis parameter
Syntax
FWD_JOG
Description
The
FWD_JOG
axis parameter contains the input number to be used as a jog
forward input. The input can be set from 0 to 31. As default the parameter is
set to -1, no input is selected.
Note: This input is active low.
Arguments
N/A
Example
No example.
See also
AXIS
,
FAST_JOG
,
JOGSPEED
,
REV_JOG
.
Type
Communication command
Syntax
GET [#n,] variable
Description
The
GET
command assigns the ASCII code of a received character to a varia-
ble. 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 as
specified by
INDEVICE
will be used. See the table below.
Input device
number
Description
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
•
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 chan-
nel 5 in
k
.
See also
INDEVICE
,
INPUT
,
KEY
,
LINPUT