LIM_L AND Y < LIM_H THEN LIM := FALSE; ELSE Y := LIMIT(LIM_L, Y, LIM_H); LIM := TRUE; END_IF; (* revision history hm 2. jun. 2008 rev 1.0 original version hm 5. nov. 2008 rev 1.1 optimized code *)]]>