Reference MVI56E-MCMR ♦ ControlLogix Platform
User Manual Modbus Communication Module with Reduced Data Block
Page 204 of 223 ProSoft Technology, Inc.
6.8.3 Copying the User Defined Data Types
Next, copy the User Defined Data Types from the sample program to your
existing program. These data types contain configuration information, status,
commands and other functions used by the program.
1 Arrange the two RSLogix 5000 windows on your desktop so that they are
side-by-side.
2 In the CONTROLLER ORGANIZATION pane in the Sample Program, expand the
DATA TYPES folder until the list of User-Defined data types is visible.
3 In the Sample Program window, select one data type at a time, and then drag
the data type to the User-Defined data types folder in your existing program.
4 Repeat these steps until you have copied all of the data types from the
sample program into your existing application.
Note: Data types prefixed with an underscore [_] are used in optional routines, and need not be
copied unless your application requires them. Refer to MVI56E-MCMR User Defined Data Types
for a description of the usage for each data type.
6.8.4 Copy Sample Controller Tags
The sample program contains the following controller tag arrays:
MCMR.DATA.READDATA and MCMR.DATA.WRITEDATA tags hold all data
related to the database.
MCMR.STATUS holds all status data related to the module (type
MCMRModuleDef).
MCMR.CONTROL holds all the tags needed to support the Special Function
Blocks
MCMR.UTIL holds module logic control 'scratchpad' tags.
The sample ladder logic also includes controller tags for the MSG instructions to
pass data between the module and the ControlLogix processor.