Omron SYSMAC CJ Operation Manual page 111

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
4-2-33 AXIS
4-2-34 AXIS_ENABLE
/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 command 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
BACKLASH
/i
Type
Axis parameter
Syntax
AXIS_ENABLE = ON/OFF
Description
The AXIS_ENABLE axis parameter is used to enable or disable partic-
ular axis independently of others. This parameter can be set ON or OFF
for each axis individually. The default value on start-up is ON or all axes.
The axis will be enables if both AXIS_ENABLE for that axis is ON and
WDOG is on. For MECHATROLINK-II axes setting AXIS_ENABLE to
OFF will disable Servo Driver output to the motor. For Flexible axis
Servo axis setting AXIS_ENABLE to OFF will force both voltage out-
puts to 0. For Flexible axis Stepper Out and Encoder Out axes, setting
AXIS_ENABLE to OFF will block pulses generation on the outputs.
Arguments
N/A
Example
AXIS_ENABLE AXIS(3) = OFF
This command will disable axis 3 independently of other axes in the sys-
tem.
See also
AXIS, DISABLE_GROUP
Section 4-2
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents