Hello forum.
I am very new to PLC programming and I ask your help with resetting the timer in XG5000 ST. I have two water pumps that I want continuously to work for 20 min each, one after another.
I know how to set the timer (TON or TMR) but it works only once and doesn't reset timers for the next cycle.
My code looks like this for now:
TON1 (Enable , T#20m , Out1 , ET1);
TON2 (Out1, T#20m , Out2 , ET2);
Where I am wtrong?
Thank you in advance
Michael
I am very new to PLC programming and I ask your help with resetting the timer in XG5000 ST. I have two water pumps that I want continuously to work for 20 min each, one after another.
I know how to set the timer (TON or TMR) but it works only once and doesn't reset timers for the next cycle.
My code looks like this for now:
TON1 (Enable , T#20m , Out1 , ET1);
TON2 (Out1, T#20m , Out2 , ET2);
Where I am wtrong?
Thank you in advance
Michael