background image

Manual No. IB0147 Rev. 08

CALDON

®

ULTRASONICS

LEFM

®

200 Modbus

User Manual

Modbus Register

Addresses and Parameters

LEFM200 Series

and

SoundTrack

Summary of Contents for LEFM 200

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

Page 2: ...dures 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 Copyright 2010 Cameron International Corporation Camero...

Page 3: ...10 2 10 Analog Outputs 13 2 11 Display Notes 16 2 12 Meter Data Summary Registers For 101A639 Rev 07 xx xx and later 16 3 0 LEFM 210E SINGLE PATH EXTERNAL FLOW METERS 19 3 1 Registers to Save the Setup 19 3 2 Registers for Scaling Flow Flow Units and Pulse Output 19 3 3 Display Output Screen Format Definitions 20 3 4 Modbus Protocol Setups 21 3 5 Analog Inputs 21 3 6 Analog Outputs 22 3 7 Display ...

Page 4: ...IB0147 Rev 08 LEFM 200 Modbus User Manual Table of Contents Page ii December 2010 ...

Page 5: ...logical inputs Therefore this document defines and recommends ranges for all inputs based on engineering analysis 1 1 Related 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 O...

Page 6: ...ivision 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 u...

Page 7: ...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 2 R...

Page 8: ...its used to Calculate Net Flow Use the units that the system was delivered in e g degF or degC Net Reference Pressure Float 1116 Reference 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 Kfactor Float 98 See LEFM 240C 220C Installation Operation and Maintenance manual for table of pulses p...

Page 9: ...se External Density Integer 1119 0 Use LEFM Calculated Density for Gross to Net conversion 1 Use INPUT4 for Density for Gross to Net conversion A I Failure Default Temperature Float 1120 Temperature used by meter if the Temperature input fails A I Failure Default Pressure Float 1122 Pressure used by meter if the Pressure input fails 2 4 Display Output Screen Format Definitions Setup Variable Holdi...

Page 10: ... Setup Variable Holding Register Variable Definition Address Notes Modbus Register Update Period Integer 168 Period 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 Protocol Integer 787 Communication Protocol Modbus RTU 0 Standard...

Page 11: ...ariable Definition Address Notes Fluid No 1 Viscosity Offset Float 826 User offset for calibrating Viscosity Fluid No 1 Fluid No 1 Viscosity Slope Float 828 User slope for calibrating Viscosity Fluid No 1 Fluid No 2 Viscosity Offset Float 850 User offset for calibrating Viscosity Fluid No 2 Fluid No 2 Viscosity Slope Float 852 User slope for calibrating Viscosity Fluid No 2 Fluid No 3 Viscosity Of...

Page 12: ...ups 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 op...

Page 13: ...ting Specific Gravity Fluid No 7 Fluid No 7 Specific Gravity Slope Float 612 User slope for calibrating Specific Gravity Fluid No 7 Fluid No 8 Specific Gravity Offset Float 664 User offset for calibrating Specific Gravity Fluid No 8 Fluid No 8 Specific Gravity Slope Float 666 User slope for calibrating Specific Gravity Fluid No 8 Fluid No 9 Specific Gravity Offset Float 718 User offset for calibra...

Page 14: ...s can be used 2 9 1 Analog Inputs Units Units The Holding Register 102 scales the units as follows 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...

Page 15: ...mp Input1 Pressure Input 2 Fluid Temp Input 3 Density Input 4 Minimum Voltage for Inputs X1 j 104 112 120 128 Minimum Engineering Value at Minimum Voltage Y1 j 106 114 122 130 Maximum Voltage for Inputs X2 j 108 116 124 132 Maximum Engineering Value at Maximum Voltage Y2 j 110 118 126 134 Setup Variable Holding Register Variable Definition Address Note Meter Body Temp Float 1170 Use these register...

Page 16: ...nts the transmitter does a linear scale Analog Input engineering units Y1 Analog Input X1 Y2 Y1 X2 X1 Since only one analog input is available to the user in the 200Ci electronics that input can be mapped to any of the possible inputs e g fluid temperature pressure or density Inputs not mapped to analog input 1 are mapped either to a Modbus input or a default value according to the following table...

Page 17: ...loat Temperature Offset units are same as defined in Section 2 9 1 Offset 3328 Temperature Slope degrees degrees units are same as defined in Section 2 9 1 Slope 3330 2 10 Analog Outputs The Units Holding Register let s the user select the units for the output interfaces 2 10 1 Analog Outputs Units Units The Holding Register 102 scales the analog outputs as follows 2 10 2 Analog Outputs 200C Elect...

Page 18: ...4 0 Use Default Output Values Use Modbus Input Register Value to Output the Value of that Register AnalogOutputMap2 Integer 1125 AnalogOutputMap3 Integer 1126 AnalogOutputMap4 Integer 1127 The following table defines addresses for the Analog Output setups The variables are entered as Floats however the counts values are limited to integers The equation used is as follows Analog Output i counts B1 ...

Page 19: ... during manufacturing and should not be changed Variable Description Name Holding Register Address Output1 Minimum Engineering Value A1 do not change 136 Minimum Count Value B1 138 Maximum Engineering Value A2 do not change 140 Maximum Count Value B2 142 Default Outputs Output 1 Flow The default output units are as follows Flow based on units conversion and time units conversion The output can als...

Page 20: ...ing Register Variable Definition Address FLOW DISPLAY UNITS INTEGER 784 TOTALIZER DISPLAY UNITS INTEGER 785 2 12 Meter Data Summary Registers For 101A639 Rev 07 xx xx and later The following holding registers have meter data These values are read only Writing to these values will not change their values These values have been added to the Holding register space in order to support OMNI flow comput...

Page 21: ... Path 6 Avg Gain Float 5028 dB Path 7 Avg Gain Float 5030 dB Path 8 Avg Gain Float 5032 dB Path 1 Avg SNR Integer 5034 N A Path 2 Avg SNR Integer 5035 N A Path 3 Avg SNR Integer 5036 N A Path 4 Avg SNR Integer 5037 N A Path 5 Avg SNR Integer 5038 N A Path 6 Avg SNR Integer 5039 N A Path 7 Avg SNR Integer 5040 N A Path 8 Avg SNR Integer 5041 N A Path 1 Status Integer 5042 N A Path 2 Status Integer ...

Page 22: ...IB0147 Rev 08 LEFM 200 Modbus User Manual Section 2 Page 18 December 2010 ...

Page 23: ...ing Flow Flow Units and Pulse Output Setup Variable Holding Register Variable Definition Address Notes MINIMUM FLOW CUTOFF Float 44 Flow 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 Float 52 Typically delivered in customer requested units Typical Units 0 1780952...

Page 24: ... an output between these values Minimum Frequency 3 Hz Maximum Frequency 10 kHz Force a Frequency Output Integer 802 0 Normal Operation Any other value outputs a pulse output at a frequency equal to the value entered 3 3 Display Output Screen Format Definitions Setup Variable Holding Register Variable Definition Address Notes FLOW FIELD WIDTH Integer 776 See Display Notes below Section 3 8 FLOW DE...

Page 25: ...0 19200 38400 It is noted that if DIP Switch 2 is ENABLED on startup the following occur Modbus address defaults to 1 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 3 5 Analog Inputs Each analog inp...

Page 26: ...6 Analog Outputs Output Scaling B1 A1 B2 A2 B1 B2 are in engineering units and A1 A2 are in counts 0 for minimum range 65535 for maximum range Analog Output counts A1 analog engineering units B1 A2 A1 B2 B1 Default Outputs Output 1 Flow The following table defines addresses for the Analog Output setups The variables are entered as Floats however the counts values are limited to integers The equati...

Page 27: ...field width is 7 and the decimal precision is 4 then the field will look like XX XXXX 7 total characters including the decimal point and 4 to the right of the decimal point The width variables are Flow field width 776 Flow display The decimal variables are Flow decimal precision 777 Flow display Display Units The flow display text is for display text only Units Conversion discussed previously scal...

Page 28: ...IB0147 Rev 08 LEFM 200 Modbus User Manual Section 3 Page 24 December 2010 ...

Page 29: ... Float 0 Nanoseconds Path 1 Float 2 Nanoseconds Path 2 Float 4 Nanoseconds Path 3 Float 6 Nanoseconds Path 4 Float 500 Nanoseconds Path 5 Float 502 Nanoseconds Path 6 Float 504 Nanoseconds Path 7 Float 506 Nanoseconds Path 8 Difference in Time of flight upstream to downstream This term is linear with Velocity and Flow Rate Output Variable Input Register Variable Definition Address Units Notes Floa...

Page 30: ... Notes Integer 16 Path 1 Integer 17 Path 2 Integer 18 Path 3 Integer 19 Path 4 Integer 516 Path 5 Integer 517 Path 6 Integer 518 Path 7 Integer 519 Path 8 Measured signal to noise ratio Average Output Variable Input Register Variable Definition Address Units Notes Integer 24 N A Path 1 Avg Integer 25 N A Path 2 Avg Integer 26 N A Path 3 Avg Integer 27 N A Path 4 Avg Integer 524 N A Path 5 Avg Inte...

Page 31: ...Output Variable Input Register Integer 200 N A Path 1Up Integer 201 N A Path 2Up Integer 202 N A Path 3Up Integer 203 N A Path 4Up Integer 204 N A Path 1Dn Integer 205 N A Path 2Dn Integer 206 N A Path 3Dn Integer 207 N A Path 4Dn Integer 700 N A Path 5Up Integer 701 N A Path 6Up Integer 702 N A Path 7Up Integer 703 N A Path 8Up Integer 704 N A Path 5Dn Integer 705 N A Path 6Dn Integer 706 N A Pat...

Page 32: ...p DN Path Gain 5 direct Float 712 dB Average Up DN Path Gain 6 direct Float 714 dB Average Up DN Path Gain 7 direct Float 716 dB Average Up DN Path Gain 8 direct Float 718 dB Average Up DN Path Gain 1 echo Float 220 dB Average Up DN Path Gain 2 echo Float 222 dB Average Up DN Path Gain 3 echo Float 224 dB Average Up DN Path Gain 4 echo Float 226 dB Average Up DN Path Gain 5 echo Float 720 dB Avera...

Page 33: ...iable Input Register Variable Definition Address Units Notes Totalizer Number 1 Resettable Float 140 See HR52 Totalizer Number 2 not Resettable Float 142 See HR52 Totalizer Float 144 See HR52 Totalizer Float 146 See HR52 4 4 Analog Input Values Output Variable Input Register Variable Definition Address Units Notes Temperature Body Float 78 See Holding Register 102 for units Pressure Float 80 Tempe...

Page 34: ...alogInput2 Float 84 Volts AnalogInput3 Float 86 Volts AnalogInput4 Float 88 Volts Analog Input Status Integer 210 wxyz w A I 1 x A I 2 y A I 3 z A I 4 0 Normal 1 Fail Low 2 Fail High 4 5 Setup File Information Setup File Information Output Variable Input Register Variable Definition Address Units Notes Number of times setup has been modified Integer 149 CheckSum of setup file Integer 148 ...

Page 35: ...Non Fluid Attenuation Float 270 dB Non Fluid Correction Echo Paths Working and used for Viscosity Integer 268 ProductID Integer 92 100 Density ID Viscosity ID Path VOS Speed of Sound Output Variable Input Register Variable Definition Address Units Notes Float 40 in s or m s Path 1 Float 42 in s or m s Path 2 Float 44 in s or m s Path 3 Float 46 in s or m s Path 4 Float 540 in s or m s Path 5 Float...

Page 36: ...rm4 Float 100 N A Path 4 VNorm5 Float 594 N A Path 5 VNorm6 Float 596 N A Path 6 VNorm7 Float 598 N A Path 7 VNorm8 Float 600 N A Path 8 Log Reynolds No Float 138 N A Path Fluid Velocity Output Variable Input Register Variable Definition Address Units Notes Float 48 ft s or m s Path 1 Float 50 ft s or m s Path 2 Float 52 ft s or m s Path 3 Float 54 ft s or m s Path 4 Float 548 ft s or m s Path 5 F...

Page 37: ...Checksum 3 No GSS Path Status 0 normal 1 path failing due to rejects 6 path is failing a speed of sound test Output Variable Input Register Variable Definition Address Units Notes PathStatus1 Integer 74 N A Path 1 PathStatus2 Integer 75 N A Path 2 PathStatus3 Integer 76 N A Path 3 PathStatus4 Integer 77 N A Path 4 PathStatus5 Integer 574 N A Path 5 PathStatus6 Integer 575 N A Path 6 PathStatus7 In...

Page 38: ...ath 2 Ohm Dn Float 246 kΩ Path 2 Ohm Dn Float 248 kΩ Path 3 Ohm Up Float 250 kΩ Path 3 Ohm Up Float 252 kΩ Path 3 Ohm Dn Float 254 kΩ Path 3 Ohm Dn Float 256 kΩ Path 4 Ohm Up Float 258 kΩ Path 4 Ohm Up Float 260 kΩ Path 4 Ohm Dn Float 262 kΩ Path 4 Ohm Dn Float 264 kΩ Path 5 Ohm Up Float 734 kΩ Path 5 Ohm Up Float 736 kΩ Path 5 Ohm Dn Float 738 kΩ Path 5 Ohm Dn Float 740 kΩ Path 6 Ohm Up Float 742...

Page 39: ... 2010 Page 35 Section 4 Transducer Impedance Output Variable Input Register Variable Definition Address Units Notes Path 7 Ohm Dn Float 756 kΩ Path 8 Ohm Up Float 758 kΩ Path 8 Ohm Up Float 760 kΩ Path 8 Ohm Dn Float 762 kΩ Path 8 Ohm Dn Float 764 kΩ ...

Page 40: ...IB0147 Rev 08 LEFM 200 Modbus User Manual Section 4 Page 36 December 2010 ...

Page 41: ...ansaction 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 These correspond to Input Registers 200 201 202 203 Reported values from the 200 Series Electronics are 14 19 22 15 Master Polling Device Trapped Serial Data ...

Page 42: ...4 dec 4 dec Request 4 Registers Words 70 04 hex CRC16 checksum Rx message 02 04 08 00 0E 00 13 00 16 00 0F E0 8A 02 hex Slave ID 2 04 hex Function Code 4 Input Registers no error code 08 hex 8 bytes to follow 00 0E hex 00 hex 256 0E hex 0 dec 14 dec 14 SNR_UP1 IR 200 14 00 13 hex 00 hex 256 13 hex 0 dec 19 dec 19 SNR_UP2 IR 201 19 00 16 hex 00 hex 256 16 hex 0 dec 22 dec 22 SNR_UP3 IR 202 22 00 0F...

Page 43: ...saction 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 This corresponds to IR38 and 39 as a floating point value The 200 Series Electronics returns a value of 305 9034 Master Polling Device Trapped Serial Data ...

Page 44: ...11 bin A2 hex Low byte 10100010 bin 99 A6 hex CRC16 checksum To Calculate the Floating Point Value 1 Representation Word Register X Word Register X 1 Representation High byte High Mid byte Low Mid byte Low byte From above 4398 F3A2 hex 43 98 F3 A2 bin 01000011 10011000 11110011 10100010 2 Separate into sign bit exponent portion and mantissa The first from left to right bit represents the sign the ...

Page 45: ...ersions of the right most 7 bits of the high mid byte scaled by 2 7 the low mid byte scaled by 2 15 and the low byte scaled by 2 23 Mantissa decimal 0011000 2 7 decimal 11110011 2 15 decimal 10100010 2 23 Mantissa 1 875000E 01 7 415771E 03 1 931190E 05 Mantissa 1 949351E 01 6 The floating point number can then be constructed by the following FLOAT 1 sign bit 1 Mantissa 2Exponent FLOAT 1 0 1 1 9493...

Page 46: ...CIFIC AFRICA 1 800 654 3760 65 6737 0444 44 1243 826741 ms us c a m com ms asiapacific c a m com ms uk c a m com USA Houston TX Corpus Christi TX Kilgore TX Odessa TX Dalls TX Tulsa OK Duncan OK Denver CO Bakersfield CA Shreveport LA Lafayette LA Houma LA Pittsburgh PA Laurel MS Saginaw MI Casper WY Charleston WV Canada Calgary AB Edmonton AB International Aberdeen Scotland Beijing China Bognor Re...

Reviews: