12/2/2020 10:27 AM | |
Posts: 11 Rating:
|
Hi. hope to finde some help/ guidance here. so i have a S7-1212 i have written a small ladder program to controll 3 watervalves my problem i just cant get my head arround on how to controll them on a time schedule. here is the scenario: manual and auto mode in auto i press start. first we check all valves are closed. then we check if we have a minimum pressure. when we have pressure the timer starts and valve 1 opens. after 20 minutes valve 1 closes again and valve 2 opens. after 30 minutes valve 2 closes and valve 3 opens. after 20 minutes valve 3 closes and we start all over again valve 1 opens and so on. any hints ?? here is the basic manual mode ladder AttachmentScreenshots.zip (455 Downloads) |
Last edited by: BSTT at: 12/02/2020 12:33:56Last edited by: Jen_Moderator at: 04/08/2021 06:26:41Added embedded images as an attachment. |
|
12/2/2020 10:50 AM | |
Joined: 9/23/2005 Last visit: 8/23/2024 Posts: 4671 Rating:
|
And the answer is a finite state machine. Or in LAD. |
Last edited by: jacek d at: 12/02/2020 10:53:57Regards, |
|
Follow us on