Synchronizing directly with time-based transition
In the case of a time-based transition, synchronization is carried out during a settable period of time, regardless of the movement of the master axis.
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 eStartMode = "CW_CCW_DIRECT" and eTransitionType = "TIMEBASED", the eGearingState state switches immediately from "STOPPED" (0) to "GEAR_IN" (2).
- After the configured synchronization time lrGearInTime = "1.0" [s] has passed, the slave axis becomes synchronous. The eGearingState state switches from "GEAR_IN" (2) to "ACTIVE" (3).
- Then the master axis runs while the slave axis follows it.
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 |
A decisive factor for the time-based transition is that it is performed independently of the movement of the master axis.
Procedure
- While the master axis is in the idle state, the xStart start signal is set in the "Gearing" mode of the slave axis.
- With the configuration eStartMode = "CW_CCW_DIRECT" and eTransitionType = "TIMEBASED", the eGearingState state switches immediately from "STOPPED" (0) to "GEAR_IN" (2).
- The state is maintained until the configured synchronization time lrGearInTime = "1.0" [s] has passed. Only then does the slave axis become synchronous, even if the master axis is not moving. 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 |