EasyManua.ls Logo

Allen-Bradley 1756-L61 ControlLogix 5561 - Creating a User-Defined Data Type

Allen-Bradley 1756-L61 ControlLogix 5561
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1756-PM004D-EN-P - September 2012 39
Organizing Tags Chapter 2
Creating a User-defined
Data Type
User-defined data types (structures) let you organize your data to match your
machine or process.
EXAMPLE
User-defined data type that stores a recipe.
ATTENTION: 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.
ATTENTION: An array that is based on this data type would look like this example.
Name (of data type): TANK
Member Name Data Type
Temp REA L
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

Table of Contents

Related product manuals