|CODESYS - the IEC 61131-3 automation software
|Initial System Startup PLC-WAGO
|Page 1 of 1|
|Author:||sanchez9457 [ Fri Aug 17, 2018 5:40 am ]|
|Post subject:||Initial System Startup PLC-WAGO|
First time posting. Just had a general question. Wanted to see what ideas i could get for my code.
I have the following issue:
I have a pump that i install on my system with tubing x feet long that pulses out some liquid. When i start up my system i want to run the pump for x seconds to purge out air in the line. This is only done once. This means when i first install my pump, i purge out the air in the line for x seconds and never again even if my system is rebooted (memory retained). How would you guys approach this?
You time and effort is much apprecited
|Author:||espenbo [ Sat Sep 29, 2018 9:57 pm ]|
|Post subject:||Re: Initial System Startup PLC-WAGO|
I would do somthing like thise
On the first run iNIT_Bac_alarm variable is 0. And the IF sentence is true.
It goes true what should be set and last sets the iNIT_Bac_alarm variable to +1. Then it would not be true before it's set to 0 the next time it's reset.
Hope it helps
|Page 1 of 1||All times are UTC+01:00|
|Powered by phpBB® Forum Software © phpBB Limited