Understand a Programming example

This figure shows rungs to redefine the axis position of a motion control application program using the Motion Arm Watch (MAW) instruction.
Watch Position Example
This example shows the ladder logic to:
  • Create a watch position event
  • Enable an output when the trigger condition occurs.
Rung 0:
This rung arms a watch position event for Axis_1 when the arm_ watch bit transitions from false to true
When the MAW instruction begins executing, the Axis_1.WatchEvStatus bit resets. This bit sets when the actual position of 500 in the forward direction.
Rung 1:
This rung enables the cut output when the watch position occurs. (The MAW_1.PC bit sets when the watch position occurs.)
Understand program example_v31
The Motion Disarm Watch (MDW) instruction is used to disarm watch position event checking for the specified axis.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.