Ignition 8.1.1.
My 20 recipes are stored in my ControlLogix PLC in a data structure something similar to this:
Recipe 1
- Step 1
- Speed: 15, Vacuum: 0: Time: 60, (+ 8 more ...)
- Step 2
- Speed: 18, Vacuum: 1: Time: 120, (+ 8 more ...)
- Step 3
...
- Step 30
- Speed: ...
- Recipe name
- Temperature setpoint
Recipe 2
- Step 1
...
On my Ignition application I want to be able to display all the parameters for the selected recipe number on one page. What’s a clean way to set up the UDT?
I started by creating a UDT for one step of the recipe and I included the {recipeNum} and {stepNum} parameters in the definition. Now I’m a little lost. How do I make 30 copies of that, add in the Recipe name and Temperature setpoint for each step so I can create a UDT instance for each recipe.
All the examples seem 1-dimensional whereas I seem to have two dimensions to work with.
Many thanks.