End position of motor model

The internal motor model operates in a range from 3% and 97%. Other positions are defined as end position and can cause an over travel.

If the controller cycle time causes longer pulses than 3% of the runtime, the modulating range decreases and the motor model detects earlier an end position.