Autor Thema: Swimming pool pump control PLC - VFD  (Gelesen 6199 mal)

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Swimming pool pump control PLC - VFD
« am: Februar 22, 2021, 18:43:53 Nachmittag »
I'm also a newbie.  Got to start somewhere right?
I have an easy 4 and easy 7 software
Using ST (seems easier to me)

Fb=pumpprime
Fb=pooltemperature
Fb=pumpspeed
Fb=pumptime


pumpprime should close DI 1  with pressure switch 1 or 0 and pumpprime =0 stop 
If pool temperature A1 is >/=68F then pumptime = 07:00 to 10:00 and 7:00 to 11:00
If pooltemperature A1 is <67.9F then pumptime = 08:00 to 10:00 and 9:00 to 11:00
pumpspeed=1400 RPM
Happyheretoo 😎

Offline weiss_nix

  • Sr. Member
  • ****
  • Beiträge: 594
  • it has to be easy, it's a easy!
Antw:Swimming pool pump control PLC - VFD
« Antwort #1 am: Februar 24, 2021, 09:33:33 Vormittag »
hi happyheretoo,

maybe the exampel in the atachment can help to solve your problem.

regards
« Letzte Änderung: Februar 24, 2021, 14:47:24 Nachmittag von weiss_nix »
Sollte ich (gefährliches) Halbwissen verbreiten, beuge ich demütig mein Haupt mit der Gewissheit versagt zu haben!
WICHTIG: Sämtliche Programme dienen lediglich der Veranschaulichung von Funktionen und sind nicht für den Produktiveinsatz geeignet!

Offline Frohnius

  • Jr. Member
  • **
  • Beiträge: 40
Antw:Swimming pool pump control PLC - VFD
« Antwort #2 am: Februar 24, 2021, 09:46:37 Vormittag »
hi,
a way to do this is ....


// to scale your analog in

LS01 ( 
   EN := ,
   I1 := IA1,
   X1 := 0,
   Y1 := -30,
   X2 := 4096,
   Y2 := 100,
   QV =>
);


// and enable a timer with the logic ... output of LS is lower than 50 for example
WT01 (
    EN := LS01QV < 50,
    Q1 =>
 );
 
// set the 2nd timer .. enabled like this one ...
// and the output is timer one or timer two




Offline weiss_nix

  • Sr. Member
  • ****
  • Beiträge: 594
  • it has to be easy, it's a easy!
Antw:Swimming pool pump control PLC - VFD
« Antwort #3 am: Februar 24, 2021, 10:00:52 Vormittag »
hi Frohnius,
we probably had the same idea  ;)
regards
Sollte ich (gefährliches) Halbwissen verbreiten, beuge ich demütig mein Haupt mit der Gewissheit versagt zu haben!
WICHTIG: Sämtliche Programme dienen lediglich der Veranschaulichung von Funktionen und sind nicht für den Produktiveinsatz geeignet!

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Antw:Swimming pool pump control PLC - VFD
« Antwort #4 am: Februar 28, 2021, 16:22:31 Nachmittag »
Thank you guys!!!!
OK I understand the 4096 that's the scale of the analog input
Seems I need timer for pump prime, say 60 seconds and look at D1   D1 =1 or 0
I blew it on time timer one 7:00 AM and 11:00 AM and timer two 21:00 to 1:00 AM
I will use F for temperature

Hooked up pressure switch and temperature sensor yesterday. Will get them wired in later this week   
Happyheretoo 😎

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Swimming pool pump control PLC - VFD
« Antwort #5 am: März 12, 2021, 02:25:03 Vormittag »
Hi still need help Easy 7 software ST
I think I get the scaling of the analog
How do I land the 3 wire RTD to the easy 4?  It has I1,I2,I3,I4,I5,I6,I7 and I8
I5 to I8 can be used for Analog  or digital on/off  Don't know where to land the 3 wires 

Need example of timer.  The provided example WT01 (EN; =LS01QV <50, Q1 => ); Not sure how this applies Would like to give the pump 60 seconds to prime and close a pressure on/off switch

Not sure as yet about pool temperature 5 hours or 8 hours 68F> =8 hours run 67.9< = 5 hours

Then pump speed in RPM or HZ  I will be using VFD for pump speed

I can already say thanks guys



 
Happyheretoo 😎

Offline weiss_nix

  • Sr. Member
  • ****
  • Beiträge: 594
  • it has to be easy, it's a easy!
Antw:Swimming pool pump control PLC - VFD
« Antwort #6 am: März 12, 2021, 10:55:44 Vormittag »
Hi,
at first: the E4 supports only 0 - 10 volts as analog IN, you need a converter from RTD to 0 (1) - 10V ...
what do you mean by VFD?
do you have a schematic drawing from your system with all the pieces (Pump, Valve, Relay, etc.)?

regards
Sollte ich (gefährliches) Halbwissen verbreiten, beuge ich demütig mein Haupt mit der Gewissheit versagt zu haben!
WICHTIG: Sämtliche Programme dienen lediglich der Veranschaulichung von Funktionen und sind nicht für den Produktiveinsatz geeignet!

Offline Frohnius

  • Jr. Member
  • **
  • Beiträge: 40
Antw:Swimming pool pump control PLC - VFD
« Antwort #7 am: März 12, 2021, 12:20:03 Nachmittag »

How do I land the 3 wire RTD to the easy 4?  It has I1,I2,I3,I4,I5,I6,I7 and I8
I5 to I8 can be used for Analog  or digital on/off  Don't know where to land the 3 wires 



the best way is to use a transducer ... which is able to connect a 3-wire sensor and gives out 0-10V to EasyE4
something like this ..
https://www.prelectronics.com/products/multifunctional/4100/universal-uni-bipolar-signal-transmitter-4104/




Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Swimming pool pump control PLC - VFD
« Antwort #8 am: März 12, 2021, 13:15:39 Nachmittag »
Thanks
Gee Easy4 has some quirks  I maybe better served to get Easy4 expansion that accepts RDT 3 wire

I think the Easy4 has an RJ45 port and so does my VFD drive
 I am hoping the 2 will communicate and Easy4 will send start, stop and speed information to the drive
Happyheretoo 😎

Offline Frohnius

  • Jr. Member
  • **
  • Beiträge: 40
Antw:Swimming pool pump control PLC - VFD
« Antwort #9 am: März 12, 2021, 20:54:20 Nachmittag »
one posibility is to use a analog output 20mA to control your VFD ....


but perhaps is possible to use modbus tcp protocoll  ::)

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Swimming pool pump control PLC - VFD
« Antwort #10 am: März 13, 2021, 22:02:37 Nachmittag »
I should be able to use TCP/IP to comm between the Easy4 and the Lentz SMV drive with the EtherNet/IP Communication Module
That maybe out of the realm with this forum

I am here because I know the Easy4 will take of the timing, alarms and schedule that the Lentz SMV does not

I have ordered the Eaton expansion module for Pt100 Ect  It is a P/N 197224-EASY-E4DC-4PE1

So first seems getting ST code then tackle all these other issues one at a time   
Happyheretoo 😎

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Antw:Swimming pool pump control PLC - VFD
« Antwort #11 am: März 15, 2021, 01:35:25 Vormittag »
I5=WT00 (

//analog temperature scaling
I9  ( EN := , I1 := IA1, X1 := 0, Y1 := -30.0, X2 := 4096, Y2 := 100.0, QV => );

// and enable a timer with the logic

WT01 ( EN:= LS09QV < 70.0, Q1 =>);
Then Q1= 7:00, 11:00; and 22:00, 2:00;

If WT01 (EN:= LS09QV > 69.9, Q1=>);
Then Q1= 8:00, 11:00 and 22:00, 1:00;

set the 2nd timer
.. Like this one ...
- and the output is timer one or timer two

Happyheretoo 😎

Offline CiesleRa

  • Global Moderator
  • Full Member
  • *****
  • Beiträge: 313
  • easyE4 for President
Antw:Swimming pool pump control PLC - VFD
« Antwort #12 am: März 15, 2021, 19:32:37 Nachmittag »
The easyE4 does not have the option to communicate via Ethernet/IP. Only Modbus-TCP is possible via the Ethernet interface and only as a Modbus server. Modbus client will probably be available from the middle of this year.
Alle von mir bereitgestellten Programme sind reine Beispielprojekte. Die Verwendung erfolgt auf eigene Gefahr. Jegliche Haftung ist ausgeschlossen.

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Antw:Swimming pool pump control PLC - VFD
« Antwort #13 am: März 20, 2021, 17:57:00 Nachmittag »
CiesleRa it is very interesting that when the RJ45 is plugged into the Easy4 the screen goes from "Not Connected" to
169.254.135.19 when the Lentz SMV with TCP/IP card is plugged in
Perhaps you can explain ?

weiss_nix VFD is Variable Frequency Drive
Plan is have Easy4 talk to VFD Via TCP/IP or ? on when to run and stop and what rpm to run at Ect...

Not sure I have the time ST syntax correct below Help!

I have been told by local (USA)folks that EASY4 will do all of this
Happyheretoo 😎

Offline happyheretoo

  • Newbie
  • *
  • Beiträge: 12
Antw:Swimming pool pump control PLC - VFD
« Antwort #14 am: März 28, 2021, 17:31:28 Nachmittag »
CiesleRa I am still wondering when you say Easy4 will not talk TCP/IP Check pages 599 to 629 of the Easy4 
easyE4 10/19 MN050009 EN

NET pages

Also I am thinking very different language to "Talk" through the RJ45 port on the Easy 4

I have connected to the Easy 4 with my laptop and Easy 7 software through the RJ45 port

Still trying to talk to the Lentz SMV Ethernet-IP card   Document is CMVETH01B
Seems when I get this Inverter talking I will be that much closer
Happyheretoo 😎