rQx
Lifetime Supporting Member
Hello!
I want to save production data in a list form.
I have three variables that I want to save:
Product, weight and time.
I want this to be saved in a list to later be printed by the supervisor.
When I give the system a pulse (or when a tag change or something) I want the current varibles to be saved:
Product1, weight1, time1
when I give the system a new pulse I want it to be saved under the old one:
Product1, weight1, time1
Product2, weitht2, time2
So everytime a new pulse is given, the data is saved under the next so at the end of the day it will be like 20 entries:
Pdoruct1, weight1, time1
Product2, weight2, time2
.................................
Product20, weight20, time20.
What I have now is 20 I/O field of every varible that I fill with a value according to my ladder program. This is working but I just want to know if there is any simpler and better solution. I mean if I want to have 1000 production data stored I can't do it like this. There must be a better solution.
/Tim
I want to save production data in a list form.
I have three variables that I want to save:
Product, weight and time.
I want this to be saved in a list to later be printed by the supervisor.
When I give the system a pulse (or when a tag change or something) I want the current varibles to be saved:
Product1, weight1, time1
when I give the system a new pulse I want it to be saved under the old one:
Product1, weight1, time1
Product2, weitht2, time2
So everytime a new pulse is given, the data is saved under the next so at the end of the day it will be like 20 entries:
Pdoruct1, weight1, time1
Product2, weight2, time2
.................................
Product20, weight20, time20.
What I have now is 20 I/O field of every varible that I fill with a value according to my ladder program. This is working but I just want to know if there is any simpler and better solution. I mean if I want to have 1000 production data stored I can't do it like this. There must be a better solution.
/Tim