Motion SPT

Hello , I want to run the cam automat process in the driver using SPT and get quick feedback.
Which FB should I use, what should I do in the cfg table and features?
How can I proceed?

The cam automat is not an SPT fub.
The cam automat can be configured with a so called axis feature.

This axis feature has to be linked to an axis.


The automat is then already downloaded to the drive.
The automat can be read back to a plc variable with the MC_BR_CamAutomatGetPar_AcpAx fub from McAcpAx library. Changes to this structure can be written to the drive with MC_BR_CamAutomatSetPar_AcpAx fub.
For Start/Stop automat, signals and cam status information the MC_BR_CamAutomatCommand fub from McAxis must be used.
For more information about automat itself see following link from the online help:
B&R Online Help

2 Likes

With newer mapp Motion versions (>5.15) you could also use the MpAxisCamSequencer fub, which can do the same as the other mentioned fub’s.