ProSoft Technology MVI94-MCM-MHI User Manual
Page 31

MVI94-MCM ♦ Flex I/O Platform
Configuration
Serial Communications Modbus Communication Module
User Manual
ProSoft Technology, Inc.
Page 31 of 109
March 29, 2011
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 MVI94-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].
The following illustration shows the command required to write these 7 Floating-
Point values.