# Identical Motion on Multiple Axes

This topic describes how to perform the type of synchronized motion where all the axes always need to be at identical positions. This is typical of mechanically coupled or linked axes.

This procedure assumes the axes are all identical, that is, the cylinders, valves, and feedback are all identical.

1. Use the Move Absolute Command
Send the same Move Absolute (20) command to the axes at the same time. This can be done in a user program. In the Command Tool, this can be done by typing in commands in all the pertinent axes, the clicking the Send All button. If the Send All button is not visible, right-click in the Command Tool and choose Show Toolbar.

2. Plot
Set up a plot template to include all the axes. The most important information is the Target and Actual Position, Control Output, and Target and Actual Velocity. Use this plot template as you do tuning. If you have many axes, and can’t fit everything on the plot, you can change the velocity so that it is not received directly from the RMC, but is instead calculated from the position. This makes it possible to have more items in the plot. To do this, in the Plot Template Editor, click New Quantity to add a quantity to a plot template, then choose the Advanced tab and in the Type of Formula, choose Rate of Change. Choose a position so that the plot will calculate its velocity.

3. Use the Halt Group Axis Parameter
In an identical synchronized system, if one axis halts due to an error, you need to make sure all the axes halt. Use the Halt Group parameter to do this. This parameter is in the Axis Parameters, on the All tab, in the Halts section. A value of zero means the axis is not in a halt group. For each axis that needs to be synchronized in a group, set its Halt Group to the same value, such as one.

4. Tuning Setup
When tuning, you will need to send identical commands to each axis to move between two positions. Here is one method:

1. Make a user program with one step that sends one Move Absolute (20) command to all the axes to move to a position.
2. Make another user program with one step that sends one Move Absolute (20) command to all the axes to move to another position.
3. In the Tuning Tools, set up the two buttons to send a Start Task (90) command such that the one button runs one user program and the other button runs the other user program.
5. Tuning Prodedure
Also, during tuning, you cannot use the autotuning. You can however, use the Tuning Wizard once you get enough motion to get a plot. And, you must always set the gains for all axes each time you change the gains. Here is the basic procedure:

1. Throughout this procedure, always use the Axis Tools Tune tab to set the gains of each axis identically.
2. Set the Proportional Gain to some small value, then move the axes.
3. Increase the Proportional Gain until the Actual Position is starting to follow reasonably well. The Actual Position should be parallel the Target Position during the middle part of the move. Once this happens, make sure to get a plot from the motion in each direction.
4. Start the Tuning Wizard and choose Existing Plot. When you complete the wizard, slide the slider bar to where the Proportional Gain is about at what you already had it. Set the gains and feed forwards of all the axes to those values, then move the axes to see how they control. If you need better control, move the slider bar up, set the gains and feed forwards, and move the axis. Repeat until the axes control properly.