38 Publication 1756-PM004C-EN-P - October 2009
Chapter 2 Organize Tags
Create a User-defined Data
Type
User-defined data types (structures) let you organize your data to match your
machine or process.
User-defined data type that stores a recipe.
In a system of several tanks, each tank can run a variety of recipes. Because the recipe requires a mix of
data types (REAL, DINT, BOOL, so forth), a user-defined data type is used.
An array that is based on this data type would look like this example.
Name (of data type): TANK
Member Name Data Type
Temp REAL
Deadband REAL
Step DINT
Step_time TIMER
Preset DINT[6]
Mix BOOL
42368
Array of Recipes
First Recipe
This array contains
three elements of the
TANK data type.
Members of
the Recipe