You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old June 17th, 2023, 06:18 AM   #16
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
Chemical dosing pump

When I changed the NO of the counter to NC, it was working the other way round, so I change it back to the way it was, From the attached image, the High level sensor is seen at the second rung, to stop both the water solenoid and the pump.
Attached Images
File Type: png automation2.PNG (20.6 KB, 86 views)
  Reply With Quote
Old June 17th, 2023, 06:20 AM   #17
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
When I changed the NO of the counter to NC, it was working the other way round, so I change it back to the way it was, From the attached image, the High level sensor is seen at the second rung, to stop both the water solenoid and the pump.
Attached Images
File Type: png automation2.PNG (20.6 KB, 86 views)
  Reply With Quote
Old June 17th, 2023, 07:43 AM   #18
drbitboy
Lifetime Supporting Member
United States

drbitboy is online now
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
Quote:
Originally Posted by koloyewo View Post
When I changed the NO of the counter to NC, it was working the other way round, so I change it back to the way it was,

Ah, I see: you are inverting M2 and M3 (which effectively inverts C001 and C002, as I suggested) on the rungs feeding Q2 and Q3. If you replace M2 and M3 in those Break (NC) Contacts with C001 and C002, then you can eliminate the redundant --|C001|--(M2)-- and --|C002|--(M3)-- rungs. If you do not eliminate the redundant rungs, then you do not need to have the --|M1|-- Make Contacts on them.



Quote:
Originally Posted by koloyewo View Post
From the attached image, the High level sensor is seen at the second rung, to stop both the water solenoid and the pump.
Ah: this is a different ladder logic diagram than the one for which you asked for help to check it.
__________________
_
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.
  Reply With Quote
Old June 17th, 2023, 08:25 AM   #19
drbitboy
Lifetime Supporting Member
United States

drbitboy is online now
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
Simplify, eliminate redundant intermediate tags, and clean up.
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.
  Reply With Quote
Old June 17th, 2023, 08:26 AM   #20
drbitboy
Lifetime Supporting Member
United States

drbitboy is online now
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
You could even do this:
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.
  Reply With Quote
Old June 19th, 2023, 08:19 AM   #21
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
@drbitboy, thank you for the feedback, all corrections have been made. But I am still unable to upload the program onto the plc controller (logo siemens). "showing it could connect to the remote device". Kindly help me on thi
  Reply With Quote
Old June 19th, 2023, 08:39 AM   #22
drbitboy
Lifetime Supporting Member
United States

drbitboy is online now
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
Quote:
Originally Posted by koloyewo View Post
@drbitboy, thank you for the feedback, all corrections have been made. But I am still unable to upload the program onto the plc controller (logo siemens). "showing it could connect to the remote device". Kindly help me on thi

I do not have a LOGO! and have never connected to one, hopefully someone else could help you with that.

You could also try searching the forum.
__________________
_
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.
  Reply With Quote
Old June 26th, 2023, 02:53 AM   #23
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
Thank you for the reply, I have been able to connect and uploaded the program to the PLC, it was tested, everything working fine except the flowmeter. While the fluid was running through the flowmeter, it was not sending any signal to the PLC, hence the input signal of the PLC could detect any pulse. Kindly find attached the datasheet of the flowmeter.
Attached Images
File Type: jpg flowmeter1.jpg (103.6 KB, 60 views)
  Reply With Quote
Old June 26th, 2023, 02:57 AM   #24
parky
Member
United Kingdom

parky is offline
 
parky's Avatar
 
Join Date: Oct 2004
Location: Midlands
Posts: 5,248
The output is open collector, (NpN) in other words it will not drive a PNP type input, if the PLC is capable of sink/source connection should be ok if connected properly, or you could try connecting a 4.7k resistor to the input to 24v but this may reduce the frequency it will work at.
I once did this when a replacement flowmeter was NPN rather than PNP, it worked but it is only a guess that 4.7k will switch the voltage above & below the switching points of the input, generally, inputs are 10ma if I remember correctly, the other thing is that the signal is effectively inverted i.e. input is on when no signal but should not matter.

Last edited by parky; June 26th, 2023 at 03:04 AM.
  Reply With Quote
Old June 26th, 2023, 03:19 AM   #25
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
Do you mean connecting the 4.7k resistor or to the power supply or the input of the PLC
  Reply With Quote
Old June 26th, 2023, 03:19 AM   #26
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
And will the connection be in series or parallel
  Reply With Quote
Old June 26th, 2023, 04:16 AM   #27
parky
Member
United Kingdom

parky is offline
 
parky's Avatar
 
Join Date: Oct 2004
Location: Midlands
Posts: 5,248
Assuming you are using a PLC with PNP input i.e. 24v as a signal then as the output of the transistor in the flowmeter being NPN it actually pulses down i.e. sinks.
So use a pull up resistor connected as shown.
This gives 24v (well lower due to current being drawn by plc input but should be high enough to turn the input on, when the flowmeter turns on the output transistor in the flowmeter it drags the voltage down i.e. almost grounds it so the input to the plc goes low, it will depend on the input of the PLC but I believe a 4.7k resistor will allow enough voltage swing to stitch the input on & off.
normally you would use a flowmeter with PNP output that actually sources 24v via the emmiter of the FM output transistor
Shown is the output stage transistor of the flowmeter, this is connected to the PLC input (Source type) & the pull up resistor is connected to this & the supply.
Attached Images
File Type: png Pullup.png (6.4 KB, 60 views)
  Reply With Quote
Old September 18th, 2023, 07:03 AM   #28
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
Hello guys, thank you for your continuous support. Concerning my chemical dosing pump project, I have had some issues, the flow meter for the water is not working so I tried to modify the program, now only to be controlled by the solenoid valve, and if the water reaches the high level sensor, the solenoid valve should stop, and when the water goes low past the low level sensor the system should start back again. But at the moment from the program (attached), when the water reached the high level sensor, it stops the solenoid valve and starts back again when the water goes below the solenoid valve. Please help me on this.
Attached Images
File Type: png dosing_pump.PNG (19.2 KB, 33 views)
  Reply With Quote
Old September 18th, 2023, 08:39 AM   #29
drbitboy
Lifetime Supporting Member
United States

drbitboy is online now
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
1) The Start-On-High-Level/Stop-On-Low-Level circuit is the same as the Start/Stop Circuit pattern that is writing a 1 or 0 to the M1 bit (cf. here).


1.1) So you want summat like this back of the envelope:
PXL_20230918_122421429.png
2) I kept the "do it all on one rung" approach here, which saves instructions, but ...

2.1) moving each of those branches hanging on the Run System logic to its own rung, also adding a Normally Open contact that examines M1 to each, will spread out the logic and make troubleshooting later (e.g. when a sensor or input channel fails) much easier, and that is where the real money is saved.

2.2) I.e. this
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.

Last edited by drbitboy; September 18th, 2023 at 08:43 AM.
  Reply With Quote
Old September 18th, 2023, 09:08 AM   #30
koloyewo
Member
United Kingdom

koloyewo is offline
 
Join Date: Jun 2023
Location: England
Posts: 26
Thank you for the reply, I implemented program you sent, but when i simulated it, the start solenoid (Q2) did not come up, and that should happen after the flowmeter for the chemical reaches 33 pulses and and the counter deactivate the chemical pump.
Attached Images
File Type: png Dosing pump.PNG (36.3 KB, 26 views)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
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


All times are GMT -4. The time now is 08:14 PM.


.