Hello all,
I’m getting an error with the MC_BR_CamAutomatGetPar funtion. When I use MC_GearIn first then I use MC_BR_CamAutomatGetPar , I get an error.
The Logger is shown below:
Thanks,
Tung
Hi @nguyenthanhtung ,
I don’t think MC_BR_CamAutomatGetPar_AcpAx is designed to upload the parameters of an internal automat:
Have you tried to call that function block with one automat defined in your Axis feature?
Ciao
Valerio
Actually, I’m want to use all synchronous functions to show my to clients. After use MC_GearIn Or MC_CamIn then I can’t not use functions related to CamAutomat such as MC_BR_CamAutomatCommand, MC_BR_CamAutomatGetPar_AcpAx, it has an error with ID -1067317233. But when I warm start the controller and use the MC_BR_CamAutomatCommand frist, it still work.
Hi @nguyenthanhtung ,
Actually, I’m want to use all synchronous functions to show my to clients.
I guess you could choose a different path to explain how in B&R we implement the synchronization between axes (master - slave), you could start your presentation for example with only mapp Cockpit and zero lines of code:
Next step you could add couple of function blocks, MpAxisCoupling for Gear in and Cam in and MpAxisCamSequencer for Automat in you task.
In the final step I will present the PLCOpen motion function blocks.
You know step by step from top to bottom…
Just an idea
Ciao
Valerio