Steve Etter
Lifetime Supporting Member + Moderator
Hi everybody. I'm working with RSLogix5000 and looking to create a database of part numbers and corresponding critical values. To use this database, I will have a PanelView Plus touchscreen where the operator will be able to input new part numbers & values and store them.
My question is this - When the operator triggers the "Store" command, I would like for the program to compare the new part number with all the existing part numbers already entered into the database. How would you do this?
Obviously I could write some down-and-dirty code of many similar compare rungs that look at each part number separately, but I was hoping someone might have an elegant solution.
Thanks in advance,
Steve
My question is this - When the operator triggers the "Store" command, I would like for the program to compare the new part number with all the existing part numbers already entered into the database. How would you do this?
Obviously I could write some down-and-dirty code of many similar compare rungs that look at each part number separately, but I was hoping someone might have an elegant solution.
Thanks in advance,
Steve