Programming Example

The following ladder diagram examples show how to perform motion commands.
  1. Enable axis and reset fault (without using brake)
    If brake is used, an external brake fault can cause the axis to fault. Consider a different method to handle an axis fault.
  2. Home command
    You must configure the relevant configuration tags before using the Home command. For more information, see Home.
  3. Set Home Position command
  4. Move Velocity command
  5. Absolute Move Position command (Set O.Axis01.AbsoluteMove to 1)
  6. Jog command
    You must configure the relevant configuration tags before using the Jog command. For more information, see Jog.
    Once the Jog command executes, use O.Axis01.JogForward and O.Axis01.JogReverse to move the motor.
  7. Stop command
    You must configure the type of stop behavior with O.Axis01.HardStop before using this command. For more information, see Stop.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal