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 #47 background imageLoading...
Page #47 background image
MVI56E-MCM ControlLogix Platform Configuration as a Modbus Master
Modbus Communication Module User Manual
ProSoft Technology, Inc. Page 47 of 209
Label
Description
Enable = 2
The module will send the command only when the data within the
IntAddress field of the module has changed.
IntAddress = 160
Will write the data to the Slave device when the value at
WriteData[10].0 has changed. Because this is a bit level command, the
IntAddress field must be defined down to the bit level.
Count = 1
Will write a single bit to the device (Function Code 5 will 1 support a
count of 1).
Node = 1
Issues the Modbus command to node 1 on the network.
Func = 5
Issues Modbus Function Code 5 to write a single coil.
DevAddress = 512
Function Code 5, DevAddress of 512 will read address 0513
2.3.6 Force (Write) Multiple Coils 0x (Modbus Function Code 15)
Use this function code to write multiple Coils in the 0xxx address range. This
function code sets multiple Coils within a Slave device using the same Modbus
command. Not all devices support this function code. Refer to your Slave device
documentation before implementing this function code.
This function code will also support the Enable code of 2, to write the data to the
Slave device only when the data associated within the IntAddress field of the
module has changed. The IntAddress is once again defined down to the bit level
as a Function Code 15 is a bit level Modbus function.
Below is a sample command to write Modbus addresses 0001 to 0016 of node 1
on the Modbus network.
Label
Description
Enable = 2
The module will send the command to the Slave device only when the
data associated within the IntAddress of the MVI56E-MCM module
memory has changed.
IntAddress = 320
Writes the data in bit 320 of the module memory to the Slave device.
Based on the MCM.CONFIG.MODDEF setting, this would be the data in
MCM.DATA.WRITEDATA[20].0 to [20].15 in the ladder logic.
Count = 16
Writes 16 consecutive bits to the Slave device.
Node = 1
Issues the Modbus command to node 1 on the network.
Func = 15
Issues Modbus Function Code 15 to write multiple coils.
DevAddress = 0
Function Code 15, DevAddress of 0 will read address 0001
Along with a count of 16, this command writes to 0001 to 0016.

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