ProSoft Technology MVI56E-MCM/MCMXT User Manual
Page 51

MVI56E-MCM ♦ ControlLogix Platform
Configuration as a Modbus Master
Modbus Communication Module
User Manual
ProSoft Technology, Inc.
Page 51 of 199
June 18, 2014
2.4.5 Write to Enron/Daniel Floats
To issue a Write command to Enron/Daniel Floats, use the Float Flag and Float
Start parameters within the ModDef controller tags.
The following table describes the addresses that will be written to by the module.
Address
Data Type
Parameter
47001
32 bit REAL
Demand
47002
32 bit REAL
Reactive Power
47003
32 bit REAL
Apparent Power
47004
32 bit REAL
Power Factor
47005
32 bit REAL
Voltage: Line to Line
47006
32 bit REAL
Voltage: Line to Neutral
47007
32 bit REAL
Current
Configure the Float Start and Float Flag parameters as shown.
The Float Flag causes the module to use the FloatStart parameter to determine
which DevAddress requires a write command to issue double the number of
bytes.
With the above configuration, any DevAddress > 7000 is known to be floating-
point data. Therefore, a count of 1 will send 4 bytes of data, instead of the normal
2 bytes of data to a non Enron/Daniel floating-point register.
1 First, copy the floating-point data from the ControlLogix processor into the
MCM.DATA.W
RITE
D
ATA
array used by the MVI56E-MCM module. Below is
an example.
2 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].