{composition-setup}
cloak.toggle.exclusive=false
{composition-setup}
h1. Process Controller Tutorials
In order to bridge the gap between previous and new members of the team that need to learn Process Controller for the AguaClara experiments, the Tube Flocculator team (07-08) has created a series of tutorials and exercises to learn the basic and more complicated tools of the software.
h2. {toggle-cloak:id=Tutorial 1: Understanding all the Buttons} Tutorial 1: Understanding all the Buttons
{cloak:id=Tutorial 1: Understanding all the Buttons}
In order to be able to work with Process Controller, you must understand where everything is located within the user interface. Open Process Controller (PC) and follow the tutorial to learn the basics. Hover the mouse over the buttons for descriptions.
This is the configuration tab of the PC interface. There are three other tabs, but this is the main tab to open, save, and edit PC method files. A method file is when you write a specific program to make PC run an experiment and save it as its own file.
!Process Controller Tutorial^Configuration.jpg|width=750,height=600!
Click on this button to open any previous method files. You might have to navigate your way to the folder that has the saved method files. The tutorial files are saved on the AguaClara server/AguaClara Team Folders/Research and Development/Tube Floc/Tutorial.
!Process Controller Tutorial^open.jpg|width=300,height=250!
If you have been working on the method file and want to save changes, click on this button. It will ask you to either rename the file, or click on the previous file to override the saved changes. This allows you to "save as" without changing an old file.
!Process Controller Tutorial^save.jpg|width=300,height=250!
If you are running an experiment in the lab, make sure to put your name and email address in the correct boxes. Process Controller will email you automatically if the experiment shuts off due to an extreme change of pressure that you may have set in your program. Additionally, if there is a leak or problem with the setup in the laboratory, someone else in the lab can easily see who is running the experiment and email you.
!Process Controller Tutorial^email name.jpg|width=600,height=250!
When you are measuring a parameter such as temperature, turbidity, or pH, the data is outputted to excel files where you direct PC to drop them. The datalog files are set to be named by the current datte you are running the experiment. You must dictate where you want the datalog path. Click on the open folder button next to the datalog path name and you can navigate to a folder that you want the data files to be saved under. It can be a new folder with the current date, or one folder where all your files are located. Once you have the currect folder, click "Current Folder" on the screen and this folder will show up in the datalog path. Note: It is important that you make sure this is the correct folder whenever you run a new experiment, or else results from different experiments can mesh together in the same file if you run it in the same day.
!Process Controller Tutorial^datalog path.jpg|width=600,height=250!
In order to run a program, you need set points, rules and states that will tell PC what to do. These are all changed in another window that is opened when you select "Edit Rules" on the configuration tab. Edit rules will be discussed more in depth in the next Tutorial.
!Process Controller Tutorial^edit rules.jpg|width=350,height=150!
{cloak}
h3. {toggle-cloak:id=Exercise 1} Exercise 1
{cloak:id=Exercise 1}
In this excercise, you will be creating your own PC method file to which you will make future changes to in future excercises.
* Open an old PC method file. Use: AguaClara Team Folders>Research and Development>Tube Floc>Tutorial.pcm
* Enter your email address and name
* Select a datalog path where you want your data to be outputted to
* Save this new method file to your netID folder or a folder you can easily navigate to
Hint: It would be helpful if under your netID folder, you had a folder heirarchy such as Process Controller>Methods and Process Controller>Data to save the method and to save the datalogs respectively.
{cloak}
h2. {toggle-cloak:id=Tutorial 2} Tutorial 2: Edit Rules
{cloak:id=Tutorial 2}
In this tutorial, you will learn how to use "Edit Rules" configuration. Once you click the edit rules button, a dialog box will pop-up. The default of the interface is on the *Set Points* tab.
* [Edit Rules dialog box|Process Controller Tutorial^editrule.JPG]
The first step that you need to do is to add a new *set point* by clicking "Add Set Point" button. ON and OFF set points are added and set for 1 and 0, respectively.
* [OFF|Process Controller Tutorial^off.JPG]
* [ON|Process Controller Tutorial^on.JPG]
As you can see in the column, other important set points are added, depending on the experiments that are going to be conducted. The Tube Floc team is mostly dealing with alum and clay concentration, therefore, it is important to include set points for these components. The type is set as constant, such as the tank volume, tubing size, stock concentration, etc and others are set as variable, which allow the set point to be adjusted according to the other conditions. Examples are shown below:
* [Tank Volume|Process Controller Tutorial^tankvolume.JPG]
* [Clay Flow Rate|Process Controller Tutorial^clayflowrate.JPG]
* [Clay & Clean Water Flow Rate|Process Controller Tutorial^claycleanwaterflowrate.JPG]
* [Clay Pump Control|Process Controller Tutorial^claypumpcontrol.JPG]
Some examples set for Rules & States that will be exposed in details in next tutorial
* [Fill Tank Rules > Fill|Process Controller Tutorial^filltankrulesfill.JPG]
* [Fill Tank Rules > Stop|Process Controller Tutorial^filltankrulesstop.JPG]
* [Off Rules State|Process Controller Tutorial^offrulesstates.JPG]
{cloak}
h3. {toggle-cloak:id=Exercise 2} Exercise 2
{cloak:id=Exercise 2}
{cloak}
h2. {toggle-cloak:id=Tutorial 3} Tutorial 3
{cloak:id=Tutorial 3}
Blah
{cloak}
h3. {toggle-cloak:id=Exercise 3} Exercise 3
{cloak:id=Exercise 3}
{cloak}
h3. {toggle-cloak:id=Final Exercise} Final Exercise
{cloak:id=Final Exercise}
It is the winter, it's cold, and you want to warm up with a cup of cafe cocoa. In order to make the perfect cup, you need to add in the right mixture of coffee and hot cocoa. Here are some directions in order to make your perfect cup:
* One stream will be the ready made coffee (50 degrees F)
* One stream will be the ready made hot cocoa (95 degrees F)
* Pump each stream into a mixed batch
* Regulate the temperature of the batch so that it reaches no more than 75 degrees F at any given time
* Regulate the pressure of the batch so that it does not overflow (maximum pressure is 75 cm)
{cloak} |