beautypg.com

ProSoft Technology MVI56E-MNET/MNETXT User Manual

Page 144

background image

Reference

MVI56E-MNET / MNETXT ♦ ControlLogix Platform

User Manual

Modbus TCP/IP Interface Module

Page 144 of 181

ProSoft Technology, Inc.

April 23, 2014

5.5.7 Preset Single Register (Function Code 06)

Query
Function (06) allows the user to modify the contents of a holding register. Any
holding register that exists within the controller can have its contents changed by
this message. However, because the controller is actively scanning, it also can
alter the content of any holding register at any time. The values are provided in
binary up to the maximum capacity of the controller unused high order bits must
be set to zero. When used with server address zero (Broadcast mode) all server
controllers will load the specified register with the contents specified.

Note Functions 5, 6, 15, and 16 are the only messages that will be recognized as valid for
broadcast.

Adr

Func

Data Start Reg
Hi

Data Start Reg
Lo

Data #of Regs Hi Data #of Regs Lo Error Check Field

11

06

00

01

00

03

CRC

Response
The response to a preset single register request is to re-transmit the query
message after the register has been altered.

Adr

Func

Data Reg Hi

Data Reg Lo Data Input Reg Hi

Data Input Reg Lo

Error Check Field

11

06

00

01

00

03

CRC

5.5.8 Read Exception Status(Function Code 7)

This function code is used to read the contents of eight Exception status outputs
in a remote device. Function code 7 provides a method for accessing this
information, because the Exception Output references are known (no output
reference is needed in the function). The normal response contains the status of
the eight Exception Status outputs. The outputs are packed into one data byte,
with one bit per output. The status of the lowest output reference is contained in
the least significant bit of the byte.