I am new to Unity Pro S, I would like to get some help for assigning 5m to the preset delay time parameter in the TON (timer on) FBI (function block instance). Format is t#5m for 5 minutes, however if I get the 5 min input from the HMI, how can I assign the 5m to a variable EDT (elementary data type) and feed to the function block. I would like to keep it simple, possible for assigning INT data type or I have to use the TIME data type? Say I assign it to the a variable called "ON_DELAY_TIME", how can I feed to the t#5m? So frustrated!
Regards.
Regards.