FMC Technologies MPU 1200 V6 Procedures Manual Download Page 18

 

 

 

MPU Dispatch Check  Procedure 

_____________________________________________________________________

 

 

____________________________________________________________________ 
Page 18 of 28                                                                    PRD-0000022543 Rev .00D 

                                                                    MNKS008 0.0 (4/08)

 

5.3. Input 

Parameters 

The table below identifies parameters required as input by the 
DECA algorithms. 
 

Object 

number 

ModBus 

Address

 

Description 

Unit 
 

570 

1140 

Calculated composition : Minimum avg. 
mole weight 

kg/mol

571 

1142 

Calculated composition : Maximum avg. 
mole weight 

kg/mol

572 

1144 

Mole Methane (C1) 

% mol 

573 

1146 

Mole Nitrogen (N2) 

% mol 

574 

1148 

Mole Carbon dioxide (CO2) 

% mol 

575 

1150 

Mole Ethane (C2) 

% mol 

576 

1152 

Mole Propane (C3) 

% mol 

577 

1154 

Mole Water (H2O) 

% mol 

578 

1156 

Mole Hydrogen sulphide (H2S) 

% mol 

579 

1158 

Mole Hydrogen (H2) 

% mol 

580 

1160 

Mole Carbon oxide (CO) 

% mol 

581 

1162 

Mole Oxygen (O2) 

% mol 

582 

1164 

Mole i-Butane (IC4) 

% mol 

583 

1166 

Mole n-Butane (NC4) 

% mol 

584 

1168 

Mole i-Pentane (IC5) 

% mol 

585 

1170 

Mole n-Pentane (NC5) 

% mol 

586 

1172 

Mole n-Hexane (NC6) 

% mol 

587 

1174 

Mole n-Heptane (NC7) 

% mol 

588 

1176 

Mole c-Octane (NC8) 

% mol 

589 

1178 

Mole n-Nonane (NC9) 

% mol 

590 

1180 

Mole n-Decane (NC10) 

% mol 

591 

1182 

Mole Helium (HE) 

% mol 

592 

1184 

Mole Argon (AR) 

% mol 

593 

1186 

Mole  (C6+) 

% mol 

594 

1188 

Mole rest 

% mol 

595 1190 

Reference 

Temperature 

596 1192 

Reference 

Pressure 

barA 

 

Summary of Contents for MPU 1200 V6

Page 1: ...Multipath Ultrasonic Gas Flow Meter External Data Communication MPU Series B Procedure Manual The Most Trusted Name In Measurement PRD 0000022543 Rev 00D FL nb April 2008 MNKS008 0 0 4 08 ...

Page 2: ...n Date Editor ECN Status Description Rev 03 C 01 03 2007 xxx 50000058026 released Take over from KOS SAP System Rev 00D April 2008 NB 20207 released New Logo Important All information and technical specifications in this documentation have been carefully checked and compiled by the author However we cannot completely exclude the possibility of errors Smith Meter GmbH is always grateful to be infor...

Page 3: ...3 2 Results Output Registers 10 3 3 High Resolution Accumulators 11 3 4 Parameter Registers 12 3 4 1 Spoolpiece Geometry 12 3 4 2 Rate Calibration Factors 12 4 REGISTER USAGE 13 4 1 The MPU Series B Alarm Status 13 4 2 The ModBus Protocol Message Exchange Example 14 4 2 1 Modbus Read Message Example 14 4 2 2 ModBus Write Message Example 15 5 REGISTER MAPPINGS FOR THE DECA CALCULATIONS 17 5 1 Exter...

Page 4: ...s 27 6 2 MPU Series B WinScreen 27 Figures Figure 1 Flow Computer Application Example 13 Figure 2 ModBus Read Message Example 14 Figure 3 ModBus Read Reply Message Example 14 Figure 4 ModBus Write Message Example 15 Figure 5 ModBus Write Reply Message Example 15 Figure 6 DLLTester User Interface 22 Figure 7 Running the SimpleTalk exe application 23 ...

Page 5: ...erial interface and the Ethernet interface is described 1 2 References Doc No Title 1 USM 0000020565 MPU Series B User Manual Operators Manual Configuring the ModBus Serial Ports 2 Andy Swales Schneider Electric Open ModBus TCP Specification Release 1 0 29 March 1999 1 3 Abbreviations CP Communications Processor DSP Digital Signal Processor cpBus Communications Processor Bus Dedicated protocol use...

Page 6: ..._____________________________________________________________________ ______________________________________________________________________ Page 6 of 28 PRD 0000022543 Rev 00D MNKS008 0 0 4 08 This page is intentionally left blank ...

Page 7: ... as 32 bit real numbers in two consecutive 16 bit ModBus registers All integer values are represented as 32 bit integers in two consecutive 16 bit ModBus registers The MPU Series B acts as a ModBus Slave 2 1 ModBus On Serial Port The MPU Series B supports ModBus connections on one or both of its serial ports 2 1 1 Serial Port 1 The settings for this port are shown in the table below Baud rate 9600...

Page 8: ...a ModBus reply from the MPU before the next ModBus request message issued by the master to the MPU The software on the ModBus master will typically need to follow this pattern of communication Send a request message A to the MPU Read the reply message from the MPU Wait for at least 20 mS Send the next request message B to the MPU etc This will ensure that the MPU has sufficient amount of time to c...

Page 9: ...dated continuously by the external system to ensure proper functioning of the MPU Series B Object number ModBus Address Description Unit 10000 20000 Line Pressure external source barA 10001 20002 Line Temperature external source C 1002 2004 Gas Density at Line Conditions external source Kg m3 1003 2006 Gas Density at Ref Conditions external source Kg Sm3 1004 2008 Gas Compressibility at Line Cond ...

Page 10: ...A 13 26 Used Line Temperature Celsius 14 28 Measured Flow Velocity path 1 m s 15 30 Measured Flow Velocity path 2 m s 16 32 Measured Flow Velocity path 3 m s 17 34 Measured Flow Velocity path 4 m s 18 36 Measured Flow Velocity path 5 m s 19 38 Measured Flow Velocity path 6 m s 20 40 Measured Velocity of Sound path 1 m s 21 42 Measured Velocity of Sound path 2 m s 22 44 Measured Velocity of Sound p...

Page 11: ...ro value here indicates that one or more alarms have been raised on the MPU Series B See chapter 4 1 for details 3 This is the elapsed time in seconds since the MPU Series B was powered up 4 This is the volume measured during the most recent measurement cycle 5 This is the time elapsed during the most recent measurement cycle 3 3 High Resolution Accumulators In some cases the normal 32 bit floatin...

Page 12: ...nsducer Path 4 Length mm 405 810 Transducer Path 5 Length mm 406 812 Transducer Path 6 Length mm 407 814 Transducer Path 1 Angle deg 408 816 Transducer Path 2 Angle deg 409 818 Transducer Path 3 Angle deg 410 820 Transducer Path 4 Angle deg 411 822 Transducer Path 5 Angle deg 412 824 Transducer Path 6 Angle deg 413 826 Wall thickness spool piece mm 414 828 Measurement Ref Temperature Celsius 3 4 2...

Page 13: ...rt Read objects of interest from the database Object 0 changed Store values in flow computer memory Write pressure temperature to objects 10000 and 10001 Wait 3 seconds NO YES Figure 1 Flow Computer Application Example 4 1 The MPU Series B Alarm Status The MPU Series B Alarm Status is a bit coded value indicating the state of the MPU Series B alarms To correctly interpret the bits the 32 bit float...

Page 14: ...emperature from an external source are object numbers 10000 and 10001 These have the ModBus addresses 20000 and 20002 These registers are read with ONE message with function code 3 Figure 2 below shows the contents of this message 01 03 4E 20 00 04 Node no Function code 1st register address Number of 16 bit values Figure 2 ModBus Read Message Example Note All bytes are shown in hexadecimal format ...

Page 15: ...numbers 10000 and 10001 These have the ModBus addresses 20000 and 20002 These registers are written with ONE message with function code 16 Figure 4 below shows the contents of this message 01 10 4E 20 00 04 Node no Function code Pressure 100 barA 1st register address 08 42 C8 00 Temp 37 5 barA 00 Number of 16 bit values Byte Count 42 16 00 00 Figure 4 ModBus Write Message Example The reply from th...

Page 16: ..._____________________________________________________________________ ____________________________________________________________________ Page 16 of 28 PRD 0000022543 Rev 00D MNKS008 0 0 4 08 This page is intentionally left blank ...

Page 17: ...te set of ModBus registers These are described in this chapter 5 1 External Input Values The table below identifies external input values required by the DECA algorithms Object number ModBus Address Description Unit 10000 20000 Line Pressure barA 10001 20002 Line Temperature C 10002 20004 Gas Density at Line Conditions external source kg m3 5 2 Mode Parameters Object number ModBus Address Descript...

Page 18: ...6 Mole Nitrogen N2 mol 574 1148 Mole Carbon dioxide CO2 mol 575 1150 Mole Ethane C2 mol 576 1152 Mole Propane C3 mol 577 1154 Mole Water H2O mol 578 1156 Mole Hydrogen sulphide H2S mol 579 1158 Mole Hydrogen H2 mol 580 1160 Mole Carbon oxide CO mol 581 1162 Mole Oxygen O2 mol 582 1164 Mole i Butane IC4 mol 583 1166 Mole n Butane NC4 mol 584 1168 Mole i Pentane IC5 mol 585 1170 Mole n Pentane NC5 m...

Page 19: ...6 Calculated DZ DT 1 K 174 348 Calculated Isobaric Heat Capacity J kmol 175 350 Calculated gas compressibility line 176 352 Calculated Gas Density line kg m3 177 354 Spare x 3 180 360 Mole Methane C1 mol 181 362 Mole Nitrogen N2 mol 182 364 Mole Carbon dioxide CO2 mol 183 366 Mole Ethane C2 mol 184 368 Mole Propane C3 mol 185 370 Mole Water H2O mol 186 372 Mole Hydrogen sulphide H2S mol 187 374 Mo...

Page 20: ..._____________________________________________________________________ ____________________________________________________________________ Page 20 of 28 PRD 0000022543 Rev 00D MNKS008 0 0 4 08 This page is intentionally left blank ...

Page 21: ...xcel The PC to use this DLL has to have the following pieces 1 Running Microsoft Windows 98 NT 2000 or later versions 2 Ethernet network or a Ethernet card in your computer 3 TCP IP protocol installed under Windows 4 Application can then call a Windows DLL Dynamic Link Library The DLL contains simple functions to read or write to the MPU Series B database via the network 6 1 1 Installation The IP ...

Page 22: ...ven t got this component installed If problems in Windows 95 run the W95ws2setup exe program This installs windows sockets version 2 Warning Do not run W95ws2setup exe if you have Windows NT 4 0 Windows 98 or later 6 1 2 Running The Test Programs Both test programs must be run from the same directory the MPUBComm dll file is located DLLTester exe This test program displays a simple dialog where th...

Page 23: ...rammers Interface The following functions are implemented in the DLL GetFloatValues This functions reads object as float values from the MPU Series B database int DLLAPI getFloatValues Input const char lpszHost Hostname to connect to MPUsn11 unsigned short nFirstObjectNumber First database object to read unsigned short nNOfObject The number of objects to read Output float pfValueBuffer Buffer to s...

Page 24: ...ecision floating point values The size of the array must at least be nFirstObjectNumber 4 bytes GetIntValues This functions reads object as float values from the MPU Series B database int DLLAPI getFloatValues Input const char lpszHost Hostname to connect to MPUsn11 unsigned short nFirstObjectNumber First database object to read unsigned short nNOfObject The number of objects to read Output int pn...

Page 25: ...to connect to MPUsn11 unsigned short nFirstObjectNumber First database object to read unsigned short nNOfObject The number of objects to read float pfValueBuffer Buffer with the values Parameters LpszHost Specifies the host to connect The host must be defined in the host file on your PC The string must be null terminated NFirstObjectNumber Specifies the object number of the first database value to...

Page 26: ...mber of objects to read int pnValueBuffer Buffer with the values Parameters LpszHost Specifies the host to connect The host must be defined in the host file on your PC The string must be null terminated NFirstObjectNumber Specifies the object number of the first database value to write These object numbers are defined in section 3 NNOfObject Specifies how many objects to write This must be a numbe...

Page 27: ...return The code is returned as a 64 bit integer The table below shows the valid return values Return Code Description 0 The function call succeeded 1 The function call failed 2 The connection attempt to the MPU Series B failed 3 The specified database address was invalid 6 2 MPU Series B WinScreen The MPU Series B WinScreen is a stand alone application for communicating with the MPU Series B It ca...

Page 28: ...191 Gas Measurement Products Houston TX USA 1 281 260 2190 Thetford England 44 1842 82 2900 Kongsberg Norway 47 32 286 700 Buenos Aires Argentina 54 11 4312 4736 Integrated Measurement Systems Corpus Christi TX USA 1 361 289 3400 Kongsberg Norway 47 32 286 700 San Juan Puerto Rico 1809 787 274 3760 United Arab Emirates Dubai 971 4 331 3646 Liquid Measurement Products Erie PA USA 1 814 898 5000 Los...

Reviews: