Step 10: Ready, axis moved!
Motion of axis starts if value of variable StartMotion at FB MC_Move_Relative_1 is forced to value TRUE. Current position of the axis is displayed at output variable Position at FB MC_ReadActualPosition_1.
Figure below shows the state of FBs and variables at the end of the commanded motion. Value TRUE at output variable Done of FB MC_MoveRelative_1 informs us, that the motion is finished. Done remains TRUE until falling edge at input Execute is detected. We can do this by forcing value of input Execute to FALSE.