Omron NY532-1500 Reference Manual page 670

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

5 Common Command Instructions
• An example that uses this instruction with the MC_ChangeAxisUse (Change Axis Use)
instruction is given. Execute this instruction only after confirming that Done from the
MC_ChangeAxisUse (Change Axis Use) instruction changes to TRUE.
• If you use this instruction to change the unit conversion settings or position count settings for
an axis whose encoder type is set to Absolute encoder (ABS), the relationship between the
physical position of the machine and the axis position in the MC Function Module will change.
In this case, use the MC_ChangeAxisUse (Change Axis Use) instruction to change the axis to
an used axis, and then execute the Home instruction to define the home again.
If an Absolute Encoder Current Position Calculation Failed (error code: 6458 hex) occurred
after the axis was changed to an used axis, clear the axis error and then execute the Home
instruction to define the home again.
• Do not set the reserved parameters in the axis parameters to any value other than 0.
Instruction Details
This section describes the instruction in detail.
_sAXIS_PARAM
The _sAXIS_PARAM data type is used to specify the values of axis parameter. The axis parameters are
configured in members with a structure data type for each type of axis parameters.
This data type is used for the variable that is specified for the AxisParameter (Axis Parameters) in-out
variable.
Each member is described in the following table.
Parameter
Member
name
UnitConversion
Unit Conver-
sion Settings
Operation
Operation Set-
tings
OtherOperation
Other Opera-
tion Settings
Limit
Limit Settings
PosCount
Position Count
Settings
Homing
Homing Set-
tings
Reserved
(Reserved
area)
5-50
MC_ChangeAxisUse
Axis
Execute
Done
Data type
_sAXIS_UNIT_CONVERSION_SETTINGS
_sAXIS_OPERATION_SETTINGS
_sAXIS_OTHER_OPERATION_SETTINGS
_sAXIS_LIMIT_SETTINGS
_sAXIS_POSITION_COUNT_SETTINGS
_sAXIS_HOMING_SETTINGS
ARRAY[0..255] OF BYTE
NY-series Motion Control Instructions Reference Manual (W561)
MC_WriteAxisParameter
Axis
AxisParameter
Execute
Done
Description
Specify the values to write for the
member variables for the unit conver-
sion settings.
Specify the values to write for the
member variables for the operation
settings.
Specify the values to write for the
member variables for the other opera-
tion settings.
Specify the values to write for the
member variables for the limit settings.
Specify the values to write for the
member variables for the position
count settings.
Specify the values to write for the
member variables for the homing set-
tings.
---

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents