I am now gettign closer to what I hope to be the end of this project.
The last bit to tackle involves a couple basic issues.
1) I have oil being consumed by a venturi and supplied as a fine suspended mist.
2)I can measure the drop in oil level
3)I can measure the vacuum at the venturi
4)I can read the pressure of the outlet
5)I know the size of the orifice used to limit the flow.
I have measured and scaled the analog in from the oil tank
I have recorded the first reading to use as a comparison to check the ongoing function against a standard. Additional readings are taken every X minutes and compared to this first reading.
The boss seems to think the flow of air from 10 inH2O to 46 inH2O through a given size orifice does not produce a linear flow in CFM.
We have several days of data that make it intuitivly obvious that the pressure in is linear and directly proportionate to the flow through a given orifice.
I have charted it...........now I have included this in my program.
I an taking the pressure reading before the venturi and use it to control the pressure regulator. This give X flow at various presures.
Now for the Step7 PLC question:
I have used a block that takes air pressure at the orifice and scales the flow based on the actual flow data plotted at several points on a flow bench to indicate the flow in CFM.
I then look at the amount the oil level has dropped during a period and combine the two to give a reading of how much oil is suspended in XCFM of air to give oil density.
Now I need to do this 16 times for each change in orifice. The orifice can be changed and will be different in each location but will require mechanical setup and will be noted by the HMI, so the PLC will be given the size of the orifice as a data point.
I could repeat what I have done 16 times for each orifice.
I am looking for a better way.
Can I use a function or technique in Step7 to load the new scale variables for each orifice?
I would save the MIN and MAX for input and output for each orifice. So 4 variables for each orifice and maybe an alarm band as well which would make 6 total variables.
Idealy , I would like to select, orifice X and have the FB load the correct variables based on a table of data.
I am going to look at DBs next, I suspect there is a solution here and I suspect Step7 can do it better than what I have now.
So, the small question is :
How do I use Step7 with a 313C to load a set of variables into several different memory locations when given one input bit or word.
I could just set a bit for each orifice selection and use that bit to load the other variables. That is my plan right now, pending input from this fine forum and further reading.
The last bit to tackle involves a couple basic issues.
1) I have oil being consumed by a venturi and supplied as a fine suspended mist.
2)I can measure the drop in oil level
3)I can measure the vacuum at the venturi
4)I can read the pressure of the outlet
5)I know the size of the orifice used to limit the flow.
I have measured and scaled the analog in from the oil tank
I have recorded the first reading to use as a comparison to check the ongoing function against a standard. Additional readings are taken every X minutes and compared to this first reading.
The boss seems to think the flow of air from 10 inH2O to 46 inH2O through a given size orifice does not produce a linear flow in CFM.
We have several days of data that make it intuitivly obvious that the pressure in is linear and directly proportionate to the flow through a given orifice.
I have charted it...........now I have included this in my program.
I an taking the pressure reading before the venturi and use it to control the pressure regulator. This give X flow at various presures.
Now for the Step7 PLC question:
I have used a block that takes air pressure at the orifice and scales the flow based on the actual flow data plotted at several points on a flow bench to indicate the flow in CFM.
I then look at the amount the oil level has dropped during a period and combine the two to give a reading of how much oil is suspended in XCFM of air to give oil density.
Now I need to do this 16 times for each change in orifice. The orifice can be changed and will be different in each location but will require mechanical setup and will be noted by the HMI, so the PLC will be given the size of the orifice as a data point.
I could repeat what I have done 16 times for each orifice.
I am looking for a better way.
Can I use a function or technique in Step7 to load the new scale variables for each orifice?
I would save the MIN and MAX for input and output for each orifice. So 4 variables for each orifice and maybe an alarm band as well which would make 6 total variables.
Idealy , I would like to select, orifice X and have the FB load the correct variables based on a table of data.
I am going to look at DBs next, I suspect there is a solution here and I suspect Step7 can do it better than what I have now.
So, the small question is :
How do I use Step7 with a 313C to load a set of variables into several different memory locations when given one input bit or word.
I could just set a bit for each orifice selection and use that bit to load the other variables. That is my plan right now, pending input from this fine forum and further reading.