![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#46 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
This is the modified program, but is not working based on your logic, i have explained how i want it to wort in my previous comments, but if you are still nor clear, tell m, i will explain further
|
![]() |
![]() |
#47 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
This is the modified program, but is not working based on your logic, i have explained how i want it to wort in my previous comments, but if you are still nor clear, tell m, i will explain further
|
![]() |
![]() |
#48 | |
Lifetime Supporting Member
|
Is this correct?
Quote:
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
|
![]() |
![]() |
#49 | |
Lifetime Supporting Member
|
Quote:
Like I said, in my back of the envelope start/stop circuit, I swapped the low and high level sensor contacts. So swap I3 and I6 in that last branch, i.e. the one that controls Q2; I6 (water low) should be examined by an NO contact; I3 (water high) should be examined by an NC contact. Also, if you want to ensure the process starts when the start button is pressed even if the water level is not low, put an NO contact with I1 in parallel with the NO contacts of the I6 and the Q2 seal-in branches. PXL_20230919_120837619.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
|
![]() |
![]() |
#50 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
It is still not working, when Q3 is off, Q2 needs to come on, and that can only happen if I3 is NC, but when I3 turns to NO, i do not want it to affect Q2 by turning it off. thanks
|
![]() |
![]() |
#51 | |
Supporting Member
|
Quote:
I've attached a screenshot of how I would program this (this is in AB Studio 5000 but it works the same). If indeed your high level switch opens when water reaches it, you would program it the bottom way, but I typically run into the situation where the switches close when floating, in which case it would be programmed the top way. In that situation, the low level float I6 is typically floating, so it's closed and will open once the water pumps down that far and Q2 will go false, and the pump will stop until the high level float I3 closes, starting the pump and then sealing itself in around I3 which should go false quickly, but Q2 will stay on until it hits I6 again, rinse and repeat. The stop button needs to be outside of the parallel start rungs so that it breaks the "power flow", if left the way you have it, it will not stop the pump if I3 or Q2 are already true (I also programmed an NC stop button out of habit). I'm wondering if maybe you have the address labelled as Stop but are actually using it as a Start PB? I think a few photos/screenshots from you (or even a video if you can) of the system state and the program state would really help us troubleshoot with you. Last edited by mylespetro; September 19th, 2023 at 08:48 AM. |
|
![]() |
![]() |
#52 | |
Lifetime Supporting Member
|
Quote:
Terminology is important, so please note that booleans CANNOT be described as "NC" or "NO" i.e. the phrases "I3 is NC" or "I3 is NO" have no sensible meaning.
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. Last edited by drbitboy; September 19th, 2023 at 10:06 AM. |
|
![]() |
![]() |
#53 | |
Lifetime Supporting Member
|
![]() Quote:
@koloyewo needs to better understand the Start/Stop Circuit pattern (e.g. here), NC contacts, and NO contacts; apparently, so do I ![]() PXL_20230919_120837619.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. Last edited by drbitboy; September 19th, 2023 at 10:08 AM. |
|
![]() |
![]() |
#54 |
Lifetime Supporting Member
|
@koloyewo:
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
![]() |
![]() |
#55 | |
Supporting Member
|
Quote:
|
|
![]() |
![]() |
#56 |
Lifetime Supporting Member
|
According to two previous posts by @koloyewo (see attached image), a high water level (i.e. a water above the high water level sensor) should be writing a 1 to the value of discrete input I3, so a water level below the high water level sensor should be writing a 0 to the value of discrete input I3.
So if a high water level should close Q2, then the type of contact for the "Stop" condition in the "Start/Stop" Circuit pattern for Q2 should be an NC contact, which will
Untitled.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
![]() |
![]() |
#57 |
Lifetime Supporting Member
|
@koloyewo:
In the original program (Post #42), the low water level edge detection occurs when the value of I3 changes from 0 to 1. In Posts #28, #30, and #47, the low water level edge detection (SF001) occurs when the value of I3 changes from 1 to 0, which resets a counter. Do you want the counter to reset when the level rises (transitions) from low to not-low, or when the level drops (transitions) from not-low to low? What is the value of I3, 1 or 0, when the water level is below the low level sensor?
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
![]() |
![]() |
#58 |
Lifetime Supporting Member
|
[Ignore previous Post #57; I fixed typos for low level input, it's I6 not I3.]
@koloyewo: In the original program (Post #42), the low water level edge detection occurs when the value of I6 changes from 0 to 1. In Posts #28, #30, and #47, the low water level edge detection (SF001) occurs when the value of I6 changes from 1 to 0, which resets a counter. Do you want the counter to reset when the level rises (transitions) from low to not-low, or when the level drops (transitions) from not-low to low? What is the value of I6, 1 or 0, when the water level is below the low level sensor?
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
![]() |
![]() |
#59 |
Lifetime Supporting Member
|
No need to apologize, @koloyewo uses inconsistent and/or incomprehensible descriptions (e.g. "stop the solenoid valve"), and also makes many typos, regarding tag names and what they do, in almost every one of their posts. Not that my posts have been any better LOL. OP's flag is UK but it appears we are separated by a common language.
I doubt we know yet either how this system operates or precisely what the control system is supposed to accomplish. It may be a dosing system but apparently it cannot measure at least one of the component flows; that was an interesting development. I have posted a couple of "is this correct?" queries and have yet to see any complete answers. Apparently OP has the impression that our super powers include X-ray vision and/or reading minds; it's a typical thread, I guess ![]()
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. |
![]() |
![]() |
#60 |
Member
|
Well it took me about 10 mins to code this assumes that the process is on low level & the run latch is on then the water valve opens and the chem dosing valve, it also assumes the chem dosing is shorter than the time it takes to fill the tank to high level, when the dosing pulse count = the required count it turns off the dosing solenoid, the water continues until it hits high level, it will not start again until the level falls below the low level.
UIf this is what you want then it is pretty simple. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow control using dosing pump and Coriolis flow meter | mylespetro | LIVE PLC Questions And Answers | 22 | February 16th, 2022 01:46 PM |
Pump Control with a PLC | MisterEzell | LIVE PLC Questions And Answers | 18 | September 20th, 2021 10:37 PM |
way OT: Proper installation of effluent pump in septic system advice needed. | Sliver | LIVE PLC Questions And Answers | 17 | October 19th, 2009 08:54 AM |
motor alternating directsoft 32 on a DL06 | DRThorne | LIVE PLC Questions And Answers | 15 | November 9th, 2006 09:05 PM |
Again and again. How to start? | Alex Pel | LIVE PLC Questions And Answers | 33 | December 31st, 2004 12:10 PM |