Omron TJ2-MC64 - PROGRAMMING Programming Manual page 45

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

Advertisement

BASIC commands
Example
ATYPE AXIS(1) = 45
This command will set axis 1 as Flexible axis encoder output axis.
See also
AXIS
3.2.33 AUTORUN
/i
Type
Program command
Syntax
AUTORUN
Description
The AUTORUN command starts all the programs that have been set to run at
start-up.
Note: This command should only be used on the Command Line Terminal.
Arguments
N/A
Example
No example.
See also
RUNTYPE
3.2.34 AXIS
/i
Type
System command
Syntax
AXIS(axis_number)
Description
The AXIS modifier sets the axis for a single motion command or a single axis
parameter read/write to a particular axis. AXIS is effective only for the com-
mand or axis parameter operation. If it is required to change the axis used to
a particular axis in every subsequent command, use the BASE command
instead.
Arguments
axis_number
Any valid BASIC expression specifying the axis number.
Example
BASE(0)
PRINT VP_SPEED AXIS(2)
Example
MOVE(300) AXIS(0)
Example
REP_DIST AXIS(1) = 100
PROGRAMMING MANUAL
See also
BASE
3.2.35 AXIS_DISPLAY
/i
Type
Axis parameter
Syntax
AXIS_DISPLAY = value
Description
The AXIS_DISPLAY axis parameter enables different data to be displayed by
the LEDs on the front cover of the TJ1-FL02 unit. LEDs affected by this
parameter setting are two yellow LEDs showing axis status. The default value
of this parameter on start-up for all axes is 0. The valid values are shown in
the table below.
/i
AXIS_DISPLAY value
0
A0
REG 0
A1
REG 1
B0
REG 0
B1
REG 1
1. In case of incremental encoder, it reflects the status of the Z-input.
In case of absolute encoder, it reflects the status of the clock output.
/i
Arguments
N/A
Example
AXIS_DISPLAY AXIS(2) = 2
This command will display status of the outputs OUT 0 and OUT 1 allocated
to axis 2.
See also
N/A
1
2
3
AUX IN
OUT 0
ENCODER A
1
ENCODER Z
OUT 1
ENCODER B
AUX IN
OUT 0
ENCODER A
ENCODER Z
OUT 1
ENCODER B
39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents