Of course I can use an array. Am I right that I must must have for this an fixed point of return? But the value is every time different when speed of the motor is 0 because I have different motors. For Example the first time the ramp must go until 3, the next time until 3,5 and then till 5.
I tried it with the ramp pattern function and the case structur but I have some problems (When n>0 than increase, when n<0 than decrease). But when I compare the speed (if n<=0 than TRUE) it is only for a short time TRUE. Is there an possibility to set an value TRUE when I get an short impulse TRUE from the comparison?
Pascal