Axes Group Variables; Axes Group Variable Initialization Timing; Specify Method Using A User Program - Mitsubishi Electric MELSEC iQ-R Series User Manual

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Axes group variables

Axes group variables are generated by adding the axes group setting in the engineering tool. A generated axes group is
assigned to the global label or the local label as an axes group variable.
Axes group is defined as an axes group variable configured with monitor information such as parameter information, the
current position, and the status.
Axes group variable name (default)
The following names are assigned based on the setting axes group No. It can be changed to an arbitrary name. For details,
refer to the following.
Page 60 Axes Group Assignment
Setting axes group No.
1
2
Data type
Data types of axes groups are described with the AXES_GROUP type. Data types of axes groups have the following
members respectively.
Member name
Data type
AxesGroupRef
AXES_GROUP_REF
Pr
AXES_GROUP_PRM
Md
AXES_GROUP_MONI
Cd
AXES_GROUP_CMD

Axes group variable initialization timing

Axes group variables are initialized at the following timings.
Timing
Power ON/CPU module reset
PLC READY [Y0] is turned ON

Specify method using a user program

When "AXES_GROUP_REF" is written in the input/output setting of the motion control FB, an axes group can be specified by
setting the AXES_GROUP_REF type member, AxesGroupRef (AxesGroupName.AxesGroupRef), of the axes group variable.
Ex.
When MC_GroupEnable is executed with the axes group No. of 1 and the axes group name of AxesGroup001
[AxesGroup001]
DUT : AxesGroup
| |
B : Execute
ON
Engineering tool default axis name
AxesGroup001
AxesGroup002
Description
Data structure for input/output of the motion control FB
Stores parameter data of the axes group.
Opens the default value at axes group variable generation.
The timing to import to the control changes depending on the parameter.
Stores monitor data of the axes group.
Executes refresh in the fixed cycle for each monitor data.
Stores command data for axes group control. Gets the newest value every control
operation cycle and uses it for control.
Processing
Refers to the parameter file, and initializes all set axes group variables.
Refers to the parameter file, and imports uninitialized axes groups again.
Initialized axes groups are not imported again or deleted.
MC_GroupEnable
AxesGroup : DUT
ErrorID : UW
[AxesGroup001]
Done : B
[AxesGroup1Done]
Busy : B
[AxesGroup1Busy]
Error : B
[AxesGroup1Error]
[AxesGroup1ErrorID]
1
1 AXIS SETTING
55
1.5 Axes Group

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents