Can normal PLC be use?

siggy

My Aquariums Going Again
View Badges
Joined
Feb 16, 2017
Messages
7,123
Reaction score
21,417
Location
MI
Rating - 0%
0   0   0
I used a Schneider twido in the past.Good option as software is free from Schneider. Easy to program and way more functions than apex.
Free software is always a good thing with this stuff, but you need to be careful before you purchase a plc, I use some Omeron ZEN programmable timers (mini-plc) and the SW is supposedly free, right! to look and flip Zeros, to develop a new system you need the full version.

@kenbut Welcome to the club! Why not post a greeting in the meet and greet forum here.
 

ZaneTer

Well-Known Member
View Badges
Joined
Jan 14, 2018
Messages
922
Reaction score
878
Rating - 0%
0   0   0
So I decided to build myself an alkalinity tester. I am using cheap chinese peristaltic pumps for some of the functions but for the reagent dosing I am using a stepper motor and driver connected to my PLC. In my case I am measuring the dosing time to reach a pH of 4.5

Initial results were sketchy to say the least.

The first attempt was all cheap peristaltic pumps and it was a disaster in my opinion. Accuracy was about 1dkh.

The next step was to include a stepper motor. That also didn’t start well because I was originally trying to drive it via mechanical relay as it required a 5v pulse signal. The problem was the switch bounce being interpreted as pulses.

I decided instead to use the 24v output directly and a 2.2k ohm resistor. This worked great.

The latest tests are all coming with a deviation no greater than 0.05dkh

Test time is long at roughly 20min.

I also use roughly 140ml per test. I am limited by my test container. Otherwise I could have been able to get it to less than 40ml per test. At a later date I will probably replace the sample container.

One last thing to note is I drop the reagent in via a hypodermic needle. The needle shape forces small regular droplets to be mixed in instead of larger drops.

Feel free to ask questions.

Oh total cost so far for everything is about £150 (could have been much less if I had done it right the first time)
 

ZaneTer

Well-Known Member
View Badges
Joined
Jan 14, 2018
Messages
922
Reaction score
878
Rating - 0%
0   0   0
Alkalinity tester code:

upload_2019-6-14_15-9-47.png


upload_2019-6-14_15-12-38.png

upload_2019-6-14_15-13-0.png

upload_2019-6-14_15-13-42.png

upload_2019-6-14_15-14-5.png


upload_2019-6-14_15-15-46.png


upload_2019-6-14_15-16-4.png


upload_2019-6-14_15-16-24.png


upload_2019-6-14_15-9-22.png
 

ZaneTer

Well-Known Member
View Badges
Joined
Jan 14, 2018
Messages
922
Reaction score
878
Rating - 0%
0   0   0
There is another calibration block for the dosing heads and another one for the digital outputs related to the alkalinity test. The output to the stepper is currently running a pulse at 40ms intervals. This creates a nice drip about every 5 seconds.
 

Silver14SS

Valuable Member
View Badges
Joined
Apr 8, 2017
Messages
2,383
Reaction score
4,364
Location
NC
Rating - 0%
0   0   0
Thank you for sharing these details, lots for me to learn about in this thread!

giphy.gif
 

JJ2233

New Member
View Badges
Joined
Mar 20, 2024
Messages
1
Reaction score
0
Location
Australia
Rating - 0%
0   0   0
Good morning Ang

Yes, we can definitely use a PLC for aquarium control. This is exactly how i control my reef. It allows me remote access, event logging, alarm logging, monitoring and control. What type of PLC were you thinking of using? If you are opting for Siemens you are welcome to take a copy of my code for PLC and HMI.

Thanks
Zane
Hi, I am looking to use a spare s7-200 I have to set up a salt water monitoring system. Did you have a copy of your program I could view and sensors you are using?
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 24 14.6%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 11 6.7%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.6%
  • I wear reef gear primarily to relax where I live.

    Votes: 23 14.0%
  • I don’t wear gear from reef brands.

    Votes: 94 57.3%
  • Other.

    Votes: 11 6.7%
Back
Top