matt_the_weird
Member
I would like to look at your program but, RS500 is telling unexpected file format.
I would like to look at your program but, RS500 is telling unexpected file format.
I would like to look at your program but, RS500 is telling unexpected file format.
Great!I am alive.
I like to see your finished setup before I go to beer heaven.I will try to make some progress in the following months.
Did you use the PID function blocks to control temperature?
The plan was to use discrete autotuning PIDs, like Kal's build. I, however, am considering implenting PID control through the PLC. I just need an RTD card!
I've been playing around with a Unitronics v350 and managed to heat water with it. The rest of the programming is above my head. They have an excellent free program which has drop in place PID function blocks.
The problem with the v350 is that it only has two pt100 inputs. I would have liked at least three. To get more I would have to upgrade to the v570 at considerable extra cost. It was kind of fun playing with thou.
Great info!
I have recently acquired an Direct Logic D0-06AR PLC and an MMI-850 Touch screen display. they did not come with the programming cables so I am making them myself.
I have no experience with the programming side of any of this and am not sure where to start. I have D/L the manuals but not getting much out of them.
I understand the ladder logic concept we used it in several of the plants I worked in but only used the touchscreens for troubleshooting etc. We had an engineer that did all the programming but he was not into teaching others anything about it.
Thought it couldn't be that hard but I am getting nowhere fast! LOL
Any help or shove in the right direction would be greatly appreciated.
I have built or modified all of my own brewing equipment and enjoy the satisfaction of learning new things along the way, but feel like I am in over my head with trying to automate/monitor my brewing process.
Thanks
I am more than willing to help. If you want inspiration checkout CladiusB and kladue setups! Those guys have working automated breweries.
Great info!
I have recently acquired an Direct Logic D0-06AR PLC and an MMI-850 Touch screen display. they did not come with the programming cables so I am making them myself.
I have no experience with the programming side of any of this and am not sure where to start. I have D/L the manuals but not getting much out of them.
I understand the ladder logic concept we used it in several of the plants I worked in but only used the touchscreens for troubleshooting etc. We had an engineer that did all the programming but he was not into teaching others anything about it.
Thought it couldn't be that hard but I am getting nowhere fast! LOL
Any help or shove in the right direction would be greatly appreciated.
I have built or modified all of my own brewing equipment and enjoy the satisfaction of learning new things along the way, but feel like I am in over my head with trying to automate/monitor my brewing process.
Thanks
I used a Direct Logic D0-05 (which i purchased off craigslist for a steal) to upgrade my home heating boiler control, and its a great little PLC. The directsoft programming software is decent but not as user friendly as the automation direct Click PLC. Also directsoft is ~$400 if your program is larger than the free version supports. I went with a Click PLC for my brew build based on price/ease of programming, not to mention the free programming software. The one caveat with the Click PLC is that it doesn't have a PID block so you will need to build your own, I think there are some examples online or I could send you my version. Personally, I'd consider selling the DL-06 and getting a Click (with analog I/O)...
Anyway, if you do stick with the DL-06 here are my lessons learned:
- DL and give a good read through the manual.
- If you're not already familiar, learn about all the numbering systems (Octal, BCD, hex, real...). You will likely need to do some conversions (which would be typically done automatically in the click plc software). There should be an appendix in the user manual explaining each type.
- Know the memory map table (should be in the manual) and create a spreadsheet with memory type, address ranges, and corresponding variable names.
- Plan your program structure. I like to use sub-routines to break up the different sections of my code according to brew process. For example:
Read I/O (every scan)
sub-routine1 Enter Recipie / Calc brew constants
sub-routine2 Mash
sub-routine3 Sparge
sub-routine4 Boil
sub-routine4 Cooling
Write I/O (every scan)
I can send you my Click PLC brew logic code, or my boiler logic code(directsoft) if you're interested in looking through it.
I used a Direct Logic D0-05 (which i purchased off craigslist for a steal) to upgrade my home heating boiler control, and its a great little PLC. The directsoft programming software is decent but not as user friendly as the automation direct Click PLC. Also directsoft is ~$400 if your program is larger than the free version supports. I went with a Click PLC for my brew build based on price/ease of programming, not to mention the free programming software. The one caveat with the Click PLC is that it doesn't have a PID block so you will need to build your own, I think there are some examples online or I could send you my version. Personally, I'd consider selling the DL-06 and getting a Click (with analog I/O)...
Anyway, if you do stick with the DL-06 here are my lessons learned:
- DL and give a good read through the manual.
- If you're not already familiar, learn about all the numbering systems (Octal, BCD, hex, real...). You will likely need to do some conversions (which would be typically done automatically in the click plc software). There should be an appendix in the user manual explaining each type.
- Know the memory map table (should be in the manual) and create a spreadsheet with memory type, address ranges, and corresponding variable names.
- Plan your program structure. I like to use sub-routines to break up the different sections of my code according to brew process. For example:
Read I/O (every scan)
sub-routine1 Enter Recipie / Calc brew constants
sub-routine2 Mash
sub-routine3 Sparge
sub-routine4 Boil
sub-routine4 Cooling
Write I/O (every scan)
I can send you my Click PLC brew logic code, or my boiler logic code(directsoft) if you're interested in looking through it.
As for the PID, personally I would keep the loop in the PLC for a couple of reasons.
It is possible on some of the stand alone PID units to control it from the DL-06 with a 4-20ma signal (or modbus), so that may be a way to hedge you bets.
- Have temperature data easily available to controller and HMI
- Ease of staging/enabling PID loops
- Ease of alarming / protective actions
- Ability to do more than simple PID (feed forward ctrl...)
I haven't tried it out yet but I have an SSR with a PCM-1 on it which takes a 4-20ma and converts it to the time proportional signal for the SSR. Bought mine off of ebay.... I think the latest version is the PCM-5. The pulsing is a bit slower than I'd prefer, but given the slow time constant of the system and the relatively limited actual brewing time I'm not to worried about overshooting temp or lifing of the element (heat stick RIMS in my case)
I would think that you could get away without autotune. My guess is an electrical setup will be pretty repeatable so once you have your gains tuned up you can set it and forget it.
My plan for the RIMS is to use flow and supply temp to calc the heat input needed. Then have a PID trim loop with minimal authority to trim out any error. This is a similar setup as I used on the job to control a 400KW(not a typo ) gas fuel heater using 3 SCR's.
Another option to save some cash is to use an arduino for additional I/O I have a Nano talking modbus rtu (RS485) to my PLC with 3 ds20b18 temp sensors and a DP pressure sensor for my bubbler level sensor. Total cost ~35 dollars (ebay). Now if I could only find time to get my build actually up and running. Working on this thing an hour here or there takes forever!
Yea your going to reach your MTBF quickly. If you have an analog out then go for it.
I found an Allen Bradley Micro830 on Ebay with 2 channels of motor control and two analog inputs. My dream is to build a RIMS system with a variable speed recirc pump to maintain liquid level above grain bed and a cascaded PID control to control Mash temperature. The programming software from Rockwell is free (just need to register) . I program for my day job in RSlogix 5000 so it will be a learning curve but came from old school Z80 control system application so hard could it be! I'm interested in your HMI workings as that is my weakness. Hopefully someone using Rockwells' Connected Components architecture will chime in.
Enter your email address to join: