EasyManua.ls Logo

Omron TJ2-MC64 - PROGRAMMING

Omron TJ2-MC64 - PROGRAMMING
362 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC commands
PROGRAMMING MANUAL 39
Revision 1.0
3.2.33 AUTORUN
/i
3.2.34 AXIS
/i
3.2.35 AXIS_DISPLAY
/i
/i
/i
Example ATYPE AXIS(1) = 45
This command will set axis 1 as Flexible axis encoder output axis.
See also AXIS
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
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
See also BASE
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.
AXIS_DISPLAY value 0 1 2 3
A0 REG 0 AUX IN OUT 0 ENCODER A
A1 REG 1 ENCODER Z
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.
OUT 1 ENCODER B
B0 REG 0 AUX IN OUT 0 ENCODER A
B1 REG 1 ENCODER Z OUT 1 ENCODER B
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

Related product manuals