Hi Everyone,
I have 2 applications where I am reading tank levels into my PLC via 4-20ma Transmitter. One application uses a CompactLogix L33 and the other uses a Micrologix 1100. Both use Red Lion G09 HMI's
I have been asked to use the tanks strapping charts to get the HMI to read out the tank volume. At first it sounds like a pretty simple thing to do. I just need to create a database in the PLC that has the level and corresponding volume. Now that I am really thinking about it, there is more to this than meets the eye.
Here are some questions for anyone that has done this before:
1. Would you create the database for the level vs. volume in the PLC or in the HMI?
2. Creating a 2D Array in the L33 is easy but how do you do this in the ML1100?
3. Ideas on the code for searching the Chart DB for the volume based on the level? I haven't written DB search code since Collage. That was quite awhile ago!!
4. How do you handle the times when the current level is between 2 DB points? Example: Current level = 10.15' and I have 10.1 and 10.2 in the DB.
Thanks for any help anyone can provide.
I have 2 applications where I am reading tank levels into my PLC via 4-20ma Transmitter. One application uses a CompactLogix L33 and the other uses a Micrologix 1100. Both use Red Lion G09 HMI's
I have been asked to use the tanks strapping charts to get the HMI to read out the tank volume. At first it sounds like a pretty simple thing to do. I just need to create a database in the PLC that has the level and corresponding volume. Now that I am really thinking about it, there is more to this than meets the eye.
Here are some questions for anyone that has done this before:
1. Would you create the database for the level vs. volume in the PLC or in the HMI?
2. Creating a 2D Array in the L33 is easy but how do you do this in the ML1100?
3. Ideas on the code for searching the Chart DB for the volume based on the level? I haven't written DB search code since Collage. That was quite awhile ago!!
4. How do you handle the times when the current level is between 2 DB points? Example: Current level = 10.15' and I have 10.1 and 10.2 in the DB.
Thanks for any help anyone can provide.