Positioning an Axis Before Starting Camming
The function block MC_CamStartPos is used to position a slave axis in its starting position for a MC_CamIn move with a slave absolute profile.
To position the slave axis for the MC_CamIn move, the typical programming sequence is:
- With the master axis at standstill, call MC_CamStartPos to determine the start position for the slave axis.
- Call MC_MoveAbsolute to move the slave axis to its start position.
- Call MC_CamIn with
StartMode = 0
(Start mode).
The MC_CamIn inputs MasterOffset, SlaveOffset, MasterScaling, and SlaveScaling should have the same values as used in the call to MC_CamStartPos.