Has anyone used Cam Automat in mapp Motion without the Axis feature, similar to how it was done in ACP10? I’m currently using MC_BR_CamAutomatCommand
along with MC_BR_CamAutomatSetPar_AcpAx
to configure the Cam Automat, but I keep encountering the following error:
Command: CamAutomatCommandFailed – Too many changes of cam per cycle (master period too short).
I’ve set up a basic Cam Automat configuration for testing purposes.
McAcpAxCamAutPar.Common.Master.MasterStartPosition := 0.0;
McAcpAxCamAutPar.Common.Master.MasterStartInterval := 0;
McAcpAxCamAutPar.Common.Master.MasterAxis := ADR(gAxis_Master);
McAcpAxCamAutPar.Common.Master.MaxMasterVelocity := 10000.0;
//-----------------------------------------------------------------------------------------//
// Cam Automat calulations //
//-----------------------------------------------------------------------------------------//
McAcpAxCamAutPar.State[0].CompensationMode := mcCOMP_OFF;
McAcpAxCamAutPar.State[0].MasterFactor := 10000;
McAcpAxCamAutPar.State[0].SlaveFactor := 0;
//------------------------------------------------------------------------------//
McAcpAxCamAutPar.State[0].Event[0].Type := mcEVENT_STATE_END;
McAcpAxCamAutPar.State[0].Event[0].Transition := mcEVENT_END_OF_STATE;
McAcpAxCamAutPar.State[0].Event[0].NextState := 1;
(*********************** State 1: move state ************************************)
McAcpAxCamAutPar.State[1].CompensationMode := mcCOMP_OFF;
McAcpAxCamAutPar.State[1].MasterFactor := 360000;
McAcpAxCamAutPar.State[1].SlaveFactor := 3600;
//------------------------------------------------------------------------------//
McAcpAxCamAutPar.State[1].Event[0].Type := mcEVENT_STATE_END;
McAcpAxCamAutPar.State[1].Event[0].Transition := mcEVENT_END_OF_STATE;
McAcpAxCamAutPar.State[1].Event[0].NextState := 1;
Am I using this correctly, or is there a different way to handle it in mapp Motion compared to how it was done in ACP10?
I’ve set up a basic Cam Automat configuration for testing purposes.
Thanks