All BCS users...post your programming!

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Beeskneesbrew

Well-Known Member
Joined
Mar 15, 2011
Messages
128
Reaction score
3
Location
Des Moines
For all of us newer to the bcs system, be it a 460 or 462 post screen shots or the actual programming. I think this would serve a great purpose for those of us that are lost a dont know where to start.

Thanks,
Matt:mug:
 
Okay here is my Mash 151 process. I think its fairly simple The probe in mash tun controls the recirculation pump and the HLT is set for 3ºF above my desired mash temp. I have the HLT PID controlled and the Mash as a differential controlled element. There is a lot more the BCS can do I just have not gotten too crazy with it yet.
Mash-151.jpg
 
Thanks for starting this thread. I am in the middle of my control panel build and like most I am sure, I am not sure where to go program wise.

Looking forward to seeing the different setups.

Ben
 
Great idea. Does anybody know how to upload text files?
 
I use a BCS-462 for mash and fermentation control. Boil is done on a non-automated propane burner. My current processes are Mash, Sparge, Fermenter Heat (five of these) and a Freezer process to control cooling in a shared fermentation chamber.

I went to pastebin as Carter05 suggested. Here are the processes:

Mash
http://pastebin.com/xevU3Wr8

Sparge
http://pastebin.com/wvsq9zNA

Fermenter Heat
http://pastebin.com/2S2YyZ0f

Freezer
http://pastebin.com/t1Q1cG68

Can anybody confirm that they are able to load/view one of these on their own BCS?
 
Here's mine.
http://pastebin.com/0dbXa8h2

I basically followed this setup guide. I have not modified this setup to use my third temp sensor for the mash output yet.

Code:
****** I HAVE EDITED THIS POST TO SHOW MANUAL INTERACTION WHERE NEEDED *******


While waiting for some parts to arrive I wrote my Mach Cycle State Machine.
I might combine a couple of states later on but for now this helps me organize my thoughts.

PUMPA is now HLT_PUMP
PUMPB is now MLT_PUMP

Initial setup
VERIFY ALL VALVES CLOSED (Includes Boil Kettle (A.K.A. BK))
Hose from HERMs output valve on HLT attached to MLT recircIN 
Hose attached to MLT_PUMP IN, other end loose
Hose from MLT_PUMP OUT valve to HERMs IN valve of HLT attached
Hose from HLT OUT valve to HLT_PUMP IN attached
Hose from HLT_PUMP OUT valve to HLT recircIN valve attached
Wort transfer hose attached to BK OUT valve, other end loose

PROCESS
Mash Cycle	
• State 0: Ramp up of HLT.
Resources 
Out0, HLT element under PID control using temp0 = HLT temp probe, 
temperature at setpoint
Timer0: Elapsed time to reach HLT set point, init to 0
Timer2: Total Elapsed time for mash process, init to 0
Out1: HLT_PUMP recirculate HLT water for even temperature
Exit Condition, HLT temp >= HLT setpoint Goto State 1 


Manual Actions:
Open HLT OUT valve
Open HLT recircIN valve
Prime HLT_PUMP
Start HLT_PUMP 

• State 1: Dough In 
Out0, HLT element under PID control using temp0 = HLT temp probe,
temperature at setpoint
Timer2: Total Elapsed time for mash process, cummulative from State 0
Out1: HLT_PUMP transfer measured strike water from HLT to MLT 
Exit Condition: Web Input button activated to start mash after 
dough in complete, Goto State 2

Manual Actions:
Stop HLT_PUMP
Close HLT OUT valve
Close HLT recircIN valve
Close HLT_PUMP output valve
Move HLT_PUMP hose output from HLT recircIN to MLT output valve
Open MLT output valve
Open HLT_PUMP output valve
Prime HLT_PUMP 
Start HLT_PUMP 
Use HLT sight guage to meter strike water transfer to MLT
When transfer complete stop HLT_PUMP 
Close MLT Output valve
Close HLT_PUMP output valve
Move HLT_PUMP hose output to HLT recircIN
Open HLT_PUMP output vavle
Open HLT recircIN valve
Prime HLT_PUMP 
Start HLT_PUMP 
Add grain to MLT/Dough In
Attach loose end of MLT_PUMP IN hose to MLT OUT valve
Open MLT OUT valve
Open MLT_PUMP OUT valve
Open HERMS IN valve
Open HERMS OUT valve
Open MLT recircIN valve
Prime MLT_PUMP
Start MLT_PUMP
Enable START MASH Win Button

• State 2: Mash 
Out0, HLT element under PID control using temp1 = MLT temp probe, 
temperature at desired mash setpoint
Timer1: init to desired length of mash, count down to 0 
Timer2: Total Elapsed time for mash process, cummulative from 
State 0 and State 1
Out1: HLT_PUMP recirculate HLT water for even temperature
Out2: MLT_PUMP recirculate wort through HERMs coil in HLT to 
maintain mash temp
Exit Condition: Timer1 <=0; Goto State 3

Manual Actions:
Monitor temps and adjust MLT_PUMP flow or PID setpoint as needed
Other duties as needed (out of scope of this process)

• State 3: Transfer 1st Runnings to boil kettle
Out0, HLT element under PID control using temp0 = HLT temp probe, 
temperature at mashout
Timer2: Total Elapsed time for mash process, cummulative from 
States 0, 1 and 2
Out2: MLT_PUMP transfer wort from MLT to boil kettle
Exit Condition: Web Input Button activated to start batch sparge 
Goto State 4

Manual Actions:
Stop MLT_PUMP
Close ALL MLT valves including MLT_PUMP output valve
Close HERMs IN and HERMs OUT valves
Remove MLT_PUMP OUT hose and leave loose (in clean catch bucket)
Connect loose end of BK wort transfer hose to MLT_PUMP OUT valve
Open BK OUT Valve
Open MLT OUT valve
Open MLT_PUMP OUT valve
Prime MLT_PUMP
Start MLT_PUMP
When MLT drained, stop MLT_PUMP
Close BK OUT valve
Close MLT OUT valve
Close MLT_PUMP OUT valve
Remove BK wort transfer hose from MLT_PUMP OUT and leave loose in clean catch bucket

• State 4: Batch Sparge
Out0, HLT element under PID control using temp0 = HLT temp probe, 
temperature at mashout
Timer2: Total Elapsed time for mash process, cummulative from 
States 0, 1,2 and 3
Out1: HLT_PUMP transfer sparge water from HLT to MLT
Exit Condition: Web Input Button activated to start vorlauf; 
Goto State 5

Manual Actions:
Stop HLT_PUMP
Close HLT OUT valve
Close HLT recircIN valve
Close HLT_PUMP output valve
Move HLT_PUMP hose output from HLT recircIN to MLT output valve
Open MLT output valve
Open HLT_PUMP output valve
Prime HLT_PUMP 
Start HLT_PUMP 
Use HLT sight guage to meter sparge water transfer to MLT
When transfer complete stop HLT_PUMP 
Close MLT Output valve
Close HLT_PUMP output valve
Move HLT_PUMP hose output to HLT recircIN
Open HLT_PUMP output vavle
Open HLT recircIN valve
Prime HLT_PUMP 
Start HLT_PUMP 
Attach loose end of HERMS IN hose to MLT_PUMP OUT valve (previous loose hose in catch bucket)
Open MLT OUT valve
Open MLT_PUMP OUT valve
Open HERMS IN valve
Open HERMS OUT valve
Open MLT recircIN valve
Prime MLT_PUMP
Start MLT_PUMP
Enable VORLAUF Win Button


• State 5: Vorlauf
Out0, HLT element under PID control using temp0 = HLT temp probe, 
temperature at mashout
Timer2: Total Elapsed time for mash process, cummulative from 
States 0,1,2,3 and 4
Timer3: Init to 10 minutes, count down to 0
Out1: HLT_PUMP recirculate HLT water for even temperature
Out2: MLT_PUMP recirculate wort through HERMs coil in HLT to vorlauf 
Exit Condition: Timer3 <= 0, Goto State 6 

• State 6: 2nd runnings to boil kettle
Timer2: Total Elapsed time for mash process, cummulative from 
States 0,1,2,3,4 and 5
Out2: MLT_PUMP transfer wort from MLT to boil kettle
Exit Condition: Web Input Button END MASH activated 
at end of transfer; 

Manual Actions:
At vorlauf timer expiration
Stop MLT_PUMP
Close ALL MLT valves including MLT_PUMP output valve
Close HERMs IN and HERMs OUT valves
Remove MLT_PUMP OUT hose and leave loose (in clean catch bucket)
Connect loose end of BK wort transfer hose to MLT_PUMP OUT valve
Open BK OUT Valve
Open MLT OUT valve
Open MLT_PUMP OUT valve
Prime MLT_PUMP
Start MLT_PUMP
When MLT drained, stop MLT_PUMP
Close BK OUT valve
Close MLT OUT valve
Close MLT_PUMP OUT valve
Remove BK wort transfer hose from MLT_PUMP OUT and BK 

Enable MASH END Win button 
End Mash Cycle
 
If anyone wants to remotely log into my system to look at the setup of the processes and states, I have put the login info in a thread over at the ECC forum: http://forum.embeddedcc.com/viewtopic.php?f=6&t=967 .

For getting up to speed, one of the things I suggest is to study the process and states. Look at one of the processes like my HLT one and start with state 0. See what it is doing and what would cause that state to change to another state - e.g. move to state1. Then look at state1 and see how it moves to state2, etc. I think by stepping through it this way, you get an idea how the logic works.

My way works well for me and my brewing methods and by no means may work for you, but you should be able to get an idea of how the BCS logic works.
 
Sorry to dig this one backup, Id love to see some more programming setups. I got my BCS couple weeks ago and I cannot register for the ECC Forum because the image verification is broken. I'd love to see the admins more active with that forum or here as I think it would increase their sales when people can see the capabilities of the BCS.
 
I just sent Derrin at Brewershardware/ECC a note about the registration. We've been having a ton of spammers signing up recently so Derrin has been trying to tweak things to curb it a bit. Sounds like something is broken with it.
 
Back
Top