User-defined data types (udts), Mvi56e-mnetc user-defined data types – ProSoft Technology MVI56E-MNETC User Manual
Page 80
Guide to the MVI56E-MNETC User Manual
MVI56E-MNETC ♦ ControlLogix Platform
User Manual
Modbus TCP/IP Client Enhanced Communication Module
Page 80 of 183
ProSoft Technology, Inc.
February 3, 2013
3.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.
3.2.1 MVI56E-MNETC User-Defined Data Types
Eleven different UDTs are defined for the MVI56E-MNETC Add-On Instruction.
The main UDT, MNETCMODULEDEF, contains all the data types for the module
and was used to create the main controller tag structure, MNETC. There are four
UDTs one level below MNETCMODULEDEF. These lower-level UDTs were used
to create the MNETC.DATA, MNETC.CONTROL, MNETC.STATUS, and
MNETC.UTIL controller tag structures.
Click the [+] signs to expand the UDT structures and view lower-level UDTs.