MpAxisCoupling between an axis and a profile generator

Hi everybody,
I have an async motor controlled by a profile generator ( not with mpaxisbasic).
Now I added a stepper motor into my system, that I currently move with mpaxisbasic, and for various reasons I would like to replicate the movement of the first motor so they are perfectly syncronized.

Basically the stepper motor should move at the same time and with the same speed profile of the async motor.

I was looking at MpAxisCoupling, which I never used so far. But in my case the master would not be a mpaxis but a profile generator.

Is that possible or I’m missing something?

thanks!

Hello,

generaly i think it is possible to couple a Stepper Motor application to an external Master-Source.

Based on you description i could not get if you are using ACP10 with SDC or if it is MappMotion with McStpAx Library.
In general they behave pretty similar but have some API differences.

a) MC_BR_MoveCyclicPosition
If you have a Position from the profile generator you can use it to cyclicaly transmit it to the drive.

b) MC_GearIn
You can use your own Axis-Reference and provide the coupling position via a ParID-Source. But you will have to transfer the Position source to this ParID.

Greetings
Michael Bertsch

thanks for your reply. I don’t have ACP, just mappmotion.
I think that, based on your description, I should use option B.
But the FB needs an axis as master and slave, while I have a position generator as master and an axis as slave..

Hello,

Thanks for the clarification about the usage of MappMotion.

Option b in MappMotion is only applicable to ACOPOS drives with ParIDs. The Steppers use the McStpAx Library which does not support ParIDs and so we can not use the Alternative Value Source functionality of MC_GearIn as it is based on ParIDs.

Master and Slave Axis References can, under some sircumstances, be the same. For example if you use an alternative Value source on the slave axis itself.

So i will skip any ACP10 parts from now.
For McStpAx we have to use Option b’ were we do the GearIn via a CamAutomat, to have access to the full API were we can directly use a Variable as Master Source:

gAxis_1


X20SM1436

TC#1-Programm
Providing the Source Variable in Axis Units. So the Axis Factor must be considerd.

Common CamAutomat

TC#2-CamAut


  1. Power Stepper
  2. Home Stepper
  3. Start Cam Automat
  4. Axis follows the Master Source Variable
  5. Check Position and PLCopen State with Cockpit

Greetings
Michael

thank you for taking the time to write all of this, I will study your solution!

1 Like