Result
Understand how to use the Toolbox section in the Config tool to create a static look-up for enumerations to link products being produced.
Tutorial steps
- Create a new Static enumeration - in the Enumeration section of the toolbox view in the config tool
- Create an enumeration for the different product codes - being produced by the filler
Enumerations
Before you configure your new Event any further, let’s discuss Flow Enumerations. Locate the tag FL001.Product and open it …
Zoom out to view a day or two of detailed data. You will notice the "FL001.Product" tag value changes between 0 and 4. 0 represents an "Idle" state for the Filler, but 1 to 4 represent the various products or brands that your Juice Factory produces:
1 = Apple
2 = Grape
3 = Orange
4 = Raspberry
Static Enumeration
Let’s create a "Static" Flow Enumeration for the Filler Product. Select the "Tools" tab, right-click on "Enumerations" and click "New" > "Enumeration" > "Static". Name your new Enumeration "Filler Product", and open its editor …
In the "Ordinals" section, right-click and select "New". Flow will create a new ordinal for the integer value 1.
Set Ordinal 1’s "Value" to "Apple".
Now add 3 more ordinals for "Grape", "Orange" and "Raspberry".
We are going to use this Enumeration to create an Event Attribute in the next tutorial.