Offsetting the phase position
You can use the XOffsetCorrection structure to control the phase shift. In the example below, the phase position is offset by half a cycle.
- Specify the dynamic parameters speed (IN.lrVelocity), acceleration (IN.lrAcceleration) and deceleration (IN.Deceleration).
- Set IN.lrCorrection to "0.5".
- Set IN.xStart to "TRUE".
- The phase position is offset by half a cycle:
[1] | SEW_GVL_Internal.Axis1._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrPosition |
[2] | SEW_GVL_Internal.Axis1._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrVelocity |
[3] | SEW_GVL_Internal.Axis1._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrAcceleration |
[4] | SEW_GVL.Interface_Axis2.ProfileGeneration.Camming.XOffsetCorrection.In.xStart |
[5] | SEW_GVL_Internal.Axis2._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrPosition |
[6] | SEW_GVL_Internal.Axis2._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrVelocity |
[7] | SEW_GVL_Internal.Axis2._fbProfileGenerationControl._stOUTInterpolation.stSetpointsUserUnits.lrAcceleration |
[8] | SEW_GVL.Interface_Axis2.ProfileGeneration.Camming.XOffsetCorrection.Out.xInPosition |
Note:
Following xStart = "TRUE" at XOffsetCorrection, the phase position is offset by lrCorrection (in this example: 0.5). Once the phase shift is set, xInPosition becomes "TRUE".