PDA

View Full Version : PLC Controller


Lampshade
09-26-2009, 03:50 PM
So looking around EBay the other day i managed to pick up a PLC cheaper than most light timers. So, i bought it, and started thinking of the endless possibilities of having a PLC for my tank. It's just a small PLC(8inputs, 2analog, and 4 outputs), its expandable to more, so i'll be keeping an eye on EBay for deals. While i wait for the PLC to ship i've started writing a program for it. I have a thermocouple/tranmitter, so i have temp readings, which i can put on the display. I've seen PH monitors, but i think i might be able to find something more usefull for that second analog, possibly Salinity, or something else. So far i Have:

-Light Timer - the reason i got it
-Over Temp. Shutoffs - Heaters off, fans on, still hot and the MH lights will turn off
-Feed Cycle - Main Pump off for 15 min, and future output for a auto pellet feeder
-AutoTopoff - figured i could make a cheap float sensor/solinoid setup
-Skimmer Full - Another cheap float sensor, that just pops up on the display when the skimmer's full


I've seen that other people have PLC's in their tanks, and my biggest question would be, what is worth automating? What is usefull? There's usually a way to automate something cheaper than a night out, so what would be a good idea for something to try?

tikkle
09-26-2009, 05:18 PM
Do you have a sump?

mark
09-26-2009, 05:58 PM
I've got a PLC with dozens of channels and all I ended up using it for is to control my heater then a fan for evaporation. Overkill but is good though as my temperature is steady.

banditpowdercoat
09-26-2009, 06:52 PM
Sounds like you got a Siemens LOGO! I have a few of them running my tanks and ATO systems. :D

Skimmer full, use the float to control the skimmer air inlet. No air, no skimming, no chance of overflowing and spilling on your floor when your away or don't notice the full light.

Lampshade
09-26-2009, 09:00 PM
Do you have a sump?
Yes, i have 10g sump on a 55gal tank.

And yes, it is a Siemens LOGO!, great little things, used them at work for pretty much anything, half the time they're cheaper than buying relays. I like the idea with the air shutoff on the skimmer. I'm sure princess auto would have something that will work well for that, i'll see what kind of contraption i end up with.

tikkle
09-27-2009, 05:26 AM
I am using the controller mainly for auto top-off. When I was setting my tank, my bigger concern was over filling. My setup have 3 float switches in the sump and 1 in the tank. In the sump, 1 for top-off, 1 for low level, and 1 for high level. If the top-off switch doesn't stop the fill, the high level will. If sump water is low, turn off the return pump before pump goes poof. In the tank, if your overflow is plugged up, float switch will turn off the return pump. I programmed to have 30mins delay, then the top-off pump turn on. I use aqualifter pump for top-off because I want a slow top-off and if something wrong will the pump, the worse case is no top-off. Unlike using solenoid valve, if the valve stuck open, you know what happen.....

And of course individual output should be fused. You can do so much will that little thing. Have fun with it!

Is that a AC input or DC input?

banditpowdercoat
09-27-2009, 12:21 PM
Yes, i have 10g sump on a 55gal tank.

And yes, it is a Siemens LOGO!, great little things, used them at work for pretty much anything, half the time they're cheaper than buying relays. I like the idea with the air shutoff on the skimmer. I'm sure princess auto would have something that will work well for that, i'll see what kind of contraption i end up with.


Ya, They are great. I got a 16 input one controling my AT for 2 tanks. Soon, it will control water changes too. Then I have a Logo runingthe lighting for my tanks. I am always searching for a new version Logo though, last of the serial# 0BA6 those, you can hook th Logo TD display to. Then it will have feedback and easier visual monitoring :D

Lampshade
09-27-2009, 12:36 PM
Ya, They are great. I got a 16 input one controling my AT for 2 tanks. Soon, it will control water changes too. Then I have a Logo runingthe lighting for my tanks. I am always searching for a new version Logo though, last of the serial# 0BA6 those, you can hook th Logo TD display to. Then it will have feedback and easier visual monitoring :D

The new ones also have 4 analog inputs, which would be nice, i picked up a 0BA5, should work out alright, the TD display would have been nice though. The mini diplay screen is pretty customizeable on the older ones, so i'll see what i end up with on that.
I'm trying to find a way to use LOGO!soft comfort for the monitoring, and then use remote PC to be able to get info from my phone. I jsut need to find a way to have my LOGO! wirelessly transmit, so that i dont need to do house reno's hiding a cable.

banditpowdercoat
09-27-2009, 01:35 PM
Hmm, sounds inrteresting. I know about the analog inputs on the new Logo's. I use them all over the mine site here. Great little stand alone processors :D. Love the PT100 input modules. Direct temp measurement. Omega.com is great for sensors too.

Are you an electrician by chance, or just fooling around with them??

Lampshade
09-27-2009, 03:13 PM
I picked up a PT100 thermocouple with a 4-10mA transmitter, seemed cheaper than the PT100 module for the LOGO!, i'll just have to see how accurate it ends up being.
Transmitter (http://www.dwyer-inst.com/Products/Product.cfm?Group_ID=212&Product_ID=427&sPageName=Intro)
I took some courses with PLC's and industrial control, i used to work building custom industrial automated machinery. One day i'll have my own shop so i can play around again, but as for now, between a baby and a salt water fish tank theres not much money left for playing

banditpowdercoat
09-27-2009, 03:46 PM
Cool. That RTD converter should be fine. Another great place for sensors and stuff is Omega.com They'll send you ton's of huge catalogs for nothing :D If you need any help programming the logo's, let me know. We have a few here that I have installed lately (read:6) and im gettin pretty good at it LOL

As far as wireless communication, on a budget, I dunno :( would like to get one of their communication modules to see what can be done there...

byee
09-29-2009, 02:36 AM
Hey banditpowdercoat;

Which PLC based product did you purchase ??

If its the Arduino, check out - http://reefprojects.com/wiki/Main_Page. Its all open source !!

banditpowdercoat
09-29-2009, 03:04 AM
I got a few Siemens Logo's for now

Lampshade
09-29-2009, 03:59 AM
That looks pretty interesting, and would actually be pretty fun to set up. But after adding up all the parts you need, board, clock, IO, relays,LED's etc. I think the logo is still a far cheaper system. The big drawback is having to pick up relays for switching, the logo contacts are good for up to 10A each, so that'd power 1200W of lighting.
I picked up my logo for $50 shipped, with the software included. I already had the programming cable, but they are new for $40 usually... but i've seen them under $20 on EBay. i'm either going to butcher a laptop charger for the power supply, or use a power supply out of an old computer, i only need 1A at 12V-24V, so both are far overpowered, giving me extra capability for addons. I got a thermocouple+transmitter for $20 off eBay(notice a trend?), and other than that, its all set up.

I do like the idea with the Arduino, VERY custumizable, and with the C++ programming, it wouldn't be hard to make a nice PC program to monitor everything.

Maybe i should buy a bunch of LOGO's and start selling custom tank PLC setups, that could be the ticket to a much bigger tank :D

Vancouver Reefer
10-01-2009, 05:46 AM
If you want good, cheap PLC stuff check out here:

http://www.automationdirect.com/adc/Overview/Catalog/Programmable_Controllers/CLICK_Series_PLCs_(Stackable_Micro_Brick)

And if your looking for ideas on automation or the Arduino check out my webpage as im very deep into my own fully automated tank and controller:

http://richardorme1979.googlepages.com/home

If you would like any help give me a shout!!

VR