User-defined data types (udts), Mvi69l-mbtcp user-defined data types – ProSoft Technology MVI69L-MBTCP User Manual
Page 78
Using Controller Tags
MVI69L-MBTCP ♦ CompactLogix Platform
User Manual
Communication Module
Page 78 of 152
ProSoft Technology, Inc.
January 6, 2014
5.2
User-Defined Data Types (UDTs)
User-defined data types (UDTs) allow users to organize collections of data types
into groupings. These groupings, or data type structures, can then be used to
declare the data types for controller tag structures. Another advantage of defining
a UDT is that it may be re-used in other controller tag structures that use the
same data types.
The Add-On Instruction Import Rung ladder logic for the module has pre-defined
UDTs. You can find them in the User-Defined subfolder, located in the Data
Types folder in the Controller Organizer pane of the main RSLogix window. Like
the controller tags, the UDTs are organized in a multiple-level tree structure.
5.2.1 MVI69L-MBTCP User-Defined Data Types
Twenty-two different UDTs are defined for the MVI69L-MBTCP Add-On
Instruction.
The main UDT, MBTCPMODULEDEF, contains all the data types for the module
and was used to create the main controller tag structure, MBTCP. There are five
UDTs one level below MBTCPMODULEDEF. These lower-level UDTs were used
to create the MBTCP.CONFIG, MBTCP.DATA, MBTCP.CONTROL,
MBTCP.STATUS, and MBTCP.UTIL controller tag structures.
Click the [+] signs to expand the UDT structures and view lower-level UDTs.