ProSoft Technology MVI69E-MBTCP User Manual

Page 118

Advertising
background image

Reference

MVI69E-MBTCP ♦ CompactLogix Platform

User Manual

Modbus TCP/IP Enhanced Communication Module

Page 118 of 150

ProSoft Technology, Inc.

May 20, 2015

Example and State Diagram
Here is an example of a request to remote device to Return Query Data. This
uses a sub-function code of zero (00 00 hex in the two-byte field). The data to be
returned is sent in the two-byte data field (A5 37 hex).

Request

Response

Field Name

(Hex)

Field Name

(Hex)

Function

08

Function

08

Sub-function Hi

00

Sub-function Hi

00

Sub-function Lo

00

Sub-function Lo

00

Data Hi

A5

Data Hi

A5

Data Lo

37

Data Lo

27

The data fields in responses to other kinds of queries could contain error counts
or other data requested by the sub-function code.

Advertising