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
profgencamauto
I get an error( CamAutomat.Data.Size is Invalid expected is size of(McCamAutParType) ).


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.

2 Likes