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