EasyManuals Logo

ProSoft Technology MVI56E-MCMXT User Manual

Default Icon
209 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
Configuration as a Modbus Master MVI56E-MCM ControlLogix Platform
User Manual Modbus Communication Module
Page 48 of 209 ProSoft Technology, Inc.
2.3.7 Preset (Write) Single Register 4x (Modbus Function Code 6)
Used to write to Modbus Holding Registers 4xxxx, this function code will write a
single register to the Slave device. The Enable code can be set to a value of 1 for
a continuous write, or a value of 2 to write the data to the Slave device only when
the data associated with the IntAddress field has changed.
Below is a sample command to write Modbus addresses 41041 of node 1 on the
Modbus network.
Label
Description
Enable = 1
The module will send the command every time it goes through the
command list.
IntAddress = 5
Writes the data from address 5 of the module memory to the Slave
device. Based on the MCM.CONFIG.MODDEF configuration, this will
take the data from MCM.DATA.WRITEDATA[5] and write that information
out to the Slave device.
Count = 1
Writes 1 register (16-bit) to the Slave device.
Node = 1
Issues the Modbus command to node 1 on the network.
Func = 2
Issues Modbus Function Code 6 to write a single register.
DevAddress = 1040
Function Code 6, DevAddress of 1040 will write to address 41041 of the
Modbus Slave device.
2.3.8 Preset (Write) Multiple Registers 4x (Modbus Function Code
16)
Used to write to Modbus Holding Registers 4xxxx, this function code will write
multiple registers to the Slave device. The Enable code can be set to a value of 1
for a continuous write, or a value of 2 to write the data to the Slave device only
when the data associated with the IntAddress field has changed.
Below is a sample command to write Modbus addresses 41051 to 41060 of node
1 on the Modbus network.
Label
Description
Enable = 2
The module will send the command only when the data associated with
the IntAddress of the module has changed.

Table of Contents

Other manuals for ProSoft Technology MVI56E-MCMXT

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ProSoft Technology MVI56E-MCMXT and is the answer not in the manual?

ProSoft Technology MVI56E-MCMXT Specifications

General IconGeneral
BrandProSoft Technology
ModelMVI56E-MCMXT
CategoryControl Unit
LanguageEnglish

Related product manuals