Omron TJ2-MC64 - PROGRAMMING Programming Manual page 113

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
3.2.143 FWD_IN
/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.
3.2.144 FWD_JOG
/i
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.
PROGRAMMING MANUAL
3.2.145 GET
/i
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.
/i
Input device
Description
number
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
/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 chan-
nel 5 in k.
See also
INDEVICE, INPUT, KEY, LINPUT
107

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents