Sample program showing first steps of energizing a servo/stepper axis with a Continuous Flow Chart (CFC) program with MC_Power and commanding motion via MC_MoveAbsolute or MC_MoveVelocity function blocks.
Axis is set as a Modulo axis. Commanding MC_MoveAbsolute while motor is jogging with MC_MoveVelocity will interrupt that move and complete the move to the absolute 180degree position (dynamic positioning). MC_MoveAbsolute direction input can be changed for current direction, positive or negative direction or shortest path.
Similar to sample projects installed when Parker Automation Manager software is installed. Default location:
C:\Program Files (x86)\Parker Hannifin\ParkerAutomationManager\CODESYS\Projects\SoftMotion\Examples\Tutorial