Home
AFC_Manager_User_Manual
Contents
1. Liquid and Gas Flow Computer User Manual Description Meter Relative Address Length Scan count calculation 1619 1 word AGA 8 Molar mass of mixture 1620 2 words AGA 8 Ideal gas relative density 1622 2 words AGA 8 Compressibility at reference 1624 2 words AGA 8 Molar density at reference 1626 2 words AGA 8 Density at reference 1628 2 words AGA 8 Relative density at reference 1630 2 words AGA 8 Compressibility flowing 1632 2 words AGA 8 Molar density flowing 1634 2 words AGA 8 Density flowing 1636 2 words AGA 8 Supercompressibility Fpv 1640 2 words Previous timer tick count 1661 1 word Scan period seconds 1662 2 words AGA 3 Pressure extension 1664 2 words AGA 3 Differential pressure in static pressure units 1666 2 words AGA 3 Orifice bore diameter at temperature 1668 2 words AGA 3 Meter tube internal diameter at temperature 1670 2 words Reserved 1672 2 words AGA 3 Density flowing 1674 2 words AGA 3 Mass flow rate Qm 1678 2 words AGA 3 Velocity of approach factor Ev 1680 2 words AGA 3 Expansion factor Y 1682 2 words AGA 3 Coefficient of discharge Cd 1684 2 words AGA 3 Composition factor 1686 2 words AGA 7 Temperature factor Ftm 1694 2 words AGA 7 Pressure factor Fom 1696 2 words AGA 7 C prime 1698 2 words Molar heating value MJ kmol 1700 2 words Mass heating value 1702 2 words Volumetric heating value 1704 2 words MPMS Ch 11 Density at API base temperatur
2. Water content Scaled integer number between 75 and 500 C ero scale lt Default lt Full scale IE 0 0 Density kg m3 0 Floating point 0 300 Il se Done The entries available on this dialog box depend on the selected product group device and primary input Product Group Input Variables Gas Temperature Pressure Flow Rate Differential Pressure Pulse Frequency Liquid Temperature Pressure Flow Rate Differential Pressure Pulse Frequency Density Water Content 3 10 1 Zero Scale This value is the minimum valid value for the input variable 3 10 2 Full Scale This value is the maximum valid value for the input variable 3 10 3 Default This parameter is used by the module as the input value when the input variable is out of range and site option Process input out of range use last good value is clear In this situation the module will flag the alarm and use the default value instead of the value transferred by the module ProSoft Technology Inc Page 83 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 10 4 Raw Input This parameter configures how the module will interpret the input variable within the given range The possible selections are floating point scaled integer and 4 to 20 mA The default is floating point in which the raw input from the processor
3. 8160 8161 Float Parameter orifice plate measurement temperature 8162 8163 Float Parameter orifice plate measured diameter 8164 8165 Float Parameter orifice plate coef of thermal expansion 8166 8167 Float Parameter meter tube measurement temperature 8168 8169 Float Parameter meter tube measured diameter 8170 8171 Float Parameter meter tube coef of thermal expansion 8172 8173 Float Parameter differential pressure flow threshold The meter relative addresses are Mh00162 and Mh00163 The addresses for meters 1 to 5 are listed on the following table Meter Registers 1 8162 and 8163 2 10162 and 10163 3 12162 and 12163 4 14162 and 14163 5 16162 and 16163 Scratchpad The Primary Modbus Slave contains a scratchpad area that can be used to store any data required by each application This area is empty by default and contains 6000 words of data starting at holding register 2000 in the Primary Modbus Slave ProSoft Technology Inc Page 213 of 267 March 2 2011 Modbus Database AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Virtual Slave The module also provides a Virtual Address Space of 20 000 Modbus registers This address space is divided equally between the Input Register Bank 10 000 registers and the Holding Register Bank Holding Register Bank 10 000 This is where you can create a virtual re map by cross referencing any of the 130 072 Primar
4. AFC 56 16 Metering Data Date 16 09 2002 12 04 04 Site Name MVI Flow Station Project AFC Meter 1 Tag M01 Gross accum totalizer x f3 1383 Gross accum residue x 3 0 3344682 et accum totalizer x 3 221451 et accum residue x 3 7 455254E 02 Mass accum totalizer x lb 12537 Mass accum residue x lb 0 6372076 Gross flow rate x 3 h 483 1948 et flow rate x 3 h 40248 Mass flow rate x lb h 2280 571 Temperature input Floating point 1 5 Temperature F 15 Pressure input Floating point 1000 Pressure psig 1000 Differential Pressure input Floating point 22 Differential pressure hw 22 Pressure extension 149 4683 Velocity of approach factor Ev L038 2773 Expansion factor Y 0 9997441 Discharge coefficient Cd 0 6042569 Orifice characterization error 0 Molar mass of mixture 21 42973 Ideal gas relative density 0 7399113 Relative density 60 F 60 F 0 7404104 Reference density kg m3 5 666295E 02 Flowing density kg m3 4 719774 Fpv 1 050526 Reference compressibility 0 9989105 Flowing compressibility 0 9051347 Composition factor 0 2728558 Analysis characterization error 0 AGA8 calculation error 0 Alarms details below 0000h Alarm Bits bit 0 Temperature input out of range bit 1 Pressure input out of range bit 2 Diff pressure input out of range bit 3 Flowing density input out of range bit 4 Water content input out of range bit 5 Diff pressure low bit 8 Orifice characterization error
5. _ Long Integer Floating Point Disable c c c e e g Integ g Binay Byte Wee ha Decimal IV Big endian word order check this for AFC Modbus Communication A remote Modbus Master device can be connected to any one of the communication ports for data polling The module accepts the following Modbus command functions according to the Modbus protocol specification Modbus Function Code Description 3 Read Holding Registers 4 Read Input Registers 6 Preset Write Single Register 16 Preset Write Multiple Registers Ports 2 and 3 support RS 232 RS 422 or RS 485 communications The Configuration Debug port Port 1 supports RS 232 only Refer to Cable Connections for wiring instructions ProSoft Technology Inc Page 39 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The Modbus Master command can be sent to either the Primary or Virtual Modbus Slaves in the module Each slave has individual Modbus addresses that you can configure Project Site Configuration The Primary Slave address is configured as 244 by default Modbus Master SN Communication Parameters The module supports the following communication parameters for each communication port AFC Manager Parameter Values Baud Rate 300 600 1200 2400 4800 9600 or 19200 Data Bits 7ors Stop Bits 1 or 2 Bits Mode RTU
6. ccscceeeeeseeeereees 113 Meter Proving Reports c ceseccccesseeeseeeeesesseneeseneneeeensenenssseneesenenes 126 Protected Meter Proving Data in the AFC s Input Register Bank 127 Note Currently this function is only available on the MVI56 and MVI69 AFC modules For all other platforms continue to use AFC Manager 2 05 or earlier As meters continue to be used over time the meter s measurement accuracy deteriorates Many things can cause the flow sensor bearings to wear down beyond specified limits so that meters are measuring lower volume levels causing producers to pump more oil than the consumer is buying Meter Provers have a Known Traceable Volume which allows using actual flowing and operating conditions to establish a meter correction factor to restore measurement accuracy There are 4 types of provers This chapter will give a basic overview for each type its options and configuration The Unidirectional Pipe Prover The Bidirectional Pipe Prover The Compact Prover The Master Meter ProSoft Technology Inc March 2 2011 Page 103 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 4 1 Prover Configuration 5 amp Prover Configuration Prover type A Select the type of prover NOTE Changing prover type will reset all prover configuration Prover type is a parameter that identifies the basic type o
7. ccccccceeceeeeneeeeeeeeceaeeeeeeeseaeeseeeeseaeeseueeeseeeseaees 208 12 1 1 Modbus Register ACCreSSing cceeeceeeeeeeeeeeeeeneeeeeeeneeeeeeeaeeeeesaeeeesenaeeeeneaeees 208 12 1 2 INPUt REGISTEMS E E EE TO anne die enna 208 12 1 3 HONING REGISCMS wiccvssicccetissgateacsscecedssdehsesnegatenteteatieehedectesedeaneestedeseetebectieetodaeednys 208 12 2 MODBUS Dictionary Dialog Box MODBUS Map ccccceeceeeeeteteeeseteetens 209 12 2 1 Primary sSIAVG iis de csaces sore eahsdvecteas Saasvasscde estas dete shale Sevusrsvaaselt tives a aa ERATA ceeds oases 211 13 Checksum Alarms 217 14 Reference 219 14 1 General Specifications cccccceccceseneeeeneeeeeeeeceaeeeeeeeeeaeeseaeeeeeaeeseaeesseeeseeeseeeeess 220 14 1 1 On line Communication amp Configuration cccceceeeeeeeeseeeeeeeeseeeeeeeeeseneeeeeeeess 221 14 1 2 PODOS echoes tc ada N A eeiaauastevendan AN 221 14 1 3 Modbus Tenra E cats shes vccs steaks sepdvec leteebesce cavdcacenadecuceedesezetags EN 221 Page 8 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Contents Liquid and Gas Flow Computer User Manual 14 1 4 Configurable Options cccccceeceeceeeeeeneeeeeeeeceeeeeeaeeeseaeeeeeaeeseaeeseaeeseeaeeseueeeseaeesias 222 14 1 5 Supported Meters xi a TaT aa a docs lt scteesatenhsdes aus sdatecaiscesahegesteapads exastazseeipdesecdeus 222 14 1 6 Hardware Specifications cccccccceceeecceceeee
8. Print the Report eeseceeeeseeeeeeseeeees Error Bookmark not defined Create the File Report Log File eecceseceeeseeeeeeeeeeeeeeeeeeseaeesseeensas 137 The Overall Monitor provides a summary overview of all meters with less detail than the Meter Monitor Use the Overall Monitor to get a summary of all meters Use the Meter Monitor for more information about a specific meter Select the first meter to be displayed on the left colurnn at this window Shows the current Yall Clock value If the meter has any alarms the meter tag will be red g Overa Monitor x y IQUIMEX Ss Project AFC_DUIMEX az Select Meter gt y Wallelock Meter on left E Meter Tag amp Active Strm Totalizer Gis MMCE MMCF Totalizer Grd std clean oil Totalizer Ne o cr oo cr Tear C iia tam a ae Totalizer Mas Flow rate Gro Flow rate Grs Shows the result Flow rate Net of the Read Flow rate Energ Polling Mode selection Manual or Auto Update time sec fs lt I cr d clean oil MBTU h operation Flow rate Mass beh Temperature if Result Pressure psig Diff pres Flow rate Freq Hz Flowing density Water content Overall Monitor Data contains general output and input data For further information refer to the Meter Monitor section Prints an Overall Creates a log file text Monito
9. Product Group Standard Gas AGA8 and either AGA3 or AGA7 Liquid API MPMS Chapter 11 Crude oils JP4 A tables 23 24 53 54 Use for crude oils that are relatively water free less than 5 and for jet fuel JP4 NGLs LPGs E tables 23 24 53 54 Use for propane butane NGLs natural gas liquids LPG Liquefied Petroleum Gas e g propane Refined Products xJP4 B tables 23 24 53 54 Use for gasolines jet fuels except JP4 and fuel oils Lubricating Oils D tables 23 24 53 54 Special Applications C tables 23 24 53 54 For this product group the coefficient of thermal expansion is configured directly rather than being computed from density Oil Water Emulsions Crd A tables 23 24 53 54 Use for crude that might have a high concentration of water more than 5 for which the API Chapter 20 1 is applicable Firmware version 2 03 000 or later is required to support this option Oil Water Emulsions NGL E tables 23 24 53 54 Use for NGL LPG that might have a high concentration of water more than 5 for which the API Chapter 20 1 is applicable Firmware version 2 03 000 or later is required to support this option ProSoft Technology Inc Page 57 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The following table provides a brief overview of the standards used according to the Meter Type and Product
10. 1 F Taps comer 2 I Taps radius CL Meter Disabled dst cubic metres Accumulation unit g System of units Copy Config From Cus SI Accumulator rollover 4 I V cone Wedge device 5 I 1S0 5167 2003 eke AGA 3 1992 Meter Calculation Options 02050 Allows you to configure certain AGA parameters ity correction for pressure Calculate net heating value else gross Primary Input Differential Pres Flow Rate Reference Conditions 15 Reference temperature C 101 325 Reference pressure kPaa Process Input y Differential Meter Orifice 0 DP flow threshold kPa Control Opts 0 DP alarm threshold kPa V cone Wedge discharge coef Differential Meter Orifice Stream 1 n L00258 _ Viscosiy tep Select Stream Stream number Stream Enabled i Default heating value MJ kg Stream Opts Analysis Process Input Scaling Zero scale Full scale Default Orifice and Tube Parameters Sos eure 0 m Temperature 0 E J5 JE iameter mm 0 0 Thermal expansion coefficient C e 6 16 7 T2 Pressure kPag 0 Ie le Process Input Scaling Enter the value and format for the input variables Differential pressure kPa 0 0 number between 75 and 500 C_ ero scale lt Default lt Full scale
11. To read data from the module 1 Select the Meter Number In the Select Meter panel enter the meter number that will be displayed 2 Select the Polling Mode The Polling Mode determines how frequently the data will be updated from the module o Manual The data will be read once o Auto The data will be updated periodically Enter the number of seconds between each update operation in the Update Time sec 3 Click the Read Button After selecting the Polling Mode Click the Read Button to read the current meter data from the module 4 Look at the Result Area Look at the Result Area for the read operation status Status Description Transmitted The read operation has commenced Success The read operation has completed Timeout The operation was not completed due to communication problems Check the cable and communication parameters It is essential that communication parameters on the local PC are the same as the current module meter configuration If the read operation has been successfully completed but the output data calculated by the module does not seem to update correctly follow these steps Perform two consecutive Read operations to determine if the Wall Clock is currently running If the Wall Clock is not running the module may not correctly perform some time scheduled operations The Wall Clock is set by the ladder logic Wall Clock function and should be set at least at every rack power up Look at the ladde
12. DP Flow Threshold If at any time the differential pressure input value is less than the DP Flow Threshold parameter the module will treat the differential pressure as zero no flow Page 72 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual DP Alarm Threshold If at any time the differential pressure input value is less than the DP Alarm Threshold parameter the module will flag a Differential Pressure Low alarm Note that this alarm is different from the one the module would flag if the differential pressure would be out of range Input Out of Range Differential pressure V Cone Discharge Coefficient For an Orifice meter AGA3 dictates the calculation of the Coefficient of Discharge a multiplicative factor used in calculating the flow rate For a V cone meter there is no corresponding calculation so the Coefficient of Discharge must be entered from the manufacturer s data sheet The V Cone Discharge Coefficient has no meaning unless the V Cone Device option is selected see Calculation Options button Viscosity Enter the viscosity value to be used in the calculation The default value is 0 010268 3 6 2 Orifice and Meter Tube Parameters dialog box This dialog box opens when you click the Orifice button on the Meter Configuration dialog box Temperature C Diameter mm Thermal e
13. Page 193 of 267 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Group Sbgp_ Item DTyp Rkv Data point 1 Flot Range high end 2 Flot i Default 3 Sbyt k Module id code 4 Water content 0 Flot Range low end 1 Flot j Range high end 2 Flot C Default 3 Sbyt s Module id code 5 0 0 Bm24 Analysis component selection map 6 0 0 Ulng k Pulse input rollover 7 Units 0 0 B448 Primary input period quantity units 1 0 Ubyt i Mass flow rate period 2 0 Ubyt i Mass flow rate units 3 0 Ubyt h Mass accumulator units 4 0 Ubyt Energy flow rate period 5 0 Ubyt i Energy flow rate units 6 0 Ubyt i Energy accumulator units 7 0 Ubyt i Volume flow rates period 8 0 Ubyt i Volume flow rates units 9 0 Ubyt i Volume accumulators units 8 Accumulator rollovers 0 0 Ulng bg Mass 1 0 Ulng Energy 2 0 Ulng S Volumes 9 Meter parameter value 0 0 Flot i Orifice plate measurement temperature 1 0 Flot x Orifice plate measured diameter 2 0 Flot Orifice plate coefficient of thermal expansion 3 0 Flot ij Meter tube measurement temperature 4 0 Flot i Meter tube measured diameter 5 0 Flot Meter tube coefficient of thermal expansion 6 0 Flot Primary input flow threshold 7 0 Flot be Primary input alarm threshold 8 0 Flot 4 V cone Wedge coefficient of discharge 10 reserved 11 0 Densitometer 0 Usht 4
14. 7 These values are Value Name 0 Prover not selected not ready 1 Prover active not yet counting 2 Prover active past first switch and counting 3 Prover active past second switch 4 Prover active past first switch return leg 5 Run Complete 6 Prover not selected not ready 7 Prover not selected not ready Description This is the normal value when no proving run is in progress The counter card has been initialized for a proving run but the ball or piston has not yet passed the first switch Counting of the pulses for the run has not yet begun The ball or piston has passed the first switch but not yet passed the second switch and the run counter is counting pulses For bidirectional provers this is the forward leg This state is for bidirectional provers only The ball or piston has passed the second switch of the forward leg the run counter has been stopped and the intermediate count for the forward leg is available During this state the proving hardware should be swinging valves to reverse the stream s direction of flow through the prover preparing it for the return leg This state is for bidirectional provers only The ball or piston has passed the first switch on the return leg but not yet passed the second switch and the run counter is counting pulses The ball or piston has passed the second switch for bidirectional provers the second switch of the return leg the run count
15. Buried Below Ground To Counter q Power Supply To Operator Power Supply Electronic Meter Proving Counter Prover Configuration E x Prover type Unidirectional pipe or tank v System units C US SI Prover tag Density units kg m3 C Rd 60 API 3 j Result Identification Options Write Process Input Variation Limits Runs per prove 0 0001 Meter factor precision fd t c Pulse interpolation ratio bD Maximum attempted runs before abort 11 16 Flow tube linear coef of expansion C e 6 Minimum pulses per run thousands Base temperature C Maximum seconds per run 32 bit integer v Input format pulse count for runs Base prover volume at 15 C m3 Flow tube inside diameter mm Prover size units fo Flow tube wall thickness mm 206 8 Flow tube modulus of elasticity kPa e 6 Read the prover configuration from the Module Done ProSoft Technology Inc Page 105 of 267 March 2 2011 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Bidirectional Pipe Prover This is similar to a unidirectional prover except that use is made of the deadhead transfer of the ball back to its starting point Instead of returning the ball via a separate path valves are swung to reverse the direction of flow in the prover and the ball is returned along its original path to trip the switches a second time in the opposite order The first pass of the ball is called t
16. Meter Calculation Options 80 Meter Configuration 15 54 55 Meter Control Options Dialog Box 64 Meter Data Point Events 190 193 Meter Enabled 65 Meter Factor Linearization 78 Meter factor precision 65028 110 Meter Monitor 28 139 Meter Previous Prove Summary 130 Meter Proving 103 Meter Proving Alarms 116 Meter Proving Reports 126 Meter Type and Product Group Configuration 57 Meter relative Data 212 Meters Button 54 Minimum pulses per run thousands 65016 109 Modbus Address Examples 211 Modbus Address References 211 Modbus Addressing Common to Both Primary and Virtual Slaves 244 Modbus Communication 39 Modbus Database 207 Page 264 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Index Liquid and Gas Flow Computer User Manual MODBUS Dictionary Dialog Box MODBUS Map 39 Print the Report 141 205 209 Printing the Configuration Report 24 Modbus Interface 221 Process input out of range use last good value 45 Modbus Master 42 205 Process Input Scaling 83 Modbus Master Port 3 Only 49 Process Input Scaling Gas 93 Modbus Pass Through 41 Process Input Scaling Liquid 100 Modbus Points 179 Product Group Gas Refined Product Modbus Port configuration 247 Crude NGL LPG or Oil Water Emulsion 59 Modbus Register Addressing 208 Product Group Specific Parameters 58 87 Modbus Tra
17. Vapor pressure error 15 Current archive daily cumulative meter alarm Pressure correction error Page 238 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual The cumulative status bits are defined as follows Offset End Offset 00 Stream 1 active 01 Stream 2 active 02 Stream 3 active 03 Stream 4 active 11 Meter enabled 12 Backplane Communication Fault 13 Measurement Configuration Changed 14 Power up 15 Cold Start The following 20 words default configuration will depend on the meter type and product group as follows 14 6 3 Orifice Differential Meter with Gas Product Start Offset End Offset DataFormat Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average Differential pressure 22 Word Flow weighted average Relative density e 4 23 Word Flow weighted average Compressibility reference e 4 24 Word Flow weighted average Compressibility flowing e 4 25 Word Flow weighted average Supercompressibility e 4 26 Word Flow weighted average Velocity of approach
18. Vapor pressure error The vapor pressure calculation resulted in an error according to the standard Alarm Code values 0 No alarm 1 Expected vapor pressure above range of TP 15 stream s Default Vapor Pressure is substituted 2 Vapor pressure gt measured static absolute pressure vapor pressure assumed to equal static pressure 3 Both 1 and 2 Water Temperature error Alarm Code only The water temperature correction calculation resulted in an error according to the standard This Alarm Code sets the Temperature Correction error alarm bit Alarm Code values 0 No alarm 1 Temperature lt 0 C 32 F or gt 138 C 280 F Page 150 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Audit Scan Liquid and Gas Flow Computer User Manual 8 Audit Scan An Audit Scan captures a snapshot of input values intermediate calculated values and output results for each of a short series of calculation scans for a single meter This allows an auditor to rigorously verify the calculations performed by the AFC on live in service production meters The module supports eight consecutive audit scans at a time Meter Audit Scan Ea Meter Tag Sige i 2007707716 16 02 3 Wallclock at audit start Select Meter Lz Up counter Meter Factor Linearization Meter number is jo Dowrecourter No Meter factor Flow rate Select Audit 14 696 Barometric pressure p
19. p U fo Return to Meter Configuration The module records events every time a molar concentration value changes For applications that involve gas chromatograph devices this feature might not be desirable because it is expected that the values should frequently change You can disable this feature using AFC Manager Meter Configuration Control Options Treat Analysis as Process Input Page 88 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 12 2 Gas Specific Parameters and Component Analysis Molar Analysis Configuration When gas is selected as the product group the following parameters must be configured Meter Configuration Kerci Select Meter Meter Type Product Group and Units pores Gas css Flow x 4 Copy Analysis From r Meter number Select the product as Gas Click here to select Use the Component Analysis dialog box to enter the gas molar concentrations to use for the AGA calculations Meter Factors Click here to open Stream Opts i Component Analysis dialog box Click here to read the current Component Analysis Click here to write the Component Analysis configuration from the AFC module to the PC configuration from the PC to the AFC module The following parameters are required for the calculations Parameters Low Limit High Limit Default Is
20. 1 0 Prover classification 0 Diby Prover type master meter number 1 Diby Measurement system density selection 2 0 0 Bsht Prover options 3 0 Prover run counts 0 Usht Runs per prove total 1 Usht Runs per prove selected 2 Usht Max total runs before abort 3 Usht Passes per run short prover 4 Usht Min pulses per run 1000 5 Usht z Max seconds per run 4 Prover input format codes 0 0 Usht Pulse count for run pass Usht Master meter pulse count 5 Prover reference conditions 0 0 Flot Temperature 1 0 Flot Pressure 6 Prover parameter value 0 0 Flot Meter factor precision 1 0 Flot Pulse interpolation ratio 2 0 Flot Flow tube linear thermal expansion coefficient 3 0 Flot Switch bar linear thermal expansion coefficient 4 0 Flot Calibrated prover volume 5 0 Flot 5 Flow tube inside diameter 6 0 Flot Flow tube wall thickness 7 0 Flot Flow tube modulus of elasticity 7 0 Prover variation limits Page 198 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual Group Sbgp Item DTyp Rkv Data point 0 Flot Meter temperature 1 Flot Prover inlet temperature 2 Flot Prover outlet temperature 3 Flot Prover inlet outlet temperature 4 Flot Prover temperature 5 Flot Prover Meter temperature 6 Flot Switch
21. C a densitometer instead 101 325 Reference pressure kPaa of using it as a regular Differential Meter Orifice input optional DP flow threshold kPa DP alarm threshold kPa Densitometer Data Densitometer type Solartron 78xx 20 Ca Cal Ko K1 ka mP us K2 ka m us K18 C K19 kg nP C K20a bar none Solartron 1762 UGC Diit vapor pressure kPag Default Ctl Default Cpl V cone Wedge discharge coef Orifice Dfit reference density kg m3 instead of using the density value as an input variable Flow rate period unit Flow rate unt Accumulation unit Accumulator rollover Process Input Control Opts mee Configure the specific Densitometer parameters when liquid is selected as product group Differential Meter Orifice Viscosty cp Stream Opts K20b bar K21a kg m bar K21b kg mP bar Between 1 and 16 characters iit Til Select densitometer type NOTE Change resets all parameters Done This area is visible when the product group is set to a liquid group Enter the values for Default Reference Density Vapor Pressure Default Ctl and Default Cpl The following parameters are required for the calculations Parameters Low Limit High Limit Default Dflt Reference Density 0 kg m 2000 kg
22. Carbon steel 6 2e 6 F 11 2e 6 C Invar 8e 6 F 1 4e 6 C The default value is that of invar 8e 6 F 1 4e 6 C Base prover volume 65036 Holds the base volume of the prover barrel as determined by the water draw method in the units specified by Prover size units register 65018 L This parameter is meaningful only for non master meter provers The accepted standards mandate that the base volume of a bidirectional prover be that registered by a round trip of the displacer Flow tube inside diameter mm 65038 This parameter is the measured inside diameter of the prover barrel at standard base conditions and is meaningful only for non master meter provers with the option Prover is double walled register 65011 bit 5 clear Flow tube wall thickness mm 65040 This parameter is the measured thickness of the prover barrel wall and is meaningful only for non master meter provers with the option Prover is double walled register 65011 bit 5 clear ProSoft Technology Inc Page 111 of 267 March 2 2011 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Flow tube modulus of elasticity 65042 This parameter is the prover barrel material modulus of elasticity and is meaningful only for non master meter provers with the option Prover is double walled register 65011 bit 5 clear The default value is that of carbon steel 206 8e 6 kPa Page 112 of 267 ProSoft Tech
23. Ch00019 Wd Password read enable Ch00020 to Ch00089 reserved Reserved for use by diagnostic and similar procedures Ch00090 to Ch00099 Wd Arbitrary event logged registers A Modbus master such as the processor using Modbus Gateway can use these to record in the Event Log changes to values unrelated to flow measurement Page 246 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 8 Modbus Port configuration Configuration of the serial ports is stored in these blocks of the Modbus table Address Type Description Ph00102 to Ph00105 Bm Port 1 configuration Ph00106 to Ph00109 Bm Port 2 configuration Ph00110 to Ph00113 Bm Port 3 configuration Each group of registers specifies configuration of the corresponding serial port The four registers of each block are interpreted as follows Ofs Type Tag Conients 0 Bm Uart UART parameters and port options 1 L By TmoC LSB Timeout for CTS 1 H By TmoR MSB Master mode receive timeout 2 By Dly1 Delay before first data after CTS 3 By DlyO Delay after last data before RTS ProSoft Technology Inc Page 247 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The CTS timeout and both delays are in units of 5ms 200Hz system clock with valid values from 0 thru 255 and are significant only
24. Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 1 3 2 Upgrading from a Previous Version of AFC Manager This version of the AFC Manager User Manual discusses AFC Manager version 2 07 which supports AFC module firmware versions 2 07 and earlier To upgrade from an earlier version of AFC Manager 1 Uninstall all previous versions of AFC Manager from your PC using the Settings Control Panel Add and Remove Programs applet Answer Yes to all when prompted to remove shared components 2 Download the latest version of AFC Manager from www prosoft technology com Navigate to Support Downloads and then choose your AFC Module From the download page select AFC Manager When the download is complete choose Open and then run Setup exe Note Some parts of the user interface particularly the Meter Configuration dialog box have changed from versions of AFC Manager prior to 2 05 These changes were necessary for the multiple stream support added in firmware version 2 05 and primarily involve a more logical arrangement of items on the meter configuration screen These changes do not affect the functionality of the program and all previous firmware versions are supported For firmware upgrades please contact ProSoft Technical Support ProSoft Technology Inc Page 17 of 267 March 2 2011 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 1 4 Install the Module in th
25. Orifice diameter lt Tube diameter The beta ratio between the orifice and tube diameters should follow the AGA Standard Alarm Code values 0 No alarm 1 Orifice diameter non positive 2 Orifice not narrower than pipe 3 Beta ratio less than 0 10 adjusted by tolerance 4 Beta ratio greater than 0 75 adjusted by tolerance 5 Pipe diameter less than 2 0 inches adjusted by tolerance 6 Orifice diameter less than 0 45 inches adjusted by tolerance The tolerance fixed by the AFC firmware allows the AGA limits to be exceeded by up to 75 towards the physical limit For example while AGA restricts pipe diameter to 2 0 inches or greater the AFC allows it to be as small as 0 5 inch Orifice Pressure Exception Configuration and process input for an Orifice Meter are such that the effective downstream pressure is less than vacuum For calculation upstream pressure is raised by the amount necessary to raise absolute downstream pressure to zero Check the process inputs for Gauge Pressure and Differential Pressure and the configured Barometric Pressure and Static Pressure Tap Location Also check any performed vapor pressure calculations to ensure that all are reasonable Pressure correction error The pressure correction calculation resulted in an error according to the standard Alarm Code values 0 No alarm 1 Density outside range of API Chapter 11 2 2
26. This dialog box opens when you click the Measurement Configuration Changed field on the Site Configuration dialog box ProSoft Technology Inc Page 31 of 267 March 2 2011 Site Configuration User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer The Measurement Configuration Changed dialog box contains detailed information about changes to the meter configuration These changes are related to the sealable parameters that actually affect the module calculation When a sealable parameter is changed a new event is generated i Site Configuration Site name ET Project name Primary Modbus slave address Virtual Modbus slave address End of day minute End of hour minute Barometric pressure kPaa Site options Pass thru Max PLC window size Pass thru Word region size 0 Pass thru Word region address Indicates that Meter 1 Options Changed Pons Potz Peta Roneonig Poll Read Write Between 1 and 64 characters Shows the description of each Meter 15 Meter 16 column After you have verified the Measurement Configuration Changes click the Ack Chg button on the Site Configuration dialog box to clear the bits in order to keep track of future changes Site Configuration Click Here Site name MITET AFC Project name Primary Modbus slave address jo Virtual Modbus slave address l 0 End of day minute PLC status 0 End of
27. User Manual Liquid and Gas Flow Computer Internet Web Site www prosoft technology com support E mail address support prosoft technology com Asia Pacific Tel 603 7724 2080 E mail asiapc prosoft technology com location in Malaysia Languages spoken include Chinese English Asia Pacific Tel 86 21 5187 7337 x888 E mail asiapc prosoft technology com location in China Languages spoken include Chinese English Europe Tel 33 0 5 34 36 87 20 location in Toulouse France E mail support EMEA prosoft technology com Languages spoken include French English Europe location in Dubai UAE Tel 971 4 214 6911 E mail mea prosoft technology com Languages spoken include English Hindi North America location in California Tel 1 661 716 5100 E mail support prosoft technology com Languages spoken include English Spanish Latin America Oficina Regional Tel 1 281 2989109 E Mail latinam prosoft technology com Languages spoken include Spanish English Latin America location in Puebla Mexico Tel 52 222 3 99 6565 E mail soporte prosoft technology com Languages spoken include Spanish Brasil location in Sao Paulo Tel 55 1 1 5083 3776 E mail brasil prosoft technology com Languages spoken include Portuguese English Page 256 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Support Service amp Warranty Liquid and Gas Flow Co
28. Word region address 0 Pass thru Bit region address Port 1 Port 2 Port 3 Remapping Password Hauk Poll Read Write Between 1 and 64 characters Meters Prover Important You must be connected to the module and online to read data from the module ProSoft Technology Inc March 2 2011 Page 23 of 267 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 Follow the steps in the remainder of this User Guide to configure your module and your AFC device 4 Before closing the program open the File menu and choose SAVE AS to save your project so you can open it again later AFC Manager AFC56 16 4 2 07 new file File Project On line Communications Window Help Print Report Reset Exit 1 7 2 Loading an Existing project You can open and edit a project you have previously saved Do this if you have started but not completed the configuration of your project or if you need to modify the settings for a project that has already been downloaded to the module To load an existing project 1 Start AFC MANAGER and then open the File menu 2 Onthe File menu choose LOAD This action opens a dialog box that shows a list of AFC Manager project files AFC files in the current folder 3 Choose the project to load and then click OPEN 1 7 3 Printing the Configuration Report You can print a report of your configuration for future reference or for arch
29. accumulators ProSoft Technology Inc Page 143 of 267 March 2 2011 Meter Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 7 2 1 Non Resettable Accumulator A non resettable accumulator is only reset when the accumulator rollover value you configured refer to the Meter Configuration section is reached 7 2 2 Resettable Accumulator A Resettable Accumulator is reset automatically when the accumulator rollover value you configured refer to the Meter Configuration section is reached A Resettable Accumulator value may also be reset when the archive period end is reached In this case the archive will be created and the resettable accumulator will be reset A resettable accumulator may also be reset by explicit signal which may be issued by the PLC or SCADA or by you manually To reset an accumulator manually select the checkbox next to the accumulator to be reset and then click Apply CLICK HERE to open the Accumulator dialog box Site Name DHIMFX Project AF_DINIMFX Meter Tag agen Active Stean J EMAGA vacio Scan counts input calc 15 23546 Moler mass of mixture Accumuatois o 5605673 ldea gas relative densit Flow rates osci Neletive density at refersnes Process inputs 4 295604E 02 Reference censity b c Meter alarms E Reference compressibilty Flowing sorrpressiblity ios Pulse frequency Hz T amp P factors azs K fact
30. jo V cone Wedge discharge coef Orifice Isentropic exponent 0 6 Default relative density 1 Defaut Fpv boo Default heating value MBTU Ib Stream Opts Analysis Process Input Analysis Config Control Opts Calculation Opts Archive Config Resettable Accum PLC Image Differential Meter Orifice 0 010268 _ Viscosity cp Page 62 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 3 1 Accumulator Rollovers An accumulator rollover value is the value at which the accumulator is reset to zero and is 1 greater than the highest value that the accumulator may hold For example a value of 1000000 6 zeros specifies a 6 digit accumulator which rolls over to 0 from 999999 Any unsigned 32 bit value may be given A value of zero indicates a free running accumulator which rolls over to 0 from 655359999 split refer to Control Opts button or 4294967295 32 bit For a split accumulator a value greater than 655360000 is deemed to be 655360000 that is free running The rollover value for a free running 24 bit accumulator is 16777216 ProSoft Technology Inc Page 63 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 4 Meter Control Options Dialog Box Click the Control Opts button to configure certain meter specific parameters d Meter C
31. the tube where the orifice blocks the V cone does not and where the V cone blocks the orifice does not Much of the AGAS standard still applies in particular the well known flow equation except that there is no longer a calculation of the V cone discharge coefficient which must then be entered into the AFC as a separate data point refer to the previous discharge coefficient discussion A wedge meter is a device that constricts the flow towards one side of the flow tube Here also a separate entry of the discharge coefficient must be made 3 9 4 ISO 5167 2003 else AGA 3 1992 Available for firmware versions 2 04 000 or later If cleared the module will use the AGA3 standard for flow calculation If checked the module will use the ISO 5167 2003 standard for flow calculation 3 9 5 Ignore Default Flowing Density For liquid measurement with an input of density at flowing conditions if the density either input over the backplane or output from a densitometer calculation is out of range the default is substituted just as is done for the other process inputs of temperature and pressure In some cases this might not be suitable especially when the temperature of the fluid may vary thus making it difficult to settle on an appropriate default value for density at flowing conditions This option tells the AFC to ignore the flowing density default value and to instead use the Default Standard Density while at the same time ski
32. to begin with the earliest event not included in the previous cycle The block of data read from the AFC includes besides the events themselves information that identifies the first event in the block the number of events in the block and the number of not yet downloaded events that remain in the AFC following those in the block A failed F amp A cycle does not cause the starting event to change so it may be repeated as many times as is necessary to accomplish success All F amp A Modbus transactions access a block of registers beginning at the same address Completion Phase This phase closes the session by a single Modbus transaction that updates the download point in the event log header with the earliest non downloaded event and posts the Download event ProSoft Technology Inc Page 177 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Dynamic Context In order for the AFC to manage the log download session it maintains a dynamic context for the session which includes in particular the number of the earliest event to be retrieved by the next F amp A cycle The dynamic context exists only while the session is open the Setup phase opens the session and creates the context and the Completion phase closes the session and discards the context The dynamic context must not persist the session remain open indefinitely Therefore in case that a session is abandoned before com
33. 1 upon event 9 Reset resettable accumulator 2 upon event 10 Reset resettable accumulator 3 upon event 11 Reset resettable accumulator 4 upon event 12 Reserved 13 Reserved 14 Reserved 15 Reserved Note Bit 0 must be set only for the hourly archives ProSoft Technology Inc March 2 2011 Page 235 of 267 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Changes made directly to the Modbus table in this manner are not automatically made to your open AFC configuration To incorporate these changes into your configuration so that they may be saved in the AFC file on your hard disk you must read back the meter configuration from the module after making the change by using the Read Configuration button on the Meter Configuration window Page 236 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 6 Archive Data Format There are 3 columns associated with each archive data Column Description Ofs Shows the offset location of the data in each archive The maximum offset value will depend on the Record Size value you configured If the value has a value for example 0 it means that the data occupies 2 words of data Reg Shows the Primary Modbus Slave Address of the data This is a meter relative address For example a Reg value of 890 for meter 1 would be equivalent to Modbu
34. 2011 AFC Manager Configuration Tool Modbus Database Liquid and Gas Flow Computer User Manual 12 2 1 Primary Slave The Primary Slave contains the main AFC database that consists of 131 072 Modbus registers The Site and Meter configuration as well as all live process data and ongoing calculations are kept in the Primary Slave address space This address space is divided equally between the Input Register Bank 65 536 registers and the Holding Register Bank 65 536 The register addressing is shown in the Modbus Dictionary dialog box in AFC Manager Modbus Address References In these documents the AFC Manager User s Guide and the User s Guide for your platform you will occasionally see Modbus address references like Ph00018 or Mh00162 The first two characters of such references indicate how to convert the following number into an absolute Modbus address in the module This table shows the possible values for the first identification character Address Translation ID Description P Absolute Modbus address Primary Slave M Meter relative Modbus address Primary Slave V Absolute Modbus address Virtual Slave This table shows the possible values for the second identification character Register Bank ID Description h Holding register i Input register Modbus Address Examples Ph02000 holding register located at address 2000 in the primary slave Pi02000 input register located at address 2
35. 6 Hardware Specifications These modules are designed by ProSoft Technology and incorporate licensed technology from Schneider Electric Modbus technology and from backplane technology MVI46 AFC MVI56 AFC MVI69 AFC MVI71 AFC PTQ AFC Current Loads 800mA 5 1 VDC 800mA 5 1VDC 800mA 5V from 800mA 5 1 VDC 800mA from backplane from backplane backplane from backplane 5V Power supply from distance rating of 2 ae e Operating 0 to 60 C 0 to 60 C 0 to 60 C 0 to 60 C 0 to 60 C Temperature 39 to 140 F 32 to 140 F 32 to 140 F 32 to 140 F 32 to 140 F Storage 40 to 85 C 40 to 85 C 40 to 85 C 40 to 85 C 40 to Temperature 40 to 185 F 40 to 185 F 40 to 185 F 40 to 185 F 85 C 40 to 185 F Relative 5 to 95 non 5 to 95 non 5 to 95 non 5 to 95 non 5 to 95 Humidity condensing condensing condensing condensing non condensi ng Modbus Port Three RJ45 Three RJ45 Two RJ45 Three RJ45 Three Connector connectors RJ45 to connectors RJ45 connectors RJ45 connectors RJ45 DB 9M DB 9 cable shipped to DB 9 cable to DB 9 cable to DB 9 cable connector with unit supporting shipped with unit shipped with unit shipped with unit s two of RS 232 RS 422 supporting RS 232 supporting RS two of which which RS 485 interfaces RS 422 RS 485 232 RS 422 and support RS 232 support interfaces RS 485 interfaces RS 422 and RS RS 232 RJ45 to DB 9 485 interfaces RS 422 cables shipped with and RS unit 485 interfa
36. Configuration dialog box above Meter 1 is used in this example as the meter selected to be proved It can be proved using any one of the four provers that the AFC supports These provers are described in the Prover Configuration section There is an Identification button which opens an editable options window shown below Text entered here appears on the proving report Meter 1 Identification o fd Manufacturer Loo O Serial number DOO s Nominal K factor Loo O Product description stream 1 LoS O Product description stream 2 LoS O Product description stream 3 LoS O Product description stream 4 Loo O Up to 10 characters Done ProSoft Technology Inc Page 115 of 267 March 2 2011 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 4 2 2 Meter Proving Alarms These alarms are transient and any one might exist only for a single scan so they might be missed when viewing this register directly However alarms are also accumulated into the results database so alarms that have occurred during any run may be viewed by inspecting that database To Check for Alarms 1 Activate Meter Monitor dialog box 2 Select METER to be proved 3 Click on the READ button Note Verify that the meter is not generating any alarms Meter proving cannot proceed while any alarm is displayed amp Site Name Recursion texting O oo i Project We k Moies oo CE Active Sucom BEN EET 0 p Selec
37. Densitometer type 1 Flot i Calibration temperature 2 Flot Calibration pressure Page 194 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual Group Sbgp Item DTyp Rkv Data point 3 Flot s Calibration constant KO 4 Flot i Calibration constant K1 5 Flot j Calibration constant K2 6 Flot Calibration constant 6 7 Flot kj Calibration constant 7 8 Flot 4 Calibration constant 8 9 Flot 5 Calibration constant 9 10 Flot j Calibration constant 10 11 Flot Calibration constant 11 12 Flot A Calibration constant 12 13 Flot i Calibration constant 13 14 Flot ij Calibration constant 14 15 PLC image address Quantum platform only 0 0 Usht i Meter process input amp c get 1 0 Usht Meter results put 2 0 Usht Meter archive fetch put ProSoft Technology Inc March 2 2011 Page 195 of 267 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 10 11 Stream Data Point Events Group Sbgp_ Item DTyp Rkv Data point 0 0 0 Bsht j Stream options 1 Stream parameter value 0 0 Flot Default relative density gas at reference 1 0 Flot Viscosity 2 0 Flot i Isentropic exponent 3 0 Flot bg Default Fov 4 0 Flot K meter factor 5 0 Flot
38. Elemen S eiaa r OO E eide taeda eee ee 179 10 5 3 Virtual Slave Precedence Relations cccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeneeeseneeeseeees 181 10 5 4 Security and Optimization cccccceceeeceeeeeeeeeeeeeeeeeeeeeeaeeseeeeseaeeseaeeseeeeeseneeeseneess 182 10 5 5 The Log Download Window LDW ecccceeeeeeeeeeeeeeeeeeneeeeeeenaeeeeeeneeeeeeeaeeeeeaes 183 10 5 6 Modbus Transaction Sequencing and Constraints eeeeeeeeee eerren eeren 184 10 5 7 Access by Multiple HOSts ceescceeeeeseceeeeseneeeeeeeneeeeeseneeeessaneesesseneeseesaneeteenaes 187 10 5 8 Other Considerations ccccccececceseeeeceneeeeeeeeceaeeceeeeeeeaeeseaeeeeeaeeeeaeesseeeseeesseeeess 188 10 6 Period end Events wwi c cence eect ice cies agehesebedh E e EA EE A E die tan dl 189 10 7 Loggable Events 0 8 cnse i Sele Lee awe wine in Leavin dies 190 10 8 Special Events iskrcao cence ni kb ne Aeolian 191 10 9 Site Data Point EVents isiti iaai e e a N ai aeaaea diaaa a aa a 192 10 10 Meter Data Point EverniSessisesiuuroinea a a a EE a 193 10 11 Stream Data Point Events cccccecceceeeeeseneeeeeeeeeeeeeseaeeeseaeeseaeeseaeeeseaeeseneeeseneees 196 10 12 Prover Data Point EVemint orce irautsi aea E a a aA 198 10 13 RKV NOE Sae ae e aa a N a Era te ae Mane altel a ad 201 10 14 Downloading the Event Log in Firmware Version 2 05 and Earlier 202 11 Modbus Master 205 12 Modbus Database 207 12 1 AFC Modbus Address Space
39. Liquids Gross Standard Accumulator Water Net Accumulator 14 9 13 What are the accumulator s totalizer and residue values The totalizer is the integer part and the residue is the fractional part The accumulator will be calculated by Accumulator Totalizer Residue 14 9 14 Do I have to enter all molar concentrations for the gas product Yes the module uses the Detail Characterization Method that requires all molar concentration values 14 9 15 Can I update the molar concentration values dynamically Yes if the values are generated from a gas chromatograph you can update these values from the processor to the module via backplane Refer to the module s user manual for more information about this subject 14 9 16 Why do the accumulator values not update Follow these steps 1 Check if the Wallclock is running The Wallclock should be set every time the module powers up by ladder logic If the Wallclock is not running some very early versions of the AFC will not perform the applicable calculation 2 Determine if the meter has an alarm using the Meter Monitor dialog box If the alarm field is red it indicates that the meter has at least one alarm 3 Determine if the meter is enabled If the meter is not enabled it will not perform the applicable calculation 4 Look at the input variables in the AFC Manager Make sure the values that are being copied from the processor match the input variables displayed at the AFC M
40. Lz H2 Hydrogen ooo cO Carbon Monoxide oono 02 Oxygen lo iC4 Iso Butane lo nC4 Normal Butane jo Net accum totalizer MMCF Net accum residue MMCF jo Net increment MMCF O 1 tw rate icra Energy accum totalizer MBTU Energy accum residue MBTU Energy increment MBTU O ery tow rate BTU jos Mass accum totalizer lb jo Mass accum residue lb jo Mass increment Ib o sss tow rate abn Click Me Analysis ooo iCc5 Iso Pentane ooo nC5 Normal Pentane oo o C6 Hexane lo C7 Heptane lo C8 Octane oo c9 Nonane lo C10 Decane lo He Helium ooo Ar Argon lo neoC5 Neo Pentane lo Ux User 1 io Uy User 2 The following shows an example of an audit scan file report generated by the AFC Manager for 2 scans AFC 56 16 Audit Site Name MVI Flow Station Project AFC Date 16 09 2002 16 18 07 Page 152 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Audit Scan User Manual Meter 1 Tag Wallclock Barometric pressurekPaa Viscosity Orifice pipe geometric parameters Orifice plate M01 0000 00 00 00 00 00 101 325 0 010268 Meter tube Temperature 68 68 Diameter 1 2 Coefficient 9 25E 06 0 0000062 Scan 1 Temperature Floating point 15 Pressure Floating point 1000 Dif pressure Floating point 22 Temperature F 15 Pressure psig 1000 Dif pressure hw
41. OR O a 44 2 3 7 SITE OPUONS inont e i a a Ea a a O a oven a T deen Lore neat 44 2 3 8 Pass thru ConfiQg uration cccccccccceceseeceeeeeeneeeceneeeeeeeeseaeeseaaeeseaeeseaeesteaeeseeeeseneesaas 46 2 4 Site Configuration BUttONS ccecceceseeeeeeeeeeeeeeeeeeeeeeeeseaeeeeeaeeseeeeseaeeseeaeeseeeeeeeneess 48 2 4 1 Port 1 Port 2 and Port 3 Configuration cc cccccesscecsesseeeesseseeeesssneeeesseneeeesssaees 48 2 4 2 Remapping BUNG eaa E ate eee ic i woe aoe 49 2 4 3 Security PASSWOMS aeaea ea aa i A a a aaia 50 2 4 4 POMMBUMO Meta tock cael a a a T teed E T ooo 53 2 4 5 Mead BONON Torren E E E a a E a a dee 53 2 4 6 We BURON oies a a E O E A a E NE 53 2 4 7 PLC Image BUON seinien eia Mae elvis qe ieee ee 54 ProSoft Technology Inc March 2 2011 Page 5 of 267 Contents User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 2 4 8 Ack Chg IEI APEEP AET eee ret acces salen A tenes 54 2 4 9 Meters BUNOT kes ranar a Ea R betes navel ss vafecs stapes peaneutes OAR 54 2 4 10 Done Button ansni svete E A A E TO AO OA 54 3 Meter Configuration 55 3 1 Meter Type and Product Group Configuration c cccccceeeeceeeeeeeeeneeseneeeseneeeeaees 57 3 1 1 MPMS Chapter 11 Tables 0 cccccceseeceeeeeeceneeeceaeeeeaeeeesaeeseaeeeeaeeseaeesseeessaeeesaees 58 3 1 2 Device Differential Or LIM r assire inar EAEE NEA EEEa AR 58 3 1 3 Product Group Gas Refined Product Crude NGL
42. Port 3 only Authorization waiver Each port can be individually configured to waive the authorization requirement This feature allows each port to have a different access level Not all options are available on every port Port 1 is restricted so that AFC Manager can always communicate with the Primary Slave using this port Modbus Master option is available only on Port 3 Modbus Pass Through The Modbus pass through feature allows you to configure a Modbus pass through region in the Virtual Slave Project Site Configuration After the module receives a holding register write command Modbus functions 6 or 16 or a bit write command Modbus functions 5 or 15 to this region it will generate a pass through block to be sent to the processor containing the Modbus command data You may define a word pass through region for Modbus functions 6 and 16 and a bit pass through region for Modbus functions 5 and 15 Processor AFC Module Virtual Slave Pass Thru Block _ A Pass Thru rc Area Modbus Master Important You must enable the virtual slave by configuring a Modbus address greater than 0 Project Site Configuration You can control which communication ports will support the pass through Project Site Configuration Port X button This feature requires ladder logic to read the pass through block from the module to the processor Refer to the Ladder Logic section for more information a
43. Pulse Count K factor pul m3 Meter Factors Stream Opts Analysis Meter Factor Linearization Curve Stream 1 E Stream 1 Options Configure stream options Meter factor Use meter factor to full precision non Standard 1 depending on the flow rate Interpolate K factor else meter factor Lo es eee a 0 0 P or a number between 0 1 and 1 0e8 Done Up to 5 pairs of meter factor gross volume flow rate Atleast one meter factor must be non zero If the meter factor is zero the flow rate must also be zero Flow rates for non zero meter factors must be all different Interpolation of this table over gross volume flow rate yields the actual meter factor Allows you to configure a set of meter factors ProSoft Technology Inc March 2 2011 Page 75 of 267 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 7 1 Linear Meter Pulse Count This area is visible when the meter type is set to Linear and the Primary Input is set to Pulse Count Enter the K factor and pulse input rollover values for this meter Click the Meter Factors button to enter values for Meter Factor at up to five different Flow Rates for this meter 3 7 2 Linear Meter Pulse Frequency This area is visible when the meter type is set to Linear and the Primary Input is set to Pulse Frequency Enter the K factor Frequen
44. Solutions CD in your CD ROM drive On most computers a menu screen will open automatically If you do not see a menu within a few seconds follow these steps a Click the Start button and then choose Run b Inthe Run dialog box click the Browse button c Inthe Browse dialog box click My Computer In the list of drives choose the CD ROM drive where you inserted the ProSoft Solutions CD d Select the file prosoft exe and then click Open e Onthe Run dialog box click OK 2 Onthe CD ROM menu click Documentation and Tools This action opens a Windows Explorer dialog box 3 Open the Utilities folder and then open the AFCManager folder 4 Double click the file Setup exe If you are prompted to restart your computer so that files can be updated close all open applications and then click OK When your computer has finished restarting begin again at Step 1 5 Click OK or Yes to dismiss any confirmation dialog boxes 6 It may take a few seconds for the installation wizard to start Click OK on the AFC Manager Setup dialog box to begin installing AFC Manager 7 Follow the instructions on the installation wizard to install the program with its default location and settings 8 When the installation finishes you may be prompted to restart your computer if certain files were in use during installation The updated files will be installed during the restart process Page 16 of 267 ProSoft Technology Inc March 2 2011 AFC Manager
45. The configuration should match the last write operation data If the result area shows Time out verify the serial port communication parameters and the communication cable null modem ProSoft Technology Inc Page 53 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 2 4 7 PLC Image Button This button is only visible when the module type is PTQ AFC Refer to the PTQ AFC User Manual for detailed information about the Site PLC Images The PLC Image button opens the Site PLC Images dialog box which shows the locations in the PLC of image files Prefix for generated tags This optional Prefix of up to 3 characters will be prepended to all tag names generated by the Make PLC Tags menu function in order to avoid collision with tag names that are already defined in the PLC program Address 0 not defined file will not be scanned Else address must be between 400001 and 465535 Site PLC images Prefix for generated tags optional L Address Size Supervisory output from PLC to AFC Lo l 52 Supervisory input to PLC from AFC og 50 watse Modbus gateway L ofa Modbus pass thru C of Modbus master C ofa Quantum time of day clock ee Up to 3 alphanumeric 2 4 8 Ack Chg Button Refer to the Measurement Configuration Changed section 2 4 9 Meters Button This button opens the Meter Configuration dialog box page 55 2 4 10 Done Butto
46. User Manual for further information about the Modbus Master interface feature Refer to the following words to configure the archive options directly to the Modbus database Address Description 8341 Meter 1 daily archive configuration word 8421 Meter 1 hourly archive configuration word 10341 Meter 2 daily archive configuration word 10421 Meter 2 hourly archive configuration word 12341 Meter 3 daily archive configuration word 12421 Meter 3 hourly archive configuration word 14341 Meter 4 daily archive configuration word 14421 Meter 4 hourly archive configuration word 16341 Meter 5 daily archive configuration word 16421 Meter 5 hourly archive configuration word 18341 Meter 6 daily archive configuration word 18421 Meter 6 hourly archive configuration word 20341 Meter 7 daily archive configuration word 20421 Meter 7 hourly archive configuration word 22341 Meter 8 daily archive configuration word 22421 Meter 8 hourly archive configuration word Each archive configuration word has the following bitmap structure Bit Description 0 Period select hourly 1 Archive upon period end 2 Archive upon event 3 Reserved 4 Reset resettable accumulator 1 upon period end 5 Reset resettable accumulator 2 upon period end 6 Reset resettable accumulator 3 upon period end 7 Reset resettable accumulator 4 upon period end 8 Reset resettable accumulator
47. a process input or the module can calculate a density from the frequency provided by a densitometer device Density Units The liquid density units can be expressed as Density is in kg m Relative density 60 F 60 F API gravity For NGL and crude oil measurement applications the optional automatic calculation of Net Oil Volume and mass based on the Sediment and Water S amp W percent input is supported Only provide the S amp W percent value in the specified controller register The module puts the gross standard net oil and water accumulations in separate accumulators Page 94 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Configuration User Manual 3 12 4 Liquid Specific Parameters and Densitometer Configuration When liquid is selected as the product group the following parameters must be configured Configure the product group as liquid any selection except Gas Select the density t Meter Configuration units to use Click here Optional to configure the densitometer Refined products xIF_ Density units C Linear kg m3 Meter Disabled Copy Config From Sion Ci Ei Es Renen Thssyeof Meter number ts Bo Primary Input Differential Pres C Flow Rate Use the Densitometer Data dialog box to use Identification Reference Conditions the density value from 15 Reference temperature
48. by following the steps described in the Site Configuration section Page 132 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Saving the project Liquid and Gas Flow Computer User Manual 5 2 Configuration Upload A configuration file upload transfers the complete configuration Meters amp Site Configuration from the module to the local PC After you click Project Upload Project you will be prompted to confirm the action AFC Manager About to upload project from the module 2 This will replace your project currently loaded in memory To keep the old project on disk be sure to save the upload under a different name Continue i No After you confirm the upload operation the AFC Manager indicates that the upload is in progress A Upload Module Configuration x Uploading meter 5 configuration AFC Manager xi Upload is finished Important The upload operation does not transfer the remapping configuration The only way to transfer it from the module is by following the steps described in the Site Configuration section ProSoft Technology Inc Page 133 of 267 March 2 2011 Saving the project AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Page 134 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Overall Monitor Liquid and Gas Flow Computer User Manual 6 Overall Monitor In This Chapter
49. configuration Done Page 106 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Compact short small volume Prover A compact prover or small volume prover SVP has a short barrel or tube with a piston that travels the length of the tube The piston has a valve that is opened to allow it to return to its starting point without stopping the flow in the tube Most SVPs do not mount the switches to be tripped inside the tube They mount the switches externally on a bar that moves with the piston outside the tube and the switches trip when they move past a fixed point Each forth and back passage is called a pass SVPs can be much less expensive than LVPs so they are often preferred Due to their small size they can collect at most a few hundred pulses during a pass The number of pulses in a single pass is a number too small for calculating a meter factor with sufficient precision The technique of double chronometry is then used to determine a fractional pulse count of sufficient precision Even though a single pass in a SVP with double chronometry can yield a pulse count similar in precision to that from a single run of a LVP it is often the practice to accumulate several passes into a single run so that the pulses totalized for all passes of the run yield a number large enough for calculating the required meter factor with sufficiently high precision Seal Monitor Sensor On Boa
50. events Cael For AFC firmware versions prior to 2 07 Event Log Download uses this same interface but because the new firmware implementation is not present some features are not available or behave slightly differently However the same basic sequence of poll download and commit abanaon is the same ProSoft Technology Inc Page 176 of 267 March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 5 1 Basic Principles of Implementation A properly committed log download session has three phases Phases Setup Phase This phase opens the session by a single Modbus transaction to the AFC that specifies the first event to be downloaded in the session This event may be identified explicitly by event number or it may be conveniently identified as the earliest event not yet previously downloaded Download Phase This phase transfers event data during an open session by a sequence of zero or more fetch and acknowledge F amp A cycles A first Modbus transaction reads a short block of consecutive chronologically ordered events from the AFC anda second transaction writes sufficient data to inform the AFC that the events just read have been received without error this pair of Modbus transactions constitutes a single F amp A cycle The starting event of the first F amp A cycle is the event identified in the Setup phase Each successful F amp A cycle causes the subsequent cycle if any
51. for transmission of outgoing Modbus messages The receive timeout is in units of 0 1 second with valid values from 0 thru 255 where 0 implies the default of 5 that is one half second and is significant only for the last port when configured as a Modbus master The UART parameters and port options word is a bitmap Bit Parameter Value bits 0 to 2 Baud 000 none see below 001 300 baud 010 600 baud 011 1200 baud 100 2400 baud 101 4800 baud 110 9600 baud 111 19200 baud bits 3 to 4 Parity 00 no parity 01 odd parity 10 even parity 11 no parity should not be used bit 5 Data bits 0 8 data bits 1 7 data bits bit 6 Stop bits 0 1 stop bit 1 2 stop bits bit 7 Modbus mode 0 RTU mode 1 ASCII mode bit 8 Modbus orientation 0 slave 1 master permitted only for last port bit 9 Primary slave 0 primary slave accessible through this port accessibility not 1 primary slave not accessible not permitted for Port 1 meaningful for master port bit 10 Swap Modbus bytes bit 11 Swap Modbus words bit 12 Disable pass thru not meaningful for master port bits 13 to 15 reserved A change in configuration takes effect after transmission of the response to the Modbus command that causes the change the response is sent using the old configuration but subsequent Modbus commands to the reconfigured port must use the new one Writing a baud code of 0 means that the current configurati
52. gross and net values for non resettable and resettable accumulators Meter Calculations shows meter calculation results Meter Archive Status shows current archive status for calculations Meter selector Use the Up and Down arrows in the Meter selector to view settings for each configured meter Show bits check box Select this check box to view individual bit values for bitmap registers such as Site Status and Meter Alarms Search window You can search for specific text within the Description column Type the search text in this window then click the Search button or press Enter Search button Use the Search button to select the next instance of the search text within the Description column Reg column This column lists each Modbus register offset within the Modbus database holding register area Datum Type column This column lists the type of data stored in each register within the Modbus database for example integer byte or bitmap Description column This column describes the data stored in each register within the Modbus database Description window If you select highlight a register this window provides additional information about the selected register Help window This window provides brief help information about the currently selected control radio button dropdown list check box edit window Close button Use this button to close the dialog box Page 210 of 267 ProSoft Technology Inc March 2
53. hour minute Barometric pressure kPaa Site options Serial number Firmware version revision number jo Pass thru Max PLC window size jo Pass thru Word region size lo Pass thru Word region address Port 1 Port 2 Port 3 Mi g Poll Read Write Between 1 and 64 characters Meters Proyer pes a Ret Page 32 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual 2 2 4 PLC Status This section of the Site Configuration dialog box shows the current processor status The possible values are 0 processor on line processor off line 2 2 5 Site Status The Site Status dialog box opens when you click the Site Status field on the Site Configuration dialog box Site Configuration Site Status Serial number Firmware version revision number Configuration changed ck Lhg IV AFC 56 16 4 released Checksum alarm PLC halted offline or missing 0 Event log download vit siv location Measurement configuration changed oo Dascthar Bitenonane honarup 0 Pass thru Bit region address Cold start Appii Password Rosuk Hard passwords i Cas RU HU RU tg Hs Ua Si The Site Status dialog box provides information about the module s current status AFC Released Latched when both Cold Start bit and PLC Offline bit first become clear simultaneously remaining so until a
54. hy Default energy content 6 0 Flot Default reference density liquid 7 0 Flot j Default vapor pressure 8 0 Flot i Water density at API reference 9 0 Flot i Default Ctl 10 0 Flot Default Cpl 11 0 Flot Shrinkage factor 12 0 Flot Precalculated alpha 2 0 Meter factor curve 0 Flot Datum point 1 meter factor 1 Flot Datum point 1 flow rate 2 Flot Datum point 2 meter factor 3 Flot i Datum point 2 flow rate 4 Flot is Datum point 3 meter factor 5 Flot Datum point 3 flow rate 6 Flot y Datum point 4 meter factor 7 Flot Datum point 4 flow rate 8 Flot j Datum point 5 meter factor 9 Flot Datum point 5 flow rate 3 0 Analysis mole fraction Because the item code extends into the subgroup field this can be the only subgroup of group 3 Pending any future reformat of the Event Id Tag 0 Usht 5 Component 1 scaled molar fraction 1 Usht 5 Component 2 scaled molar fraction 2 Usht 5 Component 3 scaled molar fraction 3 Usht 5 Component 4 scaled molar fraction 4 Usht 5 Component 5 scaled molar fraction 5 Usht 5 Component 6 scaled molar fraction 6 Usht 5 Component 7 scaled molar fraction 7 Usht 5 Component 8 scaled molar fraction 8 Usht 5 Component 9 scaled molar fraction 9 Usht 5 Component 10 scaled molar fraction Page 196 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Group Sbgp Item DTyp Rkv Da
55. is a floating point value already converted to engineering units For scaled integer input the module will expect the following data formats Scaled Integer Variable Format Example Temperature Two decimal places implied A value of 1342 would be equivalent to 13 42 C Pressure Zero decimal places implied for the A value of 200 would be equivalent SI units kPa and one decimal place to 200 kPag implied for the U S units psi Differential Pressure Two decimal places implied for A value of 35142 would be inches of H20 and three places for equivalent to 35 142 kPa kPa Flow Rate Zero decimal places implied for A value of 6672 with input flow rate desired precision choose an units configured as gal hr would be appropriate input flow rate unit equivalent to 6672 gal hr Pulse Frequency Zero decimal places implied A value of 2276 would be equivalent to 2276 Hz Density kg m One implied decimal place A value of 5137 would be equivalent to 513 7 kg m3 Density Relative Four implied decimal places A value of 10023 would be Density equivalent to 1 0023 60 F 60 F Density API Two implied decimal places A value of 8045 would be equivalent to 80 45 API For 4 to 20 mA input the value received from the processor is the raw unscaled A D count obtained from the analog input card The module scales the raw count to engineering units using the configured values for zero scale and full scale assuming the fol
56. log header then the header is updated with the new value and provided that Site Option Event Log Locked is set the Download event is written If the FDP has not changed no Download event is written so the download state of the log remains unchanged The session is then closed and its dynamic context discarded The final FDP is determined by one of two methods 1 Implicit Completion Issue a Modbus write of a single register to offset 0 of the LDW specifying function Commit Session 2 with the correct Session ID This method takes the final FDP from the dynamic context at the moment of completion 2 Explicit Completion Issue a Modbus write of two registers to offset 0 of the LDW the same as Implicit Completion but passing in the second register the desired final FDP as an explicit value If at any time during the session the FDP of the dynamic context reached this value this value becomes the final FDP for the session completion in preference to that of the dynamic context If the explicit FDP was not reached this phase is equivalent to session abandonment next An Explicit Completion never marks more events as downloaded than an Implicit Completion A Completion of either method can implicitly acknowledge the final Fetch transaction Abandonment This action explicitly abandons a session by closing it and discarding the dynamic context without updating the log header or writing a Download event In this case therefore adj
57. m 0 0 Rd60 2 0 Rd60 60 75 API 320 API Default Vapor Pressure 0 100 000 kPa 14 000 psi 0 Default Ctl 0 5 2 0 1 Default Cpl 0 5 2 0 1 Tip To see the limits and defaults for each parameter view the blue text in the Note box when you Click in the entry text box For firmware version 2 03 and later if you select an Emulsion group the following parameters can be configured Parameters Low Limit High Limit Default Water density at 60 F 900 0 1200 0 999 016 Shrinkage Factor 0 total loss 1 no loss 1 ProSoft Technology Inc March 2 2011 Page 95 of 267 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer These parameters are covered by the standard specification API MPMS ch 20 1 First Edition September 2003 For firmware versions 2 05 and later if you select Special Applications for the product group the following parameter must be configured Thermal expansion coefficient Temperature Correction If this option is selected the module will calculate the temperature correction factor CTL as determined by the API standard If this option is cleared the module will not calculate the temperature correction factor Instead it will use the CTL value configured through the Default CTL parameter meter configuration Default CTL This value is used if the Temperature Correction option is unselected Meter Calculation Options or if the modu
58. meter type and product group None Mass Energy Net Volume Gross Volume Gross Standard Volume Water Volume ProSoft Technology Inc March 2 2011 Page 71 of 267 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 6 Differential Meter Configuration The Differential Meter parameters are displayed after you select Differential Meter in the Process Input area of the Meter Configuration dialog box Differential pressure configures the module to use the differential pressure value transferred through the backplane as the primary input for volume calculation This is the normal setting for most projects Flow rate configures the module to use the flow rate value transferred through the backplane for volume calculation In this situation the flow rate value should be transferred through the backplane instead of the differential pressure This means that the flow rate will use the same backplane location that the differential pressure would use 3 6 1 Differential Meter Differential Pressure Orifice Meters After configuring the meter as a Differential meter AGA 3 you might configure the following parameters Meter Configuration Meter 1 Meter Tag Select Meter Meter Type Product Group and Units __ Energy Meter number is paipa 3 Gas xl Differential en eet amp Meter Calculation Options iO Downstream static pressure
59. module with the local PC serial port Make sure that the baud rate data bits mode parity and primary slave address are the same both in PC and module If you change the primary slave address and later forget the new address the module will not establish communications You must read the primary slave address value address 100 over the backplane using the Modbus Gateway Transaction Block 14 9 4 Why do I have to enable or disable a meter A meter channel will only perform flow calculation if it is enabled For performance reasons you should disable all meter channels that are not being used You cannot change a meter type and or product group for a meter channel that is currently enabled 14 9 5 Why does the card not calculate results or why did it stop calculating results This could be caused by a couple of things 1 The first thing to check is that the module actually received a clock If the card does not get a clock it will not be able to schedule storage of historical records 2 The next possibility is that the meter is not enabled or some parameter for the run is not correct Check to see if the run is enabled and that no errors exist in configuration or data for the run in question Check for alarms arising from the calculations The AFC Manager software can be a great help with this as it will highlight problem areas 14 9 6 What is the Virtual Modbus Slave The AFC Modbus database can be accessed using the Primary Mo
60. or ASCII Parity None Even or Odd Note Do not configure a port for both RTU mode and 7 data bits as this combination is not supported by the Modbus protocol You must configure the communication parameters for each communication port using the AFC Manager software Site Configuration p Communication Parameters Copy from Local 3600 Data Stop o C 7Bits C 1Bit 9 f 8 Bits 2Bits C p Port Modem Delays CTS timeout x Sms Delay before first data after CTS x Sms Delay after last data before ATS x Sms r Port Options r r r IT Swap Modbus words I Disable pass thu Page 40 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Port Options The following options can be configured Port Options Description Hide Primary Slave Protects the Primary Slave from any read or write operation from a remote master Only the virtual slave is visible on this port Swap Modbus Bytes Swap the Modbus bytes transferred through this port Not implemented Swap Modbus Words Swap the Modbus words transferred through this port This parameter is only applicable to those data points that hold 32 bit quantities long integers floats totalizers Disable Pass Thru Disables the pass thru feature on this port Modbus Master Enables the Modbus Master for the port
61. or assume the risk of loss or damage in transit Products shipped to ProSoft Technology using a shipment method other than that specified by ProSoft Technology or shipped without an RMA number will be returned to the Customer freight collect Contact ProSoft Technical Support for further information A 10 restocking fee applies to all warranty credit returns whereby a Customer has an application change ordered too many does not need etc Returns for credit require that all accessory parts included in the original box i e antennas cables be returned Failure to return these items will result in a deduction from the total credit due for each missing item ProSoft Technology Inc Page 257 of 267 March 2 2011 Support Service amp Warranty AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 15 1 2 Returning Units Under Warranty A Technical Support Engineer must approve the return of Product under ProSoft Technology s Warranty a Areplacement module will be shipped and invoiced A purchase order will be required b Credit for a product under warranty will be issued upon receipt of authorized product by ProSoft Technology at designated location referenced on the Return Material Authorization i If a defect is found and is determined to be customer generated or if the defect is otherwise not covered by ProSoft Technology s warranty there will be no credit given Customer will be contacted and c
62. or telephone In no event may that notification be received by ProSoft later than 39 months from date of original shipment Within a reasonable time after notification ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product with either new or remanufactured replacement parts ProSoft reserves the right and at its sole discretion may replace unrepairable units with new or remanufactured equipment All replacement units will be covered under warranty for the 3 year period commencing from the date of original equipment purchase not the date of shipment of the replacement unit Such repair including both parts and labor will be performed at ProSoft s expense All warranty service will be performed at service centers designated by ProSoft b Warranty On Services Materials and labor performed by ProSoft to repair a verified malfunction or defect are warranteed in the terms specified above for new Product provided said warranty will be for the period remaining on the original new equipment warranty or if the original warranty is no longer in effect for a period of 90 days from the date of repair ProSoft Technology Inc Page 259 of 267 March 2 2011 Support Service amp Warranty AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 15 2 2 What Is Not Covered By This Warranty a ProSoft makes no representation or warranty expressed
63. range of meters available in today s market refer to the meter s specifications and the contents of this manual to evaluate the use of the AFC modules even if the meter is listed here If you have questions please contact ProSoft Technology Technical Support Group Meter Type Configured As Differential or Linear Turbine Linear Orifice Differential V Cone Differential You must configure the meter as V Cone type in the AFC Manager Meter Configuration Calculation Options Wedge Differential Refer to Wedge Meter Applications page 230 for information about using the wedge meters Vortex Linear or Differential Ultrasonic Linear or Differential Coriolis Linear or Differential Note For Vortex Ultrasonic or Coriolis meters the selection depends on the output generated by the meter If the meter provides a pulse train representing the volume increment the AFC meter should be configured as Linear with Primary Input selected as Pulse Count If the meter provides the instantaneous flow rate then the AFC meter should be configured as Differential with Primary Input selected as Flow Rate Note The module does not support applications to measure water because the implemented standards are applicable to hydrocarbon fluids only Page 222 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 1
64. reference base conditions The AFC first calculates one of these quantities the primary quantity from process input depending on the meter type then derives the other quantities by applying an appropriate combination of factors such as Temperature and Pressure Correction Factors Density characteristic Energy Content and Water Content process input These primary quantities are Meter Type Primary Quantity Differential Pressure Mass Differential Flow Rate Configured Primary Input Measured Quantity Linear Configured K factor Measured Quantity The accumulators are expressed as the Totalizer and Residue parts In this way it is possible to accumulate a wide range of increments up to a very large rollover of the integral part while Keeping a high precision of fractional part with an approximately constant and small roundoff error The totalizer stores the integral part of an accumulator as a 32 bit or split integer The residue is the fractional part always less than 1 0 expressed as a 32 bit IEEE floating point The residue is obtained using the following formula Residue Total Accumulator Totalizer This technique ensures that the fractional part always has precision of between 7 and 8 decimal digits and the round off error of accumulation is always of the order of 2 24 of a totalizer unit regardless of how large the totalizer itself is There are two types of accumulators non resettable and resettable
65. section 1 9 5 to calculate net clean oil Choose Oil Water Emulsion for lighter products that are emulsified with large amounts of water 3 1 4 Units US or SI Selects the units used in the flow measurement calculations US or Sl 3 1 5 Primary Input You can select the primary input for volume calculation The available options depend on the configured meter type Meter Type Options Differential Differential Pressure or Flow Rate Linear Pulse Count or Pulse Frequency ProSoft Technology Inc Page 59 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 1 6 Changing the Meter Type Product Group or Unit In order to perform a meter type and product group selection the meter must be disabled temporarily otherwise the fields would be locked for changes as shown below Meter Type Product Group and Units Differential Linear f us SI C Pulse Count Pulse Frequency A meter can be enabled or disabled using ladder logic however it is also possible to perform the same task using the AFC Manager The following steps show this procedure 1 Read the Current Configuration from the Module Click the Read button at the Meter Configuration dialog box to update the dialog box information 2 Disable the Meter Click the Control Opts button and clear the Meter Enable checkbox 3 Write the Configuration to the Module Click the Write butto
66. the LDW at offset 115 at Virtual Slave register 65535 If this value is 0 the LDW is not available in the Virtual Slave a conventionally mapped LDW is not visible Status Event Log Download Active Session Map Byte at Ph00007H same word as PhOOOO7L PLC Offline Code This byte previously unallocated is a bitmap of the ports that currently have event log download sessions active Bits are numbered by the 1 based port number where Port 0 is the backplane so that for example if a session is active on Port 2 the middle of the three front panel ports bit 2 of PhOOO07H is set The relevant bit is set when a download session is opened by the Setup phase and is cleared when the session is committed by the Completion phase or when it is abandoned by timeout or explicit command This byte Ph00007H is already available in the premapped portion of the Virtual Slave at Vh00007H Page 180 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 5 3 Virtual Slave Precedence Relations Addressing conflicts collisions can arise among three distinct regions of the Virtual Slave holding register bank These regions are The defined range of 9900 registers to which Primary Slave registers may be mapped The word region of the pass thru configuration significant for Modbus write commands only The LDW specified in this document when mapped to th
67. the configuration to the module 251 How does the module work 249 How to Contact Us 2 Ignore Default Flowing Density 81 Indirect Address Remapping dialog box 38 Information for Users of AFC Manager Versions Older Than 2 01 000 235 Initial Requirements 115 126 Input Data Monitor 146 Input format line meter pulse count 65020 110 master meter pulse count 65021 110 Input Registers 208 Install AFC Manager 15 16 Install the Module in the Rack 18 Intellectual Property Indemnity 261 Interpolate K factor 86 Introduction 11 ISO 5167 2003 else AGA 3 1992 81 K K Factor 77 K factor Characteristics 76 L Latest Prove Results 127 Layout 183 Limitation of Remedies 262 LIMITED WARRANTY 257 259 Linear Meter Pulse Count 76 Linear Meter Pulse Frequency 76 Linear Meter Configuration 75 Liquid 225 Liquid Correction Factor Details 227 Liquid Product Overview 94 225 Liquid Specific Parameters and Densitometer Configuration 95 Loading an Existing project 24 Local Port Settings Dialog Box 53 Log Download Window LDW Allocation 180 Loggable Events 190 Master Meter 108 Maximum attempted runs before abort 65014 109 Maximum seconds per run 65017 109 Measurement Configuration Changed 34 Measurement Configuration Changed dialog box 31 Measurement Standards 224 Meter Archive Data Chart Dialog Box 163
68. the form address or nnnnn which is the 5 digit offset n 0 based of the register in the selected bank a register address may also have the form nnn where nnn is the 3 digit offset 0 based of the register in a block of registers which block is located more globally by accompanying text byte selection Optional L low order byte H high order byte bit number Optional nn Bit number if present is nn where nn is the number of the bit in the 16 bit register or 8 bit byte with bits numbered from 0 at the low order end of the register or byte Ph00146 identifies the 16 bit register at offset 146 in the Primary Slave s holding register bank PhOOOO6H 01 identifies bit 1 of the high order byte of Primary Slave holding register 6 this byte is already allocated in the AFC as the Site Extended Status byte This bit can be alternately addressed as PhO0006 09 but the AFC internally treats the two bytes as distinct Ph00200 05 identifies bit 5 of Primary Slave holding register 200 this bit is an as yet unallocated bit in the Site Signals register LDW 000 identifies the first of a block of registers in the Primary Slave holding register bank and optionally in the Virtual Slave holding register bank which block s absolute location is determined according to accompanying text ProSoft Technology Inc Page 179 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Compute
69. to that of another master meter whose behavior is deemed to be accurate A master meter itself must be proved to a high precision by using a conventional prover amp Prover Configuration Prover type v Master meter number 1 S Systemunits US SI Density units kg m3 C Rd 60 C API Read Dexia Options Write Li Variation Limits Runs per prove 0 0001 Meter factor precision Runs per prove selected fo Maximum attempted runs before abort Minimum pulses per run thousands Maximum seconds per run 32 bit integer v Input format pulse count for runs 32 bit integer v Input format master meter pulse count Select the type of prover INOTE Changing prover type will reset all prover configuration 4 1 2 Prover Options There are several options affecting the handling and representation of data as well as affecting the relevance and availability of some configuration items Not all options are available for all prover types If an option does not apply to a particular prover type it cannot be selected For a description of each option listed below see the corresponding Modbus dictionary address in parenthesis below Dual transmitters temperature 6501 1 0 Dual transmitters pressure 65011 1 Input meter density 6501 1 2 Return leg pulse count is round trip count 65011 4 Prover is double walled 6501 1 5 External switch bar 6501 1 6 Calculation method Average Meter Factor else Average Data 6
70. when the Processor is switched to program mode While set measurement continues using the latest process input values obtained from the processor Upon resumption of backplane communication the AFC compensates for the downtime by computing an accumulator increment in a manner that depends on the meter type For differential orifice meters the first measurement scan acquires a scan period equal to the period of downtime as computed from the system timer hence periods of processor downtime shorter than the rollover period of the system timer cause no loss of product For linear pulse meters the first measurement scan acquires a pulse increment equal to the difference between the processor supplied pulse count of the current scan and that of the last scan before communication loss hence periods of processor downtime shorter than the rollover period of the counter module cause no loss of product bit 5 Measurement configuration changed Set when any bit in the Measurement Configuration Changed registers is set clear when all such bits are clear bit 6 Power up Set upon power up and cleared upon setting the wallclock for the first time bit 7 Cold start Upon power up AFC s non volatile storage is checked for validity by verifying a checksum and confirming that certain known values are present in their proper locations If the storage is invalid then it is initialized with a default configuration and this bit is set The bit remains s
71. you are configuring a module with firmware earlier than version 2 01 Contact ProSoft Technical Support to update the firmware on your module if your project requires this functionality 3 5 1 Archive Overview An archive is a set of data that records relevant process values that occurred during a certain period of time per meter channel The archives are automatically generated by the module and no further action is required The process values can include Net flow rate average Total accumulator Temperature average Alarms occurred during the period The process values will depend on the meter type and product group as listed later in this section Each archive contains two values that exhibits the period of time about that archive opening timestamp starting date and time for archive closing timestamp ending date and time for archive The example described in this chapter is of the default archive configuration as is present for a newly allocated meter Version 2 01 of the firmware and AFC Manager allows the default configuration to be changed Refer to Editing the Archive Structure ProSoft Technology Inc Page 67 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 5 2 Archive Configuration Dialog Box This dialog box opens when you click the Archive Config button on the Meter Configuration dialog box Each meter has its own archiv
72. your module has meter channels configured for either Crude NGL or Oil water emulsion you should decide before upgrading the firmware the new product group light or heavy to which each such channel should be assigned This assignment will be performed during the upgrade process and will preserve all other configuration and historical records including accumulator values and archives in contrast to changing a product group after the upgrade which resets the meter configuration and erases all historical records Meter channels configured for Gas or Refined products are not affected AFC Manager exhibits the same behavior when converting a project between versions 2 04 or earlier and 2 05 or later The criterion for assigning the new product group depends on the density units and the Default Reference Density as described in the following tables Density Units kg m3 Version 2 04 Product Group Default Reference Density Version 2 05 Product Group Crude NGL 0 OR 2610 0 Crude oils JP4 Crude NGL gt 0 AND lt 610 0 NGLs LPGs Oil Water Emulsion 0 OR 2610 0 Oil water emulsion Crd Oil Water Emulsion gt 0 AND lt 610 0 Oil water emulsion NGL Density Units Rd 60 Version 2 04 Product Group Default Reference Density Version 2 05 Product Group Crude NGL 0 OR 2 0 6100 Crude oils JP4 Crude NGL gt 0 AND lt 0 6100 NGLs LPGs Oil Water Emulsio
73. 0 22 0200h M02 M03 M04 M05 M06 M07 M08 M09 M10 ProSoft Technology Inc March 2 2011 Page 137 of 267 Overall Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer This meter channel is not enabled or used Meter 11 Tag M11 This meter channel is not enabled or used Meter 12 Tag M12 This meter channel is not enabled or used Meter 13 Tag M13 This meter channel is not enabled or used Meter 14 Tag M14 This meter channel is not enabled or used Meter 15 Tag M15 This meter channel is not enabled or used Meter 16 Tag M16 This meter channel is not enabled or used Page 138 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Monitor Liquid and Gas Flow Computer User Manual 7 Meter Monitor In This Chapter o gt Print the RO POMts is ir iorra iniaa i ea aa anae Aa aaa aR 141 Creating a File Report Log File 00 0 0 eeceeeceeeeeeeeeeeeeeeeeeeseeeeeeeeerses 142 Accumulator Monitor ceeecceeeeseeeeeeeeeeeseseeeeeeeeeeesesaneeeeeeeeeeenenneees 143 Flow Rate Monitor eee eeseeeeeenneeeeeeneeeeeneeeeeeeneeeeesnneeeseeeeeeneeeees 145 Input Data MONI cessencsacseccs cxzscesevacceccsuccctesaiscetevsiiestesttansesastensteniaeeds 146 s Alarm Montoiro a ragat 147 Use the Meter Monitor to monitor each meter run by reading the results calculated by the module
74. 000 in the primary slave Mh00100 Meter relative holding register located at offset 100 in the block of the primary slave that contains the data for the meter ProSoft Technology Inc Page 211 of 267 March 2 2011 Modbus Database AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Meter relative Data Meter relative data starts at absolute holding register address 8000 and occupies 2000 words of data for each meter channel 8000 Meter 1 Data 10000 Meter 2 Data 12000 Meter 3 Data 14000 Meter 4 Data 16000 Meter 5 Data 18000 Meter 6 Data 20000 Meter 7 Data 22000 Meter 8 Data 24000 The meter relative addresses are offsets within each meter data area The correct absolute address is calculated by the following formula assumes meters are numbered starting with 1 absolute address 2000 meter number 1 8000 meter relative address In the Modbus Dictionary dialog box addresses listed for the selected meter are absolute addresses so you should subtract the appropriate multiple of 8000 to calculate the meter relative address Page 212 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Modbus Database Liquid and Gas Flow Computer User Manual Example Find the orifice diameter address for the first 5 meter channels The meter 1 orifice diameter registers are located at the holding register address 8162 and 8163 as follows
75. 08 and 109 ProSoft Technology Inc March 2 2011 Page 215 of 267 Modbus Database AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Therefore instead of sending five Modbus commands 2 words each to the Primary Modbus Slave the Modbus Master device can now send one single Modbus command 10 words to the Virtual Modbus Slave in order to poll the same data from the module AFC Module Primary Modbus Slave Virtual Modbus Slave Modbus Master This example demonstrates the benefits of using the Virtual Slave instead of accessing the data directly from the Primary Modbus Slave The same procedure can be used when polling data from the processor through the backplane because the Modbus Gateway block also requires the data to be listed in a contiguous order Page 216 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Checksum Alarms Liquid and Gas Flow Computer User Manual 13 Checksum Alarms Occasionally the module may flag a checksum alarm condition after a power cycle A checksum alarm indicates a checksum verification failure during power up Non volatile information is kept in battery backed RAM It is partitioned into several blocks each of which contains a checksum and when the information is changed the checksum is updated also During power up the checksum is verified and upon failure the alarm bit is latched and the checksum corrected
76. 20 water H2S hydrogen sulphide H2 hydrogen CO carbon monoxide O02 oxygen ic4 iso butane nC4 normal butane iC5 iso pentane nC5 normal pentane C6 hexane C7 heptane C8 octane C9 nonane C10 decane He helium Ar argon neoC5 neopentan Ux userl Uy user2 et accu totalizer x f3 et accu residue x f3 Mass accu totalizer x 1b Mass accu residue x 1b 3408 0 2712079 6 643929E 02 483 1948 390119 0 3805552 5 534101 40248 22094 0 8813007 0 3135785 2280 571 OS O Ea Oe OOO OO Oo Or OO OO Or OO OO Or O ProSoft Technology Inc March 2 2011 Page 155 of 267 Audit Scan AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Page 156 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Archive Monitor Liquid and Gas Flow Computer User Manual 9 Archive Monitor In This Chapter Meter Archive Data Chart Dialog BOX ecceeecceeeeeeeeeeeteeeeeeeeeeeeetees 163 The Archive Monitor dialog box opens when you open the Monitor menu and then choose Archive The module can archive data for each meter channel The archives are periodically generated according to the period end defined in the Site Configuration There are hourly archives 48 archives and daily archives 35 archives For example the daily archives will be stored as Archive 0 current archive Archive 1 Archive created yesterda
77. 22 Scan period second 0 48 Specific gravity 0 7404104 Fpv 0 Compressibility flowing 0 9051347 Compressibility reference 0 9989105 Diameter at T tube 1 999343 Diameter at T orifice 0 9995098 Velocity of approach factor ev 1 032773 Pressure extension xt 149 4683 Coefficient of discharge cd 0 6042569 Expansion factor y 0 9997441 Composition factor 0 2728558 Mass flow Qh 2280 571 Orifice characterization error 0 Analysis characterization error 0 AGA8 calculation error 0 Gross accu totalizer x f3 3408 Gross accu residue x f3 0 2047686 Gross increment x 3 6 442598E 02 Gross flow rate x 3 h 483 1948 et accu totalizer x 3 390113 et accu residue x 3 0 8464546 et increment x 3 5 3664 Net flow rate x 3 h 40248 Mass accu totalizer x 1b 22094 Mass accu residue x 1b 0 5677222 Mass increment x 1b 0 3040761 Mass flow rate x l1b h 2280 571 Analysis components C1 methane 0 55 2 nitrogen 0 45 CO2 carbon dioxide 0 C2 ethane 0 C3 propane 0 H20 water 0 H2S hydrogen sulphide 0 H2 hydrogen 0 CO carbon monoxide 0 ProSoft Technology Inc March 2 2011 Page 153 of 267 Audit Scan User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer O02 oxygen ic4 iso butane nC4 normal butane ic5 iso pentane nC5 normal pentane C6 hexane C7 heptane C8 octane C9 nonane C10 decane He helium Ar argon neoC5 neopentan Ux userl Uy user2 AFC 56 16 Audit S
78. 3 et accumulator residue x f3 et flow rate x 3 h Temperature F Pressure psig Differential pressure hw Relative density 60 F 60 F Reference compressibility Flowing compressibility Fpv Velocity of approach factor Expansion factor Y Discharge coefficient ira lt Alarm Bits bit 0 Temperature input out of range bit 1 Pressure input out of range bit 2 Diff pressure input out of range bit 3 Flowing density input out of range bit 4 Water content input out of range bit 5 Diff pressure low bit 8 Orifice characterization error bit 9 Analysis total zero 2002 04 26 23 59 42 2002 04 26 06 16 34 60h 0000h 10198776 53 174811 0 939956 40247 88 15 00736 1000 416 22 00479 0 7404 0 9989 0 9053 1 0506 L 0331 1 0001 0 6045 52 7 Page 160 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Archive Monitor Liquid and Gas Flow Computer User Manual 10 Analysis total not normalized bit 11 AGA8 calculation error bit 12 API calculation error density correctio bit 13 API calculation error Ctl bit 14 API calculation error vapor pressure bit 15 API calculation error Cpl Status Bits bit 11 Meter was enabled bit 12 Backplane communication fault bit 13 Measurement configuration changed yes bit 14 Power up yes bit 15 Cold start AFC 56 16 Daily Archive Date 16 09 2002 16 26 51 Site Name MVI Flow Sta
79. 5011 8 Page 108 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual 4 1 3 Run Counts Runs per prove 65012 The total number of completed runs that constitute a single prove This value must be at least 2 and must not exceed 8 If Maximum attempted runs before abort register 65014 is non zero this value must not exceed that value Runs per prove selected The total number of completed runs to be selected for contribution to the prove calculations This value must be at least 2 and not exceed Runs per prove register 65012 This value is automatically updated when you edit the Runs per prove field Maximum attempted runs before abort 65014 The total number of runs to be attempted before abandoning a prove as incomplete which permits an automatic proving sequence to automatically terminate itself under exceptionally variable conditions If this value is zero no limit is imposed Otherwise the value must be at least as large as Runs per prove register 65012 and must not exceed 65535 4 1 4 Run Input Setup Minimum pulses per run thousands 65016 The minimum number of pulses required for a run to be considered for contribution to the prove represented in thousands This value must lie between 10 representing 10 000 pulses and 1000 representing 1 000 000 pulses Runs counting 10 000 pulses or more have sufficient precision to en
80. 600 so that Meter 2 s block is at 61650 and so on registers 61600 to 62399 are allocated to the Previous Prove Summary blocks for up to 16 meter runs Page 130 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Saving the project Liquid and Gas Flow Computer User Manual 5 Saving the project In This Chapter Configuration Download 0 0 eeeeeeeceeeneeeeeeeeeeeeeaeeseaeeeeaeeseaeeteaeeeeeeensas 132 Configuration Upload isois ihs eaa aara aiaa 133 After you have finished working on your project you should save your configuration so that you can open the project file later if you need to make changes To save your project click the Done button to close any dialog boxes that are open and then open the File menu and choose Save As to save your project ProSoft Technology Inc Page 131 of 267 March 2 2011 Saving the project AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 5 1 Configuration Download A configuration download operation transfers the complete configuration Meters amp Site Configuration from the local PC to the module So instead of writing each meter configuration to the module you can configure all meters at the local PC and then perform a configuration download operation After you click Project Download Project you will be prompted to confirm the action AFC Manager 2 About to download the current project to the modu
81. 63 3 12162 and 12163 4 14162 and 14163 5 16162 and 16163 Page 214 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Modbus Database User Manual Because these addresses are not contiguous the Modbus Master would have to use five commands to poll all the data directly from the Primary Modbus Slave as follows AFC Module Primary Modbus Slave However using the Virtual Modbus Slave optimizes the polling of data because the registers can be remapped in any order using the AFC Manager Site Configuration window The following illustration shows how the orifice diameter registers could be remapped to the Virtual Slave starting at address Vh00100 5 Indirect Address Remapping Select Register Block e Holding Input Description Start Address 100 f Search Previous Next When addressing Access as Inpt Reg with Wit Enb H 0100 ps2 _ m D 4 HO101 B x H 0102 10162 B B H 0103 10163 B B H 0104 m E H 0105 E L H 0106 D L H 0107 D z H 0108 a z H 0109 B Ts Result Enter the description of this remapped point up to 72 characters Done t The following table shows how the addresses would be remapped between both slaves Primary Modbus Slave Addresses Virtual Modbus Slave Addresses 8162 and 8163 100 and 101 10162 and 10163 102 and 103 12162 and 12163 104 and 105 14162 and 14163 106 and 107 16162 and 16163 1
82. 7 3 8 Meter Factor Linearization eececeeceeseeeeeeeneeeeeeneeeeeenaeeeesenaeeeeseaeeeeseaeeeeeneeeeeess 78 3 9 Meter Calculation Options c cccccceceeeeeeneeeeeeeeeeaeeseeeeeaeeseeeeeseeeeseaeeseueeeseieeseaees 80 3 9 1 Downstream Static Pressure ccc ccceeeeeeeeeeceneeeeeeeeeeaeeseaeeeseaeeseaeeeseaeeseneeeseeeseaees 80 3 9 2 Taps Corner amp Taps Radius cccccceeeseeeeeeeceeeeeeeeeeeeeeeseaeeeeeeeseaeeseneeetsaeeeeneeess 80 3 9 3 V Cone Wedge Device cccccceeeeceeeneeeceaeeeeeeeeseaeeceaeeeseaeeseaeeeseaeeseaeessnaeeteaeeseas 81 3 9 4 ISO 5167 2003 else AGA 3 1992 cceecceceseeeeeeeeeeneeeeneeeseeeeseaeeeseaeeseueeeseeeseaaes 81 3 9 5 Ignore Default Flowing Density ec eeceeeeeeeneeeeeeeeeeeeeeeneeeeeeeaeeeetsnaeeeeeenaeeeeeeaas 81 3 9 6 Density Correction Hydrometer Correction Temperature Correction amp Pressure Correction 82 3 9 7 Vapor Pressure Via TP 15 Technical Paper 15 00 0 eecseeeeeesneeeeeeeneeeeeenneees 82 3 9 8 Density Correction for PreSSUI c ccecceceeeeeeeeeeeeaeeteaeeeseaeeseaeeesaeeseneeeseaeeseaees 82 3 9 9 Calculate Net Heating Value else GrOSS cc cceeeeeeeeeeeeeeeeseaeeseeeeeeeeeseneeeseaeeeaas 82 3 10 Process INPUT SCAIING sa ions tedancohesteveid cagaeasaveneachldviatayasetaiaud A ANE AE NET aKa 83 3 10 1 ZELONSCAG AEA TA E E A A TE E A 83 Page 6 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration To
83. 8 Connect the AFC Module to the AFC Managet ccessseeseeeeeeeees 19 Starting AFC Managel ccccceseceeeeeeeeeeeeeneeeeeeeseeeeeeeseeeseeeeeeeeeeneeeeaes 22 Using AFC Manage t 2 csciistoiti canst io A etek i adei 23 The AFC Manager is a software application computer program for Microsoft Windows that allows you to perform the following tasks with your AFC module Configure project parameters site configuration Configure the port communication parameters Remap registers from the primary slave to the virtual slave Modbus master interface allows easy access to primary and virtual database Configure meter channels Enable and disable the meter channels Set the module passwords Keep track of configuration changes Monitor the meter operation Perform an audit scan Configure the archives Monitor the archives Monitor the events ProSoft Technology Inc March 2 2011 Page 11 of 267 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The following illustration shows a typical AFC Manager Software project Input Variables p Monitoring 4 mfo Processor oy ee Module QQ Calculation Result Configuration The AFC Manager software connected to one of the AFC The input variables temperature Module ports allows you to pressure etc are available to the configure meters and project processor For example through parameters You can also monit
84. 848 2 words Non resettable accumulator mass totalizer 850 2 words Non resettable accumulator mass residue 852 2 words Non resettable accumulator energy totalizer 854 2 words Non resettable accumulator energy residue 856 2 words Non resettable accumulator net totalizer 858 2 words Non resettable accumulator net residue 860 2 words Non resettable accumulator gross totalizer 862 2 words Non resettable accumulator gross residue 864 2 words ProSoft Technology Inc March 2 2011 Page 231 of 267 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Description Meter Relative Address Length Non resettable accumulator gross standard totalizer 866 2 words Non resettable accumulator gross standard residue 868 2 words Non resettable accumulator water totalizer 870 2 words Non resettable accumulator water residue 872 2 words Resettable accumulator 1 totalizer 874 2 words Resettable accumulator 1 residue 876 2 words Resettable accumulator 2 totalizer 878 2 words Resettable accumulator 2 residue 880 2 words Resettable accumulator 3 totalizer 882 2 words Resettable accumulator 3 residue 884 2 words Resettable accumulator 4 totalizer 886 2 words Resettable accumulator 4 residue 888 2 words Accumulator archive period daily totalizer 890 2 words Accumulator
85. 9 00 contain a value from the Special event tag list below if the bit is set then bits 19 00 have the interpretation given here 30 1 PLC offline timestamp may not be accurate This bit may also be set for a Special event 29 1 reserved 28 to 24 5 Meter number or 0 for Site This field may also be set for a Special event 23 to 20 4 Meter Stream number or 0 Site 0 This field may also be set for a Special event 19 to 16 4 Data type Value Mnemonic Format 0 Ubyt Unsigned byte 1 Usht Unsigned short integer 2 reserved 3 Ulng Unsigned long integer 4 Sbyt Signed byte 5 Ssht Signed short integer 6 reserved 7 Sing Signed long integer 8 Bbyt Bitmap up to 8 bits 9 Bsht Bitmap up to 16 bits 10 Bm24 Bitmap up to 24 bits 11 Bling Bitmap up to 32 bits 12 Bool Boolean value 0 or 1 13 DiBy Dibyte both high and low 14 B448 Bitfield nybble nybble byte 15 Flot Floating point 15 to 12 reserved 11 to 08 Group code This value is one of the measurement configuration changed bit numbers 07 to 04 4 Subgroup code This value is the ordinal number starting at 0 of the subgroup of parameters in the specified group 03 to 00 4 Subgroup item code Since a parameter subgroup may contain more than one item this value identifies the particular item items are numbered from 0 Page 168 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 4
86. A meter alarm may affect flow calculation Look at the Meter Monitor dialog box for alarms 4 Make sure that the input parameters transferred from the processor are correct You can look at these values in the Meter Monitor dialog box 5 When using a pulse meter make sure that the pulse input rollover parameter in Meter Configuration matches the actual input rollover value used in the high speed counter module Page 28 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual 2 Site Configuration In This Chapter Site Configuration Dialog BOX cceeceeseeeeteeeeeeeeeneeeeeeseeeteeeeeeeteaees 30 e Site INOF MAO Mss s ha eiaa a A e E ERE ea ae aera a 31 Site Configuration Parameters ccceecceeeeeeceeeeeeeeeeeeeseeeteeeeeeeteaees 36 Site Configuration BUttONS ee eee eeceeeeeeeeteeeeeeeteaeeeeaeeteaeeesaeeseeeeeaees 48 The first task in setting up a Project is to configure the overall settings for the site The Site Configuration dialog box is where you assign the settings that apply to the entire project Project name Modbus slave addresses Memory allocation Port configuration and mapping Site options and status To begin configuring a site 1 Start AFC Manager 2 Onthe File menu choose New and then select the module type number of meters and firmware version 3 On the Project menu choose Site Co
87. C Manager Configuration Tool Liquid and Gas Flow Computer Control Select Meter Select Archives Description Select the meter number Select the archive type Ages Select the first archive to be added or removed To Select the last archive to be added or removed Add Add the selected archives to the grid fetching as necessary Remove Remove the selected archives from the grid Connect Connect to the module if necessary Upd Current Update the current archive Update All Update all archives in the grid Clear Clear the grid Log Create a log file containing the archived data Print Print the archives to the local printer Plot Display a plot of two datum points from archives in the grid The following shows an example of an archive report generated by the AFC Manager AFC 56 16 Daily Archive Site Name MVI Flow Station Project AFC Date 16 09 2002 16 26 41 Meter 1 Tag M01 Archive 0 Closing timestamp of archive Opening timestamp of archive Status bitmap details below Alarms bitmap details below Flowing period Event counter et accumulator x f3 et accumulator residue x f3 et flow rate x 3 h Temperature F Pressure psig Differential pressure hw Relative density 60 F 60 F Reference compressibility Flowing compressibility Fpv Velocity of approach factor Ev Expansion factor Y Discharge coefficient Alarm Bits bit 0 Temperature input out of ran
88. Configuration Tool User Manual Liquid and Gas Flow Computer 1 7 7 Verifying Correct Operation When all of the configuration steps have been completed the module should be ready to perform measurement calculations To verify that the module is configured correctly follow these steps 1 Enable all meters that will be used as any meter will only perform calculations if it is enabled Any meter can be enabled either with ladder logic AFC Manager modules function blocks PTQ modules or with AFC Manager 2 Make sure that the wallclock is running and that it has valid date and time information After power up the wallclock will be stopped therefore the module will not perform any time scheduled operations such as writing period end archives and will not timestamp records written to the event log until it receives a wallclock command from the ladder logic The sample ladder logic programs the wallclock update command upon detecting power up status from the AFC The date time information used is the same as the processor therefore you should use the configuration tool for your processor to verify that the processor has valid date time data If the processor wallclock is not valid for example if the year 1900 the module will not accept the command You may easily determine if the wallclock is running by performing two consecutive read operations in the Meter Monitor page 139 3 Make sure that the meter does not have any alarms
89. Configuration selector Select Local for current Modbus database configuration in AFC Manager Select Online for current Modbus database configuration in the AFC module The module must be connected to the PC and communicating with AFC Manager in order to view online configuration Note The interpretation of specific Modbus addresses is determined by meter configuration The configuration stored in the PC may be different from the one stored in the module ProSoft Technology Inc Page 209 of 267 March 2 2011 Modbus Database AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Dictionary Section selector Use the categories on this list to filter your view of the Modbus dictionary to locate specific sections of the database quickly The following views are available All Shows all registers Site Identification shows basic configuration information including firmware revision serial number and wallclock Site Configuration shows primary and virtual Modbus slave addresses port parameters project and site name and configuration changed status Site Operational shows scan count meter alarm status and audit status Meter Configuration Shows meter configuration details for the selected meter Stream Configuration shows stream options and calculation reference values Stream Component Analysis shows analysis molar fractions for each measured component Meter Accumulators shows
90. ES AE DA ARAE AE AA A AANE 2 Howto GOntact E E A T T A E AEE E E 2 ProSoft Technology Product Documentation c scccscssessessessesssssessssessssessessessessessessessessesaesseeateeeees 2 1 Introduction 11 1 1 WJpodate NOICE aoma aana AAEREN EE DEE A AEA A A N 13 1 2 QUICK SIAN P E E A EA E 15 1 3 Install AFC Ma naQel cccccceceececeeeeeceneeceeeeeseaeeeeeeeeseaeeseaeeeseaeeseaeeseeeeteaeeesnaeeseaeesaas 16 System Requirements c cccccccceeeeeseneeeeeeeeseaeeeeeneeseaeeseaeeeeeaeeseaeeseeeeeeneeseeeesseneess 16 1 Upgrading from a Previous Version of AFC Managet ccccceseeeeeeeeeeeeeeeneeeens 17 1 4 Install the Module in the Rack irakano iaa E AAA AE 18 1 5 Connect the AFC Module to the AFC Manager ccceeeceeeeeeeeeeeeeeeeeeeneeeeeeeens 19 1 5 1 Troubleshooting AFC Manager Connection Problems ccccccseeeeeseeeteeeeees 21 1 6 Starting AFC Manageria aeaiia nee iea aa ap ata ak a eh iad iaden i 22 1 7 Using AFG Manager heee aa a aa a a a aaa aTa a aioa 23 1 7 1 Starting a New Project cecccecceeeeeeceeeeeeeeeceaeeeeeaeeseaeeseaeeeseaeeseaeeseaeesseneeeeeeeeeeaeess 23 1 7 2 Loading an Existing Project oura aiea E ER AS Ea 24 1 7 3 Printing the Configuration REDOft cccceccsceeeeeeeeeeeeseneeeseaeeseeeseeeeeseaeeseneeeseaeeseas 24 1 7 4 Converting a Project ic c 00 ase nae ke avs ee ieee 25 1 7 5 Resetting Configuration Parameters cccccccecceeseceeseneeeeeeeesea
91. Event triggered Archives and Accumulator Resets Each archive file two for each meter contains an Archive Options bitmap whose configuration specifies the actions to be scheduled write archive and or reset resettable accumulator s when an event occurs daily or hourly period end or most loggable events Archives and or resets are scheduled only for enabled meters with one important clarification see Rkv notes page 201 The actions to be taken upon period end and those to be taken upon loggable events are configured separately Several archive reset triggering events can occur simultaneously In such cases the archive or reset occurs only once an archive is written only when archivable data has been accumulated for at least one meter scan additional resets of already reset accumulators have no effect Scheduled accumulator resets are performed at the top of the meter scan This permits their final values to be inspected fetched archived while the AFC rotates its scan among the other meters Scheduled archives are written at the top of the meter scan at its bottom or between successive scans depending on the nature of the triggering event Archives written at the top of the scan are written before any accumulator resets ProSoft Technology Inc Page 169 of 267 March 2 2011 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 10 5 Downloading the Event Log in Firmware Version 2 07 and Lat
92. Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average Differential pressure 22 23 Floating point Flow weighted average Density input 24 Word Flow weighted average Corrected density scaled integer 25 Word Flow weighted average CTL e 4 26 Word Flow weighted average CPL e 4 27 Word Flow weighted average Velocity of approach factor Ev e 4 28 Word Flow weighted average Expansion factor Y e 4 29 Word Flow weighted average Coefficient of discharge Cd e 4 Page 240 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual 14 6 6 Pulse Linear Meter with Liquid Product Start Offset End Offset DataFormat Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average K Factor 22 23 Floating point Flow weighted average Meter Factor 24 25 Floating point Flow weighted average Density Input 26 Word Flow weighted average Water content e 2 27 Word Flow weighted average Corrected density scaled integer 28 Word Flow weighted average CTL e 4 29 Word Flow weighted ave
93. Group Meter Type Product Group Standards Differential Gas AGA8 AGA3 Differential Liquid API MPMS ch 11 AGA3 Linear Gas AGA8 AGA7 Linear Liquid API MPMS ch 11 MPMS ch12 2 Meter Type Product Group Linear Pulse Differential Orifice Gas Liquid Refined Crude or Oil Water Emulsion Note The meter channel must disabled in order to change its meter type and product group 3 1 1 MPMS Chapter 11 Tables Tables x3 calculate density at reference conditions from density measured at flowing conditions Tables x4 calculate the CTL temperature correction factor Tables 2x perform their calculations using US units F psi relative density 60 60 and tables 5x perform the calculations using SI units C kPa kg m3 The meter configuration dialog box will automatically display the correct configuration parameters for the meter type you selected Refer to Meter Type Specific Parameters and Product Group Specific Parameters page 87 for more information 3 1 2 Device Differential or Linear For Pulse Meters select the Linear option For Orifice meters select the Differential option When Differential is selected the module will use the AGA 3 standards to perform the flow calculation When Linear Meter for Pulse meters is selected the module will use the AGA 7 report for gases to perform the flow calculation The meter configuration dialog box will automatically display the correct configuration pa
94. Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Click POLL to fetch status and to prepare the session amp Event Log Event Log Status Next event to be written Next event to be downloaded Events not yet downloaded Result Learn how many events have not been logged yet After this click Download to read Save Session Data Exit Session Step 1 Poll to fetch event log status and prepare to set up session og Print Commit Abandon After polling you are prompted to download Event Log Site name MYI Flow Station ssi MVI Flow Station OOOO O Flow Station Project MVI56 MM prove Set Up Session First event Lo e P Manual selection Last event 1 L Event count 259 Acknowledgement method Brief C Verbose Event Log Status Next event to be written EJ Next event to be downloaded jo Events not yet downloaded Download Description Timestamp Old value New value Result Learn how many events have not been logged yet After this click Download to read Save Session Data Exit Session Step 2 Download to fetch all uy ily Close selected events Commit Abandon ProSoft Technology Inc Page 171 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Before downloading you may want to modify the parameters of your download Reasons for modification inc
95. LPG or Oil Water Emulsion 59 3 1 4 Units US Or Slieni a a ea iaaa e aaa a aa ee et 59 3 1 5 Primary Mouk rerne A A adn ava Rashad eal 59 3 1 6 Changing the Meter Type Product Group or Unit cc cceseceeseeseeeeeseteeeeeeeeees 60 3 2 Reference Conditions cccccecceceeneeeeneeeseaeeceeeeeeaeeseaeeeeeaeeseaeeseaneeseaeesseaeeseeeesanes 61 3 3 Accumulators and Flow Rates ccccceeeeeeeeeeeeeeeeeeeeeeaeeeeeeeaeeeeeeaeeeeeenaeeeeeesaeeeeneaas 62 3 3 1 Accumulator Rollovers issia oai i AE aa EE ena eaa A ae AEEA EAAS 63 3 4 Meter Control Options Dialog BOX cccccceseseeeeeeeeeeeeeeeeeeseeeeceeeeseaeeeeneeeseeeseaees 64 3 4 1 Split double pulse input ccceceeeceeeeeeeeeeeeeeeeeeeeeeeeeeseaeeseaeeeseaeeseaeeeseaeeseneeeeeaeeseas 64 3 4 2 Split double ACCUMUIALOS cccccceceeeeeeeeeeeeeeeeeeeeeeeeeeseaeeseaeeeseaeeseaeeesaeeseieeeteaeeseas 64 3 4 3 Treat analysis as process INPUT 0 0 eee eeeeeeeeneeeeeeeneeeeeeeaeeeeeeeaeeeeeeeaeeeeeseeeeeeneaas 65 3 4 4 Meter Enabled nn rete ence ene eee 65 3 5 Archive Configuration iia cst dake cialis edu eed 67 3 5 1 Archive Overview ini ener cree ea lndate cde AL eels ated 67 3 5 2 Archive Configuration Dialog BOX cccccesesceceeeeeeseeeeeaeeeeeeeeseaeeseaeeeseaeeseneeeteaeess 68 3 5 3 Archive Modbus Addresses dialog DOX cceeeceeeeeneeeeeeeneeeeeeeneeeeeteneeeeeeeeeeeeneaes 70 3 5 4 Archive Options Dialog Box 0 c cccccec
96. Manual 10 13 Rkv Notes 1 2 Archives only not resets are forced regardless of configuration capturing any unarchived data from the previous session Archives and resets are scheduled immediately without a period end delay only for the initial setting of the wallclock a five minute event causes no scheduling This ensures capture of any flow that has occurred prior to the initial clock set Event occurs only when one or more of the following bits are changed Bit 2 Barometric pressure units Bit 5 Process input out of range use last good Bit 12 Analysis is packed in module Bit 13 Analysis is packed over backplane 1756 and 1769 platforms only A change to Meter Control Options bit 15 Meter enable imposes these adjustments to the normally scheduled archives resets o Upon meter enable cancel any scheduled archives no data yet to be archived but leave in place any scheduled resets o Upon meter disable cancel any resets for inspection and so on reset will be rescheduled upon subsequent enable and force archiving of both files regardless of configuration so that a disabled meter never has any pending unarchived data Events occur only if Meter Control Options bit 10 Treat analysis as process input is clear Or OA O ProSoft Technology Inc Page 201 of 267 March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual 10 14 Dow
97. ProSoft TECHN OFT OGY Where Automation Connects AFC Manager Configuration Tool Liquid and Gas Flow Computer eme March 2 2011 USER MANUAL Your Feedback Please We always want you to feel that you made the right decision to use our products If you have suggestions comments compliments or complaints about our products documentation or support please write or call us How to Contact Us ProSoft Technology 5201 Truxtun Ave 3rd Floor Bakersfield CA 93309 1 661 716 5100 1 661 716 5101 Fax www prosoft technology com support prosoft technology com Copyright 2011 ProSoft Technology Inc all rights reserved AFC Manager User Manual March 2 2011 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc All other brand or product names are or may be trademarks of and are used to identify products and services of their respective owners ProSoft Technology Product Documentation In an effort to conserve paper ProSoft Technology no longer includes printed manuals with our product shipments User Manuals Datasheets Sample Ladder Files and Configuration Files are provided on the enclosed CD ROM and are available at no charge from our web site www prosoft technology com AFC Manager Configuration Tool Contents Liquid and Gas Flow Computer User Manual Contents Your Feedback Pleas Eomaia aaa AA AAE AAE O AA E
98. ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual Pulse interpolation ratio 65030 Meter proving pulse counts delivered to the AFC may be fractional such as when double chronometry is used with a SVP This value is the number of delivered counts that constitute a single actual pulse so that the actual pulse count is determined by dividing the delivered count by this The default value is 1000 0 for compact provers and 1 0 for other types This parameter is meaningful only for non master meter provers Flow tube linear coefficient of thermal expansion 65032 Holds the coefficient of thermal expansion of the prover barrel material meaningful only for non master meter provers Here are some typical materials and their expansion coefficients Stainless steel 304 or 316 9 3e 6 F 16 7e 6 C Monel 7 9e 6 F 14 3e 6 C Carbon steel 6 2e 6 F 11 2e 6 C Invar 8e 6 F 1 4e 6 C The default value is that of carbon steel 6 2e 6 F 11 2e 6 C Switch bar linear coefficient of thermal expansion 65034 Holds the coefficient of thermal expansion of the external switch bar material meaningful only for non master meter provers with option External switch bar register 65011 bit 6 set Here are some typical materials and their expansion coefficients Stainless steel 304 or 316 9 3e 6 F 16 7e 6 C Monel 7 9e 6 F 14 3e 6 C
99. Pulse Measurement The standard applied is AGA7 which is merely a combination of the gross volume calculation page 225 and the gas law PV ZNRT which includes compressibility It also specifies calculation of some intermediate factors which are now idiosyncratic and vestigial having been imported from an earlier AGA3 1985 and before which used the factor method to calculate gas flow and which has been superseded by the completely overhauled 1990 1992 AGAS3 ProSoft Technology Inc Page 225 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Water Content of Liquids The handling of water content in crude and NGL products depends upon whether an emulsion Product Group is chosen For emulsions water content is removed from the mixture according to the calculations of AP MPMS Chapter 20 1 before calculating and applying correction factors In this case the volumetric quantity intermediate between Gross and Net is Gross Clean Oil which is the hydrocarbon component of the mixture at flowing conditions This method is recommended for mixtures containing more than 5 water For non emulsions water content is removed from the mixture according to the rules of API MPMS Chapter 12 2 after calculating and applying correction factors In this case the volumetric quantity intermediate between Gross and Net is Gross Standard which is the entire mixture including its wat
100. SW 10 000 LSW 3 Floating point Pulse counts are delivered as IEEE 32 bit floating point values When a prover is configured the default setting is 1 32 bit except for compact provers for which it is 3 floating point Inout format master meter pulse count 65021 This parameter is a code that specifies the format in which pulse counts for the master meter are delivered to the AFC at the ends of runs or passes These values are Value Format Description 0 None No pulse counts are delivered Used when the prover is not a master meter 1 32 bit Pulse counts are delivered as 32 bit double integers 2 Split double Pulse counts are delivered as split double values in which the actual value is MSW 10 000 LSW 3 Floating point Pulse counts are delivered as IEEE 32 bit floating point values When a master meter is configured the default setting is 1 32 bit This parameter is meaningful only when using master meter provers 4 1 5 Prover Characteristics Prover Characteristics will vary based on the type of prover and options you select The following topics describe each field and its operating range Prover size units 65018 L This parameter sets the units in which the prover s base volume is represented This parameter is not meaningful for master meter provers Meter factor precision 65028 This parameter is a number between 0 00000001 and 0 0001 The default setting is 0 0001 Page 110 of 267
101. Specify precision of analyses and assignment to streams Cancel oK For module firmware versions 2 06 and newer you can specify the association of each stream to specific slots where each slot has enough space for 24 words This configuration option allows you to use high precision calculations for the specified slots To use high precision calculations change the Analysis slot precision value from Low to High as shown in the following illustration Notice that AFC Manager automatically reserves two slots 48 words identified as Slot 1 the first slot Streams 1 and 2 are using high precision analysis sharing the same analysis data while Streams 3 and 4 are using low precision Analysis Configuration Component Selection Map Precision and Stream Assignment Analysis Slot precision Stream assignment 1 Slt1 C Low Steam1 1 v Slot1 High precision C Low High Steam2 1 Slot 1 High precision 3 Slot3 Low C High Steam3 3 Slot 3 Low precision 4 L Slot4 Low C Stream4 4 Slot 4 Low precision Slots 1 and 2 to contain high precision analysis Cancel OK The sample program for your AFC module allows you to view and update the high precision molar analysis Refer to the Ladder Logic Sample Program chapter of the manual for your AFC module for more information ProSoft Technology Inc Page 91 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liqui
102. Temperature above near critical limit 3 Temperature outside range of API Chapter 11 2 1 4 Temperature outside range of API Chapter 11 2 2 5 Non convergence of Cpl density iteration ProSoft Technology Inc March 2 2011 Page 149 of 267 Meter Monitor User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Alarm Message Description Solution Reference density error The density correction calculation resulted in an error according to the standard Alarm Code values 0 No alarm 1 Low density NGLs input outside API range 2 High density crudes amp refined input outside API range 3 Non convergence 4 Zero VCF 5 Temperature above critical point 6 Input density outside reference fluid adjusted range 7 Corrected density out of range 8 Standard density input outside API range 9 Alpha input outside API range Also check the input values and calculation parameters for your project Temperature Correction error The temperature correction calculation OR the water temperature correction calculation resulted in an error according to the standard Alarm Code values 0 No alarm 1 Low density NGLs input outside API range 2 High density crudes amp refined input outside API range 5 Temperature above critical point 9 Alpha input outside API range Also see the Alarm Code for Water Temperature Correction error
103. The alarm bit remains latched even through subsequent power cycles until it is explicitly cleared from an external source such as the AFC Manager When this event occurs the module will recalculate the checksum after the power cycle and restore the original value The module informs you that a checksum alarm has occurred by blinking the green LED on the module If a checksum alarm occurs you should verify the associated data Use the Checksum Alarm dialog box to identify which part of the data is related to the alarm After you verify that the data is OK click the Clear button to clear the alarm g Checksum Alarms Site configuration Poll Done ProSoft Technology Inc Page 217 of 267 March 2 2011 Checksum Alarms AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Page 218 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual 14 Reference In This Chapter General Specifications eeceecceeeseecseeeceeeeeeeeeseaeeeseeeseaeessaeeseaeetnaees 220 Measurement Standards ecceecceseseeeseeeseeeeeeeeeseeeeeneeeeeaeessaeessaeeesas 224 Sealable Parameters ccccccceesceeseeeeeeeteneeeeaeeseaeeseeeseeeseseeseeeeeeeee 229 Wedge Meter Applications cc eeceeeeeseeeeeeneeereneeeeseneeeeeeeeeeeseneees 230 Configurable Archive Registers cccccceeseeeeeeeeeee
104. Usda e time sce a mm Last Faw fcaled Avg Cdibretion jo ulse frec emperature D a ea r Result ne Meter faz Pulsa Frequency M C m 4s Bose O Input Data dialog box Using these data is particularly important when troubleshooting the meter run since you can verify if the values transferred from the processor are correctly being received at the module 7 4 1 Calibration The Calibration checkboxes force the AFC to freeze the input value for further calculations until Calibration Mode is removed at which time the AFC resumes taking the live value as the value of the input Its purpose is to allow calibration of transmitters without shutting down or having to adjust measurement During calibration the transmitter s output may undergo significant changes that do not accurately reflect the value of the input Calibration Mode makes the AFC ignore such changes which assumes instead that the input value is constant throughout the period of calibration holding the value of the input as it was at calibration start To switch an input into or out of Calibration Mode toggle the checkbox and click Apply Page 146 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Monitor Liquid and Gas Flow Computer User Manual 7 5 Alarm Monitor If the module is generating unexpected data you should verify if the meter has any alarms Some alarms may be caused by an issue th
105. VI46 56 69 and 71 AFC module configuration debug port 1 Connect the DB 9 adapter to the CFG configuration debug port of the AFC module refer to the port labels on the front of the module to find the correct port Note The PTQ AFC module connects directly to the null modem cable and does not require an adapter 2 Connect the null modem cable to the DB 9 adapter cable on the module and to an available serial port on your computer ProSoft Technology Inc March 2 2011 Page 19 of 267 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Note Some desktop and notebook computers are not equipped with a serial port In this case you may require a USB to Serial adapter cable with drivers Not all USB to Serial adapters will work correctly with this application If you encounter problems please contact ProSoft Technical Support for recommendations ATI jos id BP APP status PACT c BATT 0k JINGOW SNOLLVIINAWHOD 98 IAW Null Modem Cable to Serial Port RJ45 DB9 Serial Null Modem Cable Adapter Cable Note The illustration above shows an MVI46 AFC The connection process is similar for all MVI AFC and PTQ AFC models The null modem cable that is supplied with the module uses the following cabling scheme RS 232 Config Debug Port Cable DB 9 Male Config Debug Port Page 20 of 267 ProSof
106. able calculation of 4 digit meter factors For all prover types except compact SVPs the AFC rejects any LVP run that does not meet this condition Since SVPs can deliver fractional pulse counts that provide sufficient precision with only a small number of pulses the AFC does not impose this limitation on prover calculation using SVPs Maximum seconds per run 65017 This parameter is a timeout for the duration of a run A timer is started when the run is started and if the timer value equals or exceeds this value before the run is completed then the AFC automatically cancels the run This allows an automatic prove to recover from conditions that put the AFC and the proving hardware out of step such as a missed switch signal This value must lie between 0 and 10000 where zero means that no timeout is imposed ProSoft Technology Inc Page 109 of 267 March 2 2011 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Input format line meter pulse count 65020 This parameter is a code that specifies the format in which pulse counts for the line meter are delivered to the AFC at the ends of runs or passes These values are Value Format Description 0 None No pulse counts are delivered Used only when no prover is configured 1 32 bit Pulse counts are delivered as 32 bit double integers 2 Split double Pulse counts are delivered as split double values in which the actual value is M
107. alysis received over the backplane by omitting the zeroes corresponding to components that are not selected in the component map for the meter If clear then molar concentrations of individual components appear always in the same locations regardless of whether the corresponding components are selected Changing this setting may require corresponding changes to PLC programs that deliver the analyses Default setting is packed to be consistent with earlier versions of the AFC but this default will change in a future version This option is present only for MVI56 AFC and MVI69 AFC For other platforms where the option is not present analyses transferred over the backplane are always unpacked 2 3 8 Pass thru Configuration The module supports the Modbus Pass Thru feature for write commands When the pass thru region in the virtual slave is properly configured all Modbus write commands pointing inside that area will be handled by ladder logic using the Modbus Pass Thru function block Refer to the module s user manual for specific information on the pass through backplane functionality Pass Thru Max PLC Window Size Defines the maximum pass thru window size expressed as 16 bit words in the Virtual Modbus Slave The maximum allowed value for this point depends on the platform Refer to the user manual for your module for specific configuration information Page 46 of 267 ProSoft Technology Inc March 2 2011 AFC Manager C
108. an request module be returned at their expense ii If defect is customer generated and is repairable customer can authorize ProSoft Technology to repair the unit by providing a purchase order for 30 of the current list price plus freight charges duties and taxes as applicable 15 1 3 Returning Units Out of Warranty a Customer sends unit in for evaluation to location specified by ProSoft Technology freight prepaid b If no defect is found Customer will be charged the equivalent of 100 USD plus freight charges duties and taxes as applicable A new purchase order will be required c If unit is repaired charge to Customer will be 30 of current list price USD plus freight charges duties and taxes as applicable A new purchase order will be required or authorization to use the purchase order submitted for evaluation fee The following is a list of non repairable units 3150 All 3750 3600 All 3700 3170 All 3250 1560 Can be repaired only if defect is the power supply 1550 Can be repaired only if defect is the power supply 3350 3300 1500 All O71 Ory Or sO Os O Or 0 3019 0 30 Page 258 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Support Service amp Warranty Liquid and Gas Flow Computer User Manual 15 2 LIMITED WARRANTY This Limited Warranty Warranty governs all sales of hardware software and other products collectively Product m
109. anager Meter Monitor dialog box Page 252 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 9 17 What is the Wallclock The Wallclock is the internal module clock that is used by the module to perform the applicable calculation Typically the Wallclock will be copied from the processor at every power up operation otherwise the module will not perform time of day dependent calculations 14 9 18 Can I read the Primary or Virtual Slave values using the AFC Manager Yes the Modbus Master interface Communications Modbus Master allows you to easily read or write to any register in both slaves 14 9 19 When are the archives generated There are two types of archives the daily archives which are generated once a day and the hourly archives which are generated once a hour The Site Configuration dialog box has two parameters that allow you to configure when the archives will be generated End of Day minute the minute of the day when the daily archives will be written End of Hour minute the minute of the hour when the hourly archives will be written ProSoft Technology Inc Page 253 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Page 254 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Support Service amp Warranty Liqu
110. anual selection Wallclock 2010 12 31 13 00 12 Download Last event 1 EveneCoune 259 Next event to be written Session Open Next event to be downloaded jo Acknowledgement method Brief Verbose Events not yet downloaded 0 810F0400h Mt01 pres in temperature lo 2010 12 31 12 50 44 15 40 1 10F0401h Mt01 pres in temperature hi 2010 12 31 12 50 44 2 10F0411h Mt01 pres in pressure hi 2010 12 31 12 50 44 3 810Fo4azh MtO1 pres in pressure df 201012 31 12 50 44 4 810F0421h Mt01 pres in prim input hi 201012 31 12 50 44 810F0422h MtO1 pres in prim input df 2010 12 31 12 50 44 10F0431h Mt01 pres in density hi 2010 12 31 12 50 44 8 a10F0441h M01 presin water hi 201012 31 12 50 44 9 810F0442h Mt01 pres in water df 2010 12 31 12 50 44 10 811F0140h M0151 Kfac 2010 12 31 12 50 46 11 82090100h Mt02 class device amp eng units 2010 12 31 12 50 46 Mt02 class product 2010 12 31 12 50 46 Mt02 options calculation 2010 12 31 12 50 46 I Save Session Data Exit Session Commit Abandon Step 4 Commit to mark saved events as downloaded or Abandon to leave event log status cl unchanged uiose Page 174 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Click COMMIT and the AFC then moves its download pointer Next event to be downloade
111. anufactured and or offered for sale by ProSoft Technology Incorporated ProSoft and all related services provided by ProSoft including maintenance repair warranty exchange and service programs collectively Services By purchasing or using the Product or Services the individual or entity purchasing or using the Product or Services Customer agrees to all of the terms and provisions collectively the Terms of this Limited Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property 15 2 1 What Is Covered By This Warranty a Warranty On New Products ProSoft warrants to the original purchaser that the Product that is the subject of the sale will 1 conform to and perform in accordance with published specifications prepared approved and issued by ProSoft and 2 will be free from defects in material or workmanship provided these warranties only cover Product that is sold as new This Warranty expires three 3 years from the date of shipment for Product purchased on or after January 1st 2008 or one 1 year from the date of shipment for Product purchased before January 1st 2008 the Warranty Period If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications or a defect in material or workmanship of the Product the Customer must promptly notify ProSoft by fax email
112. any claim investigation litigation or proceeding whether or not ProSoft is a party which arises or is alleged to arise from Buyer s acts or omissions under these Terms or in any way with respect to the Products Without limiting the foregoing Buyer at its own expense shall indemnify and hold harmless ProSoft and defend or settle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party ProSoft makes no warranty that the product is or will be delivered free of any person s claiming of patent trademark or similar infringement The Buyer assumes all risks including the risk of suit that the product or any use of the product will infringe existing or subsequently issued patents trademarks or copyrights a Any documentation included with Product purchased from ProSoft is protected by copyright and may not be duplicated or reproduced in any form without prior written consent from ProSoft b ProSoft s technical specifications and documentation that are included with the Product are subject to editing and modification without notice c Transfer of title shall not operate to convey to Customer any right to make or have made any Product supplied by ProSoft d Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license a
113. apor pressure kPag mnnn Defaut Ci Defauk Cpl Stream Opts o Site Read Write Done ProSoft Technology Inc Page 61 of 267 March 2 2011 Meter Configuration User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 3 3 Accumulators and Flow Rates Use these parameters to configure the flow rate units accumulator units and the accumulator rollover values for Volume Energy and Mass The AFC Manager automatically displays the possible unit values to be selected as shown in the following illustration Volume Flow Rate Unit lites decalitres hectolitres cubic metres 10 cu metres 100 cu metres 1000 cu metres cubic feet 10 cu feet 100 cu feet 1000 cu feet 10000 cu feet 100000 cu feet 1000000 cu feet na en Se we ve eS barrels eexeeeeeeereereeee ee Copy Config From Meter number T E 0 001 US gallons 0 01 US gallons 0 1 US gallons US gallons 10 US gallons 100 US gallons 1000 US gallons 0 001 barrels 0 01 barrels 0 1 barrels 10 barrels 100 barrels 1000 barrels Volume Flo amp on a a a we a we e Y eee Differential C Linear System of units us esi Primary Input Differential Pres C Flow Rate Enter the rollover value for the accumulator Reference Conditions eo Reference temperature F 14 73 Reference pressure psia Differential Meter Orifice 0 DP flow threshold thw 0 DP alarm threshold hw
114. apshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average K Factor 22 23 Floating point Flow weighted average Meter Factor 24 25 Floating point Flow weighted average Density Input 26 Word Flow weighted average Water content e 2 27 Word Flow weighted average Corrected density scaled integer 28 29 Floating point Flow weighted average Pulse Frequency Example 1 Find the Net Accumulator addresses at archive 1 latest daily archive for the first 4 meters Primary Modbus Slave Input Register Address Description 10 and 11 Net Accumulator Totalizer from archive 1 Meter 1 2510 and 2511 Net Accumulator Totalizer from archive 1 Meter 2 5010 and 5011 Net Accumulator Totalizer from archive 1 Meter 3 7510 and 7511 Net Accumulator Totalizer from archive 1 Meter 4 Example 2 Find the Net Accumulator addresses at archive 0 current daily archive for the first 4 meters Primary Modbus Slave Description Holding Register Address 9910 and 9911 Net Accumulator Totalizer from archive 0 Meter 1 11910 and 11911 Net Accumulator Totalizer from archive 0 Meter 2 13910 and 13911 Net Accumulator Totalizer from archive 0 Meter 3 15910 and 15911 Net Accumulator Totalizer from archi
115. arately Once you download the entire configuration you may perform smaller adjustments Site Configuration and Meter Configuration by clicking on the Write button 14 9 8 What is the password used for The password protects the module from any changes to sealable parameters Sealable parameters directly affect measurement calculations for example orifice diameter or K factor The password is stored in the module so different computers should always use the same password 14 9 9 Why do I receive an Illegal Data Value warning when try to write a meter configuration or download the entire configuration to the module Follow these steps Ensure that any parameters you had changed from the default configuration are acceptable according to applicable standards The white rectangle Site Configuration and Meter Configuration shows the correct range of values for each parameter The module will not accept a downloaded configuration that changes the meter type and or the product group of a meter that is currently enabled Disable the meter first then proceed with the meter download Look at the number of events currently stored in the module You can check this using Monitor Event Log and then click on the Read button If the number of events not yet downloaded is 1999 it means that the event log is full In this case if the project also has the event log unlocked option clear the module will not accept any further con
116. arch 2 2011 Page 99 of 267 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Process Input Scaling Liquid This parameter configures how the module will interpret the input variable within the given range The possible values are floating point scaled integer and 4 to 20mA Click the Process Input button to configure the valid input ranges If an input data is not within the configured range AFC Manager will flag an alarm on the Meter Monitor dialog box and the alarm bit for the meter will be set Process Input Scaling Zero scale Full scale Default Raw input Temperature C IE 15 15 Floating point 0 g 0 Pressure kPag Floating point Flow rate kg h Floating point Density kg m3 Floating point Water content 0 Scaled integer number between 75 and 500 C ero scale lt Defan i ult lt Full scale Done The process input variables available for liquid products depend on the meter type differential or linear and the primary input type For scaled integer process input scaling the module requires the following data formats Scaled Integer Variable Format Example Temperature Two implied decimal places A value of 1342 would be equivalent to 13 42 C Pressure No decimal places implied for A value of 200 would be equivalent the SI units kPa and one
117. archive period daily residue 892 2 words Accumulator archive period hourly totalizer 894 2 words Accumulator archive period hourly residue 896 2 words Process input scaled float temperature 1520 2 words Process input scaled float pressure 1522 2 words Process input scaled float dif prs flow rate freq 1524 2 words Process input scaled float flowing density 1526 2 words Process input scaled float water and sediment 1528 2 words Process input scaled integer temperature 1540 1 word Process input scaled integer pressure 1541 1 word Process input scaled integer dif prs flow rate freq 1542 1 word Process input scaled integer flowing density 1543 1 word Process input scaled integer water and sediment 1544 1 word Temperature absolute 1570 2 words Upstream pressure absolute 1572 2 words Densitometer frequency 1574 2 words AGA 7 temperature base factor Ftb 1594 2 words AGA 7 pressure base factor Fpb 1596 2 words Meter alarms 1601 1 word Orifice characterization error 1602 1 word Analysis characterization error 1603 1 word AGA 8 calculation error 1604 1 word Density correction error 1605 1 word Temperature correction error 1606 1 word Vapor pressure error 1607 1 word Pressure correction error 1608 1 word Scan count process input 1618 1 word Page 232 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference
118. as a second Modbus slave the Virtual Modbus Slave These two Modbus slaves have distinct Modbus addresses that are configured in the Site Configuration dialog box Primary Modbus Slave Address The primary Modbus slave address identifies the Primary Slave when another Modbus device is polling it You can use the AFC Manager Modbus Interface to read and write Modbus registers from the Primary Modbus Slave Except for the Modbus Master interface every time the AFC Manager communicates with the module it uses the Primary Modbus Slave Valid address values are 1 to 247 The default address is 244 Virtual Modbus Slave Address The Virtual Modbus slave address identifies the Virtual Slave when another Modbus device is polling it You can also use the AFC Manager Modbus Master Interface to read write Modbus registers using the Virtual Modbus Slave Any value greater than zero will activate the Virtual Modbus Slave and the module will use the remapping table to assign data to the correct memory locations Valid address values are 0 zero to 247 A value of zero disables the Virtual Modbus Slave The following illustration shows the benefits of using the Virtual Modbus Slave when polling data from the module Page 36 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Data Polling Without Virtual Modbus Slave Address 8020 Address 8040 Modb
119. at could potentially affect the calculation results Each archive also keeps track of the alarms that have occurred during the period refer to the Archive section The Meter Monitor dialog box allows you to monitor the meter alarms Click Here Meter Monitor Meter Alarms Eg Input out of range temperature Project JAFC_DUIMEX Input out of range pressure Input out of range pulse Frequency Wallclock Site Name Meter T ag 2 SF 2M i Select Meter Input out of range density Molar mass of mixture Input out of range water content Ideal gas relative density Pulse frequency low Relative density at reference Orifice pressure exception Reference density Ib cf Accumulation overflow Meter number Manual Auto Update time sec fe Dele eee Reference compressibility Flowing compressibility Orifice characterization error T amp P factors C prime Analysis characterization error Fpy Compressibility calculation eror Analysis characterization error Reference density error Compressibility calculation error Temperature correction error Vapor pressure error Bide yu r oe IE ay fe ol J E Pressure correction error The above image shows the Meter Alarms bitmap which gives you a quick overview of active alarms Associated with many of these bits are Alarm Code registers which supply specific reasons for the alarms most of which appear in the lower righ
120. at events are not lost by being overwritten by newer ones before those events have been downloaded by that host 10 5 8 Other Considerations Expired Events If the starting event number is sufficiently small relative to the events on file in particular if it is 1999 or more before the number of the next event to be recorded then that event is no longer on file and has already been overwritten In this case the event returned by a Fetch is all zero This is not an issue for the Active host especially when the event log is configured to be locked as the Active host is interested only in non downloaded events and those always remain on file with a locked log But for Passive hosts and when the event log is configured as unlocked download sessions must be performed frequently enough so that the requested events still remain on file Because event numbers wrap from 65535 to 0 and because events that have not yet been written do not in fact exist and have never existed an event number that is numerically equal to or greater than the number of the next event to be recorded is deemed to be the number of an event from the previous wrap cycle Persistence A log download session does not survive a reset of the module e g power cycle Page 188 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 6 Period end Events A period end event is detected by th
121. ate which is divided by density to get volume and then integrated over time for accumulation Pulse Both Gas and Liquid Gross Volume is pulses K factor meter factor according to AP MPMS Ch 12 sec 2 1981 and 1995 Output of the standard calculation is volume flow increment which is then multiplied by density to get mass increment Flow rate is calculated in parallel to flow increment by applying to pulse frequency process input the same calculation as is applied to pulses this technique is employed instead of flow increment differentiation because the pulse frequency available from the counter card in the processor is not subject to variations of timing caused by scheduling delays in processor backplane transfer and in the firmware of the module thus yielding a smoother flow rate Correction Factors According to Product Phase Gas Compressibility is calculated according to the Detail Characterization Method of AGA8 1992 Gas density is a byproduct of this calculation Essential input for this calculation is molar analysis The compressibility Z is a factor in the gas equation PV ZNRT which is the rule by which gas volumes are corrected to reference conditions Liquid Temperature and pressure correction factors are calculated according to API MPMS Ch 11 and applied according to the rules given in MPMS Ch 12 Essential input for this calculation is Liquid Density page 94 at either standard or flowing conditions Gas
122. ation for elevated flowing pressure according to the condition given in bold type in MPMS Ch12 2 1995 Part 1 Appendix B Section B 1 page 21 Compressibility Factor F According to MPMS Ch 11 2 US or11 2M SI 1986 Vapor pressure correlation according to GPA TP 15 June 1988 Pressure Correction Factor CPL is calculated from F and pressure above equilibrium according to MPMS ch12 2 1995 where atmospheric pressure is read as base pressure and gage pressure is read as pressure above base The module considers Pressure process input barometric pressure absolute pressure Page 228 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual 14 3 Sealable Parameters Sealable parameters are Site and Meter configuration options that directly affect measurement calculations for example orifice diameter or K factor Prover Process input alarm Prover classification Prover options Prover run counts Prover input format codes Prover size characteristics Prover reference conditions Prover parameter value Prover variation limits Prover process input scaling Site Site options Site parameter value Arbitrary event logged value Meter Process input calibration alarm Meter classification Reference conditions Meter options Input scaling Analysis component selection map Pulse input rollover Units Accumulator r
123. ault archive data according to the meter type and product group associated with the meter The cumulative meter alarms are defined as follows Offset Description 0 Current archive daily cumulative meter alarm Input out of range temperature 1 Current archive daily cumulative meter alarm Input out of range pressure 2 Current archive daily cumulative meter alarm pressure Input out of range differential Current archive daily cumulative meter alarm Input out of range flowing density Current archive daily cumulative meter alarm Input out of range water content Current archive daily cumulative meter alarm Differential Pressure Low Current archive daily cumulative meter alarm Orifice Pressure Exception Current archive daily cumulative meter alarm Accumulation overflow Current archive daily cumulative meter alarm Orifice characterization error Not Used 1 O dOlNI ODO On AJ Current archive daily cumulative meter alarm meter alarm Analysis characterization error Current archive daily cumulative Current archive daily cumulative meter alarm Compressibility calculation error 12 Current archive daily cumulative meter alarm Reference density error 13 Current archive daily cumulative meter alarm Temperature correction error 14 Current archive daily cumulative meter alarm
124. bar temperature 7 Flot Meter pressure 8 Flot Prover inlet pressure 9 Flot Prover outlet pressure 10 Flot Prover inlet outlet pressure 11 Flot 7 Prover pressure 12 Flot Prover meter pressure 13 Flot Density 14 Flot Water content 15 Flot Meter flow rate 16 Flot 5 Prover flow rate 17 Flot Pulses over runs 18 Flot Pulses over passes 19 Flot Repeatability 20 Flot Change in factor 8 Prover process input scaling 0 Inlet temperature 0 Flot Range low end 1 Flot i Range high end 2 Flot Default 3 Sbyt A Module ID code 1 Outlet temperature 0 Flot Range low end 1 Flot 7 Range high end 2 Flot i Default 3 Sbyt Module ID codes 2 Switch bar temperature 0 Flot ij Range low end 1 Flot Range high end 2 Flot i Default 3 Sbyt A Module ID codes 3 Inlet pressure 0 Flot z Range low end 1 Flot Range high end ProSoft Technology Inc March 2 2011 Page 199 of 267 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Group Sbgp Item DTyp Rkv Data point 2 Flot Default 3 Sbyt ji Module ID codes 4 Outlet pressure 0 Flot 5 Range low end 1 Flot Range high end 2 Flot j Default 3 Sbyt Module ID codes 15 PLC image address Quantum Unity platform only 0 0 Usht Prover get 1 0 Usht Prover put Page 200 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User
125. bit 9 Analysis total zero bit 10 Analysis total not normalized bit 11 AGA8 calculation error bit 12 API calculation error density correction ProSoft Technology Inc March 2 2011 Page 141 of 267 Meter Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer bit 13 API calculation error Ctl bit 14 API calculation error vapor pressure S bit 15 API calculation error Cpl Page 142 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Monitor Liquid and Gas Flow Computer User Manual 7 2 Accumulator Monitor The accumulators display the total fluid quantities accumulated since the last time they rolled over or were reset The AFC calculates accumulations and flow rates for several different measured quantities depending on the Product Group These are Quantity Products Description Gross Volume All Volume at operating conditions includes water content of liquids Net Volume All Volume corrected to reference base conditions water content of liquids removed Mass All Mass water content of liquids removed Energy Gas Energy content heating value Gross Standard Volume Non emulsion liquids Volume corrected to reference base conditions with water content included Gross Clean Oil Emulsion liquids Volume at operating conditions with water content removed Water Liquids Volume of the water content corrected to
126. bout the pass through feature ProSoft Technology Inc Page 41 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Modbus Master Port 3 can be configured for Modbus Master operation Project Site Configuration Port 3 Port Options Vv td ef Rev timeout x 0 1s I Hide primary slave r I Swap Modbus words Disable pass thru None Authorization waiver The Modbus Master command is generated from the processor using ladder logic Modbus master block After the Modbus Master transaction is completed the module is ready to receive another Modbus Master request from the ladder logic Processor AFC Module Modbus Slave 4 gt 2 Y Modbus Master Request Block Modbus Command 3 Modbus Response Modbus Master Response Block The following Modbus functions are supported for Modbus Master operation Modbus Function Code Description 1 Read Coil Status 2 Read Input Status 3 Read Holding Registers 4 Read Input Registers 15 Force Write Multiple Coils 16 Preset Write Multiple Registers The module offers considerable flexibility for Modbus Master operation allowing the ladder logic to select one of the following data types Bit packed 16 to a word Word 16 bit register Long 32 bit items as register pairs Long Remote 32 bit items as single registers Note Long da
127. box Stream 1 aree Isentropic exponent K factor pul m3 Stream number 0 6 __ Defaut relative densiy Meter Factors ES Defaut Fpv Stream Enabled 0 Defaut heating value MJ kg Steam Opts Analysis CE Site Read Write rD a Click the Meter Factor Curve Read button to transfer the current Meter Factor Linearization configuration from the AFC module to the local PC Page 78 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual When the Meter Factor Linearization configuration is concluded click the Meter Factor Curve Write button to transfer it to the AFC module The module will use the values you entered in the Meter Factor Linearization dialog box and interpolate the values so it can use a specific meter factor depending on the current flow rate For example if you enter four points flow rate meter factor the module would interpolate the points as shown below Meter Factor Flow Rate In order for the module to accept the values you entered the following conditions are required All values are non negative 0 0 At least one meter factor is non zero If a meter factor is zero the corresponding flow rate is also zero The flow rates corresponding to non zero meter factors are all different You do not need to enter factor flowrate pairs in any particular order or eve
128. bus Serial Coms Modbus Device Modbus Device Meter being Proven Unidirectional Prover 1769 HSC MVI69 AFC Module Counter Card CompactLogix Modbus Serial Coms Meter being Proven Unidirectional Prover ProSoft Technology Inc March 2 2011 Page 114 of 267 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual 4 2 1 Initial Requirements In its current version the AFC supports proving of only liquid products measured with linear devices that use pulse counts as the primary input variable where each pulse represents a specific liquid volume Meter Configuration Leer Meter D M ence jeter number C Dilerertial Unex Meter Disabled Copy Config From remili us esI Meter number pte ie K factor Characteristics Measured quantity DAI Flow input unit fo Retesence temperature F 14595 Retesence pressure ipsia Lineas Meter Pulse Count Process Input 0 Frecqaency flow threshold Hz Control Opts Calculation Opts 0 Frequency alam threshold Hz Paleo ingat selover Archiye Config Resettable Accum jonsitomet Linear Meter Pulse Court Se Dit reference density API Kdactor pubbl Shean nimba ca vapor pressure psig Meter Factors M osea ca Stream Opts O _ _ _____ elect the overall class of nnn that thes meter will measure _Bead wie Done In the Meter
129. calculation of Volume Correction Factors VCFs CTL depends on Reference Density and Temperature CPL depends on Reference Density Temperature and Pressure The AFC s Reference Density is at user specified Reference Conditions User Base while the Reference Density required for VCF calculations is at API specified Reference Conditions API Base the AFC s calculations account for any difference between User Base and API Base For MPMS Ch 11 1 2004 API Reference Conditions are always 60 F and 14 696 psia Corrected Density Reference Density resulting from a calculation with inputs of Flowing Density Temperature and Pressure It is the output of a calculation as opposed to Default Reference Density which is a manual input In some circumstances the Corrected Density output is merely a copy of the Default Reference Density input In the AFC it is the Corrected Density not the Default Reference Density that is used in subsequent VCF calculations ProSoft Technology Inc Page 97 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Defaults A Default value is one that is substituted for another when that other value is either unavailable or erroneous In effect it is a choice of last resort For liquid measurement the AFC provides two distinct Default Densities Default Flowing Density and Default Reference Density both of which are manually en
130. ccept both pulse count and pulse frequency transferred over the backplane and to calculate flow accumulations from the pulse count and flow rates from the pulse frequency Primary Input Pulse Frequency configures the meter to accept only pulse frequency input pulse count is ignored and to calculate both rates and accumulations from the frequency After configuring the Primary Input type for Pulse Count or Pulse Frequency you will configure the following parameters i Process Input Scaling Zero scale Full scale Default Raw input C JE a al pestea J fean z ee JE JE fromen A number between 75 and 500 C Zero Enter the valid range of values for the process input variables Meter Configuration Select Meter ia Meter number is C Differential how Flow rate period unit jz TeS Flow rate unit ja aie mr A AAS r a From ae G SI Accumulator rollover Ja or pressure x i 5 mr e net value else gross Copy Potala O Pa FOAN K factor Characteristics z ia igi nee ross volume Measured quantity pul m3 Flow input unit Configure meter calculation options Reference pressure kPaa i ificati Reference Conditions is Reference temperature C Linear Meter Pulse Count Process Input Analysis Config fo Frequency flow threshold Hz Control Opts Calculation Opts pile N z Archiye Config Resettable Accum PLC Image Linear Meter
131. ce temperature C 01 Reference pressure kPaa Differential Meter Flow Rate FR flow threshold kg h 0 FR alam threshold kg h If the flow rate is less than this value it will be converted to zero If the flow rate is less than this value the module will raise a low flow rate alarm Primary Input Characteristics Mass Measured quantily Incoming flow kilograms J Flow input uni rate unit hour Flow rate period Process Input Analysis Config Control Opts Calculation Opts rate period Archive Config Resettable Accum Choose Primary Input Characteristics according to the incoming flow rate delivered over the backplane FR Flow Threshold If at any time the flow rate input value is less than the FR Flow Threshold parameter the module will treat the flow rate as zero no flow FR Alarm Threshold If at any time the flow rate input value is less than the FR Alarm Threshold parameter the module will flag a Flow Rate Low alarm Note that this alarm is different from the one the module would flag if the flow rate would be out of range Input Out of Range Flow Rate Page 74 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Configuration User Manual 3 7 Linear Meter Configuration The Linear Meter parameters are displayed after you select the Linear Meter Primary Input Pulse Count configures the meter to a
132. ces ProSoft Technology Inc Page 223 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 2 Measurement Standards The module supports the following hydrocarbon gases and liquids measurement standards currently employed in the oil and gas measurement industry American Petroleum Institute API Manual of Petroleum Measurement Standards MPMS a Density Correction to Reference Temperature Chapter 11 1 53 11 1 23 Equations Tables 53 23 Generalized Crude Oils Refined Products Lubricating Oils Special Applications b Correction of Volume to Reference Temperature and Thermal Expansion Ctl Chapter 11 1 54 11 1 24 Equations Tables 54 24 Generalized Crude Oils Refined Products Lubricating Oils Special Applications Compressibility Factors for Hydrocarbons Cpl Chapter 11 2 1 Chapter 11 2 2 Chapter 11 2 1M and 11 2 2M for SI units d Orifice Metering of NGLs amp Crude Oils Chapter 14 3 AGA3 e Calculation of Liquid Petroleum Quantities Measured by Turbine or Displacement Meters Chapter 12 2 f Allocation Measurement Chapter 20 1 high water content calculations used for emulsions g Flow Measurement Using Electronic Metering Systems Chapter 21 1 21 2 h Proving reports firmware version 2 07 and later Chapter 12 3 American Gas Association AGA a Orifice Metering of Natural Gas amp Other H
133. ched to any enabled stream via a meter signal enabling a stream allows it to become active and disabling it prevents it from becoming active and the currently active stream may not be disabled As the physical switching of a product stream through a meter is almost always accompanied by additional actions such as the swinging of valves it is expected that the stream switching signal will be issued by the processor hence to reduce the likelinood of unfortunate errors the AFC Manager provides no specific method for issuing that signal Issuing a stream switch signal however is like issuing any other signal which is by latching a bit in one of the AFC s Modbus registers hence in exceptional circumstances it can be issued from anywhere such as by a SCADA system connected to one of the Modbus ports or by the AFC Manager itself via the Modbus Master window Parameters whose values may depend on the properties of the product being measured are configured for each stream separately Such parameters include both those that describe the product directly e g density viscosity analysis and those that describe indirect effects of the product e g meter factor Measurement calculations always use the parameters for the active stream ProSoft Technology Inc Page 85 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The output of each stream consists of a complete set of accu
134. chive Configuration dialog box to customize the list of registers for each meter archive Description Meter Relative Address Length Analysis molar fraction component 1 720 1 word Analysis molar fraction component 2 721 1 word Analysis molar fraction component 3 722 1 word Analysis molar fraction component 4 723 1 word Analysis molar fraction component 5 724 1 word Analysis molar fraction component 6 725 1 word Analysis molar fraction component 7 726 1 word Analysis molar fraction component 8 727 1 word Analysis molar fraction component 9 728 1 word Analysis molar fraction component 10 729 1 word Analysis molar fraction component 11 730 1 word Analysis molar fraction component 12 731 1 word Analysis molar fraction component 13 732 1 word Analysis molar fraction component 14 733 1 word Analysis molar fraction component 15 734 1 word Analysis molar fraction component 16 735 1 word Analysis molar fraction component 17 736 1 word Analysis molar fraction component 18 737 1 word Analysis molar fraction component 19 738 1 word Analysis molar fraction component 20 739 1 word Analysis molar fraction component 21 740 1 word Analysis molar fraction component 22 741 1 word Analysis molar fraction component 23 742 1 word Analysis molar fraction component 24 743 1 word Input pulse count archive reset daily 840 2 words Input pulse count archive reset hourly 842 2 words Previous input pulse count 846 2 words Current master pulse count
135. compressibility Flowing compressibility Fpv Velocity of approach factor Ev Expansion factor Y Discharge coefficient Alarm Bits bit 0 Temperature input out of range bit 1 Pressure input out of range bit 2 Diff pressure input out of range bit 3 Flowing density input out of range bit 4 Water content input out of range bit 5 Diff pressure low M01 2002 04 27 2002 04 26 00h 0000h 20 53 234 0 1092186 40248 01 15 1000 22 0 7404 0 9989 0 9051 1 0505 1 0328 0 9997 0 6043 00 00 02 23359342 ProSoft Technology Inc March 2 2011 Page 159 of 267 Archive Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer bit 8 Orifice characterization error bit 9 Analysis total zero bit 10 Analysis total not normalized bit 11 AGA8 calculation error bit 12 API calculation error density correctio bit 13 API calculation error Ctl bit 14 API calculation error vapor pressure bit 15 API calculation error Cpl Status Bits bit 11 Meter was enabled bit 12 Backplane communication fault bit 13 Measurement configuration changed bit 14 Power up bit 15 Cold start AFC 56 16 Daily Archive Date 16 09 2002 16 26 44 Site Name MVI Flow Station Project AFC Meter 1 Tag M01 Archive 2 Closing timestamp of archive Opening timestamp of archive Status bitmap details below Alarms bitmap details below Flowing period Event counter et accumulator x f
136. computed from the system timer hence periods of PLC downtime shorter than the rollover period of the system timer causes no loss of product For linear pulse count meters the first measurement scan acquires a pulse increment equal to the difference between the PLC supplied pulse count of the current scan and that of the last scan before communication loss hence periods of PLC downtime shorter than the rollover period of the counter module cause no loss of product Measurement Configuration Changed Set when any bit in the measurement configuration changed registers is set Power up Set upon power up and cleared when the wallclock has been set Cold start Upon power up the module s non volatile memory is checked for validity confirming that certain known values are present in their proper locations If the contents of the memory are invalid the memory is initialized with a default configuration and the bit is set The bit remains set even through subsequent power cycles until at least one meter is enabled at which time the bit is cleared If the module contains the BBRAM daughter card supported on firmware versions 2 00 000 or newer the cold start status is easily identified when both LEDs OK and ERR are illuminated Page 34 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Hard Passwords Enables secure password controlled acc
137. cy flow threshold and Frequency alarm threshold values Click the Meter Factors button to enter values for Meter Factor at up to five different Flow Rates for this meter 3 7 3 K factor Characteristics This area is visible when the meter type is Linear Click the Measured quantity and Flow input unit fields to choose the quantity type and flow input unit for this meter The K Factor itself is entered as a stream parameter see below K factor Meas amp C Mass C Energy Gross volume i Meter Configuration Meter 1 Meter Tag MO1 r Select Meter Meter Type Product Group and Units Device 1 Gas X Meter number EZ C Differential xl Meter Disabled r Copy Config From e G Meter number Ss soau Primary Input Pulse Count Pulse Frequency Identification Reference Conditions 15 Reference temperature C hour Flow rate period unit Flow rate unit Accumulation unit Accumulator rollover K factor Characteristi loss volumad Meacured quantity Click to configure K Factor Flow Input Unit K factor Flow Input Unit 101 325 __ Reference pressure kPaa Process Iny Analysis Confi Linear Meter Pulse Count Input te 2 C pulses per litre pulses per 0 001 US gallon Frequency flow threshold Hz Control Opts Calculation Opts C pulses per
138. d ormat For applications involving chromatograph devices the ladder logic can dynamically update the molar analysis data to the module Refer to the Ladder Logic section of the user manual for your platform for more information about this subject Important If the molar concentration values for your project are available from a gas chromatograph it is possible to update these values dynamically from the programmable logic controller to the module using the Molar Analysis function block requires ladder logic In this case the values entered in the AFC Manager Software will be overwritten by the function block values but you still need to select the components and enter the normalization error tolerance using the AFC Manager Software Refer to the User Manual for your platform for more information about the Molar Analysis function block Process Input Scaling Gas This parameter configures how the module will interpret the input variable within the given range The possible values are floating point scaled integer and 4 to 20mA Click the Process Input button to configure the valid input ranges If an input data is not within the configured range AFC Manager will flag an alarm on the Meter Monitor dialog box and the alarm bit for the meter will be set Process Input Scaling Zero scale Full scale Default Raw input Pressure kPag fo jo p Floating point id Differential pressure kPa Pp Pp es Floating point v numbe
139. d Gas Flow Computer 2 4 Site Configuration Buttons 2 4 1 Port 1 Port 2 and Port 3 Configuration The Port Configuration dialog box opens when you click one of the port configuration buttons Port 1 Port 2 and Port 3 on the Site Configuration dialog box Use this dialog box to configure the communication parameters and Modbus access for each module port None C Even C Odd 8Bits 2Bits C ASCII Port Modem Delays CTS timeout x Sms Lol Delay before first data after CTS x Sms Lol Delay after last data before RTS x Sms L ol il 3600 a Data Stop Mode 7 Bits k 1 Bit k RTU Port Options I Swap Modbus words Disable pass thru None v Authorization waiver The Communication Parameters configure each port s communication settings The default communication port configuration is 9600 baud rate 8 data bits 1 stop bit RTU mode and no parity Use these settings the first time you use AFC Manager on the port connected to the local PC The Port Modbus Options field configures the Modbus communication to a Modbus device Port Configuration Notes The module has three Modbus ports however Port 1 is intended mainly for configuration and is only suitable for Modbus communication in the following circumstances The top port Configuration Debug Port is unbuffered therefore it should not be used for other Modbus operations such as SCADA The Configuration Debug Port is RS232 only w
140. d and Gas Flow Computer Normalization Error Tolerance Analyses are often obtained from an on line gas chromatograph which device should provide output consisting of a collection of numbers between 0 and 100 all adding up to exactly 100 Real devices however usually produce a total slightly different from 100 and sometimes may provide individual concentrations that go negative for example 1 08 or super positive for example 101 3 When properly calibrated most Gas Chromatographs produce individual concentrations that lie between 0 and 100 and a total that is very close to but not always identical to 100 The Normalization Error Tolerance is the amount by which an analysis total may differ from 10 000 100 without raising the Analysis Total Not Normalized alarm It is intended to allow for deviation from the strict 100 total that arises either from the normal variation of the output from a properly calibrated Gas Chromatograph or from roundoff error when converting concentrations to the 4 digit integers required by the AFC If the concentration total differs from 100 by more than the tolerance the module raises the alarm In all cases whether or not the alarm is raised the module normalizes the analysis to 100 before continuing with the calculation Transferring the Analysis In order to transfer the Molar Analysis data between the local PC and the module it is essential that the component selection in the l
141. d in the Event Log Status panel Event Log Site name MYI Flow Station Project MVI56 MM prove Set Up Session Event Log Status First event oe MV Manual selection Wallclock 2010 12 31 13 06 56 Last event 1 Event count 259 MERCH MHDS IEL Next event to be downloaded El Acknowledgement method Brief Verbose Events not yet downloaded o Description Timestamp Old value New value pel status and prepare to set up session ProSoft Technology Inc Page 175 of 267 March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual To download again click POLL This will prompt you to start the next download starting from the new download pointer First event in the Set Up Session panel Once downloading all outstanding events is completed there will be no more events to be downloaded as shown here by a 0 in the Events not yet downloaded field Event Log Site name MVI Flow Station Project MVI56 MM prove Set Up Session Event Log Status First event L259 V Manual selection Wallclock EDE Last event 1 Event count 0 Mot event to be written Next event to be downloaded Acknowledgement method Brief Verbose Download Events not yet downloaded Result Learn how many events have not been logged yet After this click Download to read Step 2 Download to fetch all a mat amn selected
142. dbus Slave address More than 100 000 registers may be accessed using this slave You may want to use certain values from the Modbus database in a different order than the one presented in the Primary Modbus Slave One example is if you want to poll certain values from the Modbus database using a Modbus master device in the field Instead of using several commands to poll from different locations in the Modbus database it is better to remap these values to other locations in order to optimize the master polling This is the reason the AFC module offers a second slave the Virtual Modbus Slave Using the AFC Manager software you can remap up to 20 000 registers from the Primary Modbus Slave in any order The Virtual Modbus Slave Address must be configured using the AFC Manager software Site Config dialog box The Virtual Modbus Slave is also used when using the Modbus Pass Thru function block Page 250 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 9 7 How does the AFC Manager transfer the configuration to the module You can configure the site and meter parameters at the local PC saving the project as a AFC file You may then download the configuration by clicking on Project Download Configuration In this case all configuration will be downloaded from the local PC to the module except for the Virtual Slave Re mapping must be written sep
143. decalitre C pulses per 0 01 US gallon Fr alarm threshold Hz FESTI ed Archive Config Resettable Accum C pulses per hectolitre pulses per 0 1 US gallon use input rollover pulses per cubic metre pulses per US gallon PLC Image pulses per 10 cu metres C pulses per 10 US gallons pulses per 100 cu metres pulses per 100 US gallons Gas Linear Meter Pulse Count pulses per 1000 cu metres pulses per 1000 US gallons Stream 1 ee ees 1 3198 Isentropic exponent L Ktactor put m3 pulses per cubic foot pulses per 0 001 barrel Stieam number 1 E 2E Default relative density Meter Factors C pulses per 10 cu feet C pulses per 0 01 barrel 1 Default Fpv C pulses per 100 cu feet C pulses per 0 1 barrel Stream Enabled g Default heating value MJ kg Stream Opts Ambi pulses per 1000 cu feet C pulses per barrel pulses per 10000 cu feet pulses per 10 barrels pulses per 100000 cu feet pulses per 100 barrels pulses per 1000000 cu feet pulses per 1000 barrels O Read Write The K factor units available for selection will depend on the selected measured quantity Page 76 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 7 4 K Factor For a linear pulse meter gross volume pulses K factor x meter factor The K factor is a factor that converts raw pulse count from the Pulse Meter to a volume and
144. downloadable_event downloadable_event 1 AND OxOOOOFFFF GOTO step 2 When the download is complete and the downloaded events have been logged to disk the AFC should be told of this fact by issuing the download complete Site Signal This signal updates the header to show that all records have been downloaded unlocking the Log for further events and if Event log unlocked is clear posts a download event A download may be performed at any time it is not necessary to wait for the log full condition in order to download An application that downloads the event log should explicitly include the event number in any copy of the event that it stores in its own database Page 204 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Modbus Master Liquid and Gas Flow Computer User Manual 11 Modbus Master The Modbus Master dialog box opens when you open the Communications menu and then select Modbus Master The Modbus Master allows you to read or write the registers in the Primary or Virtual Modbus Interface Slaves In order to access the Primary Slave refer to the Modbus Dictionary dialog box page 209 which contains the Primary Modbus Slave addressing To access the registers defined in the Virtual Modbus Slave remember that you must first re map the registers from the Primary Modbus Slave The Virtual Modbus Slave will only be active when its address is greater than 0 Refe
145. e which you can configure Archive Configuration Configuration Meter 1 Dictionary Daily Hourly e Select Dictionary Section an Record Size 30 x Options Modbus Addresses Description lt emply gt Analysis slot 1 Molar fraction component 1 21_ Analysis slat 1 Molar fraction component 2 Analysis slot 1 Molar fraction component 3 23 Analysis slat 1 Molar fraction component 4 Analysis slot 1 Molar fraction component 5 Analysis slot 1 Molar fraction component 6 26_ Analysis slot 1 Molar fraction component 7 Analysis slot 1 Molar fraction component 8 28 _ Analysis slat 1 Molar fraction component 9 Analysis slot 1 Molar fraction component 10 Analysis slot 1 Molar fraction component 11 Analysis slot 1 Molar fraction component 12 Analysis slot 1 Molar fraction component 13 Analysis slot 1 Molar fraction component 14 Extended File Size 0 _ Accumulator Select Description a Closing timestamp Flowing period fraction e 4 Cumulative meter alarms Cumulative meter status Event Number of last witten event Flowing period seconds Opening timestamp j Accumulator archive period daily totalizer Inet m3 t Accumulator archive period daily residue net m3 Flow rate net m3h Process input scaled float temperature C 22 Process input scaled float pressure kPag Process input scaled float differential press
146. e 1738 2 words MPMS Ch 11 Hydrometer correction factor 1740 2 words MPMS Ch 11 Density at reference 1742 2 words MPMS Ch 11 Vapor pressure 1744 2 words MPMS Ch 11 CPL low density factor A 1746 2 words MPMS Ch 11 CPL low density factor B 1748 2 words MPMS Ch 11 CPL factor F 1750 2 words MPMS Ch 11 Temperature correction factor CTL 1752 2 words MPMS Ch 11 Pressure correction factor CPL 1754 2 words MPMS Ch 11 Sediment and water correction factor CSW 1756 2 words ProSoft Technology Inc Page 233 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Description Meter Relative Address Length Density calculation select 1759 1 word AGA 8 Ideal gas relative density scaled integer 1761 1 word AGA 8 Compressibility at reference scaled integer 1762 1 word AGA 8 Relative density at reference scaled integer 1765 1 word AGA 8 Compressibility flowing scaled integer 1766 1 word AGA 8 Supercompressibility Fpv scaled integer 1770 1 word Reserved 1786 1 word AGA 3 Velocity of approach factor scaled integer 1790 1 word AGA 3 Expansion factor scaled integer 1791 1 word AGA 3 Coefficient of discharge scaled integer 1792 1 word MPMS Ch 11 Density at reference 1821 1 word MPMS Ch 11 Vapor pressure 1822 1 word MPMS Ch 11 Temperature correction fac
147. e Rack If you have not already installed and configured your processor and power supply please do so before installing the AFC module Refer to the processor documentation for installation instructions Warning You must follow all safety instructions when installing this or any other electronic devices Failure to follow safety procedures could result in damage to hardware or data or even serious injury or death to personnel Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device After you have checked the placement of the jumpers insert the AFC module into the rack Use the same technique recommended by the processor manufacturer to remove and install AFC modules Warning When you insert or remove the module while backplane power is on an electrical arc can occur This could cause an explosion in hazardous location installations Verify that power is removed or the area is non hazardous before proceeding Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector Worn contacts may create electrical resistance that can affect module operation Note If you insert the module improperly the system may stop working or may behave unpredictably After you have installed the AFC module in the rack with the processor you should then download the sample program to the processor 1 Connect a
148. e Virtual Slave via Ph00147 An addressing collision arises when the address of a holding register falls within more than one region The AFC resolves such collisions as follows Each address is deemed to fall into one of i the pass thru word region ii the LDW or iii the 9900 register defined range whichever occurs first All Virtual Slave registers addressed by a single Modbus transaction must reside in the same region no region spanning is permitted A region spanning transaction is rejected with Modbus exception code 2 Illegal Address ProSoft Technology Inc Page 181 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 10 5 4 Security and Optimization Two features are available that can improve security and throughput of a log download session These are 1 Session ID This is a value between 0 and 255 that is chosen by the host at the opening of the session and must be used in all transactions of the session While a session is open transactions that do not supply the correct Session ID are rejected The AFC never displays the ID of the open session so only the initiating host knows its value 2 Collapsed Acknowledgement This allows the Acknowledgement transaction of one F amp A cycle to be embedded in the Fetch transaction of the next reducing by almost half the number of transactions required for the session Use of either of these features excepting
149. e Wedge discharge coef Orifice Densitometer Archive Configuration Stream quid Differential Meter Orifice O Ditreference density kg m3 Viscosity cp Select Stream Sheers B O Dikt vapor pressure kPag Sennen I Defauk Cu i Defaut Cpl Stream Opts OOO D Read write Done Read or Write Meter Configuration Navigates to Site Configuration Note The items on this dialog box change according to the Meter Type and Product Group you select Page 56 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 1 Meter Type and Product Group Configuration Use the Meter Type and Product Group parameters to configure the type of meter and product to use for the calculation Specify the meter type differential or linear and the product group gas crude or refined liquids or oil water emulsion Depending on the meter type and product group you select additional settings may be visible Each meter channel can be assigned as a linear meter pulse meter input or as a differential meter orifice meter input for flow measurement using either SI or US units Each meter channel can be configured for gas or liquid crude or refined product The Product Group selects the API AGA Standards to be used in calculating flow rates increments
150. e configuration procedure is complete click the Write button to transfer the entire remapping configuration to the module This process may take a few minutes While the transfer is taking place the Result field green rectangle shows the message Writing indirect address definition block xx of yy where xx 1 to 249 and yy may be as large as 249 When the transfer is complete the result field displays Success To read the current remapping configuration from the module to the local computer click the Read button This process may take a few minutes Important The Download Configuration does not transfer the remapping configuration Use the steps described in this topic to transfer the remapping configuration to the module Tip Use the Modbus Dictionary dialog box page 209 to view Modbus addresses in the module Accessing the Data The AFC Manager provides an easy way to read and write data from both slaves through the Modbus Master Interface amp Modbus Master r Set Port _ Set Transaction Action a Slave Address 244 _Send Cmd Close COM 1 9600 v Time Out ms Manual C Auto ee Function i None Even C Odd i Read C Write Ure Ue 2 L Data Stop Register Result RTU C 7Bits 1 Bit Holding Registers x Attempts ASCII 8Bits C 2Bits offset 0 Count Time ms 16 Bit Display 32 Bit Display
151. e subject matter of this Warranty including statements made by salesperson No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty The Customer is warned therefore to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer 15 2 9 Allocation of Risks This Warranty allocates the risk of product failure between ProSoft and the Customer This allocation is recognized by both parties and is reflected in the price of the goods The Customer acknowledges that it has read this Warranty understands it and is bound by its Terms 15 2 10 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California without reference to its conflicts of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California Page 262 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Index Liquid and Gas Flow Computer User Manual Configu
152. e wallclock There are two such a End of hour occurs when the minute of the hour steps into the End of hour minute of Site Configuration b End of day occurs when the minute of the day steps into the End of day minute of Site Configuration A wallclock change that skips forward over an end of period minute will cause that period end to be missed and a change that skips backward over that minute will cause that period end to be repeated so wallclock adjustments should be performed at times well removed from either end of period minute Though a period end event is not recorded in the event log it does cause archives and resets to be scheduled for all enabled meters according to their configured period end Archive Options Archives and resets scheduled by period end are delayed in their action until at least one meter scan has occurred after the event the archive data accumulation that takes place at the end of the meter scan also records the latest timestamp so the written archive then reflects the fact that the period end has occurred ProSoft Technology Inc Page 189 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 10 7 Loggable Events The tables below give full details of all events that are recorded in the Event Log For the Special events page 191 columns are Tag Numeric value that identifies the event Rkv Effect on archives and accumulato
153. eceseeeeeeeeeeeeeeeeeeseaeeseeaeeecaeeseaeeeseaeeseeeeeseaeess 70 3 5 5 Archive Period Accumulation Dialog BOX cccceeeeeseeeeeeeneeeeeeeneeeeeeeneeeeeeeneeeeeeeaes 71 3 6 Differential Meter Configuration cccccceecceeeeeeeeeeeceeeeeeaeeseeeeeeeeeeseaeeeseaeeseeeseaees 72 3 6 1 Differential Meter Differential Pressure Orifice Meters cccsceeeeeeeereeeeees 72 3 6 2 Orifice and Meter Tube Parameters dialog DOX cc cccecceeeeteeeeeeeeeeeeeteneeeteneetees 73 3 6 3 Differential Pressure Flow Rate Integration cccccccesseeeceeeeeeeeeeneeeeeeeeeeeeeeaees 74 3 7 Linear Meter Configuration cccccceceeeseeeeeeeeeeceaeeseeeeeaeeseeeeeseeeeseaeeseueeesseeseaees 75 3 7 1 Linear Meter Pulse COUunt cccccceseeeeeeneeeeneeeceaeeceaeecesaeeceaeeeeaeeseaeeteeeeseaeessaees 76 3 7 2 Linear Meter Pulse Frequency ccccceeseeeeeeeeeneeeeeeeneeeeeeeneeeeeesaaeeeeneaeeeeeneeeeeees 76 3 7 3 K factor Characteristics cccccccceececeeeeeeeeeeeeeeeeeeceaeeseaeeseeaeeseeeeeseeeeseaeeseneeeseeeseaees 76 3 7 4 K BaClOlos A E E A ee A E L eee ener bait ees 77 3 7 5 Pulse Input Rollover Pulse Count meters cccccsecceceeeeeseeeeeeeeeeeeaeeseueeeseeessaees 77 3 7 6 Frequency Flow Threshold HZ eccccceseseeeeeeenneeeeeeeeeeeeeeneeeeeeeaeeeeeeaeeeeeeaeeeeeeaas 77 3 7 7 Frequency Alarm Threshold HZ c cccesescceeeeeseeeeeeeeeeeeeeneeeeeeenaeeeeeeaaeeeeeeeeeeeeeaas 7
154. ect Prove Prover temperature F Meter pressure psi Operation Prover pressure psi Meter density kg m3 82085 Water content 4 004 Pouse Prove Ii Meter flow rate MCF h 2103366 Stagi Prover flow rate MCF h 2104608 ack Pulse counts ace Meter flow rate Gross MCF h EAL Paks GEL GR 14636 Run 2 Ready oO Running Complete Master meter pulse count f 14636 Calculations Polling Poll gt Manual Read O Auto Show the prove report Update time sec a Close The Meter Proving window above shows the system during a prove using a Master Meter Notice the differences in the example of the information that is available before and after connecting to the module Page 126 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual 4 4 Protected Meter Proving Data in the AFC s Input Register Bank The data concerned with Meter Proving is maintained in the Input Register Bank Modbus 3xxxxx read only Input Register Addresses protected from change from outside There are two areas a Latest Prove Results 3x63400 to 3x63709 b Meter Previous Prove Summary 3x61600 to 3x62399 50 registers per meter These two areas are described in better detail in the following two topics 4 4 1 Latest Prove Results This area contains complete details of the latest prove that has been enabled including Prove setup Pro
155. ecutive Read operations to check if the Wall Clock is currently running If the Wall Clock is not running the module may not correctly perform some time scheduled operations The Wall Clock is set by the ladder logic Wall Clock function It should be set at least at every rack power up Look at the ladder logic if the Wall Clock is not updating Check to see if the meter has an alarm If the Meter Tag background is red it indicates that the meter has at least one alarm The alarm typically indicates that an input is invalid or that there is some configuration error that would potentially affect the flow calculations Refer to the Meter Monitor section in order to find out which alarm is currently set Check to see if the meter is currently enabled If the meter is disabled the module will not perform the flow calculation for that meter If you are currently on line to a disabled meter the meter tag will be black Refer to the Meter Configuration for more information about enabling and disabling a meter Look at the process input variable ex temperature pressure and so on Check to see if the variables values displayed on the Overall Monitor dialog box match the actual values transmitted by the processor If the values do not match look at the ladder logic in order to verify if the data is being transmitted correctly Refer to the module s user manual for more information about the Process Variable function Page 136 of 267 ProSo
156. ed as for modified by the conditions and actions given in Note n in Rkv notes page 201 Page 190 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 8 Special Events Tag Rkv Description 0 E Never Used Value Always 0 Notes This entry in the Event Log has never been written The number of such entries starts at 1999 upon cold start and decreases as events are written until none remain after which oldest events are overwritten with new ones 1 3 Event Log Download Value Number of last downloaded event Notes Triggered by a purge of the Event Log which marks older events as available to be overwritten by new ones 2 7 Cold Start Value Always 0 Notes This event is obsolete and is never written 3 1 Power Up Value Old value is the last saved wallclock from the previous session new value is always 0 clock not yet set Notes The last event written upon restart of the application and before entering the meter scan This event may be preceded by Checksum Alarm and or PLC Mode Change events 4 PLC Mode Change Value PLC mode 0 on line 1 off line Notes Logs changes to PLC connectivity as reported by the backplane procedures Typically caused by switching the PLC between run and program modes 5 Checksum Alarm Value Checksum alarm word datum type Bsht Notes Logs changes to the chec
157. eeseeeeseaeessneeseneeseas 25 1 7 6 Downloading the Project to the Module cee ceeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeanees 27 1 7 7 Verifying Correct Operation ccccccececeeeeeeeeeeneeeeeeeeseeeeseaeeeseaeeseaeeseeeeseaeeseeeeeseaeess 28 2 Site Configuration 29 2 1 Site Configuration Dialog BOX cccccceccceceeeeeeeeeeeeeeeeeeeeseaeeseaeeeseaeeseeeseieeeeeeeseeneess 30 2 2 Site IMPOrMAatiON itise aaa aen IH aca eg dav a aa aea ge td ee 31 2 2 1 Serial NUMBED siete este Aerial tee dite ti Aleta lateed annd aeates matinee ai 31 2 2 2 Firmware Version NUMDE ccccsccceeeeseeeeeeeeneeeeeeeaeeeeseeaeeeeseeaaeeeseeaeeeesenaeeeeneeaaees 31 2 2 3 Configuration Changed 2 cnccssvecviteeetecdeets cota diea cede ed beech tea an eaehd ieai aiaa 31 2 2 4 PLG SAUS a e E acne a SA uit Gated dca sats Aes tee 33 2 2 5 ILE Stal rset fate See eae ee cate SN a aa a EL sacl ule ie yee 33 2 3 Site Configuration Parameters ccccccecseeeeeeeeeeeeeseeeeeeeeeeaeeseaeeeeeeeseeeseneeeteaeess 36 2 3 1 ITE NAN e E eth ts eta th eal ies de i alee Rate A ties One sateen eta laity 36 2 3 2 Project Name essa a ee vaietiges aleee i vate a ee a 36 2 3 3 Primary amp Virtual Modbus Slave Configuration ccccceccseeeeeeeeeeeeeeeteneeeseeeees 36 2 3 4 End of Day Minute c8 cde tastier eee ene lol en deat Ate bilan 43 2 3 5 End ot Hour MNUE sneen ed feet a be aland E Abe letns 43 2 3 6 Barometric Pressure ronnan aea a E a
158. egisters From 0 From 0 From 0 From 0 To 65535 To 65535 To 9999 To 9999 The first 100 registers of the virtual slave registers 0 through 99 are predefined to map to the first 100 registers of the primary slave This mapping cannot be changed Also the Virtual Slave Input Registers can be accessed as Virtual Slave Holding Registers by adding 10000 to the Modbus register address for example Input Register 2386 is the same as Holding Register 12386 12 1 1 Modbus Register Addressing The original Modbus protocol specification partitions externally accessible registers into several blocks These blocks include 12 1 2 Input Registers Intended for read only values these 16 bit integer registers are accessible via Modbus function 4 Read Input Registers The AFC module stores the archives and events as Input Registers 12 1 3 Holding Registers Intended for writable values such as setpoints these 16 bit integer registers are accessible via Modbus function codes 3 Read Holding Registers 16 Write Multiple Registers and 6 Write Single Register Page 208 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Modbus Database Liquid and Gas Flow Computer User Manual 12 2 MODBUS Dictionary Dialog Box MODBUS Map This dialog box opens when you open the Project menu and choose Modbus Dictionary This dialog box shows a map of registers addresses and data types for the Modbus database ho
159. elect your module and firmware version number AFC Manager AFC new file File Project On ine Communications Window Help Load MVI46 AFC gt Save MVI56 AFC 16 meters v 2 07 is MVI69 AFC gt MVI56 AFC 16 meters v 2 05 MVI71 AFC gt MVI56 AFC 16 meters v 2 04 PTQ AFC gt MVIS56 AFC 16 meters v 2 03 MVI56 AFC 16 meters v 2 02 MVI56 AFC 16 meters v 2 01 MVI56 AFC 16 meters v 2 00 MVI56 AFC 16 meters v 1 05 MVI56 AFC 16 meters v 1 04 MVI56 AFC 16 meters v 1 03 MVI56 AFC 16 meters v 1 02 The version number refers to the firmware version of your module If you do not know the firmware version number follow these steps a Open the Project menu b Choose SITE CONFIGURATION This action opens the Site Configuration dialog box page 30 c Click the READ button page 53 The firmware version is listed below the serial number in the upper right part of the dialog box Site Configuration Site name aan eer AFC Project name Serial number Primary Modbus slave address Firmware version tevision number Virtual Modbus slave address Configuration changed Ack Chg End of day minute jo PLC status 0 End of hour minute ooooh Site status 101 325 Barometric pressure kPaa Event log download sessions 0022h Site options Event log download timeout Pass thru Max PLC window size Event log download vrt slv location 0 Pass thru Word region size thru Bit region size 0 Pass thru
160. elected 109 S Saving the project 15 131 Scratchpad 213 Sealable Parameters 229 Security Passwords 50 Security and Optimization 182 Serial Number 31 Session Timeout 187 Setting up the AFC module for Meter Proving 113 Setup Phase 177 184 SI units 228 Site Configuration 15 29 205 214 Site Configuration Buttons 48 Site Configuration Dialog Box 23 30 Site Configuration Items 180 Site Configuration Parameters 36 Site Data Point Events 190 192 Site Information 31 Site Name 36 Site Options 44 Site Status 33 Special Events 190 191 Split double Accumulator 64 Split double pulse input 64 Starting a New Project 15 23 Starting AFC Manager 22 Startup Basics and Frequently Asked Questions 249 Status 180 Stream Data Point Events 190 196 198 Stream Enable 86 Stream Options 85 Support Service amp Warranty 255 Supported Meters 222 Swap Modbus Bytes 49 Swap Modbus Words 49 Switch bar linear coefficient of thermal expansion 65034 111 System Requirements 16 T Taps Corner amp Taps Radius 80 Temperature 73 Temperature Correction 96 Temperature Correction Factor CTL 227 Temperature Correction Factor CTL 226 Terminology 97 The Detailed Method 184 The Event Log 166 The Log Download Window LDW 183 The Quick Method 184 Thermal Expansion Coefficient 74 Time Limit fo
161. eneeeeeeeeeeeeeseaeeeseaeeseaeeseaeeeseeeeseeeeseaeess 223 14 2 Measurement Standards c cccccccceeeeeeeeeeeeneeeeeeeeeeaeeeeeeeseaeeseaeeeeeaeessueeeseaeessaees 224 14 2 1 Basic Metering According to Meter type cceeceeeeseeeeeeeneeeeeeeeeeeteseeeesenaeeeeeeaas 225 14 2 2 Liquid Correction Factor Details cccccceeecceceeeeeeeeeeeeeeeeneeeeeeeeseaeeseneeeseeeeeneeess 227 14 3 sealable Parameters icc ssecresetcactecs totes sven a aaa A e aa A a a aaa 229 14 4 Wedge Meter Applications ccesecceresseeceeeeseneeeenseneenensensenensensenensensenensensens 230 14 5 Configurable Archive ReQiSters ccccccsesceceeeeeeeeeeeeeeeeeneeseaeeseaeeeseaeeseeeeseeeetas 231 14 5 1 Information for Users of AFC Manager Versions Older Than 2 01 000 235 14 6 Archive Data Format nessieira oker E E Ea Gaeee abies 237 14 6 1 Timestamp Date and Time Format cceeesceeeeeeeeeeeeeeeeeeseeeeeeeeeaeeeeseeeeeeseeaaees 237 14 6 2 Pre defined Header nresnain iiki ES EE E EE AA E A R S 238 14 6 3 Orifice Differential Meter with Gas Product ssseseesseeesieesreesreesresrrnerensrensrensee 239 14 6 4 Pulse Linear Meter with Gas Product ccccceeeeeeeeneeeeneeeseeeeseeeseeeeeseneeeeeeeess 240 14 6 5 Orifice Differential Meter with Liquid Product c ccccceeeeeeeeseeeeeteeeeeeeeeeetees 240 14 6 6 Pulse Linear Meter with Liquid Product cceeecceeeeeeeneeeeee
162. eneeeeeeeneeeeeeeneeeeenaes 241 14 6 7 Flow Rate Integration with Gas ProduCt ccccceeeceeeeeeeeeeeeeeeeeeeeeeteneeeteeeteneeens 241 14 6 8 Pulse Frequency Integration with Gas Product ccccccccceeeeeeeeteeeeeeeeeteeeeneeees 242 14 6 9 Flow Rate Integration with Liquid Product eee eeeeeeeeeneeeeeeeneeeeeeeaeeeeeenaeeeeeeaas 242 14 6 10 Pulse Frequency Integration with Liquid Product cccceeeeseeeeeeneeeeeeeneeeeeeeaes 243 14 7 Modbus Addressing Common to Both Primary and Virtual Slaves 008 244 14 8 Modbus Port Configuration errasti s ea a E a e e R 247 14 9 Startup Basics and Frequently Asked QueSTIONS cccceeeeeeeeteeeeeeeeeeeeeeteeetens 249 14 9 1 How does the Module work c cccecceceeeeeeeeeeceaeeeeneeeseaeeeeeeeseaeeseaeeseneeeseeeseneeees 249 14 9 2 Why should use the AFC Manager ccccceceeeceneeeeeeeeseaeeeeneeeeeaeeseneeeseaeesaas 249 14 9 3 Why can t the AFC Manager connect to the MOdUIe c cceeeeeeteeeteeeeeteetees 250 14 9 4 Why do have to enable or disable a Meter cccceseeeeeeeeeeeeeeeeeneeeeeeeeeeetees 250 14 9 5 Why does the card not calculate results or why did it stop calculating results 250 14 9 6 What is the Virtual Modbus Slave cccccceeeeeeeeeeeeeeeeeeaeeeeeeeeeeeeeeeaeeeseaeeteaeeseas 250 14 9 7 How does the AFC Manager transfer the configuration to the module 251 14 9 8 What is the pass
163. ent The Quick Method Issue a Modbus write of a single register to offset 0 of the LDW specifying function Open Session 1 and the desired Session ID This is equivalent to the Detailed method in which the starting event is copied from the download pointer in the event log header The dynamic context for the session includes two event numbers one is the Session Download Pointer SDP which is the number of the first event to be retrieved by the next F amp A cycle and the other is the File Download Pointer FDP which is the number of the earliest event on file that has not yet been downloaded The Setup phase specifies explicitly or implicitly the SDP and initializes the FDP from the download pointer in the event log header so the SDP and FDP need not be the same number Page 184 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Download Phase This phase performs the actual retrieval of logged events as a sequence of F amp A cycles All transactions must place the Session ID into the first register of data writes or into the number of registers field of the Modbus command packet reads as described in Section 5 Fetch Transaction Issue a Modbus holding register read function 3 addressed to offset 0 of the LDW and with length calculated as 4 n 8 where nis the number of events to be read and must lie between 0 and 14 inclusive any
164. entropic Exponent 1 01 5 0 1 3198 Default Relative Density 0 04 5 0 0 6 Specific Gravity Default Fpv 0 5 2 0 1 Reference Temperature 0 C 32 F 25 C 77 F 15 C 60 F Reference Pressure 50kPaa 7 3 psia 110kPaa 16 psia 101 325kPaa 14 73 psia Component Analysis Molar Analysis Dialog Box Click Read to retrieve the Molar Analysis settings from the module or click Write to send the Molar Analysis settings from the PC to the module A dialog box will open to confirm your local port settings ProSoft Technology Inc Page 89 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer To enter gas molar concentrations click the Analysis Config button on the Meter Configuration dialog box and select the Component Selection tab This area of the Meter Configuration dialog box is visible when the product type is Gas Precision and Stream Assignment 9 T CO carbon monoxide 17 I C8 octane 10 I O2 oxygen 18 I C9 nonane 11 I iC4isobutane 19 C10 decane 12 7 nC4 normal butane 20 I He helium 13 T i Siso pentane ATA 14 I nC5 normal pentane Fr 25 hydrogen sulphide 15 I CB hexane ru 2 hydrogen 16 J C7 heptane T Uy user2 Normalization total error tolerance 0 Select All Select components of the molar analysis and the normalization error tolerance Cancel oK Select check the components to be analyzed e
165. er The following is an example of the Event Log Download In the Site Configuration window the Event log download timeout has been changed from the default of 60 seconds to 300 seconds 5 minutes b gt g Site Configuration Site name MYI Flow Station MVI56 MM prove Project name Primary Modbus slave address os Virtual Modbus slave address Do End of day minute Bo End of hour minute Barometric pressure kPaa Site options fo Pass thru Max PLC window size Do Pass thru Word region size Pass thru Word region address Serial number Firmware version revision number Configuration changed Ack Chg PLC status Site status Event log download sessions Q i 00 Event log download timeout Event log download vrt slv location Do Pass thru Bit region size Pass thru Bit region address Poll Bead rite the site configuration to the Module Meters Prover Done In the Site Configuration window above there are no active download sessions This is indicated by the value of zero in Event log download sessions field Click the box to show the Event log sessions window Event log sessions 7 Backplane active l Pott active l Port 2 active l Pott 3 active After opening the Event log sessions window from the ON LINE EVENT LOG menu you will see instructions in green in the lower right area of the window Page 170 of 267 ProSoft Technology
166. er Factor Linearization Meters are mechanical instruments so eventually they wear out Over time the actual measured volume the gross volume will tend to drift from the nominal measured volume the indicated volume The factor that corrects indicated to gross is called the meter factor and is a number very close to 1 The procedure that is performed periodically to determine a new meter factor is called proving A pulse type meter is proved periodically to ensure that the meter performs as expected over a period of time A prover passes a known volume of product through the meter and compares the volume indicated by the meter against the fixed volume of the prover measured with a high degree of precision If the meter indicates the measured volume to be exactly the same as the known prover volume the Meter Correction Factor is said to be equal to 1 00000 Meter Factor Prover Volume Metered Volume Because meters are mechanical instruments their behavior may differ depending on the rate of flow through the meter That is the meter factor may depend on the flow rate at which the measurement is performed The AFC accommodates this by allowing you to enter up to 5 factor flowrate pairs the Meter Factor Linearization table the AFC determines the meter factor to be used by linear interpolation on this table from flow rate at operating conditions Since flow rate depends on the meter factor according to API but meter facto
167. er content corrected to standard conditions under the assumption that it is pure hydrocarbon Because the presence of water skews the correction calculations this method should be used only when the water content is very low Non Standard Reference Conditions For both liquids and gases the AFC permits a range of reference conditions for volume measurement which may vary from the API AGA standard of 15 C 101 325kPaa SI or 60 F 14 696psia US US pressure base for gases is 14 73psia The allowed ranges for SI units are temperature between 0 C and 25 C and pressure between 50kPaa and 110kPaa with the allowed ranges for US units approximately equivalent For gases this flexibility of reference conditions is handled automatically by the implementation of the AGA 8 1992 standard for compressibility Z together with the real gas law PV ZNRT For liquids correction factors for non standard reference conditions are calculated differently depending on the firmware version For version 2 05 and later correction factors and corrected density are calculated according to the 2004 edition of API MPMS Chapter 11 1 except for the NGL product groups for which the CTL and density calculations of GPA TP 27 are extended with the CPL calculations of old MPMS Chapter 11 2 in a manner analogous to that of the 2004 Chapter 11 1 For version 2 04 and earlier correction factors and corrected density are calculated as described in the following paragra
168. er has been stopped and the count for the run is available For a bidirectional prover this count may be either the count for only the return leg or the count for the entire run use prover option Return leg pulse count is round trip count register 65011 bit 4 to specify which Some kinds of proving hardware report this value for a counting mode unrelated to proving The AFC treats this value the same as value 0 Some kinds of proving hardware report this value for a counting mode unrelated to proving The AFC treats this value the same as value 0 ProSoft Technology Inc March 2 2011 Page 121 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Prover Position Ready for Launch The prover s ball or piston is ready for launching into the stream For a bidirectional prover this is the launch of the forward leg Prover Position Ready for Return For bidirectional provers only the prover s ball or piston is ready for launching into the stream for the return leg Prover Position Valve Sealed Behind Ball The prover s ball or piston has been launched into the stream and the sealing valve has been closed behind it For a bidirectional prover this is the start of the forward leg Prover Position Valve Sealed Behind Ball Return Leg For bidirectional provers only the prover s ball or piston has been launched into the stream for the return leg and the sealing valve ha
169. es iin ANa 192 Meter Data Point EVent eeceeeeeneeetesneeeeeeneeeeeeeneeerenaeeeeneneeeeee 193 Stream Data Point Events ccecceesseseneeeeneeteneeeeaeeteaeeseaeeteaeeeeaeetee 196 Stream Data Point EVent ccecceesseteseeeeeeeteneeeeaeeteaeeseaeeteaeeenaeeees 198 RKV NOTES sisi etoile SN ena ee o ee ee 201 Event NUMB6rs isc ethene eit kaid dated aidan 202 ProSoft Technology Inc March 2 2011 Page 165 of 267 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 10 1 The Event Log An event is any occurrence that may affect the manner in which or whether measurement is performed Events include for example Any change to a sealable parameter Power up product may have been lost during the power down period A change in PLC operating mode programming changes may alter measurement A download of the event log for audit trail purposes The Event Log occupies a block of 16000 Input registers in the Modbus table starting at address 40000 and proceeding through address 55999 It consists of a 5 register header at address 40000 followed by 1999 8 register event records starting at address 40008 As they are Input registers read with Modbus function code 4 no part of the Event Log can be written from outside the module but it is maintained exclusively by the AFC firmware As events occur they are recorded in the Log which acts as a circular
170. eseeeeeeeeeeeeeeeeeeseeeeeaees Densitometer Configuration ccceeseeeseseeeeeeeeeeeeeeneeeseeeeeneeeeneeeeaes 101 Copying a Configuration From a Metet c cee eee teeeee tert 102 After you have completed the Site Configuration tasks the next step is to configure the Meters that will be associated with the module The Meter Configuration dialog box is where you assign the settings for each meter To configure a meter 1 2 3 Start AFC Manager On the File menu choose Load and then open the project file On the Project menu choose Meter Configuration This action opens the Meter Configuration dialog box Choose the meter to be configured in the Select Meter panel ProSoft Technology Inc March 2 2011 Page 55 of 267 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 5 To quickly set up a meter to be similar to another you can use the Copy Config From panel Meter Type and Product Group Accumulator and Flow Rate Configuration Units C RelDen Tbse 60 F and Rollover Values API Gravity Reference temperature C Reference pressure kPaa Defines valid ranges Product Group Differential Meter Orifice _ Process Input oo mout Specific Parameters 2___ DP flow threshold kPa Control Opts Calculation Opts P alarm threshold KP 0 DP alam threshold kPa aac lr 10 V con
171. ess to the AFC Passwords are stored in the AFC by writing them to the password registers 9 and 19 but in hard password mode reading those registers always returns zero Read and or write access to the AFC is granted by writing a candidate password to the password test register register 18 and the access granted is determined by reading back that register and examining its contents The access is granted to the port over which the request was made other ports remain unaffected If the port remains idle with no Modbus activity for two minutes then the granted access is removed and can be regained only by writing a new password to the test register ProSoft Technology Inc Page 35 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 2 3 Site Configuration Parameters The following topics describe the Site Configuration parameters you will enter 2 3 1 Site Name Identifies the site 1 to 64 characters Default is AFC Flow Station 2 3 2 Project Name The Project Name allows an external application such as AFC Manager to synchronize its database with the database resident in the module Default is AFC 2 3 3 Primary amp Virtual Modbus Slave Configuration The configuration process and historical data for the site and all meters are stored in the Primary Modbus Slave approximately 130 000 registers In order to optimize the polling of data the AFC module h
172. et even through subsequent power cycles until at least one meter is enabled at which time the bit is cleared bit 8 A copy of the Hard Passwords site option made available here so that an external application such as AFC Manager can learn all it needs to know in order to connect to the module by reading the first 20 holding registers from the Modbus table bit 9 reserved bit 10 reserved bit 11 reserved bit 12 reserved bit 13 reserved bit 14 reserved bit 15 reserved Ch00007 By Processor offline code 0 online 1 offline Ch00008 By Zero primary slave address This value distinguishes the two slaves When read from the primary slave this value is zero when read from the virtual slave this value is the primary slave address Ch00009 Wd Password write enable Ch00010 to Ch00015 Wd Wallclock Y M D h m s The wallclock has a resolution of 1 second Ch00016 to Ch00017 Bm Wallclock packed The packed wallclock has a resolution of 2 seconds ProSoft Technology Inc March 2 2011 Page 245 of 267 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Address Type Description Ch00018 Bm accessed port and authorization bits 0 3 Accessed port 0 gateway bit 4 Password authorization waived for read bit 5 Password authorization waived for write bit 6 Password authorization granted for read bit 7 Password authorization granted for write
173. eter Configuration Liquid and Gas Flow Computer User Manual The following table explains each option Parameter Description Period select hourly This option should be clear for Daily Archive and set for Hourly Archive Archive upon period end If this option is set the module will generate a new archive when the configured hourly or daily period ends Archive upon event If this option is set the module will generate a new archive every time an event occurs for example change the orifice diameter value Reset Accumulator X upon period end If this option is set the Resettable Accumulator X will be reset once the archive period ends Note This is the actual meter accumulator value that is displayed in the Meter Monitor dialog box Reset Accumulator X upon event If this option is set the Resettable Accumulator X will be reset every time an event occurs Note This is the actual meter accumulator value that is displayed in the Meter Monitor dialog box 3 5 5 Archive Period Accumulation Dialog Box This dialog box opens when you click the Accumulator Select button on the Archive Configuration dialog box amp Archive Period Accum X none C Mass c Net volume Gross volume Gross standard volume Water volume Select the quantity to be accumulated in the archive period accumulator result The following types are available according to the
174. eter variables The sample ladder logic included with the system is intended to fulfill this requirement and works for many applications Should you feel that your application requires more than this then a very intimate knowledge of the operations of the module are required to be successful in the implementation of the application It is highly recommended that the sample be used as a starting point for any application 14 9 1 How does the module work Ignoring the fundamentals of a meter run the module s operation is very simply divided into two operations those being the transfer of data from the Processor to the module variables as a rule and the second being the transfer of data from the module to the Processor results Refer to the Backplane section of the AFC User Manual for your module for more information on backplane operation 14 9 2 Why should I use the AFC Manager The AFC Manager should be used to configure the module project parameters Site Configuration and each meter Meter Configuration Once your project is up and running you can also use the AFC Manager to monitor each meter run Meter Monitor archives and events ProSoft Technology Inc Page 249 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 9 3 Why can t the AFC Manager connect to the module Check the cable used in your project a null modem cable should be used to connect the
175. f the Primary Slave table may be re mapped to up to 20 000 Modbus registers of the Virtual Slave for contiguous polling from a SCADA master Port 3 can be configured as a Modbus master node Supports Modbus functions 3 4 5 6 15 and 16 as a slave 5 and 15 only on pass thru operation Supports Modbus functions 1 2 3 4 15 and 16 as a master Scratch Pad Modbus block of 6000 words for transfer of arbitrary data between the processor and the SCADA host via the module ProSoft Technology Inc Page 221 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 1 4 Configurable Options Configurable options include Gas analysis concentrations for up to 21 components Accumulator Rollover Reference temperature and pressure for both gases and liquids Orifice and pipe diameters selection of type of taps and tap locations and so on Meter K Factor and Meter Factors with 5 point linearization curve Temperature Pressure and Density Correction for liquids Local Atmospheric barometric pressure Default process and operating parameters such as DP Threshold for flow cutoff and so on Metric or US units User selectable units for totalizers and flow rates on a per channel basis Resettable and non resettable totalizers for every meter channel 14 1 5 Supported Meters The following meter types have been used with the AFC Manager module Because of the broad
176. f the port remains idle with no Modbus activity for two minutes then the granted access is removed and can be regained only by writing a new password to the test register Process input out of range use last good value If set then an out of range process input value is substituted by the latest detected in range value If clear then the default value configured for the process input is substituted ProSoft Technology Inc Page 45 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Analyses are packed in the module If set then molar concentrations of individual components are packed towards the front of the analysis for each stream of each meter by omitting the zeroes corresponding to components that are not selected in the component map for the meter If clear then molar concentrations of individual components appear always in the same locations regardless of whether the corresponding components are selected Changing this setting causes all stored analyses to be restructured consistently so that no analysis information is lost and may require corresponding changes to polling systems such as SCADA Default setting is packed to be consistent with earlier versions of the AFC but this default will change in a future version Analyses are packed over the backplane If set then molar concentrations of individual components are packed towards the front of an an
177. f the prover It s values are No PROVER CONFIGURED UNIDIRECTIONAL PIPE PROVER You may also choose this selection for an atmospheric tank prover BIDIRECTIONAL PIPE PROVER COMPACT SHORT SMALL VOLUME PROVER MASTER METER 4 1 1 Prover Type Prover characteristics and configurations will vary based on the type of prover and options you select The following topics describe each type of prover Page 104 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual Unidirectional Pipe Prover This is a long pipe with a ball or piston that fills the pipe and moves with the fluid flow At each end of the pipe is a switch that is tripped when the ball passes it A proving run counts the pulses occurring between the switch trips A run is prepared by positioning the ball in a cul de sac upstream of the first switch ready to be injected into the stream At the end of the run the ball is extracted from the stream and returned via another path to the upstream end In order to calculate a meter factor with sufficient precision the prover volume must be large enough to count sufficient pulses Therefore unidirectional provers can be quite large Pressure Gauge Pressure Vacuum Relief and Vent Valve Assembly Separator Tee Assembly Separator Bars Calibrated Volume ae ae Sphere Prover Section May Be Generator Detectors Laid Horizontally and or
178. factor Ev e 4 27 Word Flow weighted average Expansion factor Y e 4 28 Word Flow weighted average Coefficient of discharge Cd e 4 29 Word available ProSoft Technology Inc March 2 2011 Page 239 of 267 Reference User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 14 6 4 Pulse Linear Meter with Gas Product Start Offset End Offset DataFormat Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted Flow rate net average 16 17 Floating point Flow weighted Temperature average 18 19 Floating point Flow weighted Pressure average 20 21 Floating point Flow weighted K Factor average 22 23 Floating point Flow weighted Meter Factor average 24 Word Flow weighted Relative density e 4 average 25 Word Flow weighted Compressibility reference e 4 average 26 Word Flow weighted Compressibility flowing e 4 average 27 Word Flow weighted Supercompressibility e 4 average 28 29 Double Word Snapshot Pulse Count 14 6 5 Orifice Differential Meter with Liquid Product Start Offset End Offset Data Format Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point
179. figuration downloads generating the Illegal Data Value at any attempt Delete all events from the module event buffer refer to the Event Log section You may want to select check the Event Log Unlocked check box This setting allows the module to overwrite the oldest event from the buffer when the buffer is full 14 9 10 Why is the Molar Analysis button disabled In order to transfer the molar analysis values between the module and the local computer it is required that the module s configuration and the configuration at the local computer should match In order to accomplish this you can perform either a Meter Configuration Read or a Meter Configuration Write operation ProSoft Technology Inc Page 251 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 9 11 Why does the AFC Manager show a Communication Timeout warning The communication parameters for the AFC Manager and the module should match Look at the communication parameters and cables RS 232 null modem Also ensure that the setup jumper on the module is OFF 14 9 12 What is the difference between Net Accumulator and Gross Accumulator The module initially calculates the Gross Accumulator value It then uses the Gross Accumulator value and corrects it for pressure and temperature before calculating the Gross Standard Accumulator value For Gases Gross Standard Accumulator Net Accumulator For
180. figuration to the module 251 Why do the accumulator values not update 252 Why does the AFC Manager show a 252 Why does the card not calculate results or why did it stop calculating results 250 Why is the Molar Analysis button disabled 251 Why should use the AFC Manager 249 Write Button 53 Page 266 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Index Liquid and Gas Flow Computer User Manual Y Your Feedback Please 2 Z Zero Scale 83 ProSoft Technology Inc Page 267 of 267 March 2 2011
181. file Each new event record overwrites the oldest one hence the log stores up to 1999 of the most recent events As each record is written the values in the header are updated to reflect the new status of the log Auditors may require the Log to be downloaded from time to time events are read from the module and stored in a more permanent database and the events so copied and archived are marked in the module as downloaded If all record positions contain events that have not yet been downloaded the log is full In this case the handling of a new event depends on the value of the Event log unlocked site option If the option is set then the log full condition is ignored and the new event overwrites the oldest one Since the overwritten event was never downloaded it is permanently lost If the option is clear then the Event Log is locked and the new event is rejected if possible and otherwise ignored Controllable events that is changes to sealable parameters are not allowed to occur such datum points remain unchanged retaining their current values and a Modbus command that attempts such a change receives an illegal data exception response Uncontrollable events such as PLC mode change are simply not recorded The Log must be downloaded in order to unlock it for further events Page 166 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Ma
182. ft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Overall Monitor User Manual 6 1 Create the File Report Log File Click the Log Button to create a Log File that contains the last data read from the module The following shows an example log file where only meter 1 is enabled AFC 56 16 Site Name AFC Project Meter 1 Tag et accum Gross flow Pressure Alarms Meter 2 Tag This meter Meter 3 Tag This meter Meter 4 Tag This meter Meter 5 Tag This meter Meter 6 Tag This meter Meter 7 Tag This meter Meter 8 Tag This meter Meter 9 Tag This meter Meter 10 Tag Gross accum Mass accum et flow rate Mass flow rate x lb h Temperature psig Differential pressure Metering Data MVI Flow Station totalizer totalizer totalizer rate F channel channel channel channel channel channel channel channel is is is is is is is is x 3 x 3 x 1b x 3 h x 3 h hw not not not not not not not not enabled enabled enabled enabled enabled enabled enabled enabled or or or or or or or or used used used used used used used used Date 16 09 2002 11 53 51 M01 1290 214197 12173 564 0053 42568 86 1954 654 15 100
183. ge bit 1 Pressure input out of range bit 2 Diff pressure input out of range bit 3 Flowing density input out of range 2002 04 27 23 59 08 2002 04 27 00 00 02 00h 0000h 86346 53 604 0 6703186 40247 93 14 99997 999 9995 21799997 0 7404 0 9989 0 9051 1 0505 1 0328 0 9997 0 6043 Page 158 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Archive Monitor User Manual bit 4 Water content input out of range bit 5 Diff pressure low bit 8 Orifice characterization error bit 9 Analysis total zero bit 10 Analysis total not normalized bit 11 AGA8 calculation error bit 12 API calculation error density correctio bit 13 API calculation error Ctl bit 14 API calculation error vapor pressure bit 15 API calculation error Cpl Status Bits bit 11 Meter was enabled bit 12 Backplane communication fault bit 13 Measurement configuration changed bit 14 Power up bit 15 Cold start AFC 56 16 Daily Archive Site Name MVI Flow Station Project AFC Date 16 09 2002 16 26 41 Meter 1 Tag Archive Closing timestamp of archive Opening timestamp of archive Status bitmap details below Alarms bitmap details below Flowing period Event counter et accumulator x f3 et accumulator residue x f3 et flow rate x 3 h Temperature F Pressure psig Differential pressure hw Relative density 60 F 60 F Reference
184. greement accompanying such software or other intellectual property e Customer agrees that it shall not and shall not authorize others to copy software provided by ProSoft except as expressly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and international export laws and regulations or use the software other than as authorized in connection with use of Product f Additional Restrictions Relating To Software And Other Intellectual Property In addition to compliance with the Terms of this Warranty Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property Failure to do so may void this Warranty with respect to such software and or other intellectual property 15 2 5 Disclaimer of all Other Warranties The Warranty set forth in What Is Covered By This Warranty page 259 are in lieu of all other warranties express or implied including but not limited to the implied warranties of merchantability and fitness for a particular purpose ProSoft Technology Inc Page 261 of 267 March 2 2011 Suppo
185. gura Check input register N Pesat Clear holding register Description 2 ir Adce i fe Site status E Pag Event log Enable Write to Virtual Slave Address 0 Evang When selected every write performed P to the Virtual Slave will be copied to the do 0 Event A ua remapped Primary Slave register Bo Pass thru Bit region address Result e Reads the entire Writes the entire mapping configuration remapping configuration from the AFC module to from the local computer to the local computer the AFC module The values in the illustration above would configure the following indirect addressing remapping Primary Modbus Slave Virtual Modbus Slave Address 8030 T Address 100 Address 8031 Address 101 Address 8032 Address 102 EE Address 8033 Address 103 Because all registers in the example had the write enable bit set all data copied to the Virtual Slave would also be written to the remapped Primary Slave If a Modbus device writes a value to address 100 in the Virtual Slave that value would also be written to address 8030 in the Primary Slave If it reads the current value on the Virtual Slave address 102 it would be the same value in Primary Slave address 8032 Important Virtual Slave addresses must be equal to or greater than 100 Page 38 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual When th
186. he variation of temperature flow rate and other process variables and the prove setup has been completed the entire proving session can be completely automated within the PLC ladder logic Page 118 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Steps for proving a meter a b c Enter the prover parameters and variation limits configuration Enter the number of the meter to be proved setup Set the enable prove signal bit This function verifies that the selected meter is provable a liquid pulse meter and clears the proving results for a new proving session Enable the counter card channel for proving and launch the ball When the first switch is tripped set the run start signal bit During the run continuously copy the prover temperature pressure density etc to the AFC so that it may monitor their variation and accumulate them for final averaging For the same purpose the AFC module itself retrieves meter process variables directly from the meter input from the PLC without PLC intervention When the second switch is tripped copy the final pulse count from the counter card channel to the proper location and set the run stop signal bit This function computes results for the completed run averages of process variables variation limit alarms etc and also computes results for the entire prove over all completed runs averages of run averages variat
187. he AFC Manager page 19 Step 4 Start a New AFC project page 23 Step 5 Configure the Project Parameters page 29 Step 6 Configure Each Meter page 55 Step 7 Save the Module Configuration to the Local Computer page 131 Step 8 Download the Module Configuration to the Module page 132 Step 9 Verify Correct Operation page 28 ProSoft Technology Inc Page 15 of 267 March 2 2011 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 1 3 Install AFC Manager The AFC Manager application is included on the CD ROM shipped with your module Before you can use the application you must install it on your computer 1 3 1 System Requirements The following system requirements are the recommended minimum specifications to successfully install and run AFC Manager Microsoft Windows compatible PC Windows 2000 with Service Pack 2 or higher or Windows XP Professional with Service Pack 2 or higher or Windows 2003 Vista 7 300 mHz Pentium processor or equivalent 128 megabytes of RAM 20 megabytes of free disk space Available serial port COM port or USB to Serial adapter cable with necessary drivers required for communication between AFC Manager software and the AFC module DB9 adapter cable included with module required for connection between PC serial port and AFC module PTQ AFC module does not require an adapter To install the AFC Manager application 1 Insert the ProSoft
188. he forward leg and the second is called the backward or return leg The pulse count for the run is then the sum of the counts for the two legs Because the run s pulse count arises from two passes between the switches a bidirectional prover need be only half the volume of its unidirectional counterpart and can be correspondingly smaller Pressure Gauge and Vent Connections Detector Switch Match Bored Flanges Outlet Block Valve Displacer Power Cable Main Line Block and Bleed Valve Electronic Meter Optional Master Meter Hookup Proving Counter Meter Prover Configuration B R Prover type Bidirectional pipe T System units U5 C SI Prover tag Density units kg m3 Rd 60 C API Read Result Identification Options Write Process Input Yariation Limits Runs per prove 0 0001 Meter factor precision bo uns per prove selected 1 Pulse interpolation ratio fe Maximum attempted runs before abort 6 2 Flow tube linear coef of expansion F e 6 Minimum pulses per run thousands 60 Base temperature F Maximum seconds per run 32 bit integer v Input format pulse count for runs 0 Base prover volume at 60 F MCF 0 Flow tube inside diameter inches 1000 cu feet Prover size units 0 Flow tube wall thickness inches 30 Flow tube modulus of elasticity psi e 6 SI units temperature as C pressure as kPag US units temperature as F pressure as psig NOTE Changing system units will reset all prover
189. he object on the left assume that value The operator means is equal to c Words in all caps and the other arithmetic operators have their expected meanings d Text enclosed in brackets are comments only Procedure A Calculate event number from record position 1 Calculate number of events on file events_on_fil next_event oldest_event AND 0x0000FFFF 2 Determine whether desired record is on file IF my_record lt 0 OR my_record 2 events_on_file THEN record is not on file EXIT this procedure 3 Calculate age of desired record vent_age next_record my_record IF event_age lt 0 THEN vent_ag event_age number_of_records 4 Calculate event number of desired record event_number next_event vent_age AND 0x0000FFFF Procedure B Calculate record position from event number 1 Calculate number of events on file events_on_fil next_event oldest_event AND 0x0000FFFF 2 Calculate age of desired event vent_age next_event my_event AND Ox0O000FFFF 3 Determine whether desired event is on file IF event_age 0 OR event_age gt events_on_file THEN event is not on file EXIT this procedure 4 Calculate record position of desired event record_position next_position event_age IF record_position lt 0 THEN record_position record_position number_of_records Procedure C Calculate Modbus address of record fr
190. hile Ports 2 and 3 support RS232 RS422 and RS485 Unless a device can only communicate using an RS232 port use one of the other ports Although you can set a maximum baud rate on the Configuration Debug Port of 19200 this setting is not recommended for general use Performance will be most satisfactory if you set the Configuration Debug Port to 9600 baud or lower Page 48 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Modbus Master Port 3 Only When checked allows Port 3 to act as a Modbus Master device sending Modbus master commands from ladder logic Hide Primary Slave When checked protects the Primary Modbus Slave from any read or write command from a Modbus master device In this case you could also remap the register from the Primary Slave to the Virtual Slave protecting each register from write commands refer to the Primary amp Virtual Modbus Slaves Configuration section Swap Modbus Bytes If checked the bytes transferred by a Modbus master device will be swapped Swap Modbus Words If checked the words transferred by a Modbus master device will be swapped This setting only applies to double register data items floating point and long integer Disable Pass Thru Disables the pass thru feature for this port Port Authorization Parameters Each port can be individually configured to waive the authorization re
191. hrur Bit region size oS Pass thrur Bit region address Shows the Read and Write operation result Success Operation has been performed successfully Timeout Operation was not performed due to communication problems Check the cable and communication parameters generated by the module Saves settings closes the Site Configuration dialog box Page 30 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual 2 2 Site Information This section of the Site Configuration dialog box contains a detailed explanation about the values that are generated by the module on the Site Configuration dialog box These values can only be read from the module to the local computer 2 2 1 Serial Number This section of the Site Configuration dialog box shows the module serial number hardware AFC Manager must be connected and online to the module to display this value 2 2 2 Firmware Version Number This section of the Site Configuration dialog box shows the current module firmware version For example 2 07 000 The firmware version number corresponds with the module type and firmware version you selected from the File menu 2 2 3 Configuration Changed This value is set when any bit in the measurement configuration changed registers is set Measurement Configuration Changed dialog box
192. ic Page 50 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Hard Password The hard password feature offers further protection against unauthorized access to the module If the Hard Password option is cleared these registers can be read either from an external Modbus device from the processor or using the Modbus Master interface in the AFC Manager This operation mode is called Soft Password mode It is then the responsibility of a compatible application such as AFC Manager to verify the password given by the operator against those fetched from the module in order to determine the access granted If the Hard Password option is selected a read of a password register will return zero regardless of the password s actual value In this case read or write access is obtained by writing a candidate password to the Password Test register register 18 the module itself verifies the password and the access granted is determined by reading back that same register 18 called the Accessed Port and Authorization register when read and examining its contents The access is granted to the port over which the request was made other ports remain unaffected If the port remains idle with no Modbus activity for two minutes then the granted access is removed and can be regained only by writing a new password to the test register For highest security
193. ick Cancel to abandon the attempted action that caused this message Page 26 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 1 7 6 Downloading the Project to the Module 1 Click PROJECT DOWNLOAD PROJECT AFC Manager About to download the current project to the module Continue 2 This action opens the Local Port Settings window Enter the port parameters to use and then click DONE 3 During the download operation the following progress window is displayed Download Module Configuration Downloading meter 2 configuration Cancel 4 When the file transfer is complete the following window is displayed A AFC Manager Download is finished Note The virtual slave remapping data page 214 is not downloaded during the procedure because it requires a separate download operation Troubleshooting Tip If the AFC Manager displays an Illegal Data Value message it typically indicates an invalid meter type or product group configuration The module does not accept a configuration file that attempts to change a meter type or product group for a meter that is currently enabled Disable all meters change the meter types and product groups and then enable the meters again ProSoft Technology Inc Page 27 of 267 March 2 2011 Introduction AFC Manager
194. id and Gas Flow Computer User Manual 15 Support Service amp Warranty In This Chapter Contacting Technical Support c ce eeeeeeceeeeeeeeneeeeeeeeaeeteaeetsaeeeeeeetaas 255 Return Material Authorization RMA Policies and Conditions 257 LIMITED WARRANTY oi ioccuesctssecaedesveacescischecdeneagecsccceesccupereeestesscnegaies 259 Contacting Technical Support ProSoft Technology Inc ProSoft is committed to providing the most efficient and effective support possible Before calling please gather the following information to assist in expediting this process 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding Module configuration and associated ladder files if any Module operation and any unusual behavior Configuration Debug status information LED patterns Details about the serial Ethernet or fieldbus devices interfaced to the module if any akhoON Note For technical support calls within the United States an after hours answering system allows 24 hour 7 days a week pager access to one of our qualified Technical and or Application Support Engineers Detailed contact information for all our worldwide locations is available on the following page ProSoft Technology Inc Page 255 of 267 March 2 2011 Support Service amp Warranty AFC Manager Configuration Tool
195. ids are calculated based on their characteristics at a specific temperature and atmospheric pressure Specify the reference conditions in this area The default values are 15 C 101 325 kPaa SI and 60 F 14 696psia US which are the standard API base conditions If configured reference conditions are different from API base then for liquids the API calculations are done twice as necessary to correct from flowing conditions to API base and then de correct from API base to your selected reference while for gases the calculations are direct Meter Configuration Meter 1 Meter Tag Accumulators and Flow Rates Select Meter ae Type Product Group and Units Meter number 1 E ad Crude ois JP4 2 Diferential Density units Lrex kg m3 Copy Config From System of units C RelDen Tbse 60 F e Ce 3 vi a i us SI API Gravity Primary Input Copy C Differential Pres Flow Rate Primary Input Characteristics Mass Measured quantity Identification DS aaa 3 Flow input unit 15 Reference temperature C Fw ise pond Enter the Reference Temperature to use Differential Meter Flow Rate Process Input _ FR flow threshold kg h Control Opts Calculation Opts FR alem creed Ikah Archive Config Resettable Accum Densitometer PLC Image Enter the Reference Pressure to use Stream 1 pean Select Stream Stream number ig O Dfitreference density kg m3 O Dit v
196. ighter products Such as propane are gaseous at these conditions The equilibrium pressure of the API standard is the pressure at which the liquid fluid and its vapor are in equilibrium This is also called the vapor pressure GPA s TP 15 Technical Paper 15 is a correlation for calculating the equilibrium vapor pressure for typical hydrocarbon fluids for example propane from density and temperature 3 9 8 Density Correction for Pressure This option effective only when option Density Correction is selected enables the effect of pressure to be included in the density correction calculation When cleared only the effect of temperature is considered 3 9 9 Calculate Net Heating Value else gross This option selects whether the produced water is in vapor net or liquid gross state Page 82 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 10 Process Input Scaling Click the Process Input button to configure the valid input ranges If an input data is not within the configured range the AFC will flag an alarm on the Meter Monitor dialog box refer to Meter Monitor section and the alarm bit for the meter will be set Process Input Scaling Zero scale Full scale Default Raw input Temperature C 5 5 Floating point z Pressure kPag Flow rate kg h Floating poit x Floating point z
197. ignals A prover signal instructs the AFC to immediately perform a particular function once A signal bit is latched by the process issuing the signal for example the PLC and is unlatched by the AFC when the function has been performed Prover signals are completely cleared at the start of the next proving scan Modbus transactions to read the status of these signal bits may therefore show uncleared bits for functions that have already been completed but for which the signal bits have not yet been cleared Prover Sequencing This parameter reports the state of the proving hardware making it available to the prove management software for display of prove status and possible control of the prove The prove management feature of AFC Manager uses it only for display This value usually comes from the proving hardware integrated into the PLC platform therefore it is normally supplied by the PLC Page 120 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Proving User Manual Prover Phase These bits report the state of the run as known by the proving hardware These values are chosen specifically for compatibility with several kinds of proving hardware so that the work necessary for the PLC to translate hardware register values into these values required by the AFC is minimized and in many cases can be reduced to a simple mask and copy There are 8 values ranging from 0
198. ion ccccccccceceseeeseeeeceeeeeeaeeeeeeeeeeaeeseaeeeeeaeeseaeeseaeessneessueeeseneess 104 4 1 1 Prover Typa erupe ro a iain E E ag aes 104 4 1 2 Prover OPON S iiie cede a nae iva ei 108 4 1 3 RUN COUM S cats Alin Ae en Lee a a aE a 109 4 1 4 RUN La IERE ET e AEE EEEN A T A aeons ae 109 4 1 5 Prover GharacteristicS arseen oa nr ae ie aa ie aa a aa a o aE eaa 110 4 2 Setting up the AFC module for Meter Proving ccccecceseeeeseeeeeeeeeseteeeeseeesees 113 4 2 1 Initial Requirements mrss a aeaa Aiko vcedeneetolese nities ieee pnteteevitiene tie 115 4 2 2 Meter Proving AANS aae naea aaae RA aria ae a E aa an aiaa 116 4 2 3 Prover Operation How to do a Prove cccccccesceceeeeeeeneeeeeeeeeeeeeseeeeeneeeseeeseeeeees 118 4 3 Meter Proving Reports s denira ea e aeaa aa Ana ai a Ei 126 4 4 Protected Meter Proving Data in the AFC s Input Register Bank ssanie 127 4 4 1 Latest Provo RESUItS ro aisi e aea EEan e SPAA ty beneadde atid ie eee 127 4 4 2 Meter Previous Prove Summary cc ccccceeeeeeeeseeeeeeaeeeeeeeeseaeeseaeeeseaeeseueeeseeeseaees 130 5 Saving the project 131 5 1 Configuration Download cccecceeeeceeeeeeeeeeaeeceaeeeeaeeeecaeeeeaeeseaeeseaeeeteaeeseneeeseaeesaas 132 5 2 Configuration Upload cccccceceeceeeeeeeeeneeeeeaeeeeaeeeeaeeeseaeeesaeeseaeeseaeesseaeeseaeeseaeesaas 133 6 Overall Monitor 135 6 1 Create the File Report Log File c cccccceceeeeeneeeeeeeeeeeeeeseeeeseaeeseeee
199. ion fault bit 13 Measurement configuration changed yes bit 14 Power up bit 15 Cold start Page 162 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Archive Monitor Liquid and Gas Flow Computer User Manual 9 1 Meter Archive Data Chart Dialog Box This dialog box opens when you click the Plot button on the Meter Archive dialog box This dialog box shows a graphical plot of the data you select from the dropdown lists and allows you to trend the different quantities simultaneously g Meter Archive Data Chart DER Accumulator archive period daily totalizer Se Accumulal ProSoft Technology Inc Page 163 of 267 March 2 2011 Archive Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Page 164 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual 10 Events In This Chapter ThesEvent Loge iii sn T 166 Event Log Structure Sinezen aenn rae eara i aae EEN s 167 Ae E S EE A A 168 Event triggered Archives and Accumulator Resets e0 169 Event Log Download seee Error Bookmark not defined Period end Events 22 ste leek ae dort a hia e i 189 Lioggable EVeNntS anie dccee settee toe a Ae a aain 190 special EVentS cssnnnvateon ics cea itera E E E 191 Site Data Point EVENTS sises iiaii eyini Avy Aeeis nese Pan
200. ion limit alarms API calculations and calculation alarms final meter factor and change in meter factor and number of completed runs Upon a run start or accept prove signal any bad runs are deleted from the prove before continuing with with the remainder of the signaled function When a sufficient number of runs have been completed set either the accept prove or the reject prove signal which function marks the data in the prover results accordingly Missed Switch It is possible that the tripping of the second switch to end a run is not seen by the PLC due to a broken wire or poorly lubricated switch leaving the AFC and the physical prover in inconsistent states You may recover from this condition with the Run Cancel signal which clears any active run and resets the AFC to be ready to start a new run Data from any bad run will also be deleted by the Run Cancel Proving Controls These bits supply parameter information to the Enable prove and Accept prove signals register 65308 bits 1 and 2 respectively Control bits 0 through 7 parameterize the Enable and bits 8 through 15 parameterize the Accept Controls are latched into the results database upon receipt of a signal Changes thereafter have no effect on the state of these control bits ProSoft Technology Inc March 2 2011 Meter Proving User Manual Page 119 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Proving S
201. ion to the module this option is silently forced for the active stream Page 86 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 12 Product Group Specific Parameters After the meter type has been selected and its specific parameters are set it is time to configure the Product Group considered for the meter and its specific parameters The Product Group selects the measurement Standards to be used in calculating flow rates and accumulations Select Gas to use AGA8 and either AGA3 or AGA7 Standards Select a liquid group to use the MPMS Chapter 11 Standards For more detail on measurement standards see the Measurement Standards subsection of the Reference chapter in this manual The following sections group products into two categories Gas and Liquid grouping all the liquid products together The reason for this approach is because the configuration interfaces for all the liquid products are very similar while that for gas is significantly different 3 12 1 Gas Product Overview The gas compressibility calculations are based on molar analysis concentrations of up to 21 components using the Detail Characterization Method of AGA8 amp 1992 The module automatically generates alarms if the sum of the molar concentrations is not 100 Configure the analysis settings using the AFC Manager Meter Configuration Analysis Config as follo
202. ion with Gas Product 242 Pass thru Configuration 46 Pulse Frequency Integration with Liquid Product 243 Period end Events 189 Pulse Input Rollover Pulse Count meters 77 Persistence 188 Pulse interpolation ratio 65030 111 Phases 177 Q PLC Halted Offline or Missing 34 PLC Image Button 54 Quick Start 15 PLC Status 33 Poll Button 53 R Port 1 Port 2 and Port 3 Configuration 48 Port Authorization Parameters 49 Raw Input 84 Port Configuration Notes 48 Read Button 23 53 Port Options 41 Read the Current Status 66 Power up 34 Read UNIX Timestamps in Virtual Slave 44 Precision and Stream Analysis 91 Reference 219 Pre defined Header 238 Reference Conditions 61 Pressure Correction 96 Remapping Button 49 Pressure Correction Factor CPL 227 Reports 221 Primary amp Virtual Modbus Slave Configuration 36 Resettable Accumulator s14 209 Resetting Configuration Parameters 25 Primary Input 59 Return Material Authorization RMA Policies and Primary Modbus Slave Address 36 Conditions 257 Primary Slave 211 Returning Any Product 257 Primary Slave Elements 180 Returning Units Out of Warranty 258 ProSoft Technology Inc Page 265 of 267 March 2 2011 Index User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Returning Units Under Warranty 258 Run Counts 109 Run Input Setup 109 Runs per prove 65012 109 Runs per prove s
203. is expressed as pulses per unit volume such as 1000 pulses per gallon or 3578 224 pulses per cubic meter This number found on the manufacturer s data sheet for the meter is determined at the factory for the specific unit before shipping So dividing pulses by pulses per gallon gives you gallons API calls the value pulses K factor as indicated volume 3 7 5 Pulse Input Rollover Pulse Count meters When the meter is selected as a Pulse Meter one of the input variables transferred from the programmable logic controller will be the Pulse Count value which is the number of pulses transferred from the Pulse Meter or the High Speed Counter Module This parameter sets the value at which the pulse count will rollover to zero It is essential that this value match the actual pulse rollover used in the field by the pulse meter or counter module otherwise the flow calculation will generate unexpected values Enter this value as maximum value 1 3 7 6 Frequency Flow Threshold Hz This is the threshold value for the pulse frequency If the received value is less than the configured threshold it will be deemed to be zero 3 7 7 Frequency Alarm Threshold Hz If the received pulse frequency is less than this value the Pulse Frequency Low alarm will be raised ProSoft Technology Inc Page 77 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 8 Met
204. ist of points to archive Archive Data Format There are 3 columns associated with each archive data Column Description Ofs Shows the offset location of the data in each archive The maximum offset value will depend on the Record Size value you configured If the value has a for example 0 it means that the data occupies 2 words of data Reg Shows the Primary Modbus Slave Address of the source data This is a meter relative address For example a Reg value of 890 for meter 1 would be equivalent to Modbus addresses 8890 and 8891 Description Data Description The archive header is common for all meter types and product groups and cannot be edited The archive header uses up to 10 words and is displayed with a blue text gt Regj Description O Closing timestamp 2 Flowing period fraction e 4 3 Cumulative meter alarms 4 Cumulative meter status 5 Event Number of last written event 6 Flowing period seconds 8 Opening timestamp ProSoft Technology Inc Page 69 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 5 3 Archive Modbus Addresses dialog box This dialog box opens when you click the Addresses button on the Archive Configuration dialog box Use it to learn how to retrieve specific archive records Daily Archive Modbus Addresses Meter 1 XK Record group Current period fin progress Sto
205. ite Name MVI Flow Station Project AFC OO OOOO Or OOOO OO Oro Date 16 09 2002 16 18 08 Meter 1 Tag Wallclock Barometric pressurekPaa Viscosity Orifice pipe geometric parameters Orifice plate M01 0000 00 00 00 00 00 101 325 0 010268 Meter tube Temperature 68 68 Diameter d 2 Coefficient 9 25E 06 0 0000062 Scan 2 Temperature Floating point 15 Pressure Floating point 1000 Dif pressure Floating point 22 Temperature F 15 Pressure psig 1000 Dif pressure hw 22 Scan period second 0 495 Specific gravity 0 7404104 Fpv 0 Compressibility flowing 0 9051347 Compressibility reference 0 9989105 Diameter at T tube 1 999343 Diameter at T orifice 0 9995098 Velocity of approach factor ev 1 032773 Pressure extension xt 149 4683 Coefficient of discharge cd 0 6042569 Expansion factor y 0 9997441 Composition factor 0 2728558 Mass flow Qh 2280 571 Orifice characterization error 0 Analysis characterization error 0 AGA8 calculation error 0 Page 154 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Audit Scan User Manual Gross accu totalizer x f3 Gross accu residue x f3 Gross increment x f3 Gross flow rate x 3 h et increment x f3 et flow rate x 3 h Mass increment x 1b Mass flow rate x lb h Analysis components C1 methane 2 nitrogen CO2 carbon dioxide C2 ethane C3 propane H
206. ival purposes To print the configuration report 1 Open the File menu and then select PRINT REPORT This action opens the Print Configuration dialog box I Site configuration Meters configuration mo me e we ge 8 me mes gee mh mS me im eS I Prover configuration T Virtual slave remapping Clear All Select All ce 2 Onthe Print Configuration dialog box select check the items to include in the printed report 3 Click PRINT to send the report to your default printer Note The size of the report depends on items you choose to include and may require 75 pages or more Consider this before printing Page 24 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 1 7 4 Converting a Project You can convert an existing project configuration file to use it with a different module or firmware version Do this if You want to reuse an application created for a different AFC module for example a project that was created for a PTQ AFC that you want to use for an MVI69 AFC You apply a firmware upgrade to a module To convert a project 1 Open the File menu and then choose OPEN 2 Open the project configuration file to convert 3 Open the Project menu and then choose CHANGE MODULE TYPE AFC Manager AFC56 16 4 2 07 new file File Project On line Communications Window Help Site Configuration Meter Configu
207. ksum alarm bitmaps Includes site meter identification bits 28 24 Upon power up Written automatically upon power up when a checksum failure is detected In this case the event is written even if the bitmap does not change such as when an affected bit is already set from a previous failure that was never cleared Upon Modbus write to the bitmap Records changes to the bitmap only typically when clearing bits though setting bits is also permitted 6 2 Wallclock Change Value Wallclock packed bitfields Notes Triggered when the wallclock is set for the first time or when it is reset to a value that differs from its current value by five minutes or more These two cases can be distinguished by the old value in the event entry for the initial setting this value is zero clock not set 7 Stream Select Value Stream number Notes Triggered by a select active stream meter signal Includes meter identification bits 28 24 ProSoft Technology Inc Page 191 of 267 March 2 2011 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 10 9 Site Data Point Events Group Sbgp Item DTyp Rkv Data point 0 0 0 Bsht 3 Site options 1 Site parameter value 0 0 Flot ig Barometric pressure 8 n 0 Usht Arbitrary event logged value n n 0 thru 9 15 PLC image address Quantum platform only 0 0 Usht K Supervisory get 1 0 Usht Supervisory pu
208. l be required to re enter the password to continue Page 52 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual 2 4 4 Poll Button The function of the poll button is to update the display of site status the black background boxes in the upper right quadrant of Site Configuration Local Port Settings Dialog Box This dialog box opens when you click the Read Write or Poll buttons on the Site Configuration dialog box Local Port Settings x 244 5000 Adjust the communication settings if necessary and then click Done to confirm your port settings and perform the requested task 2 4 5 Read Button The read button reads the current site configuration from the module to the local PC Look at the result area green rectangle on the Site Configuration dialog box for the status of the read operation When a Success indication shows in the result area it indicates that the site configuration has been successfully read to the local PC 2 4 6 Write Button After you have completed the site configuration in the local PC AFC Manager software click the Write button to transfer the configuration to the module When the Result area shows Success the site configuration has been successfully written to the module Click the Read button to read the current module site configuration
209. lding register area only Modbus Dictionary Source Configuration Dictionary Section a I Show bits El of Search Go a Local Ondine Jal Bank amp Reg Datum Type Description o nsignedint Firmware product code group nsigned byte Firmware product code group platform nsigned byte Firmware product code group application class nsigned int Firmware product code item nsigned byte Firmware product code item number of streams nsigned byte Firmware product code item number of meters nsigned int Firmware version number nsigned byte Firmware version number minor version number nsigned byte Firmware version number maor version number nsigned int Firmware revision number nsigned long Serial number itmap Site status basic itmap Extended site status nsigned byte PLC offline itmap Event log download active sessions nsigned byte Zero primary slave Primary slave address virtual slave nsigned int Password write enable nsignedint Wallclock year nsigned int Wallclock month nsigned int Wallclock day wilytuin tele lel olo Cjc cijcjcyaic yaal ci c c ci cjci ci cijcijc c The meter being displayed between 1 and 16 Close The information in this dialog box is read only meaning that you cannot edit values here To configure data remapping refer to Primary amp Virtual Modbus Slave Configuration page 36 Source
210. le Continue After you confirm the download operation the AFC Manager displays a download progress message Download Module Configuration xi Downloading meter 4 configuration Note An Illegal Data Value warning indicates that the module has rejected one of the parameters This error typically occurs when you try to download a meter configuration that has a different meter type product group units density unit or primary input type than the configuration currently stored on the module You cannot change a meter type when the meter is currently enabled Disable the meter perform the change and then proceed with the download operation Another possible cause is that the event buffer is full and the module could be configured to lock any further events To see the current number of events stored in the event buffer click On Line Event Log and then click the Read button If the number of events not yet downloaded is 1999 it indicates that the event log is full Finally if Event log unlocked is unchecked on the Site Configuration dialog box the module will not accept any further changes to configuration Delete all events from the module event buffer and then select check the Event Log Unlocked option so that the module can overwrite the oldest event from the buffer when the buffer is full Important The download operation does not transfer the remapping configuration The only way to transfer it to the module is
211. le cannot calculate the CTL factor If the calculation fails the module will set the Temperature Correction Alarm Pressure Correction If this option is selected the module will calculate the pressure correction factor CPL as determined by the API standard If this option is cleared the module will not calculate the pressure correction factor Instead it will use the CPL value configured through the Default CPL parameter meter configuration Default CPL This value is used if the Pressure Correction option is unselected Meter Calculation Options or if the module cannot calculate the CPL factor If the calculation fails the module will set the Pressure Correction Alarm Default Reference Densit This value is used if the flowing density transferred over the backplane is out of range alarmed and Ignore Default Flowing Density is selected on the Meter Calculation Options dialog box or if the density correction calculation fails also alarmed Default Vapor Pressure If the vapor pressure via TP 15 option is not selected on the Meter Calculation Options dialog box or the vapor pressure calculation results in error this value is used as the vapor pressure Density Calculation This section provides detailed explanations about the density correction logic used by the AFC module It also explains the terminology that is implemented by the module Page 96 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Co
212. lerance OR the molar concentration sum is zero concentrations is within the error tolerance of 1 0000 100 Alarm Code values 0 No alarm 1 Analysis total not normalized 2 Analysis total zero Compressibility calculation error The compressibility calculation resulted in error based on the input values and configuration parameters used Check the input values and meter configuration parameters Alarm Code values 0 No alarm 1 Density exceeded reasonable maximum warning only 2 Pressure maximum found 3 Non convergence of procedure braket 4 Non convergence of procedure ddetail Differential Pressure Low The differential pressure value transferred to the module is below the DP Alarm Threshold parameter configured in the Meter Configuration Check the input differential pressure value transferred to the module If the value is correct change the DP Alarm Threshold parameter for your project Flow Rate Low The flow rate value transferred to the module is below the FR Alarm Threshold parameter configured in the Meter Configuration Check the input flow rate value transferred to the module If the value is correct change the FR Alarm Threshold parameter for your project Pulse Frequency Low The pulse frequency value transferred to the module is below the Frequency Alarm Threshold parameter configured in the Meter Configuration Check the input pulse frequenc
213. lowing ranges 4 to 20 mA A D counts Processor Module Zero scale 4 Full scale 20 mA mA SLC MV146 AFC 3277 16384 ControlLogix MVI56 AFC 13107 65535 CompactLogix MVI69 AFC 6241 31206 PLC MVI71 AFC 819 4095 Quantum PTQ AFC 4000 20000 In the Meter Monitor dialog box the raw value is shown in the Last Raw column and the converted values are shown in the Scaled Avg column Page 84 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 11 Stream Options Stream 1 Options M Use meter factor to full precision non Standard Interpolate K factor else meter factor Stream enable Meters often are used for measurement of different products at different times The reasons for doing so include cost and convenience a pipeline may carry gasoline one day and fuel oil the next and accounting a plant may receive product from several different suppliers who must be fairly paid Available for firmware versions 2 05 and later the Multiple Stream feature of the AFC allows such a meter to be modeled with up to four different product streams each of which has its own set of product specific configuration parameters and accumulators A meter always has exactly one active stream which corresponds to the particular product that flows though the meter at that moment The active stream may be swit
214. lsion of crudes Liquid oil water emulsion of NGLs At the present time only pulse meters whose pulse train represents gross volume can be proved The meter to be proved has at least one process input in calibration mode Ensure that all process inputs are live before attempting to prove the meter The meter to be proved is not enabled At the present time a master meter prover must be a liquid pulse meter For a master meter prover both the line meter and the master meter must be compatibly configured including identical settings of System of measurement units US SI Liquid density units kg m3 Rd 60 API Product group Measured quantity gross volume pulses Reference conditions base temperature and pressure API calculation options selection of density temperature and pressure corrections For product group 8 Special applications the coefficient of thermal expansion Alpha Page 124 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Proving User Manual 38 39 51 52 Master meter in calibration Master meter not enabled Invalid prover parameter Invalid prover controls The master meter has at least one process input in calibration mode Ensure that all process inputs are live before attempting to use the master meter for proving The master meter is not enabled For a traditional
215. lude such things as a need to re fetch recent events that were already downloaded and committed in a previous session or to limit the amount of download To change the download parameters check the box MANUAL SELECTION in the Event Log window and make any desired changes Event Log Site name MVI Flow Station Project MVI56 MM prove Set Up Session Event Log Status First event iM tii Wallelock 2010 12 31 12 59 04 Next event to be written EZ Last event 1 259 Event count 259 Download 259 4 Next event to be downloaded jo Acknowledgement method Brief C Verbose Events nat yet downloaded EZ Poll Enable selection of a different range of events e Session E cea Session Step 2 Download to fetch all selected events Abandon Close After the parameters are set to the chosen values click DOWNLOAD Page 172 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual The requested events are fetched and displayed in the scrollable grid The events displayed in this screenshot are of changes to configuration sealable parameters ed Site name MYI Flow Station Project MV I56 MM prove Set Up Session Event Log r Event Log Status Pol First event oe V Manual selection Wallclock EGE Next event to be written EJ ount 259 Jownioad saa Ene Next event t
216. m a sample sent to a lab then it makes sense to treat itas a sealable parameter logging the change to the event log This arrangement would be appropriate for metering gas flowing from a well whose composition would be expected to change only very slowly over time if at all In this case you would keep this option cleared On the other hand an intermediate gas stream in an industrial process may undergo dramatic changes in composition over a short time The analysis of such streams may be kept up to date by repeatedly sampling it with a Gas Chromatograph and sending the results to the AFC as they arrive possibly as often as every 15 seconds Logging analysis changes to the event log would drown out other events It is appropriate in such cases to treat the analysis as process input like temperature or pressure as that is indeed what it is In this case you would keep this option checked 3 4 4 Meter Enabled When this option is selected the meter will begin processing calculations You must disable the meter by unchecking this box before you can change the meter type or product group You should also disable any meter that is not being used to allow for best possible module performance After enabling or disabling the meter click Done and then click the Write button in the Meter Configuration area To retrieve the status of a meter click the Read button in the Meter Configuration area Note The meter can also be enabled or disabled f
217. mputer User Manual 15 1 Return Material Authorization RMA Policies and Conditions The following Return Material Authorization RMA Policies and Conditions collectively RMA Policies apply to any returned product These RMA Policies are subject to change by ProSoft Technology Inc without notice For warranty information see Limited Warranty page 259 In the event of any inconsistency between the RMA Policies and the Warranty the Warranty shall govern 15 1 1 Returning Any Product a In order to return a Product for repair exchange or otherwise the Customer must obtain a Return Material Authorization RMA number from ProSoft Technology and comply with ProSoft Technology shipping instructions In the event that the Customer experiences a problem with the Product for any reason Customer should contact ProSoft Technical Support at one of the telephone numbers listed above page 255 A Technical Support Engineer will request that you perform several tests in an attempt to isolate the problem If after completing these tests the Product is found to be the source of the problem we will issue an RMA All returned Products must be shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft Technology and be accompanied by proof of purchase and receipt date The RMA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product
218. mulators laid out like those of the meter itself Computed increments are accumulated simultaneously in both the meter accumulators and those of the active stream so that each meter accumulator is always the sum of the corresponding accumulators for all four streams modulo the rollover value 3 11 1 Use meter factor to full precision non Standard If Use meter factor to full precision is clear the Meter Factor is rounded to five decimal places four decimal places for firmware versions 2 04 and earlier before being used to calculate gross volume gross pulses KF MF If the option is set the MF is used as is without rounding The API standard requires the meter factor to be rounded 3 11 2 Interpolate K factor This option bit swaps the roles of K factor and meter factor so that when this option is selected the K factor entry becomes Meter factor and the Meter Factor Linearization table becomes K factor Linearization The calculations described up to this point are those recommended by API and performed by the vast majority of users of linear meters Some users however may prefer to keep the meter factor at exactly 1 0000 and periodically adjust the K factor with a meter prove and then the K factor may depend on the flow rate 3 11 3 Stream Enable Select check to enable the current stream Unselect uncheck to disable the current stream A disabled stream cannot be made active When downloading the configurat
219. n This button stores your settings temporarily and closes the Site Configuration dialog box Note that you must also save your project before closing AFC Manager otherwise your configuration will be discarded Page 54 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Configuration User Manual 3 Meter Configuration In This Chapter Meter Type and Product Group Configuration c ccccsceeeeeeeeeenees Reference Conditions ccceeceesceeesceceneeeeeeseaeeseaeeseaeeseaeeteaeeseaeeesaees Accumulators and Flow Rates ec eesceeeeeneeeeeenneeeeeeneeeeseneeeeessaeeeeeea Meter Control Options Dialog BOX eccceeeceeeeeeeeeeeeeneeteneeeeneeseneeeeaees Archive Configuration ecceecceeeseeeseeeeeeeceaeesseeeseaeeeeaeeseaeessaeeseaeeesaees Differential Meter Configuration cceeceeeseeseeeeeeneeeeneeeeeeeeeeeeneeeenees Linear Meter Configuration ceccceseeseeeeeneeeeeeeteaeeeeeeeseaeesseeeseaeeesnees Meter Factor Linearization ecceeesseeeeeeseeeeeeeneeeeeeeneeeseneeeereneeeeneed Meter Calculation Options ccecceesceseeeceneeeeeeseaeeeeeeeseaeeeseeeseaeeenaees Process Input SCALING eeeeecceeeeeceeeeeseeeteaeeeseeeseaeeeaeessaeessatersaeensates g Stream Options s0 4 40 cick edian a bah Adar tatei teni Product Group Specific Parameters cccceeee
220. n 0 OR 2 0 6100 Oil water emulsion Crd Oil Water Emulsion gt 0 AND lt 0 6100 Oil water emulsion NGL ProSoft Technology Inc March 2 2011 Page 13 of 267 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Due to roundoff error of numeric conversions a Relative Density very close to the cutoff value of 0 6100 may cause the module to assign the new product group opposite to the one that was intended Before upgrading change the Default Reference Density to a number significantly different from 0 6100 such as 0 6110 to target Crude or 0 6090 to target NGLs You may change it back to the correct value after the upgrade Density Units API Gravity Version 2 04 Product Group Default Reference Density Version 2 05 Product Group Crude NGL 0 OR lt 100 0 Crude oils JP4 Crude NGL gt 0 AND gt 100 0 NGLs LPGs Oil Water Emulsion 0 OR lt 100 0 Oil water emulsion Crd Oil Water Emulsion gt 0 AND gt 100 0 Oil water emulsion NGL Page 14 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 1 2 Quick Start In this section you will use these basic steps to configure the module using AFC Manager Step 1 Install the AFC Manager Software page 16 Step 2 Install the Module Refer to the AFC User Manual for your module Step 3 Connect the AFC Module to t
221. n enter them all as a contiguous group but you may enter each factor flowrate pair into any of the five table entries and the AFC will sort it all out If you do not want to enter meter factor linearization data leave the first element as 1 This will set the meter factor as 1 for all flow rates ProSoft Technology Inc Page 79 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 9 Meter Calculation Options The Meter Calculation Options dialog box opens when you click the Calculation Opts button Use this dialog box to choose the required calculation parameters Note Options that are not applicable to the meter type are not enabled and cannot be selected Meter Calculation Options Downstream static pressure Taps comer Taps radius V cone Wedge device ISO 5167 2003 eke AGA 3 1992 Ei r r r r a ee ee en w 3 9 1 Downstream Static Pressure The static pressure of the gas stream may be measured either upstream of the meter before the differential pressure drop or downstream of the meter after the pressure drop Both AGA3 and AGA8 require the upstream static pressure for their calculations where upstream pressure downstream pressure differential pressure If the pressure is measured from a downstream tap typical this parameter must be checked 3 9 2 Taps Corner amp Taps Radius These optio
222. n at the Meter Configuration dialog box When the result area shows that the operation has completed successfully it means that the meter should be now disabled At this time the Meter Type and Product Group Selection parameters should be enabled Meter Type Product Group and Units Device Gas v C Differential System of units CUS si Primary Input Pulse Count C Pulse Frequency 4 Enter the New Configuration Select the meter type product group and units 5 Write the Configuration to the Module Click the Write button on the Meter Configuration dialog box 6 Enable the Meter Click the Control Opts button and select the Meter Enable checkbox Click the Write button on the Meter Configuration dialog box to write the configuration to the module Important If the meter is enabled it is not allowed to download a configuration from the local computer to the module when the meter type or product group does not match the current meter configuration at the module An Illegal Data Value warning will be generated at every configuration download attempt The only parameters that require the meter to be disabled for changing are Meter Type Product Group Units and Primary Input All other parameters can be changed at any time Page 60 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 2 Reference Conditions Measurements of gas and liqu
223. n gases and liquids including refined products Process I O Calibration Mode Allows the calibration of transmitters without interfering with the process update for the module or impacting measurement Data Archiving Hourly for 2 days for each meter run 48 records per channel Daily for 35 days Note The number of archives depends on the archive size you have configured The default values for a 30 word archive are 48 hourly archives and 35 daily archives Extended Archive feature supports up to 1440 daily archives and 1440 hourly archives stored on Compact Flash Each record consists of nearly 20 process and other variables All archived data is available in the onboard Modbus memory map User may configure when archives are generated User may configure archive content from pre defined list Archives can be exported to an Excel spreadsheet or printed to a local printer Page 220 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual Other Features Event Log with 1999 event buffer and timestamp Virtual Slave with 20 000 re mappable Modbus registers for contiguous SCADA polling Password protection 14 1 1 On line Communication amp Configuration The module is designed for online configuration via the configuration port A user friendly Windows 95 98 2000 NT XP based Module Configuration and Reporting Monitoring Manage
224. n number Select the Configuration changed password o i PLC status Site status Event log download sessions Event log download timeout Click here to edit the password eS Port 1 Port 2 Port 3 Remapping Password Poll Read Write Between 1 and 64 characters Meters Prover Done The module supports two passwords Write Enable and Read Only Each password is enabled when you write a non zero value to the corresponding register Password Holding Register Address Description Write Enable 9 Protects the module from write operations from the AFC Manager Read Only 19 Protects the module from read or write operations from the AFC Manager The following table shows how the passwords affect the AFC Manager operation depending on the values that you configure Protection Level Read Only Write Enable Read Operation Requires Write Operation Requires Password Password Authorization Authorization No protection Zero Zero No No Write Protection Zero Non zero No Yes Use Write Enable password Read and Write Non zero Zero Yes Use Read Only Yes Use Read Only password Protection password Read and Write Non zero Non zero Yes Use Read Only or Yes Use Write Enable Protection Write Enable password password Each port can be assigned to different password protection levels Refer to the Port Configuration Section for more information about this top
225. nd is not used in any calculations When density correction is not selected or an alarm causes a default to be assumed any default density at reference conditions is deemed to be at User Base and is also corrected to API Base for input to the CTL and CPL calculations Archiving and Event Log a Accumulation and data recording for gas phase archives conform to the requirements of AP MPMS Ch 21 sec 1 1993 Liquid phase archives conform to AP MPMS Ch 21 sec 2 b Event logging conforms to the requirements given in the Industry Canada Weights and Measures Board Draft Specification Metrological Audit Trails of 1995 03 01 14 2 2 Liquid Correction Factor Details For firmware version 2 05 and later correction factors for most liquids are calculated according to the 2004 edition of API MPMS Chapter 11 1 enhanced with additional CPL calculations if required in order to allow selection of a non standard base reference pressure For lighter liquids NGLs and LPGs to which the 2004 Chapter 11 1 does not apply the CTL and density correction calculations of GPA TP 27 are enhanced with the incorporation of the CPL calculations of MPMS Chapters 11 2 1 and 11 2 2 in a manner analogous to the method of the 2004 Chapter 11 1 to permit density correction to account for the effect of pressure and to yield the combined correction factor CTPL For all liquids the option is available to use the vapor pressure correlation of GPA TP 15 June 1988 For fi
226. nfiguration This action opens the Site Configuration dialog box 4 Choose the settings to apply to the site 5 When you are finished click Done and then open the File menu and choose Save As to save your project ProSoft Technology Inc Page 29 of 267 March 2 2011 Site Configuration User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 2 1 Site Configuration Dialog Box The Site Configuration dialog box opens when you open the Project menu in AFC Manager and then choose Site Configuration Use this dialog box to define the settings that apply to the Project as a whole Site name Site Configuration Parameters entered by the user 0 Virtual Modbus slave address Site Configuration Buttons 7 Field Description provides help text Meters Opens the Meter Configuration dialog box Site Configuration FC Flow Station Barometric pressure kPaa Site options Pass thru Max PLC window size Pass thru Word region size 0 Pass thrur Word region address Pots Potz rena Remove Pommera pii See Basa ee Between 1 and 64 characters oe ie Proyer Opens the Prover Configuration dialog box Site Information Firmware version revision number Configuration changed Ack Chg PLC status Site status O vert 109 download sessions 50 Event log download timeout 0 Event log download vit siv location oC Pass t
227. nfiguration Tool Meter Configuration Liquid and Gas Flow Computer User Manual Terminology Conditions Temperature amp Pressure Reference Conditions A fixed Temperature and a fixed Pressure at which a fluid s volume accumulation and volume flow rates are to be recorded Also known as Base or Standard Conditions Derives from sales contracts between parties that mandate transfer of fluids in volume units such as 100 000 gallons of gasoline at 60 F and 1 atmosphere pressure Typical Reference Conditions are o 60 F and 14 696 psia US o 15 C and 101 325 kPa Canada Europe o 20 C and 101 325 kPa Latin America Flowing Conditions The fluid s T amp P in effect at the point the initial measurement is performed DP measurement differential meter pulse counting linear meter Almost always different from Reference Conditions hence volume correction calculations are required hence the flow computer Densities Flowing Density Density at Flowing Conditions Calculations are applied to this to arrive at a Reference Density next In the AFC Flowing Density is a process input over the backplane from the Processor though if the Calculation Options Density Correction configuration is cleared its value is deemed to be at Reference Conditions regardless of process Temperature and Pressure Reference Density Density at Reference Conditions Also known as Standard Density This is a core parameter to the
228. nloading the Event Log in Firmware Version 2 05 and Earlier For auditing purposes each event has a number assigned sequentially starting at 0 for the first event written and increasing up through 65535 then wrapping to 0 again An event record properly includes its event number along with the information listed in the preceding sections To conserve space and to make transmittal more efficient the event number is not stored as part of the event record Instead the Event Log header contains sufficient information to calculate for any event its event number from the position of its record in the Log and vice versa The following procedures use these terms Term Meaning my_record Known record position Input to procedures A and C event_number Desired event number Output from procedure A Modbus_address Desired Modbus address Output from procedure C my_event Known event number Input to procedure B record_position Desired record position Output from procedure B number_of_records Maximum number of records Contents of register 40000 In this version of the AFC number_of_records is 1999 however to be compatible with future versions that may store a different number of events an application should use the value from the header instead of a constant 1999 next_record Next new record position Contents of register 40001 next_event Next new event n
229. nology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual 4 2 Setting up the AFC module for Meter Proving First configure the parameters in the Prover Configuration dialog box A Bidirectional Pipe Prover is shown in this example Note Changing prover type will reset all prover configuration Prover Configuration Prover type Sytemunts US C SI Prover tag Denatyunts C kg m3 C RAISO API a Result e Flow tube inea coef of expansion F e6 0 Bare temperare CF ee i Base peover volume at 60 F bbl E Flow habe imide diameter finches 05 Flow tube wal thickness finches 30 Flow tube modulus of elasticity psi e 8 Meter Proving dialog box This window is used to connect to the module to manage the prove and or monitor prove status and results from the Modbus database Meter Proving r Setup and Acceptance Results TB Meter number Staging Polling Poll E S Read Manual Read prove status and results from the Module O Auto Update time sec 4 Close ProSoft Technology Inc Page 113 of 267 March 2 2011 User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer vary from the example shown 1756 CFM Counter Card Meter Proving This is a typical configuration for a meter proving setup Your application may MVIS6 AFC Module ContralLogix Mod
230. non master meter prover the base prover volume register 65036 must be greater than zero and if the prover is single walled the inside diameter wall thickness and modulus of elasticity registers 65038 65040 and 65042 must all be greater than zero Some undefined bits in the at enable controls register 65306 bits 0 through 7 have been set ProSoft Technology Inc March 2 2011 Page 125 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 4 3 Meter Proving Reports Clicking on the REPORT button generates a report with such information as Manufacturer Model Number Serial Number Material Type Prover Tag Results of the prove will appear in this report along with the static data entered in the text window during setup For more information see Initial Requirements page 115 Meter Proving Master Meter x Setup and cceptance Results BEZ Meter number Meter 12 Stream 1 MMstrm 1 Runs 2 completed 2 selected 2 attempted 5 Begun 1998 01 02 23 06 Updated 1998 01 02 23 08 Accepted E Prove Enabled Factor application by stream 1 Not applied 2 Not applied 3 Not applied 4 Not applied Error Operator Readings Number of samples Apply new factor and rate to point fos 0 nearest Procena POA AANE Shift entire curve Accept Prove Readings alarms Apply to all streams Ee Meter temperature F Rej
231. ns select the minor adjustments to the AGA calculations that depend on the precise geometry of the pressure taps There are 4 different kinds of taps pipe flange corner and radius Pipe taps are obsolete addressed in the 1985 AGAS3 but absent in the 1992 version Flange taps are used in the vast majority of orifice meter installations and are used as default for the module calculation When using corner or radius taps it is required that the corresponding option be selected Page 80 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 9 3 V Cone Wedge Device A differential meter is one that measures flow rate rather than flow increment It does so by measuring a pressure drop differential pressure across a constriction in the flow tube and calculating the mass flow from the DP the geometry of the constriction the temperature and so on and a well known flow equation One type of constriction is the orifice which blocks the flow around the periphery of the tube forcing the fluid to flow through a narrower aperture in the middle The AGA3 standard specifies the calculations for this method of metering including the calculation of the orifice discharge coefficient Another type of constriction is the V cone which blocks the flow in the center of the tube forcing the fluid to flow around the blockage through the periphery of
232. nsaction Sequencing and Constraints Project Name 36 184 ProSoft Technology Product Documentation 2 MPMS Chapter 11 Tables 58 Protected Meter Proving Data in the AFC s Input Register Bank 127 N Prove Calculation Alarms 118 No Other Warranties 262 Frove enable enor Code 124 Non Resettable Accumulator 144 F rover Characteristics a Non Standard Reference Conditions 226 Prover Configuration S19 Normalization Error Tolerance 92 Prover Operation How to do a Prove 118 Prover Options 108 O Prover Phase 121 ys Spies Prover Position On line Communication amp Configuration 221 Ready for Launch 122 Orifice Differential Meter with Gas Product 239 Ready for Return 122 Orifice Differential Meter with Liquid Product 240 Valve Sealed Behind Ball 122 Orifice Include V cone Valve Sealed Behind Ball Return Leg 122 Uses AGA3 1992 ISO 5167 225 Prover Pressure 123 Orifice and Meter Tube Parameters dialog box 73 Prover Sequencing 120 Other Considerations 188 Prover size units 65018 L 110 Overall Monitor 135 Prover Temperature 122 P Prover Type 104 Proving Controls 119 Pass Thru Proving Signals 120 Bit Region Address amp Pass Thru Pulse Bit Region Size 47 Both Gas and Liquid 225 Max PLC Window Size 46 Pulse Linear Meter with Gas Product 240 Word Region Address amp Pass Thru Pulse Linear Meter with Liquid Product 241 Word Region Size 47 Pulse Frequency Integrat
233. nsitometer button to select the densitometer type 2 Configure it entering all configuration parameters directly from the calibration data sheet supplied by the densitometer manufacturer 3 Inthe Density entry of Process Input Scaling select Raw Input as 4 to 20 mA 4 Supply the frequency output from the densitometer in Hz as a floating point value in the Flowing density process input location over the backplane refer to the Backplane Interface section for your platform in the AFC User Manual for the correct location The AFC then calculates a flowing density value which is then validated by the range check mandated by the Density values of Process Input Scaling of the meter configuration The Raw Input sub selection does not determine the format of the frequency input however the frequency is always input as floating point Note If you use the Densitometer feature select the Density Process Input Scaling Raw Input for 4 to 20 mA and transmit the densitometer frequency over the backplane as a floating point value 3 13 1 Densitometer Data Dialog Box This dialog box opens when you click the Densitometer button on the Meter Configuration dialog box Choose the densitometer to use from the list of supported devices and then fill in the calibration values from the calibration sheet of your densitometer Densitometer Data Densitometer type Solartron 78xx X none e j Solartron 78xx aj Solartron 1762 Koes K1 kg n
234. nt log download sessions information from Site Configuration window you will have to re Poll the site information to see the update Event log sessions x Backplane active 7 Port 1 active I Port 2 active I Port 3 active EWE Eli Bt Committing a download tells the AFC module to purge the downloaded events that is to move its download pointer past the downloaded events and allow those events to be overwritten Event log management standards mandate that downloaded events must be saved to more permanent storage before they can be purged from the module In the earlier screenshot you can see that the Commit button is grayed out because the saving action has not yet been accomplished AFC Manager considers the events to have been saved when they have been either logged to a file or printed ProSoft Technology Inc March 2 2011 Page 173 of 267 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Click the LOG button and save the downloaded events to a text file of type log File Name Directories W WorkFiles TESTING PRODUCTS inFias b SV log TESTING PRODUCTS JinRiax QMVI56_ AFC amp Configuration List Type of File Drives Text files log S39 w Work Disk z Cancel The COMMIT button is now enabled Event Log x Site name MYI Flow Station Project Set Up Session Event Log Status Poll First event Lo IV M
235. nter the Normalization total error tolerance value and then click Done Note the sample ladder logic assumes that all components are selected so it is suggested to check all components for compatibility with the sample ladder logic Next enter the molar concentration for each component Click the Analysis button to open the Component Analysis dialog box Because the module uses the Detail Characterization Method you must enter a complete molar analysis for the gas Component Analysis Stream 1 Slot 1 Copy Analysis From Meter number WZ Stream number is C1 methane N2 nitrogen CO2 carbon dioxide C2 ethane A wn NIT ETE Return to Meter Configuration Enter the molar concentration for each component up to 4 fractional digits For example when you enter C1 Molar Fraction 0 8 It means that the methane C1 component has a molar concentration of 80 Page 90 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual Precision and Stream Analysis Analysis Configuration Component Selection Map Analysis Slot precision Stream assignment 1 sei Low High Stream1 1 Slot 1 Low precision L Sit2 Low C High Stream 2 7 Slot 2 Low precision 2 2 3 Slt3 Low C High Steam 3 3 7 Slot 3 Low precision 4 4 sits low C Stream 4 Slot 4 Low precision
236. nual 10 2 Event Log Structures The Event Log header contains housekeeping information for maintaining the Log Its layout is Address Description 40000 Number of records maximum 1999 40001 Next new record position 0 thru maximum 1 40002 Next new event number 0 thru 65535 wrapping to 0 40003 Oldest event number on file 40004 Oldest event number on file not yet downloaded 40005 40007 reserved Each event record is an 8 register quantity laid out as four 32 bit items big endian Registers Contents 0 to 1 Event Id Tag page 168 2to3 Timestamp of event In our standard packed bit field format 4to5 Old item value For a Datum Point event format depends on the datum type field of the Event Id Tag 6 to7 New item value For a Datum Point event format depends on the datum type field of the Event Id Tag Each value is right justified in its field and sign extended or padded with zeros 0 if necessary according to the source data type ProSoft Technology Inc March 2 2011 Page 167 of 267 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 10 3 Event id Tag This 32 bit field has the following structure Bits N Meaning 31 1 0 Special 1 Datum Point e g sealable parameter If this bit is clear then bits 1
237. null modem cable from the serial port on your computer to the serial port on the processor 2 Start the configuration tool for your processor RS Logix for MVI AFC modules Concept Unity or ProWorx for PTQ AFC and establish communication with the processor 3 Open the sample program in the configuration tool Adjust the slot number and processor type if necessary to match the physical configuration of the processor and the position of the AFC module in the rack 4 Download the program to the processor The sample program is located on the CD ROM in the box with your module Refer to the User Manual for your module for specific instructions on downloading the sample program Page 18 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Introduction User Manual 1 5 Connect the AFC Module to the AFC Manager You will need the correct cables to connect the AFC module to the computer running AFC Manager The null modem cable as well as any required adapter cables are included in the box with the module a 6 rrah AEA NI S Null modem Cable Included with all AFC modules Connects directly to PTQ AFC module configuration debug port all other AFC modules require an adapter cable RJ45 DB9 adapter or 8 pin mini DIN DB9 adapter supplied with module as needed RJ45 DB 9 adapter Included with MVI46 56 69 and 71 AFC modules Connects Null modem Cable to M
238. ny subsequent cold start While this bit remains clear events are not logged allowing an initial configuration to be fully completed without filling up the event log ProSoft Technology Inc Page 33 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Checksum Alarm A checksum alarm indicates a checksum verification failure during power up Non volatile information is kept in battery backed RAM It is partitioned into several blocks each of which contains a checksum and when the information is changed the checksum is updated also During power up the checksum is verified and upon failure the alarm bit is latched and the checksum corrected Refer to Checksum Alarms page 217 to verify the source of the alarm and then clear it The alarm bit remains latched even through subsequent power cycles until it is explicitly cleared from outside PLC Halted Offline or Missing Set while backplane communication is faulty which typically occurs when the PLC is switched to program mode While set measurement does not occur Upon resumption of backplane communication the module compensates for the downtime by computing an accumulator increment in a manner that depends on the meter type For differential orifice meters and meters configured for flow rate or pulse frequency integration the first measurement scan acquires a scan period equal to the period of downtime as
239. o be downloaded a Acknowledgement method Brief C Verbose Events not yet downloaded EJ Session Open ID tag Description Timestamp Old value New value a 0 10F0400h Mt01 pres in temperature lo 2010 12 31 12 50 44 15 40 10F0401h Mt01 pres in temperature hi 2010 12 31 12 50 44 15 100 3 810F0411h Mt01 pres in pressure hi 2010 12 31 12 50 44 0 100000 _3 810F0412h Mt01 pres in pressure df 2010 12 31 12 50 44 0 100 4 810F0421h Mt01 pres in prim input hi 2010 12 31 12 50 44 0 1000000 5 810F0422h Mt01 pres in prim input df 2010 12 31 12 50 44 0 500 6 810F0431h Mt01 pres in density hi 2010 12 31 12 50 44 0 2000 7 810F0432h Mt01 pres in density df 2010 12 31 12 50 44 0 800 8 810F0441h Mt01 pres in water hi 2010 12 31 12 50 44 0 100 9 810F0442h Mt01 pres in water df 2010 12 31 12 50 44 a 10 811F0140h M0151 Kfac 2010 12 31 12 50 46 1 50000 82090100h Mt02 class device amp eng units 2010 12 31 12 50 46 a 1 82010101h Mt02 class product 2010 12 31 12 50 46 0 2 13 820B0300h Mt02 options calculation 2010 12 31 12 50 46 7424 16256 v C Details of downloaded events Save Session Data Exit Session Step 3 Log or Print to save Log Print Con Abandon Close downloaded events The Download action opens an Event log sessions window which will be closed only when either a it is Committed or b it is Abandoned or c it times out due to no activity this can be seen by viewing again the Eve
240. ocal PC and the module match If the Molar Analysis Write and Read buttons are currently disabled it indicates that the AFC Manager does not acknowledge that the current module meter configuration and the local PC component selection files are equal In this case the buttons are disabled as shown in the following illustration i Result In order to enable the Read and Write buttons the component selection on the local PC and on the module must be the same In order to accomplish this you can perform a Read Meter Configuration then change your analysis and then Write it After both component selections are identical the Read Write molar analysis buttons should be enabled Reads the component analysis configuration Writes the component analysis configuration Read from the AFC module Result from the PC to the to the PC O AFC module Page 92 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual After the molar analysis buttons are enabled you can transfer the analysis between the module and the local PC The Result area contains the transfer process result Message Description Success Transfer was successfully completed Time out Transfer was not completed Verify the cables and the port communication parameters Illegal Data Value He values entered are not acceptable Make sure the values have a vali
241. ol Contents Liquid and Gas Flow Computer User Manual 3 10 2 ale e lor peepee ere E E E E A cone err re erereer A ee pecerr eee rere 83 3 10 3 BEE AE T E E O E E O sci de cues beak pede E Saeegilses 83 3 10 4 BRAWO aia aE E T E EA a 84 3 11 reiter olol EE AAE E E A T 85 3 11 1 Use meter factor to full precision non Standard cccecceeeeeeeeeeeeeeeeeeeeeesneetens 86 3 11 2 Interpolate K fACION s i a T ssh ioihasantig see shdieh deedeees 86 3 11 3 tream Ena En a l a e aia a a len hlenngvees chia eh a shige Ea AE cael ahead 86 3 12 Product Group Specific Parameters ccccccccccceeeceeseeeeeeeeeeeeeeseeeeeeeeeseaeeeseaeeseas 87 3 12 1 Gas Product OVErViewW ccccccecceceeeeeceneeeeeeeeseneeeeaeeseaeeseaeeesaeeseaeeseaeessneeseeeeeteaeess 87 3 12 2 Gas Specific Parameters and Component Analysis Molar Analysis Configuration89 3 12 3 Liquid Product Overview ccccececeeeeeeeeeeeeaeeeeeeeeseaeeseaeeesaeeseaeeseeeeseaeeseeeeseaeesas 94 3 12 4 Liquid Specific Parameters and Densitometer Configuration cccesceeeereees 95 3 13 Densitometer Configuration cccccccceeeceeeeeeeeceneeceneeeeeaeeseeeeeseeeeseaeeseeeeeseieeseeeeess 101 3 13 1 Densitometer Data Dialog BOX eeeceeeseeeeeeeneeeeeeeeeeeeeeeeeeeeeaeeeeeeeeeeeeeeeeeeeneaes 101 3 14 Copying a Configuration From a Meter cccccceceeeeeeeeeeeeeeseeeeeeeeeseaeeeeneeeseeeetas 102 4 Meter Proving 103 4 1 Prover Configurat
242. ollovers Meter parameter value Analysis precision stream assignment Densitometer Stream Stream options Stream parameter value Meter factor curve Analysis mole fraction Ushort Analysis mole fraction Float ProSoft Technology Inc March 2 2011 Page 229 of 267 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 4 Wedge Meter Applications For Wedge Meter applications you must convert some parameters from the meter manufacturer s data sheet before entering these values to the AFC Manager The following spreadsheets can be used to calculate the AFC Manager parameters according to the meter manufacturer as follows Filename Application WEDGE_ABB xls ABB Wedge Meter WEDGE_PRESO xls PRESO Wedge Meter You must initially configure the meter as a differential type Then you must configure it as a V Cone Device Meter Configuration Calculation Options Refer to the spreadsheet for instructions on how to enter the correct values into AFC Manager Page 230 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 5 Configurable Archive Registers The following table shows the possible registers that can be included in the archive definition Use the Insert and Remove buttons on the Ar
243. om record position 1 Calculate number of events on file events_on_fil next_event oldest_event AND 0x0000FFFF 2 Determine whether desired record is on file ProSoft Technology Inc Page 203 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer IF my_record lt 0 OR my_record 2 events_on_file THEN record is not on file EXIT this procedure 3 Calculate Modbus address Modbus_address my_record 8 40008 Procedure D Download all events not yet downloaded The downloading application should download the entire Log starting at the oldest event not yet downloaded and extending through all newer events 1 Fetch event number of oldest event not yet downloaded downloadable_event oldest_not_downloaded 2 Determine whether any more events remain to be downloaded IF downloadable_event next_event THEN all events have been downloaded EXIT this procedure 3 Download this event a Calculate record number my_event downloadable_event record_position via Procedure B b Calculate Modbus address my_record record_position Modbus_address via Procedure C c Download the event with Modbus Set Modbus Function Code 4 Read Input Registers Set Modbus Number of Registers 8 Set Modbus Register Address Modbus_address Execute Copy the returned data to permanent storage 4 Step to next event and loop
244. on is not to be changed and all other items are ignored Default values are 6 for the bitmap 9600 N 8 1 RTU slave primary noswap passthru and 0 for the timeout and both delays The message transmission procedure is Raise RTS f TmoC is zero ignore CTS else wait up to TmoC clock ticks for CTS Delay for Dly1 clock ticks Transmit message Delay for Dly0 clock ticks Drop RTS Page 248 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 9 Startup Basics and Frequently Asked Questions The Automatic Flow Computer AFC is a powerful rack flow computer solution for PLC platforms The design intent of the module is to simplify the setup and maintenance of a meter installation With this in mind the sample ladder logic was created to accomplish the following Pass meter run variables to the module Return meter results to the processor Allow individual meters to be enabled or disabled Allow resets of individual meter runs Allow transfer of a new gas analysis to an individual meter run Actual meter setup includes units of measure setup range checking for input variables and the type of meter being used This setup is handled by the AFC Manager software The intended design is to have the processor only handle the variables of an actual process and the AFC Manager handle the setup and configuration of necessary m
245. onfiguration Tool Site Configuration Liquid and Gas Flow Computer User Manual Pass Thru Word Region Address amp Pass Thru Word Region Size These two parameters define the Pass Thru Word Region located in the Virtual Modbus Slave The region starts at the address configured by the word region address parameter and its range is defined by the Pass Thru Word Region Size parameter Virtual Modbus Slave Pass Thru Word Region Address SA Pass Thru Word Pass Thru Region Size Word Region Modbus Master Command Function 6 or 16 The first 100 words in the Virtual Slave are reserved Therefore the pass thru region address value must begin no lower than word 100 By configuring a Pass Thru Word Region Address of 20 000 or greater you may avoid any reduction of the remappable address space of the Virtual Slave Pass Thru Bit Region Address amp Pass Thru Bit Region Size These two parameters define the Pass Thru Bit Region located in the Virtual Modbus Slave The region starts at the address configured by the Bit Region Address parameter and its range is defined by the Pass Thru Bit Region Size parameter Virtual Modbus Slave Pass Thru Bit Region Address Pass Thru Pass Thru A me Bit Region Size Bit Region N i Device Modbus Master Command Function 5 or 15 ProSoft Technology Inc Page 47 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid an
246. only the use of Session ID 0 requires non standard tweaking of the Modbus command packets of Fetch transactions hence applications that cannot perform such tweaking are limited to the use of Session ID 0 and the non Collapsed acknowledgement methods All session transactions except Fetch are Modbus writes in those the Session ID is included as an element of the written data Fetch transactions are Modbus reads which contain no data in their command packets in those the Session ID and if used the Collapsed Acknowledgement are encoded in the high order 9 bits of the number of registers field so that Bits 0 thru 6 contain the true number of registers which 7 bits are for holding register access sufficient to carry any value that is valid according to the standard Modbus protocol Bit 7 is used for the Collapsed Acknowledgement Bits 8 thru 15 contain the Session ID The tweaking of the Modbus read command packet is performed before calculation of the CRC or LRC See Sections 6 and 7 for more detail All Modbus transactions of a log download session whether read or write address offset 0 of the LDW either to its Primary Slave location of 65400 or to its Virtual Slave mapped location configured by Ph00147 hence validation of Session ID and recognition of tweaked Modbus command packets are performed only for commands that address that location Any attempt to address any other offset into the LDW is rejected with a Modbus excep
247. ontrol Options Split double pulse input Split double accumulators Treat analysis as process input r r r r 15 Meter enable 3 4 1 Split double pulse input If set the input from the pulse counter module is deemed to arrive as a split double value in which the actual value is MSW 10 000 LSW If clear the pulse input is interpreted as a full 32 bit integer 3 4 2 Split double Accumulator If this option is clear the accumulator totalizers are treated as unsigned 32 bit binary numbers with any carry out of the low order 16 bits being added into the high order 16 bits If this option is set then the totalizers are split with the low order half rolling over from 9999 to 0000 at which time the high order half is incremented A 32 bit value is more suited to computation and has a greater range than a split value whereas a split value is easier to read when it is represented as a pair of 16 bit numbers as in a PLC data file Page 64 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 4 3 Treat analysis as process input When this option is selected the module will treat the analysis as a process input which means that the module will not generate events when the molar concentrations change If an analysis is manually entered for example once per month after receiving the results fro
248. or an analog module in the local rack meters and view archives and events You can configure each meter in the local computer saving the configuration as a AFC file and then download the file to the module Later you can adjust specific meter configuration parameters without downloading the entire project this is accomplished using the Write button in the Meter Configuration dialog box You can also transfer the current configuration from the module to the local computer by uploading the current configuration AFC Module AFC Manager Read _ oOCOCOC Write D Site Configuration Meter Configuration Modbus Master ooo l AFC Module AFC Manager Read i a Overall Monitor oO Meter Monitor O Archives Event Logs U Audit Sean Page 12 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Introduction User Manual 1 1 Update Notice If your module measures liquids please read this notice before upgrading from version 2 04 or earlier to 2 05 or later For compliance with new measurement standards the AFC version 2 05 has introduced several new liquid product groups In particular the two non refined liquid product groups of version 2 04 which covered the entire density range of crudes and NGLs have each been split into two separate product groups one for the higher density range of crudes and the other for the lower density range of NGLs If
249. or pul CFI Accumulators Meter x Result E Meter Stream Active Totalizer Resicue Reset Greve MMF o Nea MC onoono Flick the hax nr press any keyfni detz E IMETU reay ononon Close Print Log Ee as romana 1 Net MMCFI Ey Accumulator dialog box 2 Bross MMCF uA 4 Mass Ib 0 0000000 B ET rs Page 144 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Monitor Liquid and Gas Flow Computer User Manual 7 3 Flow Rate Monitor You can monitor the flow rate values at any time The flow rate units will be the ones you selected in the Meter Configuration dialog box ProSoft Technology Inc Page 145 of 267 March 2 2011 Meter Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 7 4 Input Data Monitor The processor constantly updates the input data values You can verify these values as shown below CLICK HERE to open the Input Data dialog box Meter Monitor Site Nane Proiect AFC_DUIMEX Meter Tag MAET Active Stream EE 2007 07 16 14 25 32 Walleock 12978 Scan counts input calc 16 23546 Mola mess of mitura Select Meler Wete nunber Accumuatois 0 5605673 Ideal gas relative density Polling Flow rates o561434 Relalive dersity at reference Read C Mawa Process inputs 4 296604E 02 Reference dansky Ib cf C Aulo joo20h t process inputs xy
250. or implied that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser s intended use or requirements the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software b This Warranty does not cover the failure of the Product to perform specified functions or any other non conformance defects losses or damages caused by or attributable to any of the following i shipping ii improper installation or other failure of Customer to adhere to ProSoft s specifications or instructions iii unauthorized repair or maintenance iv attachments equipment options parts software or user created programming including but not limited to programs developed with any IEC 61131 3 C or any variant of C programming languages not furnished by ProSoft v use of the Product for purposes other than those for which it was designed vi any other abuse misapplication neglect or misuse by the Customer vii accident improper testing or causes external to the Product such as but not limited to exposure to extremes of temperature or humidity power failure or power surges or viii disasters such as fire flood earthquake wind and lightning c The information in this Agreement is subject to change without notice ProSoft shall not be liable for technical or edi
251. ormat Modbus Master Set Port Set Transaction seeria pa Gemtaa com 6 gt 3600 Time Out ms Manual C Auto Parity Function i None Even Odd Read C wite eee nels R Register Mode Data Stop RTU C 7Bits 1Bit Holding Registers C ASCII 8Bits 2Bits Page 206 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Modbus Database Liquid and Gas Flow Computer User Manual 12 Modbus Database In This Chapter AFC Modbus Address Space cccceesceeeeeeeeeeeeeeeseeeeeeeeseeeeeneeeneeeensas 206 Modbus Dictionary Dialog Box Modbus Map ccceeeseeeeeseeeees 207 The module supports two individual Modbus slaves Primary and Virtual to optimize the polling of data from the remote SCADA system or from the processor through the backplane Refer to the Modbus Dictionary dialog box in AFC Manager for information about Modbus addressing ProSoft Technology Inc Page 207 of 267 March 2 2011 Modbus Database AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 12 1 AFC Modbus Address Space Addressable Modbus registers are divided into four banks as shown in the following table MODBUS Address Space Allocation Total Modbus Registers 131 072 Primary Slave Banks Virtual Slave Banks 131072 registers 20 000 registers Holding Registers Input Registers Holding Registers Input R
252. other length constitutes an error Note that a read of 0 events is permitted so that the LDW header can be inspected without changing the session s dynamic context however such a fetch must still be acknowledged in the manner described next The response is a block of the requested length formatted as described in Section 6 whose second register at offset 1 is the current value of the SDP Acknowledge Transaction There are four methods of acknowledgement three of which may be used at any time and a session need not use any one consistently even when repeating an acknowledgement that has apparently failed 1 Collapsed method This method embeds the acknowledgement of the previous Fetch transaction into the next Fetch transaction as described in Section 5 A Collapsed Acknowledgement bit value of 1 acknowledges the previous Fetch a 0 if the previous Fetch has not been explicitly acknowledged by one of the other methods elicits a repeat of the previous block of events The Collapsed Acknowledgement bit of the first Fetch of a session must be 0 2 Brief method Issue a Modbus write of a single register to offset 0 of the LDW specifying function Acknowledge Fetch 0 with the correct Session ID Use this method to conserve bandwidth when use of the Collapsed method is not possible 3 Verbose method Issue a Modbus write of 4 n 8 registers to offset 0 of the LDW that echoes the complete data block read by the Fetch transaction exce
253. performed upon the run level readings if calculation method average meter factor was chosen Page 128 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual The Latest Prove Results area has a fixed layout so that any point can always be found at the same location regardless of setup and with a collection of points intended to be sufficient for a variety of setups Consequently many points will be irrelevant for a given combination of prover configuration meter configuration and prove setup Those irrelevant points will have zero values in the Results area and can be ignored AFC Manager s Meter Proving window does not show irrelevant points ProSoft Technology Inc Page 129 of 267 March 2 2011 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 4 4 2 Meter Previous Prove Summary This area contains summary data for the previous prove of each of the AFC s meter runs Each time a new prove is enabled and before the Prove Results area is reset summary prove information for the meter previously proved if any is copied to the meter s Previous Prove Summary block overwriting the old information This area supplies a small amount of the information presented in the proving report The Previous Prove Summary block for each meter occupies 50 registers Meter 1 s block begins at input register 61
254. phs using the calculations of the 1980 edition of MPMS Chapter 11 1 In all cases the density input to the calculations is the density at standard API base conditions Temperature Correction Factor CTL First the standard factor CTL Flowing ApiBase is calculated except that the final rounding step is not performed Then CTL UserBase ApiBase is calculated also unrounded The CTL Flowing UserBase is then calculated as CTL Flowing ApiBase CTL UserBase ApiBase to which result is applied the final rounding step of the standard CTL calculation Page 226 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual Pressure Correction Factor CPL The CPL Flowing UserBase is calculated according to the method given in MPMS Ch 12 2 1995 In order to correct density at reference to User Base conditions and also when iteratively calculating corrected density for the effect of elevated pressure the CPL Flowing ApiBase unrounded is also calculated according to the same method Density Correction The density at API Base is determined according to relevant standards which density is used as input to the CTL and CPL calculations The density at User Base is determined by multiplying den ApiBase by the term CTL UserBase ApiBase CPL Flowing ApiBase CPL Flowing UserBase all unrounded factors this density is reported only a
255. pletion or otherwise fails due to problems such as loss of communication a timeout is implemented that automatically abandons the session closes it without completion after a short period of inactivity all Modbus transactions for the session must occur at a rate faster than this timeout for the session to be completed successfully One dynamic context is maintained for each port permitting multiple hosts to perform download sessions simultaneously see Section 8 for more on this The backplane is deemed to be port 0 so that a session may also be performed by the PLC via the Modbus Gateway feature To ensure maximum possible security strict constraints are placed on the sequencing addressing and lengths of all Modbus transactions for the session Violation of these constraints causes the offending transaction depending on its nature to be either rejected with a Modbus exception code or accepted but ignored in no case does an offending transaction cause change of state in the AFC Page 178 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 5 2 Data Elements Modbus Points Point in Mandatory or Value Description Modbus Table Optional slave Mandatory P Primary Slave i V Virtual Slave register bank Mandatory h holding registers i input registers register Mandatory nnnnn A register address has
256. pletion Phase 177 186 Enor Recovena 187 Component Analysis Molar Analysis Dialog Box 89 Event Id Tag j 67 168 Compressibility Factor F 228 Event Log Structures 167 ProSoft Technology Inc Page 263 of 267 March 2 2011 Index User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Event Log Unlocked 45 Event Numbers 202 Event Log Process Input Range Alarms 45 Events 165 Event triggered Archives and Accumulator Resets 169 Example 43 Example 1 243 Example 2 243 Expired Events 188 F Fetch Transaction 185 Firmware Version Number 31 Flow Rate Integration with Gas Product 241 Flow Rate Integration with Liquid Product 242 Flow Rate Monitor 145 Flow tube inside diameter mm 65038 111 Flow tube linear coefficient of thermal expansion 65032 111 Flow tube modulus of elasticity 65042 112 Flow tube wall thickness mm 65040 111 FR Alarm Threshold 74 FR Flow Threshold 74 Frequency Alarm Threshold Hz 77 Frequency Flow Threshold Hz 77 Full Scale 83 G Gas 225 Gas Product Overview 87 Gas Pulse Measurement 225 Gas Specific Parameters and Component Analysis Molar Analysis Configuration 89 General Specifications 220 H Hard Password 51 Hard Passwords 35 45 Hardware Specifications 223 Hide Primary Slave 49 Holding Registers 208 How does the AFC Manager transfer
257. pping any density correction that might be configured For liquid meters the density at flowing conditions is combined with the temperature to calculate a density at standard conditions used in all further calculations ProSoft Technology Inc Page 81 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 9 6 Density Correction Hydrometer Correction Temperature Correction amp Pressure Correction You should consider these options to select or unselect MPMS Chapter 11 calculations for liquid measurement depending on the requirements of the project For example if flowing density is manually entered directly from the reading of a glass hydrometer containing a sample of the fluid the Hydrometer Correction for the expansion of the glass due to temperature would be required On the other hand if the meter already provides a temperature corrected pulse train it would be an error to perform Temperature Correction a second time 3 9 7 Vapor Pressure Via TP 15 Technical Paper 15 API specifies that the pressure correction factor CPL which corrects the measured volume for the effect of pressure must correct to standard pressure or equilibrium pressure whichever is higher In US units standard pressure for liquids is 14 696 psia one atmosphere at sea level and standard temperature is 60 F This works well for liquids such as gasoline and crudes but l
258. provide significant protection against inadvertent infringement of this condition ProSoft Technology Inc Page 187 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 One host must be the Active host performing the Completion phase that updates the AFC s event log state download pointer All other hosts must be Passive failing to Complete their sessions but instead Abandoning them If this condition is disregarded so that multiple Active hosts perform simultaneous sessions each ending with the Completion phase the AFC s Event Log which is global manages any updating of the download pointer and posting of the Download event in a globally consistent manner but each host cannot be sure that the Download event written upon Completion if any is exactly what it expected 4 Each host must in one way or another have access to its own long term download context which is the number of the earliest event not yet downloaded by that host All Passive hosts must maintain this context locally The Active host may let the AFC maintain its long term context using the download pointer in the event log header for this purpose in such a case the same host must always be the Active one If however each host regardless of role maintains its own long term context the role of Active host may be passed around among hosts 5 All hosts must perform download sessions sufficiently often so th
259. ps K2 kg m us K18 C K19 kg mr C et ra K21a kg n bar rat tara Select densitometer type OTE Change resets all parameters Done ProSoft Technology Inc Page 101 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 3 14 Copying a Configuration From a Meter For projects where more than one meter uses the same or similar configurations you can copy the configuration from one meter to another To copy a meter configuration 1 Inthe Select Meter panel of the Meter Configuration dialog box select the number of the destination meter the meter that has not yet been configured 2 Inthe Copy Config From panel of the Meter Configuration dialog box select the number of the source meter the meter that has already been configured 3 To copy the meter configuration and meter analysis click Copy This action copies the entire meter configuration except the Meter Tag the PLC Image assignments PTQ AFC only which retain their existing values You may then edit the copied configuration for any differences specific to the meter Page 102 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Proving User Manual 4 Meter Proving In This Chapter Prover Configuration si eenei en eieaa ia aAa a To raa eia 104 Setting up the AFC module for Meter Proving
260. pt for insertion of the correct Session ID The AFC verifies that all register values except those at offsets 0 and 3 of the LDW header are the same as were transmitted Use this method for greater confidence of acknowledgement when bandwidth is less of a concern 4 Implicit method The final Fetch transaction of a session can be implicitly acknowledged by the Completion phase 7 3 next Because of the potential for undetected data corruption with the LRC of ASCII mode only the Verbose method is recommended for an ASCIl mode Modbus channel A successful F amp A cycle adjusts the session s dynamic context as follows A The SDP is advanced by the number of events returned by the fetch transaction B If at any time the SDP reaches the FDP the FDP becomes locked to the SDP thereafter tracking the SDP so that it keeps the same value until the end of the session This ensures that any update of the download pointer in the event log header during Completion 7 3 next is done only when it is guaranteed that all newly downloaded events have been retrieved by the host ProSoft Technology Inc Page 185 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Completion Phase This phase commits a session by determining a final FDP for the event log header closing the session and discarding the dynamic context If the value of the final FDP differs from its original value in the event
261. quirement This feature allows each port to have a different access level as shown in the following table Port Waiver Configuration Read Operation Requires Write Operation Requires Authorization Authorization None Yes Yes Read Only No Yes Read Write No No Note 1 The waiver is effective for both hard and soft passwords Note 2 The backplane Modbus Gateway always has a read write waiver so that the processor has full unrestricted access regardless of any passwords or hard soft configuration 2 4 2 Remapping Button Refer to the Primary amp Virtual Modbus Slaves Configuration section ProSoft Technology Inc Page 49 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 2 4 3 Security Passwords The passwords are intended for interrogation by application software in order to verify an operator s authorization to make configuration changes and to view measurement results The passwords are resident in the module so that different operators using different copies of the application software must use the same password Passwords cannot be retrieved in Hard Password mode The password protection is not used by default Passwords can be numbers between 32768 and 32767 For example 1234 A password of 0 zero is interpreted as No password present Site Configuration Site name AITE Serial number Firmware version revisio
262. r Primary Slave Elements These elements comprise configuration and status items required for the implementation as well as the Log Download Window LDW itself If a host must access only the Virtual Slave for a log download session these points can be mapped to the Virtual Slave using the existing mapping functionality As accesses to the LDW are severely restricted every Modbus transaction to the LDW must be addressed to offset 0 of the LDW a shortcut mapping is available that maps the entire LDW with a single data point Log Download Window LDW Allocation This is a block of 116 registers beginning at Primary Slave holding register 65400 and having a predefined layout See Section 6 for the layout of this window See Section 4 for how this window when mapped to the Virtual Slave is coordinated with other components of the Virtual Slave Site Configuration Items 1 Event Log Download Session Timeout Configuration word at Ph00146 This timeout is in seconds which must be at least 5 and may not exceed 300 5 minutes Default value is 60 1 minute 2 Virtual Slave LDW Location Configuration word at Ph00147 This is the address in the Virtual Slave s holding register bank of the first register of the LDW This value need not be limited to the 9900 register range of the mappable Virtual Slave but may be located anywhere in the Virtual Slave s address space from register 100 up to 65420 which address places the last register of
263. r Bringing Suit e 262 Time Word 237 Timestamp Date and Time Format 237 Transferring the Analysis 92 Treat analysis as process input 65 Troubleshooting AFC Manager Connection Problems 21 U Unidirectional Pipe Prover 105 Units US or SI 59 Update Notice 13 Upgrading from a Previous Version of AFC Manager 17 US units 228 Use meter factor to full precision non Standard 86 Using AFC Manager 23 V Vapor Pressure Via TP 15 82 Variation Limit Alarms 117 V Cone Wedge Device 81 V Cone Discharge Coefficient 73 Verifying Correct Operation 15 28 Virtual Modbus Slave Address 36 Virtual Slave 27 214 Virtual Slave Example Application 214 Virtual Slave Precedence Relations 181 Viscosity 73 Ww Water Content of Liquids 226 Wedge Meter Applications 222 230 What are the accumulator s totalizer and residue values 252 What Is Covered By This Warranty 259 261 What Is Not Covered By This Warranty 260 What is the difference between Net Accumulator and Gross Accumulator 252 What is the password used for 251 What is the Virtual Modbus Slave 250 What is the Wallclock 253 When are the archives generated 253 Why can t the AFC Manager connect to the module 250 Why do have to enable or disable a meter 250 Why do receive an Illegal Data Value warning when try to write a meter configuration or download the entire con
264. r Report file containing the Overall Monitor Data ProSoft Technology Inc Page 135 of 267 March 2 2011 Overall Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer To read data from the module 1 Select the Meter Number In the Select Meter panel enter the meter number that will be displayed on the left The dialog box shows two meters at once so the consecutive meter will be displayed on the right 2 Select the Polling Mode The Polling Mode determines how frequently the data will be updated from the module o Manual the data will be read once o Auto the data will be updated periodically Enter the number of seconds between each update operation in the Update Time sec field 3 Click the Read Button After selecting the Polling Mode click the Read Button to read the current meter data from the module 4 Look at the Result Area for the read operation status Status Description Transmitted The read operation has commenced Success The read operation has completed Timeout The operation was not completed due to communication problems Check the cable and communication parameters It is essential that the communication parameters in the local PC are the same as the current module meter configuration If the read operation has been successfully completed but the output data calculated by the module does not seem to update correctly follow these steps Perform two cons
265. r allows easy access to all configuration data for editing and saving on your computer Project configurations may be uploaded downloaded and saved to disk under user selectable filenames The module takes just minutes to configure using the MS Windows based AFC Manager 14 1 2 Reports Event Log Report All security sensitive configuration data for example orifice diameter is date and time stamped and mapped to the local Modbus memory map This data can be imported into any spreadsheet program and saved to disk or printed to a local printer Hourly and Daily Archive Reports Mapped to local Modbus memory This data can be imported into any spreadsheet program and saved to disk or printed as hard copy System Configuration May be transferred to or from the module The configuration file can also be printed for hard reference or archiving Audit Scan A report can be saved to disk or printed to the local printer 14 1 3 Modbus Interface The two Modbus Slave ports allow the unit to be used as a SCADA interface and to broaden access to the AFC module s data table Ports 2 and 3 support RS 232 RS 422 and RS 485 modes Supports baud rates of up to 19200 baud All ports may be configured for RTU or ASCII Modbus mode All Modbus Slave ports provide access to all configuration and measurement data mapped to the Modbus table Module contains two internal slaves Primary and Virtual Over 130 000 Modbus registers o
266. r between 75 and 500 C D ero scale lt Default lt Full scale won The process input variables available for gas products depend on the meter type differential or linear and the primary input type ProSoft Technology Inc Page 93 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer For scaled integer process input scaling the module requires the following data formats Scaled Integer Variable Format Example Temperature Two decimal places implied A value of 1342 would be equivalent to 13 42 C Pressure No decimal places implied for A value of 200 would be equivalent the SI units kPa and one to 200 kPa decimal place implied for the U S units psi Differential Pressure Two decimal places implied for A value of 35142 would be inches of H2O and three places equivalent to 35 142 kPa for kPa Flow rate No decimal places implied for A value of 102 would be equivalent the SI units or US units To to 102 lb hr obtain desired precision choose appropriate Primary Input Characteristics 3 12 3 Liquid Product Overview The module supports applications involving crude or refined oil such as crude oil oil water emulsion propane butane NGLs LPGs gasoline jet fuels and lubricating oils When measuring liquids with density correction density at flowing conditions is required This value may be provided directly as
267. r depends on flow rate according to the linearization table the AFC performs a second iteration of the interpolation in order to obtain an accurate meter factor Meter Configuration a x Meter 1 Meter Tag Accumulators and Flow Rates Energy Mass Meter Type Product Group and Units Volumes Select Meter Meter number rsa z Gas a ferential eine Flow tte us Meter Disabled System of units Accumulation Copy Config From 100000000 e Accumulator Meter number us sI Primary G Sion C Pulse Frequency K factor Characteristics Measured qua hour Flow rate period unit Rates as m3 h Read Write Result No Meter factor Flow rate Identification Hefesonce Conditions Flow input unit Reference temperature C 101 325 Reference pressure kPaa 5 e 0 or a number between 0 1 and 1 0e8 Done al Up to 5 pairs of meter factor gross volume flow rate At least one meter factor must be non zero If the meter factor is zero the flow rate must also be zero Ai Linear Meter Pulse Count Process Input 0 Frequency flow threshold Hz Control Opts fo Frequency alarm threshold H2 Archive Config b Flow rates for non zero meter factors must be all different 6777216 Pulse input rollover Interpolation of this table over gross volume flow rate yields the actual meter factor on to open the Meter Factor Gas Linear Meter Pulse Count E dialog
268. r logic if the Wall Clock is not updating Determine if the meter has an alarm If the Meter Tag background is red it indicates that the meter has at least one alarm The alarm typically indicates that an input is invalid or that that there is some configuration error that would potentially affect the calculations Refer to Alarm Monitor page 147 to determine which alarm is currently set Determine if the meter is currently enabled If you are online to a disabled meter the meter tag is black If the meter is disabled the module will not perform the calculation for that meter Refer to Meter Configuration for more information about enabling and disabling a meter Look at the process input variable ex temperature pressure and so on Verify that the variable values displayed on the Process Inputs subwindow subsection Input Data Monitor in this chapter match the actual values transmitted by the processor If the values do not match look at the ladder logic in order to verify that the data is being transmitted correctly Refer to the module s user manual for more information about the Process Variable function Page 140 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Monitor User Manual 7 1 Print the Report Click the Print button on any type of report to send a copy to your default printer The following example shows a typical report
269. r resets see next Description Lists The event name identifying its triggering condition Contents and meaning of the old and new value fields Relevant additional information For the Data Point page 193 page 192 page 196 events columns are Group Group code Sbgp Subgroup code Item Item code Dtyp Datum type code mnemonic Rkv Effect on archives and accumulator resets See next Datum point The corresponding writable Modbus point In these tables the Rkv columns specify how archives and accumulator resets are scheduled upon occurrence of the corresponding loggable events Column values are Value Meaning 7 Upon this event archives and resets are scheduled according to the configured event Archive Options provided that the applicable meter s is are enabled Applicable meters depend upon the event class a Special non meter specific and Site Datum Point events All meters b Meter events including meter specific Specials The addressed meter c Stream events The addressed meter provided that the addressed stream is active Scheduled archives are always written before completing any change to data or module state implied by the event this ensures that the data contributing to an archive is limited to that which was available before the event This event has no effect on archives and resets n Upon this event archives and resets are schedul
270. r to Site Configuration page 29 for more information on configuring these options The following example describes the basic procedure to use the Modbus Master feature 1 Configure the communication parameters 2 Set the Primary or Virtual Modbus Slave Address configured in the Site Configuration section gt 0 3 Set the Time Out value If the module does not respond within this period it will time out 4 Select the function type o Read reads from the module o Write writes to the module Select the register type Holding Register or Input Register Enter the offset address in the Primary or Virtual Slave Enter the number of registers to transfer Choose the display format If writing enter into the data panel the values that you want to write 0 Click Send Cmd to execute the read or write operation 1 If reading the values read from the module are displayed in the data panel of the dialog box ONO Ol ProSoft Technology Inc Page 205 of 267 March 2 2011 Modbus Master AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer This example shows Holding Registers 0 zero and 1 containing the values 17973 and 18228 respectively these values are fixed for the module type and in this case the module has identified itself as a four stream sixteen meter MVI56 AFC Because the 32 bit Display parameter is configured as Floating Point the 32 bit display shows the value in floating point f
271. rable Archive Registers 231 Configurable Options 222 Configuration Changed 31 Configuration Download 15 132 l ndex Configuration Upload 133 Connect the AFC Module to the AFC Manager 15 19 Contacting Technical Support 255 257 A Controlling Law and Severability 262 g Converting a Project 25 pea aie osts 187 Copying a Configuration From a Meter 102 f Correction Factors According to Product Phase 225 Accessing the Data 39 Create the File Report Loa File 137 Accumulator Monitor 143 reate the File Report Log File Accumulator Rollovers 63 D Accumulators and Flow Rates 62 Ack Chg Button 54 Data Elements 179 Acknowledge Transaction 185 Data Polling With Virtual Modbus Slave 37 AFC Modbus Address Space 208 Data Polling Without Virtual Modbus Slave 37 AFC Released 33 Date Word 237 Alarm Monitor 140 147 Default 83 Allocation of Risks 262 Default CPL 96 Analyses are packed in the module 46 Default CTL 96 Analyses are packed over the backplane 46 Default Reference Density 96 Archive Configuration 67 Default Vapor Pressure 96 Archive Configuration Dialog Box 68 Defaults 98 Archive Data Format 69 237 Densitometer Configuration 101 Archive Modbus Addresses dialog box 70 Densitometer Data Dialog Box 101 Archive Monitor 157 Density Calculation 96 Archive Options Dialog Box 70 Density Correction 227 Archive Overview 67 Density Correction for P
272. rage CPL e 4 14 6 7 Flow Rate Integration with Gas Product Start Offset End Offset DataFormat Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average Flow Rate Input 22 Word Flow weighted average Relative density e 4 23 Word Flow weighted average Compressibility reference e 4 24 Word Flow weighted average Compressibility flowing e 4 25 Word Flow weighted average Supercompressibility e 4 26 Word available 27 Word available 28 Word available 29 Word available ProSoft Technology Inc March 2 2011 Page 241 of 267 Reference User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 14 6 8 Pulse Frequency Integration with Gas Product Start Offset End Offset Data Format Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted Flow rate net average 16 17 Floating point Flow weighted Temperature average 18 19 Floating point Flow weighted Pressure average 20 21 Floating poin
273. rameters for the meter type you selected Page 58 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 1 3 Product Group Gas Refined Product Crude NGL LPG or Oil Water Emulsion The Product Group selects the API AGA Standards to be used in calculating flow rates increments For Gas the calculation uses AGA8 and either AGA3 or AGA7 Standards For liquids the calculation uses the API MPMS Chapter 11 Standards Crude JP4 uses the A tables NGLs LPGs uses the E tables GPA TP 27 Choose this for lighter products such as propane butane and natural gas liquids o Refined Products xJP4 uses the B tables Choose this for gasolines fuel oils and jet fuels except JP4 Lubricating Oils uses the D tables Special Applications uses the C tables This selection requires explicit configuration of the coefficient of thermal expansion and should be chosen when the other tables which calculate that coefficient from density are deemed to be unacceptable according to experimental results or contract o QOil Wtr Emulsions Crd is the same as Crude JP4 except that it also uses MPMS Ch 20 1 section 1 9 5 to calculate net clean oil Choose Oil Water Emulsion for crude oil that is emulsified with large amounts of water o Oil Wtr Emulsions NGL is the same as NGLs LPGs except that it also uses MPMS Ch 20 1
274. ration Proyer Configuration Download Project Upload Project None MVI46 AFC gt Modbus Dictionary MVIS6 AFC gt MVI69 AFC gt MVI71 AFC gt PTQ AFC gt 4 Choose the module type and firmware version from the menu 5 Save your project Note AFC Manager will save your updated configuration file with the same name as the file you loaded If you need to keep your original configuration change the file name of your updated configuration before saving 1 7 5 Resetting Configuration Parameters If you have modified your project configuration file or if you have loaded a configuration file from disk but you want to start a new project you can reset the configuration parameters back to their defaults without having to close and reopen the AFC Manager To reset configuration parameters 1 Close any dialog boxes that are open 2 Save the configuration file you were working on if you would like to load it again later 3 On the File menu choose RESET Note This procedure has the same effect as choosing File New None ProSoft Technology Inc Page 25 of 267 March 2 2011 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer If you have made changes to the configuration that have not yet been saved a confirmation dialog box will open AFC Manager Answer Yes to save your changes or No to discard your changes and begin working on a new configuration Cl
275. rd Microprocessor Vertical Lift Control Stop a Hydrautic Reservoir Bypass Seal integrity Pressure Sense Hose H gt Bypass Valve Sy Pressure Sensing Hose SH to Balance Valve DB Switch Bypass Valve Actuator gt Prover Configuration Prover type Compact short small volume Systemunts US C SI Prover tag Prover Density units Read fe Identification Options Process Input Variation Limits Runs per prove Meter factor precision Write Pulse interpolation ratio Maximum attempted runs before abort Flow tube linear coef of expansion F e 6 Passes per run Switch bar linear coef of expansion F e 6 Base temperature F 0 Maximum seconds per run 32 bit integer v Input format pulse count for passes Base prover volume at 60 F MCF Flow tube inside diameter inches 1000 cu feet Prover size units 0 Flow tube wall thickness finches Flow tube modulus of elasticity psi e 6 Density units for process input and reports INOTE Changing density units will reset all prover configuration ProSoft Technology Inc March 2 2011 Meter Proving User Manual Page 107 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Master Meter This proving technique proves a meter by comparing its behavior
276. red locally accessible essible directly rs The record having age 0 is for the current period in progress Access it by reading 30 registers starting at Holding Register 1300 Select the age of the archive to be retrieved Archive 0 is the current period in progress Archives 1 through 35 are recent records stored locally for daily archives Archives 1 through 48 are recent records stored locally for hourly archives Older archives are stored on Compact Flash and are retrieved by copying them into a window in the Modbus table The number of records stored locally depends on both the file selected daily or hourly and on the record size numbers shown are for 30 word records The help text in this dialog box describes the procedure to fetch the contents of the archive you select 3 5 4 Archive Options Dialog Box This dialog box opens when you click the Options button on the Archive Configuration dialog box On this dialog box you can Configure when the archives will be generated upon period end and or upon event Specify when the resettable accumulators will be reset upon period end and or upon event i I Petiod select hourly 1M Archive upon period end eset accumulator 1 upon event accumulator 2 upon event accumulator 3 upon event accumulator 4 upon event Cancel Page 70 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool M
277. ressure 82 Archive Period Accumulation Dialog Box 71 Density Correction Hydrometer Correction Archiving and Event Log 227 Temperature Correction amp Pressure Correction 82 Audit Scan 151 Density Units 94 Device Differential or Linear 58 B Diameter 73 Differential Meter Configuration 72 Barometric Pressure 44 f Barometric Pressure in psia else in kPaa 45 g lat Differential Pressure Orifice Base prover volume 690364 711 sie Pressure Flow Rate Integration 74 Basic Metering According to Meter type 225 Disable a Meter 65 g Basic Principles of Implementation 177 Disable Pass Thru 49 Bidir ctional Pipe rovers 100 Disclaimer of all Other Warranties 261 C Disclaimer Regarding High Risk Activities 260 Do I have to enter all molar concentrations for the gas Calculate Net Heating Value else gross 82 product 252 Calculations 98 Done Button 54 Calibration 146 Download Phase 177 185 Can read the Primary or Virtual Slave values using Downloading the Project to the Module 27 the AFC Manager 253 Downstream Static Pressure 80 Can update the molar concentration values DP Alarm Threshold 73 dynamically 252 DP Flow Threshold 72 Changing the Meter Type Product Group or Unit 60 Dynamic Context 178 Checksum Alarm 34 Checksum Alarms 34 217 E Cold start 34 Communication Parameters 40 ae sev a 4 Compact short small volume Prover 107 3 aa Hee fe Com
278. ring the calculation for example exceeding an API range limit causes substitution of Default Reference Density for the Corrected Density output 6 This Corrected Density is used for all subsequent VCF calculations The following diagram shows two possible density applications Page 98 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual If input density is at flowing conditions Meter Calculation Options 0 Downstream static pressure 1 I Taps comer 2 I Taps radius pE 4 I V cone Wedge device 5 P 1S0 5167 2003 else AGA 3 1992 iz I Ignore default flowing density Corrected Reference Density Flowing Density Density Density conection 12 7 Vapor pressure via TP 15 13 I Density conection for pressure 14 I7 Calculate net heating value else gross r Density Correction ON If input density is at reference conditions already corrected Meter Calculation Options 0 Downstream static pressure 1 I Taps comer 2 I Taps radius jr I V cone Wedge device I 1S0 5167 2003 else AGA 3 1992 r I Ignore default flowing density Corrected Reference Density Reference Density Density 13 I Density correction for pressure 4 I Calculate net heating value else gross r Density Correction OFF ProSoft Technology Inc M
279. rmware version 2 04 and earlier correction factors are calculated as described in the following paragraphs Temperature Correction Factor CTL According to Several Tables of MPMS Ch 11 1 1980 except E Tables 1998 GPA TP 25 and Other Standards Calculation of CTL VCF Volume Correction Factor from flowing temperature and density at standard temperature depends on the measurement system SI or US the product type crude or refined and the density range high or low ProSoft Technology Inc Page 227 of 267 March 2 2011 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer SI units D gt 610 kg m3 Table 54A Crude amp NGL or 54B Refined Products 500 lt D lt 610 LPG ASTM IP API Petroleum Measurement Tables for Light Hydrocarbon Liquids 500 653 kg m3 1986 ISBN 0 471 90961 0 US units D gt 0 610 RD60 Table 24A Crude amp NGL or 24B Refined Products 0 350 lt D lt 0 610 LPG Table 24E TP25 The low density range of 0 350 RD60 in US units is considerably lower than the 500 kg m3 in SI units because the E Tables are available only for US units Correction of density from flowing temperature to standard temperature is a converging iteration which includes the calculation of the VCF Volume Correction Factor Standards applied are those listed above except that Tables n3x are used instead of Tables n4x An option is available to iteratively correct the density calcul
280. rom ladder logic refer to the module s User Manual Enable a Meter 1 Select check the Meter enable check box 2 Click the Meter Options Done button 3 Click on Meter Configuration Write button Disable a Meter 1 Clear the Meter enable check box 2 Click the Meter Options Done button 3 Click on Meter Configuration Write button ProSoft Technology Inc Page 65 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Read the Current Status 1 Click on Meter Configuration Read button 2 Click on Meter Configuration Control Opts button 3 If the check box is cleared the meter is disabled otherwise the meter is enabled Note The meter can also be enabled or disabled from ladder logic refer to the module s User Manual Page 66 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 5 Archive Configuration To configure archives for a meter click the Archive Config button in the Meter Configuration dialog box This action opens the Archive Configuration dialog box Firmware versions 2 01 and newer allow you to configure the calculation values that will be located in each archive The default archive configuration depends on the meter type and the product groups Note If the Archive Config button is not visible on the Meter Configuration dialog box
281. rt Service amp Warranty AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 15 2 6 Limitation of Remedies In no event will ProSoft or its Dealer be liable for any special incidental or consequential damages based on breach of warranty breach of contract negligence strict tort or any other legal theory Damages that ProSoft or its Dealer will not be responsible for include but are not limited to Loss of profits loss of savings or revenue loss of use of the product or any associated equipment loss of data cost of capital cost of any substitute equipment facilities or services downtime the claims of third parties including customers of the Purchaser and injury to property Some areas do not allow time limitations on an implied warranty or allow the exclusion or limitation of incidental or consequential damages In such areas the above limitations may not apply This Warranty gives you specific legal rights and you may also have other rights which vary from place to place 15 2 7 Time Limit for Bringing Suit Any action for breach of warranty must be commenced within 39 months following shipment of the Product 15 2 8 No Other Warranties Unless modified in writing and signed by both parties this Warranty is understood to be the complete and exclusive agreement between the parties suspending all oral or written prior agreements and all other communications between the parties relating to th
282. s addresses 8890 and 8891 Description Data Description 14 6 1 Timestamp Date and Time Format The date and time format used in the archives is stored in a highly compressed form in order to represent the date and time using only 2 words of data Word Description 0 Date 1 Time In order to extract the information from the date format use the following arithmetic Date Word Year Bits 15 thru 9 from Word 0 1996 Month Bits 8 thru 5 from Word 0 1 Day Bits 4 thru 0 from Word 0 1 Time Word Hour Bits 15 thru 11 from Word 1 Minute Bits 10 thru 5 from Word 1 Second Bits 4 thru 0 from Word 1 2 The first 10 words of data archive header are common for all archives ProSoft Technology Inc Page 237 of 267 March 2 2011 Reference User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 14 6 2 Pre defined Header These archive areas are included in the default archive data and cannot be reconfigured by the user Start End Data Format Type Description Offset Offset 0 1 Timestamp Snapshot Closing timestamp of archive 2 Word Calculated Flowing period 3 Bitmap Calculated Cumulative meter alarms 4 Bitmap Calculated Cumulative status 5 Word Snapshot Event counter 6 7 Double word Calculated Flowing period seconds 8 9 Timestamp snapshot Opening timestamp of archive Additional areas are also included in the def
283. s been closed behind it Prover Temperature Absolute This value is the process input temperature of the prover traditional or master meter in units relative to absolute zero and is required for some calculations This value is meaningful only while a prove is active Conventional This value is the process input temperature of the prover traditional or master meter in conventional units For a traditional prover with dual transmitters this is the average of the two inputs This value is meaningful only while a prove is active Page 122 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Proving Liquid and Gas Flow Computer User Manual Prover Pressure Absolute This value is the process input pressure of the prover traditional or master meter in absolute units This value is calculated as gauge pressure barometric pressure This value is meaningful only while a prove is active Gauge This value is the process input pressure of the prover traditional or master meter in gauge units For a traditional prover with dual transmitters this is the average of the two inputs This value is meaningful only while a prove is active ProSoft Technology Inc Page 123 of 267 March 2 2011 Meter Proving User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Prove enable Error Code This code reports the result of the most recent attempt to enable a prove If
284. seeeeseeeeeaas 137 7 Meter Monitor 139 7 1 Printtne Repere a T E N E eee thea tces 141 7 2 Accumulator Montor 2 eeeeeeeeeeneeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeaaeeeeeeaaeeeeeeaaeeeesenaeeeesenaeees 143 7 2 1 Non Resettable Accumulator eeeeeeeeeeeeeeeneeeeeeeneeeeeeeaeeeeeeaeeeeseaeeeenenaeeeeneaes 144 7 2 2 Resettable Accumulator 0 0 eceeceeeeeeeeeeeeeneeeeeeeeeeeeeeaeeeeeenaeeeeeenaeeeetteaeeeseeeeeeeneaas 144 7 3 Flow Rate MOnitor mecene n a ER ERO A EO 145 7 4 Input Data M nilo escanea rE E A E a S 146 7 4 1 Calibration sne e E a E aa aia tales 146 7 5 Alarmi MOnitOr noier a EETA EE EAA AE EAER E ES 147 ProSoft Technology Inc March 2 2011 Page 7 of 267 Contents User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 8 Audit Scan 151 9 Archive Monitor 157 9 1 Meter Archive Data Chart Dialog BOX ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeteeaeessaeesas 163 10 Events 165 10 1 TMG Even OG ei cece tesze caves seecs te deh deted Sadsd aavisasseacecasstedatssvel OA E E 166 10 2 Event Log SUCIU Si r Ta aaa a a aaa a Ea Ea ad aana Ea aa eaaa Sa AE eai 167 10 3 Eventa Talun Feds rinra A A E EO A OETA 168 10 4 Event triggered Archives and Accumulator Resets eeeeeeereeeerreeerrerrne 169 10 5 Downloading the Event Log in Firmware Version 2 07 and Later 170 10 5 1 Basic Principles of Implementation s esssssesesrressnrnessrrresrrnnesernnerrrnnernrnnerennnenenne 177 10 5 2 Data
285. ses over passes 21 Not enough pulses in run 22 31 Reserved Modbus Dictionary Address 65050 65052 65054 65056 65058 65060 65062 65064 65066 65068 65070 65072 65074 65076 65078 65080 65082 65084 65086 65088 N A N A ProSoft Technology Inc March 2 2011 Page 117 of 267 Meter Proving AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Prove Calculation Alarms These alarms arise from prove calculations e g outside API limits Bit Byte Description 00 Reserved 01 CTS prover 02 CPS prover 03 Reserved 04 High water 05 CTW 06 CPW 07 Density correction 08 CTL prover 09 CPL prover 10 CSW prover 11 Vapor pressure prover 12 CTL meter 13 CPL meter 14 CSW meter 15 Vapor pressure meter 16 Repeatability 17 Change in factor 18 22 Reserved 23 Divide by zero 24 31 Reserved 4 2 3 Prover Operation How to do a Prove You must first configure a prover and configure the channel of a Configurable Flow Meter CFM or High Speed Counter HSC module for proving Note CFM modules are available for the 1756 platform from Rockwell Automation and the Quantum platform via Spectrum Any HSC card will work for the other modules but if you use an HSC you will need extra ladder logic in the PLC to complete the prove Once the parameters for the proving session have been configured pipe diameter water draw volume wall thickness tolerances and limits on t
286. sia Number of scans A B Wl J Deris _ zz Temperature base factor a oon i Pressure base factor Audit the selected meter Close Print fo After the reading is completed select an audit to view Select the Meter Number for the audit Select the number of scans for the audit Click the Read Button to begin the audit Look at the operation result Success audit has been successfully completed BOND ProSoft Technology Inc Page 151 of 267 March 2 2011 Audit Scan User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 5 When the Audit Scan is complete click the Details Button to view the calculation and the input variables Audit Scan Data Display Meter Tag DIE_AFC_M1 Scan op xi Pressure Floating point jos Temperature F jo Pressure psig Pulse frequency H2 jo Temperature Floating point K factor Meter factor 0 561434 Specific gravity C F Compressibility flowing Compressibility reference Temperature factor j0 9976918 Pressure factor BE C prime C jo Analysis characterization error oo Compressibility calculation error jo Gross accum totalizer MMCF jo Gross accum residue MMCF Gross increment MMCF oo oss tow rate MCF g Analysis for audit Molar fraction by component 0 989 C1 Methane 0 0072 N2 Nitrogen EJ o2 Cabon Dioxide D 2 Eae ooo C3 Propane O o Wate O 2 Hidrogen Sulphide
287. ssion context to allow recognition of a repeated Commit or Abandon In this case a repeated Commit elicits a Modbus exception of 3 Illegal Data and a repeated Abandon is accepted without error regardless of its Session ID Session Timeout All transactions of a session must succeed frequently enough so that the duration between successful transactions does not exceed the session timeout Each successful transaction restarts the timeout If the timeout expires the session is automatically abandoned Other Modbus activity unrelated to the log download session is not considered and its only effect upon the timeout would be delays of session transactions imposed by bandwidth usage 10 5 7 Access by Multiple Hosts The functionality specified in this document can permit complete event log retrieval by multiple hosts provided that these conditions are satisfied 1 As the session s dynamic context is local to the accessed port multiple hosts may perform sessions simultaneously provided that they access separate ports The Session ID is part of the dynamic context so separate port sessions may use the same Session ID without ambiguity 2 For multiple hosts that access the same port using Modbus Master arbitration or a similar scheme all must perform their sessions at times sufficiently separated so that one host does not interfere by disturbing the dynamic context of another host s session in an unpredictable manner The Session ID can
288. t 2 0 Usht x Wallclock get amp put 3 0 Usht Modbus gateway get amp put 4 0 Usht Modbus pass thru put 5 0 Usht i Modbus master get amp put Page 192 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Events User Manual 10 10 Meter Data Point Events Group Sbgp_ Item DTyp Rkv Data point 0 0 Process input calibration 0 Flot i Temperature 1 Flot i Pressure 2 Flot i Primary input 3 Flot i Flowing density 4 Flot Water content 0 1 Process input alarm 0 Flot Temperature range 1 Flot Pressure range 2 Flot Primary input range 3 Flot Flowing density range 4 Flot Water content range 1 0 Meter classification 0 Bsht x Meter device and engineering units 1 Usht i Product group 2 Reference conditions 0 0 Flot i Temperature 0 Flot i Pressure 3 Meter options 0 0 Bling si Calculation options Bling 4 Control options 4 Input scaling 0 Temperature 0 Flot Range low end 1 Flot S Range high end 2 Flot 4 Default 3 Sbyt Module id code 1 Pressure 0 Flot Range low end 1 Flot i Range high end 2 Flot i Default 3 Sbyt Module id code 2 Primary input 0 Flot i Range low end 1 Flot Range high end 2 Flot a Default 3 Sbyt j Module id code 3 Flowing density 0 Flot kj Range low end ProSoft Technology Inc March 2 2011
289. t Flow weighted K Factor average 22 23 Floating point Flow weighted Meter Factor average 24 Word Flow weighted Relative density e 4 average 25 Word Flow weighted Compressibility reference e 4 average 26 Word Flow weighted Compressibility flowing e 4 average 27 Word Flow weighted Supercompressibility e 4 average 28 29 Floating point Flow weighted Pulse Frequency average 14 6 9 Flow Rate Integration with Liquid Product Start Offset End Offset Data Format Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Snapshot Accumulator residue net 14 15 Floating point Flow weighted average Flow rate net 16 17 Floating point Flow weighted average Temperature 18 19 Floating point Flow weighted average Pressure 20 21 Floating point Flow weighted average Flow Rate Input 22 23 Floating point Flow weighted average Density Input 24 Word Flow weighted average Corrected density scaled integer 25 Word Flow weighted average CTL e 4 26 Word Flow weighted average CPL e 4 27 Word available 28 Word available 29 Word available Page 242 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual 14 6 10 Pulse Frequency Integration with Liquid Product Start Offset End Offset Data Format Type Description 10 11 Accumulator Snapshot Accumulator totalizer net 12 13 Floating point Sn
290. t Meter can counts c Oenaty a GOF PAPI Metesrumbes 1 J z n Comected danaity l API Ea p Resur Coso Prim Loa This is accomplished by providing PROCESS PARAMETER values that are within the range of the Process Input Scaling Dialog box number between 103 and 332 F 10 scale c Detault lt Full seale There are two sources of alarms 1 From the meter which occur whether or not a prove is in progress These are illustrated above 2 From the prove and there are 2 kinds a Variation Limit Alarms b Prove Calculation Alarms Note Any alarm will always make a run not able to be selected Page 116 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Proving User Manual Variation Limit Alarms These alarms are due to variation outside the configured limits Bit Byte Description 01 Prover inlet temperature 02 Prover outlet temperature 03 Prover inlet outlet temperature 04 Prover temperature 05 Prover meter temperature 06 Switch bar temperature 07 Meter pressure 08 Prover inlet pressure 09 Prover outlet pressure 10 Prover inlet outlet pressure 11 Prover pressure 12 Prover meter pressure 13 Meter density 14 Prover density 15 Prover meter density 16 Water content 17 Meter flow rate 18 Prover flow rate 19 Pulses over runs 20 Pul
291. t Technology Inc March 2 2011 AFC Manager Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 3 4 5 Start AFC Manager and then select the port settings at Communications Local Port Settings The default communication settings are shown in the following illustration rart EN S o HC 2 C3 Copy to Local 244 5000 com1 3600 p Parity None C Even p Data Stop Mo C 7Bits 1Bit c 8Bits C 2Bits C The AFC Manager will establish communication with the module Open the Project menu and then select Site Configuration to open the Site Configuration dialog box On the Site Configuration dialog box click the Read button You should see the word Success in the Result area of the dialog box 1 5 1 Troubleshooting AFC Manager Connection Problems If AFC Manager has trouble making a connection to the AFC s Primary Slave 1 2 Check your cabling You must connect a null modem cable between the COM port on your PC and the serial port on the module Connect to the module s Configuration Debug port if possible If you try to connect to another of the module s ports the AFC s configuration may have the Primary Slave hidden at that port At the Configuration Debug port the Primary Slave is always visible Double check your communications settings via Communications Local Port Settings You must set up yo
292. t according to the Modbus specification Refer to the ladder logic section for your module for more information about the Modbus Master block 2 3 4 End of Day Minute This parameter sets the minute of the day when the daily archives are created The default value of 0 zero creates the daily archive at midnight Valid values are between 0 and 1439 2 3 5 End of Hour Minute This parameter sets the minute of the hour when the hourly archives are created The default value of 0 zero creates hourly archives at the top of each hour Valid values are between 0 and 59 ProSoft Technology Inc Page 43 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 2 3 6 Barometric Pressure This parameter sets the barometric pressure used on the module calculations The module expects each meter s pressure input to be in gauge units Because some calculations require the pressure of the fluid to be in absolute units the module adds barometric pressure to the gauge pressure in order to obtain the absolute pressure The calculation assumes that all meters measured by a single AFC are located at the same site and have the same barometric pressure 2 3 7 Site Options The Site Options dialog box opens when you click the Site Options field in the Site Configuration dialog box Site Configuration Site name Z TT RE amp Site Options Read Unix timestamps in virtual sla
293. t corner of the main Meter Monitor window For complete information including which Code registers are associated with which alarm bits use the Modbus Dictionary feature of AFC Manager The possible alarms are listed in the following table Of the Alarm Codes listed the values that can actually appear depend on both the selected Product Group and the firmware version Alarm Message Description Solution Accumulation The module ignores an accumulator Check your meter configuration to Overflow increment of less than zero or greater verify if your project is generating than 1 000 000 000 occurring in a reasonable values single meter scan Analysis Total Not Absolute difference between analysis Make sure that the sum of all molar Normalized v lt total and 1 0000 100 is greater concentrations is within the error 2 04 than the error tolerance tolerance of 1 0000 100 ProSoft Technology Inc Page 147 of 267 March 2 2011 Meter Monitor User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer Alarm Message Description Solution Analysis Total Zero The molar concentration sum is zero Make sure that the sum of all molar v lt 2 04 concentrations is within the error tolerance of 1 0000 100 Analysis Absolute difference between analysis Make sure that the sum of all molar Characterization error v 2 2 05 total and 1 0000 100 is greater than the error to
294. ta point 10 Usht 5 Component 11 scaled molar fraction 11 Usht 5 Component 12 scaled molar fraction 12 Usht 5 Component 13 scaled molar fraction 13 Usht 5 Component 14 scaled molar fraction 14 Usht 5 Component 15 scaled molar fraction 15 Usht 5 Component 16 scaled molar fraction 16 Usht 5 Component 17 scaled molar fraction 17 Usht 5 Component 18 scaled molar fraction 18 Usht 5 Component 19 scaled molar fraction 19 Usht 5 Component 20 scaled molar fraction 20 Usht 5 Component 21 scaled molar fraction 21 Usht 5 Component 22 scaled molar fraction 22 Usht 5 Component 23 scaled molar fraction 23 Usht 5 Component 24 scaled molar fraction ProSoft Technology Inc Page 197 of 267 March 2 2011 Events User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 10 12 Prover Data Point Events Group Sbgp Item DTyp Rkv Data point 0 0 Process input calibration not implemented 0 Flot Inlet temperature 1 Flot Outlet temperature 2 Flot Switch bar temperature 3 Flot Inlet pressure 4 Flot Outlet pressure 0 1 Process input alarm not implemented 0 Flot Inlet temperature range 1 Flot Outlet temperature range 2 Flot Switch bar temperature range 3 Flot Inlet pressure range 4 Flot Outlet pressure range
295. ta type implements each data unit as one pair of 16 bit registers words Each register contains two bytes Long remote data type implements each data unit as one 32 bit register Each register contains four bytes The proper choice depends on the remote slave s Modbus implementation Page 42 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Example The following table shows how the data types are implemented if a write function is selected and the item count is configured with a value of 10 decimal Data Type Register Modbus Number of Number of Number of Number of words Type Function Coils Bytes Registers 16 bits transferred Bit Coil 15 10 2 1 Word Holding 16 20 10 10 Long Holding 16 40 20 20 Long Remote Holding 16 40 10 20 Note The number of coils bytes and registers are part of the Modbus request functions 15 and 16 according to the Modbus specification The following table shows how the data types are implemented if a read function is selected and the item count is configured with a value of 10 decimal Data Type Register Type Modbus Function Number of Registers Bit Coil 1 10 Bit Input 2 10 Word Holding 3 10 Word Input 4 10 Long Holding 3 20 Long Input 4 20 Long Remote Holding 3 10 Long Remote Input 4 10 Note The number of registers is part of the Modbus reques
296. taas 255 15 1 Return Material Authorization RMA Policies and Conditions cceeee 257 15 1 1 Returming Ariy Proquet esines e AAT NA 257 15 1 2 Returning Units Under Warranty aiaei A EANA A 258 15 1 3 Returning Units Out of Warranty cccccceeseeeceseeceeeeeeeeeeseeeeseeeeseaeeseneeeseeeseeeeess 258 15 2 LIMITED WARRANT N a e a a aa a a a a aa EAD i eraa aiaiai 259 ProSoft Technology Inc March 2 2011 Page 9 of 267 Contents User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer What Is Covered By This Warranty What Is Not Covered By This Warranty Disclaimer Regarding High Risk Activities Intellectual Property Indemnity Disclaimer of all Other Warranties Limitation of Remedies l a Time Limit for Bringing Suit No Other Warranties cccccccesseeeeenees Allocation of RiskS cccceeeeeeeeeeeeeees Controlling Law and Severability Index Page 10 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Introduction User Manual 1 Introduction In This Chapter Update Notices EE ttt cared Aecestecndtsdeceies esi liiesd avian bes etvceiatgeddstnee 13 Quick Stafi Aese aA delta eee cle dest shakes se isde tae 15 lnstall AFC Managers ekerin inier ean aaa a aariaa ketenden ieseni 16 Install the Module in the Rack eescceeeseeeeseneeeresneeeeseneeeeeeneeeessneeees 1
297. teneeseneeteneeeeaeeee 231 Archive Data Format csssceeeeseeeeseeeeeeeseeeeeeeeeeeneneneeeeesceeeeeseenenes 237 Modbus Addressing Common to Both Primary and Virtual Slaves 244 Modbus Port Configuration cccceeesceeeeseeeeeeenneeeeeeeeeeesneeeeeenneeeeeaaes 247 Startup Basics and Frequently Asked Questions ccceeseeeees 249 ProSoft Technology Inc March 2 2011 Page 219 of 267 Reference AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 14 1 General Specifications Process I O analog inputs pressure temperature differential pressure density from analog modules and pulse inputs from pulse frequency input modules in rack Number of meter channels 8 or 16 meters differential AGA3 or 1505167 or linear AGA7 Gas MPMS Ch 12 2 Liquid MVI46 AFC MVI56 AFC MVI69 AFC MVI71 AFC PTQ AFC 8 Meters 16 Meters 8 Meters 8 Meters 16 Meters Calculation Methods AGAS 1992 AGA7 AGA8 1992 Detail Characterization Method API MPMS Ch 21 1 21 2 API Tables API MPMS Ch 11 1 23 53 and 24 54 for Hydrocarbon Liquids GPA TP 25 for Hydrocarbon Liquids Tables 23E 24E API MPMS Ch 11 2 GPA TP 15 for Vapor Pressure Correlation Energy heating value for gases according to AGA 8 Appendix C 4 API MPMS Ch 20 1 ISO 5167 Supports energy measurement for gas applications Meter I O Scan Time Less than one second for all channels Product Measurement Hydrocarbo
298. tered as part of the meter configuration Calculations The AFC calculates Corrected Density from process inputs including Flowing Density under control of its meter configuration that includes Process Input Scaling and two Calculation Options Ignore Default Flowing Density bit 7 Density Correction bit 8 substituting one or both of the Default Densities under certain conditions The logic is 1 Flowing Density process input is marked Unspecified we have not yet determined whether the process input is at Flowing or Reference Conditions 2 Flowing Density process input is scaled and if out of range it is substituted by a Default Flowing Density if Ignore Default Flowing Density option is clear or b Default Reference Density if Ignore Default Flowing Density option is set and in this case the input is marked Reference 3 If Density Correction option is clear then the input is marked Reference meaning that the process input over the backplane is at Reference Conditions regardless of its Flowing designation 4 Ifthe input is marked Reference then Corrected Density acquires this value 5 If the input is still marked Unspecified it is assumed to be Flowing and the API density correction calculation is performed which takes the Flowing Density as input together with the already scaled Temperature and Pressure process inputs Successful calculation yields Corrected Density as output an error du
299. the code is zero the prove was successfully enabled a non zero code reports the reason for failure The values are Value Name 0 The new prove has been enabled 21 Requested meter number 22 Line meter not liquid pulse 23 Incompatible measurement standard 24 Unimplemented product group 25 Unimplemented measured quantity 28 Line meter in calibration 29 Line meter not enabled 32 Master meter not liquid pulse 33 Master meter incompatible configuration Description The new prove has been enabled The Requested meter number register 65300 is out of range or for a master meter prover is the same as that of the master meter an attempt to self prove the master meter At the present time the meter to be proved may only be a liquid pulse meter At the present time the configuration of both the prover and the line meter to be proved must specify the same system of measurement units US SI and the same liquid density units selection kg m3 Rd 60 API Because of the nature of the proving calculations at the present time not all product groups are provable Meters configured for these product groups are provable Liquid crude oils and JP4 Liquid refined products gasolines jet fuels fuel oils except JP4 Liquid NGLs and LPGs Liquid lubricating oils Liquid special applications Meters configured for these product groups are not provable Gas Liquid oil water emu
300. the current input values and any meter alarms Note For more information about the meaning of specific values calculated by the module we suggest that you refer to applicable measurement standards It is beyond the scope of this document to discuss flow measurement theory Click on Monitor Meter Monitor in order to open the Meter Monitor dialog box Selects the Calculation Shows the current meter number Count Wall Clock value g Meter Monitor Project AFC Dume O Active Swoon BENI BITATATAIEANT v 1 10 Scan counts finput calc Molar mass of mixture Accumulators Ideal gas relative density Click Me Flow rates 0 561434 Relative density at reference ClickMe f Process inputs 4 296604E 02 Reference density Ib cf joo20h Meter alarms 0 998013 Reference compressibiity 0 9970248 f Flowing compressibility o f Pulse frequency Hz Click Me T amp P factors K factor pul CF C prime Meter factor Foy Analysis characterization emor Polling Mode selection Process Input Count Update time sec 4 Shows the result of the Read Compressibiity calculation error operation Poll the selected meter Creates a log file text file containing the Meter Monitor Data Prints the Meter Monitor Report ProSoft Technology Inc Page 139 of 267 March 2 2011 Meter Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer
301. tion Project AFC Meter 1 Tag M01 Archive 3 Closing timestamp of archive 2002 04 26 06 16 34 Opening timestamp of archive 2002 04 26 06 14 08 Status bitmap details below 20h Alarms bitmap details below 0000h Flowing period 146 Event counter 50 et accumulator x 3 1633 et accumulator residue x 3 6 271362E 02 et flow rate x 3 h 40248 02 Temperature F 14 99999 Pressure psig 1000 002 Differential pressure hw 22 00003 Relative density 60 F 60 F 0 7404 Reference compressibility 0 9989 Flowing compressibility 0 9051 Fpv LL 0505 Velocity of approach factor Ev 1 0328 Expansion factor Y 0 9997 Discharge coefficient 0 6043 Alarm Bits bit 0 Temperature input out of range bit 1 Pressure input out of range bit 2 Diff pressure input out of range bit 3 Flowing density input out of range bit 4 Water content input out of range bit 5 Diff pressure low bit 8 Orifice characterization error bit 9 Analysis total zero bit 10 Analysis total not normalized bit 11 AGA8 calculation error ProSoft Technology Inc Page 161 of 267 March 2 2011 Archive Monitor AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer bit 12 API calculation error density correctio bit 13 API calculation error Ctl bit 14 API calculation error vapor pressure bit 15 API calculation error Cpl Status Bits bit 11 Meter was enabled bit 12 Backplane communicat
302. tion code Page 182 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual 10 5 5 The Log Download Window LDW The LDW located at Primary Slave holding register 65400 and optionally mapped to the Virtual Slave by register Ph00147 consists of a header of 4 registers followed by up to fourteen 8 register event records Accordingly the size of the block may be as large as 4 14 8 registers that is 116 The block is returned as the data in the Fetch transaction of a F amp A cycle Certain subsets of the block may be read or written at other times Layout The header has this layout 1 LDW 000 Function and Session ID When written this register is interpreted as two bytes where The low order byte contains a function code 0 Acknowledge Fetch 1 Open Session 2 Commit Session 3 Abandon Session All other function codes are rejected with Modbus exception 3 Illegal Data The high order byte contains the Session ID This ID is specified by the host upon opening the session and it must be matched by all subsequent accesses during the session When read this register is always zero LDW 001 Starting Event Number This value is initialized to the number of the event selected by the Setup phase After every successful F amp A cycle it is advanced by the number of events fetched by that cycle LDW 002 Number of Events This Block This is the n
303. to 200 kPa decimal place implied for the US units psi Differential Pressure Two decimal places implied for A value of 35142 would be inches of H2O and three places equivalent to 35 142 kPa for kPa Pulse Frequency Hz No decimal places A value of 200 would be equivalent to 200 Hz Density kg m3 One implied decimal place A value of 5137 would be equivalent to 513 7 kg m3 Density Relative Density Four implied decimal places A value of 10023 would be equivalent to 1 0023 60 F 60 F Density API Two implied decimal places A value of 8045 would be equivalent to 80 45 API Flow rate No decimal places implied for A value of 102 would be equivalent the SI units or US units To to 102 lb hr obtain desired precision choose appropriate Primary Input Characteristics Water Content Two implied decimal places A value of 105 is interpreted as 1 05 Page 100 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual 3 13 Densitometer Configuration When measuring liquids with density correction density at flowing conditions is required This value may be either provided directly as a process input or the AFC may calculate it from the frequency output of a densitometer To use a densitometer The module can calculate a density from the frequency provided by a densitometer device Follow the steps below to use a densitometer 1 Click the De
304. tor CTL 1826 1 word MPMS Ch 11 Pressure correction factor CPL 1827 1 word MPMS Ch 11 Sediment and water correction factor CSW 1828 1 word Startup input pulse count 1840 2 words Current input pulse count 1842 2 words Pulse increment 1844 2 words Pulse frequency 1846 2 words Interpolated static K factor 1848 2 words Interpolated static meter factor 1850 2 words Multiplier mass flow rate 1864 2 words Multiplier energy flow rate 1866 2 words Multiplier volume flow rate 1868 2 words Multiplier mass accumulator 1870 2 words Multiplier energy accumulator 1872 2 words Multiplier volume accumulator 1874 2 words Accumulator increment mass 1876 2 words Accumulator increment energy 1878 2 words Accumulator increment net 1880 2 words Accumulator increment gross 1882 2 words Accumulator increment gross standard 1884 2 words Accumulator increment water 1886 2 words Flow rate mass 1888 2 words Flow rate energy 1890 2 words Flow rate net 1892 2 words Flow rate gross 1894 2 words Flow rate gross standard 1896 2 words Flow rate water 1898 2 words Page 234 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Reference User Manual 14 5 1 Information for Users of AFC Manager Versions Older Than 2 01 000 If you are using AFC Manager versions older than 2 01 000 you must set these bits using the Modbus master interface in the AFC Manager Please refer to the AFC Manager
305. torial errors or omissions made herein nor for incidental or consequential damages resulting from the furnishing performance or use of this material The user guide included with your original product purchase from ProSoft contains information protected by copyright No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft 15 2 3 Disclaimer Regarding High Risk Activities Product manufactured or supplied by ProSoft is not fault tolerant and is not designed manufactured or intended for use in hazardous environments requiring fail safe performance including and without limitation the operation of nuclear facilities aircraft navigation of communication systems air traffic control direct life support machines or weapons systems in which the failure of the product could lead directly or indirectly to death personal injury or severe physical or environmental damage collectively high risk activities ProSoft specifically disclaims any express or implied warranty of fitness for high risk activities Page 260 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Support Service amp Warranty Liquid and Gas Flow Computer User Manual 15 2 4 Intellectual Property Indemnity Buyer shall indemnify and hold harmless ProSoft and its employees from and against all liabilities losses claims costs and expenses including attorney s fees and expenses related to
306. uch parameters remain unchanged retaining their current values and a Modbus command that attempts such a change receives an illegal data exception response Uncontrollable events such as power up are not recorded The log must be downloaded in order to unlock it for further events Barometric Pressure in psia else in kPaa If set the barometric pressure will be expressed in psia units otherwise it will use kPaa Event Log Process Input Range Alarms This option determines how the event log should process input range alarms If set the process input out of range alarms are logged as events Depending on the configuration and the stability of the site meter transmitters enabling this option may cause rapid fill up of event log and meter archives If cleared process input out of range alarms are not event logged However archives still record cumutively all alarms that occur during the archive period Hard Passwords Enables secure password controlled access to the AFC Passwords are stored in the AFC by writing them to the password registers 9 and 19 but in hard password mode reading those registers always returns zero Read and or write access to the AFC is granted by writing a candidate password to the password test register register 18 and the access granted is determined by reading back that register and examining its contents The access is granted to the port over which the request was made other ports remain unaffected I
307. umber Contents of register 40002 oldest_event Oldest event number on file Contents of register 40003 oldest_not_downloaded Oldest event number not yet downloaded Contents of register 40004 events_on_file Total number of events on file Calculated This value starts at 0 upon cold start then as events are logged it rises to a maximum of number_of_records and stays there downloadable_event Event number of event being downloaded Calculated event_age The age of the event in question Calculated The next event to be written which of course is not yet on file has age 0 the newest event already on file has age 1 the next older event has age 2 and so on up to age number_of_records Page 202 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Also in these procedures a The expression AND OxOOOOFFFF means take the low order 16 bits of the result discarding all other higher order bits it is equivalent to non negative remainder upon dividing by 65536 A traditionally negative remainder that would result from dividing a negative dividend by 65536 must be made positive by subtracting its absolute value from 65536 b The operator means assignment that is assign the expression on the right to the object on the left by calculating the value of the expression on the right and making t
308. umber of events returned by the Fetch transaction of a F amp A cycle It never exceeds the number of events that can fit inside the size of the data block requested but it may be smaller such as when fewer events are available than the number requested In the latter case the extra unreturned event records are all zero LDW 003 Number of Non Downloaded Events After This Block This is the number of events remaining in the log that have not yet been downloaded not counting the events in the current Fetch ProSoft Technology Inc Page 183 of 267 March 2 2011 Events AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 10 5 6 Modbus Transaction Sequencing and Constraints This section describes the details of the Modbus transactions that manage a log download session including full specifications of transaction contents and the conditions under which they are permitted Also considered is smooth recovery from failed transactions as might happen over an intermittently failing communication link the general principle is that an otherwise valid transaction may be repeated as many times as is necessary to ensure success Setup Phase This phase which opens a download session may be accomplished in one of two ways The Detailed Method Issue a Modbus write of two registers to offset 0 of the LDW specifying function Open Session 1 and the desired Session ID followed by the number of the desired starting ev
309. up information for use by proving calculations and report generation this information remains unchanged from the moment of enable regardless of how the original source information might be altered during or after the prove Occupies 22 registers and records timestamps associated with the prove accumulator totalizer values and details of the disposition of the new meter factor upon acceptance of the prove Occupies 80 registers and has the same purpose as Prove Setup to protect the prover configuration against subsequent changes so that proving can proceed under reliably constant parameters and so that the proving report can be generated and regenerated according to the original conditions of the prove Occupies 10 registers and contains a few calculated values that are applicable only for the prove as a whole Occupies 116 registers and the readings part contains the averages of the corresponding readings for all runs of the prove The calculations part contains calculations performed upon the prove level readings if calculation method average data was chosen Occupies 166 registers for each of up to 8 runs of the prove The layout of each block of 116 registers is identical to that of the Readings and Calculations for Prove block The readings part contains the weighted averages or snapshots of all process input and counter card input for the duration of the run The calculations part contains calculations
310. ur COM port to match the settings of the AFC s port By default the AFC sets up its Configuration Debug port as Slave address 244 9600 baud no parity 8 data bits 1 stop bit RTU mode so use those settings unless the AFC s default configuration has been changed Be sure that you are selecting the correct COM port on your PC especially if you are using a USB serial adapter as those adapters may be assigned to different COM ports at different times Ensure that the COM port on your PC is not in use by another application such as HyperTerminal If the port is held by another application then AFC Manager will not be able to use it ProSoft Technology Inc Page 21 of 267 March 2 2011 Introduction AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer 1 6 Starting AFC Manager To start AFC Manager 1 Click the START button and then choose PROGRAMS 2 Inthe Programs menu choose ProSoft Technology 3 Inthe ProSoft Technology menu choose AFC Manager Page 22 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Introduction Liquid and Gas Flow Computer User Manual 1 7 Using AFC Manager The AFC module is configured with configuration files that you create using AFC Manager A configuration file is called a Project 1 7 1 Starting a New Project To start a new project Start AFC MANAGER and then open the File Menu 2 Onthe File Menu choose NEw and then s
311. ure kPa Analysis slot 1 Molar action component 15 AGA 8 Relative density at reference Analysis slot 1 Molar fraction component 16 AGA 8 Compressibilty at reference Analysis slot 1 Molar fraction component 17 AGA 8 Compressibiliy flowing Batis ae Cian hace coon TA AGA 8 Supercompressibilty Fpv Cancel OK Daily and Hourly tabs The Daily and Hourly tabs list the data elements that will be collected Record Size The default configuration uses a 30 word record for each daily or hourly archive Use the Record Size dropdown list to choose a different record size The module reserves a total of 1060 words for daily archives and 1440 words for hourly archives Therefore the total number of archives per meter run will depend on the configured number of words per archive as follows Number of words per archive Number of daily archives Number of hourly archives 10 106 daily archives 144 hourly archives 20 53 daily archives 72 hourly archives 30 35 daily archives 48 hourly archives 40 26 daily archives 36 hourly archives Extended File Size This feature is only available for firmware versions 2 02 001 and newer as it requires the Compact Flash to be installed in the module It should be used for projects that demand extra archives You may define up to 1440 extended daily archives and 1440 extended ho
312. urly archives The maximum number of extended archives does not depend on the number of words per archive Options Opens the Archive Options dialog box Accumulator Select Opens the Accumulator Select dialog box where you can select the quantity to be accumulated in the archive period accumulator result Move Up and Move Down Use these buttons to change the order of selected points in the list of elements to archive Be aware that items occupying two words will be shifted by two word positions so that they are always located at an even offset Page 68 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Meter Configuration Liquid and Gas Flow Computer User Manual Addresses Use this button to open the Archive Modbus Addresses window for the selected archive file which you can use to learn how to retrieve specific archive records from the module including the Modbus addresses where they reside Remove Item Use this button to remove the selected point from the list of elements to archive Dictionary The Dictionary dropdown list acts as a filter for the types of points to archive The filtered results are listed in the right pane of the Archive Configuration dialog box The default filter is All The other selections in the dropdown list depend on the Meter Type and Product Group you selected on the Meter Configuration dialog box Insert Item Use this button to insert the selected point in the l
313. us Master Device 3 Modbus Read Commands o 1 Register Each For this application the master reads three MODBUS registers 8020 8040 and 8140 As these registers are not contiguous the master uses three Modbus commands to poll all the registers Data Polling With Virtual Modbus Slave Primary Modbus Slave Virtual Modbus Slave Address 8020 Address 200 1 Address 201 gt Address 8040 Address 202 Modbus Master Device Address 8140 1 Modbus Read Command 3 Registers When the registers are remapped into a contiguous group in the Virtual Slave the master can use a single Modbus command to poll the registers This results in better system performance because the number of commands is reduced Note You must configure a virtual Modbus address value greater than zero to enable the virtual slave ProSoft Technology Inc Page 37 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Indirect Address Remapping dialog box To configure the data remapping between the two slaves click the Remapping button This action opens the Indirect Address Remapping dialog box Quick access directly to the data that has been configured Site Configuration 7 Select Virtual Modbus Virtual Modbus Slave register bank Slave Address D i Inc rect Address Remapping Primary Modbus Slave Address EEN A address Confi
314. ustment of the log s download state implied by a changed FDP is not performed It is equivalent to waiting for the session timeout to occur except that its effect is immediate Issue a Modbus write of a single register to offset 0 of the LDW specifying function Abandon Session 3 with the correct Session ID Page 186 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Events Liquid and Gas Flow Computer User Manual Error Recovery During a session the AFC maintains sufficient context information to accept not only the next expected Modbus transaction of the sequence but also a repeat of the previous one except for the Commit Session and Abandon Session actions see below This is to permit simple repetition of a transaction that has succeeded from the point of view of the AFC but has failed from that of the host which would occur when the Modbus response transmitted by the AFC is not received by the host If the host uses Collapsed Acknowledgement it must take care to set the acknowledgement bit correctly in a repeated Fetch Other than in such a case any Modbus transaction that does not comply strictly with the conditions and sequencing described above is rejected with a Modbus exception code typically code 2 Illegal Address if not addressing LDW offset 0 otherwise code 3 Illegal Data Because both the Commit Session and the Abandon Session actions close the session there is afterwards no se
315. uthorization register is a bit mapped word defined as follows Bits Description 0to3 The number of the accessing port 0 for Modbus Gateway 4 Read Authorization Waived 5 Write Authorization Waived 6 Read Access Granted 7 Write Access Granted 8to 15 Reserved A waived authorization means that password entry is not required for this action even if a non zero password has been configured Authorization waivers are configured separately for each port so for example a SCADA system connected to port 2 can be allowed to read measurement results without having to supply a password while an operator connecting AFC Manager to port 1 still must enter the correct password The backplane is always given both waivers so the PLC never has to supply a password To set a hard password in AFC Manager 1 Open the Site Configuration Dialog box 2 Click in the Site Options field This action opens the Site Options dialog box 3 Select check option 4 Hard Passwords Site Options Read Unix timestamps in virtual slave Event log unlocked Barometric pressure in psia else in kPaa Event log process input range alarms Hard passwords Process input out of range use last good value Analyses are packed in the module Analyses are packed over the backplane Sb U USE SU Di a When this option is selected any authorization granted using Hard Passwords times out after two minutes of inactivity and the user wil
316. ve Event log unlocked Barometric pressure in psia else in kPaa Event log process input range alarms Hard passwords Process input out of range use last good value 1 1 4 3 4 5 p r r z r 64 characters aa o Analyses are packed in the module Analyses are packed over the backplane DN agot U UZURU SU n Read UNIX Timestamps in Virtual Slave When this option is set and timestamps are remapped from the Primary to the Virtual Slave their values will be expressed in UNIX format the number of seconds since 1970 Timestamps viewed in the primary slave are always bit field encoded Page 44 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Site Configuration Liquid and Gas Flow Computer User Manual Event Log Unlocked The event log buffer can store up to 1999 events When all record positions 1 through 1999 contain events that have not yet been downloaded the log is full In this case the handling of a new event depends on the value of the Event log unlocked site option If the option is set then the log full condition is ignored and the new event overwrites the oldest one As the overwritten event was never downloaded it is permanently lost If the option is clear the event log is locked and the new event is rejected if possible or otherwise ignored In this case controllable events changes to sealable parameters are not allowed to occur S
317. ve 0 Meter 4 ProSoft Technology Inc March 2 2011 Page 243 of 267 Reference User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer 14 7 Modbus Addressing Common to Both Primary and Virtual Slaves Address Type Description Ch00000 Char Firmware product code group Low byte platform High byte application class Ch00001 Char Firmware product code item Low byte number of streams High byte number of meters Ch00002 Int Firmware version number Low byte minor version number High byte major version number Ch00003 Int Firmware revision number Ch00004 to Ch00005 Int Serial number Page 244 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual Address Type Description Ch00006 Bm Site status bit 0 AFC released Latched when both bit 15 cold start and bit 12 Processor offline first become clear remaining so until any subsequent cold start While this bit remains clear events are not logged allowing an initial configuration to be fully completed without filling up the event log bit 1 Checksum alarm Set when any bit in the Checksum Alarms registers for site and each meter is set clear when all such bits are clear bit 2 reserved bit 3 reserved bit 4 Processor halted offline or missing Set while backplane communication is faulty which typically occurs
318. ver and proved meter configuration summary Prove state Prove level calculations Run level input and calculations for each run of the prove This area supplies almost all the information presented on the proving report the remaining info comes from the proved meter s Previous Prove Summary see next The contents of this area persist until a new prove is enabled so a proving report may be regenerated at any time after the prove has been completed and before the next one is started There is only one such area for all meters on the AFC module therefore enabling a new prove for any meter resets the Prove Results from the last completed prove regardless of which meters were involved ProSoft Technology Inc Page 127 of 267 March 2 2011 Meter Proving User Manual AFC Manager Configuration Tool Liquid and Gas Flow Computer The Latest Prove Results is a block of 1310 registers starting at input register 62400 and proceeding through register 63709 The table below explains these sub areas Name Prove Status Prove Setup Prove Acceptance Prover Configuration Prove Only Calculations Reading and Calculations for Prove Reading and Calculations for Runs Module Memory Address 62400 to 62409 62410 to 62553 62554 to 62575 62576 to 62655 62656 to 62665 62666 to 62781 62782 to 63709 Description Occupies 10 registers Occupies 140 registers and protects meter configuration and prove set
319. word used fOr ecceeeceeeeeeeeeneeeeeeeeseaeeeeseeeseaeeseaeeeeeaeeseeeeeeaeesaas 251 14 9 9 Why do receive an Illegal Data Value warning when try to write a meter configuration or download the entire configuration to the module cceeeeeeeeeseeeeeteetees 251 14 9 10 Why is the Molar Analysis button disabled c ccccceceeeceeeeeeeeeeeeeseneeeseeeetas 251 14 9 11 Why does the AFC Manager show a Communication Timeout warning 252 14 9 12 What is the difference between Net Accumulator and Gross Accumulator 252 14 9 13 What are the accumulator s totalizer and residue values cccceeeeeeeeteeees 252 14 9 14 Do have to enter all molar concentrations for the gas product c eeee 252 14 9 15 Can update the molar concentration values dynamically c cccseeeeeeee 252 14 9 16 Why do the accumulator values not update cccceeeeeeeeeeeeeeeeeeeeeseeeseeeeeteeeetees 252 14 9 17 What is the WallClOCk 0 cccecceceeeeeeeeeeeeeeeceeeeseaeeseaeeseaaeeseaeeseeeeeeeaeessineeseaeesaas 253 14 9 18 Can read the Primary or Virtual Slave values using the AFC Manager 253 14 9 19 When are the archives generated ccccceceeceeceneeeeeeeeeeeeeseaeeseneeeeeaeessueeeseaeesaas 253 15 Support Service amp Warranty 255 Contacting Technical SUPPOMt ccccceceeeeceseeeeneeeeeaeeeeaeeeeaeeseaeeeseaeeseaeeseaeeeseaeeseaeeeseaeeseueeeseaee
320. ws This window allows the selection of the components Component Selection Map and analysis precision Precision and Stream Assignment version 2 06 000 or higher The sample ladder logic assumes that all components are selected so check all components at the Component Selection Map window 3 Analysis Configuration Component Selection Map Precision and Stream Assignment M C1 methane 9 CO carbon monoxide 17 C8 octane V N2 nitrogen 10 02 oxygen 18 T C9 nonane MV CO2 carbon dioxide 11 T iC4iso butane 19 C10 decane M C2 ethane 12 nC4 normal butane 20 He helium l C3 propane 13 iC5iso pentane 21 Ar argon 7 H20 water 14 I nC5 normal pentane I neoC5 neopentane P H25 hydrogen sulphide 15 C6 hexane T Ux useri M H2 hydrogen 16 C7 heptane T Uy user2 Normalization total error tolerance e Select all components Cancel OK 1 2 3 4 5 6 7 8 ProSoft Technology Inc Page 87 of 267 March 2 2011 Meter Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer Enter the gas analysis concentrations by clicking the Analysis button You can also update the concentrations through the backplane as will be later shown at this User Manual Component Analysis Stream 1 Slot 1 1 C1 methane 2 N2 nitrogen 3 CO2 carbon dioxide 4 C2 ethane Copy Analysis From Meter number is Stream number Read Wie Result T LE I o L JF L L L o L
321. xpansion coefficient C e6 Temperature The temperatures at which the diameter measurements are made Default value for each is 20 C 68 F Diameter Each measured diameter should be positive and orifice plate diameter should be less than meter tube diameter Default values are zero which will cause a measurement alarm For a V Cone device enter the cone diameter instead of the orifice diameter ProSoft Technology Inc Page 73 of 267 March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Configuration User Manual Thermal Expansion Coefficient For each coefficient of thermal expansion alpha is of the order of 10e 6 the actual value is multiplied by 1000000 for display and the entered value is divided by 1000000 for storage and Modbus transmission Values for typical materials are Material Value 304 316 SS 16 7e 6 C 9 2e 6 F Monel 14 3e 6 C 7 9e 6 F carbon steel 11 2e 6 C 6 2e 6 F Default values are 304 316 SS for orifice plate and carbon steel for meter tube 3 6 3 Differential Pressure Flow Rate Integration Select Flow Rate as the primary input to configure the following parameters Meter Tag Accumulators and Flow Rates Meter Type Product Group and Units Eney Mass Device Differential Linear Gas v Incoming System of units uantity to be Cus si oi Primary Input Reference Conditions Referen
322. y Archive 2 Archive created 2 days ago Archive 3 Archive created 3 days ago And so on Meter Archive xi Result EEE Site Name DUIMEX Project AFC_DUIME gt Meter Tag DIE_AFC_M1 Meter O Daily Hourly Ages Lo E to Remove Daily file 0 current 1 to 35 local z Description Age Closing timestamp Flowing period fraction e 4 Cumulative meter alarms Cumulative meter status Event Number of last written event Select Meter Select Archives Flowing period seconds es ia ae Opening timestamp lt clocknotseb lt clocknotse lt clocknotseb Accumulator archive period daily totalizer net MMCF fl ll O Accumulator archive period daily residue net MMCF Lo a a e Flow rate net MMCF d E ee ee ee Process input scaled float temperature F SS M Y O i Process input scaled float pressure psig ES a i K factor pul CF Eo 7 Meter factor Ooo S y AGA 8 Relative density at reference is eae AGA 8 Compressibilty at reference ooo e o o AGA 8 Compressibilty flowing aS ae es AGA 8 Supercompressibilty Fpv a ee ee ee lt not used gt Sanne aa ae ee lt gt i the selected archives to the grid After the reading is completed scroll the grid to view them Connect Upd Current Update All Clear Log Print Plot Close ProSoft Technology Inc Page 157 of 267 March 2 2011 Archive Monitor User Manual AF
323. y value transferred to the module If the value is correct change the Frequency Alarm Threshold parameter for your project High Water error Set if input water content is greater than 99 less than 1 oil For this condition the emulsion is deemed to be all water Both volume and mass fractions are set to zero The module does not perform any density correction calculation so the default standard density value is assumed This alarm is applied for emulsion liquids only Check that the value of process input Water is reasonable Alarm Code values 0 No alarm 1 Emulsion is more than 99 water Input Out of Range The input value is not within the range specified in the meter configuration window Applies to temperature pressure differential pressure flowing density water content pulse frequency v 2 05 Check that the input variable s ranges Meter Configuration Process Input button and the process input itself have reasonable values Page 148 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Liquid and Gas Flow Computer Meter Monitor User Manual Alarm Message Description Solution Orifice Characterization error The orifice parameters Meter Configuration Orifice button are invalid Check the orifice and meter parameters The following conditions should be true Orifice diameter gt 0 Tube diameter gt 0
324. y Slave Modbus registers to the 20 000 Modbus registers in the Virtual Slave Banks thereby making it easy for a SCADA Master to poll only the necessary Modbus addresses in contiguous blocks The virtual slave can also be used for data polling from the processor through the backplane Modbus access to the Virtual Modbus Slave is disabled by default since its Modbus address is originally set as 0 To use the Virtual Modbus Slave you must initially configure a Modbus address greater than zero in order to enable it Refer to Site Configuration page 29 for more information about enabling the Virtual Slave and using the remapping feature The PLC may always access the Virtual Slave whether or not it has a non zero slave address and thus is available via Modbus A download operation will not transfer the Virtual Slave Remapping configuration You must click on the Write button on the Indirect Address Remapping dialog box to transfer the data Note The first 100 registers in the Virtual Slave Holding Register Bank have been pre assigned and cannot be remapped They map directly to the first 100 holding registers of the Primary Slave Virtual Slave Example Application Assume that an application requires a remote Modbus Master to poll the orifice diameters for the first 5 channels Continuing the previous example the holding register addresses are listed again the following table Meter Registers 1 8162 and 8163 2 10162 and 101
325. ydrocarbon Fluids AGA Report No 3 1992 MPMS Ch 14 3 b Compressibility Factors of Natural Gas and Other Related Hydrocarbon Gases AGA Report No 8 1992 Detail Characterization Method International Standards Organization ISO a Measurement of fluid flow by means of pressure differential devices inserted in circular cross section conduits running full Part 2 Orifice plates ISO 5167 2 2003 Gas Processors Association GPA a Temperature Correction for the Volume of Light Hydrocarbons TP 25 b A Simplified Vapor Pressure Completion for Commercial NGLs GPA Document TP 15 Page 224 of 267 ProSoft Technology Inc March 2 2011 AFC Manager Configuration Tool Reference Liquid and Gas Flow Computer User Manual 14 2 1 Basic Metering According to Meter type Orifice Include V cone Uses AGA3 1992 ISO 5167 A V cone meter is like an orifice meter except that the V cone is an obstruction in the center of the pipe while an orifice is an aperture V cone calculation differs from orifice calculation in the following respects 1 The orifice Beta ratio is actually the square root of the ratio of aperture cross section to pipe cross section hence for the V cone it is calculated differently from the two diameters 2 The V cone Coefficient of Discharge is entered as configuration and not calculated Expansion Factor Y is calculated differently Output of the calculation is mass flow r
326. you can explicitly revoke your own password obtained authorization before it times out by writing zero to the Password Test register Access granted by password whether Soft or Hard is to the module as a whole including the password registers themselves That is in order to change a stored Hard password you must first obtain write access to the module by giving the correct Write Enable password However some registers are exempt from authorization There are a very few registers that are exempt from write authorization and are always writable the Password Test register 18 is one such for the obvious reason Similarly some registers are exempt from read authorization and are always readable they include most of the first 20 holding registers including the Firmware Product and Group codes in registers 0 and 1 So an application like AFC Manager can learn whether it is talking to an AFC without being trapped in a catch 22 the Site Status in register 6 so the application can learn whether the password mode is Soft or Hard and verify the operator s password entry using the proper method and the Accessed Port and Authorization register 18 so the application can learn whether access was granted in Hard password mode even if the wrong read password was entered ProSoft Technology Inc Page 51 of 267 March 2 2011 Site Configuration AFC Manager Configuration Tool User Manual Liquid and Gas Flow Computer The Accessed Port and A
Download Pdf Manuals
Related Search
Related Contents
FLETS接続サービス設定マニュアル(PDF)版 リーフレットはこちらから(Eiplaza/MB[PDF形式/2221KB] 25195 FORMULA ENGINES 7 - Accueil 〈各部の名称とはたらき〉 Plan Marshall 2.vert Rapport de suivi Epson WorkForce DS-40 Copyright © All rights reserved.
Failed to retrieve file