easy-forum

Deutsch - Hardware => easyE4 => Thema gestartet von: happyheretoo am Februar 22, 2021, 18:43:53 Nachmittag

Titel: Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: weiss_nix am Februar 24, 2021, 09:33:33 Vormittag
hi happyheretoo,

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

regards
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: Frohnius 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



Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: weiss_nix am Februar 24, 2021, 10:00:52 Vormittag
hi Frohnius,
we probably had the same idea  ;)
regards
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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   
Titel: Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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



 
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: weiss_nix 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
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: Frohnius 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/



Titel: Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: Frohnius 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  ::)
Titel: Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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   
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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

Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: CiesleRa 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.
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo 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
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: radar17892 am März 28, 2021, 19:55:39 Nachmittag
Hi happyheretoo,
the E4 has an mini Webserver running and communicate with other PLC's or Visu over Modbus TCP only in slave mode. TCP/IP or another network services are not supportet.

regards Thomas
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo am März 30, 2021, 01:18:48 Vormittag
JPG below is from MODBUS RTU out of the VFD  How do I get this into the Easy 4 RJ-45 port? 
what will be the pin out at the RJ-45 plug ?
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: CiesleRa am März 30, 2021, 08:57:43 Vormittag
The easyE4 does not support Modbus-RTU!
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo am April 01, 2021, 02:07:27 Vormittag
Gosh!
Maybe I should have asked what the Eaton Easy 4 can do?  Sounds like that will be a shorter list
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo am April 10, 2021, 02:06:53 Vormittag
Well here I am with an Easy 4 PLC with a Lentz SMV Variable Frequency Drive
I have a TCP/IP communication card and now a Modbus RTU communication card
Neither will talk to each other. 

Any ideas? 
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: happyheretoo am April 10, 2021, 17:22:52 Nachmittag
My Lentz SMV will talk these protocols-

 DeviceNet

Profibus

CANopen

Modbus RTU

Ethernet/IP

So what in the heck can Easy 4 do?
Titel: Antw:Swimming pool pump control PLC - VFD
Beitrag von: radar17892 am April 10, 2021, 20:05:13 Nachmittag
The E4 talk over ModbusTCP only! An other Device (XV or your Drive) must be a master and E4 is slave. E4 can't work as an master.