I'd like to figure out how to select direction in case of Move_Absolute with Modulo axis.
Axis always moves in shortest direction.
I'm using version 1.18 with Motion App... not SoftMotion Add-On.
Many thanks for any support.
I did a function MB_AxsPosAbs (see attachment), which extended the function ML_AxsPosAbs for the move direction of modulo axis.
(shortest way, positive, negative, current direction)
The function is done with the existing function of Motion library.
Because Plc is running on Core 2 and Motion on Core 3, there is a risk that fucntion block works with "old" value and so the result is wrong.
Restrictions of the function:
It is important to know, that the dynamic value (deceleration, jerkdec) of the actual active command must be equal to the dynamic value of the function MB_AxsPosAbs, because internal the actual braking distance is used.
Otherwise the function do not run in a proper way