We suggest to store the trend of meausers (temperature, pressure, moisture....) during a production cycle in an array instead of a group of tags (preassure1, preassure2, preassure3...). The benefit is that
- We can reduce the number of tags and simplifty the solution.
- Calculations can be done easier using MI scripts
Note:
- you need to design correctly the database storage to be able to persist growing number of data history.
- Persisting the data into database ideally should be done using stored procedure.
- There should be a seperate OPC tag that signalized that the values in the array are ready to be read.
