ProSoft Technology MVI69L-MBTCP User Manual

Page 6

Advertising
background image

Contents

MVI69L-MBTCP ♦ CompactLogix Platform

User Manual

Communication Module

Page 6 of 152

ProSoft Technology, Inc.

January 6, 2014

4.2

Normal Data Transfer ............................................................................................. 69

4.2.1

Write Block: Request from the Processor to the Module ........................................ 69

4.2.2

Read Block: Response from the Module to the Processor ..................................... 69

4.2.3

Read and Write Block Transfer Sequences ........................................................... 70

4.3

Data Flow Between the Module and Processor ..................................................... 71

4.3.1

Server Driver Overview ........................................................................................... 71

4.3.2

Client Driver Overview ............................................................................................ 73

5

Using Controller Tags

75

5.1

Controller Tags ....................................................................................................... 76

5.1.1

MVI69L-MBTCP Controller Tags ............................................................................ 76

5.2

User-Defined Data Types (UDTs)........................................................................... 78

5.2.1

MVI69L-MBTCP User-Defined Data Types ............................................................ 78

5.3

Controller Tag Overview ......................................................................................... 80

5.3.1

MBTCP.CONFIG .................................................................................................... 80

5.3.2

MBTCP.DATA ......................................................................................................... 80

5.3.3

MBTCP.CONTROL ................................................................................................. 81

5.3.4

MBTCP.STATUS .................................................................................................... 86

5.3.5

MBTCP.UTIL ........................................................................................................... 89

6

Diagnostics and Troubleshooting

91

6.1

Ethernet LED Indicators .......................................................................................... 92

6.2

LED Status Indicators ............................................................................................. 92

6.2.2

Troubleshooting the LEDs ...................................................................................... 93

6.3

Connecting the PC to the Module's Ethernet Port .................................................. 94

6.3.1

Setting Up a Temporary IP Address ....................................................................... 94

6.4

Connecting to the Diagnostics Menu in ProSoft Configuration Builder .................. 97

6.4.1

Diagnostics Menu ................................................................................................... 99

6.4.2

Monitoring General Information .............................................................................. 99

6.4.3

Monitoring Network Configuration Information ..................................................... 100

6.4.4

Monitoring Backplane Status Information ............................................................. 100

6.4.5

Modbus Server Driver Information ........................................................................ 101

6.4.6

Monitoring Data Values in the Module’s Database............................................... 102

6.4.7

Modbus Client Driver Information ......................................................................... 102

6.5

Communication Error Codes ................................................................................ 103

6.6

Connecting to the Module’s Webpage .................................................................. 104

7

Reference

105

7.1

Product Specifications .......................................................................................... 106

7.1.1

General Specifications - Modbus Client/Server .................................................... 106

7.1.2

Hardware Specifications ....................................................................................... 107

7.2

About the Modbus Protocol .................................................................................. 108

7.2.1

Commands Supported by the Module .................................................................. 109

7.2.2

Read Coil Status (Function Code 01) ................................................................... 109

7.2.3

Read Input Status (Function Code 02) ................................................................. 110

7.2.4

Read Holding Registers (Function Code 03) ........................................................ 112

7.2.5

Read Input Registers (Function Code 04) ............................................................ 113

7.2.6

Force Single Coil (Function Code 05) .................................................................. 113

7.2.7

Preset Single Register (Function Code 06) .......................................................... 115

7.2.8

Diagnostics (Function Code 08) ........................................................................... 115

Advertising