Hi,
What is the best way to set dynamically time for TON timer ? Time should be in ms.
Example:
timer1: TON;
calculatedTime : UINT;
calculatedTime := x/y;
want to set that calulatedTime someway to PT:=calculatedTime ??
timer1(IN:=TRUE , PT:=t#xxxms , Q=> , ET=> );
What is the best way to set dynamically time for TON timer ? Time should be in ms.
Example:
timer1: TON;
calculatedTime : UINT;
calculatedTime := x/y;
want to set that calulatedTime someway to PT:=calculatedTime ??
timer1(IN:=TRUE , PT:=t#xxxms , Q=> , ET=> );