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.
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...
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.
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)
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.
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.
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.
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).
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...
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.
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...
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.
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.
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...
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.
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 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 &...
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...
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.
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 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...
Need help?
Do you have a question about the LEFM 200 and is the answer not in the manual?
Questions and answers