Direction of rotation reversal does not work if a 1 or 0 is alternately applied to the "Direction" input.

A reversal of the direction of rotation can not be realized abruptly, because in the startup in the C-code a time of 500 ms passes through for the calculation of the offset.
The input "Motor PWM Duty cycle" should have a delay on from
600 ms upstream if a reversal of direction is to take place.