• You are viewing the forum as a Guest, please login (you can use your Facebook, Twitter, Google or Microsoft account to login) or register using this link: Log in or Sign Up
  • You can now follow UKAPS on Instagram.

How to use a PLC to control your fish tank.

ian_m

Global Moderator
UKAPS Team
Thread starter
Joined
25 Jan 2012
Messages
5,208
Location
Eastleigh
Unfortunately in my design I didn't use any analogue I/O. Zeus is the man to talk to, as he used both analogue inputs and outputs.

I do remember that this is how you connect a counter to an analogue output. You connect the counter count (B001) to one of the parameters of a mathematical block (B002) which then connects to the output.
upload_2020-4-30_18-8-38.png


You just the increment decrement the counter accordingly to vary the output. Handily you can add a multiply in the mathematical instruction so that say a count of 0-100 (for 100 steps of brightness) gives an analogue of 0-10,000. No point in having too many steps of brightness.
 
Joined
30 Apr 2020
Messages
4
Location
Belgium
thank you guys. I'm building something that I will be able to play with the percentages,as input from the HMI display and use that as the maximum setting over 12 hrs up and down ramping. Found some idea's also on the Siemens support page to control stagelights. More to come.
 
Joined
30 Apr 2020
Messages
4
Location
Belgium
Guys, than,ks to you and the Siemens Supportr page I build a 2-channel solution to control 0-10V. Attached is a view for 1 channel. I added a 'PHOTO SWITCH' that turns the white light to a higher level during 15 secs.
 

Attachments

  • LOGO LICHT.JPG
    LOGO LICHT.JPG
    198.3 KB · Views: 56

ian_m

Global Moderator
UKAPS Team
Thread starter
Joined
25 Jan 2012
Messages
5,208
Location
Eastleigh
Not touched my PLC for years. It just works 100%.

Did disable liquid carbon dosing when I ran out during lockdown.

Need to update sometime...
  • Running hours overflows back to 0 after 32,000 hours run time.
  • There is a spelling mistake on one screen.
  • Disable dosing if lights are on, which usually means I am water changing...
 
Top