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 = "TIMEBASED" and eStartMode = "WITH_CW_CCW_REFERENCE_POSITION2", the eGearingState state switches directly from "STOPPED" (0) to "GEAR_IN" (2).
  • After the configured synchronization time lrGearInTime has passed, the eGearingState state switches from "GEAR_IN" (2) to "ACTIVE" (3).
  • The slave axis is synchronized so that is reaches its starting position at the configured reference position lrGearInReferencePosition.

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 time-based transition can also be used with modulo axes when the master axis is not moving as a replacement for an alignment motion, as shown in the following trace recording.

At the beginning of the sequence, the master axis is at the position "0.25"; the position of the slave axis is "0.0".

Procedure

  • While the master axis is not moving, the xStart start signal is given in the "Gearing" mode of the slave axis.
  • The reference position is set to lrGearInReferencePosition = "0.0"; the transition is configured to eTransitionType = "TIMEBASED".
  • While the master axis is still stationary, the eGearingState state switches from "STOPPED" (0) to "GEAR_IN" (2) and the slave axis transitions to the position of the master axis ("0.25").
  • At the end of the configured synchronization time lrGearInTime, the slave axis becomes synchronous. The eGearingState state switches from "GEAR_IN" (2) to "ACTIVE" (3).
  • When the master axis begins moving, the slave axis moves immediately in the correct phase.

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