PLC API NOTICE Target position overshoot! If a new parameter set of type "eCTRL_NEW_POS_TYPE_Instant" in which the deceleration is reduced is given to the function block it is possible that the old target position will be exceeded. Sample : stParams.fTargetPos := 1000.0; stParams.fStartPos := 0.0; stParams.fVelocity := 500.0; stParams.fAcceleration := 1000.0; stParams.fDeceleration := 1000.0; IF fSetPos > 800.0 THEN stParams.fTargetPos := 400.0; stParams.fVelocity := 500.0; stParams.fAcceleration := 1_000.0; stParams.fDeceleration := 500.0; stParams.eNewPosType := eCTRL_NEW_POS_TYPE_Instant; END_IF TF4100 161 Version: 2.2.4