Adjust
The Adjust function is used to align the axis to the position specified by the operating mode. The specified position is calculated at a rising edge at xActivate. Depending on eModuloMode, the Adjust function determines the difference between the current position of the slave axis and the position specified by the operating mode. The difference is output via lrAdjustValue. When adjusting, this difference is moved to 0 and the axis is in this way brought to the specified position.
The following control and status variables are available:
Interface in the IEC Editor
The Adjust process can be controlled via xStart and via the dynamic parameters (lrVelocity, lrAcceleration, lrDeceleration, lrJerk). The dynamic parameters of the Adjust function are scaled in user units of the slave axis. The Adjust process is complete when OUT.xAdjusted is set to "TRUE" and OUT.lrAdjustValue is equal to 0.