Contents MVI56E-MCM ♦ ControlLogix® Platform
User Manual Modbus Communication Module
Page 6 of 215 ProSoft Technology, Inc.
6.2.2 Backplane Data Transfer....................................................................................... 121
6.2.3 Normal Data Transfer ............................................................................................ 124
6.2.4 Special Function Blocks ........................................................................................ 126
6.2.5 Data Flow Between MVI56E-MCM Module and ControlLogix Processor ............. 143
6.3 Cable Connections ................................................................................................ 147
6.3.1 Ethernet Cable Specifications ............................................................................... 147
6.3.2 Ethernet Cable Configuration ................................................................................ 148
6.3.3 Ethernet Performance ........................................................................................... 148
6.3.4 RS-232 Application Port(s) .................................................................................... 148
6.3.5 RS-422 .................................................................................................................. 151
6.3.6 RS-485 Application Port(s) .................................................................................... 151
6.3.7 DB9 to RJ45 Adaptor (Cable 14) .......................................................................... 152
6.4 MVI56E-MCM Database Definition ....................................................................... 153
6.5 MVI56E-MCM Configuration Data ......................................................................... 154
6.5.1 Backplane Setup ................................................................................................... 154
6.5.2 Port 1 Setup .......................................................................................................... 155
6.5.3 Port 2 Setup .......................................................................................................... 158
6.5.4 Port 1 Commands ................................................................................................. 161
6.5.5 Port 2 Commands ................................................................................................. 161
6.5.6 Misc. Status ........................................................................................................... 162
6.5.7 Command Control ................................................................................................. 163
6.6 MVI56E-MCM Status Data Definition .................................................................... 164
6.7 MVI56E-MCM User Defined Data Types .............................................................. 166
6.7.1 MCMModuleDef .................................................................................................... 166
6.7.2 MCMCONFIG ........................................................................................................ 166
6.7.3 MCMDATA ............................................................................................................ 169
6.7.4 MCMSTATUS ........................................................................................................ 169
6.7.5 MCMCONTROL .................................................................................................... 171
6.7.6 MCMUTIL .............................................................................................................. 173
6.8 Modbus Protocol Specification .............................................................................. 174
6.8.1 Commands Supported by the Module ................................................................... 174
6.8.2 Read Coil Status (Function Code 01) ................................................................... 175
6.8.3 Read Input Status (Function Code 02) .................................................................. 177
6.8.4 Read Holding Registers (Function Code 03) ........................................................ 179
6.8.5 Read Input Registers (Function Code 04) ............................................................. 180
6.8.6 Force Single Coil (Function Code 05) ................................................................... 181
6.8.7 Preset Single Register (Function Code 06) ........................................................... 182
6.8.8 Diagnostics (Function Code 08) ............................................................................ 183
6.8.9 Force Multiple Coils (Function Code 15) ............................................................... 185
6.8.10 Preset Multiple Registers (Function Code 16) ...................................................... 186
6.8.11 Modbus Exception Responses .............................................................................. 187
6.9 Using the Optional Add-On Instruction .................................................................. 189
6.9.1 Before You Begin .................................................................................................. 189
6.9.2 Overview................................................................................................................ 189
6.9.3 Importing the Utility Add-On Instruction ................................................................ 190
6.9.4 Reading the Ethernet Settings from the Module ................................................... 194
6.9.5 Writing the Ethernet Settings to the Module.......................................................... 195
6.9.6 Reading the Clock Value from the Module ............................................................ 196
6.9.7 Writing the Clock Value to the Module .................................................................. 197
6.10 Using the Sample Program - RSLogix 5000 Version 15 and earlier ..................... 198
6.10.1 Using the Sample Program in a New Application ................................................. 198
6.10.2 Using the Sample Program in an Existing Application .......................................... 203