beautypg.com

Data flow between the module and processor, Server driver overview – ProSoft Technology MVI69L-MBTCP User Manual

Page 71

background image

MVI69L-MBTCP ♦ CompactLogix Platform

Backplane Data Exchange

Communication Module

User Manual

ProSoft Technology, Inc.

Page 71 of 152

January 6, 2014

4.3

Data Flow Between the Module and Processor

The following topics describe the flow of data between the two pieces of
hardware (CompactLogix processor and MVI69L-MBTCP module) and other
nodes on the Modbus network. The module can act as a Modbus TCP/IP Client
(master), Server (slave), or both simultaneously.

4.3.1 Server Driver Overview

The Server driver allows the MVI69L-MBTCP module to respond to read and
write commands issued by a Client on the Modbus network. The following
diagram shows the data flow for normal server mode.

Step

Description

1

Any time the module restarts (boots or reboots), the Server port driver receives
configuration information from the MBTCP controller tags. This information configures the
ethernet port and defines Server driver characteristics. The configuration information may
also contain instructions to offset data stored in the database to addresses different from
addresses requested in the received messages.

2

A Modbus Client device, such as a Modicon PLC or an HMI application, issues a read or
write command to the module’s IP address. The Server driver qualifies the message before
accepting it into the module. Rejected commands will cause an Exception Response.

3

After the module accepts the command, the data is immediately transferred to or from the
module’s internal database. On a read command, the data is read from of the database and
a response message is built. On a write command, the data is written directly into the
database and a response message is built.

4

After Steps 2 and 3 have been completed, either a normal response message or an
Exception Response message is sent to the Client.

5

Counters are available in the Status Block to permit the ladder logic program to determine
the level of activity of the Server driver.