6-8-10 Changing Axis Use - Omron NX-series User Manual

Hide thumbs Also See for NX-series:
Table of Contents

Advertisement

6 Introduction of Motion Control Functions
In the descriptions, a variable name _MC_GRP[*] is used as an example, but the same information
applies to _MC1_GRP[*] and _MC2_GRP[*].
Variable name
_MC_GRP[0-63].Details.Idle
_MC_GRP[0-63].Details.InposWaiting
*1. This also includes states where processing is performed while in motion at a velocity of 0.
*2. This variable is FALSE when all composition axes in the axes group are within the in-position ranges set in the
axis parameters.
For details on the instruction to write the MC settings and the instruction to write the axis parameters,
refer to the MC_Write (Write MC Setting) and MC_WriteAxisParameter (Write Axis Parameters) instruc-
tion in the NJ/NX-series Motion Control Instructions Reference Manual (Cat. No. W508).
Refer to the NX-series Position Interface Units User's Manual (Cat. No. W524) for the differences when
you use NX-series Pulse Output Units.

6-8-10 Changing Axis Use

You can use the MC_ChangeAxisUse (Change Axis Use) instruction to temporarily change the setting
of the Axis Use axis parameter. To change an axis in this way, it must be set as a Used axis or as an
Unused axis (changeable to used axis) in the Axis Use axis parameter. If the Axis Use axis parameter is
set to Unused axis (changeable to used axis) and the Axis Type parameter is set to a servo axis or vir-
tual servo axis, you can set the axis in an axes group.
Precautions for Correct Use
Precautions for Correct Use
• Do not attempt to change an axis that is set to Unused axis (unchangeable to used axis) to a
used axis.
• You cannot set an axis in an axes group if the Axis Use axis parameter is set to Unused axis
(unchangeable to used axis).
For details, refer to the MC_ChangeAxisUse instruction in the NJ/NX-series Motion Control Instructions
Reference Manual (Cat. No. W508).
For an application example of the MC_ChangeAxisUse instruction, refer to the NJ/NX-series CPU Unit
Software User's Manual (Cat. No. W501).
6-82
Data type
Meaning
BOOL
Idle
BOOL
In-position
Waiting
NX-series NX1P2 CPU Unit Built-in I/O and Option Board User's Manual (W579)
Function
TRUE when processing is not currently
performed for the command value,
except when waiting for in-position
*1
state.
Idle and InPosWaiting are mutually
exclusive. They cannot both be TRUE at
the same time.
TRUE when waiting for in-position state
*2
for any composition axis.
The in-position check is performed when
positioning for the in-position check.

Advertisement

Table of Contents
loading

Table of Contents