You don't need to use the whole instruction. It'll work if you use it like this: TON_Inst(IN:= g_bool1 ,PT:= T#10s);
And you can use multiple condition in the "IN:=" section, for example: TON_Inst(IN:= (g_bool1 AND g_bool2 AND ect...), PT:= T#10s);
If you use it like this, you can refer to the operation condition of the timer in the further program lines like this: TON_Inst.Q