= pt; IF Q THEN last := tx; END_IF; (* revision hiostory hm 25 feb 2007 rev 1.1 rewritten code for higher performance pt can now be changed during runtime hm 17. sep 2007 rev 1.2 replaced time() with t_plc_ms() for compatibility reasons hm 25. oct. 2008 rev 1.3 optimized code *)]]>