Using Profile Generator and CamAutomat features with together

Hello ;

I am using Mapp Motion and AS 4.12.2.93v in my project. I am using Axis feature for Cam Automat and working good. But when the cam automat is not being used, I need to make manual movement with jerk.If I add both of them


I get an error( CamAutomat.Data.Size is Invalid expected is size of(McCamAutParType) ).
camautoerror
How can I use both of them?

Hello Furkan, welcome to our community!

The Cam Automat for ProfGen axes is slightly different from the one for ACOPOS axes.
The type can be selected here (“Common” is for all ProfGen axes):

Thank you for your reply.I changed Cam automat type Acapos to Common but same error is occured again .

There are different function blocks and structures for ACOPOS Cam automat and Common Cam automat.

ACOPOS:
MC_BR_CamAutomatGetPar_AcpAx
McAcpAxCamAutParType

Common:
MC_BR_CamAutomatGetPar (.CamAutomat.DataSize = sizeof(McCamAutParType_MyVar))
McCamAutParType

The marked code is missing in your program.

I didn’t know there was a difference between the two(Acapos and Common ParType). I solved it thank you soo much Martin.

Hi @Martin.Schrott ,
I’m trying to do some tests with the Axis feature Cam automat (mapp Motion 6.8.0, AS 6.5.3.11):

I don’t see anymore the selection: “Cam automat type”. Am I missing something?

Thanks
Ciao
Valerio

Yes the common and acopos automat are now synchronized and use the same structure. You should be able to read this in the version information.

Hi @valerio.manenti,

Corne is right.

Here is the Migration guide for mapp Axis 5.x to 6.x

In the cam automat some parameters can only be used with “ACOPOS” others only with “ProfGen”.
The “Description” of those start with the related tag.

Thanks so much @Martin.Schrott and @corne.geerts for your help!
Ciao
Valerio