ProSoft Technology MVI56E-MCM/MCMXT User Manual
Page 49

MVI56E-MCM ♦ ControlLogix Platform
Configuration as a Modbus Master
Modbus Communication Module
User Manual
ProSoft Technology, Inc.
Page 49 of 199
June 18, 2014
The following COP
statement will copy the data from MCM.DATA.R
EAD
D
ATA
[0]
TO
[13]
into the array MCM_F
LOAT
_D
ATA
[0]
TO
[6].
The "Length" parameter is set to the number of Floating-Point values that must
be copied from the MCM.DATA.R
EAD
D
ATA
array.
2.4.3 Write Floats to Slave Device
To issue a Write command to Floating-Point addresses, use the configuration in
the following table. The table describes the Modbus Map for the Slave device.
Value
Description
Type
40261
KW
Demand (power)
Float. upper 16 bits
40263
VAR
Reactive Power
Float. upper 16 bits
40265
VA
Apparent Power
Float. upper 16 bits
40267
Power Factor
Float. upper 16 bits
40269
VOLTS
Voltage, line to line
Float. upper 16 bits
40271
VOLTS
Voltage, line to neutral
Float. upper 16 bits
40273
AMPS
Current
Float. upper 16 bits
You must use a COP
statement to copy the data from floating-point data tags
within the ControlLogix processor, into the MCM.DATA.W
RITE
D
ATA
array used
by the MVI56E-MCM module. Below is an example.
The length of this COP statement must now be 14. This will COP as many of the
MCM_F
LOAT
_D
ATA
values required to occupy the MCM.D
ATA
.W
RITE
D
ATA
array
for a length of 14. This will take 7 registers, MCM_F
LOAT
_D
ATA
[0]
TO
[6],
and
place that data into MCM.DATA.W
RITE
D
ATA
[0]
TO
[13].
You must configure the command to write all 7 floats (14 Modbus addresses) as
follows.