Cameron's Measurement Systems division is a manufacturer of high quality instrumentation and
control products, selling direct from a Pittsburgh based factory to customers in the U.S. and
through agents and representatives overseas. A complete range of support services is offered. For
additional information or assistance on the application, operation or servicing of the LEFM 200
Modbus, write, call, or visit www.c-a-m.com.
Before performing maintenance procedures, system verification procedures, repair procedures,
and troubleshooting procedures, personnel should receive general training from Cameron.
Contact Cameron’s Measurement Systems division for information on training programs.
Caldon is a trademark of Cameron International Corporation (“Cameron”).
LEFM is a registered trademark of Cameron.
Modbus is a registered trademark of Modbus Organization, Inc.
5.2Polling Floating Point Registers ...............................................................................................39
December 2010Page iTable of Contents
IB0147 Rev. 08LEFM 200 Modbus User Manual
Table of ContentsPage iiDecember 2010
LEFM 200 Modbus User ManualIB0147 Rev. 8
1.0PURPOSE
This manual documents the parameters and Modbus addresses necessary for typical maintenance
of the LEFM 200 transmitter. It includes the addresses and locations of typical setup
configuration values and output data. It also defines the formats and ranges for these values.
This manual is for use with interfacing the LEFM 200 transmitter with other systems. If a user
interface is all that is required, then use the LEFMLink interface program available from
Cameron.
The parameters defined include the following:
•Flow scaling and counts factor
•Analog interface parameters
•Modbus and display interface parameters
The transmitter will accept any value in a given field (provided it is the expected format and
address, for example floating point or integer and not character). However, there are values that
produce illogical inputs. Therefore, this document defines and recommends ranges for all inputs
based on engineering analysis.
1.1Related Documents
The LEFM 200 and SoundTrack transmitters use the Modbus protocol for serial communication:
Modicon Modbus Protocol Reference Guide (PI-MBUS-300 Rev. C) dated January 1991.
The following documents may also be useful:
Cameron LEFM280C, LEFM 240C and 220C Installation and Operation Manuals
SoundTrack Installation and Operation Manual
Cameron LEFM 210E Installation and Operation Manual
1.2Intended Audience
The LEFM 200 flowmeters and SoundTrack Interface detectors can be customized following the
information provided in this manual. This manual is intended to be used by plant site operators,
site engineers, and supervisory personnel. This manual assumes the reader is familiar with the
terminology typically used with Modbus.
1.3Procedure
Note: Always read a register’s value first in order to confirm its current value before it is
changed.
1. Identify the Holding Register to be changed.
2. Read the contents of the Holding Register to confirm its as-found value.
December 2010Page 1Section 1
IB0147 Rev. 08LEFM 200 Modbus User Manual
3. Send Password to Register 2000. (The password expires after ~5 minutes.) The password is
typically controlled by the site manager. If the password cannot be determined, contact
Cameron’s Measurement System division to determine the as-shipped password.
4. Change the register using Modbus protocol.
5. Activate the Burn and Use Register.
The transmitter will not start using any of its new fields until the Holding Register Burn and
Use (address 170) is activated. When this register is activated (by putting a 1 into the field),
all the registers are burned into the transmitter’s memory and the device will restart using the
latest registers. This must be completed before the password expires!
The following table defines the addresses for the software setup variables used by typical users.
*Other address locations not listed here were used by Cameron to customize each meter for its
manufactured dimensions.
Holding Registers are accessed from the 200 Series Electronics with Modbus Function Code 3.
Note: Integer values are limited to ±32767.
2.1Registers to Save the Setup
Setup Variable Holding
Register
Variable DefinitionAddress*Notes
Command to use latest entries
BURN AND USEInteger170Activate new setup
values
Save Setup Lockout (Ci Only)
To place the transmitter in lockout mode put switches 1 -6 in the on position.
In Lockout mode – all write commands (FNC16, FNC6) to holding registers and special action
holding registers (burn and use) sent via Modbus are blocked. A Modbus error code indicating
an illegal address is returned in response. Read commands to holding and input registers (e.g.,
FNC3, FNC4) are still enabled.
2.2Registers for Scaling Flow, Flow Units and Pulse Output
Setup Variable Holding
Register
MINIMUM FLOW
CUTOFF
Variable
Definition
Address*
Notes
Float44Flow rates below this value ( in
absolute value) are clamped to 0
(display and pulses) and the flow
meter’s totalizers do not update.
UNITS CONVERSION
(converts default cubic feet
to other units)
December 2010Page 3Section 2
Float52Typically delivered in customer
requested units:
Typical Units:
0.178095238 converts to barrels
2.8317E-02 converts to cubic meters
IB0147 Rev. 08LEFM 200 Modbus User Manual
Setup Variable Holding
Register
FLOW RATE TIME UNITS
(converts flow rates from per
second to other time units)
Variable
Definition
Address*
Notes
Float54Typically delivered in customer
requested units (standard is 3600 for
flow per hour other choices are 1 for
per second 60 for per minute)
NETORGROSSInteger500 = GROSS FLOW, Rate & Total
1 = NET FLOW, Rate & Total
Net Reference TemperatureFloat1114Reference Temperature in
Temperature Units used to Calculate
Net Flow.
Use the units that the system was
delivered in (e.g., degF or degC)
Net Reference PressureFloat1116Reference Pressure in Pressure Units
used to Calculate Net Flow.
Use the units that the system was
delivered in. The units maybe one of
the following:
Kg/cm2,
PSIG,
bar,
kPa
KfactorFloat98See LEFM 240C/220C Installation,
Operation, and Maintenance manual
for table of pulses per unit volume.
When changing to a non-standard kfactor the desired flow range must
produce an output between these
values:
Minimum Frequency = 3 Hz
Maximum Frequency = 10 kHz
Force a Frequency OutputInteger8020 = Normal Operation
Any other value outputs a pulse
output at a frequency equal to the
value entered.
Section 2Page 4December 2010
LEFM 200 Modbus User ManualIB0147 Rev. 8
Setup Variable Holding
Register
Variable
Definition
Address*
Notes
Totalizer Wrap-around ValueFloat100Absolute value at which totalizers
wraparound.
For example if this register = 1000.0,
then the totalizers would wrap around
back to 0 after 999.9.
2.3Reference Temperature and Pressure for Gross to Net Conversions and
Fail State References
Setup Variable Holding
Register
Use External
Temperature
Variable
Definition
Address*Notes
Integer11180 = Use INPUT1 for Fluid Temp
1 = Use INPUT3 for Fluid Temp
Use External DensityInteger11190 = Use LEFM Calculated Density for
Gross to Net conversion
1 = Use INPUT4 for Density for Gross to
TOTALIZER1 FIELD WIDTHInteger780See Display Notes below
(page 16)
December 2010Page 5Section 2
IB0147 Rev. 08LEFM 200 Modbus User Manual
Setup Variable Holding Register
TOTALIZER 1 DECIMAL
PRECISION
Variable
Definition
Address*Notes
Integer781See Display Notes below
(page 16)
TOTALIZER 2 FIELD WIDTHInteger782See Display Notes below
(page 16)
TOTALIZER 2 DECIMAL
PRECISION
Integer783See Display Notes below
(page 16)
FLOWUNITSInteger784See Display Notes below
(page 16)
TOTUNITSInteger785See Display Notes below
(page 16)
2.5Modbus Protocol Setups
Setup Variable
Holding Register
Modbus Register
Update Period
Variable
Definition
Address*Notes
Integer168Period (in seconds) that Modbus registers
are updated.
240C/220C Note:
Value typically set to 5 seconds.
Values less than 4 may adversely
affect meter operation.
SoundTrack Note:
Value typically set to 1 second.
Modbus
Communications
Integer787Communication Protocol Modbus RTU = 0
(Standard) Modbus ASCII = 1
Protocol
Modbus AddressInteger788Modbus address (default as delivered is
MODADDRESS = 1)
Modbus Baud RateUnsigned
Integer
789Allows different BAUD rates:
Choices
9600
19200
38400
It is noted, that if DIP Switch 2 is ENABLED on startup, the following occur:
Modbus address defaults to “1”
Section 2Page 6December 2010
LEFM 200 Modbus User ManualIB0147 Rev. 8
BAUD rate defaults to “9600”
This default state is discontinued if the software is re-started with the DIP Switch 2 set to
Disabled (down). Further, if DIP Switch 2 is ENABLED on startup, the software will wait for a
setup before it starts to collect data.
2.6Calculated Viscosity Setups
The LEFM200/SoundTrack calculates the viscosity of the fluid based on the acoustic attenuation
and the VOS (sound velocity). The software will calculate a fluid ID for each fluid. There are
10 fluid IDs. Using the fluid ID, the software selects a viscosity curve with which it computes
the viscosity. Each of these curves may be given an offset and/or slope in order to optimize the
computation of viscosity. This viscosity is only for the customer’s reference or for a fluid
property.
Setup Variable Holding
Register
Fluid No. 1 - Viscosity
Offset
Fluid No. 1 - Viscosity
Slope
Fluid No. 2 - Viscosity
Offset
Fluid No. 2 - Viscosity
Slope
Fluid No. 3 - Viscosity
Offset
Fluid No. 3 - Viscosity
Slope
Fluid No. 4 - Viscosity
Offset
Fluid No. 4 - Viscosity
Slope
Variable
Definition
Address*Notes
Float826User offset for calibrating –
Viscosity Fluid No. 1
Float828User slope for calibrating –
Viscosity Fluid No. 1
Float850User offset for calibrating –
Viscosity Fluid No. 2
Float852User slope for calibrating –
Viscosity Fluid No. 2
Float874User offset for calibrating –
Viscosity Fluid No. 3
Float876User slope for calibrating –
Viscosity Fluid No. 3
Float898User offset for calibrating –
Viscosity Fluid No. 4
Float900User slope for calibrating –
Viscosity Fluid No. 4
Fluid No. 5 - Viscosity
Offset
Fluid No. 5 - Viscosity
Slope
Fluid No. 6 - Viscosity
Offset
Fluid No. 6 - Viscosity
Slope
December 2010Page 7Section 2
Float922User offset for calibrating –
Viscosity Fluid No. 5
Float924User slope for calibrating –
Viscosity Fluid No. 5
Float946User offset for calibrating –
Viscosity Fluid No. 6
Float948User slope for calibrating –
Viscosity Fluid No. 6
IB0147 Rev. 08LEFM 200 Modbus User Manual
Setup Variable Holding
Register
Fluid No. 7 - Viscosity
Offset
Fluid No. 7 - Viscosity
Slope
Fluid No. 8 - Viscosity
Offset
Fluid No. 8 - Viscosity
Slope
Fluid No. 9 - Viscosity
Offset
Fluid No. 9 - Viscosity
Slope
Fluid No. 10 - Viscosity
Offset
Fluid No. 10 - Viscosity
Slope
Variable
Definition
Address*Notes
Float970User offset for calibrating –
Viscosity Fluid No. 7
Float972User slope for calibrating –
Viscosity Fluid No. 7
Float994User offset for calibrating –
Viscosity Fluid No. 8
Float996User slope for calibrating –
Viscosity Fluid No. 8
Float1018User offset for calibrating –
Viscosity Fluid No. 9
Float1020User slope for calibrating –
Viscosity Fluid No. 9
Float1042User offset for calibrating –
Viscosity Fluid No. 10
Float1044User slope for calibrating –
Viscosity Fluid No. 10
2.7Calculated Density Setups
The LEFM200/SoundTrack calculates the density of the fluid based on the VOS (sound
velocity), temperature and pressure. The software calculates a fluid ID for each fluid using these
variables. There are 10 fluid IDs. Using the fluid ID, the software selects a density curve with
which it computes the density specific to that fluid. Each of these curves may be given an offset
and/or slope in order to optimize the computation. This density is only for the customer’s
reference or for a fluid property.
Setup Variable Holding
Register
Fluid No. 1 - Specific
Gravity Offset
Fluid No. 1 - Specific
Gravity Slope
Fluid No. 2 - Specific
Gravity Offset
Fluid No. 2 - Specific
Gravity Slope
Fluid No. 3 - Specific
Gravity Offset
Variable
Definition
Address*Notes
Float286User offset for calibrating –
Specific Gravity Fluid No. 1
Float288User slope for calibrating –
Specific Gravity Fluid No. 1
Float340User offset for calibrating –
Specific Gravity Fluid No. 2
Float342User slope for calibrating –
Specific Gravity Fluid No. 2
Float394User offset for calibrating –
Specific Gravity Fluid No. 3
Section 2Page 8December 2010
LEFM 200 Modbus User ManualIB0147 Rev. 8
Setup Variable Holding
Register
Fluid No. 3 - Specific
Gravity Slope
Fluid No. 4 - Specific
Gravity Offset
Fluid No. 4 - Specific
Gravity Slope
Fluid No. 5 - Specific
Gravity Offset
Fluid No. 5 - Specific
Gravity Slope
Fluid No. 6 - Specific
Gravity Offset
Fluid No. 6 - Specific
Gravity Slope
Fluid No. 7 - Specific
Gravity Offset
Variable
Definition
Address*Notes
Float396User slope for calibrating –
Specific Gravity Fluid No. 3
Float448User offset for calibrating –
Specific Gravity Fluid No. 4
Float450User slope for calibrating –
Specific Gravity Fluid No. 4
Float502User offset for calibrating –
Specific Gravity Fluid No. 5
Float504User slope for calibrating –
Specific Gravity Fluid No. 5
Float556User offset for calibrating –
Specific Gravity Fluid No. 6
Float558User slope for calibrating –
Specific Gravity Fluid No. 6
Float610User offset for calibrating –
Specific Gravity Fluid No. 7
Fluid No. 7 - Specific
Gravity Slope
Fluid No. 8 - Specific
Gravity Offset
Fluid No. 8 - Specific
Gravity Slope
Fluid No. 9 - Specific
Gravity Offset
Fluid No. 9 - Specific
Gravity Slope
Fluid No. 10 - Specific
Gravity Offset
Fluid No. 10 - Specific
Gravity Slope
Float612User slope for calibrating –
Specific Gravity Fluid No. 7
Float664User offset for calibrating –
Specific Gravity Fluid No. 8
Float666User slope for calibrating –
Specific Gravity Fluid No. 8
Float718User offset for calibrating –
Specific Gravity Fluid No. 9
Float720User slope for calibrating –
Specific Gravity Fluid No. 9
Float772User offset for calibrating –
Specific Gravity Fluid No. 10
Float774User slope for calibrating –
Specific Gravity Fluid No. 10
2.8Password Entry
Entering the password into Holding Register 2000 enables the user to change any Holding
Register’s value and to save it (Burn and Use). Once an administrator password has been
entered, then the passwords for up to 5 users and the administrator himself can be changed. The
5 non-administrators can change only the analog scaling and the Kfactor (LEFM200C only).
December 2010Page 9Section 2
IB0147 Rev. 08LEFM 200 Modbus User Manual
Setup Variable Holding
Register
Variable
Definition
Address*Notes
Password EntryInteger2000Enter Password In This
Register
USER0Integer2001Set Password For USER0
USER1Integer2002Set Password For USER1
USER2Integer2003Set Password For USER2
USER3Integer2004Set Password For USER3
USER4Integer2005Set Password For USER4
ADMIN5Integer2006Set Password For ADMIN5
2.9Analog Inputs
The “Units” Holding Register let’s the user select the units for the input interfaces. Typically,
the meter only has an input from the meter body RTD. However, other engineering units can be
used.
2.9.1 Analog Inputs – Units
Units
The Holding Register (102) scales the units as follows:
1 1 2 1
Temperature (°F=0, °C=1)
Pressure (psig =0, kg/cm2=1, bar=2, kPa=3)
Density (g/cc=0, kg/m³=1,API=2,lbm/ft³=3)
Velocity (ft/s - in/s=0, m/s=1)
The analog inputs are slightly different between the 200C electronics and the 200Ci electronics.
For clarity, these two products are treated separately.
2.9.2 Analog Inputs – 200C Electronics Only
Each analog input is scaled using four parameters as follows:
Input Scaling - X1, Y1, X2, Y2
X1 and X2 are in volts (Min = 0; this is associated with 0 volts. Max = 5). Note: The 4 – 20 mA
input is converted to 0 to 5 volts (as is the RTD input).
Y1 and Y2 are in engineering units. Where:
X1 = Minimum limit voltage
Y1 = Engineering value associated with the minimum voltage
X2 = Maximum limit voltage
Y2 = Engineering value associated with the Maximum voltage
Section 2Page 10December 2010
Loading...
+ 32 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.