Advertisement

Quick Links

®
CALDON
ULTRASONICS
®
LEFM
200 Modbus
User Manual
Modbus Register
Addresses and Parameters
LEFM200 Series
and
SoundTrack
Manual No. IB0147 Rev. 08

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LEFM 200 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cameron LEFM 200

  • Page 1 ® CALDON ULTRASONICS ® LEFM 200 Modbus User Manual Modbus Register Addresses and Parameters LEFM200 Series SoundTrack Manual No. IB0147 Rev. 08...
  • Page 2 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.
  • Page 3: Table Of Contents

    LEFM 200 Modbus User Manual IB0147 Rev. 08 TABLE OF CONTENTS PURPOSE..........................1 Related Documents ........................1 Intended Audience ........................1 Procedure ............................1 HOLDING REGISTERS - LEFM 240C(I), LEFM 220C(I), LEFM280C(I), AND SOUNDTRACK ............................3 Registers to Save the Setup......................3 Registers for Scaling Flow, Flow Units and Pulse Output ............3 Reference Temperature and Pressure for Gross to Net Conversions and Fail State References 5 Display Output Screen Format Definitions.................5...
  • Page 4 IB0147 Rev. 08 LEFM 200 Modbus User Manual Table of Contents Page ii December 2010...
  • Page 5: Purpose

    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.
  • Page 6 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.
  • Page 7: Holding Registers - Lefm 240C(I), Lefm 220C(I), Lefm280C(I), And Soundtrack

    LEFM280C(i), and SoundTrack 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.
  • Page 8 IB0147 Rev. 08 LEFM 200 Modbus User Manual Setup Variable Holding Variable Notes Address* Register Definition FLOW RATE TIME UNITS Float Typically delivered in customer (converts flow rates from per requested units (standard is 3600 for second to other time units)
  • Page 9: Reference Temperature And Pressure For Gross To Net Conversions And Fail State References

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Setup Variable Holding Variable Notes Address* Register Definition Totalizer Wrap-around Value Float Absolute value at which totalizers wraparound. For example if this register = 1000.0, then the totalizers would wrap around back to 0 after 999.9.
  • Page 10: Modbus Protocol Setups

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Variable Setup Variable Holding Register Address* Notes Definition TOTALIZER 1 DECIMAL Integer See Display Notes below PRECISION (page 16) TOTALIZER 2 FIELD WIDTH Integer See Display Notes below (page 16) TOTALIZER 2 DECIMAL...
  • Page 11: Calculated Viscosity Setups

    LEFM 200 Modbus User Manual IB0147 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.
  • Page 12: Calculated Density Setups

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Setup Variable Holding Variable Address* Notes Register Definition Fluid No. 7 - Viscosity Float User offset for calibrating – Offset Viscosity Fluid No. 7 Fluid No. 7 - Viscosity Float User slope for calibrating –...
  • Page 13: Password Entry

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Setup Variable Holding Variable Address* Notes Register Definition Fluid No. 3 - Specific Float User slope for calibrating – Gravity Slope Specific Gravity Fluid No. 3 Fluid No. 4 - Specific Float User offset for calibrating –...
  • Page 14: Analog Inputs

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Setup Variable Holding Variable Address* Notes Register Definition Password Entry Integer 2000 Enter Password In This Register USER0 Integer 2001 Set Password For USER0 USER1 Integer 2002 Set Password For USER1 USER2...
  • Page 15 LEFM 200 Modbus User Manual IB0147 Rev. 8 Using the above coefficients, the transmitter does a linear scale: Analog Input (engineering units) = Y1 +(Analog Input-X1)*(Y2-Y1)/(X2-X1) For example, for a 100 RTD (-100 to 100°C), 0 volts represent -100°C and 5 volts represents 100°C.
  • Page 16 IB0147 Rev. 08 LEFM 200 Modbus User Manual 2.9.3 Analog Inputs – 200Ci Electronics Only Inputs 3 and 4 are not available on the 220Ci, 240Ci, and 280Ci. Further, Analog input number 1 is the only analog input available to the user. Analog input 2 is dedicated to a 4 wire RTD for the Meter Body Temperature.
  • Page 17: Analog Outputs

    LEFM 200 Modbus User Manual IB0147 Rev. 8 The Modbus registers are located as for the 200C electronics in the following registers. Setup Variable Variable Address Note Holding Register Definition Fluid Pressure Float 1172 Use these registers to input with values from...
  • Page 18 IB0147 Rev. 08 LEFM 200 Modbus User Manual Default Outputs Output 1 Flow, Output 2 VOS (sound velocity), Output 3 Temperature, Output 4 Density The default output units are as follows: Flow – based on units conversion and time units conversion VOS (Sound velocity) is units of velocity –...
  • Page 19 LEFM 200 Modbus User Manual IB0147 Rev. 8 2.10.3 Analog Outputs – 200Ci Electronics Only Output Number 1- Scaling B1, A1, B2, A2 B1/B2 are engineering units and A1/A2 are Digital to Analog converter counts (0 for minimum range, 16383 for maximum range).
  • Page 20: Display Notes

    IB0147 Rev. 08 LEFM 200 Modbus User Manual 2.11 Display Notes Display Units The flow display text is for display text only – Units Conversion discussed previously scales the flow. The following choices select the display text: 0 – “” (no text) 1 –...
  • Page 21 LEFM 200 Modbus User Manual IB0147 Rev. 8 Variable Name Definition Address Units Density Float 5010 See units Average Velocity of Sound Float 5012 See units Viscosity Float 5014 Reynolds Number Float 5016 Path 1 Avg Gain Float 5018 Path 2 Avg Gain...
  • Page 22 IB0147 Rev. 08 LEFM 200 Modbus User Manual Section 2 Page 18 December 2010...
  • Page 23: Lefm 210E (Single Path External Flow Meters)

    LEFM 200 Modbus User Manual IB0147 Rev. 8 3.0 LEFM 210E (SINGLE PATH EXTERNAL FLOW METERS) *Other address locations not listed here were used by Cameron to customize each meter for its manufactured dimensions. Note: Integer values are limited to ±32767.
  • Page 24: Display Output Screen Format Definitions

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Setup Variable Holding Variable Notes Address* Register Definition Kfactor Float See Installation, Operation, and Maintenance manual for table of pulses per unit volume. When changing to a non-standard k- factor the desired flow range must...
  • Page 25: Modbus Protocol Setups

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Modbus Protocol Setups Setup Variable Variable Address* Notes Holding Register Definition Modbus Register Integer Period (in seconds) that Modbus registers Update Period are updated. Note: Value typically set to 5 seconds. Values less than 4 may adversely affect meter operation.
  • Page 26: Analog Outputs

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Using the above coefficients, the transmitter does a linear scale: Analog Input (engineering units) = Y1 +(Analog Input-X1)*(Y2-Y1)/(X2-X1) For example, for a 100 RTD (-100 to 100°C), 0 volts represent -100°C and 5 volts represents 100°C.
  • Page 27: Display Notes

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Display Notes Display Field Width and Decimal Precision The field width variable defines the displayed field width and the decimal precision variable defines the number of characters to the right of the decimal point. For example, if the field width is 7 and the decimal precision is 4, then the field will look like: XX.XXXX...
  • Page 28 IB0147 Rev. 08 LEFM 200 Modbus User Manual Section 3 Page 24 December 2010...
  • Page 29: Data Outputs - Input Registers

    LEFM 200 Modbus User Manual IB0147 Rev. 8 4.0 DATA OUTPUTS – INPUT REGISTERS The following table defines the addresses for the Modbus user outputs (for all systems). Input Registers are accessed from the 200 Series Electronics with Modbus Function Code 4.
  • Page 30: Acoustic Data Quality

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Acoustic Data Quality Percent of data collected that is rejected due to signal to noise ratio, cross-correlation tests, or statistics Output Variable Variable Address Units Notes Input Register Definition Integer Path 1...
  • Page 31 LEFM 200 Modbus User Manual IB0147 Rev. 8 Measured signal to noise ratio Output Output Output Output Variable Variable Variable Output Variable Input Variable Input Input Register Input Input Register Register Register Register Integer Path 1Up Integer Path 2Up Integer...
  • Page 32 IB0147 Rev. 08 LEFM 200 Modbus User Manual Path Gain Data Output Variable Variable Address Units Notes Input Register Definition Path Gain 1 (direct) Float Average Up & DN Path Gain 2 (direct) Float Average Up & DN Path Gain 3 (direct) Float Average Up &...
  • Page 33: Flow Data

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Flow Data Output Variable Variable Address Units Notes Input Register Definition Flow (200 Series) Float See HR52 & HR54 Meter Factor Float Totalizers Output Variable Variable Address Units Notes Input Register Definition...
  • Page 34: Setup File Information

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Analog Inputs Output Variable Variable Address Units Notes Input Register Definition AnalogInput1 Float Volts AnalogInput2 Float Volts AnalogInput3 Float Volts AnalogInput4 Float Volts Analog Input Status Integer wxyz 0 = Normal w = A/I 1...
  • Page 35: Fluid Property Data

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Fluid Property Data Fluid Property Information Output Variable Variable Address Units Notes Input Register Definition Density Calculated Float Metric (x1xx) Viscosity Float Fluid Acoustic Float Fluid Attenuation Attenuation Non-Fluid Attenuation Float Non-Fluid Correction...
  • Page 36: Hydraulic And Velocity Data

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Hydraulic and Velocity Data Hydraulic Information Output Variable Variable Address Units Notes Input Register Definition VNorm1 Float Path 1 VNorm2 Float Path 2 VNorm3 Float Path 3 VNorm4 Float Path 4 VNorm5...
  • Page 37: Meter And Path Status Data

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Meter and Path Status Data Status Registers Output Variable Variable Address Units Notes Input Register Definition Board Status Integer 0 = Normal, 1 = Needs Setup, 2 = Board Failed Checksum, 3 = No GSS...
  • Page 38: Transducer Impedance Test Data

    IB0147 Rev. 08 LEFM 200 Modbus User Manual Transducer Impedance Test Data Transducer Impedance Output Variable Variable Address Units Notes Input Register Definition kΩ Path 1 Ohm Up + Float kΩ Path 1 Ohm Up - Float kΩ Path 1 Ohm Dn + Float kΩ...
  • Page 39 LEFM 200 Modbus User Manual IB0147 Rev. 8 Transducer Impedance Output Variable Variable Address Units Notes Input Register Definition kΩ Path 7 Ohm Dn - Float kΩ Path 8 Ohm Up + Float kΩ Path 8 Ohm Up - Float kΩ...
  • Page 40 IB0147 Rev. 08 LEFM 200 Modbus User Manual Section 4 Page 36 December 2010...
  • Page 41: Examples

    LEFM 200 Modbus User Manual IB0147 Rev. 8 5.0 EXAMPLES Polling Integer Input Registers The following example shows a Modbus data transaction for four Input Register Integers between a Modbus Master and a 200 Series Electronic Unit as Slave ID 2. The Modbus transaction requests Integer type Input Registers for SNR_UP1, SNR_UP2, SNR_UP3, SNR_UP4.
  • Page 42 IB0147 Rev. 08 LEFM 200 Modbus User Manual TX message: 02 04 00 C8 00 04 70 04 02 (hex) = Slave ID 2 04 (hex) = Function Code 4, Input Registers 00 C8 (hex) = 00 (hex) * 256 + C8 (hex) = 0 (dec) * 256 + 200 (dec) = 200 (dec) = Starting...
  • Page 43: Polling Floating Point Registers

    LEFM 200 Modbus User Manual IB0147 Rev. 8 Polling Floating Point Registers The following example shows a Modbus data transaction for an Input Register Floating Point value between a Modbus Master and a 200 Series Electronic Unit as Slave ID 2. The Modbus transaction request the Floating Point type Input Register(s) for flow.
  • Page 44 IB0147 Rev. 08 LEFM 200 Modbus User Manual TX message: 02 04 00 26 00 02 90 33 02 (hex) = Slave ID 2 04 (hex) = Function Code 4, Input Registers 00 26 (hex) = 00 (hex) * 256 + 25 (hex) = 0 (dec) * 256 + 38 (dec) = 38 (dec) = Starting Address...
  • Page 45 LEFM 200 Modbus User Manual IB0147 Rev. 8 10000111 = exponent portion Exponent = dec (10000111) –127 = 135 – 127 = 8 Mantissa: 0011000 11110011 10100010 The mantissa is deconstructed by summing up the binary to decimal conversions of the right...
  • Page 46 Fax 724-273-9301 Canada: Calgary, AB • Edmonton, AB International: Aberdeen, Scotland • Beijing, China • Bognor Regis, UK Dubai, UAE • Hassi Messaoud, Algeria • Jakarta, Indonesia • Singapore The ultrasonic measurement HOUSTON HEAD OFFICE: 281.582.9500 www.c-a-m.com/flo group of Cameron...

Table of Contents