-

How to create and startup a motion group

Version Number Description
1.0 Base specification for working with Groups in iCube Engineer
2.0 Updated with 2025.6 features. 1) No need for Y_UpdateAxesGroupRef. 2) Set up Update task rate in MotionGroups Settings page.

This application note shows how to configure and startup a motion group.

1. Supported Components

Component Name Version
iC9200 series ≥ 2024.3
iCube Engineer ≥ 2024.3

2. Required Libraries

Template Project Libraries
  • Y_Axis_Toolbox
  • Y_DataTypes_Toolbox
  • Y_Math_Toolbox
  • Y_PLCopenPart1_Toolbox
  • Y_Yaskawa_Toolbox
Added when adding a group
  • Y_PLCopenPart4_Toolbox
Added for "Ease of use" function blocks
  • Y_Group_Toolbox

3. Solution details

Adding a motion Group to the Project

Start from a Template Project in iCube Engineer
Add Motion Axes to the project
  1. EtherCAT bus scan
  2. Manually adding servo amps to EtherCAT
  3. virtual axes
In the Components window go to the Network section and locate  "Locally Hosted Group"
Image
Drag the "Locally Hosted Group" from the Component window to the Motion Group section in the Plant window.
Image
Open the Group Configuration to define the Mechanism type by "double clicking" on Group1
Image
Pre-defined mechanism types can be selected from the "Mechanism type" drop down
  • For this App note a "Coupled Gantry" mechanism is selected
Image
The Mechanism Variant can be adjusted for different Mechanism types within the Coupled Gantry type.
The Axes can be assigned in the Mechanism tab.
Image

Creating motion with a Grouped axis

In the Component Window under the Programming section open or create a new FBD POU.
Add the following function blocks to the POU:
  • For iCube Engineer and iC9226 controller version <= 2024.9, use function block  Y_UpdateAxesGroupRef (PLCopenPart4_Toolbox)  to copy data from the GDS to the AXES_GROUP_REF variable in the application. 
  • Y_GP_GroupControl (Y_Group_Toolbox): Used to enable the configured group and to servo on the members of the group.

Note

If using a version of iCube Engineer and iC9226 controller version that is > 2024.9, the "Y_UpdateAxesGroupRef" function block need not be used. The user should set up the update rate of data being populated in the AXES_GROUP_REF structure in the Motion Groups Settings page. 

Image

Code for enabling and powering on the group is shown below.

Image
Alternatively the following function blocks can be used instead of the Y_GP_GroupControl function block:
Extra interlocking needs to be used to use these blocks. 
  • MC_GroupEnable
  • MC_GroupDisable
  • MC_GroupReset
  • Y_GroupPower

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.