Autorun; Axis - Omron R88A-MCW151-DRT-E Operation Manual

Mcw151 series motion control option board
Table of Contents

Advertisement

Command, function and parameter description
Description:
See also:
Example:

6-3-27 AUTORUN

Type:
Syntax:
Description:
See also:

6-3-28 AXIS

Type:
Syntax:
Description:
Arguments:
Precautions:
See also:
Examples:
120
The ATYPE axis parameter sets the axis type for the axis. The valid values is
depending on the axis
Axis
Axis type
number
0
Servo
1
Virtual
Servo
Encoder input
Encoder output
2
Virtual
The ATYPE parameters are set by the system at start-up to the default value
of the axis. Refer to 3-3 System Functions for more details on the different
axis types.
AXIS
The following command will set axis 1 as encoder output axis.
>> ATYPE AXIS(1)=14
Program Command
AUTORUN
The AUTORUN command starts all the programs that have been set to run at
start-up.
RUNTYPE
System Command
AXIS( axis_number )
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 program line in which it is programmed. Use the BASE command to
change the base axis for all following command lines.
axis_number
Any valid BASIC expression specifying the axis number.
The AXIS command can be used to modify any axis parameter expression
and the following axis dependent commands: ADDAX, CAM, CAMBOX, CAN-
CEL, CONNECT, DATUM, DEFPOS, FORWARD, MOVEABS, MOVECIRC,
MOVELINK, MOVE, MOVEMODIFY and REVERSE. Other commands for
which AXIS is used are: REGIST, WAIT IDLE and WAIT LOADED.
BASE
Example 1
BASE(0)
PRINT VP_SPEED AXIS(2)
Example 2
MOVE(300) AXIS(0)
Example 3
REPDIST AXIS(1) = 100
ATYPE value
13 (fixed)
0
2
3 (default)
14
0 (fixed)
Section 6-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R88a-mcw151-e

Table of Contents