ProSoft Technology MVI56E-MCM/MCMXT User Manual
Page 7

MVI56E-MCM ♦ ControlLogix Platform
Contents
Modbus Communication Module
User Manual
ProSoft Technology, Inc.
Page 7 of 199
June 18, 2014
6.1.3
Functional Specifications....................................................................................... 116
6.1.4
Hardware Specifications........................................................................................ 117
6.2
Functional Overview .............................................................................................. 118
6.2.1
About the Modbus Protocol ................................................................................... 118
6.2.2
Backplane Data Transfer....................................................................................... 118
6.2.3
Normal Data Transfer ............................................................................................ 120
6.2.4
Special Function Blocks ........................................................................................ 122
6.2.5
Data Flow Between MVI56E-MCM Module and ControlLogix Processor ............. 134
6.3
Cable Connections ................................................................................................ 138
6.3.1
Ethernet Cable Specifications ............................................................................... 138
6.3.2
Ethernet Cable Configuration ................................................................................ 139
6.3.3
Ethernet Performance ........................................................................................... 139
6.3.4
RS-232 Application Port(s) ................................................................................... 140
6.3.5
RS-422 .................................................................................................................. 142
6.3.6
RS-485 Application Port(s) .................................................................................... 142
6.3.7
DB9 to RJ45 Adaptor (Cable 14) .......................................................................... 143
6.4
MVI56E-MCM Database Definition ....................................................................... 143
6.5
MVI56E-MCM Configuration Data ......................................................................... 144
6.5.1
Backplane Setup ................................................................................................... 144
6.5.2
Port 1 Setup .......................................................................................................... 145
6.5.3
Port 2 Setup .......................................................................................................... 147
6.5.4
Port 1 Commands ................................................................................................. 150
6.5.5
Port 2 Commands ................................................................................................. 150
6.5.6
Misc. Status ........................................................................................................... 150
6.5.7
Command Control ................................................................................................. 152
6.6
MVI56E-MCM Status Data Definition .................................................................... 152
6.7
MVI56E-MCM User Defined Data Types .............................................................. 154
6.7.1
MCMModuleDef .................................................................................................... 154
6.7.2
MCMCONFIG ........................................................................................................ 154
6.7.3
MCMDATA ............................................................................................................ 157
6.7.4
MCMSTATUS ........................................................................................................ 157
6.7.5
MCMCONTROL .................................................................................................... 158
6.7.6
Util ......................................................................................................................... 158
6.8
Modbus Protocol Specification .............................................................................. 160
6.8.1
Commands Supported by the Module ................................................................... 160
6.8.2
Read Coil Status (Function Code 01) ................................................................... 161
6.8.3
Read Input Status (Function Code 02) .................................................................. 162
6.8.4
Read Holding Registers (Function Code 03) ........................................................ 163
6.8.5
Read Input Registers (Function Code 04) ............................................................. 164
6.8.6
Force Single Coil (Function Code 05) ................................................................... 165
6.8.7
Preset Single Register (Function Code 06) ........................................................... 166
6.8.8
Diagnostics (Function Code 08) ............................................................................ 167
6.8.9
Force Multiple Coils (Function Code 15) ............................................................... 169
6.8.10
Preset Multiple Registers (Function Code 16) ...................................................... 170
6.8.11
Modbus Exception Responses .............................................................................. 170
6.9
Using the Optional Add-On Instruction .................................................................. 172
6.9.1
Before You Begin .................................................................................................. 172
6.9.2
Overview................................................................................................................ 172
6.9.3
Importing the Utility Add-On Instruction ................................................................ 173
6.9.4
Reading the Ethernet Settings from the Module ................................................... 176
6.9.5
Writing the Ethernet Settings to the Module.......................................................... 177
6.9.6
Reading the Clock Value from the Module ............................................................ 179
6.9.7
Writing the Clock Value to the Module .................................................................. 179
6.10
Using the Sample Program - RSLogix 5000 Version 15 and earlier ..................... 180