ProSoft Technology MVI56E-MCMR User Manual
Page 76

Configuring the MVI56E-MCMR Module
MVI56E-MCMR ♦ ControlLogix Platform
User Manual
Modbus Communication Module with Reduced Data Block
Page 76 of 225
ProSoft Technology, Inc.
May 13, 2014
Read Multiple Floating-Point Registers
The following table is an example to read Multiple Floating-Point values and
device addresses. The table shows 7 consecutive floating-point values (14
Modbus addresses).
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
Configure the command to read these 7 floats as follows.
Configure an array of 7 floats within the ControlLogix processor as shown in the
following illustration.
The following COP
statement will copy the data from MCMR.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 MCMR.DATA.R
EAD
D
ATA
array.