![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#31 |
Supporting Member
|
Looks to me like I3 (I believe, kind of hard to read) needs to go active to pull in Q2, which will then be "sealed in" by its own contact below I3. I only skimmed over the earlier posts so I'm not exactly sure what I3 is (high level?), but going on the red lines, it looks like it's active up to I3, and then the contact after it is highlighted red, which leads me to my conclusion that I3 didn't go active.
|
![]() |
![]() |
#32 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
I3 is the high level sensor, when the water reaches I3, I want the I3 to stop Q2. When the water is going down, (you know I3 will change state) but I do not want that to affect Q2 by turning it on again, until it reaches I6 which is low level, and start the process all over again.
|
![]() |
![]() |
#33 |
Supporting Member
|
So when the water level is normal, or NOT high, is I3 active? I.e. is it normally closed and opens on high water level, or normally open and closes on high water level?
|
![]() |
![]() |
#34 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
When water is normal or not high, I3 is NC or should remain active till the water is high, then I3 opens and stops Q2, when the water is going down, I3 should not have any effect on Q2 again, till the water goes to I6(low sensor), and start the process all over again
|
![]() |
![]() |
#35 |
Supporting Member
|
If I3 indeed opens when water level touches the sensor/switch, I think you need to change the instruction to be an NC instruction (examine if closed or XIC in Allen-Bradley speak), because currently in your screenshot I3 is not active, but if it's active when water is normal it would start the pump Q2 if programmed that way. I normally see high level switches (floats) as normally open when hanging and closed when floating in water.
EDIT: To clarify what I'm trying to say, if I3 is indeed active (as in the input is ON) when the water level is normal, your logic will attempt to start the pump when water level is high. Last edited by mylespetro; September 18th, 2023 at 02:59 PM. |
![]() |
![]() |
#36 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
yes I3 is closed, and opens when water touches it, which closes the Q2, when water moves away from it, it changes state thereby opening Q2, and i dont want that to happen, when I3 is closed wehn water is going down it should not affect !3 again, that is my problem
|
![]() |
![]() |
#37 |
Supporting Member
|
Disregarding that the logic doesn't really seem to indicate it should work that way based on the action of the switch, if Q2 is turning on based on the status of I3, it should stay on until I6 drops out due to the seal-in around I3.
|
![]() |
![]() |
#38 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
All i want is just to make I3 stop Q2 and not turn it back on
|
![]() |
![]() |
#39 |
Lifetime Supporting Member
|
Do you want Q2 to stop (become 0) when I3 changes from 0 to 1 (i.e. when I3 is 1), or do you want Q2 to stop (become 0) when I3 changes from 1 to 0 (i.e. when I3 is 0)? What do you want to happen that makes Q2 become 1? We still do not have an accurate and complete understanding of how this process is set up or what the control system is trying to achieve. Part of the problem is that, throughout this thread, the description of the process uses terms like open/close, active/inactive, up/down, above/below, and start/stop, and it uses those terms indiscriminately for pumps and valves and flows and level sensors. I do understand that, if there is a head or pressure difference (e.g. from a pump) in piping across a valve, then opening that valve when it was initially closed will start (allow) flow through that valve, and closing that valve when it was initially opened will stop (prevent) flow through a valve. And I understand that a valve can have stops on its positioning device (lever or stem or whatever). But I do not understand what it means to "stop a valve."
__________________
_ 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 18th, 2023 at 03:46 PM. |
![]() |
![]() |
#40 |
Lifetime Supporting Member
|
I am pretty sure that, in Post #29, I switched the logic
What Start Condition, Stop Condition, and Run mean, and whether the ladder programm contacts are NO or NC, for your process will depend on the actual sensors and actual wiring of your actual process.
__________________
_ 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. |
![]() |
![]() |
#41 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
Hello guys, here is the over view of the project:
i1 = start push button i2 = stop push button i7 = chemical low level sensor i6 = main tank low level sensor i3 = main tank high level sensor i4 = water flow pulse meter Q1 = Chemical pump Q2 = water solenoid valve Now when start button is pressed, chemical pump should start and run till the set flow meter pulses reaches which is connected to a counter, the chemical pump stops and the water solenoid opens, and when the water reaches the high level tank, the high level sensor should stop the solenoid valve, when the water goes below the high level sensor, it should not turn on the solenoid valve. the process should stsrt again when the water reaches the low level sensor/ |
![]() |
![]() |
#42 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
This was the initial program, but now the water flow meter is faulty, so I am modifying the program to work without the water flow meter
|
![]() |
![]() |
#43 | |
Lifetime Supporting Member
|
We need more information. From the image logic and comments, the following ladder logic states are inferred for the inputs and outputs.
Note that the ladder logic sense (0 or 1) of level above and level below for the two low level sensors is different than that of the high level sensor. That said, 1 means high for high level sensor and 1 means low for the low level sensor. 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. |
|
![]() |
![]() |
#44 |
Lifetime Supporting Member
|
Then why are water flowmeter pulses accumulated by counter C002 "Water dose complete," and then that C002 "count complete" bit used to control Q2 (the water solenoid valve)?
__________________
_ 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. |
![]() |
![]() |
#45 |
Member
![]() ![]() Join Date: Jun 2023
Location: England
Posts: 26
|
Like i said, that was the previous program, i have modified it not to include the water flow meter
|
![]() |
![]() |
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 |