Modulo axes
Control the axis in the Gearing.Config.Start structure as follows:
Interface in the IEC Editor
Procedure
- While the master axis is moving, the xStart start signal is set in the "Gearing" mode of the slave axis.
- With the configuration eTransitionType = "MASTERBASED" and eStartMode = "WITH_CW_CCW_REFERENCE_POSITION", the eGearingState state first switches from "STOPPED" (0) to "WAITING_FOR_STARTPOSITION" (1).
- As soon as the master axis crosses the trigger position (reference position - half of synchronization distance) (position of cursor), the master-based transition begins. The eGearingState state switches from "WAITING_FOR_STARTPOSITION" (1) to "GEAR_IN" (2).
- After traveling the configured synchronization distance lrGearInDistance, the eGearingState state switches from "GEAR_IN" (2) to "ACTIVE" (3).
Trace recording
[1] | Position of the master axis |
[2] | Speed of the master axis |
[3] | Acceleration of the master axis |
[4] | xStart start signal of the Gearing mode |
[5] | eGearingState state of the Gearing mode |
[6] | Position of the slave axis |
[7] | Speed of the slave axis |
[8] | Acceleration of the slave axis |