Linear 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 = "NONE" 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 configured reference position lrGearInReferencePosition = "400.0" (position of the cursor), the slave axis becomes synchronous. The eGearingState state switches from "WAITING_FOR_STARTPOSITION" (1) 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