I have 2000 recipes I need to display on a PanelView.
To accomplish this I would like to use an index navigate through the recipes.
The recipe structure in the PLC is as follows:
Recipes[0].PartNum
Recipes[1].PartNum
Recipes[2].PartNum
and my code for a string display...
/*S:0 {[Med Paint]Recipes[0].PartNum}*/
I have an HMI tag called Index
Ideally I want to put the Index into that string code
/*S:0 {[Med Paint]Recipes[Index].PartNum}*/
Is there syntax to point to the value of Index like #Index# or something? Can you embed within a tagname? Or should I try and create a global object with parameter files.
Thanks in advance.
To accomplish this I would like to use an index navigate through the recipes.
The recipe structure in the PLC is as follows:
Recipes[0].PartNum
Recipes[1].PartNum
Recipes[2].PartNum
and my code for a string display...
/*S:0 {[Med Paint]Recipes[0].PartNum}*/
I have an HMI tag called Index
Ideally I want to put the Index into that string code
/*S:0 {[Med Paint]Recipes[Index].PartNum}*/
Is there syntax to point to the value of Index like #Index# or something? Can you embed within a tagname? Or should I try and create a global object with parameter files.
Thanks in advance.