PROGRAM MAIN VAR t : TON; q : BOOL; END_VAR t(in := TRUE, pt := T#30ms); q := t.Q; END_PROGRAM