Schneider Electric Realfo Reference manual

Add to my manuals
1104 Pages

advertisement

Schneider Electric Realfo Reference manual | Manualzz

Realflo

Reference and User Manual

5/19/2011

The information provided in this documensstation contains general descriptions and/or technical characteristics of the performance of the products contained herein. This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation and testing of the products with respect to the relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us.

No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric.

All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to help ensure compliance with documented system data, only the manufacturer should perform repairs to components.

When devices are used for applications with technical safety requirements, the relevant instructions must be followed. Failure to use Schneider Electric software or approved software with our hardware products may result in injury, harm, or improper operating results.

Failure to observe this information can result in injury or equipment damage.

© 2011 Schneider Electric. All rights reserved

Table of Contents

Table of Contents ...................................................................... 1

Important Safety Information ................................................. 14

About The Book ........................................................................ 1

Introduction ............................................................................... 2

Overview ........................................................................................................... 2

System Requirements ....................................................................................... 4

Organization of the Manual ............................................................................... 4

Additional Documentation ................................................................................. 5

Installation ......................................................................................................... 6

Version Release Notes ..................................................................................... 7

Realflo Firmware Compatibility ....................................................................... 15

Realflo Maintenance Mode Reference ................................... 19

Selected Flow Computer ................................................................................. 21

Select Flow Computer Wizard ................................................................... 22

Open an Existing File ................................................................................. 22

Create a New File Wizard .......................................................................... 24

View Data ...................................................................................................... 121

View Current Readings ............................................................................ 121

Current Readings View ............................................................................ 122

Read Logs and Flow History .................................................................... 127

Maintenance .................................................................................................. 145

Connections for SCADAPack Sensor Calibration ................................... 145

Calibrate Inputs ........................................................................................ 146

Change Orifice Plate ................................................................................ 175

Force Inputs ............................................................................................. 187

Configuration ................................................................................................. 194

View and Change Configuration Wizard .................................................. 194

Switch to Expert Mode .................................................................................. 201

Realflo User Manual ..................................................................................... 201

Exit Realflo .................................................................................................... 201

Document (Version #.##.#) 5/19/2011

Table of Contents

Realflo Expert Mode Reference ........................................... 202

User Interface Components .......................................................................... 202

Display Window............................................................................................. 203

Current Readings ..................................................................................... 203

Title Bar .................................................................................................... 205

Standard Toolbar ..................................................................................... 206

Maintenance Toolbar ............................................................................... 207

Configuration Toolbar .............................................................................. 208

Status Bar ................................................................................................ 209

Scroll Bars ................................................................................................ 209

Menu Bar ................................................................................................. 209

File Menu ...................................................................................................... 210

New Command ........................................................................................ 210

Open Command....................................................................................... 210

Close Command ...................................................................................... 211

Save Command ....................................................................................... 211

Save As Command .................................................................................. 211

Export Command ..................................................................................... 213

Print Command ........................................................................................ 221

Print Preview Command .......................................................................... 222

Print Setup Command ............................................................................. 222

Print Setup Command in PEMEX Mode .................................................. 223

Recent Files List ...................................................................................... 225

Exit Command ......................................................................................... 225

Edit Menu ...................................................................................................... 226

Copy Command ....................................................................................... 226

Select All Command ................................................................................ 226

Custom Views Command ........................................................................ 226

Register Command .................................................................................. 239

Write Initial Values Command ................................................................. 240

Template Steps ........................................................................................ 241

View Menu .................................................................................................... 243

Current Readings Command ................................................................... 243

Hourly History Command ......................................................................... 246

Daily History Command ........................................................................... 249

New Day Triggers .................................................................................... 250

Hourly Gas Quality History Command ..................................................... 252

Event Log Command ............................................................................... 254

Document Revised May 19, 2011

Table of Contents

Alarm Log Command ............................................................................... 255

More Views Command ............................................................................ 256

Run 1 . . . Run 10 Commands ................................................................. 257

Change All Views Command ................................................................... 258

Toolbar Command ................................................................................... 258

Status Bar Command .............................................................................. 258

Maintenance Mode .................................................................................. 258

Start in Expert Mode ................................................................................ 258

Configuration Menu ....................................................................................... 260

Replace Flow Computer .......................................................................... 260

Initialize Command .................................................................................. 273

Real Time Clock....................................................................................... 276

Wireless Security Settings ....................................................................... 277

Flow Computer Information ..................................................................... 278

Setup ........................................................................................................ 288

Sensor and Display .................................................................................. 289

Flow Run .................................................................................................. 303

Process I/O .............................................................................................. 338

Serial Ports .............................................................................................. 343

IP Command ............................................................................................ 358

Register Assignment ................................................................................ 373

DNP ......................................................................................................... 380

Store and Forward ................................................................................... 380

Power Management Configuration .......................................................... 383

Pulse Input Configuration ........................................................................ 386

Gas Sampler Output Configuration.......................................................... 386

Modbus Mapping ..................................................................................... 388

Read Configuration .................................................................................. 399

Write Configuration .................................................................................. 400

Edit Script ................................................................................................. 401

Run Script ................................................................................................ 405

Log Results .............................................................................................. 405

Options ..................................................................................................... 406

C/C++ Program Loader ........................................................................... 408

Accounts .................................................................................................. 409

Lock Flow Computer ................................................................................ 412

Unlock Flow Computer ............................................................................ 413

Override Flow Computer Lock ................................................................. 414

Document Revised May 19, 2011

Table of Contents

Show Lock Status .................................................................................... 414

Maintenance Menu ....................................................................................... 415

Log On ..................................................................................................... 415

Read Logs/History ................................................................................... 415

Calibration ................................................................................................ 418

Calibration Report Options ...................................................................... 446

Change Orifice Plate ................................................................................ 447

Calculation Control .................................................................................. 458

Update Readings ..................................................................................... 459

Update Readings Once ........................................................................... 460

Force Inputs ............................................................................................. 460

Communication Menu ................................................................................... 465

PC Communications Settings Command ................................................ 465

Connect to Controller Command ............................................................. 524

Disconnect from Controller Command .................................................... 524

Window Menu ............................................................................................... 526

New Window Command .......................................................................... 526

Cascade Command ................................................................................. 526

Tile Command.......................................................................................... 526

Arrange All Command ............................................................................. 526

Open Window List .................................................................................... 526

Help Menu ..................................................................................................... 527

Contents Command ................................................................................. 527

About Command ...................................................................................... 527

Realflo Wizards ..................................................................... 528

Navigating Wizards ....................................................................................... 528

Create New File Wizard ................................................................................ 528

Read Configuration From the Flow Computer ......................................... 530

Create Configuration From a Template File ............................................ 535

Create Configuration Step-by-Step.......................................................... 576

Replace Flow Computer Wizard ................................................................... 619

Read Logs and Flow History Wizard............................................................. 626

Connect to Flow Computer ...................................................................... 626

Select Runs to Read ................................................................................ 627

Select Flow Computer Configuration ....................................................... 628

Select Alarm and Event Logs to Read ..................................................... 628

Select Hourly and Daily History to Read ................................................. 629

Document Revised May 19, 2011

Table of Contents

Save Data ................................................................................................ 632

Export Data .............................................................................................. 633

Calibrate Inputs Wizard ................................................................................. 643

Connect to Flow Computer ...................................................................... 643

Sensor Calibration ................................................................................... 645

Run Calibration Procedure ...................................................................... 646

MVT Calibration Procedure ..................................................................... 660

Change Orifice Plate Wizard ......................................................................... 676

Connect to Flow Computer ...................................................................... 676

Select Meter Run ..................................................................................... 677

Choose Orifice Fitting Type Step ............................................................. 678

Dual Chamber Orifice .............................................................................. 679

Single Chamber Orifice ............................................................................ 684

Force Inputs Wizard ...................................................................................... 687

Connect to Flow Computer ...................................................................... 687

Select Run or Transmitter to Force ......................................................... 688

Force Run Inputs ..................................................................................... 689

Force MVT Inputs .................................................................................... 690

TeleBUS Protocol Interface .................................................. 692

Register Addresses ................................................................................. 692

TeleBUS Configuration Registers ................................................................. 708

Configuration Command Execution ......................................................... 709

Input Configuration .................................................................................. 710

MVT Configuration ................................................................................... 715

MVT Calibration ....................................................................................... 726

Contract Configuration ............................................................................. 729

AGA-3 Configuration ................................................................................ 731

AGA-7 Configuration ................................................................................ 733

Coriolis Meter Configuration .................................................................... 734

V-Cone Configuration .............................................................................. 736

AGA-8 Configuration ................................................................................ 739

NX-19 Configuration ................................................................................ 744

Orifice Plate Change ................................................................................ 746

User Account Configuration ..................................................................... 751

Meter Runs Configuration ........................................................................ 755

Flow Run Identification ............................................................................ 755

Flow Computer Execution Control ........................................................... 758

Document Revised May 19, 2011

Table of Contents

Flow Computer ID Configuration ............................................................. 759

Enron Modbus Time Stamp Configuration .............................................. 760

Real Time Clock Configuration ................................................................ 761

SolarPack 410 Power Management Configuration.................................. 764

SolarPack 410 Gas Sampler Output........................................................ 766

SolarPack 410 Pulse Input Accumulation ................................................ 768

Display Control Configuration .................................................................. 770

Process Input / Output Configuration ...................................................... 776

Calibration Registers ............................................................................... 781

Force Inputs Registers ............................................................................. 788

Event and Alarm Log Data ....................................................................... 798

Log User Defined Events ......................................................................... 808

Hourly History Data .................................................................................. 809

Program Information Registers ................................................................ 812

Flow Computer Events and Alarms .............................................................. 814

Global Events and Alarms ....................................................................... 814

AGA-3 (1985) Events and Alarms ........................................................... 816

AGA-3 (1992) Events and Alarms ........................................................... 817

AGA-7 Events and Alarms ....................................................................... 818

AGA-11 Events and Alarms ..................................................................... 818

V-Cone Events and Alarms ..................................................................... 819

AGA-8 Events and Alarms ....................................................................... 820

NX-19 Events and Alarms ....................................................................... 821

Sensor Events and Alarms ...................................................................... 822

Calibration and User Defined Alarms and Events ................................... 834

Flow Computer Error Codes ......................................................................... 836

Calculation Engine Errors ........................................................................ 836

AGA-3 (1985) Calculation Errors ............................................................. 836

AGA-3 (1992) Calculation Errors ............................................................. 837

AGA-7 Calculation Errors ........................................................................ 838

AGA-11 Calculation Errors ...................................................................... 838

V-Cone Calculation Errors ....................................................................... 838

AGA-8 Calculation Errors ........................................................................ 839

NX-19 Calculation Errors ......................................................................... 840

Flow Calculation Engine Command Errors .............................................. 840

MVT Command Errors ............................................................................. 842

Coriolis Meter Errors ................................................................................ 843

SolarPack 410 Errors ............................................................................... 843

Document Revised May 19, 2011

Table of Contents

AGA-3 Command Errors .......................................................................... 843

AGA-7 Command Errors .......................................................................... 843

AGA-11 Command Errors ........................................................................ 843

V-Cone Command Errors ........................................................................ 843

AGA-8 Command Errors .......................................................................... 844

NX-19 Command Errors .......................................................................... 844

Flow Computer Commands .......................................................................... 844

Flow Computer Register Grouping ...................................... 847

Register Group Data ..................................................................................... 847

Configure Register Group Location .............................................................. 849

Flow Computer Application ID ............................................. 850

Application Identifiers .................................................................................... 850

Device Configuration Read Only Registers .................................................. 851

Application Identifier ................................................................................ 853

Company Identifier ................................................................................... 853

Enron Modbus Protocol Interface ........................................ 854

Register Addresses ....................................................................................... 855

Variable Types ......................................................................................... 855

Flow Computer Variables ........................................................................ 856

Enron Modbus General Purpose Registers .................................................. 858

Register Mapping ..................................................................................... 858

Flow Computer Global Variables .................................................................. 860

Program Information Variables ................................................................ 860

Meter Runs Configuration Variable ......................................................... 860

Real Time Clock Variables ...................................................................... 860

Flow Computer ID Variables .................................................................... 861

Hourly / Daily Archive Records ................................................................ 861

Hourly Gas Quality Archive Records ....................................................... 863

Flow Computer Events Variables ............................................................ 864

User Account Events Variables ............................................................... 864

Event/Alarm Archive Variable .................................................................. 864

Event and Alarm Log Events Variables ................................................... 864

Meter Run 1 Data Variables .......................................................................... 867

Meter Run 1 Flow Computer Execution State Variable ........................... 867

Meter Run 1 Instantaneous and Accumulated Variables ........................ 867

Document Revised May 19, 2011

Table of Contents

Meter Run 1 Input Configuration Variables ............................................. 870

Meter Run 1 Flow Computer Execution Control Variable ........................ 873

Meter Run 1 ID Variables ........................................................................ 873

Meter Run 1 Contract Configuration Variables ........................................ 874

Meter Run 1 AGA-3 Configuration Variables ........................................... 875

Meter Run 1 V-Cone Configuration Variables ......................................... 875

Meter Run 1 AGA-7 Configuration Variables ........................................... 876

Meter Run 1 AGA-8 Configuration Variables ........................................... 877

Meter Run 1 NX-19 Configuration Variables ........................................... 881

Plate Change Events Variables ............................................................... 881

Enron Forcing Events Variables .............................................................. 882

Meter Run 1 Flow Computer Events Variables ....................................... 883

Meter Run 2 Data Variables .......................................................................... 887

Meter Run 3 Data Variables .......................................................................... 887

Meter Run 4 Data Variables .......................................................................... 888

Meter Run 5 Data Variables .......................................................................... 888

Meter Run 6 Data Variables .......................................................................... 889

Meter Run 7 Data Variables .......................................................................... 889

Meter Run 8 Data Variables .......................................................................... 889

Meter Run 9 Data Variables .......................................................................... 890

Meter Run 10 Data Variables ........................................................................ 890

MVT-1 Data and Configuration Variables ..................................................... 890

MVT-1 MVT Configuration Variables ....................................................... 891

MVT-1 Events Variables .......................................................................... 893

MVT-2 Data and Configuration Variables ..................................................... 894

MVT-3 Data and Configuration Variables ..................................................... 895

MVT-4 Data and Configuration Variables ..................................................... 895

MVT-5 Data and Configuration Variables ..................................................... 895

MVT-6 Data and Configuration Variables ..................................................... 896

MVT-7 Data and Configuration Variables ..................................................... 896

MVT-8 Data and Configuration Variables ..................................................... 897

MVT-9 Data and Configuration Variables ..................................................... 897

MVT-10 Data and Configuration Variables ................................................... 898

Event and Alarm Log .................................................................................... 899

Global Alarms and Events ....................................................................... 900

AGA-3 (1985) Alarms and Events ........................................................... 902

AGA-3 (1992) Alarms and Events ........................................................... 903

AGA-7 Alarms and Events ....................................................................... 904

Document Revised May 19, 2011

Table of Contents

AGA-11 Alarms and Events ..................................................................... 904

V-Cone Alarms and Events ..................................................................... 904

AGA-8 Alarms and Events ....................................................................... 905

NX-19 Alarms and Events ....................................................................... 907

MVT Alarms and Events .......................................................................... 907

Coriolis Meter Alarms and Events ........................................................... 909

Calibration and User Defined Alarms and Events ................................... 909

Calculation Engine Errors ........................................................................ 909

AGA-3 (1985) Calculation Errors ............................................................. 910

AGA-3 (1992) Calculation Errors ............................................................. 910

AGA-7 Calculation Errors ........................................................................ 911

V-Cone Calculation Errors ....................................................................... 911

AGA-8 Calculation Errors ........................................................................ 911

NX-19 Errors ............................................................................................ 911

PEMEX Modbus Protocol Interface ..................................... 913

Register Addresses ....................................................................................... 913

Meter Run 1 Data Variables .......................................................................... 914

Meter Run 1 Instantaneous and Accumulated Variables ........................ 914

Meter Run 1 Historic Variables ................................................................ 915

Meter Run 2 Data Variables .......................................................................... 915

Meter Run 2 Instantaneous and Accumulated Variables ........................ 915

Meter Run 2 Historic Variables ................................................................ 916

Meter Run 3 Data Variables .......................................................................... 916

Meter Run 3 Instantaneous and Accumulated Variables ........................ 916

Meter Run 3 Historic Variables ................................................................ 917

Meter Run 4 Data Variables .......................................................................... 917

Meter Run 4 Instantaneous and Accumulated Variables ........................ 917

Meter Run 4 Historic Variables ................................................................ 918

Historic Data Variables ................................................................................. 918

Historic Record Format ............................................................................ 919

Gas Quality History Record Format ......................................................... 919

Meter Run 1 Configuration ............................................................................ 920

AGA Configuration ................................................................................... 920

Gas Composition Configuration ............................................................... 920

Meter Run 2 Configuration ............................................................................ 922

AGA Configuration ................................................................................... 922

Meter Run 3 Configuration ............................................................................ 922

Document Revised May 19, 2011

Table of Contents

AGA Configuration ................................................................................... 922

Gas Composition Configuration ............................................................... 923

Meter Run 4 Configuration ............................................................................ 923

AGA Configuration ................................................................................... 923

Gas Composition Configuration ............................................................... 923

Configuration Values ..................................................................................... 923

Calculated Compressibility ...................................................................... 923

Tap Location ............................................................................................ 923

Run Enable .............................................................................................. 924

AGA Calculation Method ......................................................................... 924

Time Synchronization ................................................................................... 924

Event and Alarm Log .................................................................................... 924

Global Alarms and Events ....................................................................... 925

AGA-3 (1985) Alarms and Events ........................................................... 929

AGA-3 (1992) Alarms and Events ........................................................... 929

AGA-7 Alarms and Events ....................................................................... 930

AGA-11Alarms and Events ...................................................................... 931

V-Cone Alarms and Events ..................................................................... 931

AGA-8 Alarms and Events ....................................................................... 932

NX-19 Alarms and Events ....................................................................... 933

MVT Alarms and Events .......................................................................... 934

Coriolis Meter Alarms and Events ........................................................... 935

Calibration and User Defined Alarms and Events ................................... 935

Calculation Engine Errors ........................................................................ 936

AGA-3 (1985) Calculation Errors ............................................................. 937

AGA-3 (1992) Calculation Errors ............................................................. 937

AGA-7 Calculation Errors ........................................................................ 937

AGA-11 Calculation Errors ...................................................................... 938

V-Cone Calculation Errors ....................................................................... 938

AGA-8 Calculation Errors ........................................................................ 938

NX-19 Errors ............................................................................................ 938

Retrieval and Acknowledgment of Events and Alarms ................................. 939

Alarm or Event Record Format ................................................................ 939

Event Status Bits ..................................................................................... 939

Alarm Status Bits ..................................................................................... 939

Alarm Acknowledgement ......................................................................... 940

Measurement Units ............................................................... 941

Document Revised May 19, 2011

Table of Contents

US1 Units ...................................................................................................... 941

US2 Units ...................................................................................................... 941

US3 Units ...................................................................................................... 942

US4 Units ...................................................................................................... 942

US5 Units ...................................................................................................... 943

US6 Units ...................................................................................................... 943

US7 Units ...................................................................................................... 944

US8 Units ...................................................................................................... 944

PEMEX Units ................................................................................................ 944

IP Units .......................................................................................................... 945

Metric1 Units ................................................................................................. 945

Metric2 Units ................................................................................................. 946

Metric3 Units ................................................................................................. 946

SI Units .......................................................................................................... 947

Input Averaging ..................................................................... 948

Flow-Dependent Time Weighted Linear Average ......................................... 948

Flow Weighted Linear Average ..................................................................... 948

No Flow Linear Average ............................................................................... 949

Creating Custom Realflo Applications ................................ 950

SCADAPack Controllers ............................................................................... 950

Telepace Files:......................................................................................... 950

ISaGRAF Files: ........................................................................................ 950

Modifying the Application ......................................................................... 951

Building the Application for Telepace Firmware ...................................... 952

Building the Application for ISaGRAF Firmware ...................................... 952

SCADAPack 314/330/334 and SCADAPack 350 Controllers ...................... 953

SCADAPack 32 Controllers .......................................................................... 953

Realfloi Files ............................................................................................ 953

Realflot Files ............................................................................................ 953

Modifying the Application ......................................................................... 954

Building the Application ........................................................................... 955

Measurement Canada Approved Version ........................... 956

Flow Computer Disabled Commands ........................................................... 956

Enron Protocol Disabled Commands ............................................................ 957

Measurement Canada Lockout Cable .......................................................... 958

Document Revised May 19, 2011

Table of Contents

Measurement Canada Approved Flow Computers ....................................... 958

SCADAPack 32........................................................................................ 958

SCADAPack 314 ..................................................................................... 958

SCADAPack 330/334 .............................................................................. 958

SCADAPack and SCADAPack LP........................................................... 959

SolarPack 410.......................................................................................... 959

SCADAPack 4203 DR ............................................................................. 959

SCADAPack 4203 DS ............................................................................. 960

SCADAPack 4202 DR ............................................................................. 960

SCADAPack 4202 DS ............................................................................. 961

DNP3 Protocol User Manual ................................................. 962

DNP Overview ............................................................................................... 962

DNP Architecture ..................................................................................... 962

Modbus Database Mapping ..................................................................... 965

SCADAPack DNP Operation Modes ....................................................... 966

SCADAPack DNP Outstation ........................................................................ 966

How to Configure SCADAPack DNP Outstation ..................................... 967

SCADAPack DNP Master ............................................................................. 973

SCADAPack DNP Master Concepts ....................................................... 973

How to Configure SCADAPack DNP Master ........................................... 977

How to Configure SCADAPack Address Mapping .................................. 981

How to Configure SCADAPack DNP Mimic Master ................................ 982

SCADAPack DNP Router ............................................................................. 982

How to Configure a SCADAPack DNP Router ........................................ 983

Design Considerations .................................................................................. 986

Considerations of DNP3 Protocol and SCADAPack DNP Driver ............ 987

Typical Configuration Malpractices and Recommendations ................... 987

Configuration FAQ ................................................................................... 993

DNP Configuration Menu Reference ............................................................ 996

Application Layer Configuration ............................................................... 997

Data Link Layer Configuration ............................................................... 1002

Master .................................................................................................... 1005

Master Poll ............................................................................................. 1006

Address Mapping ................................................................................... 1012

Routing ................................................................................................... 1014

Binary Inputs Configuration ................................................................... 1017

Binary Outputs Configuration ................................................................. 1020

Document Revised May 19, 2011

Table of Contents

16

–Bit Analog Inputs Configuration ....................................................... 1023

32-Bit Analog Inputs Configuration ........................................................ 1026

Short Floating Point Analog Inputs ........................................................ 1029

16-Bit Analog Outputs Configuration ..................................................... 1033

32-Bit Analog Outputs Configuration ..................................................... 1035

Short Floating Point Analog Outputs ..................................................... 1037

16

–Bit Counter Inputs Configuration ..................................................... 1040

32-Bit Counter Inputs Configuration ...................................................... 1043

DNP Diagnostics ......................................................................................... 1046

DNP Status ............................................................................................ 1047

DNP Master Status ................................................................................ 1050

DNP Master Device Profile Document ........................................................ 1055

DNP Slave Device Profile Document .......................................................... 1071

Document Revised May 19, 2011

Important Safety Information

Important Safety Information

Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.

The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists, which will result in personal injury if the instructions are not followed.

This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.

DANGER

DANGER indicates an imminently hazardous situation which, if not avoided, will

result in death or serious injury.

WARNING

WARNING indicates a potentially hazardous situation which, if not avoided, can

result in death or serious injury.

CAUTION

CAUTION indicates a potentially hazardous situation which, if not avoided, can

result in minor or moderate.

CAUTION

CAUTION used without the safety alert symbol, indicates a potentially hazardous

Document Revised May 19, 2011

Important Safety Information situation which, if not avoided, can result in equipment damage..

PLEASE NOTE

Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material.

A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and the installation, and has received safety training to recognize and avoid the hazards involved.

BEFORE YOU BEGIN

Do not use this product on machinery lacking effective point-of-operation guarding. Lack of effective point-of-operation guarding on a machine can result in serious injury to the operator of that machine.

CAUTION

UNINTENDED EQUIPMENT OPERATION

Verify that all installation and set up procedures have been completed.

Before operational tests are performed, remove all blocks or other temporary holding means used for shipment from all component devices.

Remove tools, meters, and debris from equipment

Failure to follow these instructions can result in death, serious injury or equipment damage.

Follow all start-up tests recommended in the equipment documentation. Store all equipment documentation for future references.

Software testing must be done in both simulated and real environments.

Verify that the completed system is free from all short circuits and grounds, except those grounds installed according to local regulations (according to the

National Electrical Code in the U.S.A, for instance). If high-potential voltage testing is necessary, follow recommendations in equipment documentation to prevent accidental equipment damage.

Before energizing equipment:

Remove tools, meters, and debris from equipment.

Close the equipment enclosure door.

Remove ground from incoming power lines.

Perform all start-up tests recommended by the manufacturer.

Document Revised May 19, 2011

Important Safety Information

OPERATION AND ADJUSTMENTS

The following precautions are from the NEMA Standards Publication ICS 7.1-

1995 (English version prevails):

Regardless of the care exercised in the design and manufacture of equipment or in the selection and ratings of components, there are hazards that can be encountered if such equipment is improperly operated.

It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe operation. Always use the manufacturer‟s instructions as a guide for functional adjustments. Personnel who have access to these adjustments should be familiar with the equipment manufacturer‟s instructions and the machinery used with the electrical equipment.

Only those operational adjustments actually required by the operator should be accessible to the operator. Access to other controls should be restricted to prevent unauthorized changes in operating characteristics.

Document Revised May 19, 2011

About The Book

About The Book

At a Glance

Document Scope

This manual describes the Realflo programming environment for

SCADAPack controllers.

Validity Notes

This document is valid for all versions of Realflo.

Product Related Information

WARNING

UNINTENDED EQUIPMENT OPERATION

The application of this product requires expertise in the design and programming of control systems. Only persons with such expertise should be allowed to program, install, alter and apply this product.

Follow all local and national safety codes and standards.

Failure to follow these instructions can result in death, serious injury or equipment damage.

User Comments

We welcome your comments about this document. You can reach us by email at [email protected].

Realflo User and Reference Manual

May 19, 2011

1

Introduction

Overview

Introduction

Realflo is a Man-Machine Interface to the Control Microsystems Gas Flow

Computer. The Gas Flow Computer runs on any of the SCADAPack controllers (4202 DR, 4202 DS, 4203 DR or 4203 DS), SCADAPack 32,

SCADAPack 300, SCADAPack, SCADAPack 100: 1024K, SCADAPack LP controllers and SolarPack 410. Realflo allows editing of the flow computer configuration parameters with configuration dialogs for process inputs, contract specifications, compressibility calculations, and flow calculations for each meter run. The operator may write configuration data to the flow computer or read it back. parameter checking is provided on user entries.

The flow computer is an electronic natural gas flow computer providing the following industry standard calculations:

AGA-3 (1992) for gas volume calculation with orifice meters;

AGA-7 for gas volume calculation with turbine meters;

AGA-11 for gas volume calculations with Coriolis meters (this calculation type is not supported on 16-bit controllers);

V-Cone for gas volume calculation with V-Cone gas flow meters;

AGA-8 Detailed calculation for gas compressibility calculation; and

NX-19 for gas compressibility calculation in legacy applications.

Realflo displays the flow computer current readings, historical logs, alarm logs, and event logs for each meter run. Realflo supports having multiple configuration and display windows open simultaneously to display data from multiple views.

Realflo can be used to configure and calibrate the SCADAPack 4000, 4202, and 4203, as well as Rosemount MVT transmitters. The gas flow computer automatically polls the MVT transmitter for sensor information used in the gas flow calculations.

Realflo generates customized reports for configuration data, historical data logs, gas quality historical data logs, event logs, alarm logs, and calibrations.

Realflo can save configuration parameters, current readings, historical data logs, and event logs to spreadsheet files in csv format or in Flow-Cal cfx format.

Realflo provides wizard-style dialogs to guide you through the configuration, maintenance and calibration procedures.

The flow computer integrates with SCADA systems using Modbuscompatible communications. You can access data, configuration, and calculation factors over a SCADA network as well as locally at the flow computer. This manual describes the configuration and operation procedures for these systems.

Realflo User and Reference Manual

May 19, 2011

2

Introduction

The flow computer supports Enron Modbus protocol. This protocol is used widely in the Oil and Gas industry to obtain data from electronic flow measurement devices. The protocol is a de-facto standard in many industries.

The flow computer supports PEMEX Modbus protocol. This protocol is used in the Oil and Gas industry to obtain data from electronic flow measurement devices.

Users may integrate the flow calculation capability with user applications written in Ladder Logic, IEC 61131-3 or C/C++.

Realflo User and Reference Manual

May 19, 2011

3

Introduction

System Requirements

Realflo 6.70 is supported on the following operating systems (32- and 64-bit platforms):

Microsoft Windows 2000 Professional

Microsoft Windows XP Professional

Microsoft Windows Vista Ultimate on 32-bit and 64-bit platforms

Microsoft Windows Vista Enterprise on 32-bit and 64-bit platforms

The Realflo program requires the following minimum system configuration.

Pentium 133MHz or better.

Minimum screen resolution supported is 1024 by 768.

Minimum 32 MB of RAM, 64MB recommended.

Mouse or compatible pointing device.

Hard disk with approximately 35 Mbytes of free disk space.

Organization of the Manual

New users should read the sections in order, to gain an understanding of underlying concepts before tackling detailed material.

The Realflo Installation Procedure section describes how to install Realflo.

The Realflo Maintenance Mode section describes how to use Realflo in the

Maintenance Mode.

The Realflo Expert Mode section describes how to use Realflo in the Expert

Mode.

The Realflo Wizards section describes how to use the configuration wizards available in Realflo.

The Measurement Units section describes the available units of measure.

The Creating Custom Realflo Applications section describes modifying the flow computer application.

The following sections describe communication with a SCADA system. If you are using Realflo alone these sections are not needed.

The TeleBUS Protocol Interface section describes interfacing the flow computer with a SCADA host.

Flow Computer Register Grouping section describes how to group commonly read data from a SolarPack 410 flow computer.

Flow Computer Application ID section describes the configuration registers that provide useful information on the flow computer, logic applications, and controller used in a Realflo application.

The Enron Modbus Protocol Interface section describes interfacing the flow computer with an Enron Modbus host.

The PEMEX Modbus Protocol Interface section describes interfacing the flow computer with a PEMEX Modbus host.

The DNP3 User Manual section describes interfacing the flow computer with a DNP host.

Realflo User and Reference Manual

May 19, 2011

4

Introduction

Additional Documentation

The Control Microsystems Hardware User Manual is a complete reference to Flow Computer and 5000 I/O modules.

The Telepace Ladder Logic Reference and User Manual describes the creation of application programs in the Ladder Logic language.

The ISaGRAF User and Reference Manual describes the creation of application programs using IEC 61131-3 languages.

The TeleBUS Protocols User Manual describes communication using

Modbus compatible protocols.

The TeleBUS DF1 Protocol User Manual describes communication using

DF1 compatible protocols.

Realflo User and Reference Manual

May 19, 2011

5

Installation

Introduction

Before using Realflo, you need to install the Realflo program on your system. The installation is automated and takes only a few minutes.

Some virus checking software may interfere with Setup. If you experience any difficulties with Setup, disable your virus checker and run Setup again.

To install Realflo, follow these steps:

(1) Insert the Realflo setup CD into CD drive. The CD loads automatically.

Realflo and Firmware Loader need to be installed.

(2) Select Install Realflo to start the Realflo install wizard.

(3) Select Install Firmware Loader to start the Firmware Loader install wizard.

(4) Select Install Adobe Reader to install the Adobe Acrobat reader.

(5) Select Control Microsystems Web Site to open the CD version of the website.

(6) Select Browse CD to open Windows Explorer and view the CD contents.

(7) Select Exit to close the Realflo install menu.

Flow computers used with Realflo need to have 1024K RAM and have the

Flow Run option enabled. Contact Control Microsystems to purchase a memory upgrade or flow run option.

Realflo User and Reference Manual

May 19, 2011

6

Introduction

Version Release Notes

New Features in Realflo 6.77

Realflo 6.77 includes the following new features and enhancements.

When restoring a configuration after a flow computer upgrade any forced values used in the configuration can be restored.

The Enron Modbus Gas Analysis history is now available. Gas Quality

History is available when the Gas Transmission option bit is enabled for the controller.

Time stamping of Enron Modbus can be defined as time leads data or time lags data for flow data.

Support for polling sensors for 10 runs in a SCADAPack 32 flow computer is added. Sensors and Coriolis meters can be polled using multiple serial ports and the flow computer manages the polling so that a 1 second poll of each sensors is achieved.

Acknowledging of Alarms and Events is now configurable so the Host

SCADA system can have control over how alarms and events are acknowledged.

The selection of forward or reverse sensing is added. The direction status register can now be configured for the On status, i.e. forward indicated by On or reverse indicated by On.

An indication of a configuration change in the flow computer density calculation is added. Registers provide the time and date of configuration changes to the AGA-8 calculation. This includes changes to the gas composition.

New Features in Realflo 6.76

AGA-11, Coriolis Mass Flow Meter Support

A new flow calculation type, AGA-11, is added to Realflo. The AGA-11 calculation supports the Endress and Hauser Promass 83 Coriolis meter.

Bi-Directional Flow Support

Realflo supports bi-directional flow. Flow direction, forward or reverse, is indicated by a value or status allowing flow rates and accumulation to be done for each flow direction.

New Features in Realflo 6.75

Windows7 Support Added

Realflo Supports for Windows 7 OS.

New Features in Realflo 6.74

Realflo 6.74 includes the following new features and enhancements.

When gas ratios are written to the flow computer using the Write

Configuration command or the Set AGA8 command the new gas ratios are updated in the Configuration Proposed registers and in the

Configuration Actual registers. This allows a Realflo user or SCADA host to immediately confirm the new ratios were written to the flow

Realflo User and Reference Manual

May 19, 2011

7

Introduction computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

The writing of Real Time Clock, AGA-8 and Orifice plate configuration changes from a host to the flow computer has been simplified with the addition of the Modbus Mapping Settings. Using Modbus Mapping run configuration changes can be written to the flow computer as a single block of registers without the need of TeleBUS Command sequences.

Operator response time is significantly improved over previous versions of Realflo. This results in significant time savings when an operator first goes online with a flow computer and when monitoring online.

Measurement Canada approval for SCADAPack 4203, SCADAPack

314/330/334, SolarPack 410 and SCADAPack 32 is added.

New Features in Realflo 6.73

Wet gas correction factor is added for the two models of the V-Cone device: the V-Cone and the Wafer Cone.

New Features in Realflo 6.72

Support for the SCADAPack 314 controller is added.

New Features in Realflo 6.71

The V-Cone calculation is improved to include the Wafer Cone device. The

V-Cone configuration now includes a selection for adiabatic expansion factor type when either V-Cone or Wafer Cone devices are used.

New Features in Realflo 6.70

Realflo version 6.70 includes the following new features and enhancements:

PEMEX Modbus Protocol Support

New data columns to display the start time for the period, events logged during the period, and alarms logged during the period.

New Volume PEMEX column on the Hourly and Daily History tables displays the corrected volume for a flow when PEMEX is configured.

Realflo provides one set of base conditions for temperature and pressure as part of the contract configuration for a specific run. PEMEX

Modbus requests a second default set of base conditions (secondary conditions). The default set of base conditions is:

20°C (68°F) and 1 kg/cm2 (14.22334 psi)

The hourly history Volume PEMEX column displays the corrected volume for the flow.

New Up-Time column added to the PEMEX Hourly and Daily History tables shows the measurement time (in minutes) in the contract day.

New Average Heating Value column added to the PEMEX Hourly and

Daily History tables displays the average heating value accumulated during the contract period.

New Quality column added to the PEMEX Hourly and Daily History tables to indicate if there are alarms during the period.

New Hourly and Daily History tables to display PEMEX-specific data.

Realflo User and Reference Manual

May 19, 2011

8

Introduction

Gas Quality Control History

The Gas Quality Control History feature has been added to the View menu.

This feature includes the following:

Gas Quality History feature now provides a method to record and store the average value of natural gas components in the hourly history event log.

Flow Computer Report Quality History feature now provides a method to create, store, and print gas quality history reports for the calculations of the natural gas components in the hourly event history log.

Realflo Display Quality History feature provides a method to display gas quality history reports for the calculations of the natural gas components in the hourly event history log.

Realflo Display Quality History feature provides a method to read gas quality history reports of the natural gas components in the hourly event history log.

Realflo Display Quality History feature provides a method to export gas quality history reports of the natural gas components in the hourly event history log.

New Features in Realflo 6.51

Realflo version 6.51 includes the following new features and enhancements:

Flow Computer Register Grouping

Register grouping provides a method to group commonly read data from a

SolarPack 410 flow computer. The data that is commonly read is in scattered register locations in the flow computer. Register grouping enables the SCADA Host to read a sequential block of data in a single read command. The start address for the register group is user defined.

New Features in Realflo 6.50

Realflo version 6.50 includes the following new features and enhancements:

Support for SCADAPack 330 and SCADAPack 334 Controllers

The SCADAPack 330 and SCADAPack 334 controllers support up to four meter runs. The Flow Computer Information and Replace Flow Computer dialogs are displayed differently when the SCADAPack 330, SCADAPack

334 and SCADAPack 350 controller is used. These dialogs display the multiple C/C++ programs that can execute in the SCADAPack 330,

SCADAPack 334 and SCADAPack 350 controller.

New Features in Realflo 6.42

Realflo version 6.42 includes the following new features and enhancements:

Enron General Purpose Registers Added

Using fixed register mapping the flow computer mirrors standard Modbus registers into Enron Modbus registers. This allows the host to read and write data to Enron Modbus registers not directly associated with the flow computer.

Realflo User and Reference Manual

May 19, 2011

9

Introduction

Remove AGA-3 (1985) Flow Calculations

AGA-3 (1985) calculation type is removed for SCADAPack 5203/4,

SCADAPack LP, SCADAPack 100 and SCADAPack 4202 flow computers.

The following Modbus register commands have been removed.

351 Get AGA-3 (1985) Configuration

353 Set AGA-3 (1985) Configuration

The following changes have been made to the Enron Modbus handler.

Register 7101 and 7351: Flow calculation type 2 = AGA-3 (1985) is recognized by SCADAPack 5203/4, SCADAPack LP, SCADAPack 100 and SCADAPack 4202 flow computers up to version 6.41.

Register 7151 to 7161 and 7401 to 7411: These registers read and write configuration for AGA-3 (1985 and 1992). For flow calculation type 2 =

AGA-3 (1985) for SCADAPack 5203/4, SCADAPack LP, SCADAPack

100 and SCADAPack 4202 flow computers up to version 6.41.

New Features in Realflo 6.41

Realflo version 6.41 includes the following new features and enhancements:

Support for Application Identifier

SCADAPack and SCADAPack 32 controllers are compatible with older firmware that does not provide the application identifier feature.

Flow computers enable the register mapping feature. This is not compatible with older firmware for SCADAPack 32, SCADAPack 300, SolarPack 410, and SCADAPack 4203 controllers, or ISaGRAF applications that used these registers, for any controllers. Logic applications need to disable the mapping if they wish to use the registers for other uses.

SCADAPack 300, SCADAPack 4203, and SolarPack 410 flow computers with the application identifier feature will not load on firmware that does not support the feature. The firmware needs to be updated to a version supporting the application identifier.

New Features in Realflo 6.40

Realflo version 6.40 includes the following new features and enhancements:

Support for SolarPack 410 Controllers

The SolarPack 410 is a solar-powered one-run flow computer. This unit brings integrated solar power, intelligent battery charging and spreadspectrum communication to remote EFM installations.

New Features in Realflo 6.30

Realflo version 6.30 includes the following new features and enhancements:

Support for SCADAPack 4203 Controllers

The SCADAPack 4203 controllers (4203 DR and 4203 DS), is now supported in Realflo. These controllers support up to two meter runs, are physically identical to the SCADAPack 4202 DR and 4202 DS), but are based on a 32-bit ARM7-TDMI processor.

Realflo User and Reference Manual

May 19, 2011

10

Introduction

New Features in Realflo 6.21

Realflo version 6.21 includes the following enhancements:

Changes to the Wet Gas Meter Parameter

The Wet Gas Meter Factor can now be changed while the calculations are running. The calculations need to be stopped before any change in other the settings can be accepted.

For Realflo versions 6.01 To 6.20, changing Wet Gas Meter Factor requires a new contract day to be started, as the flow calculation has to be stopped.

For Realflo version 6.21 and later, changing the Wet Gas Meter Factor can be accomplished without stopping the flow calculations. This means that a new a new contract day does not have to be started when this parameter needs to be changed.

AGA-7 Uncorrected Flow Volume- Turbine Meter Factor

The AGA7 Uncorrected Flow Volume now has the option to include or exclude the turbine meter factor. The AGA-7 property page in Realflo includes an option to determine whether the M factor is included in the calculation of the Uncorrected Flow Volume. The default option is to include the M factor in the calculation. This option has no effect on corrected flow totals.

CSV and CSX Export Enhancements

The Export to File and Print commands now include the following parameters in the file and printed reports:

The date and time that the report was exported or printed.

The date and time of the last flow calculation update.

The orifice tap, flange or pipe location, configuration.

The lower range limit and upper range limit of the transmitter‟s sensor for each meter run input that uses a transmitter.

The calculated, or entered, relative density.

The calculated, or entered, heating value.

The wet gas meter factor.

New Features in Realflo 6.20

Realflo version 6.20 includes the following new features and enhancements:

Support for

SCADAPack 350

The SCADAPack 350 controller is now supported in Realflo. The

SCADAPack 350 controller supports up to four meter runs. The Flow

Computer Information and Replace Flow Computer dialogs are displayed differently when the SCADAPack 350 controller is used. These dialogs display the multiple C/C++ programs that can execute in the SCADAPack

350 controller.

Flow Accumulator Time Stamps

The time stamp of the flow accumulators is updated whenever the flow computer run is running, regardless of whether there is flow or not. This is

Realflo User and Reference Manual

May 19, 2011

11

Introduction so that under typical conditions that the time stamp of hourly and daily records will correspond to the end of the hour, the exception being configuration events that produce breaks in the records during the hours.

New Features in Realflo 6.00

Realflo version 6.0 included the following features and enhancements:

4000 Transmitter Display Enhancements

Custom items may now be added to the MVT display. Registers can be in the range 1 to 9999, 10001 to 19999, 30001 to 39999 and 40001 to 49999.

A seven character description string is displayed below the value for the first half of the display period. A seven character units string is displayed below the value for the second half of the display period. This string may be scrolled to allow a scaling exponent to be displayed.

Absolute / Gage Configuration of 4000 Transmitters

Realflo now provides configuration of either absolute or gage mode for the

SCADAPack transmitters. When gage mode is selected an entry is provided for the local atmospheric pressure.

AGA-8 Composition Editing for Hexane Plus Added

Realflo now allows the entering of a single value for hexane and higher components (n-Hexane, n-Heptane, n-Octane, n-Nonane, and n-Decane).

For hexane and higher components, Realflo allows entering of the percent of the combined value used for each component.

AGA-8 Heating Value and Specific Gravity

Heating value and specific gravity may be calculated, as is currently done, or they may be entered as configuration parameters.

CFX Export Enhancements

Realflo provides an option to export one record per hour, rather than one record per period measured by the by the flow computer. When this option is selected Realflo merges records produced by the flow computer within a single hour into a single record.

Realflo now provides an option to export data in a time leads data format.

The time stamp on exported records is the time at the start of the hour containing the records.

Realflo now provides an option to set the live value flags for gas analysis, energy, or gravity. The CFX file snapshot section contains four flags describing if certain values are live or static. Realflo does not provide a way to obtain live values for gas analysis, energy, or gravity and these flags are set to false in the CFX export. A user may write an application program to obtain the live values for gas analysis, energy, or gravity.

Flow-Cal cannot accept file names longer than 30 characters. Previous versions of Realflo suggested file names that were longer than 30 characters in some cases. Realflo provides a number of options for the file name. A display window shows an example of the selected file name.

Previous versions of Realflo would load the Run # (1, 2, 3, etc.) into the meter number and the Run ID was loaded into the meter name in the CFX

Realflo User and Reference Manual

May 19, 2011

12

Introduction file. Realflo now provides an option to use the Run ID for the meter number and to set the meter name to none.

CSV Export Enhancements

Realflo provides an option to export data in a time leads data format. The time stamp on exported records is the time at the start of the hour containing the records.

Maintenance Mode

Realflo Maintenance mode provides quick and easy access to commonly used functions. The Realflo application starts in Maintenance mode when first installed but can be configured to start in Expert Mode thereafter.

Flow Computer Configuration Templates

Realflo can save a configuration as a template file for new flow computers.

Files can be created from a template using the New File wizard. A template is used to create a new flow computer from a pre-set configuration. The template specifies what data is pre-set and what needs to be entered when the template is used.

Improved Flow Computer Setup Dialog

The Flow Computer Setup dialog is now divided into four separate dialogs to improve setup and information functions.

The Flow Computer Setup dialog defines the flow computer type, number of flow runs, and the Flow Computer ID.

The Flow Computer Information dialog displays information about the flow computer.

The Read Configuration dialog reads configuration from the flow computer.

The Write Configuration wizard writes configuration to the flow computer.

Forcing of Flow Calculation Inputs

Realflo allows users to force an input to a flow calculation. Realflo indicates the input is forced on the Current Readings view and shows the forced value. Realflo displays live value of the input, while it is forced, on the

Current Readings view.

Improved History Download and Archive

Realflo provides a wizard to automate the history download and archive process (Maintenance Mode only). Realflo allows the user to download new history data only. Realflo reads the information needed to archive the history, including information on the Current Readings view that is required for CFX exports.

Improved Transmitter and Run Integration

In previous versions of Realflo the MVT and Flow Run configurations were very much separate configurations. Some configuration was required to be entered in both the MVT configuration and the Run configuration.

In this version of Realflo when a MVT transmitter is selected in the Run configuration Input Type selection for Temperature, Static Pressure or

Differential Pressure the zero and full-scale entries are disabled and the

Realflo User and Reference Manual

May 19, 2011

13

Introduction values are forced to the MVT Lower Operating Limit and Upper Operating

Limit respectively.

New File Wizards

New File wizards have been added to improve the creation of new files.

Improved Plate Change Wizard Information

The plate change wizard is enhanced to work with single and dual chamber orifices and to allow Back and Cancel operations to improve usability.

Improved Process I/O Destination Restrictions

Realflo displays an error if a destination register for Process I/O is reserved.

Registers depend on the configured Flow Computer Type. SCADAPack LP,

SCADAPack 100: 1024K, and SCADAPack 4200 or 4300 transmitter types assume two flow runs. Other 16-bit SCADAPack types assume three flow runs. 32-bit SCADAPack types assume ten flow runs.

Improved Run ID length

Realflo allows a Run ID of up to 32 characters.

Improved Time Weighted Averages of DP, P, and T

Realflo provides time-weighted averages of the static pressure and temperature during low DP (or low pulse) cutoff. The differential pressure (or meter pulses) is considered zero since it is the typical reason for halting flow accumulation.

The hourly history Temperature column displays the average temperature in the period. When the Flow Time is zero, the value will be the average temperature for the entire hour or hour fragment.

The hourly history Pressure column displays the average pressure in the period. When the Flow Time is zero, the value will be the average pressure for the entire hour or hour fragment.

Calibration Reports

Realflo creates, stores, and can print a calibration report for each calibration session performed.

Current and Previous month totals

Realflo displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This

Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

AGA-7 uncorrected flow

Realflo displays the accumulated uncorrected flow volume for the current month and the previous month. Data is copied from the current month (This

Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

Analog Measurement Rate

Analog input measurements are taken every second regardless the number of flow runs. For SCADAPack flow computers the flow calculations are done

Realflo User and Reference Manual

May 19, 2011

14

Introduction every second for one run and every two seconds for two runs. The average value of the analog input measurement is used for each calculation.

History Restore

When a flow computer is replaced Realflo allows the user to read the flow history and logs from the existing flow computer and then initialize the new flow computer with the flow history and data.

New I/O Module Support

5506 Analog Input module.

5505 RTD Input module.

5606 I/O module.

Wet Gas Meter Factor (Realflo 6.10 and later)

The Wet Gas Meter Factor is used when there is water in the flow. Realflo now allows an entry in the Contract Configuration for a Wet Gas Meter. This factor is used when there is water in the flow. Volume, mass and energy values will be adjusted according to this factor. For example the Wet Gas

Meter Factor would be set to 0.95 when the water content is 0.05 (5 %).

Realflo Firmware Compatibility

The following table shows the relationship between Realflo and flow computer and the required version of firmware needed for the target controller.

In the following table:

SCADAPack includes SCADAPack, SCADAPack Plus, SCADAPack Light,

SCADAPack LP, Micro16 and SCADAPack 4200 controllers.

SCADAPack 32 includes SCADAPack 32 and SCADAPack 32P controllers.

If you have any questions concerning the compatibility of Realflo applications and firmware versions, contact Control Microsystems Technical

Support at [email protected]

or phone 888-226-

6876.

Realflo and

Flow Computer

Version 2.02

Version 2.03

Version 2.05

Version 3.00

Version 3.10

Version 4.00

Version 4.10

Version 4.50

Version 4.51

Controller Firmware

SCADAPack firmware 1.40 and 1.42

SCADAPack firmware 1.43

SCADAPack firmware 1.45

SCADAPack firmware 1.45

SCADAPack firmware 1.47

SCADAPack firmware 1.47 and 1.49

SCADAPack firmware 1.50, 1.52 and 1.53

SCADAPack 32 firmware 1.10, 1.11, 1.13, 1.14 and

1.15

SCADAPack firmware 1.55

SCADAPack 32 firmware 1.16

SCADAPack firmware 1.55 and 1.56

SCADAPack 32 firmware 1.16, 1.17 and 1.18

Realflo User and Reference Manual

May 19, 2011

15

Introduction

Realflo and

Flow Computer

Version 5.01

Controller Firmware

Version 5.02

Version 5.10

Version 5.11

Version 5.12

Version 5.14

Version 5.14a

Version 5.15

Version 5.16

Version 5.20

Version 5.21

Version 5.22

Version 5.23

Version 5.24

Version 5.26

Version 5.27

Version 6.00

Version 6.01

Version 6.10

Version 6.11

Version 6.20

Version 6.21

Version 6.22

SCADAPack firmware 1.57 and 1.58

SCADAPack 32 firmware 1.19 and 1.20

SCADAPack firmware 1.58

SCADAPack 32 firmware 1.20

SCADAPack firmware 1.59

SCADAPack 32 firmware 1.21

SCADAPack firmware 1.59 and 1.60

SCADAPack 32 firmware 1.21 and 1.22

SCADAPack firmware 1.61 and 1.62

SCADAPack 32 firmware 1.23

SCADAPack firmware 1.62

SCADAPack 32 firmware 1.23

SCADAPack firmware 1.63

SCADAPack 32 firmware 1.23

SCADAPack firmware 1.63 and 1.64

SCADAPack 32 firmware 1.23

SCADAPack firmware 1.64

SCADAPack 32 firmware 1.23

SCADAPack firmware 1.64

SCADAPack 32 firmware 1.24

SCADAPack firmware 1.64

SCADAPack 32 firmware 1.24 and 1.25

SCADAPack firmware 1.64 and 1.65

SCADAPack 32 firmware 1.25

SCADAPack firmware 1.65 and 1.80

SCADAPack 32 firmware 1.31, 1.32 and 1.40

SCADAPack firmware 1.80, 1.81, 1.82 and 2.00

SCADAPack 32 firmware 1.40

SCADAPack firmware 2.00 and 2.10

SCADAPack 32 firmware 1.40

SCADAPack firmware 2.11, 2.12, 2.20 and 2.21

SCADAPack 32 firmware 1.40, 1.42, 1.50 and 1.51

SCADAPack firmware 2.21 and 2.30

SCADAPack 32 firmware 1.51 and 1.60

SCADAPack firmware 2.30

SCADAPack 32 firmware 1.60

SCADAPack firmware 2.30

SCADAPack 32 firmware 1.70 and 1.75

SCADAPack firmware 2.31

SCADAPack 32 firmware 1.79

SCADAPack firmware 2.31

SCADAPack 32 firmware 1.79

SCADAPack 350/SCADAPack 4203 firmware 1.10

SCADAPack firmware 2.31

SCADAPack 32 firmware 1.79

SCADAPack 350/SCADAPack 4203 firmware 1.10

SCADAPack firmware 2.31

SCADAPack 32 firmware 1.79

Realflo User and Reference Manual

May 19, 2011

16

Introduction

Realflo and

Flow Computer

Controller Firmware

Version 6.30

Version 6.31

Version 6.32

Version 6.33

Version 6.34

Version 6.35

Version 6.40

Version 6.41

Version 6.42

Version 6.50

Version 6.70

Version 6.71

Version 6.72

SCADAPack 350/SCADAPack 4203 firmware 1.10

SCADAPack firmware 2.31

SCADAPack 32 firmware 1.79

SCADAPack 350/SCADAPack 4203 firmware 1.20

SCADAPack firmware 2.41

SCADAPack 32 firmware 1.80

SCADAPack 350/SCADAPack 4203 firmware 1.20

SCADAPack firmware 2.41

SCADAPack 32 firmware 1.80

SCADAPack 350/SCADAPack 4203 firmware 1.21

SCADAPack firmware 2.41

SCADAPack 32 firmware 1.80

SCADAPack 350/SCADAPack 4203 firmware 1.21

SCADAPack firmware 2.41

SCADAPack 32 firmware 1.80

SCADAPack 350/SCADAPack 4203 firmware 1.21

SCADAPack firmware 2.41

SCADAPack 32 firmware 1.80

SCADAPack 350/SCADAPack 4203 firmware 1.21

SCADAPack firmware 2.43

SCADAPack 32 firmware 1.90

SCADAPack 350/SCADAPack 4203 firmware 1.24

SolarPack 410 firmware 1.30

SCADAPack firmware 2.44

SCADAPack 32 firmware 1.92

SCADAPack 350/SCADAPack 4203 firmware 1.25

SolarPack 410 firmware 1.32

SCADAPack firmware 2.44

SCADAPack 32 firmware 1.92

SCADAPack 350/SCADAPack 4203 firmware 1.25

SolarPack 410 firmware 1.32

SCADAPack firmware 2.44

SCADAPack 32 firmware 1.92

SCADAPack 350/SCADAPack 4203 firmware 1.40

SCADAPack 33x firmware 1.40

SolarPack 410 firmware 1.40

SCADAPack firmware 2.44

SCADAPack 32 firmware 2.12

SCADAPack 350/SCADAPack 4203 firmware 1.45

SCADAPack 33x firmware 1.45

SolarPack 410 firmware 1.45

SCADAPack 300, SCADAPack 4203, and SolarPack

410 flow computers require firmware 1.45 or newer.

SCADAPack 32 PEMEX and GOST flow computers require firmware 2.12 or newer.

SCADAPack 32 standard flow computers require firmware 2.10 or newer.

SCADAPack firmware 2.50

Realflo User and Reference Manual

May 19, 2011

17

Introduction

Realflo and

Flow Computer

Controller Firmware

Version 6.73

Version 6.74

SCADAPack 32 firmware 2.10

SCADAPack 314, 33x, and 350 firmware 1.47

SCADAPack 4203 firmware 1.47

SolarPack 410 firmware 1.47

SCADAPack firmware 2.50

SCADAPack 32 firmware 2.10

SCADAPack 314, 33x, and 350 firmware 1.47

SCADAPack 4203 firmware 1.47

SolarPack 410 firmware 1.47

SCADAPack firmware 2.50

SCADAPack 32 firmware 2.16

SCADAPack 314, 33x, and 350 firmware 1.51

SCADAPack 4203 firmware 1.51

SolarPack 410 firmware 1.51

Realflo User and Reference Manual

May 19, 2011

18

Realflo Maintenance Mode Reference

Realflo Maintenance Mode Reference

Realflo opens in Maintenance Mode when you start it on your computer.

Maintenance Mode provides an interface into the commonly used functions associated with the maintenance of a flow computer installation. The Realflo

Maintenance Mode main screen is shown below.

The main screen displays a number of buttons grouped into sections. The buttons in each section let you to perform typical flow computer maintenance actions such as:

Selecting or Creating a Flow Computer file.

Viewing data and reading logs and history from the flow computer.

Performing calibration and orifice plate change operations for the flow computer.

Viewing and modifying the configuration of the flow computer.

Tip: Each button on the screen has a tool tip. Moving your mouse pointer over the button will cause the tool tip to be displayed.

The maintenance actions are explained in the following sections:

Selected Flow Computer on page 21.

View Current Readings on page 121.

Read Logs and Flow History on page 127.

Calibrate Inputs on page 146.

Change Orifice Plate on page 175.

Realflo User and Reference Manual

May 19, 2011

19

Realflo Maintenance Mode Reference

Force Inputs on page 187.

View and Change Configuration on page 194.

Switch to Expert Mode on page 201.

Realflo User Manual on page 201.

Exit Realflo on page 201.

Realflo User and Reference Manual

May 19, 2011

20

Realflo Maintenance Mode Reference

Selected Flow Computer

The topmost section of the Maintenance Mode screen is the Selected Flow

Computer section. The section contains a Select Flow Computer button and display windows that will display the Flow Computer ID and the File

Name of the flow computer you select for use.

When you start Realflo, the Flow Computer ID and File Name display windows are blank as shown below.

Click the Select Flow Computer button to start the Select Flow Computer wizard. The wizard leads you through the steps to open an existing flow computer file, create new flow computer file, or to read the flow computer file from an existing flow computer.

Each step of in the wizard opens a dialog so that you can enter the parameters for that step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Realflo User and Reference Manual

May 19, 2011

21

Realflo Maintenance Mode Reference

Select Flow Computer Wizard

The Select Flow Computer wizard starts with the following dialog.

The wizard offers two selections for selecting a file: (1) Open an existing

file or (2) Create a new file.

Select the Open an existing file option if you have a copy of the flow computer file on your PC or available on a CD or other media. See the

Open an Existing File

section below.

Select the Create a new file option if you want to read the flow computer configuration from a flow computer, create a new configuration file using a template or create a new configuration file

step-by-step. See the

Create a New File Wizard

section below.

When you have selected an option, click Next> to move to the next step.

The wizard advances through the necessary steps depending on the option you select. The following sections describe each option.

Open an Existing File

The default option for selecting a flow computer is to Open an existing file.

When you click Next> the Open File dialog opens. You can select a local flow computer file to open using the using the Browse button or to open a recently used file from the Recently Used Files list.

Realflo User and Reference Manual

May 19, 2011

22

Realflo Maintenance Mode Reference

The Browse button opens the File Open dialog as shown below.

Use the Look in: dropdown selector to locate the flow computer file you wish to use.

When the file has been located, click on the file to highlight it. The file name will be displayed in the File name: window.

Click the Open button to close the dialog and return to the Open File dialog.

Click the Finish button to close the Open File dialog and return to the

Maintenance Mode main screen.

The Recently Used Files list contains the last 10 flow computer files that have been used.

To open one of these files:

Realflo User and Reference Manual

May 19, 2011

23

Realflo Maintenance Mode Reference

Click on the file name to highlight it. The complete file name and path are displayed in the Select File to Open edit box.

Click Finish to close the dialog and return to the Maintenance Mode main screen.

The Flow Computer ID and File Name displays now contain flow computer information as shown in the example below.

Create a New File Wizard

To create a new flow computer file, select the Create a new file radio button, click Next>. The Create New File wizard opens. The Create New File dialog offers you three choices to create a new flow computer file:

Read the configuration from the target flow computer (default selection).

Create a new configuration from a template file.

Create a new configuration step-by-step.

The Create New File dialog is shown below.

The How do you want to create a new file? selections determine how the new file is created.

Select Read Configuration from the Flow Computer to read the configuration of an existing flow computer. Realflo will connect to the flow computer, read configuration parameters, and save the file.

Follow the wizard steps described in the

Read Configuration From the

Flow Computer

section when you select this option.

Realflo User and Reference Manual

May 19, 2011

24

Realflo Maintenance Mode Reference

Select

Create Configuration From a Template File

to create a new

configuration file based on a template. A template contains pre-defined settings requiring you to fill in configuration data specific this flow computer.

Select the template file from the dropdown list. The last ten recently used templates are shown. The recently used template is selected by default.

The selection edit box is blank if no recently used templates are available.

Click Browse to choose another template file. A File Open dialog appears which allows you to select any template file.

Template files are created in the Expert Mode. When templates are created some flow computer configuration parameters are preset and are not displayed in the Create Configuration from Template wizard steps.

Follow the wizard steps described in the

Create Configuration Stepby-Step

section to configure the flow computer step by step.

Read Configuration From the Flow Computer

The Read Configuration from Flow Computer option enables you to connect to the flow computer and read the existing configuration from the flow computer. A communication link needs to exist between Realflo and the flow computer to use this option. The wizard prompts you for default communication settings or allows you to select new communication settings.

When Realflo reads configuration from a 32-bit flow computer, Realflo reads the flowing fields for each flow run:

Use Value on Sensor Fail (see section

Value on Sensor Fail

)

Differential Pressure default value (see section

Differential Pressure

Tab

)

Static Pressure default value (see section

Static Pressure Tab

)

Temperature default value (see section

Temperature Tab

)

For flow computers not supporting this feature, Realflo reads the following fields for each flow run:

Use Value on Sensor Fail = Last Known Good Value (see section

Value on Sensor Fail

)

Differential Pressure default value = 0 (see section

Differential

Pressure Tab

)

Static Pressure default value = 0 (see section

Static Pressure Tab

)

Temperature default value = 0 (see section

Temperature Tab

)

When the Read Configuration from Flow Computer option is selected, the

Connect to Flow Computer wizard leads you through the necessary steps.

The sequence of steps to read the configuration from a flow computer is:

Connect to Flow Computer wizard step.

Read Configuration from Flow Computer wizard step.

Save Configuration wizard step.

Open File

The Open File step lets you select the step

Realflo User and Reference Manual

May 19, 2011

25

Realflo Maintenance Mode Reference

Connect to Flow Computer

The Connect to Flow Computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud, no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

Realflo User and Reference Manual

May 19, 2011

26

Realflo Maintenance Mode Reference

See the section Communication Menu >>

PC Communications Settings

Command

in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Read Configuration from the Flow Computer

The Read Configuration from Flow Computer step starts with the Create

New File window as shown below.

Click the Next> button to begin reading the flow computer configuration form the flow computer.

The Communication progress displays the status of the reading of the configuration.

Realflo User and Reference Manual

May 19, 2011

27

Realflo Maintenance Mode Reference

Save Configuration File

Once the configuration has been read from the flow computer the Save File dialog is opened to prompt for a file name to save the configuration to.

Select the Save to Realflo.tfc to save the configuration to the default

Realflo.tfc file. This file will be located in the folder Realflo was installed in.

Click the Next> button to save the configuration and move to the next step.

Select the Save to another file to save the file to a specified name and location. When this option is selected the Save As dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

28

Realflo Maintenance Mode Reference

Select the folder to save the file in the Save in: window. Use the dropdown selector to browse the available folders on your PC. Enter the file name in the File name: window. The file will automatically be saved with the Realflo

.tfc extension.

Click the Save button to save the configuration file and close the Save

As dialog.

Click the Next> button to move to the next step.

Configuration Complete

The Configuration Complete dialog is the last step in the Read Configuration from Flow Computer wizard.

Click the Finish button to complete the wizard.

Realflo User and Reference Manual

May 19, 2011

29

Realflo Maintenance Mode Reference

Create Configuration From a Template File

When you choose to configure the flow computer using a template file, the

Create New File wizard prompts you through the steps needed.

Select File >> New from the Realflo command menu.

The Create New File dialog is displayed and the wizard will lead you through the steps to create a congiuration file from a temple.

Create New File Dialog

(1) Select the Create Configuration from a Template File radio button.

(2) Do one of the following: a. Select the template file from the dropdown list. The last ten recently used templates are shown. The recently used template is selected by default. b. Click Browse to choose another template file. A File Open dialog appears which allows you to select any template file.

(3) Click Next > to continue.

Template files are created in the Expert Mode. When templates are created some flow computer configuration parameters are preset and are not displayed in the Create Configuration from Template wizard steps.

Follow the wizard steps described in the following sections to configure the flow computer using the selected template.

Flow Computer Information

Flow Computer Status Dialog

When configuring the flow computer using a template file, select No when the Flow Computer Status dialog opens. This lets you choose the hardware type and firmware type manually.

Hardware and Firmware Type Step

Realflo User and Reference Manual

May 19, 2011

30

Realflo Maintenance Mode Reference

The Hardware and Firmware Type Dialog opens when you select No in the

Flow Computer Status dialog.

First, select the Hardware Type from the dropdown list. The template selected determines the default value when creating the configuration using a template. The options from which you can select are:

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100: 1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

Realflo User and Reference Manual

May 19, 2011

31

I/O Module Type Step

Realflo Maintenance Mode Reference

Second, select the Firmware Type from the dropdown list. The template selected determines the default value (either Telepace or ISaGRAF).

If the firmware selected is Telepace, the I/O Module Type dialog opens, followed by the Flow Computer ID dialog. If the firmware type selected is

ISaGRAF, the Flow Computer ID dialog opens.

This step selects the I/O module to use for the selected Hardware type. The register assignment in the new file is set to the default register assignment for the selected hardware type.

Select the I/O module for the flow computer from the dropdown list.

Selections displayed in the list depend on the flow computer hardware type.

Hardware Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100:

1024K

I/O Modules Available

Controller I/O only or Backwards compatible modules.

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5602 I/O Module

SCADAPack LP I./O

5601 I/O Module

5604 10V/40mA I/O module

5604 5V/20mA I/O module

, 5604 I/O Module, or 5606 I/O Module

SCADAPack 32P I/O

4202 DR or 4202 DR Extended/4203 DR I/O

SCADAPack 100: 1024K I/O

Realflo User and Reference Manual

May 19, 2011

32

Realflo Maintenance Mode Reference

Hardware Type

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

I/O Modules Available

4202/4203 DS I/O

SCADAPack 314/33x I/O

SCADAPack 330 Controller.

SCADAPack 33x I/O

SCADAPack 350 10V/40mA I/O

SCADAPack 350 5V/20mA I/O

4202 DR Extended/4203 DR I/O

4202/4203 DS I/O

Flow Computer ID Step

This step sets the Flow Computer ID.

Type the Flow Computer ID string in the edit box. This unique ID stops accidental mixing of data from different flow computers. The maximum length of the Flow Computer ID is eight characters. Any characters are valid.

You can leave the Flow Computer ID edit box blank.

Number of Flow Runs Step

This step selects the number of flow runs in the flow computer. The wizard will step through the configuration of the first run and then each subsequent run if more than one run is selected.

Realflo User and Reference Manual

May 19, 2011

33

Realflo Maintenance Mode Reference

Flow Run ID Step

Select the number of flow runs with the dropdown list. Valid values depend on the hardware type and the number of flow runs enabled for the flow computer. The template determines the default value when using a template.

For Micro16, SCADAPack, SCADAPack Light and SCADAPack Plus

Flow Computers, the maximum number of meter runs is three.

The selection of three meter runs is available for older flow computers that could be enabled for three meter runs.

For SCADAPack LP and SCADAPack (4202 and 4203) Flow

Computers, the maximum number of meter runs is two.

For SCADAPack 100: 1024K and SolarPack 410 Flow Computers, the maximum number of meter runs is one.

For SCADAPack 314/330/334 and SCADAPack 350 Flow Computers the maximum number of meter runs is four.

For SCADAPack 32 and SCADAPack 32P Flow computers the maximum number of runs you can select is ten.

This step sets the Flow Run ID for the meter run. This is the first step of a flow run configuration. The wizard will step you through the flow run configuration steps for the first run and then each subsequent run if you select more than one run.

Realflo User and Reference Manual

May 19, 2011

34

Realflo Maintenance Mode Reference

Copy Run Step

The Flow Run ID helps to identify the flow run. Type a string up to 32 characters long. Any characters are valid. You can leave the Flow Run ID edit box blank.

Older flow computers allow a string up to 16 characters. See the TeleBUS

Protocol Interface

section.

For run 1 the next step is

Flow and Compressibility

Calculations

.

This step controls how multiple runs are configured once the first run has been configured.

The Step by Step Configuration radio button selects that the run will be configured step by step as was the previous run. Parameters for each step are configured one at a time.

Realflo User and Reference Manual

May 19, 2011

35

Realflo Maintenance Mode Reference

The Copy configuration from radio button selects that the run will be configured the same as the run selected in the drop down window.

Flow Calculation Configuration

Flow and Compressibility Calculations Step

This step selects the flow and compressibility calculations for the first run.

Flow Calculation selects the type of flow calculation for the meter run. Valid values are:

AGA-3 (1985 version)

AGA-3 (1992 version)

AGA-7

AGA-11 (not available for 16-bit controllers)

V-cone calculations

The template selected determines the default value.

Compressibility Calculation selects the type of compressibility calculation for the meter run. Valid compressibility calculation values are:

AGA-8 Detailed

NX-19 (Not supported for PEMEX flow computers)

AGA-8 Detailed is the recommended calculation for new systems as it has superior performance compared to NX-19. NX-19 is provided for legacy systems. The template selected determines the default value.

Flow Direction Control selects the direction of flow indication, forward or reverse, for a meter run.

Forward by Value selection indicates the flow direction is forward when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive.

Realflo User and Reference Manual

May 19, 2011

36

Flow Run Units Step

Realflo Maintenance Mode Reference

Reverse by Value selection indicates the flow direction is reverse when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative.

Forward by Status selection indicates the flow direction is forward when the Flow Direction Register has a value of 0 (OFF).

Reverse by Status selection indicates the flow direction is reverse when the Flow Direction Register has a value of 1 (ON).

Flow Direction Register specifies which register indicates the forward or reverse flow direction status. Any valid register for the flow computer controller can be used for this setting. The default register is 1. This edit control is disabled if Flow Direction Control selection is Value. This control is hidden in GOST mode flow computers.

This step lets you select the units that are used for input measurements and contracts.

Input Units selects the units of measurement of input values for the meter run. Inputs may be measured in different units than the calculated results.

This allows you to use units that are convenient to you for measuring inputs.

A dropdown list allows the selection of the following unit types. The template selected determines the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

Realflo User and Reference Manual

May 19, 2011

37

Realflo Maintenance Mode Reference

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Input Units displays the parameters and units for these parameters:

DP (Differential pressure)

SP (Static pressure)

Temperature

Pipe and Orifice Diameter

Viscosity

Altitude

Heating Value

Contract Units selects the units of measurement of contract values. These units are used for the calculated results. A dropdown list allows the selection of the following unit types. The template selected determines the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Contract Units displays the parameters and units for these parameters when used for the contract. The parameters displayed depend on the contract units selected. The parameters are:

Volume

Realflo User and Reference Manual

May 19, 2011

38

Realflo Maintenance Mode Reference

Flow Run Inputs Step

This step lets you configure the flow run inputs. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Volume Rate

Energy

Energy Rate

Base Pressure

Base Temperature

Mass

Mass Flow Rate

Density

Flow Extension

Heating Value

Select Internal Sensor (4202 DR/DS or 4203DR/DS or SolarPack 410) to use a SCADAPack internal transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature. This is the only valid selection for run 1 of a SCADAPack flow computer. Other options are disabled.

Realflo User and Reference Manual

May 19, 2011

39

Analog Inputs

Realflo Maintenance Mode Reference

Select Sensor to use a multivariable transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature.

This is the default selection, except for run 1 of a SCADAPack controller.

The Where is sensor connected to the Flow Computer parameter enables the ability to select the serial or LAN port where the sensor is connected to the flow computer. Selections vary according to the flowcomputer type. Valid selections can include:

 com1

 com2

 com3

 com4

LAN

The What is the sensor model parameter selects the multivariable transmitter (MVT) type. The selections available are:

3095FB

4101

4102

4202 DR

4202 DS

4203 DR

4203 DS

The What value should be used if the sensor fails parameter selects the specified value in this field as the live input value when communicating with a sensor. The dropdown list lets you select:

Use Last Known Good Value

Use Default Value

When you open a file using an older file format, Realflo sets the default value of the Values on Sensor Fail field to Use Last Known Good.

When the status to a sensor changes and you select the Use Default Value option, this is added to the Event Log.

For flow computers 6.70 and later, when communication to a sensor fails and the configuration option “Use Last Known Good Value” is set to

“Use Default Value,” the flow computer needs to use the specified default value in the configuration in place of a live input value.

When communication to a sensor is restored and the configuration option for the Value on Sensor Fail field is set to use the default value, the flow computer uses the input value from the sensor as the live input value.

For flow computers prior to 6.70, the value on sensor fail is ``Use Last

Known Good Value.”

Realflo User and Reference Manual

May 19, 2011

40

Realflo Maintenance Mode Reference

Select Analog Inputs to use analog inputs to measure pressure, differential pressure, and temperature.

Valid values are:

Telepace Integer

ISaGRAF Integer

Float

Raw Float

The template selected determines the default value displayed.

For AGA-7 calculations, the value is fixed and set automatically. The value is Telepace Long if Telepace firmware is running, otherwise it is an

ISaGRAF integer if ISaGRAF firmware is running.

The next step is Differential Pressure Settings if AGA-3 or V-Cone is configured.

The next step is Turbine Settings if AGA-7 is configured.

Differential Pressure Limits Step

This step lets you configure the differential pressure input limits. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units are the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display, the transmitter uses these units. Valid values depend on the MVT type:

Realflo User and Reference Manual

May 19, 2011

41

Analog Inputs

Realflo Maintenance Mode Reference

For SCADAPack transmtters, valid units are: inches H2O at 68°F,

Pascal (Pa) and kiloPascal (kPa). The default is inches H2O at 68°F.

For the 3095 MVT valid units are: inches H2O at 60°F, Pascal (Pa), kiloPascal (kPa) and inches H2O at 68°F. The default is inches H2O at

60°F.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The template selected determines the default value displayed.

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The template selected determines the default value displayed.

Default Value is enabled if you configured the field using the Flow Run

Inputs dialog. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

If you configured sensor inputs, go to the

Static Pressure

section.

The dialog below opens when analog inputs are selected.

Realflo User and Reference Manual

May 19, 2011

42

Realflo Maintenance Mode Reference

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

DP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

DP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The

Realflo User and Reference Manual

May 19, 2011

43

Realflo Maintenance Mode Reference operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The template selected determines the default value displayed.

Turbine Limits Step

This step configures the turbine input for AGA-7 calculations.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Low Flow Pulse Limit is the number of pulses below which a low flow alarm will occur. The template selected determines the default value displayed.

Low Flow Detect Time is the length of time the number of pulses needs to remain below the Low Flow Pulse Limit for a low flow alarm to occur. Valid values are 1 to 5 seconds. The template selected determines the default value displayed.

Static Pressure Measurement Step

This step lets you select how the static pressure is measured.

Realflo User and Reference Manual

May 19, 2011

44

Realflo Maintenance Mode Reference

The pressure tap may be upstream or downstream of the orifice plate for

AGA-3.

Select Up Stream for an upstream static pressure tap. This is the default value. The control is disabled for AGA-7 and V-Cone calculations.

Select Down Stream for a downstream static pressure tap. The control is disabled for AGA-7 and V-Cone calculations.

Static Pressure Input Limits Step

This step lets you define the limits for the static pressure input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

Sensor Inputs

The dialog below is presented when sensor inputs are used.

Realflo User and Reference Manual

May 19, 2011

45

Realflo Maintenance Mode Reference

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The template selected determines the default value displayed.

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Default Value is enabled if you gage pressure using the Static Pressure

Options. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

The pressure sensor may measure absolute or gage pressure.

Select Absolute Pressure to measure absolute static pressure.

Select Gage Pressure to measure gage static pressure.

Realflo User and Reference Manual

May 19, 2011

46

Realflo Maintenance Mode Reference

Type the Atmospheric Pressure measured at the site. This control is disabled and set to zero if absolute pressure is selected.

The atmospheric pressure entered needs to be greater than zero. The maximum upper limits for atmospheric pressure are:

30 psi and PEMEX units for US1, US2, US3, US4, US5, US6, US7, US8,

4320

207

2.07

0.207 lbf/ft2 for IP units kPa bar

MPa for Metric1 units for Metric2 units for Metric3 units

207000 Pa for SI units

If you configured sensor inputs, see the Static Pressure Compensation

section.

Analog Inputs

The dialog below is presented when analog inputs are used.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float, and ISaGRAF integer types and disabled otherwise.

Realflo User and Reference Manual

May 19, 2011

47

Realflo Maintenance Mode Reference

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

SP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

SP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

Static Pressure Compensation Step

This step selects if compensation is applied for the location where calibration was performed. If you configured sensors or analog inputs from the Static Pressure Limits dialog, this is the next step in the configuration sequence.

Select No if compensation is not required. This is the default value.

Select Yes to compensate for the altitude and latitude.

Type the Altitude of the location. Valid values are

–30000 to 30000.

The template selected determines the default value displayed. This control is disabled if No is selected.

Type the Latitude of the location. Valid values are

–90 to 90. The template selected determines the default value displayed. This control is disabled if No is selected.

Temperature Limits Step

Realflo User and Reference Manual

May 19, 2011

48

Sensor Inputs

Realflo Maintenance Mode Reference

This step defines the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

The following dialog is presented when sensor (MVT) inputs are used.

Analog Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

The following dialog is presented when analog inputs are used.

Realflo User and Reference Manual

May 19, 2011

49

Realflo Maintenance Mode Reference

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Temperature at Zero Scale is the temperature that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type.

The template selected determines the default value displayed.

Contract Settings Step

Temperature at Full Scale is the temperature that corresponds to the fullscale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type.

The template selected determines the default value displayed.

This step lets you set the contract settings for the run.

Realflo User and Reference Manual

May 19, 2011

50

Realflo Maintenance Mode Reference

Input Average Weighting is the weighting method of the linear inputs. This applies to the differential pressure, static pressure, and temperature. Valid

values are time-weighted or flow-weighted (see Input Averaging on page

948 for more information). The template selected determines the default

value.

Contract Hour is the hour of the day that starts a new contract day using a

24-hour clock. The contract day begins at 00 minutes and 00 seconds of the specified hour. Valid values are 0 to 23. The template selected determines the default value displayed.

Standard Base Conditions are the default Base Temperature and Base

Pressure (absolute) values.

Base Temperature is the reference temperature to which contract flow values are corrected. Valid values are

–40 to 200. The default value is given in the table below.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default value is given in the table below.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

60 F

60 F

60 F

60 F

15 C

15 C

15 C

288.15 K

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

Realflo User and Reference Manual

May 19, 2011

51

Realflo Maintenance Mode Reference

Contract Units Standard Base

Temperature

US4

US5

US6

US7

US8

PEMEX

60 F

60 F

60 F

60 F

60 F

60 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Realflo for PEMEX flow computers provide a second set of base conditions.

PEMEX Base Conditions are the default Base Temperature and Base

Pressure (absolute) values when Realflo is operating in PEMEX mode.

Base Temperature is the reference temperature to which contract flow values are corrected. The default is listed in the table below for each type of contract unit.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default values are listed in the table below for each contract unit.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

60 F

60 F

60 F

60 F

15 C

15 C

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

68 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

AGA-3 Settings Step

This step sets the AGA-3 calculation parameters.

Realflo User and Reference Manual

May 19, 2011

52

Realflo Maintenance Mode Reference

Orifice Material is the material from which the orifice plate for the meter run is made. Valid values are Stainless Steel, Monel, and Carbon Steel. The template selected determines the default value displayed.

Pipe Material is the material from which the meter run pipe is made. Valid values are Stainless Steel, Monel, and Carbon Steel. The template selected determines the default value displayed.

Orifice Diameter is the diameter of the meter run orifice. The template selected determines the default value displayed.

Orifice reference temperature is the temperature at which the diameter of the meter run orifice was measured. The template selected determines the default value displayed.

Pipe Diameter is the measurement of the meter run pipe inside diameter.

The template selected determines the default value displayed.

Pipe reference temperature is temperature at which the meter run pipe diameter was measured. The template selected determines the default value displayed.

Beta Ratio is the ratio of orifice diameter to pipe diameter. It is displayed for information purposes only and cannot be edited.

Realflo displays messages if the beta ratio is outside recommended limits.

Isentropic Exponent is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value, a typical value of 1.3 is commonly used. The template selected determines the default value displayed.

Viscosity is a measure of the resistance of a measured gas to flow. Valid values are 0 to 1. The template selected determines the default value displayed.

AGA-3 Deadband Settings Step

This step sets AGA-3 calculation deadbands.

Realflo User and Reference Manual

May 19, 2011

53

Realflo Maintenance Mode Reference

Temperature Deadband is the tolerated change in the flowing temperature before temperature dependent factors in the flow calculation are recalculated. Changes in the temperature smaller than the deadband will be ignored in determining the result. The template selected determines the default value displayed. The upper limit is 7°F or 4°C.

Static Pressure Deadband is the tolerated change in the static pressure before static pressure dependent factors in the flow calculation are recalculated. Changes in the static pressure smaller than the deadband will be ignored in determining the result. A static pressure deadband setting of up to four percent of the typical static pressure level should have a small effect on the accuracy of the AGA-3 calculation. The template selected determines the default value displayed. The upper limit is 800 psi or 5500 kPa or the equivalent in other units.

Differential Pressure Deadband is the tolerated change in the differential pressure before differential pressure dependent factors in the flow calculation are recalculated. Changes in the differential pressure smaller than the deadband will be ignored in determining the result. A change of N in the differential pressure input will cause a change of 0.5 N in the calculation volume at base conditions. It is recommended that the differential pressure deadband be set to zero. The template selected determines the default value displayed. The upper limit is 4.5 inWC or 1.1 kPa or the equivalent in other units.

AGA-7 Settings Step

This step lets you define the AGA-7 settings.

Realflo User and Reference Manual

May 19, 2011

54

Realflo Maintenance Mode Reference

K Factor is the number of pulses per unit volume of the turbine meter. Valid values are 0.001 to 1000000. The template selected determines the default value displayed.

M Factor is the adjustment to the number of pulses per unit volume for the turbine meter compared to an ideal meter. Valid values are 0.001 to 1000.

The template selected determines the default value displayed.

*Uncorrected Flow Volume is the measurement of the volume of gas during the contract period.

The Uncorrected Flow Volume control is available in Realflo versions 6.20 and higher.

AGA -11 Configuration Step

AGA-11 configuration defines parameters unique to the AGA-11 calculation.

The AGA-11 calculation communicates with a Coriolis meter for the calculation. The AGA-11 configuration sets the communication parameters for communication between the Coriolis meter and the flow computer.

Realflo User and Reference Manual

May 19, 2011

55

Realflo Maintenance Mode Reference

Address

This is the Modbus address of the Coriolis Meter for serial communications.

Multiple Coriolis meters using the same serial port on the flow computer need to each have a unique Modbus address. Valid Modbus addresses are between 1 and 247. The default address is 247.

Port

This is the communication port on the flow computer that will be used to communicate with the Coriolis meter. Valid port selections depend on the type of controller the flow computer running on. The default port is the first valid port available on the controller.

Timeout

This is the time the flow computer waits for a response for Modbus read commands send to the Coriolis meter. When the timeout time is exceeded the command is unsuccessful and an alarm is added to the flow computer alarm list. Valid timeout values are from 0 to 1000 ms. The default value is

50 ms.

V-Cone Settings Step

V-Cone Configuration defines parameters unique to the V-Cone calculation.

Realflo User and Reference Manual

May 19, 2011

56

Realflo Maintenance Mode Reference

Cone Material

This is the material of the V-cone. Valid values are Carbon Steel, Stainless

304, and Stainless 316. The default value is determined by the template selected.

Pipe Material

This is the material from which the meter run pipe is made. Valid values are

Carbon Steel, Stainless 304, and Stainless 316. The default value is determined by the template selected.

Adiabatic Expansion Factor

The Adiabatic Expansion Factor drop down list selects which calculation is used for the adiabatic expansion factor of the calculation.

Select Legacy Calculation to use the older calculation method. This is the default selection. Flow computers prior to version 6.71 support only this selection.

Select V-Cone to use the V-Cone specific calculation. This selection should be used with V-Cone devices.

Select Wafer-Cone to use the Wafer-Cone specific calculation. This selection should be used with Wafer-Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

When reading from a flow computer that does not support the adiabatic expansion factor configuration, the method will be set to Legacy Calculation.

When writing to a flow computer that does not support the adiabatic expansion factor method, the configuration registers will be ignored and the expansion factor will not be written.

Cone Diameter

Realflo User and Reference Manual

May 19, 2011

57

Realflo Maintenance Mode Reference

The diameter of the meter run cone used for the flow calculation. The measurement units are displayed depending on the input units selected.

The default value is 3 inches.

Cone Measurement Temperature

This is the reference temperature at which the cone diameter for the meter run was measured. The measurement units are displayed depending on the input units selected. The default value is 59 degrees F.

Pipe Inside Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

The default value is 5 inches.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

The default value is 59 degrees.

Isentropic Exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected. Valid values are 0 to 1. The default value is 0.010268 centiPoise.

Wet Gas Correction Factor

The Wet Gas Correction Factor Method drop down list selects which calculation is used for the wet gas correction factor of the calculation.

Select Legacy Method to use the older correction method. This is the default selection. Flow computers prior to version 6.73 support only this selection.

Select V-Cone or Wafer Cone to use the V-Cone and Wafer Cone specific calculation. This selection should be used with V-Cone or Wafer

Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

The V-Cone or Wafer Cone supported Beta Ratios are:

For Fr (Froude Number) < 5 supported Beta Ratio is 0.55.

For Fr (Froude Number) < 5 supported Beta Ratio is 0.75.

For Fr (Froude Number) > 5 supported Beta Ratio is 0.75.

When V-Cone or Wafer Cone is selected and if the current Beta ratio is not supported when executing verification, a message is displayed.

Realflo User and Reference Manual

May 19, 2011

58

Realflo Maintenance Mode Reference

When V-Cone or Wafer Cone is selected, configuration of the fixed wet gas factor parameter, as set in the Contract tab, is disabled.

When Legacy Method is selected, configuration of the parameters used by the V-Cone or Wafer Cone method is disabled.

Mass Flow Rate of Liquid

The Mass flow rate of liquid at flow conditions parameter is used by the V-

Cone or Wafer Cone method and can be configured when V-Cone or Wafer

Cone is selected. This information needs to be gathered using a sampling method or a tracer method. The default is 0.

Density of Liquid

The Density of liquid at flow conditions parameter is used by the V-Cone or

Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected. The default is 0.

V-Cone Coefficients

This step defines the V-Cone coefficients.

Enter the V-Cone coefficient pairs from the meter-sizing report. The default list contains one pair: Re = 1000000; Cf = 0.82.

Click Add to add a coefficient pair.

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for every entry in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You

Realflo User and Reference Manual

May 19, 2011

59

Realflo Maintenance Mode Reference need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

To edit a coefficient pair in the table:

Select a row in the list.

Click Edit to open the Add/Edit Flow Coefficient dialog.

To delete a coefficient pair in the table:

Select a row in the list.

Click Delete to delete the pair form the list.

AGA-8 Options Step

This step sets AGA-8 calculation options.

Events can be logged each time an AGA-8 gas component changes.

Select Yes to log each change to the gas composition. Use this option if the gas composition changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the gas composition.

The Relative Density and Heating values can be calculated from the AGA-8 calculation or determined in a laboratory.

Realflo User and Reference Manual

May 19, 2011

60

Realflo Maintenance Mode Reference

Select Calculate the Values to have AGA-8 calculate the values.

Select Use Laboratory Values to used fixed values.

Relative Density sets the real relative density of the gas. Valid values are

0.07 to 1.52. The template selected determines the default value displayed.

This control is disabled if Calculate the Values is selected.

Heating Value sets the heating value of the gas. Valid values are 0 to 1800

BTU(60)/ ft

3

or the equivalent in the selected units. The template selected determines the default value displayed. This control is disabled if Calculate

the Values is selected.

AGA-8 Hexanes+ Options

This step lets you choose to enter Hexane and higher components individually or as a single combined value.

Gas composition can be measured with individual values for hexane and higher components or use a combined value.

Select Enter Each Component to use individual values for the higher components. This is the default selection.

Select Use Combined Hexanes+ with these Ratios to use a combined value. Type the ratios of the higher components.

n-Hexane defines the percentage of the Hexanes+ contributed by n-

Hexane.

n-Heptane defines the percentage of the Hexanes+ contributed by n-

Heptane.

n-Octane defines the percentage of the Hexanes+ contributed by n-

Octane.

n-Nonane defines the percentage of the Hexanes+ contributed by n-

Nonane.

Realflo User and Reference Manual

May 19, 2011

61

Realflo Maintenance Mode Reference

n-Decane defines the percentage of the Hexanes+ contributed by n-

Decane.

The Total field displays the sum of all portions. This value cannot be edited. The total of portions needs to be 100 percent.

AGA-8 Gas Composition Step

This step lets you define the AGA-8 gas composition. One of two configuration dialogs opens based on how you elected to enter Hexane and higher components.

Individual Components

The dialog below lets you enter combined Hexanes+ composition.

NX-19 Settings

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The ratio to each other for the components remains the same.

This step defines the NX-19 calculation. NX-19 is not supported for PEMEX flow computers.

Realflo User and Reference Manual

May 19, 2011

62

Realflo Maintenance Mode Reference

Specific Gravity is the specific gravity of the gas being measured. Valid values are 0.554 to 1.000. The template selected determines the default value displayed.

Carbon Dioxide is the percent of carbon dioxide in the gas being measured. This value needs to be in the range 0 to 15. The template selected determines the default value displayed.

Nitrogen is the percent of nitrogen in the gas being measured. This value needs to be in the range 0 to 15.

Heating Value is the heating value of the gas being measured. Valid values are 0 to 1800 BTU(60)/ft

3

or the equivalent in the selected units. The template selected determines the default value displayed.

Events can be logged each time the NX-19 configuration changes.

Select Yes to log each change to the configuration. Use this option if the configuration changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the configuration.

Sensor Configuration

The next step is Sensor Configuration if any transmitters were used in the

input configuration. Otherwise the next step is

Flow Computer

Configuration Summary

.

Sensor Configuration

This step lets you select how the transmitters are to be configured.

Realflo User and Reference Manual

May 19, 2011

63

Realflo Maintenance Mode Reference

The Flow Runs are configured to use these transmitters dialog is a table that shows each of the configured flow run numbers, the Flow Run ID for each, and the transmitter that the run uses for the differential pressure (DP), static pressure (SP), and temperature sensors. If an analog input is used for the flow run, AIN will be displayed in the coresponding DP, SP, or Temp column.

The How do you want to configure sensors? option lets you select how to continue configuring the sensors. The three options are:

Connect now and configure transmitters to connect to the flow computer and configure the attached transmitters. This selection is disabled if the flow computer configuration was selected to be completed offline in the Flow Computer Status step. If you choose this

option, go to the Configure Sensors

section to continue.

Edit sensor configuration without connecting to proceed directly to the editing pages, without connecting to the flow computer. If you

choose this option, go to the

Review Transmitters

section to continue.

Use default sensor configuration to complete the configuration without changing the sensor configuration. Sensor configuration will be

set to default values. If you choose this option, the next step is

Finish

.

Configure Sensors

This step lets you select to use the Realflo configuration or the sensor‟s configuration file.

Realflo User and Reference Manual

May 19, 2011

64

Realflo Maintenance Mode Reference

Sensor Search

Select Use the configuration from Realflo to use the configuration data from the Realflo file. This is the default setting.

Select

Use the transmitter’s current configuration by reading from the

transmitter to read configuration from a pre-configured transmitter.

This step searches for sensors connected to the flow computer serial ports or LAN port.

Realflo User and Reference Manual

May 19, 2011

65

Realflo Maintenance Mode Reference

Search Serial Option

Select Search Serial to search for transmitters connected to a serial port of the flow computer.

The Port parameter selects the flow computer serial port where the sensor is attached. Valid values are com1, com2, com3, and com4. The template selected determines the default value displayed.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a sensor. Valid values are 100 ms to 10000 ms.

The default is 300 ms.

Select Maximum to search for a number of MVT transmitters. The search operation will stop after finding the specified number of transmitters. The valid value is from 1 to 255. The default is 1.

Select Range to search the addresses in a specified range. The range to search for is typed in the edit boxes to the right of the radio button. The value in To edit control needs to be equal or great than the value in the first edit control. The maximum search range that can be typed is for 255 transmitters. The default range is 1 to 247.

Range Search supports addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode. The address mode of the flow computer serial port needs to be set to extended in order to search for transmitters with extended addresses.

Select All to search the addresses of transmitters connected with the serial port selected in Port. Up to 255 addresses are searched.

Click Next to start the search for sensors or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

Search LAN Option

Select Search LAN to search for transmitters connected to a LAN port of the flow computer.

The IP Address parameter specifies the IP address of a 4000 transmitter.

Valid entries are IP addresses in the format nnn.nnn.nnn.nnn where nnn are values between 0 and 255.

The Protocol parameter selects the type of IP protocol used to query the transmitter. Valid IP protocol selections are Modbus/TCP and Modbus RTU in UDP.

The IP port (for example port 502) for the selected protocol needs to be the same in the flow computer and the 4000 transmitter.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a 4000 transmitter. Valid values are 100 to 10000 milliseconds. The default is 5000 ms.

Click Next to start the search for MVT transmitters or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

If no transmitters were found, then a message is displayed and the search step is displayed again.

Assign Sensors

Realflo User and Reference Manual

May 19, 2011

66

Realflo Maintenance Mode Reference

This step assigns found transmitters to flow runs.

The Available Sensors window shows the transmitters that have been configured and the transmitters that were found by the search. There may be more transmitters in the list than there are runs.

The Sensor column shows the transmitter slots that have been configured.

Transmitters that were found but not assigned are listed as Not assigned.

The Status column indicates if configuration data for the transmitter exists.

Found indicates a transmitter has been configured and the search found one with the same port, address and device type.

Missing means a transmitter has been configured but the search did not find one with the same port, address and device type.

The Port column displays the serial or LAN port the flow computer is using to communicate with the transmitter.

The Address column displays the Modbus station address or IP address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. This column may be blank if a Tag Name has not been assigned to the transmitter.

The Device type column displays type of transmitter. Valid values are

3095FB, 4101, 4102, 4202 DR, 4202 DS, 4203 DR, or 4203 DS.

The Flow Runs window shows which MVTs are assigned to the runs.

To Change the order of the sensors:

Select a sensor in Available Sensors window.

Click Move.

The Move Sensor dialog opens:

Realflo User and Reference Manual

May 19, 2011

67

Realflo Maintenance Mode Reference

In the Move Sensor dialog, use Move To selection to select the new location

Click OK.

To delete a sensor:

Select a transmitter in Available Sensors

Click Delete.

To change the address of a Sensor:

Select a transmitter in Available Sensors

Click Change Address.

The Change Address dialog opens:

Enter a new address for the transmitter in the New Address: window.

Click OK.

Click Next when the transmitters have been moved to the correct location.

Next is disabled if there are Not Assigned transmitters still in the list.

The next step is Search for More Transmitters.

Notes

The following actions may occur when moving a Sensor.

Moving one sensor to another results in the both swapping positions.

When Use the configuration from Realflo was selected, assigning a Not

assigned transmitter to a Sensor with status Missing and device type matching will result in the sensor adopting the transmitter‟s port and address and retaining the rest of the sensor configuration. The sensor, being assigned, will disappear from the list.

When Read the configuration from the transmitter was selected, assigning a Not assigned transmitter to a sensor with status Missing and device type matching will result in the sensor adopting the transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Assigning a Not assigned transmitter to a sensor with status Missing and device type not matching will result in the sensor adopting the

Realflo User and Reference Manual

May 19, 2011

68

Realflo Maintenance Mode Reference transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Other assignments are not permitted.

Search for More Sensors

This step displays the current sensor assignments and asks if more searches are needed.

Proposed Sensors shows the transmitters that have been configured and the transmitters that were found by the search.

Flow Runs shows which sensors are assigned to the runs.

Select Search for more transmitters to search again. The next step is

Search for Transmitters.

Select Finish searching and review configuration to use the current settings. This is the default button.

Review Transmitters

This step displays the transmitter assignments and allows editing the transmitter configuration.

Realflo User and Reference Manual

May 19, 2011

69

Realflo Maintenance Mode Reference

The Sensors window shows the transmitters that have been configured.

The Flow Runs window shows which sensors are assigned to the runs.

Click Edit to review and modify the settings for each transmitter. Edit opens the Add/Edit Sensor Settings dialog. Changes to a transmitter address will be written to the transmitter without affecting current flow computer configuration.

Once you have configured Run 1, the Flow Run ID dialog re-opens.

Flow Computer Configuration Summary

This step displays a summary of the flow computer settings.

A summary of the flow computer configuration is shown.

Realflo User and Reference Manual

May 19, 2011

70

Review Differences

Realflo Maintenance Mode Reference

The current configuration can be compared with the configuration in the target flow computer.

Select Yes to compare the configurations. The next step is Review

Differences.

Select No to not compare the configurations. The next step is Save File.

This step displays a summary of changes in the flow computer configuration. You can select to write to the flow computer or not.

A summary of the differences is the configuration is shown.

Select Yes to write the configuration to the flow computer. The configuration is written to the flow computer. The Start Executing command will be written for each flow run. The communication progress dialog shows the stages of writing.

Select No to write the configuration to the flow computer later.

Click Next to perform the selected action.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

Realflo User and Reference Manual

May 19, 2011

71

Save File

Realflo Maintenance Mode Reference

This step selects where to save the configuration file.

Finish

Select the Save to Realflo.tfc to save the configuration file to the default file location.

Select the Save to another file to either enter a file name or use the

Browse option to open the Save As dialog.

This step is displayed at the end of the wizard.

Click Finish to close the wizard.

Notes

1. Views for extra runs are closed but new ones may be opened.

2. The history and event logs contain no information.

Realflo User and Reference Manual

May 19, 2011

72

Realflo Maintenance Mode Reference

3. The configuration data for supported runs in the file is set to usable values, so when the number of runs is changed there is useful data in the configuration.

Create Configuration Step-by-Step

When you choose to configure the flow computer step-by-step, the Create

New File Wizard prompts you through the steps needed. The dialogs displayed are dependent upon the calculations you select.

Step-by-Step Configuration Sequence for a Flow Computer

The main steps in the configuration sequence to configure flow computer step-by-step are:

Use Create New File Dialog to select how to create a new file.

Use Hardware and Firmware Type Dialog to configure the hardware and firmware you are using.

Use the I/O Module Dialog to configure your I/O module (Telepace only).

Use the Flow Computer ID Dialog to assign an ID to the flow computer.

Use the Flow Runs Dialog to configure the number of flow runs

Use the

Flow Run ID

Dialog to assign an ID to the flow run.

Use the

Flow and Compressibility Calculations

to select the flow and

compressibility calculations for the meter run.

Select the

Flow Run Inputs

to configure the type of inputs for the flow

run.

Select the

Differential Pressure Limits

to configure the differential

pressure calibration to use for the run.

Configure the

Static Pressure

for the run.

Configure the

Static Pressure Input Limits

for the run.

Use the

Static Pressure

Dialog to configure your sensors to

compensate for the gravitation pull of the Earth according to altitude and latitude variations.

Define the

Temperature Limits

for the run.

Define the

Contract Settings

for the run.

Select the

* Flow Calculation

for the run.

Configure the

Sensor Configuration

for the run.

Review the

Flow Computer Configuration Summary

to confirm the

configuration settings.

Use

Save File

to save the new configuration.

Select the Create a new file? radio button from the Select File dialog to configure the flow computer step-by-step.

Realflo User and Reference Manual

May 19, 2011

73

Create New File Dialog

Realflo Maintenance Mode Reference

(1) Select the Create Configuration Step-by-Step radio button.

(2) Click Next > to continue.

Follow the wizard steps described in the following sections to configure the flow computer.

Flow Computer Status Dialog

When configuring the flow computer step-by-step, select No when the Flow

Computer Status dialog opens. This lets you choose the hardware type and

firmware type manually see

Select Flow Computer Wizard

.

Hardware and Firmware Type Dialog

The Hardware and Firmware Type Dialog opens when you select No in the

Flow Computer Status dialog.

First, select the Hardware Type from the dropdown list. The default value is

SCADAPack 4202 DR. The options from which you can select are:

Realflo User and Reference Manual

May 19, 2011

74

Realflo Maintenance Mode Reference

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100: 1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

Second, select the Firmware Type from the dropdown list. The default value is Telepace. You can select ISaGRAF from the dropdown list for the firmware type.

If the firmware selected is Telepace, the I?O Module Dialog opens, followed by the Flow Computer ID dialog. If the firmware type selected is ISaGRAF, the Flow Computer ID dialog opens.

Realflo User and Reference Manual

May 19, 2011

75

Realflo Maintenance Mode Reference

I/O Module Type Dialog

This step lets you select the I/O module to use for the selected Hardware type. The register assignment in the new file is set to the default register assignment for the selected hardware type.

Select the I/O module for the flow computer from the dropdown list. The choices displayed depend on the flow computer hardware type.

Hardware Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100:

1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

I/O Modules Available

Controller I/O only or Backwards compatible modules.

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5602 I/O Module

SCADAPack LP I./O

5601 I/O Module,

5604 I/O 10V/40mA Module

5604 I/O 5V/20mA Module

5606 I/O Module

SCADAPack 32P I/O

4202 DR or 4202 DR Extended/4203 DR I/O

SCADAPack 100: 1024K I/O

4202/4203 DS I/O

SCADAPack 314/33x I/O

SCADAPack 330 Controller.

SCADAPack 33x I/O

SCADAPack 350 10V/40mA Module

SCADAPack 350 5V/20mA Module

SCADAPack 357 Module

Realflo User and Reference Manual

May 19, 2011

76

Hardware Type

4203 DR

4203 DS

SolarPack 410

Flow Computer ID Dialog

This step sets the Flow Computer ID.

Realflo Maintenance Mode Reference

I/O Modules Available

4202 DR Extended/4203 DR I/O

4202/4203 DS I/O

N/A

Type the Flow Computer ID string in the edit box. This unique ID stops accidental mixing of data from different flow computers. The maximum length of the Flow Computer ID is eight characters. Any character is valid.

You can leave the Flow Computer ID edit box blank. The default value is blank.

Flow Runs Dialog

This step selects the number of flow runs in the flow computer. The wizard will step through the configuration of the first run and then each subsequent run if more than one run is selected.

Realflo User and Reference Manual

May 19, 2011

77

Realflo Maintenance Mode Reference

Flow Run ID

Select the number of flow runs with the dropdown list. Valid values depend on the hardware type and the number of flow runs enabled for the flow computer. The default value is one.

For Micro16, SCADAPack, SCADAPack Light and SCADAPack Plus

Flow Computers, the maximum number of meter runs is three.

The selection of three meter runs is available for older flow computers that could be enabled for three meter runs.

For SCADAPack LP and SCADAPack (4202 and 4203) Flow

Computers, the maximum number of meter runs is two.

For SCADAPack 100: 1024K and SolarPack 410 Flow Computers, the maximum number of meter runs is one.

For SCADAPack 314/330/334 and SCADAPack 350 Flow Computers the maximum number of meter runs is four.

For SCADAPack 32 and SCADAPack 32P Flow computers the maximum number of runs you can select is ten.

This step sets the Flow Run ID for the meter run. This is the first step of a flow run configuration. The wizard will step you through the configuration of the first run and then each subsequent run if you select more than one run.

Realflo User and Reference Manual

May 19, 2011

78

Realflo Maintenance Mode Reference

The Flow Run ID helps to identify the flow run. Type a string up to 32 characters long. Any character is valid. You can leave the Flow Run ID edit box blank.

Older flow computers allow a string up to 16 characters. See the TeleBUS

Protocol Interface

section.

For run 1 the next step is

Realflo User and Reference Manual

May 19, 2011

79

Flow Calculations

Dialog

.

Realflo Maintenance Mode Reference

Realflo User and Reference Manual

May 19, 2011

80

Realflo Maintenance Mode Reference

Flow Calculations Dialog

This step selects the flow and compressibility calculations for the first run.

Flow Calculation selects the type of flow calculation for the meter run. Valid values are:

AGA-3 (1985 version)

AGA-3 (1992 version)

AGA-7

AGA-11 (not available for 16-bit controllers)

V-cone calculations

The template selected determines the default value.

Compressibility Calculation selects the type of compressibility calculation for the meter run. Valid compressibility calculation values are:

AGA-8 Detailed

NX-19 (Not supported for PEMEX flow computers)

AGA-8 Detailed is the recommended calculation for new systems as it has superior performance compared to NX-19. NX-19 is provided for legacy systems. The template selected determines the default value.

Flow Direction Control selects the direction of flow indication, forward or reverse, for a meter run.

Forward by Value selection indicates the flow direction is forward when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive.

Reverse by Value selection indicates the flow direction is reverse when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative.

Forward by Status selection indicates the flow direction is forward when the Flow Direction Register has a value of 0 (OFF).

Realflo User and Reference Manual

May 19, 2011

81

Realflo Maintenance Mode Reference

Reverse by Status selection indicates the flow direction is reverse when the Flow Direction Register has a value of 1 (ON).

Flow Direction Register specifies which register indicates the forward or reverse flow direction status. Any valid register for the flow computer controller can be used for this setting. The default register is 1. This edit control is disabled if Flow Direction Control selection is Value. This control is hidden in GOST mode flow computers.

Flow Run Units Dialog

This step selects the units that are used for input measurements and contracts.

Input Units selects the units of measurement of input values for the meter run. Inputs may be measured in different units than the calculated results.

This allows you to use units that are convenient to you for measuring inputs.

A dropdown box allows the selection of the following unit types. US2 is the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

Realflo User and Reference Manual

May 19, 2011

82

Realflo Maintenance Mode Reference

US7

US8

PEMEX

The reference list for the Input Units displays the parameters and units for these parameters:

DP (Differential pressure)

SP (Static pressure)

Temperature

Pipe and Orifice Diameter

Viscosity

Altitude

Heating value

Contract Units selects the units of measurement of contract values. These units are used for the calculated results. A dropdown box allows the selection of the following unit types. The default value is US2.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Contract Units displays the parameters and units for these parameters when used for the contract. The parameters displayed depend on the contract units selected. The parameters are:

Volume

Volume Rate

Energy

Energy Rate

Base Pressure

Realflo User and Reference Manual

May 19, 2011

83

Flow Run Inputs

Realflo Maintenance Mode Reference

Base Temperature

Mass

Mass Flow Rate

Density

Flow Extension

Heating Value

This step lets you configure the flow run inputs. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs.

Analog Inputs.

Sensor Inputs

Select Internal Sensor (4202 DR/DS or 4203DR/DS or SolarPack

410) to use a SCADAPack internal transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature. This is the only valid selection for run 1of a SCADAPack flow computer. Other options are disabled.

Select Sensor to use a multivariable transmitter as the input device.

The transmitter is the input for pressure, differential pressure, and temperature. This is the default selection, except for run 1 of a

SCADAPack controller.

The Where is sensor connected to the Flow Computer parameter enables the ability to select the serial or LAN port where the sensor is

Realflo User and Reference Manual

May 19, 2011

84

Analog Inputs

Realflo Maintenance Mode Reference connected to the flow computer. Selections vary according to the flowcomputer type. The default value is com1. Valid selections can include: o com1 o com2 o com3 o com4 o LAN

The What is the sensor model parameter selects the multivariable transmitter (MVT) type. The selections available are: o 3095FB o 4101 o 4102 o 4202 DR o 4202 DS o 4203 DR o 4203 DS

The What value should be used if the sensor fails parameter selects the specified value in this field as the live input value when communicating with a sensor. The dropdown list lets you select: o Use Last Known Good Value o Use Default Value

When you open a file using an older file format, Realflo sets the default value of the Values on Sensor Fail field to Use Last Known Good.

When the status to a sensor changes and you select the Use Default Value option, this is added to the Event Log.

For flow computers 6.70 and later, when communication to a sensor fails and the configuration option “Use Last Known Good Value” is set to

“Use Default Value,” the flow computer needs to use the specified default value in the configuration in place of a live input value.

When communication to a sensor is restored and the configuration option for the Value on Sensor Fail field is set to use the default value, the flow computer uses the input value from the sensor as the live input value.

For flow computers prior to 6.70, the value on sensor fail is ``Use Last

Known Good Value.”

Select Analog Inputs to use analog inputs to measure pressure, differential pressure, and temperature.

Valid values are:

Telepace Integer

ISaGRAF Integer

Realflo User and Reference Manual

May 19, 2011

85

Realflo Maintenance Mode Reference

Float

Raw Float

The default value is Telepace integer if Telepace firmware is running and

ISaGRAF integer if ISaGRAF firmware is running.

For AGA-7 calculations, the value is fixed and set automatically. The value is Telepace Long if Telepace firmware is running and ISaGRAF integer if

ISaGRAF firmware is running.

The next step is

Differential Pressure Input Limits

if AGA-3 or V-Cone is

configured.

If AGA-7 is configured, the next step is

Turbine Settings

.

Differential Pressure Input Limits

This step lets you configure the differential pressure input limits. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units are the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display, the transmitter uses these units. Valid values depend on the MVT type:

For SCADAPack transmtters, valid units are: inches H2O at 68°F,

Pascal (Pa) and kiloPascal (kPa). The default is inches H2O at 68°F.

For the 3095 MVT valid units are: inches H2O at 60°F, Pascal (Pa), kiloPascal (kPa) and inches H2O at 68°F. The default is inches H2O at

60°F.

Realflo User and Reference Manual

May 19, 2011

86

Realflo Maintenance Mode Reference

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The default value is 0

(damping off).

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The default value is 0.

Default Value is enabled if you configured the field using the Flow Run

Inputs dialog. Type the live input value to use when communicating with a sensor. The default value is 0.

If you configured sensor inputs, go to the

Realflo User and Reference Manual

May 19, 2011

87

Analog Inputs

Realflo Maintenance Mode Reference

Static Pressure Options

Dialog section.

The dialog below opens when analog inputs are selected.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

DP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The default value is 0.

DP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The default value is

16.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The default value is 0.

Realflo User and Reference Manual

May 19, 2011

88

Turbine Settings

Realflo Maintenance Mode Reference

This step configures the turbine input for AGA-7 calculations.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Low Flow Pulse Limit is the number of pulses below which a low flow alarm will occur. The default value is 10.

Low Flow Detect Time is the length of time the number of pulses needs to remain below the Low Flow Pulse Limit for a low flow alarm to occur. Valid values are 1 to 5 seconds. The default value is 5.

Realflo User and Reference Manual

May 19, 2011

89

Realflo Maintenance Mode Reference

Static Pressure Options Dialog

This step lets you select how the static pressure is measured.

The pressure tap may be upstream or downstream of the orifice plate for

AGA-3.

Select Up Stream for an upstream static pressure tap. This is the default value. The control is disabled for AGA-7 and V-Cone calculations.

Select Down Stream for a downstream static pressure tap. The control is disabled for AGA-7 and V-Cone calculations.

Static Pressure Input Limits

This step defines the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Realflo User and Reference Manual

May 19, 2011

90

Sensor Inputs.

Analog Inputs.

Realflo Maintenance Mode Reference

Realflo User and Reference Manual

May 19, 2011

91

Sensor Inputs

Realflo Maintenance Mode Reference

The dialog below is presented when sensor inputs are used.

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The default value is 0

(damping off).

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

Default Value is enabled if you gage pressure using the Static Pressure

Options. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

The pressure sensor may measure absolute or gage pressure.

Realflo User and Reference Manual

May 19, 2011

92

Analog Inputs

Realflo Maintenance Mode Reference

Select Absolute Pressure to measure absolute static pressure. This is the default value unless the Compressibility Calculation type is set to

NX-19. The Static Pressure is set to Gage and the Atmospheric pressure is 14.7psi when NX-19 is selected.

Select Gage Pressure to measure gage static pressure.

Type the Atmospheric Pressure measured at the site. This control is disabled and set to zero if absolute pressure is selected.

The atmospheric pressure entered needs to be greater than zero. The maximum upper limits for atmospheric pressure are:

30 psi and PEMEX units for US1, US2, US3, US4, US5, US6, US7, US8,

4320

207 lbf/ft2 for IP units kPa for Metric1 units

2.07

0.207 bar for Metric2 units

MPa for Metric3 units

207000 Pa for SI units

If you configured sensor inputs, see the

Static Pressure Compensation

section.

The dialog below is presented when analog inputs are used.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Realflo User and Reference Manual

May 19, 2011

93

Realflo Maintenance Mode Reference

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

SP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The default value is 0.

SP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The default value is

20000.

Static Pressure Compensation

This step selects if compensation is applied for the location where calibration was performed. If you configured sensors or analog inputs from the Static Pressure Limits dialog, this is the next step in the configuration sequence.

Select No if compensation is not required. This is the default value.

Select Yes to compensate for the altitude and latitude.

Type the Altitude of the location. Valid values are -30000 to 30000. The default value is 0. This control is disabled if No is selected.

Type the Latitude of the location. Valid values are -90 to 90. The default value is 0. This control is disabled if No is selected.

Temperature Limits

This step lets you define the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Realflo User and Reference Manual

May 19, 2011

94

Sensor Inputs

Realflo Maintenance Mode Reference

Analog Inputs

The following dialog is presented when sensor (MVT) inputs are used.

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

Realflo User and Reference Manual

May 19, 2011

95

Analog Inputs

Realflo Maintenance Mode Reference

The following dialog is presented when analog inputs are used.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Temperature at Zero Scale is the temperature that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type.

The default value is

–40.

Temperature at Full Scale is the temperature that corresponds to the fullscale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type.

The default value is 200.

Realflo User and Reference Manual

May 19, 2011

96

Realflo Maintenance Mode Reference

Contract Settings

This step sets the contract settings for the run.

Input Average Weighting is the weighting method of the linear inputs. This applies to the differential pressure, static pressure, and temperature. Valid

values are time-weighted or flow-weighted (see Input Averaging on page

948 for more information). The default is time-weighted.

Contract Hour is the hour of the day that starts a new contract day specified using a 24-hour clock. The contract day begins at 00 minutes and

00 seconds of the specified hour. Valid values are 0 to 23. The default value is 0 (midnight).

Standard Base Conditions are the default Base Temperature and Base

Pressure (absolute) values.

Base Temperature is the reference temperature to which contract flow values are corrected. Valid values are -40 to 200. The default value is given in the table below.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default value is given in the table below.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

60 F

60 F

60 F

60 F

15 C

15 C

15 C

288.15 K

Standard Base

Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

Realflo User and Reference Manual

May 19, 2011

97

Realflo Maintenance Mode Reference

Contract Units Standard Base

Temperature

US4

US5

US6

US7

US8

PEMEX

60 F

60 F

60 F

60 F

60 F

60 F

Standard Base

Pressure

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Realflo for PEMEX flow computers provide a second set of base conditions.

PEMEX Base Conditions are the default Base Temperature and Base

Pressure (absolute) values when Realflo is operating in PEMEX mode.

Base Temperature is the reference temperature to which contract flow values are corrected. The default is listed in the table below for each type of contract unit.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default values are listed in the table below for each contract unit.

Contract Units Standard Base

Temperature

US1 60 F

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

68 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Flow Calculations

When configuring a flow computer, you can configure it to use the following calculations:

AGA-Settings

AGA-3 Deadband Settings

AGA-7 Settings

AGA-11 Settings

Realflo User and Reference Manual

May 19, 2011

98

AGA-3 Settings

Realflo Maintenance Mode Reference

This step lets you set the AGA-3 calculation parameters.

Orifice Material is the material the orifice plate for the meter run is made of.

Valid values are Stainless Steel, Monel, and Carbon Steel. The default value is Stainless Steel.

Pipe Material is the material the meter run pipe is made of. Valid values are

Stainless Steel, Monel, and Carbon Steel. The default value is Carbon

Steel.

Orifice Diameter is the diameter of the meter run orifice. The default value is 3 inches.

Orifice reference temperature is the temperature at which the diameter of the meter run orifice was measured. The default value is 68°F.

Pipe Diameter is the measurement of the meter run pipe inside diameter.

The default value is 4.026 inches.

Pipe reference temperature is temperature at which the meter run pipe diameter was measured. The default value is 68°F.

Beta Ratio is the ratio of orifice diameter to pipe diameter. It is displayed for information purposes only and cannot be edited.

Realflo displays a message if the beta ratio is outside recommended limits.

Isentropic Exponent is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value, a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity is a measure of the resistance of a measured gas to flow. Valid values are 0 to 1. The default value is 0.010268 centipoise.

Realflo User and Reference Manual

May 19, 2011

99

Realflo Maintenance Mode Reference

AGA-3 Deadband Settings

This step lets you set AGA-3 calculation deadbands.

Temperature Deadband is the tolerated change in the flowing temperature before temperature dependent factors in the flow calculation are recalculated. Changes in the temperature smaller than the deadband will be ignored in determining the result. The default value is 0. The upper limit is

7°F or 4°C.

Static Pressure Deadband is the tolerated change in the static pressure before static pressure dependent factors in the flow calculation are recalculated. Changes in the static pressure smaller than the deadband will be ignored in determining the result. A static pressure deadband setting of up to four percent of the typical static pressure level should have a small effect on the accuracy of the AGA-3 calculation. The default value is 0. The upper limit is 800 psi or 5500 kPa or the equivalent in other units.

Differential Pressure Deadband is the tolerated change in the differential pressure before differential pressure dependent factors in the flow calculation are recalculated. Changes in the differential pressure smaller than the deadband will be ignored in determining the result. A change of N in the differential pressure input will cause a change of 0.5 N in the calculation volume at base conditions. It is recommended that the differential pressure deadband be set to zero. The default value is 0. The upper limit is 4.5 inWC or 1.1 kPa or the equivalent in other units.

Realflo User and Reference Manual

May 19, 2011

100

AGA-7 Settings

Realflo Maintenance Mode Reference

This step lets you define AGA-7 settings.

AGA -11 Settings

K Factor is the number of pulses per unit volume of the turbine meter. Valid values are 0.001 to 1000000. The default value is 100.

M Factor is the adjustment to the number of pulses per unit volume for the turbine meter compared to an ideal meter. Valid values are 0.001 to 1000.

The default value is 1.

Uncorrected Flow Volume is the accumulated uncorrected flow volume at base conditions.

The Uncorrected Flow Volume control is available in Realflo versions 6.20 and higher.

AGA-11 configuration defines parameters unique to the AGA-11 calculation.

The AGA-11 calculation communicates with a Coriolis meter for the calculation. The AGA-11 configuration sets the communication parameters for communication between the Coriolis meter and the flow computer.

Realflo User and Reference Manual

May 19, 2011

101

Address

Realflo Maintenance Mode Reference

This is the Modbus address of the Coriolis Meter for serial communications.

Multiple Coriolis meters using the same serial port on the flow computer need to each have a unique Modbus address. Valid Modbus addresses are between 1 and 247. The default address is 247.

Port

This is the communication port on the flow computer that will be used to communicate with the Coriolis meter. Valid port selections depend on the type of controller the flow computer running on. The default port is the first valid port available on the controller.

Timeout

V-Cone Settings

This is the time the flow computer will wait for a response for Modbus read commands send to the Coriolis meter. When the timeout time is exceeded the command is unsuccessful and an alarm is added to the flow computer alarm list. Valid timeout values are from 0 to 1000 ms. The default value is

50 ms.

V-Cone Configuration defines parameters unique to the V-Cone calculation.

Cone Material

This is the material of the V-cone. Valid values are Carbon Steel, Stainless

304, and Stainless 316. The default value is determined by the template selected.

Pipe Material

This is the material from which the meter run pipe is made. Valid values are

Carbon Steel, Stainless 304, and Stainless 316. The default value is determined by the template selected.

Adiabatic Expansion Factor

The Adiabatic Expansion Factor drop down list selects which calculation is used for the adiabatic expansion factor of the calculation.

Realflo User and Reference Manual

May 19, 2011

102

Realflo Maintenance Mode Reference

Select Legacy Calculation to use the older calculation method. This is the default selection. Flow computers prior to version 6.71 support only this selection.

Select V-Cone to use the V-Cone specific calculation. This selection should be used with V-Cone devices.

Select Wafer-Cone to use the Wafer-Cone specific calculation. This selection should be used with Wafer-Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

When reading from a flow computer that does not support the adiabatic expansion factor configuration, the method will be set to Legacy Calculation.

When writing to a flow computer that does not support the adiabatic expansion factor method, the configuration registers will be ignored and the expansion factor will not be written.

Cone Diameter

The diameter of the meter run cone used for the flow calculation. The measurement units are displayed depending on the input units selected.

The default value is 3 inches.

Cone Measurement Temperature

This is the reference temperature at which the cone diameter for the meter run was measured. The measurement units are displayed depending on the input units selected. The default value is 59 degrees F.

Pipe Inside Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

The default value is 5 inches.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

The default value is 59 degrees.

Isentropic Exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected. Valid values are 0 to 1. The default value is 0.010268 centiPoise.

Wet Gas Correction Factor

The Wet Gas Correction Factor Method drop down list selects which calculation is used for the wet gas correction factor of the calculation.

Realflo User and Reference Manual

May 19, 2011

103

Realflo Maintenance Mode Reference

Select Legacy Method to use the older correction method. This is the default selection. Flow computers prior to version 6.73 support only this selection.

Select V-Cone or Wafer Cone to use the V-Cone and Wafer Cone specific calculation. This selection should be used with V-Cone or Wafer

Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

The V-Cone or Wafer Cone supported Beta Ratios are:

For Fr (Froude Number) < 5 supported Beta Ratio is 0.55.

For Fr (Froude Number) < 5 supported Beta Ratio is 0.75.

For Fr (Froude Number) > 5 supported Beta Ratio is 0.75.

When V-Cone or Wafer Cone is selected and if the current Beta ratio is not supported when executing verification, a message is displayed.

Density of Liquid

When V-Cone or Wafer Cone is selected, configuration of the fixed wet gas factor parameter, as set in the Contract tab, is disabled.

When Legacy Method is selected, configuration of the parameters used by the V-Cone or Wafer Cone method is disabled.

Mass Flow Rate of Liquid

The Mass flow rate of liquid at flow conditions parameter is used by the V-

Cone or Wafer Cone method and can be configured when V-Cone or Wafer

Cone is selected. This information needs to be gathered using a sampling method or a tracer method. The default is 0.

The Density of liquid at flow conditions parameter is used by the V-Cone or

Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected. The default is 0.

Realflo User and Reference Manual

May 19, 2011

104

Realflo Maintenance Mode Reference

V-Cone Coefficients

This step lets you define the V-Cone coefficients.

Enter the V-Cone coefficient pairs from the meter sizing report. The default list contains one pair: Re = 1000000; Cf = 0.82.

Click Add to add a coefficient pair.

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for every entry in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

To edit a coefficient pair in the table:

Select a row in the list.

Click Edit to open the Add/Edit Flow Coefficient dialog.

To delete a coefficient pair in the table:

Select a row in the list.

Click Delete to delete the pair form the list.

Realflo User and Reference Manual

May 19, 2011

105

Realflo Maintenance Mode Reference

Compressibility Calculations

When configuring a flow computer, you can configure it to use the following compressibility calculations:

AGA-8 Settings

AGA-8 Hexanes+ Settings

AGA-8 Gas Composition

NX-19 Settings

AGA-8 Settings

This step sets AGA-8 calculation options.

Events can be logged each time an AGA-8 gas component changes.

Select Yes to log each change to the gas composition. Use this option if the gas composition changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the gas composition.

The Relative Density and Heating values can be calculated from the AGA-8 calculation or determined in a laboratory.

Select Calculate the Values to have AGA-8 calculate the values.

Select Use Laboratory Values to used fixed values.

Relative Density sets the real relative density of the gas. Valid values are 0.07 to 1.52. The default value is 0.554. This control is disabled if

Calculate the Values is selected.

Heating Value sets the heating value of the gas. Valid values are 0 to

1800 BTU(60)/ ft

3

or the equivalent in the selected units. The default value is 1014 BTU(60)/ft

3

or the equivalent in the selected units. This control is disabled if Calculate the Values is selected.

Realflo User and Reference Manual

May 19, 2011

106

Realflo Maintenance Mode Reference

AGA-8 Hexanes+ Settings

This step chooses if Hexane and higher components are entered individually or as a single combined value.

Gas composition can be measured with individual values for hexane and higher components or use a combined value.

Select Enter Each Component to use individual values for the higher components. This is the default selection.

Select Use Combined Hexanes+ with these Ratios to use a combined value. Type the ratios of the higher components.

n-Hexane defines the percentage of the Hexanes+ contributed by n-

Hexane.

n-Heptane defines the percentage of the Hexanes+ contributed by n-

Heptane.

n-Octane defines the percentage of the Hexanes+ contributed by n-

Octane.

n-Nonane defines the percentage of the Hexanes+ contributed by n-

Nonane.

n-Decane defines the percentage of the Hexanes+ contributed by n-

Decane.

The Total field displays the sum of each portion. This value cannot be edited. The total of portions needs to be 100 percent.

AGA-8 Gas Composition

This step defines the AGA-8 gas composition. One of two configuration dialogs opens based on whether Hexane and higher components are entered individually or as a single combined value.

Individual Components

Realflo User and Reference Manual

May 19, 2011

107

Realflo Maintenance Mode Reference

The dialog below lets you enter combined Hexanes+ composition.

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The ratio to each other for the components remains the same.

Realflo User and Reference Manual

May 19, 2011

108

Realflo Maintenance Mode Reference

Combined Hexanes+

The dialog below lets you enter combined Hexanes+ composition.

NX-19 Settings

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The components remain in their current ratio to each other.

This step lets you define the NX-19 calculation. NX-19 is not supported for

PEMEX flow computers.

Realflo User and Reference Manual

May 19, 2011

109

Realflo Maintenance Mode Reference

Specific Gravity is the specific gravity of the gas being measured. Valid values are 0.554 to 1.000. The default value is 0.554.

Carbon Dioxide is the percent of carbon dioxide in the gas being measured. This value needs to be in the range 0 to 15. The default value is

0.

Nitrogen is the percent of nitrogen in the gas being measured. This value needs to be in the range 0 to 15.

Heating Value is the heating value of the gas being measured. Valid values are 0 to 1800 BTU(60)/ft

3

or the equivalent in the selected units. The default value is 1014.33 BTU(60)/ft3.

Events can be logged each time the NX-19 configuration changes.

Select Yes to log each change to the configuration. Use this option if the configuration changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the configuration.

Sensor Configuration Parameters

The next step is MVT Configuration if any transmitters were used in the

input configuration. Otherwise the next step is

Flow Computer

Configuration Summary

.

Sensor Configuration

This step selects how the transmitters are to be configured.

The Flow Runs are configured to use these transmitters window is a table that shows each of the configured flow run numbers, its Flow Run ID and the transmitter that it uses for the differential pressure (DP), static pressure (SP) and temperature sensors. If an analog input is used for the flow run AIN will be displayed in the coresponding DP, SP, or Temp column.

Realflo User and Reference Manual

May 19, 2011

110

Realflo Maintenance Mode Reference

The How do you want to configure sensors? option lets you select how to continue configuring the sensors. The three options are:

Connect now and configure transmitters to connect to the flow computer and configure the attached transmitters. This selection is disabled if the flow computer configuration was selected to be completed offline in the Flow Computer Status step. If you choose this

option, go to the

Configure Connected Transmitters

section to continue.

Edit sensor configuration without connecting to proceed directly to the editing pages, without connecting to the flow computer. If you

choose this option, go to the

Review Sensors Dialog

section to

continue.

Use default sensor configuration to complete the configuration without changing the sensor configuration. Sensor configuration will be

set to default values. If you choose this option, the next step is

Finish

.

Configure Connected Transmitters

This step lets you select to either use the Realflo configuration data or the configuration from a pre-configured transmitter.

Sensor Search

Select Use the configuration from Realflo to use the configuration data from the Realflo file. This is the default setting.

Select Read the configuration from the transmitter to read configuration from a pre-configured transmitter.

This step searches for sensors connected to the flow computer serial ports or LAN port.

Realflo User and Reference Manual

May 19, 2011

111

Realflo Maintenance Mode Reference

Search Serial Option

Select Search Serial to search for transmitters connected to a serial port of the flow computer.

The Port parameter selects the flow computer serial port where the sensor is attached. Valid values are com1, com2, com3, and com4. The default value is com2 for a SCADAPack controller and com1 for other controllers.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a sensor. Valid values are 100 ms to 10000 ms.

The default is 300 ms.

Select Maximum to search for a number of MVT transmitters. The search operation will stop after finding the specified number of transmitters. The valid value is from 1 to 255. The default is 1.

Select Range to search the addresses in a specified range. The range to search for is typed in the edit boxes to the right of the radio button. The value in To edit control needs to be equal or great than the value in the first edit control. The maximum search range that can be typed is for 255 transmitters. The default range is 1 to 247.

Range Search supports addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode. The address mode of the flow computer serial port needs to be set to extended to search for transmitters with extended addresses.

Select All to search the addresses of transmitters connected with the serial port selected in Port. Up to 255 addresses are searched.

Realflo User and Reference Manual

May 19, 2011

112

Search LAN Option

Select Search LAN to search for transmitters connected to a LAN port of the flow computer.

The IP Address parameter specifies the IP address of a 4000 transmitter.

Valid entries are IP addresses in the format nnn.nnn.nnn.nnn where nnn are values between 0 and 255.

The Protocol parameter selects the type of IP protocol that will be used to query the transmitter. Valid IP protocol selections are Modbus/TCP and

Modbus RTU in UDP.

The IP port (for example port 502) for the selected protocol needs to be the same in the flow computer and the 4000 transmitter.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a 4000 transmitter. Valid values are 100 to 10000 milliseconds. The default is 5000 ms.

Click Next to start the search for MVT transmitters or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

If no transmitters were found, a message is displayed and the search step is displayed again.

Assign Sensors

Realflo Maintenance Mode Reference

Click Next to start the search for sensors or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

This step lets you assign found transmitters to flow runs.

The Available Sensors pane shows the transmitters that have been configured and the transmitters that were found by the search. There may be more transmitters in the list than there are runs.

Realflo User and Reference Manual

May 19, 2011

113

Realflo Maintenance Mode Reference

The Sensor column indicates the transmitter slots that have been configured. Transmitters that were found but not assigned are listed as Not

assigned.

The Status column indicates if configuration data for the transmitter exists.

Found indicates a transmitter has been configured and the search found one with the same port, address and device type.

Missing indicates a transmitter has been configured but the search did not find one with the same port, address, and device type.

The Port column displays the serial or LAN port the flow computer is using to communicate with the transmitter.

The Address column displays the Modbus station address or IP address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. You can leave this column blank if a Tag Name has not been assigned to the transmitter.

The Device type column displays the transmitter type. Valid values are

3095FB, 4101, 4102, 4202 DR, 4202 DS, 4203 DR, or 4203 DS.

The Flow Runs window shows which MVTs are assigned to the runs.

To Change the order of the sensors:

Select a sensor in Available Sensors window.

Click Move.

The Move Sensor dialog opens:

In the Move Sensor dialog, use Move To selection to select the new location

Click OK.

To delete a sensor:

Select a transmitter in Available Sensors.

Click Delete.

To change the address of a Sensor:

Select a transmitter in Available Sensors.

Click Change Address.

The Change Address dialog opens:

Realflo User and Reference Manual

May 19, 2011

114

Realflo Maintenance Mode Reference

Enter a new address for the transmitter in the New Address: edit box.

Click OK.

Click Next when the transmitters have been moved to the correct location.

Next is disabled if there are Not Assigned transmitters still in the list.

The next step is

Search for More Transmitters Dialog

.

Notes

The following actions may occur when moving a sensor.

Moving one sensor to another results in the both swapping positions.

When Use the configuration from Realflo is selected, assigning a Not assigned transmitter to a Sensor with status Missing and device type matching result in the sensor adopting the transmitter‟s port and address and retaining the rest of the sensor configuration. The sensor, being assigned, will disappear from the list.

When Read the configuration from the transmitter is selected, assigning a Not assigned transmitter to a sensor with status Missing and device type matching results in the sensor adopting the transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Assigning a Not assigned transmitter to a sensor with status Missing and device type not matching will result in the sensor adopting the transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Other assignments are not permitted.

Search for More Transmitters Dialog

This step displays the current sensor assignments and asks if more searches are needed.

Realflo User and Reference Manual

May 19, 2011

115

Realflo Maintenance Mode Reference

Proposed Sensors shows the transmitters that have been configured and the transmitters that were found by the search.

Flow Runs shows which sensors are assigned to which runs.

Select Search for more transmitters to search again.

Select Finish searching and review configuration to use the current settings. This is the default radio button.

Review Sensors Dialog

This step displays the transmitter assignments and allows you to edit the transmitter configuration.

Realflo User and Reference Manual

May 19, 2011

116

Realflo Maintenance Mode Reference

The Sensors pane shows the transmitters that have been configured.

The Flow Runs pane shows which sensors are assigned to the runs.

Click Edit to review and modify the settings for each transmitter. Edit opens the Add/Edit Sensor Settings dialog. Changes to a transmitter address will be written to the transmitter without affecting current flow computer configuration.

Copy Run Configuration Dialog

The Copy Run step is displayed only if you selected more than one run is selected in the Number of Flow Runs step and you have configured the first run.

The second flow run, and subsequent runs, may be configured step-by-step or by copying the configuration of a previous run.

Select

Create Configuration Step-by-Step

to configure another run using the wizard without copying Run 1.

Flow Computer Configuration Summary

This step displays a summary of the flow computer settings.

Realflo User and Reference Manual

May 19, 2011

117

Realflo Maintenance Mode Reference

A summary of the flow computer configuration is shown.

The current configuration can be compared with the configuration in the target flow computer.

Select Yes to compare the configurations.

Select No to not compare the configurations.

Review Differences

This step displays a summary of changes in the flow computer configuration. You can select to write to the flow computer or not.

The summary shows the differences in the configuration.

Select Yes to write the configuration to the flow computer. The configuration is written to the flow computer. The Start Executing command will be written for each flow run. The communication progress dialog shows the stages of writing.

Select No to write the configuration to the flow computer later.

Realflo User and Reference Manual

May 19, 2011

118

Save File

Realflo Maintenance Mode Reference

Click Next to perform the selected action.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

This step lets you select where to save the configuration file.

Finish

Select Save to Realflo.tfc to save the configuration file to the default file location.

Select the Save to another file to either enter a file name or use the

Browse option to open the Save As dialog.

This step is displayed at the end of the wizard.

Realflo User and Reference Manual

May 19, 2011

119

Realflo Maintenance Mode Reference

Click Finish to close the wizard.

Realflo User and Reference Manual

May 19, 2011

120

Realflo Maintenance Mode Reference

View Data

The View Data section contains a View Current Readings button and a

Read Logs and Flow History button.

Click the View Current Readings button to start the View Current Readings wizard, which will lead you through the steps to connect to a flow computer and view the current readings.

Click the Read Logs and Flow History button to start the Read Logs and

Flow History wizard, which will lead you through the steps to connect to a flow computer and read the alarm and event logs and the flow history.

View Current Readings

The View Current Readings wizard will lead you through the steps to connect to a flow computer and view the current readings.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

Realflo User and Reference Manual

May 19, 2011

121

Realflo Maintenance Mode Reference

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud, no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Current Readings View

The Current Readings view displays current measured and calculated values from the flow computer. The Current Readings view will appear differently depending on the run configuration.

Realflo User and Reference Manual

May 19, 2011

122

Realflo Maintenance Mode Reference

The view is divided into eight sections. These sections are:

Process Measurements

This section displays the live and forced values for the flow calculation process inputs. The live values show the value read from the sensor. The forced values show the inputs to the flow calculation when they are forced.

The Forced values are disabled when the input is live. The forced values are shown in red when the value is forced.

The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

Process measurements not used by the flow calculation are disabled.

Forced values are not displayed for flow computers older than 6.0.

Calculated Compressibility

This section displays the results of the compressibility calculation selected in the Input Configuration property page. The time of the last compressibility calculation update and any compressibility calculation errors are also displayed in this section. The units of measurement displayed are those in

effect when the readings were made. See Measurement Units

for a description of the unit types.

Calculation Status

The Calculation Status section displays the Calculation State of the flow computer calculations for the run. Refer to the Calculation Control command in the Flow Computer menu for further information on flow calculation control.

The Calculation State Start and Stop button is disabled for users who have a read and view privileges account.

The Calculation State can be changed using the start or stop button beside the Calculation State display.

When the Current Readings are being updated and the calculation is

stopped or not set then the button is labeled Start.

When the Current Readings are being updated and the calculation is

running then the button is labeled Stop.

Realflo User and Reference Manual

May 19, 2011

123

Realflo Maintenance Mode Reference

When the Current Readings are not being updated the button is disabled and no text is displayed on it.

Click on the button to change the Calculation State.

If the calculations are stopped the following message box is displayed.

If Yes is selected the flow calculations for the run are started.

If No is selected the message box is closed and no further action is taken.

If the calculations are running the following message box is displayed.

If Yes is selected the flow calculations for the run are stopped.

If No is selected the message box is closed and no further action is taken.

The Last Flow Configuration displays the time stamp of the last time the flow configuration was changed.

The Last Density Configuration displays the time stamp of the last time the compressibility configuration was changed.

The Last Flow Configuration and Last Density Configuration values are not displayed for flow computers older than 6.0.

Pulse Input Volume

The Pulse Input Volume section is enabled when you configure a

SolarPack 410, see section

SolarPack 410

.

Calculated Flow at Base Conditions

The Calculated Flow displays the instantaneous Flow Mas Rate, Standard

Flow Volume Rate, Flow Energy Rate, Flow Product, Time of last update, and Input and Flow Calculation Status. The Flow Extension is displayed when the run is configured for AGA-3 (1990) calculations. The Flow Product is displayed when the run is configured for AGA-3 (1990) calculations. The time of the last flow calculation and input and flow calculation status are also displayed. The units of measurement displayed are those in effect when the

readings were made. See

Measurement Units

for a description of the unit types.

Calculated Flow (PEMEX)

The Calculated Flow displays the instantaneous Flow Volume Rate,

Standard Flow Volume Rate, Flow Energy Rate, Flow Product, Time of last

Realflo User and Reference Manual

May 19, 2011

124

Realflo Maintenance Mode Reference update, and Input and Flow Calculation Status. The Flow Extension is displayed when the run is configured for AGA-3 (1990) calculations. The

Flow Product is displayed when the run is configured for AGA-3 (1990) calculations. The time of the last flow calculation and input and flow calculation status are also displayed. The units of measurement displayed

are those in effect when the readings were made. See

Measurement Units

for a description of the unit types.

Accumulated Flow

The Accumulated Flow section displays the flow volume for the current contract day (Today) and the previous contract day (Yesterday). Data is copied from the current contract day (Today) to the previous contract day

(Yesterday) at the end of the contract day, as measured by the real time clock. Data is not copied when a new day is started for other reasons. It also displays the standard flow volume, flow energy, the number of flow calculations. The units of measurement displayed are those in effect when

the readings were made. See

Measurement Units

for a description of the unit types.

This section also displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

Accumulated Flow (PEMEX)

The Accumulated Flow section displays the PEMEX flow volume for the current contract day (Today) and the previous contract day (Yesterday).

Data is copied from the current contract day (Today) to the previous contract day (Yesterday) at the end of the contract day, as measured by the real time clock. Data is not copied when a new day is started for other reasons. It also displays the standard flow volume, flow energy, the number of flow calculations. The units of measurement displayed are those in effect when

the readings were made. See

Measurement Units

for a description of the unit types.

This section also displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

AGA-7 Calculations Only

Accumulated Uncorrected Flow

The Accumulated Uncorrected Flow section displays the total calculated uncorrected flow volume (for the current contract day, the previous contract day, the current month and the last month. The accumulator holds a number between 0 and 999,999,999,999. It rolls over when the accumulated value is equal or greater than 1,000,000,000,000.

The view is updated according to the status of the Update Readings selection in the Maintenance menu.

Realflo User and Reference Manual

May 19, 2011

125

SolarPack 410

Realflo Maintenance Mode Reference

Views specific to SolarPack 410 are described below.

Pulse Input Volume

This section displays pulse and accumulated flow volumes for the onboard counter of a SolarPack 410. This section applies only to the SolarPack 410 system.

Data displayed is as follows:

Pulses: Raw instantaneous pulse count

Today: An accumulation of today‟s total.

Yesterday: An accumulation of yesterday‟s total.

This Month: An accumulation of the totals for this month.

Last Month: An accumulation of the totals for last month.

Total: A running total volume since the beginning of this operation.

Volumes are listed in the unit selected when configuring the Pulse Input.

Battery Charger

The view has two additional sections. These sections are described below:

This section applies only to the SolarPack 410.

The Battery Status indicates the current state of the battery charger.

The Temperature Sensor indicates the current status of the battery charger temperature sensor.

Realflo User and Reference Manual

May 19, 2011

126

Realflo Maintenance Mode Reference

Read Logs and Flow History

The Read Logs and Flow History wizard will lead you through the steps to connect to a flow computer and read the alarm and event logs and the flow history.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

Realflo User and Reference Manual

May 19, 2011

127

Realflo Maintenance Mode Reference

9600 baud

 no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Realflo User and Reference Manual

May 19, 2011

128

Realflo Maintenance Mode Reference

Select Runs to Read

This step selects the flow run or runs to read.

The Select the Flow Run or Runs to Read selection determines if data for all runs or for a single run is read.

The All Runs radio button selects reading data for all runs.

The Selected Run radio button selects reading from a single run. The drop-down list selects the run to be read.

Click the Next> button to move to the next step in the wizard.

Realflo User and Reference Manual

May 19, 2011

129

Realflo Maintenance Mode Reference

Select Flow Computer Configuration

This step selects whether to read the flow run configuration.

Select Yes to read the flow run configuration.

Select No to not read the flow run configuration.

Select Alarm and Event Logs to Read

This step selects which alarm and event logs to read.

The Which Events do you want to read? selection determines which events to read from the flow computer.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the events will be acknowledged after

Realflo User and Reference Manual

May 19, 2011

130

Realflo Maintenance Mode Reference reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events. Operator activity will be prevented until the events are read and acknowledged. The control is grayed under the following conditions: o The event log is not selected. o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

Select Read All Events to read all events in the flow computer. This control is grayed if the Event Log control is not selected.

Select Do Not Read Any Events to skip reading of events from the flow computer.

The Which Alarms to you want to read? selection determines which alarm logs to read from the flow computer.

Select Just Read New Alarms to read unacknowledged alarms in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the alarms will be acknowledged after reading the new events. If the events in the log are not acknowledged, the alarm log will fill with 300 events. Operator activity will be prevented until the alarms are read and acknowledged. The control is grayed under the following conditions: o The alarm log is not selected. o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

The Read All Alarms radio button selects the reading of all alarms in the controller. The control is grayed if the Alarm control is not selected.

The Do Not Read Any Alarms button selects not to read alarms from the flow computer.

Click the Next> button to move to the next step in the wizard.

Select Hourly and Daily History to Read

This step selects which hourly and daily logs to read.

Realflo User and Reference Manual

May 19, 2011

131

Realflo Maintenance Mode Reference

The Which Hourly Logs do you want to read? selection determines which hourly history is read.

Select New Hours to read hourly history for hours after the current time in the file. If the file is empty then Realflo will read hourly history stored in the flow computer. This is the default selection.

Select All Days to read hourly history for days stored in the flow computer.

Select Selected Hours to read hourly history for the range of days selected with the From and to drop-down lists. Records are read for the contract days whose first hour is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log.

For example, if the contract day is configured to start at 7:00 AM.

Reading hourly history for September 23 would return the records where the first record in a day was between 7:00 on the 23 the 24 th

. rd

to 6:59:59 AM on

The From control contains the oldest previous day for which the hourly history is to be read. The initial value is the current day. Change this date to avoid reading data that has previously been read into the log.

The to control contains the recent previous day for which the hourly history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

Select the Do Not Read Hourly Logs to skip the reading of hourly logs.

The Which Daily Logs do you want to read? selection determines which hourly history is read.

Select New Days to read daily history for days after those in the current file. If the file is empty then Realflo will read all hourly history stored in the flow computer. This is the default selection.

Realflo User and Reference Manual

May 19, 2011

132

Realflo Maintenance Mode Reference

Select All Days to read daily history for all days stored in the flow computer.

Select Selected Days to read daily history for the range of days selected with the From and to drop-down lists. Records are read for the contract days whose first record is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log. For example, if the contract day is configured to start at 7:00

AM. Reading daily history for September 23 would return the daily records whose end time is in the range 7:00 on the 23 on the 24 th

. rd

to 6:59:59 AM

The From control contains the oldest previous day for which the daily history is to be read. The initial value is the current day. Change this date to avoid reading data that has previously been read into the log.

The to control contains the recent previous day for which the daily history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

Select the Do Not Read Hourly Logs to skip the reading of hourly logs.

Click the Next> button to read the selected logs and history from the runs selected and move to the next step in the wizard.

The Read Logs Results page displays the results of the Read Logs and

History.

Save Data

Click the Next> button to move to the next step in the wizard.

This step selects where to save the flow run configuration, logs and flow history.

Realflo User and Reference Manual

May 19, 2011

133

Realflo Maintenance Mode Reference

Select Save to File name.tfc to save the data read to the currently opened file. The name of the current file is shown in place of file name.tfc.

Select Save to another file and enter a file name or click the Browse button to open the Save As dialog.

The following options allow you to specify the name and location of the file you're about to save:

The Save in: box lists the available folders and files.

The File name: box allows entry of a new file name to save a file with a different name. Realflo adds the extension you specify in the Save As type box.

The Save as type: box lists the types of files Realflo can save. Realflo can open flow computer (TFC) files and flow computer Template files (RTC).

Realflo User and Reference Manual

May 19, 2011

134

Realflo Maintenance Mode Reference

If the open file is a flow computer file and the Save as Type is a template file, Realflo will ask if the flow computer file should be saved before converting it to a template. This stops the missing of flow computer data when the file is converted.

The Save button saves the file to the specified location.

The Cancel button closes the dialog without saving.

Realflo User and Reference Manual

May 19, 2011

135

Export Data

Realflo Maintenance Mode Reference

This step selects whether to export the logs and history.

Select Export to CFX format file to export the logs and history to a Flow-

Cal CFX format file. This format is designed for importing into Flow-Cal.

Data is exported to the CFX file from one flow run. The file includes data from the configuration, current readings, alarm log, event log and hourly history log.

When this option is selected the Export Data to CFX dialog is opened when the Finish button is clicked.

The CFX Export Setting button opens the CFX Export Settings dialog.

The parameters for this dialog are described in the CFX Export Settings section below.

Select Export to CSV format file to export the logs and history to a CSV

(comma-separated values) format file. This format can be read by spreadsheet and database software.

When this option is selected the Export Data to CSV dialog is opened when the Finish button is clicked.

The CSV Export Setting button opens the CSV Export Settings dialog.

The parameters for this dialog are described in the CSV Export Settings section below.

Select No, Do not export to skip the Export Data step.

When this option is selected the dialog is closed and the Read Logs

Flow History wizard is ended when the Finish button is clicked.

Realflo User and Reference Manual

May 19, 2011

136

Export Data to CFX

Realflo Maintenance Mode Reference

Select All Alarms, Events and Hourly Logs to select all of the data in the flow run. This is the default button.

Select Selected Days to select the data from the contract days in the From and To dropdown lists.

The From dropdown list selects the oldest contract day. This control is enabled when the Selected Days radio button is selected.

The To dropdown list selects the recent contract day. This control is enabled when the Selected Days radio button is selected.

The Export Type dropdown list selects how export files are stored.

Select Specific File to export to a single file. A standard file save dialog opens to allow you to select the file name. The default file name is

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

Select Dated CFX to export one file per day to a single folder per run.

Realflo exports one file for each day. The file name is based on the time and date according to the CFX standard (YYYYMMDD.CFX).

Realflo User and Reference Manual

May 19, 2011

137

Save CFX Export

Realflo Maintenance Mode Reference

Select Save to File name.CFX to save the CFX Export data to the currently opened file. The name of the current file is shown in place of file name.CFX.

The files that that will be created are shown in the display window.

Select Save to another file to save the CFX Export data to a different file name and location. Enter the name in the window or select Browse to open the Save As dialog and select a name and location.

The Save As dialog allows you to specify the file to export the data to.

The Save button exports the data to the selected file.

The Cancel button the export command and closes the dialogs.

Click the Next> button to complete the Read Logs and Flow history wizard and close the dialog.

Realflo User and Reference Manual

May 19, 2011

138

Export Data to CSV

Realflo Maintenance Mode Reference

Save CSV Export

Select Hourly history to export the hourly history data.

Select Daily history to export the daily history data.

Select Alarm log to export the alarm log data.

Select Event log to export the event log data.

The Next> button moves to the Save CSV Export step in the wizard.

Select Save to File name.CSV to save the CSV Export data to the currently opened file. The name of the current file is shown in place of file name.CSV.

The files that that will be created are shown in the display window.

Realflo User and Reference Manual

May 19, 2011

139

Realflo Maintenance Mode Reference

Select Save to another file to save the CSV Export data to a different file name and location. Enter the name in the window or select Browse to open the Save As dialog and select a name and location.

You may change the file name to any suitable name. The suggested file name format is defined in the CSV Export Options command.

The Save As file selection dialog appears for views. The Save As dialog allows you to specify the file to export the data to.

The Save button in the Save As dialog exports the data to the selected file.

The Cancel button in the Save As dialog cancels the export command and closes dialogs.

Export PEMEX Report to CSV

This option is only available in the PEMEX version of Realflo.

Select Run number to export the history data for a specific meter run.

Select Hourly history to export the history data.

Select Data to specify the dates for which to export the history data. .

Click OK to open the Save As dialog.

Click Save to save the hourly history data.

Realflo User and Reference Manual

May 19, 2011

140

Realflo Maintenance Mode Reference

CFX Export Settings

The CFX Export Options dialog sets options for exporting to Flow-Cal CFX files. The settings in this dialog apply to files opened by Realflo. They are stored in the Windows registry.

The Hourly History section defines how records from the hourly history are exported.

Select Export Partial Hour Records to export the records as they appear in Realflo. Some hours may contain more than one record due to power cycling or configuration changes. This is the default selection.

Select Export One Record per Hour to export only one record per hour. Multiple records within an hour are merged into a single record for exporting. Hours that are not yet complete are not merged or exported.

The following hourly record fields are summed: volume, mass, energy, pulses (turbine type).

The following hourly record fields are averaged: termperature, static pressure, differential pressure (orifice types), relative density, flow product

or flow extension. See Input Averaging on page 948 for more information.

Select Time Leads Data Format to export the date and time at the start of the period. The time stamp on the record is the time at the start of the hour, even if the first record to be merged started later than that time.

Realflo User and Reference Manual

May 19, 2011

141

Realflo Maintenance Mode Reference

This option is enabled only when Export One Record per Hour is checked. This option is unchecked by default.

The File Description section defines some descriptive parameters in the

CFX file.

Meter Number defines the meter number parameter. The options are

none, Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Computer ID. The parameter is 17 characters long in the file.

Meter Name defines the meter name parameter. The options are none,

Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Run ID. The parameter is 49 characters long in the file.

Serial Number defines the meter serial number parameter in the file.

The options are none, Flow Computer ID, Flow Run ID and Flow Run

Number. The default value is Flow Run Number. The parameter is 11 characters long in the file.

The Live Inputs Flags section defines which live input flags are set by

Realflo. The CFX file contains four flags in the Live Inputs parameter.

Realflo sets the T (temperature) flag to Y (live data). The other flags are normally set to N (not live), but can be modified using the following options.

Check Set Live Gas Composition Flag when there is a program that updates the gas composition. This is flag A (analysis). This option is unchecked by default.

Check Set Live Energy Flag when there is a program that updates the energy. This is flag B (heating value). This option is unchecked by default.

Check Set Live Gravity Flag when there is a program that updates the specific gravity (relative density). This is flag G (gravity). This option is unchecked by default.

The Default Name Format section defines what file names Realflo suggests when exporting. The names are combinations of the file name;

Flow Computer ID; flow run number; and flow run ID.

Format selects the name format. The valid values are listed below. The default is to include the file name; Flow Computer ID; flow run number; and flow run ID. o file name (Flow Computer ID) - Run# (run ID) o file name (Flow Computer ID) - Run# o file name (Flow Computer ID) - run ID o file name - Run# (run ID) o file name - Run# o file name - run ID o Flow Computer ID - Run# (run ID) o Flow Computer ID - Run# o Flow Computer ID - run ID o Run# (run ID) o run ID

Realflo User and Reference Manual

May 19, 2011

142

Realflo Maintenance Mode Reference

The Example control shows the file name that will be suggested for the current file.

The Dated CFX section defines where and how CFX files are exported.

Select Use .CFX extension on folder names to create folders with a

CFX extension when exporting Dated CFX files. The data for each month is stored in its own folder when using the Dated CFX format. The folder name may have a CFX extension or not. This option is unchecked by default.

Select Export Dated CFX Files to the Folder to define a common folder for exports. Exported data is placed in this folder. The option is unchecked by default. When checked, the edit control holds the destination folder that will appear in the Save As dialog. Use Browse to search for another folder.

CSV Export Settings

The CSV Export Options command defines whether optional data is exported to CSV files. The settings in this dialog apply to files opened by

Realflo. They are stored in the Windows registry.

The Hourly and Daily Records section of the dialog defines optional data to include and how the data is time stamped.

Select the Include Uncorrected Flow in AGA-7 Export option to export the Uncorrected Data column from the Hourly History Log and

Daily History Log. This option applies to AGA-7 only. The option is unchecked by default.

Select the Export in Time Leads Data Format option to export time stamps that mark the start of the period. Uncheck the option to export time stamps that mark the end of the period (Realflo format). This applies to the the Hourly History and Daily History only. The control is unchecked by default.

The Default File Name Format section defines the file name that is suggested by Realflo when data is exported. The names are combinations of the file name; Flow Computer ID; flow run number; and flow run ID.

The Format list selects the name format. The name is made up of the identifier format and a view format. The valid values for the identifier are listed below. The default is to include the file name; Flow Computer ID; flow run number; and flow run ID.

Realflo User and Reference Manual

May 19, 2011

143

Realflo Maintenance Mode Reference o file name (Flow Computer ID) - Run# (run ID) - Type o file name (Flow Computer ID) - Run# - Type o file name (Flow Computer ID) - run ID - Type o file name - Run# (run ID) - Type o file name - Run# - Type o file name - run ID - Type o Flow Computer ID - Run# (run ID) - Type o Flow Computer ID - Run# - Type o Flow Computer ID - run ID - Type o Run# (run ID) - Type o run ID - Type

When the logs are exported the word Type is replaced by the following, according to the export selected. o Alarms o Events o Hourly Log o Daily Log o Current Readings o Custom View Name

The Example control shows the file name that will be suggested for the current file.

Realflo User and Reference Manual

May 19, 2011

144

Realflo Maintenance Mode Reference

Maintenance

The Maintenance section of the Realflo main page contains Calibrate

Inputs, Change Orifice Plate and Force Inputs buttons.

Click the Calibrate Inputs button to start the Calibrate Inputs wizard, which will lead you through the steps to connect to a flow computer and calibrate the measurement inputs.

Click the Change Orifice Plate button to start the Change Orifice Plate wizard, which will lead you through the steps to connect to a flow computer and change the orifice plate for a meter run.

Click the Force Inputs button to start the Force Inputs wizard, which will lead you through the steps to connect to a flow computer and force the inputs.

Connections for SCADAPack Sensor Calibration

It should be noted that when an Absolute (Static) Pressure calibration is performed the bypass or cross feed valve on the manifold needs to be open.

When performing a Differential Pressure calibration the bypass valve needs to be closed.

Differential Pressure Calibration Connections

Realflo User and Reference Manual

May 19, 2011

145

Absolute Pressure Calibration Connections

Realflo Maintenance Mode Reference

Calibrate Inputs

The Calibrate Inputs wizard is used to calibrate the temperature sensor, static pressure sensor, and differential pressure sensor or pulse counter input. The calibration dialogs lead you through the calibration procedure.

When more than one sensor is selected, they are forced and then the calibration cycle will be allowed for each sensor in turn. This allows multiple variable transmitters such as the MVT to be calibrated.

WARNING

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Realflo User and Reference Manual

May 19, 2011

146

Realflo Maintenance Mode Reference

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud

 no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

Realflo User and Reference Manual

May 19, 2011

147

Realflo Maintenance Mode Reference

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Realflo User and Reference Manual

May 19, 2011

148

Realflo Maintenance Mode Reference

Sensor Calibration

When the Calibration command is selected the Sensor Calibration dialog is displayed. The Run, or Sensor, to be calibrated is selected from this dialog.

This dialog allows the selected meter run or Sensor to be calibrated.

Select the Run radio button and then select a meter run to calibrate.

Transmitters used for the meter run may be calibrated. This section is disabled if every run is using external sensors.

Follow the steps in the

Run Calibration Procedure

.

Select the Sensor radio button and select one of the tags to calibrate a

Sensor or Transmitter. The tags that have been configured will be in

Sensor selection box.

Follow the steps in the

Sensor Calibration Procedure

.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The back button is not enabled on the first step since there is no previous step.

The Next> button starts the calibration procedure. After the Run, or sensor, is selected, the configuration for the run is read from the flow computer. The

Run, or sensor calibration page for the run is then displayed.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

149

Realflo Maintenance Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

150

Realflo Maintenance Mode Reference

Run Calibration Procedure

When the Run radio button is selected the Run Calibration dialog is displayed. The transmitters for the run are selected for calibration from this dialog.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

Select the sensors to be calibrated by checking the appropriate boxes. More than one sensor may be selected for calibration.

The <Back button is not enabled as this is the initial step.

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

151

Realflo Maintenance Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

If a sensor was forced before starting the execution of a calibration, the sensor will remain in a forced state after the calibration process is completed or even if the calibration process is cancelled before completion.

When more than one sensor is selected, they need to be forced to a current or fixed value before any of the other steps are performed. A Step 1: Force

Value dialog will be presented for each sensor selected for calibration.

The input register associated with this input is displayed to aid you in determining which input you are calibrating.

Check the Current Value radio button to use the current value for the sensor.

Realflo User and Reference Manual

May 19, 2011

152

Realflo Maintenance Mode Reference

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor may now be disconnected from the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 2: Record As Found Values

Realflo User and Reference Manual

May 19, 2011

153

Realflo Maintenance Mode Reference

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You need to record at least one as-found reading.

To take as-found readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

Check the measured value from the process in the Measured Value box. When it has settled, click on the Record button to record an asfound reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

Realflo User and Reference Manual

May 19, 2011

154

Realflo Maintenance Mode Reference

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 3: Calibration Required

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The

Realflo User and Reference Manual

May 19, 2011

155

Realflo Maintenance Mode Reference measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 4: Calibrate Sensor

Realflo User and Reference Manual

May 19, 2011

156

Realflo Maintenance Mode Reference

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

Click on the Next> button when the calibration is complete.

Calibration Step 5: Record As Left Values

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

Realflo User and Reference Manual

May 19, 2011

157

Realflo Maintenance Mode Reference

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

Check the measured value from the process. When it has settled, click on the Record button to record an as-left reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

When required readings are taken, click on the Next> button.

Calibration Step 6: Restore Live Input

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Realflo User and Reference Manual

May 19, 2011

158

Realflo Maintenance Mode Reference

Click on the Next button when the sensor is connected.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Calibration Step 6: Calibration Report Comment

Realflo User and Reference Manual

May 19, 2011

159

Realflo Maintenance Mode Reference

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Calibration Step 7: Calibration Report

The Calibration Report dialog allows the saving of the calibration report.

Select Save Report to File to save the report.

Realflo User and Reference Manual

May 19, 2011

160

Realflo Maintenance Mode Reference

Type the name of the report in the Save Report to File window. The default location and name are specified on the Calibration Report

Options dialog.

Select Browse to select a different file name.

Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked.

Select Do not Save Report to skip saving the calibration report.

Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

Realflo User and Reference Manual

May 19, 2011

161

Realflo Maintenance Mode Reference

Sensor Calibration Procedure

When the Sensor radio button is selected in the Sensor Calibration dialog the Sensor Calibration dialog is displayed.

The transmitter number, transmitter tag name, the communication port and the transmitter address associated with this sensor are displayed to aid you in determining which input you are calibrating.

Check the Calibrate Temperature Sensor check box to select the temperature sensor for calibration. This will add the Temperature to the

Calibration order list box.

Check the Calibrate Static Pressure Sensor check box to select the static pressure sensor for calibration. This will add the Static Pressure to the Calibration order list box.

Check the Calibrate Differential Pressure Sensor check box to select the differential pressure sensor for calibration. This will add the Diff.

Pressure to the Calibration order list box.

The Calibration Order list displays the list of sensors to be calibrated.

Sensors are calibrated in order from the top of the list.

Select Move Up button to move the specified item in the list up. The button is disabled if highlight item is on the top of the list or the list is empty.

Select Move Down button to move the specified item in the list down.

The button is disabled if highlight item is on the bottom of the list or the list is empty.

The <Back button is not enabled as this is the initial step.

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

Realflo User and Reference Manual

May 19, 2011

162

Realflo Maintenance Mode Reference

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

If a sensor was forced before starting the execution of a calibration, the sensor will remain in a forced state after the calibration process is completed or even if the calibration process is cancelled before completion.

When more than one sensor is selected, they need to all be forced to a current or fixed value before any of the other steps are performed.

Realflo User and Reference Manual

May 19, 2011

163

Realflo Maintenance Mode Reference

Realflo User and Reference Manual

May 19, 2011

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor may now be disconnected from the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

164

Realflo Maintenance Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 2: Record As- Found Values

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You need to record at least one as-found reading.

Realflo will record As Found values to the unit type selected for the meter run. If the units type for the meter run and the MVT are not the same then the MVT units are scaled to the meter run units.

To take as-found readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

Check the measured value from the process in the Measured Value box. When it has settled, click on the Record button to record an asfound reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The

Realflo User and Reference Manual

May 19, 2011

165

Realflo Maintenance Mode Reference measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 3: Calibration Required

Realflo User and Reference Manual

May 19, 2011

166

Realflo Maintenance Mode Reference

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

Realflo User and Reference Manual

May 19, 2011

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

167

Realflo Maintenance Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 4: Calibrate SCADAPack 4102, 4202, or 4203

Step three in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4102, 4202 or 4203 transmitter. Use the Calibration Step 4:

Calibrate 4101 for the SCADAPack 4101 transmitter and use Calibration

Step 4: Calibrate 3905 for the 3095 transmitter.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step..

The Static Pressure can only have a span calibration performed if at least 5% of the rated pressure is applied.

The RTD Zero can only be adjusted +/- 1% of the RTD upper limit, typically 8.5 degrees C, relative to the settings used when a reset sensor command was last issued.

The list box displays as-found values listed in the list of Record As-Found

Values dialog.

The Measured Value displays the measured value from the sensor.

Realflo User and Reference Manual

May 19, 2011

168

Realflo Maintenance Mode Reference

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Calibration Step 4: Calibrate SCADAPack 4101

Step three in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4101, 4202 or 4203 transmitter.

The as-found readings, for each sensor, will indicate if calibration is required for the sensor. You are prompted to use the SCADAPack 4000 Configurator application to perform the calibration. The SCADAPack 4000 Configurator software is installed from the Control Microsystems Hardware

Documentation CD.

The Next> button proceeds to the next step.

The Help button displays the online help file.

Calibration Step 4: Calibrate 3095 MVT

Realflo User and Reference Manual

May 19, 2011

169

Realflo Maintenance Mode Reference

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a 3095

MVT transmitter.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

The list box displays as-found values listed in the list of Record As-Found

Values dialog.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The Calibrate Sensor section of the Calibrate Sensor dialog displays the current calibration settings and selectable radio buttons for configuring the sensor calibration.

The Radio buttons enable the changing of the zero and span for the

Temperature, Static Pressure and Differential Pressure sensors. For

Temperature sensors, an additional radio button allows the user to fix the

Temperature value in the event the temperature reading is outside the configured limits.

Select the Re-Zero radio button to enable a new entry in the Applied

Value field. This field displays the current zero value. The button is labeled Re-Zero if the Re-Zero radio button is selected. Clicking the

Re-Zero button writes the zero applied value to the transmitter immediately.

Realflo User and Reference Manual

May 19, 2011

170

Realflo Maintenance Mode Reference

Select the Calculate Span radio button to enable a new entry in the

Applied Value field. This field displays the current span value. The button is labeled Calibrate if the Calibrate Span radio button is selected. Clicking the Calibrate button writes the span applied value to the transmitter immediately.

When calibrating the temperature sensor you may select the Default

Temperature radio button to enable a new entry in the Applied Value field.

The button is labeled Set if the Default Temperature radio button is selected. The transmitter returns the fixed temperature value if the RTD is not working, or if the RTD is not connected. The valid range is

–40 to 1200

F or

–40 to 648.89

C. The default value is 60

F or 15.56

C. The new fixed temperature point is written to the transmitter immediately.

The Measured Value displays the measured value from the sensor.

Realflo records the points at which MVT calibration was performed in the event log.

Each time the Re-Zero button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Target Re-zero Temperature

The applied value entered by the user

The measured value from the flow computer

Each time the Calibrate button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Target Temperature Span

The applied value entered by the user

The measured value from the flow computer

Each time the Set Default button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Set Default Temperature

The applied value entered by the user

The measured value from the flow computer

Calibration Step 4: Record As Left Values

Realflo User and Reference Manual

May 19, 2011

171

Realflo Maintenance Mode Reference

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

Realflo will record As Found values to the units type selected for the meter run. If the units type for the meter run and the MVT are not the same then the MVT units are scaled to the meter run units.

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

Check the measured value from the process. When it has settled, click on the Record button to record an as-left reading.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Repeat the process to record additional readings.

When required readings are taken, click on the Next> button.

Calibration Step 5: Restore Live Input

Realflo User and Reference Manual

May 19, 2011

172

Realflo Maintenance Mode Reference

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Click on the Finish button when the sensor is connected.

WARNING

The live value from sensors is used as soon as the Finish button is clicked.

Connect sensors first.

Calibration Step 6: Calibration Report Comment

Realflo User and Reference Manual

May 19, 2011

173

Realflo Maintenance Mode Reference

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Calibration Step 7: Calibration Report

The Calibration Report dialog allows the saving of the calibration report.

Select Save Report to File to save the report.

Realflo User and Reference Manual

May 19, 2011

174

Realflo Maintenance Mode Reference

Type the name of the report in the Save Report to File window. The default location and name are specified on the Calibration Report

Options dialog.

Select Browse to select a different file name.

Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked.

Select Do not Save Report to skip saving the calibration report.

Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

Change Orifice Plate

The Change Orifice Plate wizard enables the orifice plate to be changed for

AGA-3 meter runs. This wizard supports Dual Chamber Orifice fittings and

Singe Chamber Orifice fittings. This wizard will prompt you through the plate change procedure.

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Realflo User and Reference Manual

May 19, 2011

175

Realflo Maintenance Mode Reference

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud

 no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

Realflo User and Reference Manual

May 19, 2011

176

Realflo Maintenance Mode Reference

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Realflo User and Reference Manual

May 19, 2011

177

Select Meter Run

Realflo Maintenance Mode Reference

This step selects which meter run the orifice plate is to be changed.

The Run dropdown selection displays runs using AGA

–3 flow calculations.

Select the run to change or inspect the orifice plate.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the run selection and the wizard moves to the next step. This button is greyed if there are no flow runs configured to use the AGA-3 flow calculation.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Realflo User and Reference Manual

May 19, 2011

178

Realflo Maintenance Mode Reference

Connect sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

179

Realflo Maintenance Mode Reference

Choose Orifice Fitting Type Step

This page allows the user to select the type of orifice fitting.

Select Dual Chamber Orifice Fitting if a dual chamber fitting is present.

Flow accumulation with estimated values will continue during the plate change.

Select Singe Chamber Orifice Fitting if a single chamber fitting is present.

Flow accumulation will stop during the plate change.

The Next button moves to the next step.

The next step is described in the section

Dual Chamber Orifice

if a

dual chamber fitting is selected.

The next step is described in the section

Single Chamber Orifice

if a

single chamber fitting is selected.

The Cancel button closes the dialog and stops the plate change procedure.

The Help button displays the online Help file.

Realflo User and Reference Manual

May 19, 2011

180

Realflo Maintenance Mode Reference

Dual Chamber Orifice

A dual chamber orifice allows the user to change, or inspect, the orifice plate without stopping the flow. These are generally large custody transfer sites where the orifice fitting is bypassed during the change or inspection procedure.

The Change Orifice Plate Command forces the Static Pressure, Differential

Pressure and Temperature inputs to a fixed value during the orifice plate change or inspection procedure. This command is disabled if the Update

Readings command is enabled. The flow is estimated during the procedure using the fixed values.

This command allows a user to place a flow run into estimation mode to allow an orifice plate to be changed or inspected. Changing the orifice plate involves the following steps.

Set the estimated flow to be used during the orifice plate change by forcing inputs to fixed values.

Change the orifice size.

Complete the orifice plate change and resume normal flow measurement.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file

.” The command is aborted.

Force Input Step

This step forces the flow run inputs. An estimated flow will be calculated while the plate change is in progress. The current values are updated every second.

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Realflo User and Reference Manual

May 19, 2011

181

Realflo Maintenance Mode Reference

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the force inputs step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Connect sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Change Orifice Plate Step

Realflo User and Reference Manual

May 19, 2011

182

Realflo Maintenance Mode Reference

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and displays the following message.

Realflo User and Reference Manual

May 19, 2011

183

Realflo Maintenance Mode Reference

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Connect sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

184

Realflo Maintenance Mode Reference

Single Chamber Orifice

A single chamber orifice requires the flow be stopped while an orifice plate is changed.

The Change Orifice Plate command prompts the user to stop the flow before changing the plate and start the flow after changing the plate.

Changing the orifice plate involves the following steps.

Confirm that flow has stopped.

Change the orifice size.

Complete the orifice plate change.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.

” The command is aborted.

Stop Flow Step

This step stops the flow run. The current inputs can be monitored while the flow is stopped.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the Stop Flow step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

185

Realflo Maintenance Mode Reference

Change Orifice Plate Step

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

Realflo User and Reference Manual

May 19, 2011

186

Realflo Maintenance Mode Reference

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

The Help button displays the online help file.

Force Inputs

The Force Sensor wizard allows forcing and unforcing of the value of the temperature sensor, static pressure sensor, differential pressure sensor, or pulse counter input. Flow calculations continue to execute while sensors are forced.

The flow computer ID is checked when the Force Inputs command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the error message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.

” The command is aborted,

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Realflo User and Reference Manual

May 19, 2011

187

Realflo Maintenance Mode Reference

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud

 no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the

Realflo User and Reference Manual

May 19, 2011

188

Realflo Maintenance Mode Reference default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Realflo User and Reference Manual

May 19, 2011

189

Realflo Maintenance Mode Reference

Select Run or Transmitter to Force

This step selects the run or transmitter to force.

Select Run to force the sensor inputs for a flow run using analog or pulse sensors. Select the run to be forced from the dropdown list. The Run controls are disabled if there are no runs using analog or pulse sensors.

See the section

Force Run Inputs

below for information on forcing Run

inputs.

Select Sensor to force the inputs from an external transmitter. Select the sensor to be forced from the dropdown list beside it. The

Sensor” control is disabled if there are no transmitters configured.

See the section Force Transmitter Sensor Inputs below for information on

forcing transmitter inputs.

The Back button is disabled, as this is the first step in the wizard.

The Next starts the force procedure.

The Cancel closes the wizard.

The Help displays the online help file.

Realflo User and Reference Manual

May 19, 2011

190

Force Run Inputs

Realflo Maintenance Mode Reference

When the Force Run is selected the Force Input Values dialog is displayed as shown below. The Force Input Values step selects the analog inputs of a flow run which will be forced or unforced. It displays the inputs that can be forced.

The Force Input Value dialog contains sections for Force Differential

Pressure Input, Force Static Pressure Input and Force Temperature Input.

When AGA-7 calculation type is used the dialog contains a section for Force

Pulse Counter Input instead of Force Differential Pressure Input.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove to remove the existing forcing. This button is disabled if the input is not forced.

The Back button moves back to the Select Run or Transmitter to Force step. Backing up does not erase events from the flow computer event log, or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

Realflo User and Reference Manual

May 19, 2011

191

Realflo Maintenance Mode Reference

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

Force Sensor Inputs

This step shows the selected sensor inputs. The inputs can be forced to the current value or a fixed value, left as it is, or the forcing can be removed.

The transmitter number, transmitter tag name, the communication port and the transmitter address associated with this sensor transmitter are displayed to aid you in determining which input you are forcing.

The Sensor Values dialog contains sections for Force Differential Pressure,

Force Static Pressure and Force Temperature.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove Force to remove the existing forcing. This button is disabled if the input is not forced.

If an input on a run is not forced currently, the initial (default value of the

Fixed Value field) needs to be the default input value for the field. If the input type is a sensor and the Values on Sensor Fail field is set to use default value in the Run Configuration dialog.

Realflo User and Reference Manual

May 19, 2011

192

Realflo Maintenance Mode Reference

The Back button moves back to the Select Run or Transmitter to Force step. Backing up does not erase events from the flow computer event log, or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

The same transmitter can be used for more than one flow run. Realflo forces the value for each run.

Realflo User and Reference Manual

May 19, 2011

193

Realflo Maintenance Mode Reference

Configuration

The Configuration section of the Realflo main page contains a View and

Change Configuration button. Click the View and Change Configuration button to start the View and Change Configuration wizard. The wizard will lead you through the steps to connect to a flow computer and view and modify the configuration.

For each step in the wizard, a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

View and Change Configuration Wizard

The View and Change Configuration wizard will lead you through the steps to connect to a flow computer and view and modify the configuration.

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Realflo User and Reference Manual

May 19, 2011

194

Realflo Maintenance Mode Reference

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud

 no parity

8 Data bits

1 Stop bit

The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

Realflo User and Reference Manual

May 19, 2011

195

Realflo Maintenance Mode Reference

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected click the OK> button to close the dialog and begin communication with the flow computer.

Realflo User and Reference Manual

May 19, 2011

196

Edit Configuration

Realflo Maintenance Mode Reference

The Edit Configuration dialog allows the viewing and editing of the flow computer parameters.

The Edit Configuration dialog displays parameter types associated with a flow computer in the tree structure at the right side of the dialog.

The Description field displays an overview of each of the parameter types.

Click on a parameter type and a short description of the parameter is displayed in the Description field.

The View/Edit button displays the configuration dialog for a selected parameter.

Click on a parameter type to highlight it and then click the View/Edit button to open the configuration dialog for the parameter.

Parameters in the tree are completely described in other sections of this user manual. A list of the parameters and the location of the complete description is shown below.

Flow Computer Configuration

For complete information on Flow Computer Type parameters refer to

the Realflo Expert Mode Reference>> Configuration Menu >> Setup

section.

For complete information on Serial Ports parameters refer to the

Realflo Expert Mode Reference>> Configuration Menu >> Serial

Ports section of this user manual.

For complete information on Register Assignments parameters refer

to Realflo Expert Mode Reference>> Configuration Menu

>>Register Assignment section of this user manual.

For detailed information on DNP configuration refer to the DNP section.

Realflo User and Reference Manual

May 19, 2011

197

Realflo Maintenance Mode Reference

Flow Run Configuration

For complete information on Flow Run Configuration refer to the

Realflo Expert Mode Reference>> Configuration Menu >>Flow Run

section.

Sensor and Display Configuration

For complete information on Sensor and Display Configuration refer

to the Realflo Expert Mode Reference>> Configuration Menu

>>Sensor and Display section.

Process I/O configuration

For complete information on Process I/O Configuration refer to the Realflo

Expert Mode Reference>> Configuration Menu >>Process I/O section.

Flow Computer Configuration Summary

This step displays a summary of the flow computer settings.

Review Differences

A summary of the flow computer configuration is shown.

The current configuration can be compared with the configuration in the target flow computer.

Select Yes to compare the configurations. The next step is Review

Differences.

Select No to not compare the configurations. The next step is Save File.

Realflo User and Reference Manual

May 19, 2011

198

Realflo Maintenance Mode Reference

This step displays a summary of changes in the flow computer configuration. The user may select to write to the flow computer or not

A summary of the differences is the configuration is shown.

Select Yes to write the configuration to the flow computer. The configuration is written to the flow computer. The Start Executing command will be written for each flow run. The communication progress dialog shows the stages of writing.

Select No to write the configuration to the flow computer later.

Click Next to perform the selected action.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

Realflo User and Reference Manual

May 19, 2011

199

Save File

Realflo Maintenance Mode Reference

This step selects where to save the configuration file.

Select the Save to Realflo.tfc to save the configuration file to the default file location.

Select the Save to another file to either enter a file name or use the

Browse button to open the Save As dialog.

Realflo User and Reference Manual

May 19, 2011

200

Realflo Maintenance Mode Reference

Switch to Expert Mode

The Switch to Expert Mode button closes the Maintenance Mode window and opens the Expert Mode window. Files are not closed and connections to flow computers are not lost when the Switch to Expert Mode button is selected.

Realflo User Manual

The Realflo User Manual button opens this manual.

Exit Realflo

The Exit Realflo button closes Realflo. Realflo will display a message if any files are not saved or not yet written to the flow computer.

Realflo User and Reference Manual

May 19, 2011

201

Realflo Expert Mode Reference

Realflo Expert Mode Reference

The Realflo display window is divided into the following areas. Each area is described in the following sections of this manual.

Display Window

on page 203

File Menu

on page

210

Edit Menu

on page

226

View Menu

on page

243

Configuration Menu

on page

260

Communication Menu

on page

465

Window Menu

on page

526

Help Menu

on page

527

User Interface Components

The Title Bar is located along the top of the Realflo window and contains application file information and window control functions.

The Menu Bar provides access to Realflo commands. This reference contains complete information on Realflo menu commands.

The Tool Bar is located below the Menu Bar and provides quick mouse access to many Realflo functions.

The Maintenance Tool Bar is a docking toolbar and provides single button access to flow computer maintenance functions.

The Configuration Tool Bar is a docking toolbar and provides a structured tree of flow computer configuration data.

The Status Bar is displayed across the bottom of the application window and describes actions of menu items as you use the arrow keys or mouse to navigate through menus.

Realflo User and Reference Manual

May 19, 2011

202

Realflo Expert Mode Reference

Display Window

The Expert Mode display window is shown below.

Current Readings

The Current Readings view is divided into five sections:

The Process Measurements section displays the live and forced values for the flow calculation process inputs. The live values show the value read from the sensor. The forced values show the inputs to the flow calculation when they are forced. The Forced values are disabled when the input is live.

The forced values are shown in red when the value is forced.

The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

Process measurements not used by the flow calculation are disabled.

Forced values are not displayed for flow computers older than 6.0.

The Calculated Compressibility section displays the results of the compressibility calculation selected in the Input Configuration property page. The time of the last compressibility calculation update and any compressibility calculation errors are also displayed in this section. The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

The Calculation Status section displays the Calculation State of the flow computer calculations for the run. Refer to the Calculation Control command in the Flow Computer menu for further information on flow calculation control. The Calculation State can be changed using the start or stop button beside the Calculation State display.

When the Current Readings are being updated and the calculation is

stopped or not set then the button is labeled Start.

When the Current Readings are being updated and the calculation is

running then the button is labeled Stop.

When the Current Readings are not being updated the button is disabled and no text is displayed on it.

Realflo User and Reference Manual

May 19, 2011

203

Realflo Expert Mode Reference

Click on the button to change the Calculation State.

If the calculations are stopped the following message box is displayed.

If Yes is selected the flow calculations for the run are started.

If No is selected the message box is closed and no further action is taken.

If the calculations are running the following message box is displayed.

If Yes is selected the flow calculations for the run are stopped.

If No is selected the message box is closed and no further action is taken.

The Last Flow Configuration displays the time stamp of the last time the flow configuration was changed.

The Last Density Configuration displays the time stamp of the last time the compressibility configuration was changed.

The Last Flow Configuration and Last Density Configuration values are not displayed for flow computers older than 6.0.

The Calculated Flow at Base Conditions displays the instantaneous Flow

Volume Rate, Flow Volume Rate and Flow Energy Rate at base conditions.

The Flow Extension is displayed when the run is configured for AGA-3

(1990) calculations. The Flow Product is displayed when the run is configured for AGA-3 (1990) calculations. The Uncorrected Volume is displayed when the run is configured for AGA-7 calculations. The time of the last flow calculation and any flow calculation errors are also displayed. The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

The Accumulated Flow at Base Conditions section displays the accumulated flow at base conditions for the current contract day, the number of flow calculations and the flow time for the current contract day

(Today) and the previous contract day (Yesterday). Data is copied from the current contract day (Today) to the previous contract day (Yesterday) at the end of the contract day, as measured by the real time clock. Data is not copied when a new day is started for other reasons. The units of measurement displayed are those in effect when the readings were made.

See Measurement Units for a description of the unit types.

Realflo User and Reference Manual

May 19, 2011

204

Realflo Expert Mode Reference

This section also displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

The Total Accumulated Flow at Base Conditions section displays the total accumulated flow volume at base conditions. The accumulator holds a number between 0 and 999,999,999,999. It rolls over when the accumulated value is equal or greater than 1,000,000,000,000. The units of measurement displayed are those in effect when the readings were made. See

Measurement Units for a description of the unit types.

The Accumulated Uncorrected Flow section displays the total calculated uncorrected flow volume (AGA-7 only) for the current contract day, the previous contract day, the current month and the last month.

Title Bar

The title bar is located along the top of a window. It contains the name of the application, Realflo, and the currently opened flow computer file. The current view and meter run are displayed in brackets. The title bar provides commands for control of the opened application and the window display.

To move the window, drag the title bar. You can also move dialog boxes by dragging their title bars.

The application control menu button is the Realflo icon in the upper left corner of the Realflo window. When selected the following commands are displayed.

Use the Restore Command to return the active window to its size and position before you chose the Maximize or Minimize command.

Use the Move Command to display a four-headed arrow so you can move the active window or dialog box with the arrow keys. This command is unavailable if you maximize the window. Using the mouse drag the window title bar to location required.

Use the Size Command to display a four-headed arrow so you can size the active window with the arrow keys. This command is unavailable if you maximize the window. Use the mouse to drag the size bars at the corners or edges of the window.

Use the Minimize Command to reduce the Realflo window or the view window to an icon. Use the mouse by clicking the minimize icon on the title bar.

Use the Maximize Command to enlarge the active window to fill the available space. Use the mouse by clicking the maximize icon on the title bar; or double-click the title bar.

Use the Close Command to close the active window or dialog box. Doubleclicking a Control-menu box is the same as choosing the Close command.

If you have multiple windows open for a single document, the Close command on the document Control menu closes only one window at a time.

You can close all windows at once with the Close command on the File menu. Keyboard keys CTRL+F4 closes a document window and ALT+F4 closes the Realflo window or dialog box.

Use the Next Window Command to switch to the next open document window. Realflo determines which window is next according to the order in which you opened the windows. Use the keyboard keys CTRL+F6.

Realflo User and Reference Manual

May 19, 2011

205

Realflo Expert Mode Reference

Use the Previous Window Command to switch to the previous open document window. Realflo determines which window is previous according to the order in which you opened the windows. Use the keyboard keys

SHIFT+CTRL+F6.

Standard Toolbar

The Standard toolbar is displayed across the top of the application window, below the menu bar. The toolbar provides quick mouse access to many tools used in Realflo.

To hide or display the Toolbar, choose Toolbar from the View menu.

The following commands and functions are displayed on the Toolbar.

Create a new file

Open an existing file. Realflo displays the Open dialog box, in which you can locate and open the desired file.

Save the active file with its current name. If you have not named the document, Realflo displays the Save As dialog box.

Print data from the active view.

View data as it would be printed.

Edit Flow Computer configuration.

Edit Flow Computer configuration.

Read configuration from controller.

Write configuration to the controller.

Enable/Disable updating of Current Readings view.

Read Logs/History from Flow Computer for the meter run.

Display the Current Readings view for the meter run.

Display the Hourly History view for the meter run.

Display the Daily History view for the meter run.

Display the Hourly Gas Quality History view for the meter run.

Display the Event Log view for the meter run.

Displays the Alarm Log view for the meter run.

Show Run 1 in the current view. The view type is not changed.

Show Run 2 in the current view. The view type is not changed.

Realflo User and Reference Manual

May 19, 2011

206

Realflo Expert Mode Reference

Show Run 3 in the current view. The view type is not changed.

Show Run 4 in the current view. The view type is not changed.

Show Run 5 in the current view. The view type is not changed.

Show Run 6 in the current view. The view type is not changed.

Show Run 7 in the current view. The view type is not changed.

Show Run 8 in the current view. The view type is not changed.

Show Run 9 in the current view. The view type is not changed.

Show Run 10 in the current view. The view type is not changed.

Select whether all views or only the current view are affected by the

Run 1, Run 2 and Run 3 commands.

The toolbar may:

Remain stationary along one side of its parent window;

Be dragged and docked, or attached, by the user to any side or sides of the parent window you specify;

Be floated, or detached from the frame window, in its own mini-frame window so the user can move it around to any convenient position; and

Be re-sized while floating.

To move the toolbar, click on the background of the toolbar. Drag the toolbar to the new location and release the mouse button.

Maintenance Toolbar

The maintenance toolbar organizes the maintenance operations together.

The maintenance toolbar is a docking toolbar. Its initial position is below the main toolbar. You can move it, undock it, or hide it.

The following commands and functions are displayed on the toolbar.

The Maintenance Toolbar may:

Realflo User and Reference Manual

May 19, 2011

207

Realflo Expert Mode Reference

Remain stationary below the main toolbar;

Be dragged and docked, or attached, to either side of the parent window;

Be floated, or detached from the frame window, in its own mini-frame window so the you can move it around to any convenient position; and

Be resized while floating. The button layout automatically changes as the toolbar is resized.

To move the toolbar, click the title bar of the toolbar. Drag the toolbar to the new location and release the mouse button.

The toolbar can be enabled or disabled from the View menu. A check mark appears next to the menu item when the Maintenance Toolbar is displayed.

Configuration Toolbar

The configuration toolbar organizes configuration data in one place.

The configuration toolbar is a docking toolbar. Its initial position is on the left side of the Realflo window. You can move it, dock it, or hide it. or hidden by the user.

The configuration toolbar contains a tree of configurable items. Leaves are grouped under nodes. Double-clicking a leaf will open the dialog or property sheet for the item.

The toolbar may:

Remain stationary along one side of its parent window;

Be dragged and docked, or attached, by the user to either side of the parent window you specify;

Be floated, or detached from the frame window, in its own mini-frame window so the user can move it around to any convenient position; and

Be re-sized while floating.

Realflo User and Reference Manual

May 19, 2011

208

Status Bar

Scroll Bars

Menu Bar

Realflo Expert Mode Reference

To move the toolbar, right click anywhere in the toolbar and select Allow

Docking. The toolbar can be moved to a new location.

To close the toolbar, right click anywhere in the toolbar and select Hide.

The Status Bar is displayed across the bottom of the application window.

The left area of the status bar describes actions of menu items as you use the arrow keys to navigate through menus. It also shows messages that describe the actions of toolbar buttons as you depress them, before releasing them. If after viewing the description of the toolbar button command you wish not to execute the command, then release the mouse button while the pointer is off the toolbar button.

The Username and security level are shown at the bottom right of the Status

Bar. This provides an indication of the security level of the user. Some configuration toolbar items may be disabled depending of the security level of the user.

The right areas of the status bar indicate which of the following keys are latched down:

CAP Indicates the Caps Lock key is latched down.

NUM Indicates the Num Lock key is latched down.

SCRL Indicates the Scroll Lock key is latched down.

To hide or display the Status Bar, choose Status Bar from the View menu.

Scroll bars are displayed at the right and bottom edges of the document window. The scroll boxes inside the scroll bars indicate your vertical and horizontal location in the document. You can use the mouse to scroll to other parts of the document.

Scroll bars appear only when needed. If there is no visible data the scroll bar will not be shown.

The menu bar displays the commands for configuration, communication, monitoring, and security and file management functions available with

Realflo. Menu commands are displayed by clicking the mouse button on the menu item or by pressing the alt key and the underlined letter of the menu item.

Realflo User and Reference Manual

May 19, 2011

209

File Menu

Realflo Expert Mode Reference

The File menu contains commands to create, open and save Realflo files.

File menu commands allow data to be exported to spreadsheet (csv), Flow-

Cal (cfx) files and to be printed. User accounts are also configured using this menu.

New Command

Use this command to create a new Realflo file. When selected this command opens the New File Wizard. See the section Realflo Wizards >>

New File Wizard for complete details on using the wizard.

Open Command

Use this command to open an existing Realflo file. When the Open command is used the File Open Dialog is displayed.

The following options allow you to specify which file to open.

The Look In: box lists the available folders and files.

The File Name: box allows you to type or select the file name you want to open. This box lists files with the extension you select in the Files of Type box.

The Files of Type: box lists the types of files Realflo can open. Realflo can open flow computer (TFC) files and flow computer Template files (RTC).

When any account other than the ADMIN account has been created in the

Realflo file the user needs to log on to an account when a flow computer file

is opened. See the Accounts

section for details.

The Open button opens the selected file and closes all views for runs that are not supported by the file that is opened.

The Cancel button closes the dialog without opening a file.

Realflo User and Reference Manual

May 19, 2011

210

Realflo Expert Mode Reference

Only one flow computer file can be open at a time in Realflo. To view data from more than one flow computer at a time, start another copy of Realflo.

Close Command

Use this command to close all Realflo windows for the flow computer.

Realflo suggests that you save changes to the flow computer file. If you close a flow computer file without saving, configuration changes made and data that has been read from the flow computer since the last time you saved it are not saved. Before closing an untitled file, Realflo displays the

Save As dialog box and suggests that you name and save the file.

Save Command

Use this command to save the flow computer file to its current name and directory. Saving a file saves the flow computer configuration, Hourly and

Daily history, and the Event and Alarm logs.

When you save a file for the first time, Realflo displays the Save As dialog box so you can name your file. If you want to change the name or directory of the file, before you save it, choose the Save As command.

Realflo 6.70 files are compatible with files saved using earlier versions of

Realflo.

Save As Command

Use this command to save and name the flow computer file. Realflo displays the Save As dialog box so you can name your file.

The following options allow you to specify the name and location of the file you're about to save:

The Save in: box lists the available folders and files.

The File name: box allows entry of a new file name to save a file with a different name. Realflo adds the extension you specify in the Save As type box.

The Save as type: box lists the types of files Realflo can save. Realflo can open flow computer (TFC) files and flow computer Template files (RTC).

Realflo User and Reference Manual

May 19, 2011

211

Realflo Expert Mode Reference

If the open file is a flow computer file and the Save as Type is a template file, Realflo will ask if the flow computer file should be saved before converting it to a template.

The Save button saves the file to the specified location.

The Cancel button closes the dialog without saving.

To save a file with its existing name and directory, use the Save command.

Flow Computer File Types

Realflo uses separate files for flow computer configuration, current reading data, daily history data, hourly history data, alarm and event log data, process I/O configuration and custom views. All files are saved with the same file name and different file extensions. The table below indicates the file types and extensions.

File Type File Contents Extension

Configuration

Daily history

Hourly history

Configuration of the Flow

Computer

Historical data for daily history view

Historical data for hourly history view

TFC

TFD

TFH

Gas Quality History Historical data for gas quality history view

Event log Historical data for event log

Alarm log

Current readings

Settings

Historical data for alarm log

Current readings data

TFG

TFE

TFA

TFR

Configuration data not relating to flow calculations

TFS

Process I/O configuration data TFP Process I/O

Custom Views

Settings

Custom Views configuration

Additional configuration data not relating to flow calculations.

Includes SolarPack settings.

TFV

TFX

Template File Types

Realflo uses separate files for templates. All files are saved with the same file name and different file extensions. The table below indicates the file types and extensions.

File Type

Configuration

Settings

Process I/O

Custom Views

File Contents

Flow Computer configuration

Configuration data not relating to flow calculations

Process I/O configuration

Flow Run and Custom Views configuration

Extension

RTC

RTS

RTP

RTV

Managing Realflo Files

When copying Realflo files from one PC to another, copy all the files for a flow computer.

If history, event or alarm logs have grown too large, move the history and log files to another directory. New files will be created the next time you read

Realflo User and Reference Manual

May 19, 2011

212

Realflo Expert Mode Reference logs from the flow computer. If you export the data first, you can have easy access to the archived data from a spreadsheet and current data from

Realflo.

If you have created a copy of a flow computer for configuration of a new unit, you can delete the hourly and daily history, event and alarm logs by deleting the files with the TFD, TFH, TFE and TFA extensions.

Export Command

The Export command is used to select the type of file format to export

Realflo data to. There are five selections:

Export to CSV

Export to CFX

CSV Export Options

CFX Export Options

Export PEMEX Report

Export to CSV

Use the Export to CSV command to export the flow computer configuration data and the data from any view. Data is exported in the CSV (commaseparated values) format. This format can be read by spreadsheet and database software.

Data is exported from the current window. Select the window containing the view you wish to export or change the view in the current window using the

View menu.

When the Export command is selected the Export data dialog appears for views that support the selection of records for exporting, such as the hourly history, daily history or event log views. For views not supporting the selection of records, for example, configuration views, the Save As dialog is opened.

The All radio button selects all the data in the current view. This is the default button if no data is selected.

The Selection radio button selects the data that is currently selected in the view. This is the default button if data is selected.

The Selected Dates radio button selects the data from the contract days in the From and To dropdown lists.

The From dropdown list selects the oldest contract day. This control is enabled when the Selected Dates radio button is selected.

Realflo User and Reference Manual

May 19, 2011

213

Realflo Expert Mode Reference

The To dropdown list selects the recent contract day. This control is enabled when the Selected Dates radio button is selected.

Clicking the Cancel button or pressing the Escape key closes the dialog.

The OK button opens the Save As file selection dialog, with the file type

CSV active. A file name is suggested for each type of file that is exported.

Export to CFX

You may change the file name to any suitable name. The suggested file name format is defined in the CSV Export Options command.

The Save As file selection dialog appears for views. The Save As dialog allows you to specify the file to export the data to.

The Save button in the Save As dialog exports the data to the selected file.

The Cancel button in the Save As dialog cancels the export command and closes dialogs.

Use the Export to CFX command to export data in the Flow-Cal CFX format.

This format is designed for importing into Flow-Cal. Data is exported to the

CFX file from one flow run. The file includes data from the configuration, current readings, alarm log, event log and hourly history log.

The Run dropdown list selects the flow run to export. The default value is the flow run of the active view.

Realflo User and Reference Manual

May 19, 2011

214

Realflo Expert Mode Reference

The All Alarms, Events and Hourly Logs radio button selects all of the data in the flow run. This is the default button.

The Selected Days radio button selects the data from the contract days in the From and To dropdown lists.

The From dropdown list selects the oldest contract day. This control is enabled when the Selected Days radio button is selected.

The To dropdown list selects the recent contract day. This control is enabled when the Selected Days radio button is selected.

The Export Type dropdown list selects how export files are stored.

Select Specific File to export to a single file. A standard file save dialog opens to allow you to select the file name. The default file name is

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

Select Dated CFX to export one file per day to a single folder per run.

Realflo exports one file for each day. The file name is based on the time and date according to the CFX standard (YYYYMMDD.CFX).

A separate folder is created for each run. The folder is named

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

CFX File Version

The Save As file selection dialog appears for views. The Save As dialog allows you to specify the file to export the data to.

The Save button in the Save As dialog exports the data to the selected file.

The Cancel button in the Save As dialog cancels the export command and closes dialogs.

Data is exported in the CFX version 5 format. This format is not supported by some older versions of Flow-Cal. An upgrade may be available from

Flow-Cal to allow older versions to read this file format. Contact Flow-Cal for details.

Realflo User and Reference Manual

May 19, 2011

215

Realflo Expert Mode Reference

CSV Export Options Dialog

The CSV Export Options command defines whether optional data is exported to CSV files. The settings in this dialog apply to files opened by

Realflo. They are stored in the Windows registry.

The Hourly and Daily Records section of the dialog defines optional data to include and how the data is time stamped.

Select the Include Uncorrected Flow in AGA-7 Export option to export the Uncorrected Data column from the Hourly History Log and

Daily History Log. This option applies to AGA-7 only. The option is unchecked by default.

Select the Export in Time Leads Data Format option to export time stamps that mark the start of the period. Uncheck the option to export time stamps that mark the end of the period (Realflo format). This applies to the the Hourly History and Daily History only. The control is unchecked by default.

The Default File Name Format section defines the file name that is suggested by Realflo when data is exported. The names are combinations of the file name; Flow Computer ID; flow run number; and flow run ID.

The Format list selects the name format. The name is made up of the identifier format and a view format. The valid values for the identifier are listed below. The default is to include all information. o file name (Flow Computer ID) - Run# (run ID) - Type o file name (Flow Computer ID) - Run# - Type o file name (Flow Computer ID) - run ID - Type o file name - Run# (run ID) - Type o file name - Run# - Type o file name - run ID - Type o Flow Computer ID - Run# (run ID) - Type

Realflo User and Reference Manual

May 19, 2011

216

Realflo Expert Mode Reference o Flow Computer ID - Run# - Type o Flow Computer ID - run ID - Type o Run# (run ID) - Type o run ID - Type

When the logs are exported the word Type is replaced by the following, according to the export selected. o Alarms o Events o Hourly Log o Daily Log o Current Readings o Custom View Name

The Example control shows the file name that will be suggested for the current file.

Realflo User and Reference Manual

May 19, 2011

217

Realflo Expert Mode Reference

CFX Export Options Dialog

The CFX Export Options dialog sets options for exporting to Flow-Cal CFX files. The settings in this dialog apply to files opened by Realflo. They are stored in the Windows registry.

The Hourly History section defines how records from the hourly history are exported.

Select Export Partial Hour Records to export the records as they appear in Realflo. Some hours may contain more than one record due to power cycling or configuration changes. This is the default selection.

Select Export One Record per Hour to export only one record per hour. Multiple records within an hour are merged into a single record for exporting. Hours that are not yet complete are not merged or exported.

The following hourly record fields are summed: volume, mass, energy, pulses (turbine type).

Realflo User and Reference Manual

May 19, 2011

218

Realflo Expert Mode Reference

The following hourly record fields are averaged: termperature, static pressure, differential pressure (orifice types), relative density, flow product

or flow extension. See Input Averaging on page 948 for more information.

Select Time Leads Data Format to export the date and time at the start of the period. The time stamp on the record is the time at the start of the hour, even if the first record to be merged started later than that time.

This option is enabled only when Export One Record per Hour is checked. This option is unchecked by default.

The File Description section defines some descriptive parameters in the

CFX file.

Meter Number defines the meter number parameter. The options are

none, Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Computer ID. The parameter is 17 characters long in the file.

Meter Name defines the meter name parameter. The options are none,

Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Run ID. The parameter is 49 characters long in the file.

Serial Number defines the meter serial number parameter in the file.

The options are none, Flow Computer ID, Flow Run ID and Flow Run

Number. The default value is Flow Run Number. The parameter is 11 characters long in the file.

The Live Inputs Flags section defines which live input flags are set by

Realflo. The CFX file contains four flags in the Live Inputs parameter.

Realflo sets the T (temperature) flag to Y (live data). The other flags are normally set to N (not live), but can be modified using the following options.

Check Set Live Gas Composition Flag when there is a program that updates the gas composition. This is flag A (analysis). This option is unchecked by default.

Check Set Live Energy Flag when there is a program that updates the energy. This is flag B (heating value). This option is unchecked by default.

Check Set Live Gravity Flag when there is a program that updates the specific gravity (relative density). This is flag G (gravity). This option is unchecked by default.

The Default Name Format section defines what file names Realflo suggests when exporting. The names are combinations of the file name;

Flow Computer ID; flow run number; and flow run ID.

Format selects the name format. The valid values are listed below. The default is to include all information. o file name (Flow Computer ID) - Run# (run ID) o file name (Flow Computer ID) - Run# o file name (Flow Computer ID) - run ID o file name - Run# (run ID) o file name - Run# o file name - run ID o Flow Computer ID - Run# (run ID)

Realflo User and Reference Manual

May 19, 2011

219

Realflo Expert Mode Reference o Flow Computer ID - Run# o Flow Computer ID - run ID o Run# (run ID) o run ID

The Example control shows the file name that will be suggested for the current file.

The Dated CFX section defines where and how CFX files are exported.

Select Use .CFX extension on folder names to create folders with a

CFX extension when exporting Dated CFX files. The data for each month is stored in its own folder when using the Dated CFX format. The folder name may have a CFX extension or not. This option is unchecked by default.

Select Export Dated CFX Files to the Folder to define a common folder for exports. Exported data will be placed in this folder. The option is unchecked by default. When checked, the edit control holds the destination folder that will appear in the Save As dialog. Use Browse to search for another folder.

Export PEMEX Report to CSV

Use the Export PEMEX Report to CSV command to export the flow computer configuration data and the data from any view. Data is exported in the CSV (comma-separated values) format. This format can be read by spreadsheet and database software.

Data is exported from the current window. Select the window containing the view you wish to export or change the view in the current window using the

View menu.

When the Export command is selected, the Export PEMEX Report to CVS dialog appears for views that support the selection of records for exporting, such as the hourly history, daily history or event log views.

This menu item is only visible if Realflo PEMEMX is launched.

Select the Run to export from the Run dropdown list.

The Type radio button lets you export hourly or daily records.

Realflo User and Reference Manual

May 19, 2011

220

Realflo Expert Mode Reference

For views not supporting the selection of records, for example, Configuration views, the Save As dialog opens.

The All radio button selects all the data in the current view. This is the default button if no data is selected.

The Selected Dates radio button selects the data from the contract days in the From and To dropdown lists.

The From dropdown list lets you select the oldest contract day. This control is enabled when the Selected Dates radio button is selected.

The To dropdown list lets you select the recent contract day. This control is enabled when the Selected Dates radio button is selected.

Clicking the Cancel button or pressing the Escape key closes the dialog.

The OK button opens the Save As file selection dialog, with the file type

CSV active. A file name is suggested for each type of file that is exported.

Print Command

You may change the file name to any suitable name. The suggested file name format is defined in the CSV Export Options command.

The Save As file selection dialog appears for views. The Save As dialog allows you to specify the file to export the data to.

The Save button in the Save As dialog exports the data to the selected file.

The Cancel button in the Save As dialog cancels the export command and closes dialogs.

Use this command to print data from the current view. Realflo displays the

Print dialog. The following options allow you to specify the printer, the print range and the number of copies.

The Name drop-down list box displays a list of configured printers.

The Properties button defines the settings for the selected printer.

The Print range radio buttons selects the data to be printed.

Realflo User and Reference Manual

May 19, 2011

221

Realflo Expert Mode Reference

The All radio button prints all the data in the current view. This is the default button if no data is selected.

The Pages radio button allows the printing of selected pages.

The Selection radio button prints the data that is currently selected in the view. This is the default button if data is selected.

The Number of copies selection indicates how many copies to print.

If the printer selected in the Name box supports collating print jobs you may select Collate, otherwise the control is grayed out.

The OK button prints the report.

Selecting the Cancel button or pressing the Escape key closes the dialog.

Print Preview Command

Use this command to see how your printed report will look. The command opens a special view that shows data as it will be printed.

To preview a report from a view select the window containing the view you wish to print or change the view in the current window using selections from the View menu.

When hourly history, daily history or log views are selected you can select records to print that interest you by left-clicking the mouse button on them.

A row of control buttons is available at the top of this view. These control buttons are described below.

The Print button prints the report as shown.

The Next Page button displays the next page. It is grayed if there are no more pages.

The Prev Page button displays the previous page. It is grayed if there are no pages before the current page.

The Two Page button changes the display to show two pages at a time. The

One Page button changes the display to show one page at a time.

The Zoom In button enlarges the page displayed so you can see details on the report.

The Zoom Out button shrinks the page displayed so you see how the page is formatted.

The Close button closes the Print Preview view.

Print Setup Command

Use this command to define how reports are printed. The font, page headings, margins, and the size of the columns on the hourly history, daily history or event log reports can be changed. Select from the options described below.

The page headings section selects what is printed in the header of each report page.

Selecting Title prints the title of the report centered on the page.

Selecting Date and Time prints the date and time in the upper left-hand corner of the page. The date and time are printed in the long time format defined from the Windows Control Panel.

Realflo User and Reference Manual

May 19, 2011

222

Realflo Expert Mode Reference

Selecting Page Numbers prints “Page” and the page number in the upper right hand corner of the page. The Start At edit box selects where the page numbers start.

The Margins section defines the page margins.

Left is the size of the left-hand margin on the page.

Right is the size of the right hand margin on the page.

Top is the size of the top margin on the page.

Bottom is the size of the bottom margin on the page.

Measurement Units is the units of measurement for the margins. It is one of Inches or mm. The units are converted into the other measurement system when this control is changed.

The selected font section defines the font used for printing reports. The currently selected font is shown.

The Change Font button opens a font selection dialog. The user may choose the font for printing reports.

The column width section defines the widths of the columns on specific reports.

The Report dropdown list selects the report to edit.

The Column dropdown list displays columns on the selected report.

The Width edit box displays the current column width and allows it to be changed.

The Reset Report button resets columns on the current report to their default widths.

Select the OK button to use the new settings.

Select the Cancel button or press the Escape key to close the dialog.

The Printer button opens the Printer dialog.

The Help button displays help for this dialog.

Print Setup Command in PEMEX Mode

Use this command to define how reports are printed when Realflo is operating in PEMEX mode. The font, page headings, margins, and the size of the columns on the hourly history, daily history or event log reports can be changed. Select from the options described below.

The page headings section selects what is printed in the header of each report page.

Selecting Title prints the title of the report centered on the page.

Selecting Date and Time prints the date and time in the upper left-hand corner of the page. The date and time are printed in the long time format defined from the Windows Control Panel.

Selecting Page Numbers prints “Page” and the page number in the upper right hand corner of the page. The Start At edit box selects where the page numbers start.

The Margins section defines the page margins.

Realflo User and Reference Manual

May 19, 2011

223

Realflo Expert Mode Reference

Left is the size of the left-hand margin on the page.

Right is the size of the right hand margin on the page.

Top is the size of the top margin on the page.

Bottom is the size of the bottom margin on the page.

Measurement Units is the units of measurement for the margins. It is one of Inches or mm. The units are converted into the other measurement system when this control is changed.

The selected font section defines the font used for printing reports. The currently selected font is shown.

The Change Font button opens a font selection dialog. The user may choose the font for printing reports.

The column width section defines the widths of the columns on specific reports.

The Report dropdown list selects the report to edit.

The Column dropdown list displays columns on the selected report.

The Width edit box displays the current column width. To print a PEMEX

Report, the default column widths need to be:

Column Width

21 Start Time and date

(regional format)

End Time and date

(regional format)

21

10 Time with active flow

(seconds)

Volume (1 st

base condition)

Energy (1 st

base condition)

Temperature

Pressure

Differential pressure/Average frequency

Relative density

Flow extension/Uncorrected volume

Number of alarms

Number of events

Up time (minutes)

Volume (2 nd

base condition)

Heating value

12

18

12

14

12

16

12

5

5

5

12

12

Realflo User and Reference Manual

May 19, 2011

224

Recent Files List

Use the numbers and file names listed at the bottom of the File menu to open the last four files you closed. Choose the number that corresponds with the file you want to open.

Exit Command

Realflo Expert Mode Reference

Column

Quality

Width

5

The Reset Report button resets columns on the current report to the required default settings when operating in PEMEX mode.

Select the OK button to use the new settings.

Select the Cancel button or press the Escape key to close the dialog.

The Printer button opens the Printer dialog.

The Help button displays help for this dialog.

Use this command to exit from Realflo. If changes have been made to the flow computer file, you will be asked if you want to save them.

Realflo User and Reference Manual

May 19, 2011

225

Realflo Expert Mode Reference

Edit Menu

The edit menu commands allow selected data to be copied to the clipboard.

The selected data is then available for use in other applications.

Copy Command

Use this command to copy selected data onto the clipboard. This command is unavailable if the view does not contain data that can be selected.

Copying data to the clipboard replaces the contents previously stored there.

Select All Command

Use this command to select all the records in the current view. This command is unavailable if the view does not contain data that can be selected.

Custom Views Command

Custom views provide a means for users to display and modify register data used in their custom applications. Custom applications include Telepace or

IEC 61131-3 and custom C or C++ programs that are running on a controller in addition to the gas flow computer application. Any register the

SCADAPack controller may be added to one or more custom views.

The Custom Views command is used to create and edit custom views.

When Custom Views are created they are assigned an Access Level for security purposes. The access levels are based on the User Account

Access levels, described in the

Accounts

section. Based on the user

‟s access level, views may be viewed or edited and initial values may be written to the registers in the view.

When the Custom Views command is selected the Edit Custom Views dialog is displayed.

Realflo User and Reference Manual

May 19, 2011

226

Realflo Expert Mode Reference

The View Name list displays the views that are available to the current user.

Views that require a higher access level are not displayed. Refer to the

Accounts

section for more information on Access Levels. If there are no

views created the list is blank.

Click on a view in the list to select it.

Double-click on a view in the list to edit it.

Use Ctrl-click or Shift-click to select multiple views.

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

The buttons at the side of the Edit Custom Views dialog are used to create and edit Custom Views.

Click the Add button to open the Edit Table View dialog and add a new

Custom Views.

Click the Copy button to copy a selected Custom Views. The Edit Table

View dialog is opened with a copy of the selected view. This button is disabled if no view is selected or if multiple views are selected.

Click the Edit button to edit the selected Custom Views. The Edit Table

View dialog is opened and will contain the selected view. This button is disabled if no view is selected or if multiple views are selected.

Click the Delete button to delete the selected view or Custom Views.

The button is disabled if no view is selected. After deletion the next view in the list is selected, or the last view in the list is selected.

Realflo User and Reference Manual

May 19, 2011

227

Realflo Expert Mode Reference

The Update Rate edit box sets the rate, in seconds that data is polled from the flow computer to refresh the Custom Views. Valid values are 1 to 65535 seconds. The default value is 1 second.

The OK button saves changes to the Custom Views and closes the dialog.

The Cancel button closes the dialog without saving any changes to the

Custom Views.

Edit Table View Dialog

When the Edit button is selected, or a view is double clicked, in the Edit

Custom Views dialog the Edit Table View dialog is opened as shown below. The dialog contains information about the selected Custom Views.

The dialog contents are described below.

When the Add button is selected in the Edit Custom Views dialog the Edit

Table View dialog is opened as shown below. The dialog contents are described below.

Realflo User and Reference Manual

May 19, 2011

228

Realflo Expert Mode Reference

The View Name entry box contains the name of the Custom View. The View

Name may be any character string up to 16 characters in length. A view name needs to be entered and it needs to be unique.

The View Description entry box contains a description of the Custom View.

The View Description may be any character string up to 64 characters in length.

The Access Level Required dropdown menu selects the user account

access level required to display the Custom Views. See the

Accounts

section for details on creating Realflo user account. Users with a lower access level than selected will not be able to see the view on menus. The menu selections are:

View and read data.

View, read and write data.

Administrator.

Access levels that are greater than the current user's access level are not available. This prevents a user from creating a view that he will not be able to edit because his access level is too low. The default value is View and read data.

The Allow Sorting dropdown menu selects whether the user can change the sort order on the Custom View. The menu selections are:

Yes

No

The default value is Yes.

The Default Sort Column dropdown menu selects the default column by which the Custom View is sorted. The menu selections are:

Tag

Description

Realflo User and Reference Manual

May 19, 2011

229

Realflo Expert Mode Reference

Address

Value

Forced

Type

Format

Writeable

Initial Value

The default value is Tag.

The Edit Table View list control displays the register data that will be included in the custom view. The register data is for each entry is displayed as a row in the list with column headings across the top of the list.

Click on the column headings to sort the data by the heading. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

The address and initial value columns are sorted numerically. The tag, description, type, format, and writeable columns are sorted alphanumerically.

The list is sorted by address in ascending order when the dialog is opened.

Click on a row in the list to select it.

Double-click on a row in the list to open the Edit Register on View dialog.

Use Ctrl-click or Shift-click to select multiple rows.

The OK button saves the changes to the Custom View and closes the dialog.

The Cancel button closes the dialog without saving any changes to the

Custom View.

Click the Add button to open the Add Registers dialog. This dialog is used to add registers to the Custom View.

Click the Edit button to open the Edit Registers On View dialog. This button is disabled if no register is selected or multiple registers are selected.

Click the Delete button to delete the selected register or registers. The button is disabled if no register is selected. After deletion the next register in the list is selected, or the last register in the list is selected.

Click the Columns button to open the Columns dialog. This dialog is used to select the columns that will be displayed on the Custom View.

This command does not affect the columns displayed in the Edit Table

View dialog.

Realflo User and Reference Manual

May 19, 2011

230

Realflo Expert Mode Reference

Add Registers Dialog

When the Add button is clicked in the Edit Table View dialog the Add

Registers dialog is opened. The dialog contents are described below.

The Existing Registers on All Views list displays all registers that are defined in all views. The list displays all registers, even if they are already in the view. This allows adding them more than once with different format.

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order. The register column is sorted numerically. The tag column is sorted alphanumerically.

The list is sorted by register in ascending order when the dialog is opened.

The Registers to Add to Current View list displays registers that are to be added to the current view. Registers in the Registers to Add to Current View list are added to the current view when the OK button is clicked.

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order. The register column is sorted numerically. The tag column is sorted alphanumerically.

The list is sorted by register in ascending order when the dialog is opened.

Registers in both lists may be selected by clicking on a row in the list or by holding down the Ctrl button and clicking on a row to select or deselect multiple rows.

The Add>> button will add the selected registers from the Existing Registers on All Views list to the Registers to Add to Current View list. This button is disabled if no registers are selected in the Existing Registers on All Views list.

The Add Copy>> button is used to add a copy of the selected register from the Existing Registers on All Views list to the Registers to Add to Current

View list. When selected this button opens the Register Properties dialog.

Realflo User and Reference Manual

May 19, 2011

231

Realflo Expert Mode Reference

The button is disabled if no register is selected in the Existing Registers on

All Views list.

The New button adds a new register to the Registers to Add to Current View list. When the button is pressed the Register Properties dialog is opened.

The Copy button adds a copy of the selected registers from the Existing

Registers on All Views list to the Registers to Add to Current View list. When the button is pressed the Register Properties dialog is opened. This button is disabled if no registers are selected in the Existing Registers on All Views list.

The Delete button deletes the selected registers from the Registers to Add to Current View list. The button is disabled if no registers are selected in the

Registers to Add to Current View list. After deletion the next register in the list is selected, or the last register in the list is selected.

The OK button adds the registers to the view and closes the dialog.

Registers of type Boolean are added using the Boolean format. All other register types are added using the decimal format.

The Cancel button closes the dialog without saving any changes.

Register Properties Dialog

The Register Properties dialog is used to edit the properties of a register object. Register objects are shared by all views. Editing these properties will affect all views that use the object. For example, if the register number is changed here, then all views that used the object will show the data from the new register.

When the Add Copy>> button or the New button are selected in the Add

Registers dialog the Register Properties dialog is opened.

Realflo User and Reference Manual

May 19, 2011

232

Realflo Expert Mode Reference

The Tag entry box contains the tag name of the register. The Tag name may be any character string up to 16 characters in length. A tag name needs to be entered and it needs to be unique.

The Description entry box contains a description of the register. The

Description may be any character string up to 64 characters in length.

The Address entry box contains the address of the register to be displayed.

Valid entries are:

00001 to 09999;

10001 to 19999;

30001 to 39999;

40001 to 49999.

The Data Type dropdown menu selects the type of register. Valid selections are:

Boolean for address from 00001 to 09999 and from 10001 to 19999

Signed Integer for address from 30001 to 39999 and from 40001 to

49999

Unsigned Integer for address from 30001 to 39999 and from 40001 to

49999

Signed Double for address from 30001 to 39999 and from 40001 to

49999

Unsigned Double for address from 30001 to 39999 and from 40001 to

49999

Realflo User and Reference Manual

May 19, 2011

233

Realflo Expert Mode Reference

Floating Point for address from 30001 to 39999 and from 40001 to

49999

ISaGRAF Integer for address from 30001 to 39999 and from 40001 to

49999

The default value is Unsigned Integer.

The Deadband entry is the amount by which the register needs to change value before Custom Views are updated. Valid entries depend on the register type selected. This control is disabled if Data Type is set to boolean.

The following table shows the minimum and maximum values for each type of register.

Type

Signed Integer

Minimum Value Maximum Value

-32768 32767

Unsigned Integer 0

Signed Double -2147483648

Unsigned Double 0

Floating Point Any

ISaGRAF Integer -2147483648

65535

2147483647

4294967295

Any

2147483647

The Writeable dropdown menu selects whether the user can write to the register. Valid selections are Yes and No.

The Use Initial Value dropdown menu selects whether an initial value is defined for the register. Valid selections are Yes and No. This control is disabled if Writeable is set to no.

The Initial Value entry is the initial value for the register. Valid values depend on the register type as shown in the table below. This control is disabled if Use Initial Value is set to No or if Writeable is set to No.

Type Minimum Value Maximum Value

Boolean

Signed Integer

OFF

-32768

Unsigned Integer 0

Signed Double -2147483648

Unsigned Double 0

Floating Point Any

ISaGRAF Integer -2147483648

ON

32767

65535

2147483647

4294967295

Any

2147483647

The Labels section displays the defined labels for a register. Labels are used in Custom Views to display text in place of values. For example a label could be used for the On / Off status of a motor. When the status is On the label could display Running and when the status is Off the label could display Stopped. When labels are defined there needs to be at least two labels.

The Value column displays the register value for which a label will be displayed.

The Label column displays the text that will be displayed for a value.

Click on a row in the list to select it.

Double-click on a row in the list to open the Edit Label dialog.

Hold down Ctrl and click on a row to select or deselect multiple rows.

Realflo User and Reference Manual

May 19, 2011

234

Edit Label Dialog

Realflo Expert Mode Reference

The Add button is used to add a label to the list. When selected the Edit

Label dialog is opened.

The Edit button is used to edit the selected label in the list. When selected the Edit Label dialog is opened. This button is disabled if no label or more than one label is selected.

The Delete button deletes the selected labels. The button is disabled if no label is selected. After deletion the next label in the list is selected, or the last label in the list is selected.

The OK button saves the changes and closes the dialog.

The Cancel button closes the dialog without saving any changes.

When the Add or Edit button is selected in the Register Properties dialog the

Edit Label dialog is opened.

The Value entry is the register value for which a label will be displayed.

Valid entries depend on the register type as shown in the table below. The value needs to be unique for each label.

Type

Boolean

Minimum Value Maximum Value

OFF ON

Signed Integer -32768

Unsigned Integer 0

Signed Double -2147483648

Unsigned Double 0

Floating Point Any

ISaGRAF Integer -2147483648

32767

65535

2147483647

4294967295

Any

2147483647

The Label entry is the text that will be displayed for a register value. The

Label may be any character string up to 8 characters in length and needs to be unique.

The OK button saves the changes and closes the dialog.

The Cancel button closes the dialog without saving any changes

Edit Register on View Dialog

The Edit Register on View dialog is used to modify a register on a Custom

View. This dialog is displayed when the Edit button in the Edit Table View is selected.

Realflo User and Reference Manual

May 19, 2011

235

Realflo Expert Mode Reference

The Register dropdown menu selects the register object that is displayed on the view. The dropdown list displays defined registers by tag and register number.

The Format dropdown menu selects how the register object will be displayed on the view. Valid selections are listed below.

Boolean - displays the register value as a Boolean. If the value is 0 then

OFF is displayed. If the value is non-zero then ON is displayed.

Decimal - displays the register value in decimal (base 10).

Hexadecimal - displays the register value in hexadecimal (base 16).

Binary - displays the register value in binary (base 2).

ASCII - displays bytes of the register value as ASCII characters. The number of characters displayed depends on the register Type.

Label - displays labels in place of the register value. The labels are defined in the register properties. This selection is not available if labels are not defined for the register.

Bit 00, Bit 01, … , Bit 31 - displays the selected bit from the register as a Boolean. If the bit is 0 then OFF is displayed. If the bit is non-zero then

ON is displayed. I the register cannot be edited from the Table View if this format is selected. Valid values are Bit 00 to Bit 31 for 32-bit data types, and Bit 00 to Bit 15 for 16-bit data types.

Realflo User and Reference Manual

May 19, 2011

236

Columns Dialog

Realflo Expert Mode Reference

The default selection value is Decimal. Changing selection doesn‟t affect the display of Register Properties. The selection will be changed to Decimal if the previous selection is no longer valid after changing register or editing register properties.

The Register Properties displays the properties of the selected register.

The properties are updated when the Register is changed.

The OK button saves the changes and closes the dialog.

The Cancel button closes the dialog without saving any changes.

The Edit button is used to edit the register object properties. When selected the Register Properties dialog is opened.

The Columns dialog is used to define the columns displayed on the Table view and the Edit Register dialog. This does not affect the columns shown in the Edit Table View dialog.

The columns to be displayed can be defined for each Access Level so different users see different information. Select the column to show it on in the Table view. Columns are enabled by default when a view is created.

Tag - selects if the register tag is shown.

Description - selects if the description is shown.

Address - selects if the register address is shown.

Value - selects if the register value is shown.

Forced - selects if the force status is shown.

Type - selects if the register type is shown.

Format - selects if the display format is shown.

Writeable - selects if the writeable status is shown.

Initial Value - selects if the initial value is shown.

Realflo User and Reference Manual

May 19, 2011

237

Realflo Expert Mode Reference

Custom View Window

The Custom View window displays the registers for a custom view in a tabular format. Each row in the table displays one register.

Editing Data

The Custom View window displays the following columns. Some columns may not appear if they are not enabled on the view.

The Tag column displays the name of the register.

The Description column displays the description of the register.

The Address column displays the register address.

The Value column displays the value of the register in the format defined for the view. If the Label format is selected and the value is not in the label list then Invalid (value) is displayed. If data is not available value shows ----.

The Forced column displays if the register value is forced. If data is not available forced shows ----.

The Type column displays the type of register.

The Format column displays the format of the value.

The Writeable column displays if the user can write to the register. A register is not writeable if the Format is set to Bit.

The Initial Value column displays the initial value for the register if one is defined, or ---- if a value is not defined.

Clicking on the column headings will sort the table, in ascending order, according to the column selected. Clicking subsequent times on the same column toggles the sort order between descending and ascending order.

Click on any row to select it. Hold down Shift and click on any row to select the range from the currently selected row to the new row. Hold down Ctrl key and click on any row to toggle the selection of that row.

To change the column width, position the cursor over the line separating the columns in the heading. The cursor changes to a vertical bar with arrows pointing left and right. Click on the line and slide the mouse left or right.

Release the mouse button when the column is the desired width.

Use the Flow Computer menu commands Update Readings or Update

Readings Once to poll the flow computer for the value and force status of registers.

There are several ways to edit registers and data in a Custom View.

Select a row and, from the Edit menu, choose the Register command to open the Edit Register Value dialog.

Double-click on a row open the Edit Register Value dialog.

Realflo User and Reference Manual

May 19, 2011

238

Realflo Expert Mode Reference

Select a row and press the Enter key to open the Edit Register Value dialog.

The above commands are disabled if the Writeable parameter of the register is set to No, if the display format is set to Bit or if the Update

Readings is not enabled.

Printing and Exporting Data

To print or export part of the data in the Custom View, select the desired rows then use the Print or Export function.

Register Command

The Register command is used to modify the value or force status of a selected register in a Custom View. This command is disabled if the Update

Readings command is turned off. When this command is selected the Edit

Register Value dialog is opened.

The dialog appears as follows for the decimal, ASCII, hexadecimal, binary and BIT formats.

The dialog appears as follows for the Boolean, and Label formats.

The Value field is the register value for decimal, ASCII, hexadecimal, binary and BIT formats. For Boolean and Label formats a dropdown menu is used to select the Value.

Realflo User and Reference Manual

May 19, 2011

239

Realflo Expert Mode Reference

Valid values depend on the register type as shown in the table below. Value initially shows the current value of the register in the format defined for the view. If the Label format is selected and the value is not in the label list then

Invalid (value) is displayed.

Type Minimum Value Maximum Value

Boolean

Signed Integer

OFF

-32768

Unsigned Integer 0

Signed Double -2147483648

Unsigned Double 0

Floating Point Any

ISaGRAF Integer -2147483648

ON

32767

65535

2147483647

4294967295

Any

2147483647

Double register variables like counters use the Unsigned Double type with

Telepace firmware and use the ISaGRAF integer type with ISaGRAF firmware.

The Forced dropdown menu selects if the register value is forced. The selections are Yes or No.

The Register, Tag, Description, Type, and Format fields display information about the register. These fields cannot be changed. Data is displayed only if the corresponding column appears in the Table View; otherwise the field is blank.

The OK button writes the value and force status to the flow computer and closes the dialog.

The Cancel button closes the dialog without any changes.

The Initial Value button sets Value to the initial value defined for the register. This button is disabled if no initial value is defined.

The Apply button writes the value and force status to the flow computer.

Write Initial Values Command

The Write Initial Values command is used to write initial values for all

Custom Views or for selected Custom Views. This command is disabled if the Update Readings command is turned off. When this command is selected the Write Initial Values dialog is opened.

Realflo User and Reference Manual

May 19, 2011

240

Realflo Expert Mode Reference

The All Views selection will write initial values to registers for all defined views. Registers with an initial value are written.

The Selected Views writes initial values to registers on the selected views only. All registers with an initial value on the selected views are written.

Click on a row in the list to select it.

Hold down Ctrl and click on a row to select or deselect multiple rows.

Hold down Shift and click on a row to select a range of rows.

The OK button writes the initial values and closes the dialog.

The Cancel button closes the dialog with no changes.

Template Steps

This command is available only when a template file is opened in Realflo. A template is used to create a new flow computer from a pre-set configuration.

The template specifies what data is pre-set and what needs to be entered when the template is used.

History, event, or alarm logs are not stored in templates. A history view can be opened in a template file, but it will be empty. This allows views to be arranged when the template is edited. The view arrangement is stored in the template.

Creating a Template File

Realflo can save a configuration as a template file for new flow computers.

New flow computer files can then be created from a template using the New

File wizard.

To create a template file:

Realflo User and Reference Manual

May 19, 2011

241

Realflo Expert Mode Reference

Open a Realflo configuration file (TFC) and use the Save As command to save the file as a Realflo Template (RTC).

Selecting Template Steps

When the Template Steps command is selected the Show Template Steps dialog is displayed as shown below. A template provides default data for many of the steps in a new file wizard. To make it easier to use a template, some steps in the New File wizard may be skipped. These steps can be configured for each flow computer template.

All template steps are selected by default. To configure the steps shown for a template:

Check the steps that should be displayed. Checking or a node automatically selects all the steps within that node.

Click OK.

Realflo User and Reference Manual

May 19, 2011

242

Realflo Expert Mode Reference

View Menu

The view menu commands select the data that is displayed in the active window. This data includes current readings, hourly history, daily history, event and alarm Logs. Each record in the displayed data file is generated in response to a predefined trigger. Refer to the section for each data file for details on the list of triggers.

The visibility of the Toolbar and Status Bar is controlled from the view menu.

Current Readings Command

Use this command to display the Current Readings view for the selected run. This view displays current measured and calculated values from the flow computer. The current readings view will appear differently depending on the run configuration. The dialog is a property sheet with tabs for each flow run configured in the flow computer. Click the Run1 tab to display run 1,

Run 2 to display run2, and so on.

The view is divided into five sections that are described below:

Process Measurements

This section displays the live and forced values for the flow calculation process inputs. The live values show the value read from the sensor. The forced values show the inputs to the flow calculation when they are forced.

The forced values are disabled when the input is live. The forced values are shown in red when the value is forced.

The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

Process measurements not used by the flow calculation are disabled.

Forced values are not displayed for Flow Computers older than 6.0.

Calculated Compressibility

This section displays the results of the compressibility calculation selected in the Input Configuration property page. The time of the last compressibility calculation update and any compressibility calculation errors are also

Realflo User and Reference Manual

May 19, 2011

243

Realflo Expert Mode Reference displayed in this section. The units of measurement displayed are those in

effect when the readings were made (see

Measurement Units

for a full

description of the unit types).

Calculation Status

The Calculation Status section displays the Calculation State of the flow computer calculations for the run. Refer to the Calculation Control command in the Flow Computer menu for further information on flow calculation control.

The Calculation State Start and Stop button is disabled for users who have a read and view privileges account.

The Calculation State can be changed using the start or stop button beside the Calculation State display.

When the Current Readings are being updated and the calculation is

stopped or not set then the button is labeled Start.

When the Current Readings are being updated and the calculation is

running then the button is labeled Stop.

When the Current Readings are not being updated the button is disabled and no text is displayed on it.

Click on the button to change the Calculation State.

If the calculations are stopped the following message box is displayed.

If Yes is selected the flow calculations for the run are started.

If No is selected the message box is closed and no further action is taken.

If the calculations are running the following message box is displayed.

If Yes is selected the flow calculations for the run are stopped.

If No is selected the message box is closed and no further action is taken.

The Last Flow Configuration displays the time stamp of the last time the flow configuration was changed.

The Last Density Configuration displays the time stamp of the last time the compressibility configuration was changed.

Realflo User and Reference Manual

May 19, 2011

244

Realflo Expert Mode Reference

The Last Flow Configuration and Last Density Configuration values are not displayed for flow computers older than 6.0.

Pulse Input Volume

This section displays pulse and accumulated flow volumes for the onboard counter of a SolarPack 410. This section applies only to the SolarPack 410 system.

Data displayed is as follows:

Pulses: Raw instantaneous pulse count

Today: An accumulation of today‟s total.

Yesterday: An accumulation of yesterday‟s total.

This Month: An accumulation of the totals for this month.

Last Month: An accumulation of the totals for last month.

Total: A running total volume since the beginning of this operation.

Volumes are listed in the unit selected when configuring the Pulse Input.

Calculated Flow at Base Condition

The Calculated Flow displays the instantaneous Flow Mass Rate, Standard

Flow Volume Rate, Flow Energy Rate, Flow Product, Time of last update, and Input and Flow Calculation Status. The Flow Extension is displayed when the run is configured for AGA-3 (1990) calculations. The Flow Product is displayed when the run is configured for AGA-3 (1990) calculations. The time of the last flow calculation and input and flow calculation status are also displayed. The units of measurement displayed are those in effect when the

readings were made. See

Measurement Units

for a description of the unit types.

Calculated Flow (PEMEX)

The Calculated Flow displays the instantaneous Flow Volume Rate,

Standard Flow Volume Rate, Flow Energy Rate, Flow Product, Time of last update, and Input and Flow Calculation Status. The Flow Extension is displayed when the run is configured for AGA-3 (1990) calculations. The

Flow Product is displayed when the run is configured for AGA-3 (1990) calculations. The time of the last flow calculation and input and flow calculation status are also displayed. The units of measurement displayed

are those in effect when the readings were made. See

Measurement Units

for a description of the unit types.

Accumulated Flow Base Conditions

The Accumulated Flow section displays the flow volume for the current contract day (Today) and the previous contract day (Yesterday). Data is copied from the current contract day (Today) to the previous contract day

(Yesterday) at the end of the contract day, as measured by the real time clock. Data is not copied when a new day is started for other reasons. It also displays the standard flow volume, flow energy, the number of flow calculations. The units of measurement displayed are those in effect when

the readings were made. See

Measurement Units

for a description of the unit types.

Realflo User and Reference Manual

May 19, 2011

245

Realflo Expert Mode Reference

This section also displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

Accumulated Flow (PEMEX)

The Accumulated Flow section displays the PEMEX flow volume for the current contract day (Today) and the previous contract day (Yesterday).

Data is copied from the current contract day (Today) to the previous contract day (Yesterday) at the end of the contract day, as measured by the real time clock. Data is not copied when a new day is started for other reasons. It also displays the standard flow volume, flow energy, the number of flow calculations. The units of measurement displayed are those in effect when

the readings were made. See

Measurement Units

for a full description of the unit types.

This section also displays the accumulated flow volume and flow time for the current month and the previous month. Data is copied from the current month (This Month) to the previous month (Last Month) at the end of the contract day at the end of the month, as measured by the real time clock.

Accumulated Uncorrected Flow

The Accumulated Uncorrected Flow section displays the total calculated uncorrected flow volume (AGA-7 only) for the current contract day, the previous contract day, the current month and the last month.

The view is updated according to the status of the Update Readings selection in the Maintenance menu.

Battery Charger

This section applies only to the SolarPack 410.

The Battery Status indicates the current state of the solar panel charger.

The Temperature Sensor indicates the status of the battery charger temperature sensor.

Hourly History Command

Use this command to display the Hourly History view or the Hourly Gas

Quality History view for the selected run.

Hourly History View

Select Hourly History from the View menu to view the Hourly History table.

This view shows a table of flow measurements. Each row in the table represents one period (nominally one hour) of flow history.

Data in this view is updated when Hourly History is read from the controller when you click Read Logs and History.

The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a description of the unit types.

New Hour Triggers

Realflo User and Reference Manual

May 19, 2011

246

Realflo Expert Mode Reference

A break in the hourly log is made when new hour is triggered. When a new hour is triggered the current hourly record is closed and a new hourly record is created.

A new record is created and added to the hourly history when any of the following triggers occur:

Power on.

At the end of each hour.

When the clock is changed to a new time that is within the current day.

AGA-3 (1985 or 1992) configuration change.

V-Cone configuration change.

AGA-8 configuration change. An AGA-8 configuration change does not start a new hour if the flow computer is set to ignore gas quality changes.

NX-19 configuration change.

Flow calculation stopped. (Stopping calculations ends the current hour.

Starting calculations starts the new hour).

Any of the items marked with an asterisk under the Input Configuration is changed.

Contract configuration change, all parameters except the Wet Gas

Meter factor for versions 6.21 and newer.

Realflo Standard and GOST Modes Hourly History Views

The columns in the tables are listed below. Some columns are not used for some types of flow calculation.

The Start Time column displays the date and time of the start of the period.

For flow computers using earlier versions of Realflo, Realflo will display ``---

`` in the Start Time column. For flow computers using Realflo 6.70 or higher,

Realflo will display the start time for the period.

The End Time column displays the date and time of the end of the period.

The Flow Time column displays the time of flow, in seconds, for the period.

The Volume column displays the corrected flow volume at standard conditions for the period.

The Mass column displays the calculated flow mass for the period.

The Energy column displays the calculated flow energy for the period based on real heating value.

The Temperature column displays the average temperature in the period.

When the Flow Time is zero, the value will be the average temperature for the entire hour or hour fragment.

The Pressure column displays the average pressure in the period. When the Flow Time is zero, the value will be the average pressure for the entire hour or hour fragment.

The Differential Pressure column displays the average differential pressure in the period.

Realflo User and Reference Manual

May 19, 2011

247

Realflo Expert Mode Reference

The Meter Pulses column displays the number of meter pulses in the period

(AGA-7 only).

The Relative Density column displays the average relative density value for the period.

The Flow Extension column displays the average flow extension value for the period. The flow extension is calculated based on the AGA-3 calculation being used:

For AGA-3 (1985)

Flow Extension = square root of the Flow Product

Where

Flow Product = Upstream Static Pressure * Differential Pressure

For AGA-3 (1992)

Flow Extension = square root of the Flow Product

Where

Flow Product = Density of the fluid at flowing conditions * Differential

Pressure

The Uncorrected Volume column displays the calculated uncorrected flow volume for the period (AGA-7 only).

The Events column displays the number of Events if there are events in the

Event Log within the period. Zero is displayed if there are no Events within the period.

The Alarms column displays the number of Alarms if there are Alarms in the

Alarm Log within the period. Zero is displayed if there are no Alarms within the period.

For flow computers earlier than version 6.70, the events and alarms displayed will be calculated the number of events based on the event log.

For flow computers version 6.70 or higher, Realflo will read the value from the flow computer.

Realflo PEMEX Mode Hourly History View

The columns for PEMEX are listed below.

The Start Time column displays the date and time of the start of the period.

See section Historic Record Format for information on the units used in

the Daily History table.

For flow computers using earlier versions of Realflo, Realflo will display ``---

`` in the Start Time column. For flow computers using Realflo 6.70 or higher,

Realflo will display the start time for the period.

The End Time column displays the date and time of the end of the period.

The Flow Time column displays the time of flow, in seconds, for the period.

The Volume column displays the corrected flow volume at standard conditions for the period.

The Volume PEMEX column displays the corrected flow volume at secondary conditions for the period.

Realflo User and Reference Manual

May 19, 2011

248

Realflo Expert Mode Reference

The Energy column displays the calculated flow energy for the period based on real heating value.

The Temperature column displays the average temperature in the period.

When the Flow Time is zero, the value will be the average temperature for the entire hour or hour fragment.

The Pressure column displays the average pressure in the period. When the Flow Time is zero, the value will be the average pressure for the entire hour or hour fragment.

The Differential Pressure column displays the average differential pressure in the period.

The Meter Pulses column displays the number of meter pulses in the period

(AGA-7 only).

The Relative Density column displays the average relative density value for the period.

The Flow Extension column displays the average flow extension value for the period. The flow extension is calculated based on the AGA-3 calculation being used:

For AGA-3 (1985)

Flow Extension = square root of the Flow Product

Where

Flow Product = Upstream Static Pressure * Differential Pressure

For AGA-3 (1992)

Flow Extension = square root of the Flow Product

Where

Flow Product = Density of the fluid at flowing conditions * Differential

Pressure

The Uncorrected Volume column displays the calculated uncorrected flow volume (for the period (AGA-7 only).

The Events column displays Events if there are events in the Event Log within the period. None is displayed if there are no Events within the period.

The Alarms column displays Alarms if there are Alarms in the Alarm Log within the period. None is displayed if there are no Alarms within the period.

For flow computers earlier than version 6.70, the events and alarms displayed will be calculated the number of events based on the event log.

For flow computers version 6.70 or higher, Realflo will read the value from the flow computer.

The Up Time column displays the time of flow in minutes for the day.

The Heating value column displays average heating value for the period.

The Quality column indicates if there are alarms during the period. It shows

1 if alarms occurred and 0 if no alarms occurred.

Daily History Command

Select Daily History from the View menu to view the Daily History table.

Realflo User and Reference Manual

May 19, 2011

249

Realflo Expert Mode Reference

Use this command to display the Daily History view for the selected run.

This view shows a table of flow measurements. Each row in the table represents one period (nominally one day) of flow history.

Data in this view is updated when Daily History is read from the flow computer with the Read Logs and History command.

The units of measurement displayed are those in effect when the readings were made. See Measurement Units for a full description of the unit types.

New Day Triggers

A new record is added to the daily history when any of the following triggers occur:

Power on ( when contract hour passed while power was off);

Time passed contract hour;

Real time clock changed outside contract day;

Change in input configuration of these parameters: o Flow calculation type o Compressibility calculation type

Contract configuration change

All parameters except the Wet Gas Meter factor for versions 6.21 and newer.

Realflo Standard and GOST Modes Daily History Views

The Daily History table contains the following information, divided into columns in the table. The columns in the table are listed below. Some columns are not used for some types of flow calculation.

The Start Time column displays the date and time of the start of the period.

For flow computers using earlier versions of Realflo, Realflo will display ``---

`` in the Start Time column. For flow computers using Realflo 6.70 or higher,

Realflo will display the start time for the period.

The End Time column displays the date and time of the end of the period.

The Flow Time column displays the time of flow, in seconds, in the period.

The Volume column displays the corrected flow volume at standard conditions for the period.

The Mass column displays the calculated flow mass for the period.

The Energy column displays the calculated flow energy for the period based on real heating value.

The Temperature column displays the average temperature in the period.

The Pressure column displays the average pressure in the period.

The Differential Pressure column displays the average differential pressure in the period.

The Meter Pulses column displays the number of meter pulses in the period

(AGA-7 only).

The Relative Density column displays the average relative density value for the period.

Realflo User and Reference Manual

May 19, 2011

250

Realflo Expert Mode Reference

The Flow Extension column displays the average flow extension value for the period. The flow extension is calculated based on the AGA-3 calculation being used:

For AGA-3 (1985)

Flow Extension = square root of the Flow Product

Where

Flow Product = Upstream Static Pressure * Differential Pressure

For AGA-3 (1992)

Flow Extension = square root of the Flow Product

Where

Flow Product = Density of the fluid at flowing conditions * Differential

Pressure

The Uncorrected Volume column displays the calculated uncorrected flow volume for the period (AGA-7 only).

The Events column displays the number of Events if there are events in the

Event Log within the period. Zero is displayed if there are no Events within the period.

The Alarms column displays number of Alarms if there are Alarms in the

Alarm Log within the period. Zero is displayed if there are no Alarms within the period.

For flow computers earlier than version 6.70, the events and alarms displayed will be calculated the number of events based on the event log.

For flow computers version 6.70 or higher, Realflo will read the value from the flow computer.

Realflo PEMEX Mode Daily History View

The PEMEX mode Daily History table contains the following information, divided into columns in the table. The columns in the table are listed below.

Not all columns are used for all types of flow calculation.

See section Historic Record Format for information on the units used in

the Daily History table.

The Start Time column displays the date and time of the start of the period.

For flow computers using earlier versions of Realflo, Realflo will display ``---

`` in the Start Time column. For flow computers using Realflo 6.70 or higher,

Realflo will display the start time for the period.

The End Time column displays the date and time of the end of the period.

The Flow Time column displays the time of flow, in seconds, in the period.

The Volume column displays the corrected flow volume at standard conditions for the period.

The Volume PEMEX column displays the corrected flow volume at secondary conditions for the period.

The Energy column displays the calculated flow energy for the period based on real heating value.

The Temperature column displays the average temperature in the period.

Realflo User and Reference Manual

May 19, 2011

251

Realflo Expert Mode Reference

The Pressure column displays the average pressure in the period.

The Differential Pressure column displays the average differential pressure in the period.

The Meter Pulses column displays the number of meter pulses in the period

(AGA-7 only).

The Relative Density column displays the average relative density value for the period.

The Flow Extension column displays the average flow extension value for the period. The flow extension is calculated based on the AGA-3 calculation being used:

For AGA-3 (1985)

Flow Extension = square root of the Flow Product

Where

Flow Product = Upstream Static Pressure * Differential Pressure

For AGA-3 (1992)

Flow Extension = square root of the Flow Product

Where

Flow Product = Density of the fluid at flowing conditions * Differential

Pressure

The Uncorrected Volume column displays the calculated uncorrected flow volume for the period (AGA-7 only).

The Heating value column displays average heating value for the period.

The Events column displays the number of Events if there are events in the

Event Log within the period. Zero is displayed if there are no Events within the period.

The Alarms column displays number of Alarms if there are Alarms in the

Alarm Log within the period. Zero is displayed if there are no Alarms within the period.

For flow computers earlier than version 6.70, the events and alarms displayed will be calculated the number of events based on the event log.

For flow computers version 6.70 or higher, Realflo will read the value from the flow computer.

The Quality column indicates if there are alarms during the period. It shows

1 if alarms occurred and 0 if no alarms occurred.

The Up Time column displays the time of flow in minutes for the day.

Hourly Gas Quality History Command

Use this command to display the accumulated gas component values for the period since the previous gas composition message or the beginning of the hourly record (whichever has the later time stamp). At the end of the period, a maximum one hour, the average gas component values are calculated.

Select Hourly Gas Quality History from the View menu to view the

Hourly Gas Quality History table.

Realflo User and Reference Manual

May 19, 2011

252

Realflo Expert Mode Reference

This view shows a table of gas quality average values. Each row in the table represents one period (nominally one hour) of gas quality history.

Data in this view is updated when Hourly Gas Quality History is read from the controller when you click Read Logs and History.

New Hour Triggers

A break in the hourly log is made when new hour is triggered. When a new hour is triggered the current hourly record is closed and a new hourly record is created.

A new record is added to the hourly gas quality history when any of the following triggers occur:

Power on.

Time passed end of hour.

When the clock is changed to a new time that is within the current day.

V-Cone configuration change.

AGA-8 configuration change. An AGA-8 configuration change does not start a new hour if the flow computer is set to ignore gas quality changes.

AGA-7 configuration change.

AGA-385 configuration change.

AGA-392 configuration change.

Flow calculation stopped. (Stopping calculations ends the current hour.

Starting calculations starts the new hour.)

Change to input configuration.

Change to contract configuration.

Start calculations (stopping calculations ends the current hour, starting calculations starts the new hour).

Hourly Gas Quality History View

The columns in the table are listed below.

Gas Quality History Columns

The Start Time column displays the date and time of the start of the period.

The End Time column displays the date and time of the end of the period.

The Operational Time column displays the value, in seconds, how long the meter run was running during the period.

The Methane column displays the average percentage of methane in the gas composition for the period.

The Nitrogen column displays the percentage of nitrogen in the gas composition for the period.

The Carbon Dioxide column displays the average percentage of carbon dioxide in the gas composition for the period.

The Ethane column displays the average percentage of ethane in the gas composition for the period.

Realflo User and Reference Manual

May 19, 2011

253

Realflo Expert Mode Reference

The Propane column displays the average percentage of propane in the gas composition for the period.

The Water column displays the average percentage of water in gas composition for the period.

The Hydrogen Sulphide column displays the average percentage of hydrogen sulphide in the gas composition for the period.

The Hydrogen column displays the average percentage of hydrogen in the gas composition for the period.

The Carbon Monoxide column displays the average percentage of carbon monoxide in the gas composition for the period.

The Oxygen column displays the average percentage of oxygene in the gas composition for the period.

The i-Butane column displays the average percentage of i-Butane in the gas composition for the period.

The n-Butane column displays the average percentage of n-Butane in the gas composition for the period.

The i-Petane column displays the average percentage of i-Petane in the gas composition for the period.

The n-Petane column displays the average percentage of n-Petane in the gas composition for the period.

The n-Hexane column displays the average percentage of n-Hexane in the gas composition for the period.

The n-Heptane column displays the average percentage of n-Heptane in the gas composition for the period.

The n-Octane column displays the average percentage of n-Octane in the gas composition e for the period.

The n-Nonane column displays the average percentage of n-Nonane in the gas composition for the period.

The n-Decane column displays the average percentage of n-Decane in the gas composition for the period.

The Helium column displays the average percentage of helium in gas composition for the period.

The Argon column displays the average percentage of argon in the gas composition for the period.

The Relative Density column displays the average relative density value for the period.

The Heating Value column displays the average heating value in

BTU(60)/ft

3

of the gas composition for the period.

The HexanesPlus column displays the average percentage of hexaneplus in gas composition for the period.

Event Log Command

Use this command to display the Event Log view for the selected run. This view displays the event log from the flow computer. The view is a table, with

Realflo User and Reference Manual

May 19, 2011

254

Realflo Expert Mode Reference each row in the table representing one event, that being, a Realflo configuration change.

Events are numbered sequentially from 1 to 65535, with automatic rollover allowing for verification that events have been duly recorded when reviewing event history.

Data in this view is updated when Event Log is read from the flow computer with the Read Logs/History from Controller command. Data in this view is also updated when hourly history is read from the controller with the Read

Logs/History command from the Flow Computer menu. To delete the events read from the log in the flow computer, select Just Read New

Events.

If the events in the log are not purged and the event log fills with 700 events, the oldest events are lost and the lost event counter is incremented. Events are numbered sequentially from 1 to 65535, with automatic rollover allowing for verification that events have been duly recorded when reviewing alarm history.

Each event in the log contains the following information, divided into columns in the table.

The Time column displays the date and time of the event in the short format defined from the Windows Control Panel.

The Event Number column displays the unique event number for the event (module 65536) as read from the flow computer.

The Event ID column displays the code identifying the event.

The Event Type column displays the description of the Event ID code.

The New Value column displays the new data associated with the event. If a configuration parameter was changed, for example, the new value of the parameter is displayed.

The Previous Value column displays the previous data associated with the event. If a configuration parameter was changed, for example, the previous value of the parameter is displayed. Some events don‟t record a previous value. In that case a value of 0 is displayed.

The userID column displays the code identifying the user that caused the event.

The User Name column displays the account name of the user that caused the event.

Alarm Log Command

Use this command to display the Alarm Log view for the selected run. This view displays the alarm log from the flow computer. The view is a table, with each row in the table representing one alarm, that being, a dynamic change that affects the outcome of the calculations, for example, if communications are lost between the flow computer and sensor.

Alarms are numbered sequentially from 1 to 65535, with automatic rollover allowing for verification that alarms have been duly recorded when reviewing alarm history.

Data in this view is updated when Alarm Log is read from the flow computer with the Read Logs/History from Controller command. Data in this view is also updated when hourly history is read from the flow computer with the

Realflo User and Reference Manual

May 19, 2011

255

Realflo Expert Mode Reference

Read Logs/History command. To delete the alarms read from the log in the flow computer, select Just Read New Alarms.

If the alarms in the log are not acknowledged and the alarm log fills with 300 alarms, the oldest alarms are lost and the lost alarm counter is incremented.

Alarms are numbered sequentially from 1 to 65535, with automatic rollover allowing for verification that all alarms have been duly recorded when reviewing alarm history.

Each alarm in the log contains the following information, divided into columns in the table.

The Time column displays the date and time of the alarm in the short format defined from the Windows Control Panel.

The Alarm Number column displays the unique alarm number for the event (module 65536) as read from the flow computer.

The Alarm ID column displays the code identifying the alarm.

The Alarm Type column displays the description of alarm.

The New Value column displays the new data associated with the alarm.

The Previous Value column displays the previous data associated with the alarm.

Some alarms don‟t include a previous value. In that case a value of 0 is displayed.

The userID column displays the code identifying the user that caused the alarm.

The User Name column displays the account name of the user that caused the alarm.

More Views Command

Use these commands to change the Custom View. The view type is not changed. If the Change All Views option is selected, opened views are changed to the selected Custom View. Otherwise, only the current view is changed. When more than nine custom views are available the More Views command is enabled.

The Custom Views displayed will depend on the number of custom views created. The Custom Views displayed will have the format:

1 Custom View

2 Custom View

3 Custom View

4 Custom View

5 Custom View

6 Custom View

7 Custom View

8 Custom View

9 Custom View

More Views

When the More Views command is selected the Select Custom View dialog is opened.

The Select Custom View dialog displays a list of custom views. The list shows the views that are available to the current user. Views that require a

Realflo User and Reference Manual

May 19, 2011

256

Realflo Expert Mode Reference higher access level are not shown. Refer to the Accounts section for more information on Access Levels.

The views are sorted in alphabetical order.

Click on a view in the list to select it. Double click on a view in the list to show the selected view in the current window and close the dialog.

The OK button shows the selected view in the current window and closes the dialog.

The Cancel button closes the dialog

Run 1 . . . Run 10 Commands

Use these commands to change the run being viewed to the selected run.

The view type is not changed. If the Change All Views option is selected, opened views are changed to the selected run. Otherwise, only the current view is changed.

The Runs displayed are:

Run 1

Run 2

Run 3

Run 4

Run 5

Run 6

Run 7

Run 8

Run 9

Run 10

Commands for runs that are not enabled in the current file are grayed.

Realflo User and Reference Manual

May 19, 2011

257

Realflo Expert Mode Reference

Change All Views Command

Use this command to select if all views are affected by the Run commands, or if only the current view is affected. A checkmark appears to the left of the item if all views are selected.

Modifying History and Log Views

The history and log view tables may be modified using the following options.

Sorting Data

Clicking on the column headings will sort the table, in ascending order, according to the column selected. Click on the same column heading again to toggle the sort order from ascending to descending order.

Sizing Columns

Positioning the cursor over the line separating the columns in the heading can change the column widths. The cursor changes to a vertical bar with arrows pointing left and right. Click on the line then slide the mouse left or right. Release the mouse button when the column is the desired width.

Selecting Data

Click on any row to select it. Hold down Shift and click on any row to select the range from the currently selected row to the new row. Hold down Ctrl and click on any row to toggle the selection of that row.

Printing and Exporting Data

To print or export part of the data, select the desired rows then use the Print or Export function.

Toolbar Command

Use this command to display and hide the toolbars, which includes buttons for some of the common commands in Realflo. A check mark appears next

to the menu item when the toolbar is displayed. See the Standard Toolbar

section for help on using the toolbar.

Status Bar Command

Use this command to display and hide the Status Bar. The Status bar appears at the bottom of the main window. It displays information about the command selected and other status information. A check mark appears next

to the menu item when the Status Bar is displayed. See

Status Bar

section

for help on using the status bar.

Maintenance Mode

Use this command to switch to the Maintenance Mode screen in Realflo.

Click the Maintenance Mode command to switch to Maintenance

Mode.

Start in Expert Mode

Realflo starts in maintenance mode by default. Advanced users can select to have Realflo start in expert mode.

Click the Start in Expert Mode command to have Realflo start with the

Expert Mode window opened.

Realflo User and Reference Manual

May 19, 2011

258

Realflo Expert Mode Reference

A check mark is displayed beside the Start in Expert Mode command indicating the selection.

Realflo User and Reference Manual

May 19, 2011

259

Realflo Expert Mode Reference

Configuration Menu

Replace Flow Computer

The Replace Flow Computer command enables users to replace the flow computer. This is typically required only when a new version of flow computer is available.

When selected, the command starts the Replace Flow Computer wizard to

guide you through the steps to replace the flow computer (see the

Replace

Flow Computer Wizard

section).

Collect Logs and Flow History

This step selects whether the logs and flow history are read before replacing the flow computer program and if the new flow computer is initialized with the logs and flow history from the current flow computer.

The first question, Do you want to collect the flow history and logs?

Determines if the flow history and logs are to be read from the current flow computer before it is replaced.

Select Yes to collect the logs and flow history. This is the default selection.

Select No to discard the uncollected logs and flow history.

The second question, Do you want to initialize new Flow Computer with

history values from the current Flow Computer? Selects whether the new flow computer will be initialized with the flow history and logs are read from the current flow computer once the new flow computer is written.

Select Yes to initialize the new flow computer with history values. This is the default selection.

Select No to discard the history values of the current Flow Computer.

The Next button moves to the next step. The next step is Replace Account

Codes if the current account includes some non-default account, otherwise the next step is Read Configurations if collect the logs and flow history

option is selected, otherwise the next step is Replace Flow Computer.

Realflo User and Reference Manual

May 19, 2011

260

Realflo Expert Mode Reference

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Replace Account Codes

The Replace Account Codes dialog is be displayed if the current Realflo file includes some non-default account codes. Selections allow for the account codes to be written to the flow computer or to have the account codes set for the default settings.

Select Yes, write to the Flow Computer to write the account codes. This is the default selection. The writing account codes will be done after writing the accumulated history in the Replace Flow Computer step.

Select No, remain the default settings to not write the account codes.

The Back button returns to the previous step.

The Next button moves to the next step.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Read Configuration

This step selects whether the current configuration is read from the flow computer. Selections provide for reading configurations from the flow

computer or to not read configurations. See the

Power Management

Configuration

section of this manual for further information on what

information is read.

Realflo User and Reference Manual

May 19, 2011

261

Realflo Expert Mode Reference

Select Yes, read configuration from Flow Computer to read the configurations from flow computer. This is a default option.

Select No, do not read configuration from Flow Computer to skip reading configurations.

The Back button returns to the previous step.

The Next button reads the flow computer configuration, if selected, and moves to the next step, Select Alarms and Events.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

262

Realflo Expert Mode Reference

Select Event and Alarm Logs

This step selects whether the alarms and events in the flow computer are read.

The Which Events do you want to read? selection determines which events to read from the flow computer.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the events will be acknowledged after reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events. Operator activity will be prevented until the events are read and acknowledged. The control is grayed under the following conditions: o The event log is not selected. o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

Select Read All Events to read all events in the flow computer. This control is grayed if the Event Log control is not selected.

Select Do Not Read Any Events to skip reading of events from the flow computer.

The Which Alarms to you want to read? selection determines which alarm logs to read from the flow computer.

Select Just Read New Alarms to read unacknowledged alarms in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the alarms will be acknowledged after reading the new events. If the events in the log are not acknowledged, the alarm log will fill with 300 events. Operator activity will be prevented until the alarms are read and acknowledged. The control is grayed under the following conditions:

The alarm log is not selected.

Realflo User and Reference Manual

May 19, 2011

263

Realflo Expert Mode Reference

The user has Read and View account privileges.

The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

The Read All Alarms radio button selects the reading of all alarms in the controller. The control is grayed if the Alarm control is not selected.

The Do Not Read Any Alarms button selects not to read alarms from the flow computer.

Click the Next> button to move to the next step in the wizard.

The Which Events do you want to read? section has the following selections.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has Write authorization then the events will be acknowledged after reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events.

Operator activity will be stopped until the events are read and acknowledged. This is the default selection.

Select Read All Events to read all events in the flow computer. Do not acknowledge the events.

Select Do Not Read Any Events to skip reading events.

The Back button returns to the previous step.

The Next button reads the selected alarms and events and moves to the next step, Select Hourly History.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Select Hourly and Daily History

This step selects which hourly and daily history logs are read from the flow computer.

The Which Hourly Logs do you want to read? section has the following selections.

Realflo User and Reference Manual

May 19, 2011

264

Realflo Expert Mode Reference

Select New Hours to read hourly history for days after those in the file.

If the file is empty then Realflo will read all hourly history stored in the flow computer. This is the default selection.

Select All Hours to read hourly history for all days stored in the flow computer.

Select Selected Hours to read hourly history for the range of days selected with the From and To drop-down lists. Records are read for the contract days whose first hour is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log.

For example, if the contract day is configured to start at 7:00 AM.

Reading hourly history for September 23 would return the records where the first record in a day was between 7:00 on the 23 the 24 th

. rd

to 6:59:59 AM on

Select Do Not Read Hourly Logs to skip the reading of hourly history.

The Which Daily Logs do you want to read? section has the following selections.

Select New Days to read daily history for days after those in the file. If the file is empty then Realflo will read daily history stored in the flow computer. This is the default selection.

Select All Days to read daily history for all days stored in the flow computer.

Select Selected Days to read daily history for the range of days selected with the From and To drop-down lists. Records are read for the contract days whose first record is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log. For example, if the contract day is configured to start at 7:00

AM. Reading daily history for September 23 would return the daily records whose end time is in the range 7:00 on the 23 rd

to 6:59:59 AM on the 24 th

.

Select Do Not Read Daily Logs to skip the reading of daily history.

The From controls contain the oldest previous day for which the hourly or daily history is to be read. The initial value is 35 days before the current day.

The control is enabled when the Selected Hours or Selected Days is selected. Change this date to avoid reading data that has previously been read into the log.

The To controls contain the recent previous day for which the hourly or daily history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. The control is enabled when the Selected Hours or Selected Days is selected. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

The Back button returns to the previous step.

The Next button reads the selected logs and then moves to the next step,

Read Log Results.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

265

Read Log Results

Realflo Expert Mode Reference

This step displays the results of the Read Logs and History steps.

The Back button returns to the previous step.

The Next button moves to the next step, Replace Flow Computer.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

266

Realflo Expert Mode Reference

Replace Flow Computer Wizard

This step selects the flow computer file to write and writes the file to the flow computer.

Use the Replace Flow Computer dialog to select the flow computer program to write to the flow computer.

Select Flow Computer to write a basic flow computer program. Realflo selects the correct program file for the flow computer from the folder Realflo was started from, typically C:\Program Files\Control

Microsystems\Realflo.

The file selected will be Realflot v#.##.#.abs for Telepace firmware and

Realfloi v#.##.#.abs for ISaGRAF firmware on 16-bit SCADAPack controllers, where #.##.# is the flow computer version number.

This option is disabled if the controller type is a SCADAPack 32,

SCADAPack 314/330/334, SCADAPack 350, SCADAPack 4203 and

SolarPack 410.

Select Flow Computer with Enron Modbus to write a flow computer program with Enron Modbus support. Realflo selects the correct program file for the flow computer from the folder Realflo was started from, typically

C:\Program Files\Control Microsystems\Realflo.

Flow computer files available will depend on the Realflo operating mode and the controller type.

Standard Flow Computer Files

RFEnront v#.##.#.abs for Telepace firmware and RFEnroni v#.##.#.abs for ISaGRAF firmware for 16-bit SCADAPack controllers.

Realflot v#.##.#.out for Telepace SCADAPack 350 firmware and Realfloi v#.##.#.out for ISaGRAF SCADAPack 350 firmware.

Realflo33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and

Realflo33xi v#.##.#.out for ISaGRAF SCADAPack 330/334 firmware.

Realflo31xt v#.##.#.out for Telepace SCADAPack 314 firmware and

Realflo31xi v#.##.#.out for ISaGRAF SCADAPack 314 firmware.

Realflo User and Reference Manual

May 19, 2011

267

Realflo Expert Mode Reference

Realflo4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and

Realflo4203i v#.##.#.out for ISaGRAF SCADAPack 4203 firmware.

Realflo410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and Realfloi v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

GOST Flow Computer Files

Realflo_GOST_t v#.##.#.abs for Telepace firmware and

Realflo_GOST_i v#.##.#.abs for ISaGRAF firmware for 16-bit

SCADAPack controllers.

Realflo_GOST_33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_GOST_33xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_GOST_31xt v#.##.#.out for Telepace SCADAPack 314 firmware and Realflo_GOST_31xi v#.##.#.out for ISaGRAF SCADAPack 314 firmware.

Realflo_GOST_4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and Realflo_GOST_4203i v#.##.#.out for ISaGRAF

SCADAPack 4203 firmware.

Realflo_GOST_410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and Realfloi v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

PEMEX Flow Computer Files

Realflo_PEMEX_t v#.##.#.abs for Telepace firmware and

Realflo_PEMEX_i v#.##.#.abs for ISaGRAF firmware for 16-bit

SCADAPack controllers.

Realflo_PEMEX_33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_PEMEX_33xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_PEMEX_31xt v#.##.#.out for Telepace SCADAPack 314 firmware and Realflo_PEMEX_31xi v#.##.#.out for ISaGRAF

SCADAPack 314 firmware.

Realflo_PEMEX_4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and Realflo_PEMEX_4203i v#.##.#.out for ISaGRAF

SCADAPack 4203 firmware.

Realflo_PEMEX_410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and Realfloi v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

Select Customer Flow Computer or C/C++ Program to write any C/C++ program to the flow computer. Select the file to write by:

Entering the file name in the edit box.

Selecting a recently used file by clicking the down arrow.

Using the Browse button to select a file. The Browse button opens a file open dialog. The dialog shows files of type ABS if the flow computer is a

SCADAPack. OUT, if the flow computer is a SCADAPack 314/330/334,

Realflo User and Reference Manual

May 19, 2011

268

Set Time

Realflo Expert Mode Reference

SCADAPack 350 or SCADAPack 4203, or MOT if the flow computer is a

SCADAPack 32.

The Back button returns to the previous step.

The Next button writes the flow computer file and moves to the next step,

Set Time.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

This step sets the time in the flow computer.

The following controls are available from the Real Time Clock dialog.

The current Flow Computer Time shows the current time and date in the flow computer. It is updated continuously while the dialog is open. The time and date are displayed in the short time format as defined in the Windows

Control Panel.

The Yes, set to PC Time radio button selects setting the controller time to match the PC time. The current PC time and date are shown to the right of the button. The time and date are displayed in the short format as defined in the Windows Control Panel.

The Yes, set to this time radio button selects setting the time and date to the values specified by the user in the Year, Month, Day, Hour, Minute and

Second controls. If the Set to User Entered Time radio button is not selected these controls are grayed.

The Back button returns to the previous step.

The Finish button writes the time and ends the wizard.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

269

Realflo Expert Mode Reference

Write Flow Computer Configuration

The Write Configuration command is used to write all or selected parts of the Flow Computer Configuration. When selected the command displays the

Write Flow Computer Configuration dialog as shown below.

The All Configuration radio button, when selected, results in the writing of all configuration data from the flow computer.

The Selected Configuration radio button enables specific configuration data to be written to the flow computer.

Select Communication and I/O Settings to write the serial port, register assignment configuration information and mapping table.

Select Flow Run and MVT Configuration to write the flow run configuration and the MVT transmitter configuration.

Select Process I/O Configuration to write the Process I/O configuration.

Select Force Inputs to write the force status of any forced flow run inputs before the flow computer was updated.

Click on the OK button to write the selected items to the flow computer.

Realflo User and Reference Manual

May 19, 2011

270

Realflo Expert Mode Reference

Click the Cancel button to cancel the operation and close the dialog.

The Flow Computer ID is checked before writing. If the Flow Computer

ID does not match the ID in the dialog Realflo displays an error message.

An error occurs if Controller Configuration is selected and the flow computer type is different from the flow computer type selected in the

Controller Type dialog. An error message is displayed.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

Read Alarm and Event Logs

This step selects whether the alarms and events in the flow computer are read.

The Which Events do you want to read? section has the following selections.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has Write authorization then the events will be acknowledged after reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events.

Realflo User and Reference Manual

May 19, 2011

271

Realflo Expert Mode Reference

Operator activity will be stopped until the events are read and acknowledged. This is the default selection.

Select Read All Events to read all events in the flow computer. Do not acknowledge the events.

Select Do Not Read Any Events to skip reading events.

The Back button returns to the previous step.

The Next button reads the selected alarms and events and moves to the next step, Select Hourly History.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Bluetooth Security

If a Bluetooth connection was used to replace the flow computer in a

SolarPack 410 the last step is setting the Bluetooth security.

The Bluetooth Security Settings dialog specifies how Bluetooth security is configured in the SolarPack 410 controller. Opening the dialog reads the current settings from the controller. The dialog does not open if the settings can‟t be read.

Bluetooth Security selects if security is enabled or not. Select Use current

security settings to maintain the security settings that have already been established. Select Disable to operate the Bluetooth radio without security.

Select Enable to use authentication and encryption. Select Enable and

Change PIN to use authentication and encryption with a new PIN.

Current PIN specifies the current value of the PIN. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN). The factory default PIN is default.

New PIN specifies the new value of the PIN. This control is enabled if

Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case

Realflo User and Reference Manual

May 19, 2011

272

Realflo Expert Mode Reference sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

Confirm New PIN specifies the new value of the PIN. This control is enabled if Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

The two values of the new PIN needs to match before any settings are written to the controller.

Click Finish to write the new settings to the controller. A message is displayed if the settings cannot be written to the controller and the dialog remains open.

Click Cancel to close the dialog without making any changes.

Initialize Command

The Initialize command erases programs in the flow computer and sets the flow computer to default settings. This command is typically used when starting a new project with a flow computer. This command is disabled if the

Update Readings command is enabled. The command opens the Initialize

Flow Computer dialog. The dialog displayed will depend on whether

Telepace or ISaGRAF firmware is used in the flow computer.

Initialize Telepace Flow Computer

Check Use Default Communication and I/O Settings to reset flow computer settings to default values and clear all registers in the I/O database. This includes the serial port settings. If you are communicating

using settings other than the default, the

PC Communications Settings

Command

will have to be changed once the command is complete.

Realflo User and Reference Manual

May 19, 2011

273

Realflo Expert Mode Reference

Check Erase Register Assignment to erase the register assignments. This command applies only if Telepace firmware is loaded in the flow computer.

The command is disabled if SCADAPack 314, SCADAPack 330,

SCADAPack 334 or SCADAPack 350 is selected as the hardware type.

Check Erase Ladder Logic to erase the Telepace Ladder Logic application in the flow computer.

Check Erase Ladder Logic Program Flash to erase the Telepace Ladder

Logic application in flash memory in the flow computer. This command applies only if Telepace firmware is loaded in the controller.

Click on the Finish button to perform the requested initializations.

Click on the Cancel button to exit without performing any action.

Initialize IEC 61131-3 Flow Computer

Check Use Default Communication and I/O Settings to reset flow computer settings to default values and clear registers in the I/O database.

This includes the serial port settings. If you are communicating using

settings other than the default, the

PC Communications Settings

Command

will have to be changed once the command is complete.

Check Erase Register Assignment to erase the register assignments. The command is disabled if ISaGRAF firmware is loaded.

Check IEC 61131-3 Program to erase the IEC 61131-3 Logic application in the flow computer.

Check Erase Ladder Logic Program Flash to erase the Telepace Ladder

Logic application in flash memory in the flow computer. This command applies only if Telepace firmware is loaded in the controller. The command is disabled if ISaGRAF firmware is loaded.

Click on the Finish button to perform the requested initializations.

Click on the Cancel button to exit without performing any action.

Realflo User and Reference Manual

May 19, 2011

274

Realflo Expert Mode Reference

Erasing Programs in Flash

Erasing the flash memory requires stopping the Logic and C programs. If either flash erase command is selected the following message is displayed.

Select OK to stop the Logic program and erase the flash memory.

Select Cancel to abort the initialization of flash memory. Other selected initializations will still be performed.

Initialize SCADAPack 4203 and SolarPack 410 Flow Computer

When a SolarPack 410 is the controller type the following dialog is displayed when the Initialize command is selected.

Check Use Default Communication and I/O Settings to reset flow computer settings to default values and clear registers in the I/O database.

This includes the serial port settings. If you are communicating using

settings other than the default, the

PC Communications Settings

Command

will have to be changed once the command is complete.

The Reset Sensor and Restore Factory Calibration check box will return the sensor to factory calibration. Note that the sensor calibration, operating limits and measurement units are reset to factory calibration.

Realflo User and Reference Manual

May 19, 2011

275

Real Time Clock

Realflo Expert Mode Reference

The Real Time Clock dialog sets the real time clock in the flow computer.

This command is disabled if the Update Readings command is enabled. The user may set the clock to the PC time, to a user specified time or adjust the clock forward or back by a number of seconds.

The following methods cannot to set the real time clock when using the flow computer.

The CNFG Real Time Clock and Alarm register assignment in

Telepace.

The setclock function in IEC 61131-3.

The Real Time Clock dialog in Telepace or IEC 61131-3.

Using any of these methods to set the Real Time Clock may result in the flow computer logging data incorrectly.

The Flow Computer clock was set at the factory. However, it may be set to the wrong time zone for your location. Set the clock before configuring the flow computer so that configuiration events are stored at the correct time.

The following controls are available from the Real Time Clock dialog.

Controller Time shows the current time and date in the controller. It is updated continuously while the dialog is open. The time and date are displayed in the short time format as defined in the Windows Control Panel.

Realflo User and Reference Manual

May 19, 2011

276

Realflo Expert Mode Reference

The Set to PC Time radio button selects setting the controller time to match the PC time. The current PC time and date are shown to the right of the button. The time and date are displayed in the short format as defined in the

Windows Control Panel.

The Set to User Entered Time radio button selects setting the time and date to the values specified by the user in the Year, Month, Day, Hour,

Minute and Second controls. If the Set to User Entered Time radio button is not selected these controls are grayed.

The Adjust Forward or Backward radio button selects adjusting the time by the number of seconds specified in the Adjust Clock by Seconds edit box. The value can be negative or positive. The edit box is grayed if the

Adjust by radio button is not selected.

This option is useful if your communication network introduces a delay between the time the command is sent and when the flow computer receives it.

The Close button closes the dialog.

The Write button writes the selected time to the flow computer.

The Help button displays the help for this dialog.

Wireless Security Settings

The Wireless Security Settings dialog specifies how wireless security is configured in the SolarPack 410 controller. Opening the dialog reads the current settings from the controller. The dialog does not open if the settings can‟t be read. The pictorial representation of the dialog and description of each field is given below. This command is available on the SolarPack 410 controllers only.

Select Disable to operate the wireless radio without security. Select Enable to use authentication and encryption. Select Enable and Change PIN to use authentication and encryption with a new PIN.

Current PIN specifies the current value of the PIN. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

New PIN specifies the new value of the PIN. This control is enabled if

Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case

Realflo User and Reference Manual

May 19, 2011

277

Realflo Expert Mode Reference sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

Confirm New PIN specifies the new value of the PIN. This control is enabled if Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

The two values of the new PIN needs to match before any settings are written to the controller.

Click OK to write the new settings to the controller. An error message is displayed if the settings cannot be written to the controller and the dialog remains open.

Click Cancel to close the dialog without making any changes.

Flow Computer Information

The Flow Computer Information command is used to display information about the firmware, options, and programs installed in the flow computer.

When selected, the command opens the Flow Computer Information dialog.

The Flow Computer dialog displayed depends on the Firmware Type and

Hardware Type that is running the flow computer.

Telepace Flow Computer Information

For SCADAPack 32, SCADAPack, SCADAPack 4202 and Micro16 controllers the following dialog is displayed. The Telepace firmware Program

Status is shown in the following dialog.

Runs Available is the maximum number of runs supported by the flow computer. The runs available may differ from the number of runs licensed in options section. This is typically due to other C applications and consuming

Realflo User and Reference Manual

May 19, 2011

278

Realflo Expert Mode Reference memory in the controller. For SCADAPack 32 controllers the maximum number of runs is 4 when the Gas Transmission option is enabled.

Flow Computer Version is the version of the flow computer program.

Controller Type is the type of controller hardware.

Controller ID is the unique ID assigned to the controller at the factory.

Firmware Version is the version of the firmware in the controller.

Firmware Type is the type of firmware in the controller. It is one of

Telepace, Telepace DNP, or ISaGRAF, or ISaGRAF DNP.

Ethernet Address is the Ethernet address of the controller, if an Ethernet port is available.

I/O Version is the version number of the internal I/O controller.

Flow Computer Type is the type of flow computer licensed. You can select one of the following values for this field from the dropdown list:

None

Standard

PEMEX

GOST

If you select an unlicensed flow computer type, an error message displays telling you to purchase the appropriate license.

The Options area shows the current options enabled in the controller.

The DF1 Protocol option enables communication using the Allen-

Bradley full duplex and half-duplex protocols.

The IEC 61131-3 option enables the IEC 61131-3 run-time engine.

The DNP Protocol option enables communication using the DNP

Protocol.

The Telepace option enables communication using Telepace.

The Flow Computer option enables support for the Realflo natural gas flow computer. The valid options from the dropdown list are: o Standard o PEMEX o GOST

The Runs option displays the number of runs available for the flow computer.

The Gas Transmission checkbox enables or disables calculating hourly gas quality history.

If the Flow Computer option is set to None, the Runs Available and the

Gas Transmission options are disabled.

The Edit button opens the Edit Options Dialog.

The Ladder Logic Program Status section indicates the state of the

Ladder Logic program. A program can be loaded in RAM memory and in

Realflo User and Reference Manual

May 19, 2011

279

Realflo Expert Mode Reference

Flash memory. Only one of the programs can be running. The state will be one of No Program, Stopped, or Running.

The C/C++ Program (Flow Computer) Status section indicates the state of the C/C++ program. Usually this is the flow computer program, but it could be another program. The state will be one of No Program, Stopped, or

Running.

On a SCADAPack controller with Telepace firmware 1.65 or newer, a program can be loaded in RAM memory. The controller has operating system code in the C Program section of Flash.

On a SCADAPack controller with Telepace firmware 1.64 or older, a program can be loaded in RAM memory and in Flash memory. Only one of the programs can be running.

On a SCADAPack 32 controller a program is executed from RAM memory and saved in Flash memory.

Click Run to run the C/C++ program (flow computer). If there is a program in both RAM and Flash, the program in RAM will run.

Click Stop o stop the C/C++ program (flow computer).

Close closes the dialog.

Refresh button reads information from the flow computer.

Help button opens the user manual.

Realflo User and Reference Manual

May 19, 2011

280

Realflo Expert Mode Reference

Telepace SCADAPack 314/330/334, SCADAPack 350, SCADAPack 4203 and SolarPack 410

Flow Computer Information

For SCADAPack 314/330/334, SCADAPack 350, SCADAPack 4202 and

SolarPack 410 controllers the following dialog is displayed. The

SCADAPack 314/330/334, SCADAPack 350 and SCADAPack 4203 controllers support multiple C/C++ applications. When this controller is used the Flow Computer Information dialog allows for the stopping and running of each C/C++ application independently.

Runs Available is the maximum number of runs supported by the flow computer. The runs available may differ from the number of runs licensed in options section. This is typically due to other C applications or IEC 61131-3 applications running and consuming memory in the controller.

Flow Computer Version is the version of the flow computer program.

Controller Type is the type of controller hardware.

Controller ID is the unique ID assigned to the controller at the factory.

Firmware Version is the version of the firmware in the controller.

Firmware Type is the type of firmware in the controller. It is one of

Telepace, Telepace DNP, or ISaGRAF, or ISaGRAF DNP.

Ethernet Address is the Ethernet address of the controller, if an Ethernet port is available.

I/O Version is the version number of the internal I/O controller.

Flow Computer Type is the type of flow computer licensed. This will be one of the following types:

None

Standard

Realflo User and Reference Manual

May 19, 2011

281

Realflo Expert Mode Reference

PEMEX

GOST

If you select an unlicensed flow computer type, an error message displays telling you to purchase the appropriate license.

The Options area shows the current options enabled in the controller.

The DF1 Protocol option enables communication using the Allen-

Bradley full duplex and half-duplex protocols.

The IEC 61131-3 option enables the IEC 61131-3 run-time engine.

The DNP Protocol option enables communication using the DNP

Protocol.

The Flow Computer option enables support for the Realflo natural gas flow computer. The valid options from the dropdown list are: o Standard o PEMEX o GOST

The Runs option displays the number of runs available for the flow computer.

The Gas Transmission checkbox enables or disables calculating hourly gas quality history.

If the Flow Computer option is not set the Runs Available and the Gas

Transmission options are disabled.

The Edit button opens the Edit Options Dialog.

The Ladder Logic Program Status section indicates the state of the

Ladder Logic program. A program can be loaded in RAM memory and in

Flash memory. Only one of the programs can be running. The state will be one of No Program, Stopped, or Running.

The dialog displays the C/C++ Programs that are loaded in the controller.

The status of each program is indicated as Running or Stopped.

The Close button closes the dialog.

The Refresh button reads information from the flow computer.

The Help button opens the user manual.

The Loaded C/C++ Programs section indicates the state of the C/C++ programs currently loaded in the controllers. Usually this is the flow computer program, but it could be another program. The state will be one of

No Program, Stopped, or Running.

The Run and Stop buttons apply to the C/C++ Program selected from the list of loaded C/C++ programs. Only one C/C++ Program may be selected from the list at one time. These buttons are disabled when there are no

C/C++ Programs loaded.

The Run button stops and restarts the selected C/C++ program in the controller.

The Stop button stops the selected C/C++ program in the controller.

Realflo User and Reference Manual

May 19, 2011

282

Realflo Expert Mode Reference

IEC 61131-3 Flow Computer Information

The Flow Computer Information dialog is different for ISaGRAF firmware.

The program status section appears as follows in the Flow Computer

Information dialog.

Runs Available is the maximum number of runs supported by the flow computer. The runs available may differ from the number of runs licensed in options section. This is typically due to other C applications or IEC 61131-3 applications running and consuming memory in the controller. For

SCADAPack 32 controllers the maximum number of runs is 4 when the Gas

Transmission option is enabled.

Flow Computer Version is the version of the flow computer program.

Controller Type is the type of controller hardware.

Controller ID is the unique ID assigned to the controller at the factory.

Firmware Version is the version of the firmware in the controller.

Firmware Type is the type of firmware in the controller. It is one of

Telepace, Telepace DNP, or ISaGRAF, or ISaGRAF DNP.

Ethernet Address is the Ethernet address of the controller, if an Ethernet port is available.

I/O Version is the version number of the internal I/O controller.

Flow Computer Type is the type of flow computer licensed. This will be one of the following types:

Standard

PEMEX

GOST

Realflo User and Reference Manual

May 19, 2011

283

Realflo Expert Mode Reference

If the Flow Computer option is not set the Runs Available and the Gas

Transmission options are disabled.

The Options area shows the current options enabled in the controller.

The DF1 Protocol option enables communication using the Allen-

Bradley full duplex and half-duplex protocols.

The Flow Computer option enables support for the Realflo natural gas flow computer. The Runs window displays the number of runs available for the flow computer.

The IEC 61131-3 option enables the IEC 61131-3 run-time engine.

The DNP Protocol option enables communication using the DNP

Protocol.

The Flow Computer option enables support for the Realflo natural gas flow computer. The valid options from the dropdown list are: o None o Standard o PEMEX o GOST

The Runs option displays the number of runs available for the flow computer.

The Gas Transmission checkbox enables or disables calculating hourly gas quality history.

If the Flow Computer option is not set the Runs Available and the Gas

Transmission options are disabled.

The Edit button opens the Edit Options Dialog.

The Program Status portion of the dialog depends on the controller type and the firmware. See the sections below for details.

The IEC 61131-3 Program Status section indicates the state of the IEC

61131-3 program. The state will be one of No Program, Stopped, or

Running.

The C/C++ Program (Flow Computer) Status section indicates the state of the C/C++ program. Usually this is the flow computer program, but it could be another program. The state will be one of No Program, Stopped, or

Running.

Click on the Run button to run the C/C++ program (flow computer).

Click on the Stop button to stop the C/C++ program (flow computer).

The Close button closes the dialog.

The Refresh button reads information from the flow computer.

The Help button opens the user manual.

IEC 61131-3 SCADAPack 314/330/334, SCADAPack 350 and SCADAPack 4203 Flow Computer

Information

For SCADAPack 314/330/334, SCADAPack 350 and SCADAPack 4203 controllers the following dialog is displayed. When this controller is used the

Realflo User and Reference Manual

May 19, 2011

284

Realflo Expert Mode Reference

Flow Computer Information dialog allows for the stopping and running of each C/C++ application independently.

Runs Available is the maximum number of runs supported by the flow computer. The runs available may differ from the number of runs licensed in options section. This is typically due to other C applications or IEC 61131-3 applications running and consuming memory in the controller.

Flow Computer Version is the version of the Flow Computer program.

Controller Type is the type of controller hardware.

Controller ID is the unique ID assigned to the controller at the factory.

Firmware Version is the version of the firmware in the controller.

Firmware Type is the type of firmware in the controller. It is one of

Telepace, Telepace DNP, or ISaGRAF, or ISaGRAF DNP.

Ethernet Address is the Ethernet address of the controller, if an Ethernet port is available.

I/O Version is the version number of the internal I/O controller.

Flow Computer Type is the type of flow computer licensed. This will be one of the following types:

Standard

PEMEX

GOST

If the Flow Computer option is not set the Runs Available and the Gas

Transmission options are disabled.

The Options area shows the current options enabled in the controller.

The DF1 Protocol option enables communication using the Allen-

Bradley full duplex and half-duplex protocols.

Realflo User and Reference Manual

May 19, 2011

285

Realflo Expert Mode Reference

The IEC 61131-3 option enables the IEC 61131-3 run-time engine.

The DNP Protocol option enables communication using the DNP

Protocol.

The Flow Computer option enables support for the Realflo natural gas flow computer. The valid options from the dropdown list are: o None o Standard o PEMEX o GOST

The Runs option displays the number of runs available for the flow computer.

The Gas Transmission checkbox enables or disables calculating hourly gas quality history.

If the Flow Computer option is not set the Runs Available and the Gas

Transmission options are disabled.

The Edit button opens the Edit Options Dialog.

The Program Status portion of the dialog depends on the controller type and the firmware. See the sections below for details.

The Close button closes the dialog.

The Refresh button reads information from the flow computer.

The Help button opens the user manual.

The Loaded C/C++ Programs section indicates the state of the C/C++ programs currently loaded in the SCADAPack 314/330/334 or SCADAPack

350. Usually this is the flow computer program, but it could be another program. The state will be one of No Program, Stopped, or Running.

The Run and Stop buttons apply to the C/C++ Program selected from the list of loaded C/C++ programs. Only one C/C++ Program may be selected from the list at one time. These buttons are disabled when there are no

C/C++ Programs loaded.

The Run button stops and restarts the selected C/C++ program in the controller.

The Stop button stops the selected C/C++ program in the controller.

Edit Options Dialog

The Edit Options dialog modifies the firmware options. An activation code is required to change the options. See the Obtaining an Activation Code section below for details on obtaining an activation code. See the Applying

an Activation Code section below for details on applying the activation code.

Realflo User and Reference Manual

May 19, 2011

286

Realflo Expert Mode Reference

The Controller ID is shown at the top of the dialog. This is a unique ID for the controller and is set at the factory. It cannot be changed.

The controllers Current Options are shown on the left. These are read from the controller when the Change Options command selected.

The New Options available for the controller are shown on the right. Select the new options based on the Activation Code obtained from Control

Microsystems. See the Obtaining an Activation Code section below for details on obtaining an activation code.

The Activation Code edit box contains the activation code for the currently selected options. If you leave the activation code edit box blank, an error message displays.

The OK button accepts the options and writes them to the controller. If the activation code is correct, the options are enabled. Otherwise the current options remain in effect.

The Cancel button closes the dialog without making any changes.

The Help button opens the user manual.

Obtaining an Activation Code

The activation code needs to be obtained from Control Microsystems. To obtain activation codes:

Record the Controller ID, Current Options and New Options for each controller you wish to update.

Contact Control Microsystems sales department, or your local representative, and report the information gathered in step 1.

The sales representative will inform you of the cost of the options and arrange for payment.

The activation codes will be sent to you upon receipt of payment.

Applying an Activation Code

Enter the same New Options as in item 1 of the Obtaining an Activation

Code section.

Realflo User and Reference Manual

May 19, 2011

287

Setup

Realflo Expert Mode Reference

Enter the Activation Code received from Control Microsystems and click

OK. The options will be written to the flow computer.

Stop flow runs using the Maintenance | Calculation Control menu item.

Read logs and history using the Maintenance | Read Logs/History menu item.

Replace the flow computer using the Configuration | Replace Flow

Computer menu item.

Replace the configuration using the Configuration | Write Configuration menu item. Flow runs will be started.

The Setup command is used to display and configure basic flow computer parameters. The hardware type, firmware type, number of flow runs enables and the flow computer ID are configurable.

The Hardware Type selection sets the type hardware that the flow computer is executing on. Valid selections are Micro16, SCADAPack,

SCADAPack Plus, SCADAPack Light, SCADAPack LP, SCADAPack 100:

1024K, SCADAPack 32, SCADAPack 32P, SCADAPack 4202 DR,

SCADAPack 4202 DS, SCADAPack 4203 DR, SCADAPack 4203 DS,

SCADAPack 314, SCADAPack 330, SCADAPack 334, SCADAPack 350 and SolarPack 410.

The Firmware Type selection sets the firmware type for the flow computer.

Valid sel;ections are Telepace and ISaGRAF. The default value is Telepace for step-by-step, or the value in the template.

The Number of Runs selection sets the number of runs in the file. The number of runs available depends on the type of flow computer used.

For Micro 16, SCADAPack, SCADAPack Light and SCADAPack Plus flow computers the maximum number of runs is three.

Realflo User and Reference Manual

May 19, 2011

288

Realflo Expert Mode Reference

The selection of three meter runs is available for older flow computers that could be enabled for three meter runs.

For SCADAPack LP and SCADAPack 4202 of flow computers the maximum number of meter runs is two.

For SCADAPack 100: 1024K and SolarPack 410 Flow Computers the maximum number of meter runs is one.

For SCADAPack 314/330/334 and SCADAPack 350 Flow Computers the maximum number of meter runs is four.

For SCADAPack 32 and SCADAPack 32P the maximum number of runs available is ten without the gas transmission option enabled and four with the gas transmission option enabled.

The Flow Computer ID entry is a unique ID for the flow computer. It stops accidental mixing of data from different flow computers. The Flow Computer

ID is stored in the flow computer. Realflo will not perform operations if the ID in the flow computer and that in the configuration file are not the same.

Enter a string of up to 8 characters for the Flow Computer ID. Any character is valid and the ID may be left blank.

The Enron Timestamp selects the type of timestamp for Enron flow history logs. Realflo and flow computer versions 6.77 and higher support the selection of time leads data or time lags data for the timestamp.

Time leads data selection time stamps the data for the period at the beginning of the period.

Time lags data selection time stamps the data for the period at the end of the period.

The configuration is valid for runs of the flow computer and is applied on the

Enron Modbus enabled ports only. This control is hidden in PEMEX or

GOST application modes.

Sensor and Display

Use this command to configure the sensor parameters of external transmitters. This command is disabled if the Update Readings command is enabled and opens the Transmitter Configuration dialog as shown below, when selected.

Realflo User and Reference Manual

May 19, 2011

289

Realflo Expert Mode Reference

The Flow Runs list displays each of the configured flow runs. The list displays the Run number, Run ID and the transmitter that is used for the differential pressure (DP), static pressure (SP) and temperature sensors.

The Run values are numbered 1 to N, in order.

The Configuration list shows the transmitters that can be configured. Up to

10 transmitters can be configured, depending on number of flow runs available. The number of transmitters in the list is equal to the number of flow runs. Use the Setup dialog on the Flow Computer menu to set the number of flow runs.

The configuration list displays the transmitter; the serial port the transmitter is connected to, the transmitter Modbus address, and the transmitter tag name.

When a transmitter is used the first position in the dialog is reserved for the internal transmitter. In this case the following dialog is displayed.

The list may be sorted by clicking on the column headings. Click on the column headings once to sort the list in ascending order. Click on the column a second time to sort the list in descending order.

The Search button opens the

Sensor Search Dialog

. The search button is

disabled for SCADAPack 4202 or 4203 transmitters if only one meter run is enabled.

The Edit button opens the

Edit Sensor Settings Dialog

to edit the selected

transmitter configuration. The button is disabled if no transmitter is selected or if more than one transmitter is selected.

The Delete button deletes the configuration for selected transmitters in the list box. The button is disabled if no transmitter is selected.

The OK button saves the settings and closes the dialog.

The Cancel button closes the dialog without saving.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

290

Realflo Expert Mode Reference

Sensor Search Dialog

The Sensor Search dialog allows searches for Multi-Variable Transmitters connected to the flow computer. Searches can be made using a serial connection and if the flow computer supports it using a LAN connection.

The Search dialog cannot remove or replace a transmitter when the controller type is a SCADAPack.

Search Serial

The Search Serial area of the search dialog is highlighted in the picture

above. The LAN Search is described in Search LAN section below. The

following paragraphs describe the parameters of the Serial Search.

The Port drop-down list box selects the controller serial port that will communicate with the transmitter. The valid ports are COM1, COM2, COM3 and COM4 for serial connections and LAN for LAN connections.

The Timeout edit box specifies the length of time the flow computer will wait for a response from a transmitter. The valid range is from 100 ms to 10000 ms. The default is 300 ms.

The radio buttons determine for which transmitters to search.

Use the Maximum radio button to search for the specified number of transmitters. The search operation will stop after finding the specified number of transmitters. The valid value is from 1 to 247. The default is 1.

Use the Range radio button to search the addresses in specified range. The range to search for is entered in the edit boxes to the right of the radio button. The value in To edit control needs to be equal or great than the value in the first edit control. The maximum search range that can be entered is for 255 transmitters. The default range is 1 to 247.

Valid values are any range between 1 and 247 for the SCADAPack

4101 and 3095MVT.

Realflo User and Reference Manual

May 19, 2011

291

Realflo Expert Mode Reference

4000 transmitters support addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode. The address mode of the flow computer serial port needs to be set to extended to search for transmitters with extended addresses.

The SCADAPack 4202 or 4203 transmitter support 1 to 255 addresses in the standard addressing mode and 1 to 65534 addresses in the extended addressing mode. The address mode of the SCADAPack

4202 or 4203 port needs to be set to extended in order to search for transmitters with extended addresses.

Select the All radio button to search the addresses of transmitters connected with the serial port selected in Port. A maximum of 255 addresses are searched.

The Serial Search button starts the search for MVT transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time. The results of the search are added to the list box at the bottom of the dialog.

The search result list box shows the transmitters that were found by the search. Additional searches may add to the list box. The list may be sorted by clicking on the column headings. Click on the column headings once to sort the list in ascending order. Click on the column a second time to sort the list in descending order.

The list box displays the following columns:

The Port column displays the serial or LAN port the controller is using to communicate with the transmitter.

The Address column displays the Modbus station address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. This column may be blank if a Tag Name has not been assigned to the transmitter.

The Serial Number column displays the transmitter factory serial number.

The Manufacturer Code column displays the transmitter factory manufacturer code.

The Status column indicates if configuration data for the transmitter exists.

Configured indicates a transmitter with the same port, address, serial number, and factory code is in the list in the Sensor and Display

Configuration dialog.

Different means a transmitter with the same port and address is in the list in the Sensor and Display Configuration dialog. The tag, serial number, or factory code of the transmitter is different.

New means that the transmitter is not in the list of configured transmitters.

The Change button opens the Change Address Dialog to change the

Modbus station address of the serial port on the remote transmitter. This action will change the Modbus station number of the serial port on the MVT connected to a SCADAPack controller. The button is grayed if the list is empty or if more than one transmitter is selected.

Realflo User and Reference Manual

May 19, 2011

292

Search LAN

Realflo Expert Mode Reference

The Delete button removes the selected items from the list. The button is grayed if the list empty or no transmitter is selected.

The OK button saves the settings and closes the dialog. Transmitters in the result list are added to the transmitter configuration in the Sensor and

Display Configuration Dialog.

If the transmitter status is configured the list is not changed.

If the transmitter status is different the tag, serial number, and factory code in the list is updated with the new information from the transmitter.

If the transmitter status is new the transmitter is added to the list in the first available position. If there are more new transmitters than there are free positions in the list an error dialog is displayed with the message

“There are too many new transmitters. Please delete some new

transmitters from the list.”

The Cancel button closes the dialog without saving.

The Help button opens the on-line manual.

The Search LAN area of the search dialog is highlighted in the picture below. The following paragraphs describe the parameters of the Search

LAN function.

The IP Address edit box specifies the known IP address of the 4000 transmitter. Valid entries are IP addresses in the format nnn.nnn.nnn.nnn where nnn are values between 0 and 255.

The Protocol drop-down list box selects the type of IP protocol that will be used to query the transmitter. Valid IP protocol selections are Modbus/TCP and Modbus RTU in UDP.

The IP port (for example port 502) for the selected protocol needs to be the same in the flow computer and the 4000 transmitter.

The LAN Timeout edit box specifies the length of time the flow computer will wait for a response from a 4000 transmitter. The valid range is from 100 to 10000 milliseconds. The default is 5000 ms.

The Search LAN button starts the search for the 4000 transmitters. A search progress dialog is displayed and the search operation can be cancelled at any time. The result of the search is added to the search results list box at the bottom of the MVT Search dialog.

The search result list box shows the transmitters that were found by the search. Additional searches may add to the list box. The list may be sorted by clicking on the column headings. Click on the column headings once to sort the list in ascending order. Click on the column a second time to sort the list in descending order.

The Port column displays the serial or LAN port the controller is using to communicate with the transmitter.

The Address column displays the Modbus station address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. This column may be blank if a Tag Name has not been assigned to the transmitter.

Realflo User and Reference Manual

May 19, 2011

293

Realflo Expert Mode Reference

The Serial Number column displays the transmitter factory serial number.

The Manufacturer Code column displays the transmitter factory manufacturer code.

The Status column indicates if configuration data for the transmitter exists.

Configured indicates a transmitter with the same port, address, serial number, and factory code is in the list in the Sensor and Display

Configuration dialog.

Different means a transmitter with the same port and address is in the list in the Sensor and Display Configuration dialog. The tag, serial number, or factory code of the transmitter is different.

New means that the transmitter is not in the list of configured transmitters.

The Delete button removes the selected items from the list. The button is grayed if the list empty or no transmitter is selected.

The OK button saves the settings and closes the dialog. Transmitters in the result list are added to the transmitter configuration in the Sensor and

Display Configuration Dialog.

If the transmitter status is configured the list is not changed.

If the transmitter status is different the tag, serial number, and factory code in the list is updated with the new information from the transmitter.

If the transmitter status is new the transmitter is added to the list in the first available position. If there are more new transmitters than there are free positions in the list the following message is displayed “There are too many new transmitters. Please delete some new transmitters from the list.”

The Cancel button closes the dialog without saving.

The Help button opens the on-line manual.

Change Address Dialog

The Change button opens the Change Address Dialog to change the

Modbus station address of the serial port on the remote transmitter. This action will change the Modbus station number of the serial port on the MVT connected to a SCADAPack controller. The button is grayed if the list is empty or if more than one transmitter is selected.

New SCADAPack 4101 transmitters have a default address of 99. It is recommended that transmitters be assigned an address other than 99. This will allow adding a new transmitter at any time. If a transmitter is left at address 99, then it will have to be disconnected to install a new transmitter.

The Old Address window displays the current address of the transmitter.

The New Address entry specifies the new address for the transmitter. The new address needs to be different from any existing addresses in the results

Realflo User and Reference Manual

May 19, 2011

294

Realflo Expert Mode Reference list of Sensor Search dialog. Valid values are any range between 1 and 247 for the SCADAPack 4101and 3095MVT. The SCADAPack 4202 or 4203 transmitters support 1 to 255 addresses in the standard addressing mode and 1 to 65534 addresses in the extended addressing mode.

The OK button changes the transmitter address. A communication progress dialog opens while the information is written to the transmitter. Click on the

Cancel button on the progress dialog to attempt to abort the command. This will close the progress dialog, bit the address of the transmitter already may be changed.

The Cancel button closes the dialog without changing the transmitter address.

Realflo User and Reference Manual

May 19, 2011

295

Realflo Expert Mode Reference

Edit Sensor Settings Dialog

This dialog allows the editing of settings for transmitters connected to the flow computer.

There are three selection tabs, shown at the top left corner of the dialog.

When selected, each tab will display a page of configuration parameters in the dialog. The General Page contains sets communication and transmitter information for a transmitter. The Measured Variables page configures the three process measurements, and the Display Module Page configures the display on the transmitter.

There are two columns of data on each page. The Proposed column contains the values that will be written to the controller. The Actual column contains the values that were in the controller the last time data was read from the controller. Values in the Proposed column are colored blue if they differ from the values in the Actual column; this enables the easy location of any differences.

The OK button closes the dialog and saves the settings.

The Read button reads the transmitter settings from the flow computer into the Actual column on all pages. If there is no transmitter configured in the flow computer then the flow computer will attempt to read the configuration from the Address in the Proposed column. A communication progress dialog is displayed while reading from the flow computer.

The Copy Actual to Proposed button copies settings from the Actual column to the Proposed column on both pages. The button is disabled if the

Actual column is empty.

The Print button prints the current page display settings.

The Export button exports the settings to a specified CSV file.

The Help button opens the on-line manual.

The flow computer ID is checked when the Read command is used. If the flow computer ID does not match the ID Realflo displays the message “ The

Realflo User and Reference Manual

May 19, 2011

296

General Page

Realflo Expert Mode Reference

Flow Computer ID from the flow computer does not match the Flow

Computer ID from the file.” The read is not performed.

The General page sets communication and generic information for a transmitter.

The Address edit-box specifies the Modbus address of the transmitter for serial connections and the IP address of the transmitter for LAN connections. Transmitters on the same serial port need to have a unique

Modbus address. Transmitters on the LAN port need to have a unique IP address. This edit box is disabled if the controller type is set to a

SCADAPack 4202 or 4203 transmitter.

Valid addresses are between 1 and 247 for the SCADAPack 4101and

3095MVT.

4000 transmitters support addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode.

The SCADAPack 4202 or 4203 transmitters support 1 to 255 addresses in the standard addressing mode and 1 to 65534 addresses in the extended addressing mode.

New SCADAPack 4101 transmitters have a default address of 99. It is recommended that transmitters be assigned an address other than 99. This will allow adding a new transmitter at any time. If a transmitter is left at address 99, then it will have to be disconnected to install a new transmitter.

The Port drop-down list box specifies the flow computer serial port where the MVT is connected. The valid port selections are com1, com2, com3, and com4 for serial connections and LAN for LAN connections. This edit box is disabled if the controller type is set to a member of the SCADAPack 4202 or

4203 of controllers.

Polling Sensors for SCADAPack 32 10 Runs

The SCADAPack 32 supports 10 flow runs but can poll a maximum of 6 sensors in 1 second. So that all sensors and Coriolis meters are polled for all runs in 1 second the flow computer manages the polling using multiple serial communication ports.

When using more than 5 runs on a SCADAPack 32 flow computer users need to distribute the communication for sensor and Coriolis meter data over multiple serial ports. For example if 10 runs are to be used poll for 5 sensors on one serial port and 5 sensors on another serial port.

The Timeout edit-box specifies the time the flow computer waits for a response from the transmitter before the command is unsuccessful. The valid range is from 0 to 10000 ms. The default is 1000 ms. This edit box is disabled if the controller type is set to a member of the SCADAPack 4202 or

4203 of controllers.

The flow computer polls each configured transmitter in turn. It waits for a response or timeout. If the transmitter does not respond it will take longer to poll it, than if it responded. The flow computer does not retry the transmitter.

It moves on to the next transmitter. The transmitter will be polled again in the regular cycle.

The communication failure alarm is raised if the transmitter does not respond for 3 consecutive polls.

Realflo User and Reference Manual

May 19, 2011

297

Realflo Expert Mode Reference

The Device dropdown list specifies the type of transmitter connected to the flow computer. Valid values are 3095FB, SCADAPack 4101, SCADAPack

4102 or a SCADAPack 4202 or 4203 transmitter. The default value is 4202

DR.

The Tag edit-box specifies the transmitter tag. Up to 8 characters can be entered. The default is no tag.

The Serial Number displays the serial number of the MVT transmitter. It cannot be edited. It is set when the transmitter is found using the Search feature.

The Turnaround Delay Time edit-box specifies the turnaround delay time.

The transmitter will wait this long before responding to the flow computer.

The valid range is 0 to 200 ms. The default is 50 ms.

Measured Variables Page

The Measured Variables page configures the transmitter measurements.

The MVT transmitter measures differential pressure, static pressure, and temperature. The configuration parameters for each measurement are the same.

The Units drop-down list boxes select the units used by the transmitter for the measurement. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units.

For Differential Pressure the valid units displayed will depend on the transmitter used. For SCADAPack 4202, 4203 or 4000 transmitters, valid units are: inches H2O at 68 F, Pascal (Pa) and kiloPascal (kPa).

The default is inches H2O at 68°F. For the 3095 MVT valid units are: inches H2O at 60°F, Pascal (Pa), kiloPascal (kPa) and inches H2O at

60 F. The default is inches H2O at 60°F.

For Static Pressure the valid units are kiloPascal (kPa), MegaPascal

(Mpa), and pounds per square inch (psi). The default is psi.

Realflo User and Reference Manual

May 19, 2011

298

Realflo Expert Mode Reference

For Temperature the valid units are degrees Celsius (C) and degrees

Fahrenheit (F). The default is Fahrenheit (F).

The Damping edit boxes specify the response time of transmitter in order to smooth the process variable reading when there are rapid input variations.

For the SCADAPack 4202, 4203 or 4000 transmitters the valid values are

0.0 (damping off), 0.5, 1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The default value is 0 (damping off). Flow Temperature damping is disabled for the

SCADAPack 4202, 4203 and 4000 transmitters.

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824 and 27.648. The default is 0.864.

The Lower Operating Limit (LOL) and Upper Operating Limit (UOL) edit boxes specify the sensor operating values. These values are set in Realflo as a method to generate an alarm in the alarm log if the measured value is outside these limits The flow computer uses these values to record when the process value has transitioned into an unexpected value based on the predicted characteristics of the users application. The valid range depends upon the transmitter. The default is 0 for lower operating limit and 65534 for upper operating limit. The LOL and UOL needs to satisfy the following conditions. The user is responsible for selecting suitable values for LOL and

UOL.

LRL <= LOL < (UOL

– URL/100)

(LOL + URL/100) <= UOL <= URL

Where LRL (Lower Range Limit) and URL (Upper Range Limit) are the upper and lower calibrated measurements for the transmitter as it is shipped from the factory. These are fixed values and not adjustable by the user.

Refer to the calibration plate on the MVT transmitter or your MVT User

Manual for calibrated LRL and URL ranges.

Re-ranging is a concept that does not apply to the 4000 digital transmitters.

The transmitters are shipped with a specific URL/LRL that defines the calibrated measurement range of the transmitter. The accuracy specifications of the transmitter are based on this calibrated range, and that range is not user adjustable.

Older analog transmitters had an analog output to indicate the pressure reading. For applications where the measurement was only expected to take place over a portion of the full transmitter measurement range, this analog output could be 're-ranged' so that the full output analog range (4-20mA) would cover only a portion of the factory calibrated range, and therefore reduce some of the error associated with the digital-to-analog (D/A) conversion.

Since there is no D/A conversion in the digital transmitters, the additional errors associated with the D/A conversion are not present and the concept of re-ranging that was done with analog transmitters no longer applies.

The Pressure Type edit box specifies whether the static pressure is measured as gage or absolute pressure. Valid values are Absolute and

Gage. The default value is Absolute. The control is enabled for the

SCADAPack 4202 or 4203 and 4102 transmitters, and is disabled for other transmitters.

The Atmospheric Pressure specifies the local atmospheric pressure. The atmospheric pressure is the weight of the atmosphere on the surface of the

Realflo User and Reference Manual

May 19, 2011

299

Realflo Expert Mode Reference

Earth. Valid values are 0 to 30 psia, or equivalent values in other units. The default value is 0 psia. The control is disabled if the Pressure Type is

Absolute. The control is enabled for the SCADAPack 4202, 4203 and 4102 transmitters, and is disabled for other transmitters.

Realflo User and Reference Manual

May 19, 2011

300

Realflo Expert Mode Reference

Display Module Page

The Display Module page sets items that will be displayed on the MVT transmitter display.

The Available Items list will contain possible items that can be displayed.

The number of available items will vary depending on how many flow runs are configured. The table below shows the available items.

Item

DP

SP

PT

Current Time

Run ID

Orifice Plate Size

Calculation State

Flow Volume Rate

Flow Mass Rate

Flow Energy Rate

Flow Time

Today‟s Flow Volume

Notes

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available

Realflo User and Reference Manual

May 19, 2011

301

Custom Item Dialog

Realflo Expert Mode Reference

Item

Yesterday‟s Flow Volume

Pulses

Relative Density

Pipe Diameter

Atmospheric pressure

Battery Voltage

Notes

One selection for each flow run is available

One selection for each flow run is available

One selection for each flow run is available for flow computers with version 6.00 and higher.

One selection for each flow run is available

One selection for each flow run is available

This item is available for

SolarPack 410 controllers only.

The Proposed Items list contains the items are ready to be displayed. The order of the items in the list is the same as the order that the items will be shown on the display. A maximum of 12 items can be added to the

Proposed Items list. A maximum of 5 custom display registers can be added to the list. It is permitted to have the same item in the list multiple times.

Clicking on the Add button will move selected items from the Available

Items list to the Configured Items list. The Add button is disabled if there is not enough room in the Configured Items list to add the selected items, and when the Configured Items list is full. The Add button is also disabled if no items are selected in the Available Items list.

Click Add Custom to open the Add/Edit Custom Item dialog with default settings. The resulting item will be placed at the end of the Proposed Items list. The Add Custom button is disabled when the Proposed Items list is full.

A maximum of 5 custom display registers can be added.

Clicking on the Remove button will remove selected items from the

Configured Items list. Multiple items may be removed at once. The

Remove button is disabled if no items are selected in the Configured Items list.

The Display Update Interval edit-box shows the length of time that each measurement from the Configured Items list will be displayed. The valid range is from 2 to 60 seconds inclusive. The default setting is 4 seconds.

The Move Up button will move the selected item(s) in the Configured

Items list up one position each time it is clicked. The Move Up button is disabled if no item is selected in the Configured Items list or if multiple items are selected in the Configured Items list.

The Move Down button will move the selected item(s) in the Configured

Items list down one position each time it is clicked. The Move Down button is disabled if no item is selected in the Configured Items list or if multiple items are selected in the Configured Items list.

The Actual Items list contains the items that read from the controller and

Actual Display Update Rate text-box contains the display update rate that read from the controller.

Realflo User and Reference Manual

May 19, 2011

302

Realflo Expert Mode Reference

When the Add Custom button is used the Add/Edit Custom Item dialog is displayed as shown below. A maximum of 5 custom display registers can be added.

Flow Run

Type the Register number. Registers can be in the range 1 to 9999, 10001 to 19999, 30001 to 39999 and 40001 to 49999.

Select the Data Type format for the value in the register. Some data types will read two consecutive registers. The boolean data type reads a single bit.

The types are: boolean, signed, unsigned, signed double, unsigned double, floating point and ISaGRAF integer.

Type the seven character string in the Description control. This string will be displayed below the value for the first half of the display period.

Type the seven character string in the Units control. This string will be displayed below the value for the second half of the display period. This string may be scrolled to allow a scaling exponent to be displayed.

Use this command to configure the parameters for a selected meter run.

This command is disabled if the Update Readings command is enabled. The

Flow Run command opens the Select Run to Configure dialog. This dialog selects the run to be configured.

The Run drop-down list box lists the runs available. The number of runs available is set in the Flow Computer Setup dialog.

The OK button opens the Configuration - Run N dialog with the data for the selected run.

The Configuration - Run N dialog displays a maximum of eight selection tabs, depending on the flow calculation type, shown across the top of the dialog. When selected, each tab will display a page of configuration parameters in the dialog. This section provides an overview of the configuration parameters for each tab. Detailed explanations for the

configuration parameters are found in the

Inputs Tab

section.

Realflo User and Reference Manual

May 19, 2011

303

Realflo Expert Mode Reference

To select a tab move the pointer to the tab name and click the left mouse button. The seven tabs displayed will change depending on the type of flow calculation and type of compressibility calculation selected in the Input tab.

The Inputs tab defines the type of flow calculation to be performed, the type of compressibility calculation to be performed, and the configuration of the sensor inputs.

The Static Pressure tab defines the parameters for the static pressure sensor for the meter run.

The Temperature tab defines the parameters for the temperature sensor for the meter run.

The Differential Pressure tab defines the parameters for the differential pressure sensor for the meter run.

The Contract tab defines parameters for the gas measurement contract.

These parameters define the information operation of the flow computer.

The AGA-3 tab defines parameters unique to the AGA-3 calculation.

This tab is visible only if the AGA-3 calculation is selected on the Input configuration.

The AGA-7 tab defines parameters unique to the AGA-7 calculation.

This tab is visible only if the AGA-7 calculation is selected on the Input configuration.

The V-Cone tab defines parameters unique to the V-Cone calculation.

This tab is visible only if the V-Cone calculation is selected on the Input configuration.

The AGA-11 tab defines parameters unique to the AGA-11 calculation.

This tab is visible only if the AGA-11 calculation is selected on the Input configuration. This calculation type is not available for 16-bit controllers.

The AGA-8 tab defines parameters unique to the AGA-8 Detailed calculation. This tab is visible only if the AGA-8 calculation is selected on the Input configuration.

Realflo User and Reference Manual

May 19, 2011

304

Inputs Tab

Realflo Expert Mode Reference

The AGA-8 Hexanes+ tab defines the composition of the heavier gas components being measured

The NX-19 tab defines parameters unique to the NX-19 calculation. This tab is visible only if the NX-19 calculation is selected on the Input configuration.

Tabs work in the same manner. There are two columns of data on the page.

The Proposed column contains the values that will be written to the controller. The Actual column contains the values that were in the controller the last time data was read from the controller. Values in the Proposed column are colored blue if they differ from the values in the Actual column; this lets you easily located differences.

The Run Configuration dialog has the following controls at the bottom of the dialog. These controls are available and are independent of the tab selected.

The OK button saves the modified settings and closes the Run

Configuration dialog.

The Cancel button closes the Controller Configuration dialog and discards any changes. The OK button is disabled if the user is logged on with an account that is read and view only.

The Read Actual button reads the run configuration from the flow computer. Data for all property pages is read and placed in the Actual columns on the property pages. If the flow computer ID does not match the ID in the file Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.”

In SCADAPack 4202 and SCADAPack 16-bit Flow Computers with multiple flow runs, the latest AGA-8 ratios may not be read back for several minutes.

In SCADAPack 4203 and SCADAPack 314/330/334, SCADAPack 350 or

SCADAPack32 Flow Computers with multiple flow runs, the latest AGA-8 ratios may not be read back for up to a minute. New gas ratio configurations may be delayed until the other flow run has completed its current AGA-8 calculation.

The Print Run button prints the configuration data for the run.

The Export Run button exports the configuration data, for the run, to a file. Refer to the Exporting section below.

The Help button displays help for the currently open property page.

Inputs Tab defines the type of flow calculation to be performed, the type of compressibility calculation to be performed, and the configuration of the sensor inputs. The contents of the page will change depending on the selections made in the Flow Calculation and Compressibility Calculation selections.

The flow calculation needs to be stopped in order to write some of the parameters on this page to the controller. These parameters are noted with

an asterisk (*) beside the parameter title. Refer to the

Calculation Control

section for information on stopping and starting flow calculations in the flow computer.

Realflo User and Reference Manual

May 19, 2011

305

Realflo Expert Mode Reference

Realflo does not allow configuration changes if the Event Log in the flow

computer is full. Use the

Maintenance Menu

>>

Read Logs/History

command to empty the Flow Computer Event Log.

Run ID

* Input Units

The configuration of parameters for the Inputs page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed.

The flow run identification string, Run ID, is used to identify the flow run.

Enter a string up to 16 characters long in the Run ID edit box. For flow computer version 6.00 or higher, type a string up to 32 characters long.

The flow run ID is displayed in the title bar of each view window beside the run number. The flow run ID is printed on report headers beside the run number.

The run ID is not supported in older flow computers. Realflo will not read or write the run ID when an older flow computer is detected.

Select the units of measurement of input values for the meter run. Inputs may be measured in different units than the calculated results. This allows you to use units that are convenient to you for measuring inputs. The flow calculation needs to be stopped in order to write this parameter to the controller. A dropdown box allows the selection of the following unit types:

US1

US2

US3

IP

Metric1

Metric2

Metric3

Realflo User and Reference Manual

May 19, 2011

306

Realflo Expert Mode Reference

SI

US4

US5

US6

US7

US8

PEMEX

Refer to the

Measurement Units

section for information on unit types and how they are displayed.

* Flow Calculation

Select the type of flow calculation for the meter run. Realflo supports the

AGA-3 (1985 version) and AGA-3 (1992 version) for orifice meters the AGA-

7 calculations for turbine meters and the V-Cone calculations for v-cone meters. A dropdown box allows the selection of:

AGA-3 (1985)

AGA-3 (1992)

AGA-7

AGA-11 (not available for 16-bit controllers)

V-Cone

Notes:

The SolarPack 410 does not support AGA-7 calculations.

When a Realflo configuration file that is using AGA-11 flow calculation type is opened in a version of Realflo 6.75 or earlier the flow calculation type AGA-11 is not displayed and the window is blank. This is correct operation. When a new calculation type is entered, i.e. AGA-3(1992), the AGA-8 and AGA-8 Hexanes+ tabs are not displayed. To correct this select OK to close the Run Configuration dialog and then reopen it. The missing tabs are correctly displayed.

* Compressibility Calculation

Select the type of compressibility calculation for the meter run. AGA-8

Detailed and NX-19 compressibility calculations can be selected. AGA-8

Detailed is the recommended calculation for new systems as it has superior performance compared to NX-19. NX-19 is provided for legacy systems.

The flow calculation needs to be stopped in order to write this parameter to the controller. A dropdown box allows the selection of:

AGA-8

NX-19 (Not supported for PEMEX flow computers)

When NX-19 calculation is used the Input Units type needs to be selected such that the Static Pressure is in psi (pounds per square inch).

Low Flow Events

Select whether to log or ignore flow events that occur for the meter run.

Realflo can ignore all events or log low flow events. A dropdown box allows the selection of:

Realflo User and Reference Manual

May 19, 2011

307

Realflo Expert Mode Reference

Ignore

Log Low Flow

Select Ignore if the measured flow experiences these events as part of normal operation. Ignoring these events will keep the Alarm Log from overflowing. Flow accumulation stops when this alarm occurs.

When selected the Low Flow events are added to the Alarm log.

Value on Sensor Fail

The Value on Sensor Fail configuration option uses the specified value in this field as the live input value when communicating with a sensor. A dropdown list lets you select:

Use Last Known Good Value

Use Default Value

When the Use Default Value option is selected the default value is entered in the Differential Pressure, Static Pressure and the Temperature tabs. The entry window Default Value is activated in each tab when this selection is made.

When you open a file using an older file format, Realflo sets the default value of the Values on Sensor Fail field to Use Last Known Good.

When the status to a sensor changes and you select the Use Default Value option, this is added to the Event Log.

For flow computers 6.70 and later, when communication to a sensor fails and the configuration option “Use Last Known Good Value” is set to

“Use Default Value,” the flow computer needs to use the specified default value in the configuration in place of a live input value.

When communication to a sensor is restored and the configuration option for the Value on Sensor Fail field is set to use the default value, the flow computer uses the input value from the sensor as the live input value.

For flow computers prior to 6.70, the value on sensor fail is “Use Last

Known Good Value.”

Run Direction Control

The Run Direction Control option is used to indicate the direction of flow, forward or reverse, for a meter run. The flow computer calculates flow rates and accumulates flow volumes for one flow direction only for each flow run configured. In order to calculate flow rates and accumulate volume for another flow direction a second flow run needs to be configured, using the same run parameters but with an opposite flow direction setting.

Flow direction is indicated using either the value from a Differential Pressure sensor or Coriolis meter or a status register.

When using a value to indicate flow direction:

Forward flow direction is indicated by a positive (plus) value from a differential pressure sensor for AGA-3 and V-Cone applications and a positive (plus) mass flow rate value from a Coriolis meter.

Reverse flow direction is indicated by a negative (minus) value from a differential pressure sensor for AGA-3 and V-Cone applications and a negative (minus) mass flow rate value from a Coriolis meter.

Realflo User and Reference Manual

May 19, 2011

308

Realflo Expert Mode Reference

When using status to indicate flow direction the flow direction is indicated by a status register and the On Indicates value for the status register.

Forward flow direction is indicated by a status value of 1 or ON in the

Flow Direction Register when the On Indication is set to Forward.

Reverse flow direction is indicated by a status value of 1 or ON in the

Flow Direction Register when the On Indication is set to Reverse.

In many applications the flow direction is forward but in some applications there is a need to calculate reverse flow under certain conditions. An example of this would be a gas storage facility.

The selections available for Flow Direction Control are:

The Forward by Value selection will indicate the flow direction is forward when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive. When the flow direction is forward the flow computer calculates flow rates and accumulates volumes for the flow run. Using this setting when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative the flow computer does not calculate flow rates or accumulate volumes for the flow run.

The Reverse by Value selection will indicate the flow direction is reverse when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative. When the flow direction is reverse the flow computer calculates flow rates and accumulates volumes for the flow run. Using this setting when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive the flow computer does not calculate flow rates or accumulate volumes for the flow run.

The Forward by Status selection will indicate the flow direction is forward when the Flow Direction Register has a value of 1 (ON) and the On

Indication value is set to Forward. When the flow direction is forward the flow computer calculates flow rates and accumulates volumes for the flow run. Using this setting when the Flow Direction Register has a value of 0

(OFF) the flow computer does not calculate flow rates or accumulate volumes for the flow run.

The Reverse by Status selection will indicate the flow direction is reverse when the Flow Direction Register has a value of 1 (ON) and the On

Indication value is set to Reverse. When the flow direction is reverse the flow computer calculates flow rates and accumulates volumes for the flow run. Using this setting when the Flow Direction Register has a value of 1

(ON) the flow computer does not calculate flow rates or accumulate volumes for the flow run.

Flow Direction Register

The Flow Direction Register edit-box specifies which register indicates the forward or reverse flow direction status. Valid registers for the flow computer controller can be used for this setting. The default register is 1. This edit control is disabled if Flow Direction Control selection is Value. This control is hidden in GOST mode flow computers.

When using the flow direction register consider the following points:

When two configured runs are using the same status register one run is configured for forward direction and second run is configured for reverse direction.

Realflo User and Reference Manual

May 19, 2011

309

Realflo Expert Mode Reference

When more than two configured runs are using the same status register the configuration needs to be checked. There may be a logic application that uses a single status point for all runs.

On Indicates

The On Indicates drop-down selection list allows the selection of Forward or

Reverse for the status register value. The default is Forward. The control does not show up in GOST mode. The control is disabled if Status Register control is disabled.

Gas Quality Sources

This parameter is available for PEMEX versions of Realflo only. The Gas

Quality Sources control selects the source for the AGA-8 gas quality for

PEMEX applications. A dropdown box allows the selection of Gas Quality

Source as:

Manual

PEMEX Host

When Manual is selected AGA-8 gas quality can be written from the Realflo application to the flow computer. The Modbus Mapping table can also be written if the user has an Admin level account. The PEMEX interface

(PEMEX Host) cannot write gas quality settings when the source is set to manual. An error is returned to the PEMEX host if an attempt is made to write the settings to the flow computer.

When PEMEX Host is selected AGA-8 gas quality cannot be written from the Realflo application to the flow computer. Writing the Modbus Mapping table will return an error code if an attempt is made to write the AGA-8 settings to the flow computer. The PEMEX interface (PEMEX Host) is able to write gas quality settings when the source is set to PEMEX Host.

Hysteresis Units

The Hysteresis Units control selects how hysteresis is configured for the high and low level hysteresis in the Pressure, Temperature and Differential

Pressure tabs. A dropdown box allows the selection of:

Percent

Engineering Units

Realflo User and Reference Manual

May 19, 2011

310

Realflo Expert Mode Reference

Differential Pressure Tab

The controls in this tab are used to configure the differential pressure sensor for the meter run. The differential pressure controls are used only if the

AGA-3 or the V-Cone flow calculation is selected.

* Input Type

The configuration of parameters for the Differential Pressure page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed. Parameter ranges are determined by the selection of the Input Units.

The tap location for the orifice meter as used in the gas flow calculation by

Realflo is as follows:

For AGA-3 1985 flange taps are used.

For AGA-3 1992 flange taps are used.

For V Cone meters the tap provided with the V-Cone element is used.

The type of register used for the Input Register. A dropdown box allows the selection of:

Telepace Integer 16

–bit signed integer register.

Float Floating-point register in engineering units.

Raw Float Floating point register requiring scaling.

ISaGRAF integer 32-bit signed integer register in ISaGRAF format.

4202 DR The internal 4202DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DR.

4202 DS The internal 4202 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DS.

4203 DR The internal 4203 DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DR.

4203 DS The internal 4203 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DS.

Realflo User and Reference Manual

May 19, 2011

311

Realflo Expert Mode Reference

SolarPack 410 The internal SolarPack 410 replaces the first MVT

(transmitter 1) on the MVT list when the controller type is set to

SolarPack 410.

Configured MVT If there are configured MVT transmitters they are

displayed in the format number (tag name). Refer to the

Sensor and

Display

section for details on configuring MVT transmitters.

Refer to the

Register Formats

section for more information and examples for register types.

* Input Register

The Input Register is the address of the register in the Flow Computer I/O database that contains the reading from the differential pressure sensor.

The I/O database register will be an input register (3xxxx) or a holding register (4xxxx). The flow calculation needs to be stopped in order to write this parameter to the controller. If an MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input Type selection this entry is disabled.

Input at Zero Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. This field is grayed if the register type does not require scaling. If an MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input

Type selection this entry is disabled.

Input at Full Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at full scale. This field is grayed if the register type does not require scaling. If an MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input

Type selection this entry is disabled.

Differential Pressure at Zero Scale

The differential pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum DP that can be read from the sensor. If a MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input Type selection this entry is disabled and the value is forced to that of the MVT Lower Operating Limit.

Differential Pressure at Full Scale

The differential pressure that corresponds to the full scale input, or if the input does not require scaling, the maximum DP that can be read from the sensor. If an MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input Type selection this entry is disabled and the value is forced to that of the MVT Upper Operating Limit.

Low DP Cutoff

This is the scaled input differential pressure where flow accumulation will stop. Valid values depend on the transmitter: refer to the transmitter band or user manual. It needs to be less than the UOL. The default value is 0.

Low DP Hysteresis

This is the amount, in percent of span, that the differential pressure needs to rise above the Low DP Cutoff to clear the low alarm and allow the flow calculations to resume.

Default Value

Realflo User and Reference Manual

May 19, 2011

312

Realflo Expert Mode Reference

The Default Value edit box is enabled when the Input Type is set to a sensor and when the Values on Sensor Fail option on the Inputs tab is configured to Use Default Value.

The value you can enter in Default Value edit box needs to be a range that is checked against the sensor configuration. The actual value needs to be uploaded from the controller when you click Read Actual.

Realflo User and Reference Manual

May 19, 2011

313

Realflo Expert Mode Reference

Static Pressure Tab

The controls in this tab are used to configure the static pressure sensor for the meter run. The static pressure used in the flow calculations is either gauge pressure or absolute.

Gauge pressure is the pressure that a normal sensor would register. These sensors measure the pressure that is in excess of the atmospheric pressure. An atmospheric pressure value needs to be entered when gauge pressure sensors are used.

Absolute pressure sensors measure pressure relative to zero pressure

(vacuum). An atmospheric pressure value of zero needs to be entered when absolute pressure sensors are used.

* Input Type

The configuration of parameters for the Static Pressure page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed. Parameter ranges are determined by the selection of the Input Units.

The tap location for static pressure as used in the gas flow calculation by

Realflo is as follows:

For AGA-3 1985 flange taps are used.

For AGA-3 1992 flange taps are used.

For V Cone meters the tap provided with the V-Cone element is used.

The type of register used for the Input Register. A dropdown box allows the selection of:

Telepace Integer 16

–bit signed integer register.

Float Floating-point register in engineering units.

Raw Float Floating point register requiring scaling.

Realflo User and Reference Manual

May 19, 2011

314

Realflo Expert Mode Reference

ISaGRAF integer 32-bit signed integer register in ISaGRAF format.

4202 DR The internal 4202 DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DR.

4202 DS The internal 4202 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DS.

4203 DR The internal 4203 DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DR.

4203 DS The internal 4203 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DS.

SolarPack 410 The internal SolarPack 410 replaces the first MVT

(transmitter 1) on the MVT list when the controller type is set to

SolarPack 410.

Configured MVT If there are configured MVT transmitters they are

displayed in the format number (tag name). Refer to the

Sensor and

Display

section for details on configuring MVT transmitters.

Refer to the

Register Formats

section for more information and examples

for register types.

* Input Register

The Input Register is the address of the register in the Flow Computer I/O database that contains the reading from the pressure sensor. The I/O database register is an input register (3xxxx) or a holding register (4xxxx).

The flow calculation needs to be stopped in order to write this parameter to the controller. If a SCADAPack 4202 or 4203 or MVT transmitter is selected in the Input Type selection this entry is disabled.

Input at Zero Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. This field is grayed if the register type does not require scaling. If a SCADAPack 4202 or 4203 or MVT transmitter is selected in the Input

Type selection this entry is disabled.

Input at Full Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at full scale. This field is grayed if the register type does not require scaling. If a MVT or a SCADAPack 4202 or 4203 transmitter is selected in the Input

Type selection this entry is disabled.

Pressure at Zero Scale

The pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor.

If a SCADAPack 4202 or 4203 or MVT transmitter is selected in the Input

Type selection this entry is disabled and the value is forced to that of the

MVT Lower Operating Limit.

Pressure at Full Scale

The pressure that corresponds to the full scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. If a MVT transmitter or a SCADAPack 4202 or 4203 transmitter is selected in the Input Type selection this entry is disabled and the value is forced to that of the MVT Upper Operating Limit.

* Tap Location

Realflo User and Reference Manual

May 19, 2011

315

Realflo Expert Mode Reference

This is the location of the static pressure pipe tap. The flow calculation needs to be stopped in order to write this parameter to the controller. A dropdown box allows the selection of:

Up

Down upstream pressure tap location. downstream pressure tap location.

Pressure Type

Atmospheric Pressure

The atmospheric pressure is the weight of the atmosphere on the surface of the Earth. At sea level this value is approximately 101.3 kPa. The value entered needs to be the local atmospheric pressure for the flow computer.

This control is disabled and forced to 0 if the Pressure Type is set to

Absolute Pressure.

The control is disabled if the Input Type is set to MVT and the MVT is a

SCADAPack 4202, 4203 or 4102. Its value is set equal to the MVT atmospheric pressure.

The control is disabled if the Compressibility Calculation type is set to

NX-19. The Static Pressure is set to Gage and the Atmospheric pressure is 14.7psi when NX-19 is selected.

The atmospheric pressure entered needs to be greater than zero. The maximum upper limits for atmospheric pressure are:

30 psi and PEMEX units for US1, US2, US3, US4, US5, US6, US7, US8,

4320 lbf/ft2 for IP units

207

2.07 bar kPa for Metric1 units for Metric2 units

0.207 MPa for Metric3 units

207000 Pa for SI units

Location

The Pressure Type selects if the static pressure is measured as gage or absolute pressure. A dropdown box allows the selection of:

Absolute Pressure

Gage Pressure

The control is disabled if the Input Type is set to MVT and the MVT is a

SCADAPack 4202, 4203 or 4102 controller. Its value is set equal to the

MVT pressure type.

The control is disabled if the Compressibility Calculation type is set to NX-

19. The Static Pressure is set to Gage and the Atmospheric pressure is

14.7psi when NX-19 is selected.

Location compensation is only to be used for cases where the static pressure is calibrated using a dead-weight tester. Location compensation adjusts for differences in the gravitational effect on the weights which is primarily dependent on latitude, and elevation. This is due to the centripetal effect of the spinning earth counteracting the effects of gravity. The compensation is not to be used when a pressure measurement is used as a reference instead of placing a specific amount of weight on a dead-weight tester to establish the reference pressure.

Realflo User and Reference Manual

May 19, 2011

316

Altitude

Latitude

Default Value

Realflo Expert Mode Reference

Measurement of the static pressure can be compensated for altitude and latitude. An algorithm is given in the Manual of Petroleum Measurement

Standards, Chapter 21, Section 2, Appendix E, published by the American

Petroleum Association. The algorithm for pressure compensation is used and the temperature compensation factor is not used.

The flow computer applies the compensation to the static pressure reading as it is input to the flow computer. The input pressure is multiplied by the compensation factor and then used by the flow computer whenever the static pressure is used or displayed.

Shown below are some calculated location compensation factors for different locations below.

Ottawa, ON: the compensation factor applied is 1.0000717 (Alt=374ft,

Lat=45deg)

Calgary, AB: the compensation factor applied is 0.994447 (Alt=3438Ft,

Lat=51deg)

Midland, TX: the compensation factor applied is 1.001445 (Alt=2800Ft,

Lat=32deg)

For example in Midland TX, an input pressure of 500psi with applied location compensation would result in:

500 psi * 1.001445 = 500.7225psi

A dropdown box allows the selection of:

Ignore

Compensate

Do not compensate for altitude and latitude.

Compensate for altitude and latitude.

Note that calibration needs to be performed at the location entered for the altitude and latitude compensation when Compensate is selected.

The Altitude is the height above sea level of the location where the sensor is located. The altitude is measured in feet for US unit sets and meters for SI unit sets. This control is disabled if the Location is set to Ignore. Valid inputs are

–30000 to 30000.

The Latitude is the latitude in decimal degrees of the location where the sensor is located. This control is disabled if the Location is set to Ignore.

Valid inputs are

–90 to 90.

The Default Value edit box is enabled when the Input Type is set to a sensor and when the Values on Sensor Fail option on the Inputs tab is configured to Use Default Value.

The value you can enter in Default Value edit box needs to be a range that is checked against the sensor configuration. The actual value needs to be uploaded from the controller when you click Read Actual.

Realflo User and Reference Manual

May 19, 2011

317

Temperature Tab

Realflo Expert Mode Reference

The controls in this tab are used to configure the flow temperature sensor for the meter run.

* Input Type

The configuration of parameters for the Temperature page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed. Parameter ranges are determined by the selection of the Input Units.

The type of register used for the Input Register. A dropdown box allows the selection of:

Telepace Integer 16

–bit signed integer register.

Float Floating-point register in engineering units.

Raw Float Floating point register requiring scaling.

ISaGRAF integer 32-bit signed integer register in ISaGRAF format.

Coriolis Meter Temperature in engineering units read from the

Coriolis meter. This selection is available only when AGA-11 is selected as the flow calculation type.

4202 DR The internal 4202 DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DR.

4202 DS The internal 4202 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4202 DS.

4203 DR The internal 4203 DR replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DR.

4203 DS The internal 4203 DS replaces the first MVT (transmitter 1) on the MVT list when the controller type is set to 4203 DS.

SolarPack 410 The internal SolarPack 410 replaces the first MVT

(transmitter 1) on the MVT list when the controller type is set to

SolarPack 410.

Realflo User and Reference Manual

May 19, 2011

318

Realflo Expert Mode Reference

Configured MVT If there are configured MVT transmitters they are

displayed in the format number (tag name). Refer to the

Sensor and

Display

section for details on configuring MVT transmitters.

Refer to the

Register Formats

section for more information and

examples for register types.

* Input Register

The Input Register is the address of the register in the Flow Computer I/O database that contains the reading from the temperature sensor. The I/O database register will be an input register (3xxxx) or a holding register

(4xxxx). The flow calculation needs to be stopped in order to write this parameter to the controller. If an MVT or a SCADAPack 4202 or 4203 controller is selected in the Input Type selection this entry is disabled.

Input at Zero Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. This field is grayed if the register type does not require scaling. If an MVT or a SCADAPack 4202 or 4203 controller is selected in the Input

Type selection this entry is disabled.

Input at Full Scale

The value read from the sensor, in unscaled I/O units, when the sensor is at full scale. This field is grayed if the register type does not require scaling. If an MVT or a SCADAPack 4202 or 4203 controller is selected in the Input

Type selection this entry is disabled.

Temperature at Zero Scale

The temperature that corresponds to the zero scale input, or if the input does not require scaling, the minimum temperature that can be read from the sensor. If an MVT or a SCADAPack 4202 or 4203 controller is selected in the Input Type selection this entry is disabled and the value is forced to that of the MVT Lower Operating Limit.

Temperature at Full Scale

The temperature that corresponds to the full scale input, or if the input does not require scaling, the maximum temperature that can be read from the sensor. If an MVT or a SCADAPack 4202 or 4203 controller is selected in the Input Type selection this entry is disabled and the value is forced to that of the MVT Upper Operating Limit.

Default Value

The Default Value edit box is enabled when the Input Type is sset to a sensor and when the Values on Sensor Fail option on the Inputs tab is configured to Use Default Value.

The value you can enter in Default Value edit box needs to be a range that is checked against the sensor configuration. The actual value needs to be uploaded from the controller when you click Read Actual.

Realflo User and Reference Manual

May 19, 2011

319

Turbine Tab

Realflo Expert Mode Reference

The controls in this tab are used to configure the turbine input for the meter run. The turbine controls are displayed only if the AGA-7 flow calculation is selected on the Inputs property page.

The configuration of parameters for the Turbine page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed.

* Input Type

This is the type of value found in the Input Register. A dropdown box allows the selection of:

Telepace long 32-bit unsigned integer in Telepace format.

ISaGRAF integer 32-bit signed integer in ISaGRAF format.

* Input Register

The Input Register is the address of the register in the Flow Computer I/O database that contains the reading (number of pulses) from the turbine meter. The I/O database register will be an input register (3xxxx). The flow calculation needs to be stopped in order to write this parameter to the controller.

Low Flow Pulse Limit

The number of pulses below which a low flow alarm will occur. The default value is 10.

Low Flow Detect Time

The length of time the number of pulses needs to remain below the Low

Flow Pulse Limit for a low flow alarm to occur. Valid values are 1 to 5 seconds. The default value is 5.

Contract Tab

Contract Configuration defines parameters for the gas measurement contract. This is referred to as contract configuration because these parameters are often defined by a contract for selling gas.

Realflo User and Reference Manual

May 19, 2011

320

Realflo Expert Mode Reference

With Realflo versions 6.0 and newer the Input Error Action control is no longer available on the Contract tab. When the configuration is written to the flow computer and Realflo detects an older flow computer (5.28 flow computers and earlier) the Input Error Action is automatically written as Do

Not Accumulate Flow.

To enable flow accumulation for 5.28 flow computers and earlier check that the limits selected for the Differential Pressure, Static Pressure or

Temperature inputs do not result in an Input Error condition for your application.

Additional Notes:

The flow calculation needs to be stopped to write the parameters on this page to the controller.

If changes are written to the controller a new hour and day are started in the history logs.

* Contract Units

The configuration of parameters for the Contract page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed. Parameter ranges are determined by the selection of the

Contract Units.

These are the units of measurement for the contract (calculated) values.

These units are used for outputs from the flow calculations for the meter run.

This value may be different from the units used as inputs to the calculations.

A dropdown box allows the selection of:

US1

US2

US3

IP

Metric1

Realflo User and Reference Manual

May 19, 2011

321

Realflo Expert Mode Reference

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

Pemex contract units are not supported on 16-bit controllers.

Refer to the

Measurement Units

section of for information on unit types

and how they are displayed.

* Base Temperature

This is the reference temperature to which contract flow values are corrected. The temperature units are displayed depending on the contract units selected.

* Base Pressure

This is the reference pressure to which contract flow values are corrected.

The base pressure is measured as absolute pressure (not a gauge pressure). The pressure units are displayed depending on the contract units selected.

Standard Conditions

The Standard Conditions button sets default values for the Base

Temperature and Base Pressure controls. The conditions are based on the

Contract Units.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

60 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

101.325 kPa

1.01325 bar

0.101325 Mpa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

2

* Contract Hour

The hour of the day that starts a new contract day. The contract day begins at 00 minutes and 00 seconds of the specified hour. The contract hour is specified using a 24-hour clock, 00 through 23 hours.

Realflo User and Reference Manual

May 19, 2011

322

Realflo Expert Mode Reference

** Wet Gas Meter Factor

This parameter is an adjustment to the volume, mass and energy values when there is water in the flow. Typically a test is conducted to determine the water content of the gas to be measured. The Wet Gas Meter Factor is applied to the volume, mass and energy values to get a corrected value. For example: if the water content is determined to be 5% then the meter factor is

0.95.

For Realflo versions 6.01 To 6.20, changing Wet Gas Meter Factor requires a new contract day to be started, as the flow calculation has to be stopped.

For Realflo version 6.21 and later, changing the Wet Gas Meter Factor can be accomplished without stopping the flow calculations. This means that a new a new contract day does not have to be started when this parameter needs to be changed.

PEMEX Base Conditions

* Base Temperature

This is the reference temperature to which contract flow values are corrected. The temperature units are displayed depending on the contract units selected.

* Base Pressure

This is the reference pressure to which contract flow values are corrected.

The base pressure is measured as absolute pressure (not a gauge pressure). The pressure units are displayed depending on the contract units selected.

PEMEX Conditions Button

The Secondary Conditions button sets default values for the secondary

Base Temperature and Base Pressure controls. The conditions are based on the Contract Units.

Standard Base Pressure Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

68 F

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 Mpa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.2233 psi

Realflo User and Reference Manual

May 19, 2011

323

Realflo Expert Mode Reference

AGA-3 Configuration

AGA-3 Configuration defines parameters unique to the AGA-3 calculation.

This tab is visible only if the AGA-3 calculation is selected on the Inputs tab for the meter run.

The Warnings area shows messages if the parameters entered are outside the bounds of the regression database used to create the AGA-3 standard.

The calculation may be used outside these bounds, but the results are extrapolated. The calculated flow may not be accurate. It is the user‟s responsibility to decide if the values used are appropriate.

There are two messages on the configuration page. These are grayed if they unless they apply.

If the orifice diameter is smaller than the specification suggests, the message

“The orifice diameter is less than 0.45 inches (11.4 mm). The calculated flow may not be accurate. The user needs to accept responsibility

for the selection.” is displayed.

If the beta ratio is larger than the specification suggests, the message

The

ratio of orifice diameter to pipe diameter (beta ratio) is greater than 0.75.

The calculated flow may not be accurate. The user must accept responsibility for the selection

.” is displayed.

Orifice Material

The configuration of parameters for the AGA-3 page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed.

The material the orifice plate for the meter run is made of. A dropdown box allows the selection of:

Stainless Steel

Monel

Carbon Steel

Pipe Material

Realflo User and Reference Manual

May 19, 2011

324

Realflo Expert Mode Reference

The material the meter run pipe is made of. A dropdown box allows the selection of:

Stainless Steel

Monel

Carbon Steel

Orifice Diameter

The diameter of the meter run orifice used for the flow calculation. The measurement units are displayed depending on the input units selected.

Orifice reference temperature

This is the temperature at which the diameter of the meter run orifice was measured. The measurement units are displayed depending on the input units selected.

Pipe Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

Isentropic exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy.

If you are unsure of this value a typical value of 1.3 is commonly used.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected.

Temperature Deadband

The tolerated change in the flowing temperature before temperature dependent factors in the flow calculation are recalculated. Changes in the temperature smaller than the deadband will be ignored in determining the result. The default value is 0. The upper limit is 7°F or 4°C.

Static Pressure Deadband

The tolerated changes in the static pressure before static pressure dependent factors in the flow calculation are recalculated. Changes in the static pressure smaller than the deadband will be ignored in determining the result. A static pressure deadband setting of up to four per cent of the typical static pressure level should have a small effect on the accuracy of the AGA-

3 calculation. The default value is 0. The upper limit is 800 psi or 5500 kPa or equivalent in other units.

Differential Pressure Deadband

The tolerated changes in the differential pressure before differential pressure dependent factors in the flow calculation are recalculated.

Changes in the differential pressure smaller than the deadband will be ignored in determining the result. A change of N in the differential pressure input will cause a change of 0.5 N in the calculation volume at base conditions. It is recommended that the differential pressure deadband be set

Realflo User and Reference Manual

May 19, 2011

325

Realflo Expert Mode Reference to zero. The default value is 0. The upper limit is 4.5 inWC or 1.1 kPa or equivalent in other units.

Realflo User and Reference Manual

May 19, 2011

326

Realflo Expert Mode Reference

AGA-7 Configuration

AGA-7 Configuration defines parameters unique to the AGA-7 calculation.

This tab is visible only if the AGA-7 calculation is selected in the Inputs tab section for the meter run.

K Factor

M Factor

The configuration of parameters for the AGA-7 page is done using entry fields or dropdown selections for each parameter. The following edit controls are displayed.

This is the number of pulses per unit volume of the turbine meter. Valid values are 0.001 to 1000000. The default value is 100.

This is the adjustment to the number of pulses per unit volume for the turbine meter compared to an ideal meter. Valid values are 0.001 to 1000.

The default value is 1.

The SolarPack 410 does not support AGA-7 calculations.

Realflo User and Reference Manual

May 19, 2011

327

Realflo Expert Mode Reference

AGA -11 Configuration

AGA-11 configuration defines parameters unique to the AGA-11 calculation.

This tab is visible only if the AGA-11 calculation is selected in the Flow

Calculation type selection in the Inputs tab for the meter run.

The AGA-11 configuration sets the Coriolis meter Modbus address, the flow computer serial port to use and the command timeout value for messages sent to the Coriolis meter.

The flow computer communicates with one or more Coriolis meters using serial communication. When a direct connection is used, i.e. a single

Coriolis meter connected, either RS-232 or RS-485 serial communication may be used. When the flow computer is communicating with multiple

Coriolis meters, or Coriolis meters and other devices, then RS-485 communication needs to be used.

The serial communication parameters for the flow computer and the Coriolis meter need to match for successful communication to take place.

In order to use an Endress and Hauser Promass 83 Coriolis meter it needs to have the following parameters configured through the local display to match the settings that the Flow Computer will use:

Address (factory setting is 247)

Baud rate (factory setting is 19200)

Parity (factory setting is Even)

Write protection needs to be OFF (factory setting is OFF)

Transmission mode needs to be RTU (factory setting is RTU)

The flow computer serial port settings are configured from the Serial Ports

command. The serial port settings for the serial port used by the flow computer and the Coriolis meter need to match.

NOTES:

If the Promass 83 is installed in a multi-drop fashion the only permitted

Modbus master device is the Flow Computer (address 1) that is configured to poll the Promass 83. Additional master devices or a second Flow Computer polling the Promass 83 can result in communication not succeeding.

SCADAPack 4102, 4012 and 4032 transmitters and Rosemount 3095 sensors have the parity setting fixed at No parity and 1 stop bit. The

Promass 83 Coriolis meter No parity setting requires 2 stop bits. When these sensors are used by the flow computer they need to use another serial port on the flow computer.

SCADAPack 4202 and 4203 sensors may be used on the same serial port as the Promass 83 Coriolis meter.

Realflo User and Reference Manual

May 19, 2011

328

Realflo Expert Mode Reference

Address

Port

Timeout

This is the Modbus address of the Coriolis Meter for serial communications.

Multiple Coriolis meters using the same serial port on the flow computer need to each have a unique Modbus address. Valid Modbus addresses are between 1 and 247. The default address is 247.

This is the communication port on the flow computer that will be used to communicate with the Coriolis meter. Valid port selections depend on the type of controller the flow computer running on. The default port is the first valid port available on the controller.

This is the time the flow computer will wait for a response for Modbus read commands send to the Coriolis meter. When the timeout time is exceeded the command is unsuccessful and an alarm is added to the flow computer alarm list. Valid timeout values are from 0 to 1000 ms. The default value is

50 ms.

Realflo User and Reference Manual

May 19, 2011

329

Realflo Expert Mode Reference

V-Cone Configuration

V-Cone Configuration defines parameters unique to the V-Cone calculation.

This tab is visible only if the V-Cone calculation is selected in the Flow

Calculation type selection in the Inputs tab for the meter run.

Cone Material

This is the material of the V-cone. Valid values are Carbon Steel, Stainless

304, and Stainless 316. The default value is determined by the template selected.

Pipe Material

This is the material from which the meter run pipe is made. Valid values are

Carbon Steel, Stainless 304, and Stainless 316. The default value is determined by the template selected.

Adiabatic Expansion Factor

The Adiabatic Expansion Factor drop down list selects which calculation is used for the adiabatic expansion factor of the calculation.

Select Legacy Calculation to use the older calculation method. This is the default selection. Flow computers prior to version 6.71 support only this selection.

Select V-Cone to use the V-Cone specific calculation. This selection should be used with V-Cone devices.

Select Wafer-Cone to use the Wafer-Cone specific calculation. This selection should be used with Wafer-Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

When reading from a flow computer that does not support the adiabatic expansion factor configuration, the method will be set to Legacy Calculation.

When writing to a flow computer that does not support the adiabatic expansion factor method, the configuration registers will be ignored and the expansion factor will not be written.

Realflo User and Reference Manual

May 19, 2011

330

Realflo Expert Mode Reference

Cone Diameter

The diameter of the meter run cone used for the flow calculation. The measurement units are displayed depending on the input units selected.

The default value is 3 inches.

Cone Measurement Temperature

This is the reference temperature at which the cone diameter for the meter run was measured. The measurement units are displayed depending on the input units selected. The default value is 59 degrees F.

Pipe Inside Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

The default value is 5 inches.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

The default value is 59 degrees.

Isentropic Exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected. Valid values are 0 to 1. The default value is 0.010268 centiPoise.

Wet Gas Correction Factor

The Wet Gas Correction Factor Method drop down list selects which calculation is used for the wet gas correction factor of the calculation.

Select Legacy Method to use the older correction method. This is the default selection. Flow computers prior to version 6.73 support only this selection.

Select V-Cone or Wafer Cone to use the V-Cone and Wafer Cone specific calculation. This selection should be used with V-Cone or Wafer

Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

The V-Cone or Wafer Cone supported Beta Ratios are:

For Fr (Froude Number) < 5 supported Beta Ratio is 0.55.

For Fr (Froude Number) < 5 supported Beta Ratio is 0.75.

For Fr (Froude Number) > 5 supported Beta Ratio is 0.75.

When V-Cone or Wafer Cone is selected and if the current Beta ratio is not supported when executing verification, an error message is displayed.

Realflo User and Reference Manual

May 19, 2011

331

Realflo Expert Mode Reference

Mass Flow Rate of Liquid

The Mass flow rate of liquid at flow conditions parameter is used by the V-

Cone or Wafer Cone method and can be configured when V-Cone or Wafer

Cone is selected. This information needs to be gathered using a sampling method or a tracer method. The default is 0.

Density of Liquid

The Density of liquid parameter is used by the V-Cone or Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected.

The default is 0.

Density of Liquid

The Density of liquid at flow conditions parameter is used by the V-Cone or

Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected. The default is 0.

Flow Coefficients

When V-Cone or Wafer Cone is selected, configuration of the fixed wet gas factor parameter, as set in the Contract tab, is disabled.

When Legacy Method is selected, configuration of the parameters used by the V-Cone or Wafer Cone method is disabled.

Reynolds number and flow coefficient pairs are entered in a table editor.

The flow coefficient pairs are entered from the calibration data sheet that accompanies the V-Cone Meter. The table is a list view sorted by the

Reynolds number column. The default list contains one pair: Re = 1000000;

Cf = 0.82.

The Add button adds an entry to the table. Up to 10 pairs may be added to the table. The button is grayed if the table is full. If the Re value is the same for all entries in the table only the first pair is used.

The Edit button edits the selected entry. The button is grayed if no entry is selected.

The Delete button removes the selected entry. The button is grayed if no entry is selected.

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for all entries in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

Realflo User and Reference Manual

May 19, 2011

332

Realflo Expert Mode Reference

AGA-8 Configuration

AGA-8 Configuration defines parameters unique to the AGA-8 Detailed calculation. This tab is visible only if the AGA-8 calculation is selected in the

Inputs tab for the meter run.

In Flow Computer versions 6.74 and newer when gas ratios are written to the flow computer using the Write Configuration command the new gas ratios are updated in the Configuration Proposed registers and in the

Configuration Actual registers. This allows a Realflo user or SCADA host to immediately confirm the new ratios were written to the flow computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

The configuration of parameters for the AGA-8 page are entered using entry fields or dropdown selections for each parameter. The following edit controls are displayed.

The AGA-8 configuration defines the composition of the gas being measured. The gas composition can be made up of a number of components. These components are usually represented as either a percentage of the gas being measured i.e. 0 to 100% or as a fraction of the gas being measured i.e. 0 to 1.0000.

For each component listed, enter the fraction of the gas that the component represents.

See the AGA-8 Gas Component Range table below for the valid entry range of each gas component.

The value entered needs to be in the range 0 to 1.0000 if Composition

Units value is set to Mole Fractions.

The value entered needs to be in the range 0 to 100% if Composition

Units is set to Percent.

Realflo User and Reference Manual

May 19, 2011

333

Realflo Expert Mode Reference

The Total of all Components field displays the sum of all components. The total of all components needs to be 1.0000 (+/- 0.00001) if Composition

Units is set to Mole Fractions or 100% (+/- 0.00001%) if Composition

Units is set to Percent.

Hexane and higher components may be measured individually or may be combined. This affects the n-Hexane, n-Heptane, n-Octane, n-Nonane, and n-Decane components. This setting is on the AGA-8 Hexanes+ tab.

Hexanes+ is the fraction of the gas that is composed of hexane and higher components. This value is included in the total of all components. This component is visible if Combined Hexanes+ Ratios are selected, and is hidden if individual ratios are selected.

The Relative Density and Heating Value can be calculated from the AGA-

8 calculation or determined in a laboratory.

Select Calculate the Values to have AGA-8 calculate the values.

o The calculated Relative Density is displayed in the Calculated

Compressibility section of the Current Readings view. This is

the real relative density of the gas.

o The calculated Heating Value is displayed in the Calculated

Compressibility section of the Current Readings view. The

heating value is calculated for dry gas.

Select Use Laboratory Values to used fixed values. o Relative Density sets the real relative density of the gas. Valid values are 0.07 to 1.52. The default value is 0.554. This control is disabled if Calculate the Values is selected.. o Heating Value sets the heating value of the dry gas. Valid values are 0 to 1800 BTU(60)/ ft

3

or the equivalent in the selected units. The default value is 1014 BTU(60)/ft

3

or the equivalent in the selected units. This control is disabled if

Calculate the Values is selected.

The Configuration Events dropdown list control selects if the flow computer logs AGA-8 gas composition changes. The AGA-8 gas composition can be changed while the flow calculation is running. This allows an on-line gas chromatograph to provide updates to the gas composition. Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log.

A dropdown box allows the selection of:

Log Changes

Ignore

Log all gas composition changes.

Disable logging of gas composition changes.

The default setting is Log Changes.

The Composition Units drop-down list control selects the units used to enter the AGA-8 composition.

Select Mole Fractions to enter the composition in fractions.

Select Percent to enter the composition in percent.

The default setting is Percent.

Realflo User and Reference Manual

May 19, 2011

334

Realflo Expert Mode Reference

The Normalize button adjusts all non-zero components so that the total of all components is 1.0000 (or 100.00%). The components remain in their current ratio to each other.

The Default button sets components to default values. The methane component is set to 1 (or 100%). All other components are set to 0.

AGA-8 Gas Component Ranges

The range of the fractional values of the components cannot be predetermined. The gas components are shown in the table below. There are two ranges shown for each gas component. Realflo accepts any value in the Expanded Range. Only values in the Normal Range will work in all circumstances.

The run-time error message

“Bracket derivative negative” occurs when the combination of the components at the current pressure and temperature results in an error. The AGA-8 calculation will produce a result even if the error occurs, but the accuracy of the result is not guaranteed.

Component Normal Range Expanded Range

Methane CH

4

Nitrogen

Hydrogen

Carbon Dioxide

Ethane C

2

H

6

Propane C

3

H

8

.4500 to 1.0000 0 to 1.0000

0 to 0.5000 0 to 1.0000

0 to 0.3000 0 to 1.0000

0 to 0.1000

0 to 0.0400

Water 0 to 0.0005

Hydrogen Sulfide 0 to 0.0002

0 to 0.1000

0 to 1.0000

0 to 0.1200

0 to 0.0300

0 to 1.0000

0 to 1.0000

Carbon Monoxide 0 to 0.0300

Oxygen 0

0 to 0.0100 Total Butanes

 iButane

 nButane

Total Pentanes

 iPentane

 nPentane

0 to 0.0300

0 to 0.0200 Total Hexane Plus

 nHexane nHeptane

 nOctane

 nNonane

 nDecane

Helium

Argon

0 to 0.0200

0

0 to 0.0300

0 to 0.2100

0 to 0.0600

0 to 0.0400

0 to 0.0400

0 to 0.0300

0 to 0.0100

Realflo User and Reference Manual

May 19, 2011

335

Realflo Expert Mode Reference

AGA-8 Hexanes +

AGA-8 Hexanes+ Configuration defines parameters unique to the AGA-8

Detailed calculation. This tab is visible only if the AGA-8 calculation is selected in the Inputs tab for the meter run. Settings on this tab affect settings on the AGA-8 tab.

The AGA-8 Hexanes+ configuration defines the composition of the heavier gas components being measured. There are two options.

The Individual option disables all controls on the property page and all gas components are entered on the AGA-8 tab.

The Combined option enables the edit controls for the portion of the

Hexanes+ ratio that is applied to each of the listed gas component. These portions are represented as a percentage of the gas components being measured i.e. 0 to 100%.

 n-Hexane defines the percentage of the Hexanes+ contributed by n-

Hexane.

 n-Heptane defines the percentage of the Hexanes+ contributed by n-

Heptane.

 n-Octane defines the percentage of the Hexanes+ contributed by n-

Octane.

 n-Nonane defines the percentage of the Hexanes+ contributed by n-

Nonane.

 n-Decane defines the percentage of the Hexanes+ contributed by n-

Decane.

The Total field displays the sum of portions. This value cannot be edited.

The total of portions needs to be 100 percent.

The Copy Actual to Proposed button copies the values in the actual column to the proposed column.

The Normalize button adjusts non-zero portions so that the total of portions is 100.00%. The portions remain in their current ratio to each other.

Realflo User and Reference Manual

May 19, 2011

336

Realflo Expert Mode Reference

NX-19 Configuration

NX-19 Configuration defines parameters unique to the NX-19 calculation.

This tab is visible only if the NX-19 calculation is selected on the Inputs tab.

This is not supported for PEMEX flow computers.

The configuration of parameters for the NX-19 page is done using entry fields for each parameter. The following edit controls are displayed.

The Specific Gravity edit box is used to enter the specific gravity of the gas being measured.

The Fraction of Carbon Dioxide edit box is used to enter the fractional value of carbon dioxide in the gas being measured. This value needs to be in the range 0 to 0.15.

The Fraction of Nitrogen edit box is used to enter the fractional value of nitrogen in the gas being measured. This value needs to be in the range 0 to

0.15.

The Heating Value edit box is used to enter the heating value of the gas being measured. The units are displayed depending on the contract units selected.

The Configuration Events control selects if the flow computer logs NX-19 gas composition changes. The NX-19 gas composition can be changed while the flow calculation is running. This allows an on-line gas chromatograph to provide updates to the gas composition. Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log.

A dropdown box allows the selection of:

Log Changes Log all gas composition changes.

Ignore Disable logging of gas composition changes.

The default setting is Log Changes.

Realflo User and Reference Manual

May 19, 2011

337

Register Formats

Realflo Expert Mode Reference

Select Log Changes to log all gas composition changes. Select Ignore to disable logging of gas composition changes. The default setting is Log

Changes.

Input configuration values are stored in the controller I/O database registers in the following formats.

Register Type

Telepace integer

Registers Description

1 Signed integer in the range

–32768 to 32767

Telepace long 2 Unsigned long integer in the range 0 to 4,294,967,295. The lower numbered register contains the lower

16 bits of the number. float 2 raw float

ISaGRAF integer

2

2

Floating-point value in the IEEE 754 standard. The lower numbered register contains the upper 16 bits of the number.

Floating-point value in the IEEE 754 standard. The lower numbered register contains the upper 16 bits of the number.

Signed long integer in the range

2,147,483,648 to 2,147,483,647. The lower numbered register contains the upper 16 bits of the number.

Telepace Long Example

The Telepace long integer 65550 is represented, in hexadecimal, as

0001000Eh. If this value is stored at register 30010 then:

 register 30010 contains the lower 16 bits of the value = 14 (000Eh)

 register 30011 contains the upper 16 bits of the value = 1 (0001h)

Floating Point Example

The floating-point value 1.0 is represented, in hexadecimal, as 3F800000h.

If this value is stored at register 30004 then:

 register 30004 contains the upper 16 bits of the value = 16256 (3F80h)

 register 30005 contains the lower 16 bits of the value = 0 (0000h)

ISaGRAF Integer Example

The ISaGRAF integer 65550 is represented, in hexadecimal, as 0001000Eh.

If this value is stored at register 30020 then:

 register 30020 contains the upper 16 bits of the value = 1 (0001h)

 register 30021 contains the lower 16 bits of the value = 14 (000Eh)

Process I/O

The Process I/O command configures scaling and alarms for input and output points used by your process. Input points convert integer values read from input modules into floating-point values. Output points convert floatingpoint values into integer values for output modules.

Realflo User and Reference Manual

May 19, 2011

338

Realflo Expert Mode Reference

Process I/O is normally used with I/O points that are not related to the flow runs. Use the Run Configuration command to scale inputs to flow runs.

Process I/O is available on SCADAPack 32, SCADAPack 314/330/334,

SCADAPack 350, SCADAPack 4202 or 4203 controllers and the SolarPack

410.

The Process I/O command opens the Process I/O dialog.

Number of Inputs window indicates the number of inputs in the list. On

SCADAPack, SCADAPack 4202 or 4203 controllers the maximum number of inputs is 10. For SCADAPack 32, SCADAPack 314/330/334,

SCADAPack 350 or SCADAPack 4202 or 4203 controllers and SolarPack

410 the maximum number of inputs 30.

Number of Outputs window indicates the number of outputs in the list. The maximum number of outputs is 10.

The list box displays the configured process I/O points.

Direction indicates if the point is an input or an output.

Source shows the source register for the point.

Destination shows the destination register for the point.

Low Alarm shows the low alarm output register for the point. If no alarm is configured it shows "none".

High Alarm shows the high alarm output register for the point. If no alarm is configured it shows "none".

Click on a row to select the I/O point.

Double-click on a row to edit the I/O point.

Realflo User and Reference Manual

May 19, 2011

339

Realflo Expert Mode Reference

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

The OK button saves the configuration and closes the dialog. In PEMEX mode the OK button is not active if the user is not logged on with

Administrator privileges.

The Cancel button closes the dialog without saving changes.

The Add Input button adds an input point. It opens the Process Input dialog. The button is disabled if the list already contains the maximum number of inputs.

The Add Output button adds an output point. It opens the Process Output dialog. The button is disabled if the list already contains the maximum number of outputs.

The Copy button adds a copy of the selected point. The button is disabled if no point is selected, or if the list already contains the maximum number of points of the selected type.

The Edit button edits the selected point. It opens the Process Input dialog for input points and the Process Output dialog for output points. The button is disabled if no point is selected.

The Delete button deletes the selected point from the list. The button is disabled if no point is selected.

The Print button prints the Process I/O configuration.

The Help button opens the user manual.

Process Input Dialog

The Process Input dialog edits the configuration of a process input point.

Use an input point to scale a value read from a hardware input module.

Source Register is the address of the register or registers that hold the value to be scaled. Valid values are 30001 to 39999, and 40001 to 49999 if the source format is Telepace Integer and 30001 to 39998, and 40001 to

49998 if the source format is ISaGRAF integer.

Source Format is the format of the data in the register. Valid values are

Telepace Integer and ISaGRAF Integer. The default value is Telepace integer. A Telepace integer is a 16-bit signed number stored in one register.

An ISaGRAF integer is a 32-bit signed value stored in two registers.

Source Range defines the range of the source register. The zero scale is the value of the input at its lowest value. The full scale is the value of the input at its highest value. Valid values are -32768 to 32767 for Telepace

Realflo User and Reference Manual

May 19, 2011

340

Realflo Expert Mode Reference

Integer format, and

–2,147,483,648 to 2,147,483,647 for the ISaGRAF

Integer format. The default zero scale is 0. The default full scale is 32767.

Destination Register is the address of the first of two registers that hold the floating-point result. Registers used by the flow computer are not permitted to be destination registers. These depend on the flow computer type. Valid values are displayed in the table below.

Flow Computer Type

SCADAPack 4202 or 4203

SolarPack 410

Micro 16

SCADAPack

SCADAPack Light

SCADAPack Plus

SCADAPack LP

SCADAPack 100: 1024K

SCADAPack 32

SCADAPack 32P

SCADAPack 314/330/334

SCADAPack 350

Valid Register

Ranges

40500 to 43179

43800 to 46498

40001 to 43179

43800 to 45498

40001 to 43179

Destination Format is the format of the data in the destination registers.

Valid values are MSW First (most significant word first) and LSW First (least significant word first). The default value is MSW First. This is the format of floating point values used by Telepace and ISaGRAF.

Destination Range defines the range of the destination register. The zero scale is the value corresponding to the input at its lowest value. The full scale is the value corresponding to the input at its highest value. Valid values are any floating-point number.

The Destination Alarm section configures alarms for the destination register. A high and low alarm can be configured.

Alarm Point is the coil register that will be turned on if an alarm occurs.

Valid values are 0 and 00001 to 09999. Enter 0 to disable the alarm. The default value is zero.

Setpoint is the value at which the alarm occurs. The low alarm occurs when the destination register is less than the low alarm setpoint. The high alarm occurs when the destination register is greater than the high alarm setpoint.

Valid values are any floating-point number; Realflo does not check the setpoint values. The control is disabled if the corresponding alarm point is set to 0.

Hysteresis keeps minor changes from causing multiple alarms. The Low

Alarm Hysteresis is the amount above the setpoint that the value needs to rise to clear the alarm. The High Alarm Hysteresis is the amount below the setpoint that the value needs to fall to clear the alarm. Valid values are any floating-point number. The control is disabled if the corresponding alarm point is set to 0.

The OK button saves the configuration and closes the dialog. All parameters are checked against their limits. The destination registers and alarm points are checked for conflicts with any other input or output points.

The Cancel button closes the dialog without saving changes.

Realflo User and Reference Manual

May 19, 2011

341

Realflo Expert Mode Reference

Process Output Dialog

The Process Output dialog edits the configuration of a process output point. Use an output point to scale a value so it can be written to a hardware output module.

Source Register is the address of the first of two registers that hold the floating-point value to be scaled. Valid values are 30001 to 39998, and

40001 to 49998.

Source Format is format of the data in the source registers. Valid values are MSW First (most significant word first) and LSW First (least significant word first). The default value is MSW First: this is the format of floating point values used by Telepace and ISaGRAF.

Source Range defines the range of the source register. The zero scale is the value corresponding to the output at its lowest value. The full scale is the value corresponding to the output at its highest value. Valid values are any floating-point number.

Destination Register is the address of the register or registers that hold the result. Registers used by the flow computer are not permitted to be destination registers. These depend on the flow computer type. Valid values are displayed in the table below.

Flow Computer Type

SCADAPack 4202 or 4203.

SolarPack 410

The ISaGRAF Registers apply only to the SCADAPack 4203 controllers

Micro16

SCADAPack

SCADAPack Light

SCADAPack Plus

SCADAPack LP

SCADAPack 100: 1024K

SCADAPack 32

SCADAPack 32P

SCADAPack 314/330/334

SCADAPack 350

Valid Register

Ranges

ISaGRAF Integer

40500 to 43179

43800 to 46498

40001 to 43179

43800 to 45498

40001 to 43179

Valid Register

Ranges

Telepace Integer

40500 to 43179

43800 to 46499

40001 to 43179

43800 to 45499

40001 to 43179

Realflo User and Reference Manual

May 19, 2011

342

Serial Ports

Realflo Expert Mode Reference

Destination Format is format of the data in the register. Valid values are

Telepace Integer and ISaGRAF Integer. The default value is Telepace integer. A Telepace integer is a 16-bit signed number stored in one register.

An ISaGRAF integer is a 32-bit signed value stored in two registers.

Destination Range defines the range of the destination register. The zero scale is the value of the output at its lowest value. The full scale is the value in the register when the input is at its highest value. Valid values are -32768 to 32767 for Telepace Integer format, and

–2,147,483,648 to 2,147,483,647 for the ISaGRAF Integer format. The default zero scale is 0. The default full scale is 32767.

The Source Alarm section configures alarms for the source register. A high and low alarm can be configured.

Alarm Point is the coil register that will be turned on if an alarm occurs.

Valid values are 0 and 00001 to 09999. Enter 0 to disable the alarm. The default value is zero.

Setpoint is the value at which the alarm occurs. The low alarm occurs when the source register is less than the low alarm setpoint. The high alarm occurs when the source register is greater than the high alarm setpoint.

Valid values are any floating-point number; Realflo does not check the setpoint values. The control is disabled if the corresponding alarm point is set to 0.

Hysteresis keeps minor changes from causing multiple alarms. The Low

Alarm Hysteresis is the amount above the setpoint that the value needs to rise to clear the alarm. The High Alarm Hysteresis is the amount below the setpoint that the value needs to fall to clear the alarm. Valid values are any floating-point number. The control is disabled if the corresponding alarm point is set to 0.

The OK button saves the configuration and closes the dialog. All parameters are checked against their limits. The destination registers and alarm points are checked for conflicts with any other input or output points.

The Cancel button closes the dialog without saving changes.

The Serial Ports command configures the serial ports on the flow computer.

The command opens the Flow Computer Serial Port Settings dialog.

The SCADAPack 4202 controllers support Sensor protocol only on com1.

The serial port settings for com1 cannot be edited. The settings are described in the following sections.

Realflo User and Reference Manual

May 19, 2011

343

Realflo Expert Mode Reference

The Port dropdown menu selects the controller serial port to configure. The settings for the port are displayed in the Port Settings controls section of the dialog. The valid serial ports depend on the controller type. The default serial port is com1.

Controller Type com1 com2 com3 com4

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 100

SCADAPack 32

SCADAPack 32P

X

X

SCADAPack 314 X

SCADAPack 330/334 X

SCADAPack 350 X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

Realflo User and Reference Manual

May 19, 2011

344

Realflo Expert Mode Reference

Controller Type com1 com2 com3 com4

SCADAPack 4202 DR X

SCADAPack 4202 DS X

SCADAPack 4203 DR X

SCADAPack 4203 DS X

SolarPack 410 X

X

X

X

X

X

X

X

X

X

X

The Protocol dropdown menu selects the communication protocol type.

Valid protocols depend on the controller type as shown in the following table.

Controller Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 100

SCADAPack 32

SCADAPack 32P

SCADAPack family of programmable controllers (4202

DR, 4202 DS,

4203 DR and

4203 DS)

SCADAPack

314/330/334

SCADAPack 350

Valid Protocols

None

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

* DF1 protocols are not supported on

SCADAPack 100 controllers with firmware older than version 1.80.

None

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

PPP

Com 1 fixed as Sensor.

Com 2 and Com 3:

None

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

None

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

Default Protocol

Modbus RTU

Modbus RTU

Com 1 fixed as Sensor.

Com 2 and Com 3 default is Modbus RTU.

Modbus RTU

Realflo User and Reference Manual

May 19, 2011

345

Realflo Expert Mode Reference

Controller Type

SolarPack 410

Valid Protocols

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

Com 1 fixed as Sensor.

Com 2 and Com 3:

None

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

Default Protocol

Com 1 fixed as Sensor.

Com 2 and Com 3 default is Modbus RTU.

The Addressing dropdown menu selects the addressing mode for the selected protocol. The control is disabled if the protocol does not support it.

Valid addressing modes depend on the selected protocol as shown in the following table.

Protocol

Modbus RTU

Modbus ASCII

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

PPP

None

Valid Mode

Standard

Extended

Default Mode

Standard

Control is disabled N/A

Control is disabled N/A

Control is disabled N/A

Control is disabled N/A

The Station entry sets the station address for the selected controller serial port. Valid addresses depend on the protocol and addressing mode selected, as shown in the table below.

Protocol

Modbus RTU

Modbus ASCII

Valid Addresses

Standard addressing:

1 to 255

Extended addressing:

1 to 65534

0 to 254

Default Address

1

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

PPP

None

Control is disabled

Control is disabled

Control is disabled

N/A

N/A

N/A

N/A

The Duplex dropdown menu selects full or half-duplex operation for the selected Port. Valid and default duplex settings depend on the serial port

Realflo User and Reference Manual

May 19, 2011

346

Realflo Expert Mode Reference and controller type, as shown in the table below. The duplex is forced to Half if a MVT transmitter is configured on the port.

Controller Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 100

SCADAPack 32

SCADAPack 32P

SCADAPack 4202 DR

SCADAPack 4202 DS

SCADAPack 4203 DR

SCADAPack 4203 DS

SCADAPack 314

SCADAPack 330/334

SCADAPack 350

SolarPack 410

com1 com2 com3 com4

Valid Def. Valid Def. Valid Def. Valid Def.

Full

Half

Full

Half

Full

Half

Full

Half

Full Full

Half

Full Full

Half

Full Full

Half

Full

Full

Full

Half

Half

Half

Half

Full

Half

Half

Full

Half Half

Full

Half

Full Full

Half

Half Half Full

Half

Full

Half

Full

Half

Full

Half

Full

Full

Full Half Half

Half

Full Full

Half

Half Full

Half

Full Full

Half

Full

Half Half Half Full

Half

Full

Full Half Half Half Half

Full

Half

Half

Half

Full

Half

Full

Half

Half Full

Half

Half Full

Half

Half Full

Half

Half Full

Half

Half

Half

Half Half Full

Half

Half Half Full

Half

Half Half

Full

Half Full

Full

Full

The Baud Rate dropdown menu selects the communication speed for the selected serial port. Valid baud rates depend on the serial port and controller type, as shown in the table below. The default value is always

9600 baud.

Baud

Rate

Controller

Micro 16

Com 1, Com 2

SCADAPack

Com 1, Com 2

X X X X X X X X

X X X X X X X X

Realflo User and Reference Manual

May 19, 2011

347

Realflo Expert Mode Reference

Baud

Rate

Controller

Com 3

SCADAPack

Plus

X X X X X X X X

Com 1, Com 2

Com 3, Com 4

SCADAPack

Light

Com 1, Com 2

X X X

X

X

X

X

X

X

X

X

X

X

X X X

X X X X X X X X

Com 4

Com 3

X X X X X X

SCADAPack LP

Com 1, Com 2 X X X X X X X X

X X

X X X X X X X X

SCADAPack 100: 1024K

Com 1, Com 2 X X X X X X X X

SCADAPack32

X X X X X X X X X X Com 1, Com 2,

Com 4

Com 3

SCADAPack32P

Com 1, Com 2,

Com 4

SCADAPack 314

X X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

Com 1 and Com

2

X

SCADAPack 330/334

X X X X X X X X X

Com 1, Com 2,

Com 3

X X X X X X X X X X

SCADAPack 350

Com 1, Com2,

Com3

X X X X X

SCADAPack of Programmable Controllers

X X X X X

Com1 X

Realflo User and Reference Manual

May 19, 2011

348

Realflo Expert Mode Reference

Baud

Rate

Controller

Com2

Com3

SolarPack 410

X X X

X

X

X

X

X

X

X

X

X

X

X X X

Com1 (disabled)

Com2

X

X X X X X X X X X X

Com3 X

The Data Bits dropdown menu selects the number of data bits. Valid selections are 7 and 8 bits. This parameter is forced to 8 bits when the protocol type is Modbus RTU, PPP or any DF1 protocol. The default selection is 8 bits.

The Parity dropdown menu selects the parity for the selected port. Valid selections depend on the serial port, controller type and data bits, as shown in the table below. The default selection is none.

Controller Type com1 com2 com3

Micro16

com4

7 bits 8 bits 7 bits 8 bits

N/A N/A

SCADAPack

SCADAPack

Plus

SCADAPack

Light

None even odd

None even odd

None even odd none even odd none even odd none even odd none even odd none even odd even odd space mark even odd space mark

N/A none even odd mark none even odd mark

N/A even odd space mark even odd space mark

N/A none even odd mark none even odd mark

SCADAPack LP none even odd none even odd even odd space mark none even odd mark

Realflo User and Reference Manual

May 19, 2011

349

Realflo Expert Mode Reference

Controller Type com1 com2 com3 com4

7 bits 8 bits 7 bits 8 bits

SCADAPack

100 none even odd

SCADAPack 32 none even odd

SCADAPack

32P

SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

SCADAPack

314 none even odd none none even odd none even odd none even odd none none even odd none even odd even odd space mark

N/A none even odd mark none even odd

N/A none even odd mark none even odd none even odd

N/A

N/A

N/A

SCADAPack

330/334

SCADAPack

350

SolarPack 410 none even odd none even odd none even odd none even odd none

N/A

N/A none none even odd none even odd

The Stop Bits dropdown menu selects the number of stop bits for the selected serial port. Valid selections are 1 and 2. Valid selection for com3 is

1 stop bit. The default selection is 1.

The Rx Flow dropdown menu selects the receiver flow control for the selected port. Valid selections depend on the protocol, controller type, and serial port, as shown in the table below. If there is only one valid value the control is disabled. If there is more than one possible value, the default selection is none.

Protocol

DF1 Full BCC

DF1 Full CRC

DF1 Half BCC

DF1 Half CRC

DNP

Controller

Micro16

SP

SP Plus

SP Light

SP LP

SP 100

SP 32

com1 com2 com3

None None N/A

None

None

None

None

None

None

None

None

None

None

None

None

None

None

N/A

None

N/A

None

com4

N/A

N/A

None

None

N/A

N/A

None

Realflo User and Reference Manual

May 19, 2011

350

Protocol

Modbus RTU

Controller

SP 32P

SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

SCADAPack

314/330/334

SCADAPack

350

com1

None

None

None

None

SolarPack 410 None

Micro16 None

SP None

SP Plus

SP Light

SP LP

None

None

None

Realflo Expert Mode Reference

com2

None

None

None

None

None

None

com3

None

None

Ignore

CTS

None

None

None

N/A

None Modbus

RTU

None Modbus

RTU

None N/A

com4

None

N/A

N/A

N/A

N/A

N/A

N/A

Modbus

RTU

Modbus

RTU

N/A

SP 100

SP 32

SP 32P

None

Modbu s RTU

Modbu s RTU

None Modbus

RTU

None N/A

Modb us

RTU

Modb us

RTU

None

Modbus

RTU

Modbus

RTU

None

Ignore

CTS

N/A

Modbus

RTU

Modbus

RTU

N/A SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

None

None

SCADAPack

330/334

SCADAPack

350

SCADAPack

314

None

None

SCADAPack

330/334

SCADAPack

350

None

SolarPack 410 None

None

None

None

None

None

None

None

N/A

None

None

N/A

N/A

N/A

N/A

N/A

Realflo User and Reference Manual

May 19, 2011

351

Protocol

None

Modbus ASCII

Controller

Micro16

SP

SP Plus

SP Light

SP LP

SP 100

SP 32

SP 32P

SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

SCADAPack

330/334

SCADAPack

350

com1 com2 com3

None

Xon/Xo ff

None

Xon/X off

N/A none None

Xon/Xo ff

None

Xon/X off none None

Xon/Xo ff

None

Xon/Xo ff

None

Xon/Xo ff

None

Xon/Xo ff none

Modbu s RTU none

Modbu s RTU

None

None

None

SCOLARPack

410

SCADAPack

314

None

None

SCADAPack

330/334

SCADAPack

350

None

SolarPack 410 None

Realflo Expert Mode Reference

None

Xon/X off none

Modb us

RTU none

Modb us

RTU

None

None

Xon/X off

None

Xon/X off

None

Xon/X off

None

None

None

None

None

None

N/A none

N/A none

Modbus

RTU none

Modbus

RTU

None

Modbus

RTU

None

None

N/A

N/A

None

None

com4

N/A

N/A none none

N/A

N/A none

Modbus

RTU none

Modbus

RTU

N/A

N/A

N/A

N/A

N/A

N/A

N/A

Realflo User and Reference Manual

May 19, 2011

352

Realflo Expert Mode Reference

Protocol

PPP

Controller

SP 32

SP 32P

com1 com2 com3

Queue d

Queu ed

com4

Queued Queued

Queue d

Queu ed

Queued Queued

The Tx Flow dropdown menu selects the transmitter flow control for the selected port. Valid selections depend on the protocol, controller type, and serial port, as shown in the table below. The default selection is none.

Protocol

Modbus RTU

DF1 Full BCC

DF1 Full CRC

DF1 Half BCC

DF1 Half CRC

DNP

None

Modbus ASCII

Controller

Micro16

SP

SP Plus

SP Light

SP LP

SP 100

SP 32

SP 32P

None

None

Ignore

CTS

None

Ignore

CTS

None SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

SCADAPack

314

SCADAPack

330/334

SCADAPack

350

None

None

None

SolarPack 410 None

Micro16 None

Xon/Xo ff

com1 com2 com3 com4

None

None

None

None

None

None N/A

None None

Ignore

CTS

None None

Ignore

CTS

None N/A

N/A

N/A

None

Ignore

CTS

None

Ignore

CTS

N/A None None

Ignore

CTS

None N/A

None

Ignore

CTS

None

Ignore

CTS

None

Ignore

CTS

None

N/A

None

Ignore

CTS

N/A

None

Ignore

CTS

None

Ignore

CTS

N/A

None

None

None

None

None

Xon/X off

None

N/A

None

None

N/A

N/A

N/A

N/A

N/A

N/A

Realflo User and Reference Manual

May 19, 2011

353

Realflo Expert Mode Reference

Protocol

PPP

Controller

SP

SP Plus

SP Light

SP LP

SP 100

SP 32

SP 32P

None

Ignore

CTS

None

Ignore

CTS

N/A SCADAPack

4202 DR

SCADAPack

4202 DS

SCADAPack

4203 DR

SCADAPack

4203 DS

SCADAPack

314

SCADAPack

330/334

SCADAPack

350

N/A

None

None

SolarPack 410 None

SP 32 None

Ignore

CTS

SP 32P None

Ignore

CTS

None

Xon/Xo ff

None

Xon/Xo ff

None

Xon/Xo ff

None

Xon/Xo ff

None

Xon/Xo ff

com1 com2 com3 com4

None

Xon/X off

None

Xon/X off

None

Xon/X off

None

Xon/X off

None

Xon/X off

None

Ignore

CTS

None

Ignore

CTS

None

None

Ignore

CTS

None

Ignore

CTS

N/A

None

Ignore

CTS

N/A

None

Ignore

CTS

N/A

None

Ignore

CTS

N/A

None

Ignore

CTS

None

Ignore

CTS

N/A

N/A

None

Ignore

CTS

None

Ignore

CTS

N/A

None

None

None

None

None

Ignore

CTS

None

Ignore

CTS

None

N/A

None

None

None

Ignore

CTS

None

Ignore

CTS

N/A

N/A

N/A

N/A

None

Ignore

CTS

None

Ignore

CTS

The Port Type dropdown menu selects the type of serial port. Valid selections depend on the serial port and controller type as shown in the table below. The default selection is RS-232. The options are as follows:

RS-232: for a regular RS-232 connection.

RS-232 Dial-up modem: If an external dial-up modem is used on the

RS-232 connection.

Realflo User and Reference Manual

May 19, 2011

354

Realflo Expert Mode Reference

RS-232 Collision Avoidance: RS-232 connection with collision avoidance based on the CD signal is available only when the DNP protocol type is selected on the serial port, and the serial port supports handshaking.

When this flow control is enabled, the protocol uses the Carrier Detect

(CD) signal provided by the serial port to detect if the communication medium is in use. If it is, it waits until the medium is free before transmitting.

Prior to transmitting each Data Link (DL) frame, the controller will test the CD line. If it is active, a countdown equal to the DL timeout will be set and CD will be monitored every 100 ms throughout this countdown period. If the Data Link timeout is set to the minimum of 100 ms, the CD line will be tested once.

If the CD line reports inactive (line not in use), a frame will be transmitted immediately, and a new DL timeout is started as normal. On the other hand, if CD remains active during the DL timeout, the transmission attempt will be unsuccessful. If a non-zero retry is configured in the Data Link layer, the test will be repeated until the number of retries has been exhausted.

RS-232 Collision Avoidance is supported only on serial ports which support handshaking and whose protocol type is set for DNP.

RS-485: for a regular RS-485 connection.

Controller Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack 32

SCADAPack 32P

com1

RS-232

RS-232 dial-up modem

RS-232

Collision

Avoidance

RS-485

RS-232

RS-232 dial-up modem

RS-232

Collision

Avoidance

Port type

RS-232 applies for

RS-232 or

RS-485 operation on COM1.

com2, com4

RS-232

com3

RS-232 dial-up modem

RS-232

Collision

Avoidance

RS-232

RS-232 dial-up modem com4 is available on the

SCADAPack

Light and Plus only.

RS-232 RS-232

RS-232 dial-up modem

RS-232 dial-up modem

RS-232

Collision

Avoidance

Realflo User and Reference Manual

May 19, 2011

355

Controller Type

Realflo Expert Mode Reference

com3 com1

Jumper J9 on the controller board needs to be installed to configure

COM1 for

RS-485 operation.

com2, com4

Controller Type

SCADAPack

Programmable

Controllers

(4202 DR, 4202

DS, 4203 DR and

4203 DS).

SCADAPack 100

SCADAPack LP

com1

N/A (RS-232)

RS-232

RS-232 Collision

Avoidance

Port type RS-232 applies for RS-232 or RS-485 operation on Com 1.

RS-485

SCADAPack 314 RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

RS-485

Port type RS-232 applies for RS-232 or RS-485 operation on COM1. Jumper

J8 on the controller board needs to be installed to configure

COM1 for RS-485 operation.

com2, com3

RS-232

RS-232 Dialup Up Modem

(com 2 only)

RS-232 Port Type applies for RS-232 or RS-485 operation.

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

Com 3: not available

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

Port type RS-232 applies for RS-232 or RS-485 operation on COM2.

Jumper J10 on the controller board needs to be installed to configure

COM2 for RS-485 operation.

Realflo User and Reference Manual

May 19, 2011

356

Realflo Expert Mode Reference

Controller Type com1

SCADAPack

330/334

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

RS-485

Port type RS-232 applies for RS-232 or RS-485 operation on COM1. Jumper

J8 on the controller board needs to be installed to configure

COM1 for RS-485 operation.

SCADAPack 350 RS-485

SolarPack 410 RS-232

com2, com3

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

Port type RS-232 applies for RS-232 or RS-485 operation on COM2.

Jumper J10 on the controller board needs to be installed to configure

COM2 for RS-485 operation.

RS-232

RS-232 dial-up modem

RS-232 Collision

Avoidance

Port type RS-232 applies for RS-232 or RS-485 operation on COM2.

Jumper J13 on the controller board needs to be installed to configure

COM2 for RS-485 operation.

RS-232

The Store and Forward dropdown menu selects whether store and forward messaging is enabled for the port. Valid selections are enabled and disabled. If this option is enabled, messages will be forwarded according to the settings in the store and forward routing table. The default selection is disabled. This control is disabled when PPP protocol is selected for a serial port, or if any of the DF1 protocols are selected and for com 1 on the

SCADAPack 4202 or 4203 of controllers.

The Store and Forward menu selection changes to Routing menu selection when DNP protocol is selected for a serial port. Valid selections are enabled and disabled. Routing needs to be enabled on a serial port to enable routing of DNP messages.

The Enron Modbus or PEMEX Modbus dropdown menu lets you enable or disable Enron Modbus or PEMEX Modbus for the port. If this option is enabled, the controller, in addition to regular Modbus messages, will handle

Enron Modbus or PEMEX Modbus messages. Valid selections depend on the protocol as shown in the table below. This control is disabled when PPP protocol is selected for a serial port and for com 1 on the 4202 controllers.

Protocol

Modbus RTU

Modbus ASCII

Valid Selections

Enabled

Disabled

Default Selection

Disabled

Realflo User and Reference Manual

May 19, 2011

357

IP Command

Realflo Expert Mode Reference

Protocol

DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

None

Valid Selections

Control is disabled

Control is disabled

Control is disabled

Default Selection

N/A

N/A

N/A

The Enron Station or PEMEX Station entry selects the Enron Modbus or

PEMEX Modbus station address for the serial port. Valid entries depend on the protocol. The station needs to be different from the Modbus station set in the Station control. This allows Enron Modbus or PEMEX Modbus and

Modbus communication can occur on the same port. This entry is greyed out if Enron Modbus or PEMEX Modbus is not enabled.

Protocol

Modbus RTU

Modbus ASCII

Valid Values

Standard addressing:

1 to 255

Extended addressing:

1 to 65534

Control is disabled DF1 Full Duplex BCC

DF1 Full Duplex CRC

DF1 Half Duplex BCC

DF1 Half Duplex CRC

DNP

None

Control is disabled

Control is disabled

Default Value

2

N/A

N/A

N/A

The OK button saves the settings for all serial ports and closes the dialog. In

PEMEX mode the OK button is not active if the user is not logged on with

Administrator privileges.

The Cancel button closes the dialog without saving.

The Default button sets the parameters for the port to their default values.

When the IP Configuration menu item is clicked under the Controller menu the IP Configuration dialog is opened. This dialog is available only when the controller type is set to SCADAPack 314/330/334, SCADAPack 350,

SCADAPack 32 or SCADAPack 32P.

The IP Configuration dialog has a tree control on the left side of the window.

Headings on the tree control are enabled or disabled depending on the controller type.

The SCADAPack 32 and SCADAPack 32P support Point-To-Point

Protocol (PPP) on the serial ports. The tree control displays headings for com 1 Port through com 4 Port and PPP Login are displayed for configuring the serial ports for PPP. PPP is not supported on

SCADAPack 314/330/334 and SCADAPack 350 the headings for com 1

Port through com 4 Port and PPP Login are not displayed.

The SCADAPack 314/330/334 and SCADAPack 350 support an FTP

(File Transfer Protocol) server. The tree control will display a heading for

Realflo User and Reference Manual

May 19, 2011

358

Realflo Expert Mode Reference

FTP when these controllers are used. FTP is not supported on

SCADAPack 32 and SCADAPack 32P.

Each of the tree control selections is explained in the following sections of this user manual.

The IP Configuration dialog has a tree control on the left side of the window.

This tree control contains headings for:

LAN Port

Modbus Common

Modbus/TCP

Modbus RTU in UDP

Modbus ASCII in UDP

DNP in TCP

DNP in UDP

Friendly IP List

When a tree control is selected by clicking the mouse on a heading, a property page is opened for the header selected. From the property page the IP configuration parameters for the selected header is displayed.

The Default button selects the default values for the current property page.

The OK button saves the configuration and closes the Controller IP

Configuration dialog. In PEMEX mode, the OK button is not active if the user is not logged on with Administrator privileges.

The Cancel button closes the Controller IP Configuration dialog without saving any changes.

Realflo User and Reference Manual

May 19, 2011

359

LAN Port

Realflo Expert Mode Reference

The LAN Port property page is selected for editing by clicking LAN Port in the tree control section of the Controller IP Configuration dialog. When selected the LAN Port property page is active.

The IP Address is the address of the controller LAN port. The IP address is statically assigned. Contact your network administrator to obtain an IP address for the controller. The default value is 0.0.0.0.

The Subnet Mask is determines the subnet on which the controller LAN port is located. The subnet mask is statically assigned. Contact your network administrator to obtain the subnet mask for the controller. The default value is 255.255.255.0.

The Gateway determines how your controller communicates with devices outside its subnet. The LAN radio button selects the gateway specified in the LAN edit box. Enter the IP address of the gateway. The gateway is located on the LAN port subnet. The gateway is statically assigned. Contact your network administrator to obtain the gateway IP address. The default value is 0.0.0.0.

The PPP radio button selects the serial port where the gateway is located.

The PPP dropdown menu displays only those serial ports currently configured for the PPP protocol. Select a serial port from this menu to select its remote IP address as the gateway. The gateway is automatically assigned to the remote IP address of the selected serial port.

SCADAPack 32 or SCADAPack 32P PPP Controls com1 Port

The com1 Port property page is selected for editing by clicking com1 Port in the tree control section of the Controller IP Configuration dialog. When selected, the com1 Port property page is active. This page configures the

IP settings for com1 when the PPP protocol is selected for this serial port.

Realflo User and Reference Manual

May 19, 2011

360

Realflo Expert Mode Reference

The Enable Auto Answer (PPP Server) checkbox enables the PPP Server on this serial port. Check this box if you want to allow a remote PPP client to connect to this port. This checkbox enables the remaining settings in the page.

The IP Address is the address of this serial port. The IP address is statically assigned. Contact your network administrator to obtain an IP address for this serial port.

The Subnet Mask determines the subnet on which this serial port is located. The subnet mask is statically assigned. Contact your network administrator to obtain the subnet mask for this serial port. In a standard

PPP configuration, a subnet mask of 255.255.255.255 is used to restrict routing on this serial port to a single host (i.e. the Remote IP Address).

If another subnet mask is used, packets on that subnet will be forwarded to this serial port. Any address on that subnet in addition to the Remote IP

Address can be used for the remote host in this case.

The Remote IP Address is the address that will be assigned to the remote

PPP client connected to this serial port. The Automatic radio button automatically selects the address to be the serial port‟s IP address + 1. The second radio button selects the address specified in the edit box. Enter the

IP address to assign to the remote client.

The Allow remote to specify its own IP address checkbox allows the remote PPP client to assign its own IP address. Check this box if you want to allow this option. The client may or may not request its own IP address. If the client does not make this request, the PPP Server will assign the IP address selected.

The Authentication determines the login protocol used at the start of every

PPP connection. The None radio button removes the login step. The PAP radio button selects the Password Authentication Protocol (PAP). The

CHAP radio button selects the Challenge-Handshake Authentication

Realflo User and Reference Manual

May 19, 2011

361

com2 Port com3 Port com4 Port

PPP Login

Realflo Expert Mode Reference

Protocol (CHAP). PAP and CHAP usernames and passwords are configured on the PPP Login page.

The Inactivity Timeout is the inactivity timeout for this serial port. If there has been no activity on an existing PPP connection for the selected number of minutes, then the connection is automatically closed. If there is a modem connected it is hung up. Setting this value to zero disables the timeout.

The com2 Port property page is selected for editing by clicking com2 Port in the tree control section of the IP Configuration dialog. When selected the com2 Port property page is active. This page configures the IP settings for com2 when the PPP protocol is selected for this serial port.

The com2 Port property page provides the same options as the com1 Port page. See the com1 Port page for a description of these options.

The com3 Port property page is selected for editing by clicking com3 Port in the tree control section of the IP Configuration dialog. When selected the com3 Port property page is active. This page configures the IP settings for com3 when the PPP protocol is selected for this serial port.

The com3 Port property page provides the same options as the com1 Port page. See the com1 Port page for a description of these options.

The com4 Port property page is selected for editing by clicking com4 Port in the tree control section of the IP Configuration dialog. When selected the com4 Port property page is active. This page configures the IP settings for com4 when the PPP protocol is selected for this serial port.

The com4 Port property page provides the same options as the com1 Port page. See the com1 Port page for a description of these options.

The PPP Login property page is selected for editing by clicking PPP Login in the tree control section of the IP Configuration dialog. When selected the

PPP Login property page is active.

This page configures the username and password list for PPP login authentication. The list is used only by those serial ports configured for the

PPP protocol using PAP or CHAP authentication.

Realflo User and Reference Manual

May 19, 2011

362

Realflo Expert Mode Reference

Select the Add button to enter a new username to the list. Selecting the Add button opens the Add PPP Username dialog.

Select the Edit button to edit the username highlighted in the list. Selecting the Edit button opens the Edit PPP Username dialog. This button is disabled if there are no entries in the list.

The Delete button removes the selected usernames from the list. This button is disabled if there are no entries in the list.

Add PPP Username dialog

This dialog selects a new PPP username and password.

The Username edit box selects the username. A username is any alphanumeric string 1 to 16 characters in length, and is case sensitive.

The Password edit box selects the password. A password is any alphanumeric string 1 to 16 characters in length, and is case sensitive.

The Verify Password edit box selects the verify password. Enter the same string entered for the password.

The Cancel button discards any changes made to this dialog and exits the dialog.

The OK button to accept changes made to this dialog and exits the dialog.

Edit PPP Username dialog

Realflo User and Reference Manual

May 19, 2011

363

Realflo Expert Mode Reference

This dialog edits a PPP username and password selected from the list.

The Username edit box selects the username. A username is any alphanumeric string 1 to 16 characters in length, and is case sensitive.

The Password edit box selects the password. A password is any alphanumeric string 1 to 16 characters in length, and is case sensitive.

The Verify Password edit box selects the verify password. Enter the same string entered for the password.

The Cancel button discards any changes made to this dialog and exits the dialog.

The OK button to accept changes made to this dialog and exits the dialog.

Modbus Common

The Modbus Common property page is selected for editing by clicking

Modbus Common in the tree control section of the IP Configuration dialog.

When selected the Modbus Common property page is active.

The Addressing menu selects standard or extended Modbus addressing.

Standard addressing allows 255 stations and is compatible with standard

Modbus devices. Extended addressing allows 65534 stations, with stations

1 to 254 compatible with standard Modbus devices. The default value is standard.

Realflo User and Reference Manual

May 19, 2011

364

Modbus/TCP

Realflo Expert Mode Reference

The Station menu sets the station number of the controller. The valid range is 1 to 255 if standard addressing is used, and 1 to 65534 if extended addressing is used. The default value is 1.

The Store and Forward selection controls forwarding of messages using IP based protocols. If this option is enabled, messages will be forwarded according to the settings in the store and forward routing table. The default value is disabled.

The Enron Modbus box selects whether or not Enron Modbus is enabled for the port. If this option is enabled, the controller, in addition to regular

Modbus messages, will handle Enron Modbus messages.

The Enron Station box selects the Enron Modbus station address. The valid range for Enron Station is 1 to 255 if the Addressing control is set to

Standard. The valid range for Enron Station is 1 to 65534 if the Addressing control is set to Extended. The Enron station needs to be different from the

Modbus station set in the Station edit box. This allows Enron Modbus and

Modbus communication to occur on the same port.

The Modbus/TCP property page is selected for editing by clicking

Modbus/TCP in the tree control section of the IP Configuration dialog. When selected the Modbus/TCP property page is active.

The Server selection selects whether the server is enabled. If this option is enabled the controller supports incoming slave messages. Disabling this option stops the controller from processing slave messages. Master messaging is always enabled.

The Master Idle Timeout determines when connections to a slave controller are closed. Setting this value to zero disables the timeout; the connection will be closed only when your program closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are sent in that time. This allows the slave device to free unused

Realflo User and Reference Manual

May 19, 2011

365

Realflo Expert Mode Reference connections. Valid timeout range is 0 to 4294967295 seconds. The default value is 10 seconds.

The Server Idle Timeout determines when connections from a remote device are closed. Setting this value to zero disables the timeout; the connection will be closed only when the remote device closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are received in that time. This allows the controller to free unused connections. Valid timeout range is 0 to 4294967295 seconds. The default value is 250 seconds.

The TCP Port sets the port used by the Modbus/TCP protocol. In all cases this should be set to 502. This is the well-known port number for

Modbus/TCP. Modbus/TCP devices use 502 by default, and on many devices the value cannot be changed. It is suggested that you change this value only if this port is used by another service on your network. Valid port number range is 1 to 65534. Consult your network administrator to obtain a port if you are not using the default.

Modbus RTU in UDP

The Modbus RTU in UDP property page is selected for editing by clicking

Modbus RTU in UDP in the tree control section of the IP Configuration dialog. When selected the Modbus RTU in UDP property page is active.

The Server selection selects whether the server is enabled. If this option is enabled the controller supports incoming slave messages. Disabling this option keeps the controller from processing slave messages. Master messaging is always enabled.

The UDP Port sets the port used by the protocol. Valid port number range is

1 to 65535. The default value is 49152. This is a recommendation only.

Consult your network administrator to obtain a port if you are not using the default.

Realflo User and Reference Manual

May 19, 2011

366

Realflo Expert Mode Reference

Modbus ASCII in UDP

The Modbus ASCII in UDP property page is selected for editing by clicking

Modbus ASCII in UDP in the tree control section of the IP Configuration dialog. When selected the Modbus ASCII in UDP property page is active.

The Server selection selects whether the server is enabled. If this option is enabled the controller supports incoming slave messages. Disabling this option keeps the controller from processing slave messages. Master messaging is always enabled.

The UDP Port sets the port used by the protocol. Valid port number range is

1 to 65534. The default value is 49153. This is a recommendation only.

Consult your network administrator to obtain a port if you are not using the default.

Realflo User and Reference Manual

May 19, 2011

367

DNP in TCP

Realflo Expert Mode Reference

The DNP in TCP property page is selected for editing by DNP in TCP in the tree control section of the IP Configuration dialog. When selected the DNP in TCP property page is active.

The Protocol selection selects whether the DNP in TCP protocol is enabled. If this option is enabled the controller supports DNP in TCP protocol. Disabling this option keeps the controller from processing DNP in

TCP protocol messages. Master messaging is always enabled. The default selection is disabled.

The Server Idle Timeout determines when connections from a remote device are closed. Setting this value to zero disables the timeout; the connection will be closed only when the remote device closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are received in that time. This allows the controller to free unused connections. Valid timeout range is 0 to 4294967295 seconds. The default value is 250 seconds.

The Master Idle Timeout determines when connections to a slave controller are closed. Setting this value to zero disables the timeout; the connection will be closed only when your program closes it. Any other value sets the timeout in seconds. The connection will be closed if no messages are sent in that time. This allows the slave device to free unused connections. Valid timeout range is 0 to 4294967295 seconds. The default value is 10 seconds.

The TCP Port sets the port used by the DNP in TCP protocol. Valid port number range is 1 to 65534. The default value is 20000. Consult your network administrator to obtain a port if you are not using the default.

Realflo User and Reference Manual

May 19, 2011

368

DNP in UDP

Realflo Expert Mode Reference

The DNP in UDP property page is selected for editing by DNP in UDP in the tree control section of the IP Configuration dialog. When selected the DNP in UDP property page is active.

Friendly IP List

The Protocol selection selects whether the DNP in UDP protocol is enabled. If this option is enabled the controller supports DNP in UDP protocol. Disabling this option keeps the controller from processing DNP in

UDP protocol messages and sending DNP in UDP master messages. The default selection is disabled.

The UDP Port sets the port used by the DNP in UDP protocol. Valid port number range is 1 to 65534. The default value is 20000. Consult your network administrator to obtain a port if you are not using the default.

The Friendly IP property page is selected for editing by Friendly IP in the tree control section of the IP Configuration dialog.

Realflo User and Reference Manual

May 19, 2011

369

Realflo Expert Mode Reference

The Enable Friendly IP List checkbox enables or disables the friendly IP list. Check this box to accept messages from only the IP addresses in the list. Uncheck this to accept message from any IP address.

Select the Add button to enter a new row in the Friendly IP list. Selecting the Add button opens the Add Friendly IP address dialog. The button is disabled if the Enable Friendly IP List control is not checked. The button is disabled if the table is full. Up to 32 entries can be added to the table.

Select the Edit button to edit range in the Friendly IP list. Selecting the Edit button opens the Edit Friendly IP address dialog. The button is disabled if the Enable Friendly IP List control is not checked.

The Delete button removes the selected rows from the list. This button is disabled if there are no entries in the list. The button is disabled if the

Enable Friendly IP List control is not checked.

Click on the column headings to sort the list by that column. Click a second time to reverse the sort order. The order is indicated by the triangle next to the text.

The settings are verified when the OK button is pressed or another settings page is selected.

A message is displayed if the friendly IP list is enabled and the list is empty.

A message is displayed if the IP address of the PC is not in the friendly

IP table.

Add Friendly IP Address Range Dialog

The Add Friendly IP Address Range dialog specifies an IP address range to add to the Friendly IP list.

Realflo User and Reference Manual

May 19, 2011

370

FTP

Realflo Expert Mode Reference

Start Address specifies the starting IP address in the range. Enter any valid

IP address.

End Address specifies the ending IP address in the range. Enter a valid IP address that is numerically greater than or equal to the IP Start Address.

This field can be left blank if only a single IP address is required.

The OK button adds the IP address range to the list and closes the dialog. A message is displayed if the address range is invalid.

The Cancel button closes the dialog without making any changes.

When the FTP tree control is selected the FTP property page becomes active allowing for the configuration of the FTP server on the controller.

FTP Server enables the FTP server in the controller. There are three selections available.

Select Disabled to disable the FTP server and stop FTP access to the file system

Select Login Required to enable the FTP server. A username and password are required to access the file system.

Select Anonymous Allowed to enable the FTP server. A username and password may be used to access the file system. The server will accept an anonymous login; it will accept any username and password.

Realflo User and Reference Manual

May 19, 2011

371

FTP Practices

Realflo Expert Mode Reference

Username specifies the username for the FTP server account. It is used when Login Required is selected. Enter a User Name of 1 to 16 characters long.

Password specifies the password for the FTP server account. It is used when Login Required is selected. Enter a password of 1 to 16 characters long.

Verify Password specifies the password a second time to confirm the value. Enter the same value as for the password.

The setftp function can be used to enable and disable the FTP server using program logic in the controller.

FTP Server functions operate at a high priority in the controller. The execution of Telepace and IEC 61131-3 logic applications is impacted during file uploads and downloads. The logic applications will slow significantly during large file uploads to the controller.

To reduce the impact on logic applications:

Use a number of small files rather than a single large file.

Use the LS (list) command rather than the DIR (directory) command.

FTP usernames and passwords are transmitted in the clear when reading/writing controller configuration. In order to minimize the possibility of reading of credentials the controller should be kept locked against programming commands except when the configuration is being read or written.

These practices should be followed to maximize the effectiveness of the

FTP feature.

Binary vs ASCII Mode

Files can be transferred via either Binary or ASCII modes. Binary file transfers are recommended because they are more efficient. FTP clients will support both types of file transfers.

File Locations

The internal file system on the SCADAPack 330/334/350/357 controllers may use either of two available drives:

The internal Controller Disk Drive is labeled /d0.

The External USB Drive is labeled /bd0.

The internal file system on the SCADAPack 314 and SCADAPack 4203 controllers has one drive:

The internal Controller Disk Drive is labeled /d0.

The controller internal flash drive d0 contains all system and user files. The system files should not be modified via FTP or user processes.

Many system files can be found in the d0/SYSTEM folder. It is strongly recommended that only system files reside in this folder to prevent accidental corruption of controller settings.

C programs can be found in the root directory d0. These programs have a suffix of “.out” and should not be modified.

Realflo User and Reference Manual

May 19, 2011

372

Realflo Expert Mode Reference

Log files created by the data log to file functionality are stored in sub-folders of d0/LOGS/. These files may be read, but writing to or deleting these files is discouraged. The data log to file functionality will manage these files as required.

Users are encouraged to create their own folders and store all files that they need to access in folders they create to minimize accidentally altering a system file. i.e. create a directory called d0/SCADA to keep files that will be modified via FTP in.

Register Assignment

The Register Assignment command is used to configure the register assignment for flow computers using Telepace firmware. When selected the command opens the Register assignment dialog and displays the current register assignment list. The user may edit the list or the entries in the list.

This feature is available only on Telepace firmware. The settings have no effect on ISaGRAF firmware.

For complete information on the Register Assignment modules available refer to the Telepace Studio User and Reference manual.

Realflo uses the following registers for flow calculation data. These registers cannot be used in any register assignment.

Configuration and Control Registers

Requested Data Registers

Meter Run 1 Data Registers

Meter Run 2 Data Registers

Meter Run 3 Data Registers

Requested Daily History Registers

Meter Run 4 Data Registers

Meter Run 5 Data Registers

Meter Run 6 Data Registers

Meter Run 7 Data Registers

Meter Run 8 Data Registers

Meter Run 9 Data Registers

Meter Run 10 Data Registers

MVT Configuration Registers

MVT Data Registers

MVT Internal Registers

49500 to 49999

48500 to 49499.

47500 to 48499

46500 to 47499

45500 to 46499

44500 to 45499.

44400 to 44499

44300 to 44399

44200 to 44299

44100 to 44199

44000 to 44099

43900 to 43999

43800 to 43899

43700 to 43799

43600 to 43689

38000 to 38999

Display Configuration Registers

Process I/O Configuration Registers

43470 to 43499

43400 to 43469

Uncorrected Accumulated Flow, runs 1 to 10 43300 to 43398

SolarPack Configuration / Accumulation

43180 to 43260

In addition to the above registers the SCADAPack 4202 and 4203 controllers use the following registers for transmitter parameters and data.

These registers cannot be used in any register assignment if a SCADAPack

4202 or 4203 controller is used.

SCADAPack 4202 and 4203 data and parameters registers

40001 to

40499

Realflo User and Reference Manual

May 19, 2011

373

Realflo Expert Mode Reference

The main portion of the dialog is a list showing the modules in the register assignment list. The module list displays the Module, Module Address, Start

Register, End Register and the number of Registers for the module.

The Module field displays the type and name of I/O modules that have been added to the Register Assignment. For modules that support more than one type of I/O, there are multiple lines in the row of the table, one for each input or output I/O type.

The Address field displays the unique module address of the physical hardware, such as a 5000 5401 Digital I/O module. Some module types have no address that can be set by the user. The address is blank for these modules.

The Start Register field displays the first register address in the I/O database where the module data is stored. A start register is required for each type of input or output on the module.

The End Register field displays the last address in the I/O database used by the module. An end register is required for each type of input or output on the module.

The Registers field displays the number of registers used by the module. A size is required for each type of input or output on the module.

The OK button updates the register assignment list and closes the dialog.

This is the default button. Pressing the ENTER key selects the OK button.

The Cancel button exits the dialog without saving changes. If changes were made, the user is prompted for confirmation before exiting. Pressing the

ESC key selects the Cancel button. If changes were made the following dialog appears.

Realflo User and Reference Manual

May 19, 2011

374

Realflo Expert Mode Reference

Selecting Yes closes the Register Assignment dialog and the register assignment list is not changed.

Selecting No returns to the Register Assignment dialog. The No button is the default selection. Pressing the Enter or ESC keys selects the No button.

The Add button adds a new module to the register assignment. The Edit

Register Assignment dialog opens.

The Add Copy button adds a copy of the selected module to the register assignment. The Edit Register Assignment dialog opens. The Address field is set to the first unused address for the currently selected module type.

Other fields are set to the values from the currently selected I/O module.

The Add Copy button is grayed if the table is empty, or I/O modules of the given type are in use (i.e. modules are already defined for possible addresses for the selected module type).

The Edit button modifies the selected module. The Edit Register

Assignment dialog opens with data from the currently selected I/O module.

The Edit button is grayed if the table is empty, or no module is selected in the table.

The Delete function removes the selected module from the register assignment. The button is grayed if the table is empty, or no module is selected in the table.

The Default button replaces the current Register Assignment with the

Default Register Assignment for the controller. The controller type is selected using the Flow Computer Setup command. The dialog displayed

is dependent on the type of controller used. See the

Default Register

Assignments

section below.

The I/O Module Error Indication check box determines if the controller displays I/O module communication errors. If enabled, the controller will blink the Status LED if there is an I/O error. See the DIAG Controller Status

Code diagnostic module for information on the controller status code. If disabled, the controller will not display the module communication status.

The module communication status is checked. This option controls only the indication on the Status LED.

Module Selection

Clicking anywhere in a row selects the module. Double clicking anywhere in a row selects the data for the module and invokes the Edit Register

Assignment dialog.

Sorting

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

Realflo User and Reference Manual

May 19, 2011

375

Realflo Expert Mode Reference

If a module has more than one value in a column, data is sorted by the first value.

Edit Register Assignment Dialog

The Edit Register Assignment dialog modifies an entry in the register assignment. The following example shows the dialog editing a module with more than one I/O type.

The Module drop-down list box shows the current module type. The dropdown list displays available modules. Refer to the Telepace Studio

User and Reference manual for complete information on the Register

Assignment module types available.

The Address drop-down list box shows the current module address. The drop-down list displays addresses valid for the current module type that are not already used. If all addresses are in use, the list will be empty.

There are up to four type description fields. The text displays the type of the input or output register. The type descriptions are 0xxxx, 1xxxx, 3xxxx and

4xxxx.

Digital output data is read from coil (0xxxx) registers. The digital outputs are updated continuously with data read from the coil registers.

Digital input data is stored in status (1xxxx) registers. The status registers are updated continuously with data read from the digital inputs.

Analog input data is stored in input (3xxxx) registers. The input registers are updated continuously with data read from the analog inputs.

Analog output data is stored in holding (4xxxx) registers. The analog output registers are updated continuously with data read from the holding registers.

The Start edit box holds the starting register in the I/O database for the I/O type. The edit box allows any number to be entered.

The End field shows the last register used by the module for the I/O type.

The Registers field shows the number of registers in the I/O module.

The Description field displays the I/O type for multiple I/O modules.

Selecting OK checks the data entered. If the data is correct the dialog is closed and the Register Assignment dialog returns with the changes made.

An error message is displayed if any data is incorrect. Pressing the ENTER key selects the OK button.

Realflo User and Reference Manual

May 19, 2011

376

Realflo Expert Mode Reference

Selecting Cancel exits the dialog without saving changes. Pressing the ESC key selects the Cancel button.

Realflo User and Reference Manual

May 19, 2011

377

Realflo Expert Mode Reference

Default Register Assignments

SCADAPack 4202 or 4203

If the controller type is a SCADAPack 4202 or 4203 with controller board version 5 and terminal board version 6, the following dialog appears.

SCADAPack 4202 DR manufactured after July 13, 2004 may use the 4202

DS Extended I/O register assignment. The 4202-DR needs to have controller board version 5 and terminal board version 6. Previous versions of the SCADAPack 4202 DR require the 4202 DR I/O register assignment module.

If the controller type is a SCADAPack 4202 DS or 4203 DS the following dialog appears.

SCADAPack, SCADAPack Plus, SCADAPack 32

If the controller type is a SCADAPack, SCADAPack Plus, or SCADAPack 32 the default register assignment will include the supported integrated I/O modules for the controller. Clicking the Default button in the Register

Assignment opens a dialog displaying the supported integrated I/O modules.

SCADAPack 5601 I/O module

Realflo User and Reference Manual

May 19, 2011

378

SCADAPack 314

Realflo Expert Mode Reference

SCADAPack 5604 10V/40mA I/O module

SCADAPack 5604 5V/20mA I/O module

SCADAPack 5606 I/O module

If the controller type is a SCADAPack 314 the following dialog appears.

SCADAPack 330

If the controller type is a SCADAPack 330 the following dialog appears.

SCADAPack 334

If the controller type is a SCADAPack 334 the following dialog appears.

Realflo User and Reference Manual

May 19, 2011

379

Realflo Expert Mode Reference

SCADAPack 350

If the controller type is a SCADAPack 350 register assignment will include the supported integrated I/O modules for the controller. Clicking the Default button in the Register Assignment opens a dialog displaying the supported integrated I/O modules.

SCADAPack 350 10V/40mA I/O module

SCADAPack 350 5V/20mA I/O module

SCADAPack 357 Controller (SCADAPack 350 and SCADAPack 5607

I/O module).

DNP

The DNP command is used to configure the DNP protocol settings for the controller. When selected the DNP Settings window is opened.

For complete information on DNP configuration refer to the

DNP3 Protocol

User Manual

section of this manual.

Store and Forward

The Store and Forward command configures the Store and Forward settings for a SCADAPack 32, SCADAPack 314/330/334, SCADAPack 350 controller or SolarPack 410. A controller configured for store and forward operation receives messages destined for a remote Slave Station on the

Slave Interface. The controller forwards the message on the Forward

Interface to the Forward Station.

Refer to the following diagram as a reference for the terminology used in the following Store and Forward command reference.

Realflo User and Reference Manual

May 19, 2011

380

Slave Interface

The Ethernet port is set for Modbus address 2. The local SCADAPack

32 will respond to messages received for address 2.

Messages that require forwarding cannot be addressed for station 2.

LAN

SCADAPack 32

Controller

Communication

Interfaces

COM1 COM2 COM4

Realflo Expert Mode Reference

Forward Interface

COM port 4 is set for Modbus address 2. The local SCADAPack

32 will respond to messages received for station 2. Messages that are forwarded cannot be addressed for station 2.

Message to be Forwarded

The message, from a remote master station, that is to be forwarded by the SCADAPack 32 controller.

The station address of the message needs to be in the Store and Forward table. In this example the station address cannot be 2.

Forwarded Message

The forwarded message, to the remote slave station, that is forwarded by the SCADAPack

32 controller.

The station address of the message needs to be in the Store and Forward table. In this example the station address cannot be 2.

When the Store and Forward command is selected the Store and Forward dialog appears. This dialog displays the Store and Forward table for the controller. This command is available only when the controller type is set to

SCADAPack 330/334, SCADAPack 350, SCADAPack 32, SCADAPack 32P or SolarPack 410.

The Store and Forward table displays each Store and Forward translation as a row, with column headings, in the table. The table may have up to 128 entries. A vertical scroll bar is used if the list exceeds the window size.

The Slave Interface heading displays the receiving slave interface the message is received from for each translation.

The Slave Station heading displays the Modbus station address of the slave message.

The Forward Interface heading displays the interface the message is forwarded from. When forwarding to a Modbus TCP or UDP network, the protocol type is selected for the Forward Interface. The IP Stack automatically determines the exact interface (e.g. LAN/PPP) to use when it searches the network for the Forward IP Address. If a serial port is selected for the Forward Interface, and the serial port is configured for PPP protocol, the message will not be forwarded.

The Forward Station heading displays the Modbus station address of the forwarded message.

Realflo User and Reference Manual

May 19, 2011

381

Realflo Expert Mode Reference

The Forward IP Address heading displays the IP address of the Forward

Station. This field is blank unless a TCP or UDP network is selected for

Forward Interface.

The Time Out heading displays the maximum time (in tenths of seconds) the forwarding task waits for a valid response from the Forward Station. The time out should be equal to or less than the time out set for the master message received on the Slave Interface.

The OK button saves the table data. No checking is done on the table data.

The Cancel button closes the dialog without saving changes.

Select the Add button to enter a new row in the store and forward table.

Selecting the Add button opens the Add/Edit Store and Forward dialog.

Select the Edit button to modify the selected row in the store and forward table. Selecting the Edit button opens the Add/Edit Store and Forward dialog containing the data from the selected row. This button is disabled if more than one row is selected. This button is disabled if there are no entries in the table.

The Delete button removes the selected rows from the table. This button is disabled if there are no entries in the table.

The Undo button undoes the action performed by the last button selection since the dialog was opened. This applies to the buttons Add, Edit, Delete and Undo. This button is disabled when the dialog is opened, and is enabled as soon as any of the applicable buttons are selected.

The Sorted by menu box lists each of the five column headings. The rows are sorted according to the selected heading. Headings in the table are, by default, sorted by the Slave Interface heading.

Add/Edit Store and Forward Dialog

This dialog is used to edit an entry or add a new entry in the store and forward table.

The Slave Interface is the receiving slave interface the message received from. The dropdown list allows the following selection:

 com1

 com2

 com3

 com4

Realflo User and Reference Manual

May 19, 2011

382

Realflo Expert Mode Reference

LAN/PPP

The Slave Station is the Modbus station address of the slave message.

This address needs to be different from the Modbus address assigned to the

Slave Interface. Valid range for Slave Station is:

1 to 255 when standard addressing is selected for the interface.

1 to 65534 when extended addressing is selected for the interface.

The Forward Interface is the interface the message is forwarded from. The dropdown list allows the following selection:

 com1

 com2

 com3

 com4

Modbus/TCP

Modbus RTU in UDP

Modbus ASCII in UDP

The Forward Station is the Modbus station address of the forwarded message. This address needs to be different from the Modbus address assigned to the Forward Interface. Valid range for Forward Station is:

1 to 255 when standard addressing is selected for the interface.

1 to 65534 when extended addressing is selected for the interface.

The Forward IP Address edit box is disabled and the address is forced to

“0.0.0.0“ whenever the Forward Interface is set to com1, com2, com3 or com4. The Forward IP Address edit box is enabled only when the Forward

Interface is set to a TCP or UDP network. Valid entries are 0 to 255 for each byte in the IP address.

The Time Out is the maximum time the forwarding task waits for a valid response from the Forward Station, in tenths of second. Valid entries are 0 to 65535. The time out should be equal to or less than the time out set for the master message received on the Slave Interface.

The OK button checks the data for this table entry. If the data is valid the dialog is closed. If the table data entered is invalid, a message is displayed and the dialog remains open. The table entry is invalid if any of the fields is out of range. The data is also invalid if it conflicts with another entry in the table. In PEMEX mode the OK button is not active if the user is not logged on with Administrator privileges.

The Cancel button closes the dialog without saving changes.

Power Management Configuration

The SolarPack 410 provides power management features to minimize the power consumption.

Power Management Dialog

The power management dialog appears as follows.

Realflo User and Reference Manual

May 19, 2011

383

Realflo Expert Mode Reference

The Continuous Wake Mode section specifies if the flow computer stays in the continuous power mode.

The following parameters can be configured for this mode.

Always Stay Awake specifies if the flow computer should stay awake.

Valid values are Yes and No. The default value is No.

Radio Power selects if the SCADA radio is powered. Valid values are

ON or OFF. The default value is ON.

Bluetooth Power selects if the Bluetooth radio is powered. Valid values are ON or OFF. The default value is ON.

Display selects if the display is powered. Valid values are ON or OFF.

The default value is ON.

Display Backlight selects if the display backlight is powered. Valid values are ON or OFF. The default value is ON. This control is set to

OFF when the display control is set to OFF.

The Enable Input Activation section specifies what happens when the enable input is activated. Activating the enable input places the flow computer in the continuous power mode. A power off timer starts when entering continuous power mode. The flow computer remains in this mode until the power off timer expires, then enters the power saving mode.

Realflo User and Reference Manual

May 19, 2011

384

Realflo Expert Mode Reference

The following parameters can be configured for this mode. These controls are disabled when the controller is in the continuous wake mode.

Stay Awake For specifies the number of minutes until power off. Valid values are 1 to 240. The default value is 10 minutes.

Radio Power selects if the SCADA radio is powered. Valid values are

ON or OFF. The default value is OFF.

Bluetooth Power selects if the Bluetooth radio is powered. Valid values are ON or OFF. The default value is ON.

Display selects if the display is powered. Valid values are ON or OFF.

The default value is ON.

Display Backlight selects if the display backlight is powered. Valid values are ON or OFF. The default value is OFF. This control is set to

ON when the display control is set to ON.

The Scheduled Wake Mode section specifies when the flow computer should wake up. The flow computer stays awake for a fixed period of time in this mode. The controller is in the continuous power mode for the specified duration at the specified times, then it enters the power saving mode.

The following parameters can be configured for this mode. These controls are disabled when the controller is in the continuous wake mode.

Times to Wake lists the times at which the flow computer should wake. Up to 24 times can be added. The default value is an empty list.

Stay Awake For specifies the number of minutes until power off. Valid values are 1 to 240. The default value is 20 minutes.

Radio Power selects if the SCADA radio is powered. Valid values are ON or OFF. The default value is OFF.

Bluetooth Power selects if the Bluetooth radio is powered. Valid values are

ON or OFF. The default value is OFF.

Display selects if the display is powered. Valid values are ON or OFF. The default value is OFF.

Display Backlight selects if the display backlight is powered. Valid values are ON or OFF. The default value is OFF This control is set to ON when the display control is set to ON.

Selecting Power Management Configuration

In Expert mode do one of the following:

Select the Power Management command on the Configuration menu to open the Power Management configuration dialog.

Double-click the Power Management item in the configuration tree to open the Power Management configuration dialog.

In Maintenance mode:

Select View and Change Configuration.

Advance to the Edit Configuration page.

Double-click the Power Management item in the configuration tree.

Realflo User and Reference Manual

May 19, 2011

385

Realflo Expert Mode Reference

Communication

The power management settings are written to the flow computer with the flow computer configuration. The settings are read from the flow computer with the flow computer configuration.

Pulse Input Configuration

The SolarPack 410 flow computer can accumulate pulse inputs. The flow computer counts the number of pulses, multiplies by a K factor and accumulates the results. Total volume, today‟s volume, yesterday‟s volume, this month‟s volume, and last month‟s volume accumulators are provided.

Pulse Input Configuration Dialog

The Pulse Input Configuration dialog appears as follows.

Selecting Pulse Input Configuration

Select the Pulse Input command on the Configuration menu to open the

Pulse Input configuration dialog.

Double-click on the Pulse Input item in the configuration tree to open the

Pulse Input configuration dialog.

Communication

Units specify the units for volume. Valid values are cubic feet (ft metres (m

3

3

) and cubic

), litres, and US gallons, barrels (42 US gallons). The default value is cubic feet.

K Factor specifies the factor by which the raw count is divided to obtain the volume. Valid values are any number greater than 0. The default value is

1.0. Units are pulses/volume.

The Pulse Input settings are written to the flow computer with the flow computer configuration. The settings are read from the flow computer with the flow computer configuration.

Changes to settings can generate up to three events in the event log for run

1.

Number Description

10096 Set pulse input K factor

10097 Set pulse input units

Gas Sampler Output Configuration

The gas sampler output is pulsed based on the current flow. The pulse rate is configurable with a factor based on the current volume. The pulse width is user adjustable from 0.1 seconds to 5.0 seconds.

Realflo User and Reference Manual

May 19, 2011

386

Realflo Expert Mode Reference

Gas Sampler Output Dialog

The Gas Sampler Output dialog appears as follows.

Selecting Gas Sampler Output Configuration

Select the Gas Sampler Output command on the Configuration menu to open the Gas Sampler Output configuration dialog.

Double-click on the Gas Sampler Output item in the configuration tree to open the Gas Sampler Output configuration dialog.

Communication

Volume/Pulse specifies the flow volume for each pulse output. The measurement units are the same as the contract units for run 1. Any positive value is valid. The default value is 1,000,000 ft

3

/pulse or the equivalent in the current unit set.

Pulse Width specifies the pulse width. Valid values are 0.1 to 5.0 seconds in increments of 0.1 seconds. The default value is 1.0 seconds.

The Gas Sampler Output settings are written to the flow computer with the flow computer configuration. The settings are read from the flow computer with the flow computer configuration.

Realflo User and Reference Manual

May 19, 2011

387

Realflo Expert Mode Reference

Modbus Mapping

Modbus mapping provides a simplified method for SCADA host software to make configuration changes to the gas quality ratios, orifice plate size and the real time clock settings in the flow computer. Using Modbus mapping a sequential block of registers containing the gas quality ratios and orifice plate size for a meter run can be written to the flow computer and applied to the flow computer configuration in one Modbus write from the SCADA host.

The Modbus Mapping table cannot be modified unless the user is logged on with Administrator privileges. The OK button is grayed out in the Modbus

Mapping Settings dialog if the account privileges are not at the ADMIN level.

See the Accounts section for information on creating and using accounts in

Realflo.

If an attempt is made to write a Realflo configuration that contains a Modbus

Mapping table that is different from the one in the flow computer by a user without Administration privileges a message is displayed and the Modbus

Mapping table is not written to the flow computer.

Modbus mapping may be applied to the following flow computer configurations:

The Real Time Clock Registers table requires a sequential block of 9

holding registers. These registers are described in the Real Time Clock

Registers section below.

The Shared Read/Write Run Registers table requires a sequential block of 63 holding registers. These registers can be used to read or write to the AGA8 gas composition parameters and the orifice plate size

for any meter run. These registers are described in the Shared

Read/Write Run Data Registers section below.

The Run Read/Write Registers table requires a sequential block of 62 holding registers. These registers can be used to read or write to the

AGA8 gas composition parameters and the orifice plate size for the selected meter run. The number of meter runs displayed depends on the number of meter runs configured in the flow computer. These

registers are described in the Meter Run Data Registers section below.

The Run Read Only Registers table requires a sequential block of 60 input registers. These registers can be used to read the AGA8 gas composition parameters and the orifice plate size for the selected meter run. The number of meter runs displayed depends on the number of meter runs configured in the flow computer. These registers are

described in the Meter Run Data Registers section below.

The Modbus mapping table operates according to the following rules:

The flow computer reads the registers, for each configured run, from the mapping table on each scan. Verification is done and the status of the current mapping table is reported via the Configuration Mapping

Range status register for each table.

Only valid new settings are used to update the flow computer configuration when the Apply Request register is set to 1. The Apply

Request register is reset to zero after the request is executed.

A Timer restricts incomplete configuration settings from staying in the

Modbus mapping table forever. If changes have not been applied in a specified number minutes (default is 10 minutes), since the last change,

Realflo User and Reference Manual

May 19, 2011

388

Realflo Expert Mode Reference the mapping table is synchronized with the current flow computer settings and user mapping changes will be lost.

The Modbus Mapping registers may be set to a user defined range. The mapping table is initialized with the current flow computer configuration when the mapping range changed.

The Mapping Table registers are automatically updated when any flow computer interface (i.e. Realflo) changes the AGA-8, AGA-8 Hexanes+,

AGA-3 or Real Time Clock configuration.

The Configuration Mapping Range status register indicates the status of the Mapping Range for each configuration. A Host computer can use this register to know if other flow computer interface is updating the same configuration.

When the Modbus Mapping command is selected the Modbus Mapping

Settings dialog opens as shown below.

The Modbus mapping dialog is divided into three columns and a number of rows depending on the number of meter runs configured in the flow computer. The rows in the table list the flow computer configurations that can be assigned to Modbus Mapping.

The Real Time Clock Registers are a sequential block of 9 holding registers. The block of registers used cannot include any registers used by

the flow computer. See the TeleBUS Registers Used by the Flow

Computer section for a listing of flow computer registers.

The Shared Read/Write Run Registers are a sequential block of 63 holding registers. These registers can be used to read or write to the AGA8 gas composition parameters and the orifice plate size for any meter run. The block of registers used cannot include any registers used by the flow

computer. See the TeleBUS Registers Used by the Flow Computer

section for a listing of flow computer registers.

The Run Read/Write Registers are a sequential block of 62 holding registers. These registers can be used to read or write to the AGA8 gas composition parameters and the orifice plate size for the selected meter run.

The block of registers used cannot include any registers used by the flow

Realflo User and Reference Manual

May 19, 2011

389

Realflo Expert Mode Reference

computer. See the TeleBUS Registers Used by the Flow Computer

section for a listing of flow computer registers.

The Run Read Only Registers are a sequential block of 60 input registers.

These registers can be used to read the AGA8 gas composition parameters and the orifice plate size for the selected meter run. The block of registers used cannot include any registers used by the flow computer. See the

TeleBUS Registers Used by the Flow Computer section for a listing of

flow computer registers.

Using the Modbus Mapping Settings Table

The mapping for each configuration is enabled or disabled by clicking your mouse in the box to the left of each configuration type.

The Shared Read/Write Run Registers and the individual meter run

Read/Write Registers mapping cannot be enabled at the same time.

The Shared Read/Write Run Registers and the individual meter run

Read Only Registers mapping may be enabled at the same time.

The Real Time Clock Registers maybe used with any mapping selection.

The Modbus Mapping table uses the default Start Register and End

Register values unless the Start Register is changed. When the Start

Register is changed the End Register automatically updates to the end of the configuration range. To change the Start Register:

Click on the Start Register Modbus register.

Press the keyboard Enter key to open the window for editing.

Enter the new Start Register Modbus address and press the Enter key again.

The Modbus registers used for Modbus Mapping cannot include any

registers used by the flow computer. See the TeleBUS Registers Used by

the Flow Computer section for a listing of flow computer registers.

The Timer Interval selection is used to apply a timeout value for pending changes to a configuration table. If changes have not been applied in a specified number minutes (default is 10 minutes), since the last change, the mapping table is synchronized with the current flow computer settings and user mapping changes will be lost. The default timer interval value is 10 minutes. Any values between 1 and 1000 minutes may be entered.

The Only check for range errors when closing dialog selection is used to limit range validation errors when configuring the mapping table. Each range is validated and needs to not overlap with another range or conflict with registers used by the flow computer. Using this control the validation will only be checked when the dialog is closed.

Real Time Clock Registers

The Real Time Clock Registers are a sequential block of 9 holding registers. The block of registers used cannot include any registers used by the flow computer. The following table describes the registers. The default registers are described, when the register range is changed the registers are offset from the entered Start Register.

To write a complete Real Time Clock configuration from a Host:

Realflo User and Reference Manual

May 19, 2011

390

Realflo Expert Mode Reference

Enter the Real Time Clock values into the range of registers and enter a

1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer

To write an incomplete Real Time Clock configuration from a Host (i.e. change the hour only):

Enter a value of 100 in the Apply Request register to read the current flow computer settings and write this register to the flow computer.

Enter the selected new Real Time Clock values into the appropriate register(s) and enter a 1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer

Description

Years = 1997 to 2096

Months = 1 to 12

Days = 1 to 31, with exceptions

Hours = 0 to 23

Minutes = 0 to 59

Read/Write

Register

Range

42550

42551

42552

42553

42554

Seconds = 0 to 59

Seconds = -32000 to 32000, Increment /

Decrement number of seconds

Apply Request

42555

42556

42557

0 =

1 =

No operation

Apply new setting

100 = Synchronize with Flow Computer

Configuration Mapping Range status

0 = Reset and Synchronized with

Flow Computer by Apply Request

42558 commands 1 and 100.

1 = Settings have changed.

2 =

3 =

The current settings are invalid.

Reset and Synchronized with

Flow computer as a result of a timeout.

4 = The event log is full and no further change events are allowed.

5 = Invalid command

Register

Type

uint uint uint uint uint uint sint uint uint

Shared Read/Write Run Data Registers

The Shared Read/Write Run Registers are a sequential block of 63 holding registers. These registers can be used to read or write to the AGA8 gas composition parameters and the orifice plate size for any meter run. The following table describes the registers. The default registers are described, when the register range is changed the registers are offset from the entered

Start Register.

To write a complete Run Configuration from a Host:

Realflo User and Reference Manual

May 19, 2011

391

Realflo Expert Mode Reference

Enter the meter run number in the Meter Run register.

Enter the Run Configuration values into the range of registers and enter a 1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer

To write an incomplete Run Configuration from a Host (i.e. change the orifice plate size only):

Enter the meter run in the Meter Run register.

Enter a value of 100 in the Apply Request register to read the current flow computer settings and write this register to the flow computer.

Enter the selected new Run Configuration values into the appropriate register(s) and enter a 1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer.

Description

Shared Run Data Registers

Meter Run = 1 to 10

Methane

Nitrogen

Carbon Dioxide

Ethane

Propane

Water

Hydrogen Sulfide

Hydrogen

Carbon Monoxide

Oxygen iButane nButane iPentane nPentane

Hexane and higher components may be measured individually or may be combined.

This affects the n-Hexane, n-Heptane, n-

Octane, n-Nonane, and n-Decane components. See the Hexanes+ register for details.

The following registers are used when the

Hexane and higher components are used.

 n-Hexane

This register contains the n-Hexane value when individual components are

Default

Read/Write

Register

Range

42480 to

42542

42480

42481

42483

42485

42487

42489

42491

42493

42495

42497

42499

42501

42503

42505

42507

Register

Type

float float float float float float float uint float float float float float float float

42509 float

Realflo User and Reference Manual

May 19, 2011

392

Realflo Expert Mode Reference

Description Default

Read/Write

Register

Range

Register

Type

selected.

The register contains the total

Hexanes+ when combined components are selected.

See the Hexanes+ register description. n-Heptane n-Octane n-Nonane

Helium n-Decane

Argon

Composition logging control

This register selects if the flow computer logs

AGA-8 gas composition changes. Frequent changes to the composition will result in the event log filling with gas composition events.

When the log is full, further changes cannot be made until Realflo reads the log.

0 = log composition changes

1 = do not log composition changes

Real Relative Gas Density

0 = calculate live value

A non-zero value will be interpreted by the flow computer as the Real Relative Density. This value will be used with the Heating value register. Valid range for value 0 to 1800

BTU(60)/ft3.

Heating Value

0 = calculate live value

A non-zero value will be interpreted by the flow computer as the Heating Value. This value will be used with the Real Relative Density register. Valid range for value 0.07 to 1.52

Hexanes +

The AGA-8 Hexanes+ configuration registers define the composition of the heavier gas components being measured. There are two options, individual components (selected above) or combined (selected below). The

Hexanes+ register below determines which method is used. n-Hexane portion

This register defines the percentage of the

Hexanes+ contributed by n-Hexane. n-Heptane portion

This register defines the percentage of the

Hexanes+ contributed by n- Heptane. n-Octane portion

This register defines the percentage of the

42511

42513

42515

42517

42519

42521

42522

42524

42526

42528

42530

42532 float float float float float float uint float float float float float

Realflo User and Reference Manual

May 19, 2011

393

Realflo Expert Mode Reference

Description Default

Read/Write

Register

Range

Register

Type

Hexanes+ contributed by n- Octane. n-Nonane portion

This register defines the percentage of the

Hexanes+ contributed by n- Nonane. n-Decane portion

This register defines the percentage of the

Hexanes+ contributed by n- Decane.

The Hexanes+ register determines how the

Hexanes+ values are entered.

0 = Use individual gas components

(default)

When 0 is entered for the register the

Hexane+ registers are entered using registers for n- Hexane, n-Heptane, n-Octane, n-

Nonane and n-Decane listed above (registers

42509 to 42518).

1 = Use combined value for hexane and higher components.

When 1 is entered (use registers 42528 to

42537) the portion of the Hexanes+ ratio that is applied to each of the n- Hexane, n-

Heptane, n-Octane, n-Nonane and n-Decane gas components. These portions are represented as a percentage of the gas components being measured i.e. 0 to 100%.

The total of the Hexanes+ components needs to add to 100 percent.

Orifice diameter

Apply Request

0 =

1 =

No operation

Apply new setting

100 = Synchronize with Flow Computer

Configuration Mapping Range status

0 = Reset and Synchronized with Flow

Computer by Apply Request commands 1 and

100.

1 = Settings have changed.

2 = The current settings are invalid.

3 = Reset and Synchronized with Flow computer as a result of a timeout.

4 = The event log is full and no further change events are allowed.

5 = Invalid command

42534

42536

42538

42539

42541

42542 float float uint float uint uint

Meter Run Data Registers

The Meter Run Registers Read/ Write Registers are a sequential block of

62 holding registers. These registers can be used to read or write to the

AGA8 gas composition parameters and the orifice plate size for the selected

Realflo User and Reference Manual

May 19, 2011

394

Realflo Expert Mode Reference meter run. The following table describes the registers. The default registers are described, when the register range is changed the registers are offset from the entered Start Register.

To write a complete Run Configuration from a Host:

Enter the Run Configuration values into the range of registers and enter a 1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer

To write an incomplete Run Configuration from a Host (i.e. change the orifice plate size only):

Enter a value of 100 in the Apply Request register to read the current flow computer settings and write this register to the flow computer.

Enter the selected new Run Configuration values into the appropriate register(s) and enter a 1 into the Apply Request register.

Write the registers to the flow computer.

Read the Configuration Mapping Range status register to confirm the changes have been made in the flow computer.

Register

Type

Description Default

Read/Write

Register

Range

Meter Run 1 Data Registers

42559 to

42620

Methane

Nitrogen

42559

42561

Carbon Dioxide

Ethane

Propane

Water

42563

42565

42567

42569

Hydrogen Sulfide

Hydrogen

Carbon Monoxide

Oxygen iButane nButane iPentane nPentane

Hexane and higher components may be measured individually or may be combined. This affects the n-Hexane, n-Heptane, n-

Octane, n-Nonane, and n-

Decane components. See the Hexanes+ register for details.

42571

42573

42575

42577

42579

42581

42583

42585

The following registers are used when the Hexane and

Default

Read

Register

Range

39200 to

39259

39200

39202

39204

39206

39208

39210

39212

39214

39216

39218

39220

39222

39224

39226 float float float float float float float float float float float float float float

Realflo User and Reference Manual

May 19, 2011

395

Description

higher components are used.

 n-Hexane

This register contains the n-Hexane value when individual components are selected.

The register contains the total Hexanes+ when combined components are selected.

See the Hexanes+ register description. n-Heptane n-Octane

Helium

Argon n-Nonane n-Decane

Composition logging control

This register selects if the flow computer logs AGA-8 gas composition changes.

Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log.

0 = log composition changes

1 = do not log composition changes

Real Relative Gas Density

0 = calculate live value

A non-zero value will be interpreted by the flow computer as the Real

Relative Density. This value will be used with the Heating value register. Valid range for value is 0.07 to 1.52.

Heating Value

0 = calculate live value

A non-zero value will be interpreted by the flow computer as the Heating

Value. This value will be used with the Real Relative

42587

42589

42591

42593

42595

42597

42599

42601

42602

42604

Realflo Expert Mode Reference

Default

Read/Write

Register

Range

Default

Read

Register

Range

39228

39230

39232

39234

39236

39238

39240

39242

39243

39245

Register

Type

float float float float float float float uint float float

Realflo User and Reference Manual

May 19, 2011

396

Description

Realflo Expert Mode Reference

Default

Read/Write

Register

Range

Density register. Valid range for value is 0 to 1800

BTU(60)/ft3

Hexanes +

The AGA-8 Hexanes+ configuration registers define the composition of the heavier gas components being measured. There are two options, individual components (selected above) or combined (selected below). See the Hexanes+ register below. n-Hexane portion

This register defines the percentage of the Hexanes+ contributed by n-Hexane. n-Heptane portion

This register defines the percentage of the Hexanes+ contributed by n- Heptane. n-Octane portion

This register defines the percentage of the Hexanes+ contributed by n- Octane. n-Nonane portion

This register defines the percentage of the Hexanes+ contributed by n- Nonane. n-Decane portion

This register defines the percentage of the Hexanes+ contributed by n- Decane.

The Hexanes+ register determines how the

Hexanes+ values are entered.

0 = Use individual gas components (default)

When 0 is entered for the register the Hexane+ registers are entered using registers for n- Hexane, n-

Heptane, n-Octane, n-

Nonane and n-Decane listed above (registers 42587 to

42600).

1 = Use combined value for hexane and higher

42606

42608

42610

42612

42614

42616

Default

Read

Register

Range

39247

39249

39251

39253

39255

39257

Register

Type

float float float float float uint

Realflo User and Reference Manual

May 19, 2011

397

Description Default

Read/Write

Register

Range

components.

When 1 is entered (registers

42606 to 42615)the portion of the Hexanes+ ratio that is applied to each of the n-

Hexane, n-Heptane, n-

Octane, n-Nonane and n-

Decane gas components.

These portions are represented as a percentage of the gas components being measured i.e. 0 to 100%.

The total of the Hexanes+ components needs to add to

100 percent.

Orifice diameter

Apply Request

0 = No operation

1 = Apply new setting

100 = Synchronize with

Flow Computer

Configuration Mapping

Range status

0 = Reset and

Synchronized with Flow

Computer by Apply Request commands 1 and 100.

1 = Settings have changed.

2 = The current settings are invalid.

3 = Reset and

Synchronized with Flow computer as a result of a timeout.

4 = The event log is full and no further change events are allowed.

5 = Invalid command

Meter Run 2 Data Registers

See meter run 1 details.

Meter Run 3 Data Registers

See meter run 1 details.

Meter Run 4 Data Registers

See meter run 1 details.

Meter Run 5 Data Registers

See meter run 1 details.

Meter Run 6 Data Registers

See meter run 1 details.

Meter Run 7 Data Registers

See meter run 1 details.

42617

42619

42620

42621 to

42682

42683 to

42744

42745 to

42806

42807 to

42868

42869 to

42930

42931 to

42992

Realflo Expert Mode Reference

Default

Read

Register

Range

39258

N/A

N/A

39260 to

39319

39320 to

39379

39380 to

39439

39440 to

39499

39500 to

39559

39560 to

39619

Register

Type

float uint uint

Realflo User and Reference Manual

May 19, 2011

398

Description

Meter Run 8 Data Registers

See meter run 1 details.

Meter Run 9 Data Registers

See meter run 1 details.

Meter Run 10 Data Registers

See meter run 1 details.

Realflo Expert Mode Reference

Default

Read/Write

Register

Range

42993 to

43054

43055 to

43116

43117 to

43178

Default

Read

Register

Range

39620 to

39679

39680 to

39739

39740 to

39799

Register

Type

Read Configuration

The Read Configuration command is used to read all or selected parts of the Flow Computer Configuration. When selected the command displays the

Read Flow Computer Configuration dialog as shown below.

The All Configuration radio button, when selected, results in the reading of all configuration data from the flow computer.

The Selected Configuration radio button enables specific configuration data to be read from the flow computer.

Select Communication and I/O Settings to read the serial port and register assignment configuration information.

Select Flow Run and MVT Configuration to read the flow run configuration and the MVT transmitter configuration.

Select Process I/O Configuration to read the Process I/O configuration.

Click on the OK button to read the selected items from the flow computer.

Click the Cancel button to cancel the operation and close the dialog.

The Flow Computer ID is checked before reading. If the Flow Computer ID does not match the ID in the dialog Realflo displays the following message.

Realflo User and Reference Manual

May 19, 2011

399

Realflo Expert Mode Reference

Write Configuration

The Write Configuration command is used to write all or selected parts of the Flow Computer Configuration. When selected the command displays the

Write Flow Computer Configuration dialog as shown below.

The All Configuration radio button, when selected, results in the writing of all configuration data from the flow computer.

The Selected Configuration radio button enables specific configuration data to be written to the flow computer.

Select Communication and I/O Settings to write the serial port, register assignment configuration information and mapping table.

Select Flow Run and MVT Configuration to write the flow run configuration and the MVT transmitter configuration.

Select Process I/O Configuration to write the Process I/O configuration.

Click on the OK button to write the selected items to the flow computer.

Click the Cancel button to cancel the operation and close the dialog.

The Flow Computer ID is checked before writing. If the Flow Computer

ID does not match the ID in the dialog Realflo displays a message.

An error occurs if Controller Configuration is selected and the flow computer type is different from the flow computer type selected in the

Controller Type dialog. A message is displayed.

Realflo User and Reference Manual

May 19, 2011

400

Edit Script

Realflo Expert Mode Reference

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

Use this command to edit Realflo script commands. Scripts are text files that contain a list of Realflo commands. The script files can be executed either manually, (under direct control of the user) or automatically, (under control of another program).

The Edit Script command opens the Edit Script dialog.

This command edits and saves script files that can be accessed by Realflo applications. The script file is not related to the currently open Realflo application. The script command line determines which Realflo application executes which script file.

The Edit Script dialog consists of the currently opened script file name, a list of commands configured in the opened script, script configuration command buttons and Edit Script dialog command buttons.

The currently opened script file name displays the file name of the currently opened script file. The format is X:\….…\file name.aut, where X is the disk drive letter assignment, \……\ is the subdirectory or subdirectories where the script file is located, file name is the script file name and .aut is the file name extension.

Realflo User and Reference Manual

May 19, 2011

401

Realflo Expert Mode Reference

In the above example the opened script file is called Meter1 Script

File.aut and is located in the C:\Program Files\Realflo subfolder.

When the Edit Script command is selected, a script file is not yet open. The file name is displayed as [untitled file] in this case.

The configured command list displays the commands that have be configured for the open script file. These commands are configured with the

Add and Edit commands and are executed in the order that they appear in the command list. Listed commands may be acted upon by selecting the particular command, with the cursor, and then executing one of the script configuration commands.

The script configuration commands are used to configure the script file.

The Add command opens the Edit Script Command dialog for the configuring of a new script command.

The Script command field displays the currently selected script command as determined by the Command field.

The Commands dropdown menu displays the list of available commands for selection. Selecting the arrow icon with the cursor will make these commands visible for selecting. For commands the Run dropdown menu selects the meter run for the command. The commands are:

Update Readings Once. Use this command to update the Current

Readings once from the flow computer for the selected Run.

Read Event Logs. Use this command to read the event log for the selected Run. The Option selection allows for All events or New events.

Read Alarm Logs. Use this command to read the alarm log for the selected Run. The Option selection allows for All alarms or New alarms.

Read Hourly History. Use this command to read the hourly history for the selected Run. The Option selection allows for All hourly history or for a selected Period.

Read Daily History. Use this command to read the daily history for the selected Run. The Option selection allows for All daily history or for a selected Period.

Export Readings. Use this command to export the Current Readings data in the flow computer to a CSV file. Name of CSV file is: <Realflo

file name> - TFR< Run Number > <(Run ID)>.CSV

Export Event Logs. Use this command to export the Event Log data in the flow computer to a CSV file. The Option selection allows for All

Realflo User and Reference Manual

May 19, 2011

402

Realflo Expert Mode Reference alarms or for a selected Period. Name of CSV file is: <Realflo file

name> - TFE< Run Number > <(Run ID)>.CSV

Export Alarm Logs. Use this command to export the Alarm Log data, for the selected Run, from the flow computer to a CSV file. The Option selection allows for All alarms or for a selected Period. The CSV file name is: <Realflo file name>-TFA<Run Number>.CSV

Export Hourly History. Use this command to export the Hourly History data, for the selected Run, from the flow computer to a CSV file. The

Option selection allows for All alarms or for a selected Period. The CSV file name is: <Realflo file name> - TFH<Run Number> <(Run ID)>.CSV

Export Daily History. Use this command to export the Daily History data, for the selected Run, from the flow computer to a CSV file. The

Option selection allows for All alarms or for a selected Period. The CSV file name is: <Realflo file name> - TFD<Run Number> <(Run ID)>.CSV

Export Specific CFX. Use this command to export configuration, current readings, alarm log, event log and hourly history in the flow computer to a CFX file. Data are exported to a single file for each run.

The Option selection allows for All events, alarms and logs or for a selected Period. The name of the CFX file is

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

Export Dated CFX. Use this command to export configuration, current readings, alarm log, event log and hourly history in the flow computer to a CFX file. Each day's data is exported to a separate file. The file name is based on the time and date according to the CFX standard

(YYYYMMDD.CFX). The Option selection allows for All events, alarms and logs or for a selected Period. Files for each run are saved to a folder. The name of the folder is

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

Read Flow Run Configuration. Use this command to read the Flow

Run Configuration for the selected Run. The Option selection allows for

All runs to be read.

Export Flow Run Configuration. Use this command to export the Flow

Run Configuration, for the selected Run, from the flow computer to a

CSV file. The Option selection allows for All runs. The CSV file name is:

<Realflo file name> - TFC<Run Number> <(Run ID)>.CSV

Save. Use this command to save the Realflo application files.

Exit. Use this command to close Realflo.

The Option dropdown menu is used to define the limits of some of the commands. The selections available depend on the command selected.

The All selection specifies all the data for a command.

The New selection specifies only new alarms and events for the Read

Events and Read Alarms commands.

The Period selection specifies a From and To period of data for the command. For hourly data the From entry is the oldest hour and the To entry is the newest hour. For daily data the From entry is the oldest contract day and the To entry is the newest contract day. For either entry 0 is the current hour or contract day, 1 is the previous hour or contract day, etc.

Realflo User and Reference Manual

May 19, 2011

403

Realflo Expert Mode Reference

The OK button retains the settings for the current script command and closes the Edit Script Command dialog.

The Cancel button discards any new changes to the current script command and closes the Edit Script Command dialog.

The Help button displays help for the dialog.

The Edit button opens the Edit Script Command dialog to edit the currently selected command. This command will appear in both the Script command and Command fields in the Edit Script Command dialog. See the Add command for details on the Edit Script Command dialog. This command is grayed if the command list is empty.

The Delete button removes the currently selected command from the command list. This command is grayed if the command list is empty.

The Delete All button removes all commands from the command list. This command is grayed if the command list is empty.

The Move Up button moves the currently selected command up one position in the command list. This command is grayed if the command list is empty or if top command in the list is selected.

The Move Down button moves the currently selected command down one position in the command list. This command is grayed if the command list is empty or if the bottom command in the list is selected.

The edit script dialog commands are used to manage the script files for editing.

The Close button closes the Edit Script dialog. If a script file has been configured but not yet saved, a dialog will appear prompting the user to save the changes to a script file. The Save As dialog is displayed. (see the Save

As command section for more information).

The New button is used to create a new script. If changes have been made to the current script you will be asked if you wish to save the changes first.

Once the changes have been saved, or not, the Edit Script dialog is opened.

The Open button opens an existing script file for editing. If the current command list has not yet been saved to a script file, a dialog will appear prompting the user to save the changes to a script file. When the Open command is used the Open dialog is displayed. The following options allow the user to specify which file to open.

The Look in: box lists the available folders and files.

The File name: box allows you to type or select the file name you want to open. This box lists files with the script file extension “aut”.

The Files of type: box displays the only type of file that this command can open: Realflo script files, with the file extension “aut”.

The Open command opens the script file that is displayed in the File

name: box and closes the Open dialog. The commands contained in the script file are displayed in the command list.

The Cancel command cancels the Open command and closes the

Open dialog.

The Save button saves the currently open script file. This command is grayed if the script file has not been saved using the Save As command.

Realflo User and Reference Manual

May 19, 2011

404

Run Script

Realflo Expert Mode Reference

The Save As button saves the current command list to either an existing or new script file. This command is grayed if the command list is empty.

The Save As dialog is displayed with the following options to allow the user to specify the script file name.

The Save in: box lists the available folders and files.

The File name: box allows you to type or select the file name you want to save.

The Save as type: box displays the only type of file that this command can save: Realflo script file, with the file extension “aut”.

The Save command saves the current command list to the script file specified in the File name: box and closes the Save dialog.

The Cancel command cancels the Save As command and closes the

Save As dialog.

Realflo 6.70 files are compatible with files saved using earlier versions of

Realflo.

The Help button displays help for the dialog.

The Run Script command enables the user to manually execute Realflo script files. This command is disabled if the Update Readings command is enabled. The Run Script command opens the Run Script dialog.

Enter the Realflo script file name and path in the Full Path of the Script

File window or select the Browse button and find the Realflo script file.

Once a Realflo script file is entered in the Full Path of the Script File window the View button opens the View Script window. The View Script window displays the Realflo script commands.

Check the Do Not Wait for User Input to run the script without input from the user. The script will run without displaying dialog boxes to the user. This is equivalent to running a script in the No Window mode from the command line.

The OK button closes the Run Script dialog and executes the script file.

The Cancel button closes the Run Script dialog without executing the script file.

The Help button displays help for the dialog.

Log Results

The Log Results command allows the user to set if the results of the script command execution is logged or not. When the Log Results menu is checked, the results of the script-enabled Realflo operations will be written into a log file. The results are saved in a text file as Realflo file name.LOG.

Realflo User and Reference Manual

May 19, 2011

405

Realflo Expert Mode Reference

The log information consists of three parts as follows:

Time stamp Operation Result

The Time stamp indicates the date and time at the end of the operation.

The date is recorded using the short date format defined in the Control

Panel. The time is recorded using the time format defined in the Control

Panel.

The Operation indicates the script command that was executed.

The Result indicates the normal result or error message.

For example,

2001/05/28 15:20:30

– Update Readings

2001/05/28 15:20:30 -- Read Event Logs Run1

– 5 Events added, cancelled

2001/05/28 15:20:30 -- Read Alarm Logs Run2

– Error: Controller did not respond

2001/05/28 15:20:30 -- Read Hourly History Run3

– 2 Hours added, Error:

Controller did not respond

Automatic Script Execution

Automatic script execution allows the user to configure other applications to execute the Realflo script command automatically. Direct user-operation of

Realflo is not necessary in this scenario. Realflo is completely run by another application.

Applications that would typically run a Realflo script file include HMI packages and custom interface applications. Refer to the HMI or application reference material for information on executing external programs.

Applications such as WindowsNT Scheduler enable tasks such as Realflo flow scripts to be executed on a timed basis. Refer to the Help files for your

PC operating system for more information.

To run the Realflo script automatically, a command line has to be configured in the user application. The command line is in following format:

Realflo configfile.tfc /s=scriptfile.aut /NoWindow where /NoWindow is an option.

If the command line doesn‟t include the /NoWindow option, a Realflo application window will be displayed during script execution. A communication dialog will allow user to cancel current operation at any time.

If the command line includes the /NoWindow option then the Realflo application window is not displayed during script execution. The user cannot cancel script execution before it is completed. The application will exit after finishing the last script command, regardless of whether the script file includes the Exit command.

Options

The options command provides for configuration options to be set when writing flow computer configuration. Currently one option, Check if flow computer upgrade is required, is selectable.

Realflo User and Reference Manual

May 19, 2011

406

Realflo Expert Mode Reference

Select Check if Flow Computer upgrade is required to enable tests of the flow computer version when writing flow computer configuration. Each time a configuration is written to the flow computer a check is made to see if the flow computer version is older than the version available in Realflo. This option is enabled by default.

The Historic Views options determine how historic views timestamps are displayed.

Timestamp selects if start times or end times are shown on historic records.

Select Show Start Time (time leads data) to show the start time of the record. This is supported on flow computer 6.70 and later. This is the default value for PEMEX installations.

Select Show End Time (time lags data) to show the end time of the record. This is the default setting for Standard and GOST installations.

Some Flow computers do not support Start Time timestamps. If you have chosen to show start times, and the start time data is not available, you can select what timestamps are shown. These selections are disabled if end times are selected above.

Select Show the start time anyway to show the start time even if there is no data. Dashes will show in the start time column.

Select Show the end time to automatically show the end time for the record.

Select Ask me what to do to have Realflo prompt you if start time data is not supported. This is the default selection.

The Restrict Realflo Users to reading all alarms and events option defines how alarms and events are acknowledged.

Selecting this option restricts all users to only reading all alarms or all events. Reading all alarms or all events does not acknowledge the alarms or events in the flow computer. Use this option to allow only the

Host system to acknowledge alarms and events. This is the default selection.

When this option Is not selected users with View, Read and Write Data and Administrator account privileges are able to Read New Events and

Realflo User and Reference Manual

May 19, 2011

407

Realflo Expert Mode Reference

Read New Alarms. Reading new events and alarms will result in the events and alarms being acknowledged in the flow computer when they are read using Realflo.

Click OK to save the settings.

Click Cancel to discard changes and close the dialog.

C/C++ Program Loader

The C/C++ Program Loader command provides for downloading multiple

C/C++ applications to a SCADAPack 314/330/334, SCADAPack 350 or

SCADAPack 4203 controller. Each downloaded program can be individually started, stopped, erased, and loaded.

This command is only available when the SCADAPack 314/330/334,

SCADAPack 350, SCADAPack 4203 hardware type is selected from the

Setup dialog. The command is greyed out for other hardware types.

When C/C++ Program Loader command is selected, the controller type is polled by Realflo. If the controller type is a SCADAPack 314/330/334,

SCADAPack 350, SCADAPack 4203then the C/C++ Program Loader dialog is displayed as shown below.

The dialog displays the C/C++ Programs that are loaded in the SCADAPack

314/330/334, SCADAPack 350, SCADAPack 4203 controller. The status of each program is indicated as Running or Stopped.

The Close button closes the dialog.

The Add button writes a new C/C++ program to the controller. Selecting the

Add button opens the Add C/C++ Program dialog.

Only one flow computer program may be added to the C/C++ Programs list.

The Run, Stop and Delete buttons apply to the C/C++ Program selected from the list of loaded C/C++ programs. Only one C/C++ Program may be selected from the list at one time. These buttons are disabled when there are no C/C++ Programs loaded.

The Run button stops and restarts the selected C/C++ program in the controller.

The Stop button stops the selected C/C++ program in the controller.

Realflo User and Reference Manual

May 19, 2011

408

Realflo Expert Mode Reference

The Delete button stops and erases the selected C/C++ program in the controller. However, if the current selected file is a flow computer, the following error message dialog will be displayed.

The Refresh button refreshes the list of loaded programs and their status.

Click on the column headings to sort the list by that column. Click a second time to reverse the sort order.

Add C/C++ Program Dialog

The Add C++ Program dialog writes a C/C++ Program to the controller.

Only one flow computer program may be added to the C/C++ Programs list.

Accounts

File Name specifies the C/C++ Program to write to controller. The file name may be selected in a number of ways.

Click on the Browse button to open a standard file open dialog.

Use the drop-down menu to select the file from a list of previously written files.

Type the path and file name directly into the edit box.

The Write button writes the selected file to the controller. The communication progress dialog box displays information about the write in progress, and allows you to cancel the write. If the file name is loaded already a prompt to replace the file or cancel is displayed.

When using DNP communication between Realflo and the target controller the DNP Application Layer timeout may need to be increased if a large

C/C++ application is added. The default Application Layer timeout of 5 seconds may not be long enough.

The Cancel button exits the dialog without writing to the controller.

The Accounts command in Realflo defines the security settings for Realflo and access to flow computers. The account information is stored both in

Realflo and the flow computer. One user account, the ADMIN account, is automatically created. Up to 99 additional user accounts may be created.

Realflo User and Reference Manual

May 19, 2011

409

Realflo Expert Mode Reference

When a new flow computer file is created, one Administrator level account is created with no PIN. Until the PIN is set or additional accounts are created,

Realflo will automatically log on to this account.

The user account name and security level are displayed in the Status Bar of the Realflo display.

Account Information

Each Realflo account consists of the following information.

Item Description

User ID

8 characters string identifying the account

Limits

maximum

PIN

PIN used to access flow computer range 1 to 65535

Access level functions user has access to one of:

view and read data

view, read data, and configure flow computer

administrator (all of above plus administration of accounts)

Integer in

Account information is stored in the flow computer configuration file. PINs are encrypted.

The user needs to log on to an account when a flow computer file is opened.

If the account settings are not changed, then security is effectively disabled.

For security when accounts are created the default ADMIN account should be deleted and the changes written to the flow computer. This allows that only with accounts can access the flow computer.

When the Accounts command is selected the Accounts dialog is displayed as shown below.

The Accounts dialog has the following controls.

The Accounts list box displays the user ID for each defined account. The users IDs are listed in alphabetic order.

Realflo User and Reference Manual

May 19, 2011

410

Realflo Expert Mode Reference

The Close button accepts the changes and closes the dialog. If the account that was active when the dialog was opened has been deleted, the user is logged off.

The Add button opens the Add/Edit Account dialog. The button is grayed if the maximum number of accounts is reached.

The Edit button opens the Add/Edit Account dialog. Fields in the dialog are set to the values for the currently selected account in the Accounts list box. This button is grayed if no account is selected.

The Delete button removes the currently selected account in the Accounts list box. This button is grayed if the account selected is the last

Administrator level account.

The Write button writes the accounts to the flow computer. To write account information to the flow computer, a user needs to be logged on to an

Administrator level account that has a corresponding account enabled on the flow computer. This button is grayed until accounts are read from the flow computer using the Read button.

The Read button reads accounts from the flow computer. To read account information from the flow computer, a user needs to be logged on to an

Administrator level account that has a corresponding account enabled on the flow computer. Account PINs are not stored in the flow computer.

Reading an account from the flow computer that does not already exist in

Realflo will result in an account with a blank PIN.

The flow computer ID is checked when accounts are written to or read from the flow computer. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.”

The Help button displays the help for this dialog.

Add/Edit Account Dialog

The Add/Edit Account dialog edits information for an account. This dialog pops up when New or Edit is selected in the Accounts dialog. It has the following controls.

Realflo User and Reference Manual

May 19, 2011

411

Realflo Expert Mode Reference

The User ID edit-box lists the user ID for the account. Any combination of letters and numbers up to eight characters in length is permitted. User IDs are case sensitive. For example the user ID “ADMIN” is different from

“admin”. A corresponding User Number (used by the flow computer) is assigned to each user ID, in increasing order. The ADMIN account is User

Number 1).

The PIN edit box contains the flow computer PIN for the account. This needs to be a number in the range 0 to 65535. The data in this field is masked with asterisks so it cannot be viewed.

The Confirm PIN edit box contains a second copy of the flow computer PIN for the account. This needs to be a number in the range 0 to 65535. The data in this field is masked with asterisks so it cannot be viewed.

The Access Level dropdown list contains the access level for the account.

View and read data level users can view data in Realflo and read new data from the flow computer. Users can also view any Custom Views assigned this security level. They cannot change the configuration, start or stop the calculations, set the clock, perform calibration or replace the flow computer program.

View, read and write data level users can view data in Realflo, read new data from the flow computer, change the configuration, start or stop the calculations, set the clock and perform calibration. Users can also view and write initial values for any Custom Views assigned this security level. Users with this access level cannot create or edit Accounts or replace the flow computer program. In PEMEX mode user at this level cannot make any changes to the communication settings, Process I/O, Sensor configuration or Store and Forward settings.

Administrator level users can perform the above functions plus administration of accounts. Users can also view, edit and write initial values for any Custom Views assigned this security level. Users with this access level can create or edit Accounts or replace the flow computer program.

The OK button accepts the entries and closes the dialog. The PIN and

Confirm PIN fields need to match or a message is shown. Correct the values and press OK again.

The Cancel button discards the changes and closes the dialog.

The Help button displays the help for this dialog.

Account PINs are not stored in the flow computer. Reading an account from the flow computer that does not already exist in Realflo will result in an account with a blank PIN.

Lock Flow Computer

Locking a flow computer stops unauthorized access. Commands sent to the flow computer when it is locked will be rejected. A flow computer that is unlocked operates without restriction.

The Lock Flow Computer dialog specifies a password to be used to lock the controller and the commands that are locked.

Realflo User and Reference Manual

May 19, 2011

412

Realflo Expert Mode Reference

Enter a password in the Password edit box. Re-enter the password in the

Verify Password edit box. Any character string up to eight characters in length may be entered. Typing in these edit boxes is masked. An asterisk is shown for each character typed.

The Prevent radio buttons select the commands that are locked.

Locking the programming commands prevents modifying or viewing the program in the controller. Communication protocols can read and write the I/O database.

Locking programming and database write commands prevents modifying or viewing the program and prevents writing to the I/O database. Communication protocols can read data from the I/O database, but cannot modify any data.

Locking programming and database commands prevents modifying or viewing the program and prevents reading and writing the I/O database.

Communication protocols cannot read or write the I/O database.

The OK button verifies the passwords are the same and sends the lock controller command to the controller. The dialog is closed. If the passwords are not the same an error message is displayed. Control returns to the dialog.

The Cancel button closes the dialog without any action.

If the controller is already locked, a message indicating this is shown instead of the dialog.

Unlock Flow Computer

The Unlock Flow Computer dialog prompts the user for a password to be used to unlock the flow computer. If the flow computer is locked, the following dialog is displayed.

Enter the password that was used to lock the flow computer in the

Password edit box. Typing in this edit box is masked. An asterisk is shown for each character typed.

The Cancel button closes the dialog without any action.

Realflo User and Reference Manual

May 19, 2011

413

Realflo Expert Mode Reference

The OK button sends the Unlock Flow Computer command to the controller.

If the password is correct the flow computer will be unlocked. If the password is not correct, the flow computer will remain locked.

If you forget the controller password, the Override Flow Computer Lock command can be used to unlock the controller. It will erase programs in the controller.

Override Flow Computer Lock

The Override Flow Computer Lock dialog allows the user to unlock a flow computer without knowing the password. This can be used in the event that that the password is forgotten.

To stop unauthorized access to the information in the flow computer, the C and Logic programs are erased.

Selecting the Override Flow Computer Lock command displays the following dialog.

The Yes button unlocks the flow computer and erases programs.

The No button closes the dialog without any action.

Show Lock Status

The Show Lock Status command displays the flow computer lock state.

It opens a dialog showing one of the following states:

 unlocked

 locked against programming commands

 locked against programming commands and database write

 locked against programming commands and database read/write

The OK button closes the dialog.

Realflo User and Reference Manual

May 19, 2011

414

Realflo Expert Mode Reference

Maintenance Menu

Log On

Use this command to log on to an account. This command is disabled if the

Update Readings command is enabled. You need to enter the PIN for the account. This command is not available if there are no accounts created.

The Log On dialog has the following controls.

Enter the user ID in the User name edit box.

Enter the PIN number in the PIN edit box. Text entered in this edit box is masked (i.e. asterisks are printed instead of the text).

Click on OK button to accept the account name and PIN. If the PIN is correct, the user is given access. Otherwise the file is opened, but the user has no access to any data.

The Cancel button closes the dialog. No changes are made.

Read Logs/History

Use this command to update the history and event logs with information from the controller. This command is disabled if the Update Readings command is enabled. The Read Logs/History command opens the Read

Logs From Controller dialog.

The flow computer ID is checked when the Read Logs/History command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file

.”

Realflo User and Reference Manual

May 19, 2011

415

Realflo Expert Mode Reference

The Flow Run Range group of controls determines if data for all runs or for a single run is read.

The All Runs radio button selects reading data for all runs.

The Selected Run radio button selects reading from a single run. The drop-down list selects the run to be read.

The Log Range group of controls determines what data is read. The controls apply to all runs selected using the Setup command.

The Event Log check box selects if the event log is read.

The Read All Events radio button selects the reading of all events in the controller. The control is grayed if the Event Log control is not selected.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the events will be acknowledged after reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events. Operator activity will be prevented until the events are read and acknowledged. The control is grayed under the following conditions: o The event log is not selected.

Realflo User and Reference Manual

May 19, 2011

416

Realflo Expert Mode Reference o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

The Alarm Log check box selects if the alarm log is read.

Select Just Read New Alarms to read unacknowledged alarms in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the alarms will be acknowledged after reading the new events. If the events in the log are not acknowledged, the alarm log will fill with 300 events. Operator activity will be prevented until the alarms are read and acknowledged. The control is grayed under the following conditions: o The alarm log is not selected. o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

The Hourly History check box selects if the hourly history is read.

The All Days radio button selects reading hourly history for all days stored in the controller.

The Selected Days radio button selects reading hourly history for the range of days selected with the From and to drop-down lists. All records are read for the contract days whose first hour is within the date range.

All records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log. For example, if the contract day is configured to start at 7:00 AM. Reading hourly history for September 23 would return all the records where the first record in a day was between 7:00 on the

23 rd

to 6:59:59 AM on the 24 th

.

The Daily History check box selects if the daily history is read.

The All Days radio button selects reading hourly history for all days stored in the controller.

The Selected Days radio button selects reading hourly history for the range of days selected with the From and to drop-down lists. All records are read for the contract days whose first record is within the date range. All records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log. For example, if the contract day is configured to start at 7:00 AM. Reading daily history for September 23 would return all the daily records whose end time is in the range 7:00 on the 23 rd

to 6:59:59 AM on the 24 th

.

The From controls contain the oldest previous day for which the hourly or daily history is to be read. The initial value is 35 days before the current day.

The control is enabled when the Hourly History or Daily History checkbox is checked and the Selected Days radio button is selected. Change this date to avoid reading data that has previously been read into the log.

The to controls contain the recent previous day for which the hourly or daily history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. The control is enabled when the Hourly History or Daily History checkbox is checked

Realflo User and Reference Manual

May 19, 2011

417

Realflo Expert Mode Reference and the Selected Days radio button is selected. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

The dates are formatted using the short date style from the Date page of the Regional Settings in the Control Panel.

The OK button reads the selected logs from the controller. If no log is selected, the dialog is closed with no further action.

The Cancel button closes the dialog.

The Help button invokes the Help engine and displays the help page for this dialog.

Calibration

Use this command to calibrate the temperature sensor, static pressure sensor, and differential pressure sensor or pulse counter input. This command is disabled if the Update Readings command is enabled. The calibration dialogs lead you through the calibration procedure.

When more than one sensor is selected, they are forced and then the calibration cycle will be allowed for each sensor in turn. This allows multiple variable transmitters such as the MVT to be calibrated.

The flow computer ID is checked when the calibration command is selected.

If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.”

WARNING

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

Inputs from an MVT may be used by more than one run. The flow computer supports calibration of an MVT that has inputs used by multiple flow runs.

After the run is selected, the configuration for the run is read from the flow computer. The calibration selection page for the run is then displayed.

Connections for SCADAPack Sensor Calibration

It should be noted that when an Absolute (Static) Pressure calibration is performed the bypass or cross feed valve on the manifold needs to be open.

When performing a Differential Pressure calibration the bypass valve needs to be closed.

Differential Pressure Calibration Connections

Realflo User and Reference Manual

May 19, 2011

418

Absolute Pressure Calibration Connections

Realflo Expert Mode Reference

Realflo User and Reference Manual

May 19, 2011

419

Realflo Expert Mode Reference

Sensor Calibration

When the Calibration command is selected the Sensor Calibration dialog is displayed. The Run, or Sensor transmitter, to be calibrated is selected from this dialog.

The Sensor Calibration dialog allows the selection meter run or MVT for calibration.

Select the Run radio button and then select a meter run to calibrate.

Transmitters used for the meter run may be calibrated. This section is disabled if runs are using MVT transmitters.

Follow the steps in the

Run Calibration Procedure

.

Select Sensor radio button and select one of the MVT tags to calibrate a

MVT transmitter. The MVT tags that have been configured will be in MVT selection box.

Follow the steps in the

Sensor Calibration Procedure .

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The back button is not enabled on the first step since there is no previous step.

The Next> button starts the calibration procedure. After the Run, or MVT, is selected, the configuration for the run is read from the flow computer. The

Run, or MVT, calibration page for the run is then displayed.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

420

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

421

Realflo Expert Mode Reference

Run Calibration Procedure

When the Run radio button is selected the Run Calibration dialog is displayed. The transmitters for the run are selected for calibration from this dialog.

Realflo uses live values from the sensor when calibration is cancelled, connect all sensors first.

WARNING

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

Select the sensors to be calibrated by checking the appropriate boxes. More than one sensor may be selected for calibration.

The <Back button is not enabled as this is the initial step.

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

422

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

If a sensor was forced before starting the execution of a calibration, the sensor will remain in a forced state after the calibration process is completed or even if the calibration process is cancelled before completion.

Realflo User and Reference Manual

May 19, 2011

423

Realflo Expert Mode Reference

When more than one sensor is selected, they each need to be forced to a current or fixed value before any of the other steps are performed. A Step 1:

Force Value dialog will be presented for each sensor selected for calibration.

The input register associated with this input is displayed to aid you in determining which input you are calibrating.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor may now be disconnected from the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

424

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 2: Record As Found Values

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You need to record at least one as-found reading.

To take as-found readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

Realflo User and Reference Manual

May 19, 2011

425

Realflo Expert Mode Reference

The measured value from the process is shown in the Measured Value box. When it has settled, click on the Record button to record an asfound reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 3: Calibration Required

Realflo User and Reference Manual

May 19, 2011

426

Realflo Expert Mode Reference

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

Realflo User and Reference Manual

May 19, 2011

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is greyed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

427

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 4: Calibrate Sensor

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

Click on the Next> button when the calibration is complete.

Calibration Step 5: Record As Left Values

Realflo User and Reference Manual

May 19, 2011

428

Realflo Expert Mode Reference

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process is shown. When it has settled, click on the Record button to record an as-left reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

When required readings are taken, click on the Next> button.

Calibration Step 6: Restore Live Input

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Realflo User and Reference Manual

May 19, 2011

429

Realflo Expert Mode Reference

Click on the Next button when the sensor is connected.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo User and Reference Manual

May 19, 2011

430

Realflo Expert Mode Reference

Calibration Step 7: Calibration Report Comment

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Calibration Step 8: Calibration Report

The Calibration Report dialog allows the saving of the calibration report.

Select Save Report to File to save the report. o Type the name of the report in the Save Report to File window.

The default location and name are specified on the Calibration

Report Options dialog. o Select Browse to select a different file name.

Realflo User and Reference Manual

May 19, 2011

431

Realflo Expert Mode Reference o Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked. o Select Do not Save Report to skip saving the calibration report. o Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

Realflo User and Reference Manual

May 19, 2011

432

Realflo Expert Mode Reference

Sensor Calibration Procedure

When the Sensor radio button is selected in the Sensor Calibration dialog the Sensor Calibration dialog is displayed.

The transmitter number, transmitter tag name, the communication port and the transmitter address associated with this transmitter are displayed to aid you in determining which input you are calibrating.

Check the Calibrate Temperature Sensor check box to select the temperature sensor for calibration. This will add the Temperature to the

Calibration order list box.

Check the Calibrate Static Pressure Sensor check box to select the static pressure sensor for calibration. This will add the Static Pressure to the Calibration order list box.

Check the Calibrate Differential Pressure Sensor check box to select the differential pressure sensor for calibration. This will add the Diff.

Pressure to the Calibration order list box.

The Calibration Order list displays the list of sensors to be calibrated.

Sensors are calibrated in order from the top of the list.

Select Move Up button to move the specified item in the list up. The button is disabled if highlight item is on the top of the list or the list is empty.

Select Move Down button to move the specified item in the list down.

The button is disabled if highlight item is on the bottom of the list or the list is empty.

The <Back button is not enabled as this is the initial step.

Realflo User and Reference Manual

May 19, 2011

433

Realflo Expert Mode Reference

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

If a sensor was forced before starting the execution of a calibration, the sensor will remain in a forced state after the calibration process is completed or even if the calibration process is cancelled before completion.

Realflo User and Reference Manual

May 19, 2011

434

Realflo Expert Mode Reference

When more than one sensor is selected, they each need to be forced to a current or fixed value before any of the other steps are performed.

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (Note: You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor can now be disconnected from the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

435

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 2: Record As- Found Values

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You need to record at least one as-found reading.

Realflo will record As Found values to the units type selected for the meter run. If the units type for the meter run and the MVT are not the same then the MVT units are scaled to the meter run units.

To take as-found readings:

Realflo User and Reference Manual

May 19, 2011

436

Realflo Expert Mode Reference

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process is shown in the Measured Value box. When it has settled, click on the Record button to record an asfound reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Sensor Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is grayed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 3: Calibration Required

Realflo User and Reference Manual

May 19, 2011

437

Realflo Expert Mode Reference

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is grayed out and an

“as found reading” needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

WARNING

438

Realflo Expert Mode Reference

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 4: Calibrate SCADAPack 4101, 4202 or 4203

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4101, 4202 or 4203 transmitter.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

The Static Pressure can only have a span calibration performed if at least

5% of the rated pressure is applied.

The RTD Zero can only be adjusted +/- 1% of the RTD upper limit, typically

8.5 degrees C, relative to the settings used when a reset sensor command was last issued.

The list box displays the as-found values listed in the list of Record As-

Found Values dialog.

The Measured Value displays the measured value from the sensor.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The

Realflo User and Reference Manual

May 19, 2011

439

Realflo Expert Mode Reference measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Calibration Step 4: Calibrate SCADAPack 4101

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4101 transmitter.

The as-found readings, for each sensor, will indicate if calibration is required for the sensor. You are prompted to use the 4000 Configurator application to perform the calibration. The 4000 Configurator software is installed from the

Control Microsystems Hardware Documentation CD.

The Next> button proceeds to the next step.

The Help button displays the online help file.

Calibration Step 4: Calibrate 3095 Transmitter

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a 3905 transmitter.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

Realflo User and Reference Manual

May 19, 2011

440

Realflo Expert Mode Reference

The list box displays the as-found values listed in the list of Record As-

Found Values dialog.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Sensor Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The Calibrate Sensor section of the Calibrate Sensor dialog displays the current calibration settings and selectable radio buttons for configuring the sensor calibration.

The Radio buttons enable the changing of the zero and span for the

Temperature, Static Pressure and Differential Pressure sensors. For

Temperature sensors, an additional radio button allows the user to fix the

Temperature value in the event the temperature reading is outside the configured limits.

Select the Re-Zero radio button to enable a new entry in the Applied

Value field. This field displays the current zero value. The button is labeled Re-Zero if the Re-Zero radio button is selected. Clicking the

Re-Zero button writes the zero applied value to the transmitter immediately.

Select the Calculate Span radio button to enable a new entry in the

Applied Value field. This field displays the current span value. The button is labeled Calibrate if the Calibrate Span radio button is selected. Clicking the Calibrate button writes the span applied value to the transmitter immediately.

When calibrating the temperature sensor you may select the Default

Temperature radio button to enable a new entry in the Applied Value field.

Realflo User and Reference Manual

May 19, 2011

441

Realflo Expert Mode Reference

The button is labeled Set if the Default Temperature radio button is selected. The transmitter returns the fixed temperature value if the RTD isnot working, or if the RTD is not connected. The valid range is

–40 to 1200

F or

–40 to 648.89

C. The default value is 60

F or 15.56

C. The new fixed temperature point is written to the transmitter immediately.

The Measured Value displays the measured value from the sensor.

Realflo records the points at which MVT calibration was performed in the event log.

Each time the Re-Zero button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Target Re-zero Temperature

The applied value entered by the user

The measured value from the flow computer

Each time the Calibrate button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Target Temperature Span

The applied value entered by the user

The measured value from the flow computer

Each time the Set Default button is clicked the following information is recorded.

Event Name

New Value

Previous Value

Set Default Temperature

The applied value entered by the user

The measured value from the flow computer

Calibration Step 4: Record As Left Values

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

Realflo User and Reference Manual

May 19, 2011

442

Realflo Expert Mode Reference

Realflo will record the As Found values to the units type selected for the meter run. If the units type for the meter run and the transmitter are not the same then the transmitter units are scaled to the meter run units.

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process is shown. When it has settled, click on the Record button to record an as-left reading.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Sensor Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Repeat the process to record additional readings.

When the required readings are taken, click on the Next> button.

Calibration Step 5: Restore Live Input

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Click on the Finish button when the sensor is connected.

WARNING

Realflo User and Reference Manual

May 19, 2011

443

Realflo Expert Mode Reference

The live value from all sensors is used as soon as the Finish button is clicked. Be sure to connect all sensors first.

Calibration Step 6: Calibration Report Comment

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Calibration Step 7: Calibration Report

Realflo User and Reference Manual

May 19, 2011

444

Realflo Expert Mode Reference

The Calibration Report dialog allows the saving of the calibration report.

Realflo User and Reference Manual

May 19, 2011

Select Save Report to File to save the report.

Type the name of the report in the Save Report to File window. The default location and name are specified on the Calibration Report

Options dialog.

Select Browse to select a different file name.

Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked.

Select Do not Save Report to skip saving the calibration report.

Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

445

Realflo Expert Mode Reference

Recovering From a PC Crash During Calibration

If power to the PC is disconnected or another event prevents the completion of the calibration procedure, the flow computer is left in calibration mode.

The sensor input is left at the forced value. This needs to be corrected or the proper flow measurement will not be made.

To recover, simply restart the calibration.

From the Flow Computer menu, select Calibrate.

Follow the on-screen instructions. You may have repeat steps already performed, depending on when the crash occurred.

Recovering From a Power Loss During Calibration

If power is lost to the flow computer during calibration, the calibration is aborted. The flow computer uses the live inputs from the sensors when power is restored.

If you were part way through calibration when the power was lost, you will have to restart the calibration. If possible, restore the sensor to an operating state before restoring power to the flow computer.

Replacing a Sensor

When a sensor is not working it needs to be replaced. If you have a working sensor you can replace it immediately. Replacing a sensor is similar to calibration.

At the As-Found stage it will be necessary to take at least one reading. If possible take enough readings to show how the sensor has stopped working. This may make it possible to correct previous flow readings.

Answer Yes when asked if you want to calibrate the sensor.

During the calibration step, remove the sensor and replace it with a working sensor.

Take the same As-Left readings as you would for calibration.

If a working sensor is not available, it may be possible to continue measuring flow by forcing a value for the sensor. Consult your company‟s procedures before attempting this. Forcing of input registers can be done using Telepace (see the Telepace manual for details).

Calibration Report Options

The calibration report options command specifies where the calibration report is stored when the Calibration Report Options dialog is displayed.

Realflo User and Reference Manual

May 19, 2011

446

Realflo Expert Mode Reference

Realflo suggests report file names.

The Format window selects the name format. The valid values are listed below. The default is to include all information.

 file name (Flow Computer ID) - Run# (run ID)

 file name (Flow Computer ID) - Run#

 file name (Flow Computer ID) - run ID

 file name - Run# (run ID)

 file name - Run#

 file name - run ID

Flow Computer ID - Run# (run ID)

Flow Computer ID - Run#

Flow Computer ID - run ID

Run# (run ID)

 run ID

The Example control shows the file name that will be suggested for the current file. The text Calibration Report is appended to any suggestions.

The Report File Location window is used to select where reports are stored:

Type the folder where reports are to be stored.

Click Browse to select a folder.

These options are stored in the registry and apply to any files opened in

Realflo.

The default file name is file name (Flow Computer ID) - Run# (run ID)

The default location when Realflo is first run is the Realflo installation folder.

Change Orifice Plate

The Change Orifice Plate command allows the orifice plate to be changed for AGA-3 meter runs. This command supports Dual Chamber Orifice fittings and Singe Chamber Orifice fittings.

Realflo User and Reference Manual

May 19, 2011

447

Select Meter Run

Realflo Expert Mode Reference

When selected this command opens the Orifice Plate Change wizard is started and will prompt you through the plate change procedure.

The flow computer ID is checked when the Change Orifice Plate command is selected. If the flow computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.” The command is aborted.

When the Change Orifice command is selected the Change Orifice Plate dialog is displayed.

The Run dropdown selection displays the runs using AGA

–3 flow calculations. Select the run to change or inspect the orifice plate.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the run selection and the wizard moves to the next step. This button is grayed out if there are no flow runs configured to use the AGA-3 flow calculation.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Realflo User and Reference Manual

May 19, 2011

448

Realflo Expert Mode Reference

Click No to continue with the plate change. The default button is No.

Realflo User and Reference Manual

May 19, 2011

449

Realflo Expert Mode Reference

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Choose Orifice Fitting Type Step

This page allows the users to select the type of orifice fitting.

Select Dual Chamber Orifice Fitting if a dual chamber fitting is present.

Flow accumulation with estimated values will continue during the plate change.

Select Singe Chamber Orifice Fitting if a single chamber fitting is present.

Flow accumulation will stop during the plate change.

The Next button moves to the next step.

The next step is described in the section Dual Chamber Orifice

if a dual chamber fitting is selected.

The next step is described in the section Single Chamber Orifice

if a single chamber fitting is selected.

The Cancel button closes the dialog and stops the plate change procedure.

The Help button displays the online Help file.

Dual Chamber Orifice

A dual chamber orifice allows the user to change, or inspect, the orifice plate without stopping the flow. These are generally large custody transfer sites

Realflo User and Reference Manual

May 19, 2011

450

Force Input Step

Realflo Expert Mode Reference where the orifice fitting is bypassed during the change or inspection procedure.

The Change Orifice Plate Command forces the Static Pressure, Differential

Pressure and Temperature inputs to a fixed value during the orifice plate change or inspection procedure. This command is disabled if the Update

Readings command is enabled. The flow is estimated during the procedure using the fixed values.

This command allows a user to place a flow run into estimation mode to allow an orifice plate to be changed or inspected. Changing the orifice plate involves the following steps.

Set the estimated flow to be used during the orifice plate change by forcing inputs to fixed values.

Change the orifice size.

Complete the orifice plate change and resume normal flow measurement.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flo w Computer ID from the file.” The command is aborted.

This step forces the flow run inputs. An estimated flow will be calculated while the plate change is in progress. The current values are updated every second.

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

Realflo User and Reference Manual

May 19, 2011

451

Realflo Expert Mode Reference

If an input on a run is not currently forced, the default value configured for the Values for Sensor Fail field on the Configuration Tool Bar > Run n >

Inputs tab needs to be entered for the Fixed Value The default value to use when the Value on Sensor Fail option on the Inputs tab is set to Use Default

Value field.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the force inputs step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Change Orifice Plate Step

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

Realflo User and Reference Manual

May 19, 2011

452

Realflo Expert Mode Reference

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and displays the following message.

Realflo User and Reference Manual

May 19, 2011

453

Realflo Expert Mode Reference

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

Realflo User and Reference Manual

May 19, 2011

454

The Help button displays the online help file.

Realflo Expert Mode Reference

Realflo User and Reference Manual

May 19, 2011

455

Realflo Expert Mode Reference

Single Chamber Orifice

A single chamber orifice requires the flow be stopped while an orifice plate is changed.

The Change Orifice Plate command prompts the user to stop the flow before changing the plate and start the flow after changing the plate.

Changing the orifice plate involves the following steps.

Confirm that flow has stopped.

Change the orifice size.

Complete the orifice plate change.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match th e Flow Computer ID from the file.” The command is aborted.

Stop Flow Step

This step stops the flow run. The current inputs can be monitored while the flow is stopped.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the Stop Flow step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Change Orifice Plate Step

Realflo User and Reference Manual

May 19, 2011

456

Realflo Expert Mode Reference

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

Realflo User and Reference Manual

May 19, 2011

457

Realflo Expert Mode Reference

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

The Help button displays the online help file.

Calculation Control

This command is used to control the execution of flow calculations for all meter runs in the controller. This command is disabled if the Update

Readings command is enabled. The flow calculation for each selected meter run may be running or stopped.

When the Calculation Control dialog is opened, the current state of the flow calculation is read from the controller.

The flow computer ID is checked when the Calculation Control dialog is opened. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.

When the dialog is opened, the current state of every runs is read from the controller. The dialog displays a table containing four columns.

Realflo User and Reference Manual

May 19, 2011

458

Realflo Expert Mode Reference

The Run column displays each run configured in Realflo.

The Current Status column displays the flow calculation state of each run.

Running indicates the flow calculation is executing.

Stopped indicates the flow calculation is not executing.

Not Set indicates the run state is not known.

The New Status column displays the state of the flow calculation for each run. To change the state of the flow calculation, click on the cell or move the cursor to the cell with the arrow keys and press the space bar. The setting changes as follows:

Running changes to Stopped

Stopped changes to Running

Not set changes to Running

The Interval column displays the time between calculations for the run. This value cannot be changed.

The OK button accepts the changes and writes them to the controller. When there are no changes, nothing is written to the controller.

The Cancel button closes the dialog.

The Help button displays the help page for this dialog.

Update Readings

This command is used to control updating of the Current Readings view.

This command is disabled if the Update Readings command is enabled.

When this command is selected readings are continuously updated from the flow computer. A check mark is shown next to the command when readings are updating.

The flow computer ID is checked when the Update Readings command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the message “The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file

.”

Realflo User and Reference Manual

May 19, 2011

459

Realflo Expert Mode Reference

The Current Readings view is updated continuously until the Update

Readings command is selected again.

Update Readings Once

This command is used to control updating of the Current Readings view.

When this command is selected readings are updated once from the flow computer.

The flow computer ID is checked when the Update Readings Once command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file

.”

The Current Readings view is updated once each time the Update Readings

Once command is selected.

Force Inputs

The Force Sensor command allows forcing and unforcing of the value of the temperature sensor, static pressure sensor, differential pressure sensor, or pulse counter input. When selected the command opens the Force Sensor wizard. Flow calculations continue to execute while sensors are forced.

The flow computer ID is checked when the Force Inputs command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.”

When the Force Inputs command is selected the Select Run or Transmitter to Force dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

460

Force Run Inputs

Realflo Expert Mode Reference

Select Run to force the sensor inputs for a flow run using analog or pulse sensors. Select the run to be forced from the dropdown list. The Run controls are disabled if there are no runs using analog or pulse sensors.

See the section Force Run Inputs b

elow for information on forcing Run inputs.

Select Sensor to force the inputs from a transmitter. Select the transmitter

to be forced from the dropdown list beside it. See the section

Force

Transmitter Sensor Inputs

below for information on forcing transmitter

inputs.

The Back button is disabled, as this is the first step in the wizard.

The Next starts the force procedure.

The Cancel closes the wizard.

The Help displays the online help file.

When the Force Run is selected the Force Input Values dialog is displayed as shown below. The Force Input Values step selects the analog inputs of a flow run which will be forced or unforced. It displays the inputs that can be forced

.

The Force Input Value dialog contains sections for Force Differential

Pressure Input, Force Static Pressure Input and Force Temperature Input.

When AGA-7 calculation type is used the dialog contains a section for Force

Pulse Counter Input instead of Force Differential Pressure Input.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Realflo User and Reference Manual

May 19, 2011

461

Realflo Expert Mode Reference

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove to remove the existing forcing. This button is disabled if the input is not forced.

If an input on a run is not currently forced, the default value configured for the Values for Sensor Fail field on the Configuration Tool Bar > Run n >

Inputs tab needs to be entered for the Fixed Value The default value to use when the Value on Sensor Fail option on the Inputs tab is set to Use Default

Value field.

The Back button moves back to the Select Run or Transmitter to Force step. Backing up does not erase the events from the flow computer event log or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

Realflo User and Reference Manual

May 19, 2011

462

Realflo Expert Mode Reference

Force Transmitter Sensor Inputs

This step shows the selected transmitter inputs. The inputs can be forced to the current value or a fixed value, left as it is, or the forcing can be removed.

The transmitter number, transmitter tag name, the communication port and the transmitter address associated with this transmitter are displayed to aid you in determining which input you are forcing.

The Sensor Values dialog contains sections for Force Differential Pressure,

Force Static Pressure and Force Temperature.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove Force to remove the existing forcing. This button is disabled if the input is not forced.

The Back button moves back to the Select Run or Transmitter to Force step.

Realflo User and Reference Manual

May 19, 2011

463

Realflo Expert Mode Reference

Backing up does not erase events from the flow computer event log, or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

The same transmitter can be used for more than one flow run. Realflo forces the value for each run.

Realflo User and Reference Manual

May 19, 2011

464

Realflo Expert Mode Reference

Communication Menu

The Communication menu contains the commands for configuring the communication between the flow computer and Realflo.

PC Communications Settings Command

The PC Communication Settings command defines the communication protocol and communication link to communicate between the personal computer (PC) and SCADAPack or 4202 controller.

When the command is select the Communication Protocols Configuration dialog is displayed as shown below.

The Communication Protocols dropdown list box presents available communication protocols. The default protocol is Modbus RTU. Click the dropdown list icon at the right of the window to display a list of available communication protocols.

ClearSCADA

DNP

DNP/TCP

DNP/UDP

Modbus ASCII

Modbus ASCII in TCP

Modbus ASCII in UDP

[Modbus RTU]

Modbus RTU in TCP

Modbus RTU in UDP

Modbus/TCP

Modbus/UDP

Modbus/USB

SCADAServer

The Configure button opens configuration dialog for the selected communication protocol.

Realflo User and Reference Manual

May 19, 2011

465

Realflo Expert Mode Reference

The Realflo Command Timeout edit box sets the length of time, in seconds, to wait for a response to a Realflo command. The valid range is 3 to 60 seconds and the default value is 10.

Clicking the OK button will make the selected protocol the active one.

Clicking the Cancel button abandons any and any changes made via this dialog.

ClearSCADA

The ClearSCADA protocol driver is used for communicating with a local or remote ClearSCADA server. The ClearSCADA server will then, in turn, communicate with devices as per its configuration. The ClearSCADA protocol driver communicates with the ClearSCADA server using a TCP connection.

To configure a ClearSCADA protocol connection, highlight

ClearSCADA in the Communication Protocols window and click the

Configure button. The ClearSCADA Configuration window is displayed.

To select a configured ClearSCADA protocol connection, highlight

ClearSCADA in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When ClearSCADA protocol is selected for configuration the ClearSCADA

Configuration dialog is opened with the General tab selected as shown below.

The General tab component information section contains the name of

Communication Component and the author, Control Microsystems.

The Communications Settings grouping contains details necessary to establish communication to a device through a local or remote ClearSCADA installation.

Realflo User and Reference Manual

May 19, 2011

466

Realflo Expert Mode Reference

The Modbus Station entry specifies the station address of the target device. Valid values are 1 to 65534.

The Outstation Set entry specifies the ClearSCADA outstation set to which the target device is attached. The valid range is 0 to 65535. The default value is 0.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The TCP Port Number entry specifies the TCP port on the ClearSCADA server. The valid range is 0 to 65535. The default value is 49155

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The contents of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

The protocol that ClearSCADA uses to communicate with the remote

SCADAPack controller needs to be taken into account when determining the message size. In ClearSCADA the Modbus tab in the Channel object sets the maximum packet size ClearSCADA uses when communicating with the remote SCADAPack controller.

Realflo User and Reference Manual

May 19, 2011

467

Realflo Expert Mode Reference

Information

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value will indicate to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 264.

The default value is 264.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

468

Realflo Expert Mode Reference

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

DNP

The DNP protocol driver is used to communicate over a serial DNP network to SCADAPack controllers configured for DNP communication.

To configure a DNP protocol connection, highlight DNP in the

Communication Protocols window and click the Configure button. The

DNP Configuration window is displayed.

To select a configured DNP protocol connection, highlight DNP in the

Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When DNP is selected for configuration the DNP Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

469

Realflo Expert Mode Reference

The General tab component information section contains the name of

Communication Component and the author, Control Microsystems.

The DNP Communication Settings logical grouping contains DNP specific communication settings including the DNP Station address, the timeout interval as well as the number of attempts.

The RTU Station parameter sets the target DNP station number. Valid entries are 0 to 65519. The default address is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

This Serial Port Settings grouping contains details directly related to the

PC‟s communication port including the port number, the baud rate, parity, and stop bit settings.

The Port parameter specifies the PC serial port to use. The DNP driver determines what serial ports are available on the PC and presents these in the drop-down menu list. The available serial ports list will include any USB to serial converters used on the PC. The default value is the first existing port found by the driver.

Realflo User and Reference Manual

May 19, 2011

470

Realflo Expert Mode Reference

The Baud parameter specifies the baud rate to use for communication. The menu list displays selections for 300, 600, 1200, 2400, 4800, 9600, 19200,

38400, and 57600. The default value is 9600.

The Parity parameter specifies the type of parity to use for communication.

The menu list displays selections for none, odd and even parity. The default value is None.

The Stop Bits parameter specifies the number of stop bits to use for communication. The menu list displays selections for 1 and 2 stop bits. The default value is 1 bit.

The Connection Type parameter specifies the serial connection type. The

DNP driver supports direct serial connection with no flow control, Requestto-send (RTS) and clear-to-send (CTS) flow control and PSTN dial-up connections. The menu list displays selections for Direct Connection,

RTS/CTS Flow Control and Dial Up Connection. The default selection is

Direct Connection.

Select Direct Connection for RS-232 for RS-485 connections not requiring the hardware control lines on the serial ports.

Select RTS/CTS Flow Control to communicate over radio or leasedline networks using modems that require RTS/CTS handshaking.

Selecting RTS/CTS Flow Control adds a new tab, Flow Control, to the

DNP Configuration dialog. Refer to the Flow Control Parameters section below for configuration details.

Select Dial Up Connection to communication over dial up modems.

Selecting Dial Up Connection adds a new tab, Dial Up, to the DNP

Configuration dialog. Refer to the Dial Up Parameters section below for configuration details.

Click Restore Defaults to restore default values to fields on this page.

Flow Control Parameters

Flow Control parameters are used to configure how RTS and CTS control is used. When RTS/CTS Flow Control is selected for Connection Type the

Flow Control tab is added to the DNP Configuration dialog. When the Flow

Control tab heading is clicked the Flow Control dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

471

Realflo Expert Mode Reference

RTS/CTS Flow Control

The RTS/CTS Flow Control grouping contains two mutually exclusive options, Use Hardware Control Lines and Use CTS Delay Time. These options enable the driver to communicate over radio or leased-line networks using modems that require RTS/CTS handshaking.

The Use Hardware Control Lines option specifies a half-duplex connection requiring the use of the Request to Send (RTS) and Clear to Send (CTS) hardware control lines to control the flow of data. This selection is used with radios and dedicated telephone line modems. The driver turns on the RTS signal when it wants to transmit data. The modem or other device then turns on CTS when it is ready to transmit. The driver transmits the data, and then turns off the RTS signal. This selection is mutually exclusive of the Use CTS

Delay Time selection described below. This is the default selection.

The Use CTS Delay Time option is selected if the device cannot generate a

CTS signal. The driver will assert RTS then wait the specified Delay Time, in milliseconds, before proceeding. This option is mutually exclusive with the

Use Hardware Control Lines selection described above.

The Delay Time parameter sets the time in milliseconds that the driver will wait after asserting RTS before proceeding. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog.

For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

Realflo User and Reference Manual

May 19, 2011

472

Realflo Expert Mode Reference

The Hold Time parameter specifies the time, in milliseconds, that the driver will hold RTS after the last character is transmitted. This is useful for devices that immediately end transmission when RTS is turned off. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog. For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

Click Restore Defaults to restore default values to fields on this page.

Dial Up Parameters

Dial Up parameters are used to configure a dial up connection. When Dial

Up is selected for Connection Type the Dial Up tab is added to the DNP

Configuration dialog. When the Dial Up tab heading is clicked the Dial Up dialog is opened as shown below.

The Dialing Prefix parameter specifies the commands sent to the modem before dialing. A maximum of 32 characters can be entered. Any character i s valid. The default value is “&F0 &K0 S0=1 &W0 &Y0”.

The Phone Number parameter specifies the telephone number of the remote controller. A maximum of 32 characters can be entered. Any character i s valid. This field‟s default value is blank.

The Dial Type parameter specifies the dialing type. Valid values are Pulse and Tone. The default value is Tone.

Realflo User and Reference Manual

May 19, 2011

473

Realflo Expert Mode Reference

The Dial Attempts parameter specifies how many dialing attempts will be made. Valid values are 1 to 10. The default value is 1.

The Connect Time parameter specifies the amount of time in seconds the modem will wait for a connection. Valid values are 6 to 300. The default value is 60.

The Pause Time parameter specifies the time in seconds between dialing attempts. Valid values are 6 to 600. The default value is 30.

Check the Inactivity Timeout check box to automatically terminate the dialup connection after a period of inactivity. The Inactivity Time edit box is enabled only if this option is checked. The default state is checked.

Enter the inactivity period, in minutes, in the Inactivity Timeout box. The dialup connection will be terminated automatically after the specified number of minutes of inactivity has lapsed. This option is only active if the Inactivity

Timeout box is checked. Valid values are from 1 to 30 minutes. The default value is 1.

Click Restore Defaults to restore default values to fields on this page, except for the Phone Number field. The content of this field will remain unchanged.

Advanced Parameters

DNP Configuration Advanced parameters set the DNP master station address and message size control. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

474

Information

Realflo Expert Mode Reference

The Master Station parameter is the DNP station address assumed by this communication component. When this driver sends out commands, responses from the controller will be directed to this address. The default value is 100.

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 231.

The default value is 231.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

475

DNP/TCP

General Page

Realflo Expert Mode Reference

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

The DNP/TCP protocol driver is used to communicate over an Ethernet

DNP network to SCADAPack controllers configured for DNP/TCP communication.

To configure a DNP/TCP protocol connection, highlight DNP/TCP in the

Communication Protocols window and click the Configure button. The

DNP/TCP Configuration window is displayed.

To select a configured DNP/TCP protocol connection, highlight

DNP/TCP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

When DNP/TCP protocol is selected for configuration the DNP/TCP

Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

476

Realflo Expert Mode Reference

The DNP Communication Settings grouping contains DNP specific communication settings including the DNP Station address, the timeout interval as well as the number of attempts.

The RTU Station parameter specifies the DNP station number of the target device. The valid range is 0 to 65519. The default is station 1.

The Timeout parameter specifies the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid values are 1 to 255. The default value is 3 seconds.

The Attempts parameter specifies the number of times to send a command to the controller before giving up and reporting this to the host application.

Valid values are 1 to 20. The default value is 3 attempts.

The Host Network Details grouping contains information about the IP network including the target‟s IP address or name, and the TCP port number on which it is listening. More details on these below.

IP Address / Name

The IP Address / Name parameter specifies the Ethernet IP address of the target RTU, or a DNS name that can be resolved to an IP address. The default value is blank. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The TCP Port No. field specifies the TCP port of the remote device. Valid values are 0 to 65535. The default value is 20000.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Page

Advanced parameters are used to set the Master Station address and control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the

Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

477

Realflo Expert Mode Reference

Information Page

The Master Station parameter specifies the DNP station address of the

Realflo application. When Realflo sends out commands, responses from the target controller will be directed to this address. The valid range is 0 to

65519, except that this value cannot be the same as the target RTU Station number. The default value is 100.

The Maximum selection indicates that you want the host application to package messages using the maximum size allowable by the protocol.

The Custom value selection specifies a custom value for message size.

This value indicates to the host application to package messages to be no larger than what is specified if possible. The valid range for the Custom value field is from 2 to 231. Maximum is selected by default.

Click Restore Defaults to restore default values to fields on this page.

Realflo User and Reference Manual

May 19, 2011

478

Realflo Expert Mode Reference

The Information page displays detailed driver information. When the

Information tab is clicked the Information dialog is opened as shown below.

DNP/UDP

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

The DNP/UDP protocol driver is used to communicate over an Ethernet

DNP network to SCADAPack controllers configured for DNP/UDP communication.

Realflo User and Reference Manual

May 19, 2011

479

General Page

Realflo Expert Mode Reference

To configure a DNP/UDP protocol connection, highlight DNP/UDP in the

Communication Protocols window and click the Configure button. The

DNP/UDP Configuration window is displayed.

To select a configured DNP/UDP protocol connection, highlight

DNP/UDP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

When DNP/UDP protocol is selected for configuration the DNP/UDP

Configuration dialog is opened with the General tab selected as shown below.

The DNP Communication Settings grouping contains DNP specific communication settings including the DNP Station address, the timeout interval as well as the number of attempts.

The RTU Station parameter specifies the DNP station number of the target device. The valid range is 0 to 65519. The default is station 1.

The Timeout parameter specifies the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid values are 1 to 255. The default value is 3 seconds.

The Attempts parameter specifies the number of times to send a command to the controller before giving up and reporting this to the host application.

Valid values are 1 to 20. The default value is 3 attempts.

Realflo User and Reference Manual

May 19, 2011

480

IP Address / Name

The IP Address / Name parameter specifies the Ethernet IP address of the target RTU, or a DNS name that can be resolved to an IP address. The default value is blank. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The UDP Port No. field specifies the UDP port of the remote device. Valid values are 0 to 65534. The default value is 20000.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Page

Realflo Expert Mode Reference

The Host Network Details grouping contains information about the IP network including the target‟s IP address or name, and the UDP port number on which it is listening. More details on these below.

Advanced parameters are used to set the Master Station address and control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the

Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

481

Information Page

Realflo Expert Mode Reference

The Master Station parameter specifies the DNP station address of the

Realflo application. When Realflo sends out commands, responses from the target controller will be directed to this address. The valid range is 0 to

65519, except that this value cannot be the same as the target RTU Station number. The default value is 100.

The Maximum selection indicates that you want the host application to package messages using the maximum size allowable by the protocol.

The Custom value selection specifies a custom value for message size.

This value indicates to the host application to package messages to be no larger than what is specified if possible. The valid range for the Custom value field is from 2 to 231. Maximum is selected by default.

Click Restore Defaults to restore default values to fields on this page

The Information page displays detailed driver information. When the

Information tab is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Realflo User and Reference Manual

May 19, 2011

482

Realflo Expert Mode Reference

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus ASCII

The Modbus ASCII protocol driver is used to communicate over a serial network, using Modbus ASCII framing, to SCADAPack controllers configured for Modbus ASCII protocol.

To configure a Modbus ASCII protocol connection, highlight Modbus

ASCII in the Communication Protocols window and click the Configure button. The Modbus ASCII Configuration window is displayed.

To select a configured Modbus ASCII protocol connection, highlight

Modbus ASCII in the Communication Protocols window and click the

OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus ASCII is selected for configuration the Modbus ASCII

Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

483

Realflo Expert Mode Reference

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used, and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

This Serial Port Settings grouping contains details directly related to the

PC‟s communication port including the port number, the baud rate, parity, and stop bit settings.

The Port parameter specifies the PC serial port to use. The DNP driver determines what serial ports are available on the PC and presents these in the drop-down menu list. The available serial ports list will include any USB to serial converters used on the PC. The default value is the first existing port found by the driver.

The Baud parameter specifies the baud rate to use for communication. The menu list displays selections for 300, 600, 1200, 2400, 4800, 9600, 19200,

38400, and 57600. The default value is 9600.

The Parity parameter specifies the type of parity to use for communication.

The menu list displays selections for none, odd and even parity. The default value is None.

The Data Bits parameter specifies the number of data bits contained in the character frame. Valid values are for this field is 7 and 8 bits. The default value is 8 bits.

The Stop Bits parameter specifies the number of stop bits to use for communication. The menu list displays selections for 1 and 2 stop bits. The default value is 1 bit.

The Connection Type parameter specifies the serial connection type. The

Modbus ASCII driver supports direct serial connection with no flow control,

Request-to-send (RTS) and clear-to-send (CTS) flow control and PSTN dialup connections. The menu list displays selections for Direct Connection,

RTS/CTS Flow Control and Dial Up Connection. The default selection is

Direct Connection.

Select Direct Connection for RS-232 for RS-485 connections not requiring the hardware control lines on the serial ports.

Select RTS/CTS Flow Control to communicate over radio or leasedline networks using modems that require RTS/CTS handshaking.

Selecting RTS/CTS Flow Control adds a new tab, Flow Control, to the

Realflo User and Reference Manual

May 19, 2011

484

Realflo Expert Mode Reference

Modbus ASCII Configuration dialog. Refer to the Flow Control

Parameters section below for configuration details.

Select Dial Up Connection to communication over dial up modems.

Selecting Dial Up Connection adds a new tab, Dial Up, to the Modbus

ASCII Configuration dialog. Refer to the Dial Up Parameters section below for configuration details.

Click Restore Defaults to restore default values to fields on this page.

Modbus ASCII Configuration (Flow Control)

Flow Control parameters are used to configure how RTS and CTS control is used. When RTS/CTS Flow Control is selected for Connection Type the

Flow Control tab is added to the Modbus ASCII Configuration dialog. When the Flow Control tab heading is clicked the Flow Control dialog is opened as shown below.

The RTS/CTS Flow Control grouping contains two mutually exclusive options, Use Hardware Control Lines and Use CTS Delay Time. These options enable the driver to communicate over radio or leased-line networks using modems that require RTS/CTS handshaking.

The Use Hardware Control Lines option specifies a half-duplex connection requiring the use of the Request to Send (RTS) and Clear to Send (CTS) hardware control lines to control the flow of data. This selection is used with radios and dedicated telephone line modems. The driver turns on the RTS

Realflo User and Reference Manual

May 19, 2011

485

Realflo Expert Mode Reference signal when it wants to transmit data. The modem or other device then turns on CTS when it is ready to transmit. The driver transmits the data, and then turns off the RTS signal. This selection is mutually exclusive of the Use CTS

Delay Time selection described below. This is the default selection.

The Use CTS Delay Time option is selected if the device cannot generate a

CTS signal. The driver will assert RTS then wait the specified Delay Time, in milliseconds, before proceeding. This option is mutually exclusive with the

Use Hardware Control Lines selection described above.

The Delay Time parameter sets the time in milliseconds that the driver will wait after asserting RTS before proceeding. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog.

For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

The Hold Time parameter specifies the time, in milliseconds, that the driver will hold RTS after the last character is transmitted. This is useful for devices that immediately end transmission when RTS is turned off. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog. For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

Click Restore Defaults to restore default values to all fields on this page.

Modbus ASCII Configuration (Dial Up)

Dial Up parameters are used to configure a dial up connection. When Dial

Up is selected for Connection Type the Dial Up tab is added to the Modbus

ASCII Configuration dialog. When the Dial Up tab heading is clicked the

Dial Up dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

486

Realflo Expert Mode Reference

The Dialing Prefix parameter specifies the commands sent to the modem before dialing. A maximum of 32 characters can be entered. Any character is valid. The default value is “&F0 &K0 S0=1 &W0 &Y0”.

The Phone Number parameter specifies the telephone number of the remote controller. A maximum of 32 characters can be entered. Any character i s valid. This field‟s default value is blank.

The Dial Type parameter specifies the dialing type. Valid values are Pulse and Tone. The default value is Tone.

The Dial Attempts parameter specifies how many dialing attempts will be made. Valid values are 1 to 10. The default value is 1.

The Connect Time parameter specifies the amount of time in seconds the modem will wait for a connection. Valid values are 6 to 300. The default value is 60.

The Pause Time parameter specifies the time in seconds between dialing attempts. Valid values are 6 to 600. The default value is 30.

Check the Inactivity Timeout check box to automatically terminate the dialup connection after a period of inactivity. The Inactivity Time edit box is enabled only if this option is checked. The default state is checked.

Enter the inactivity period, in minutes, in the Inactivity Timeout box. The dialup connection will be terminated automatically after the specified number

Realflo User and Reference Manual

May 19, 2011

487

Realflo Expert Mode Reference of minutes of inactivity has lapsed. This option is only active if the Inactivity

Timeout box is checked. Valid values are from 1 to 30 minutes. The default value is 1.

Click Restore Defaults to restore default values to all fields on this page, except for the Phone Number field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

Realflo User and Reference Manual

May 19, 2011

488

Information

Realflo Expert Mode Reference

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Realflo User and Reference Manual

May 19, 2011

489

Realflo Expert Mode Reference

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus ASCII in TCP

Modbus ASCII in TCP message format is exactly same as that of the

Modbus ASCII protocol. The main difference is that Modbus ASCII in TCP protocol communicates with a SCADAPack controller through the Internet and Modbus ASCII through the serial port. The Modbus ASCII in TCP protocol does not include a six-byte header prefix, as with the Modbus\TCP, but does include the Modbus „CRC-16‟ or „LRC‟ check fields.

To configure a Modbus ASCII in TCP protocol connection, highlight

Modbus ASCII in TCP in the Communication Protocols window and click the Configure button. The Modbus ASCII in TCP Configuration window is displayed.

To select a configured Modbus ASCII in TCP protocol connection, highlight Modbus ASCII in TCP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus ASCII in TCP is selected for configuration the Modbus ASCII in TCP Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

490

Realflo Expert Mode Reference

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used, and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The TCP Port No. field specifies the TCP port of the remote device. Valid values are 0 to 65535. The default value is 49153.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

491

Realflo Expert Mode Reference

Information

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to all fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

492

Realflo Expert Mode Reference

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus ASCII in UDP

Modbus ASCII in UDP protocol is similar to Modbus ASCII in TCP protocol.

It has the same message format as the Modbus ASCII in TCP. The only difference between them is one uses TCP protocol and another uses UDP protocol.

To configure a Modbus ASCII in TCP protocol connection, highlight

Modbus ASCII in UDP in the Communication Protocols window and click the Configure button. The Modbus ASCII in UDP Configuration window is displayed.

Realflo User and Reference Manual

May 19, 2011

493

Realflo Expert Mode Reference

To select a configured Modbus ASCII in TCP protocol connection, highlight Modbus ASCII in UDP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus ASCII in UDP is selected for configuration the Modbus ASCII in UDP Configuration dialog is opened with the General tab selected as shown below.

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used, and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

Realflo User and Reference Manual

May 19, 2011

494

Realflo Expert Mode Reference

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The UDP Port No. field specifies the UDP port of the remote device. Valid values are 0 to 65535. The default value is 49153.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked, the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

495

Information

Realflo Expert Mode Reference

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Realflo User and Reference Manual

May 19, 2011

496

Realflo Expert Mode Reference

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus RTU

Introduction

The Modbus RTU protocol driver is used to communicate over a serial network, using Modbus RTU framing, to SCADAPack controllers configured for Modbus RTU protocol.

To configure a Modbus RTU protocol connection, highlight Modbus

RTU in the Communication Protocols window and click the Configure button. The Modbus RTU Configuration window is displayed.

To select a configured Modbus RTU protocol connection, highlight

Modbus RTU in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus RTU is selected for configuration the Modbus RTU

Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

497

Realflo Expert Mode Reference

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

This Serial Port Settings grouping contains details directly related to the

PC‟s communication port including the port number, the baud rate, parity, and stop bit settings.

The Port parameter specifies the PC serial port to use. The DNP driver determines what serial ports are available on the PC and presents these in

Realflo User and Reference Manual

May 19, 2011

498

Realflo Expert Mode Reference the drop-down menu list. The available serial ports list will include any USB to serial converters used on the PC. The default value is the first existing port found by the driver.

The Baud parameter specifies the baud rate to use for communication. The menu list displays selections for 300, 600, 1200, 2400, 4800, 9600, 19200,

38400, and 57600. The default value is 9600.

The Parity parameter specifies the type of parity to use for communication.

The menu list displays selections for none, odd and even parity. The default value is None.

The Stop Bits parameter specifies the number of stop bits to use for communication. The menu list displays selections for 1 and 2 stop bits. The default value is 1 bit.

The Connection Type parameter specifies the serial connection type. The

Modbus RTU driver supports direct serial connection with no flow control,

Request-to-send (RTS) and clear-to-send (CTS) flow control and PSTN dialup connections. The menu list displays selections for Direct Connection,

RTS/CTS Flow Control and Dial Up Connection. The default selection is

Direct Connection.

Select Direct Connection for RS-232 for RS-485 connections not requiring the hardware control lines on the serial ports.

Select RTS/CTS Flow Control to communicate over radio or leasedline networks using modems that require RTS/CTS handshaking.

Selecting RTS/CTS Flow Control adds a new tab, Flow Control, to the

Modbus RTU Configuration dialog. Refer to the Flow Control

Parameters section below for configuration details.

Select Dial Up Connection to communication over dial up modems.

Selecting Dial Up Connection adds a new tab, Dial Up, to the Modbus

RTU Configuration dialog. Refer to the Dial Up Parameters section below for configuration details.

Click Restore Defaults to restore default values to fields on this page.

Modbus RTU Configuration (Flow Control)

Flow Control parameters are used to configure how RTS and CTS control is used. When RTS/CTS Flow Control is selected for Connection Type the

Flow Control tab is added to the Modbus RTU Configuration dialog. When the Flow Control tab heading is clicked the Flow Control dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

499

Realflo Expert Mode Reference

The RTS/CTS Flow Control grouping contains two mutually exclusive options, Use Hardware Control Lines and Use CTS Delay Time. These options enable the driver to communicate over radio or leased-line networks using modems that require RTS/CTS handshaking.

The Use Hardware Control Lines option specifies a half-duplex connection requiring the use of the Request to Send (RTS) and Clear to Send (CTS) hardware control lines to control the flow of data. This selection is used with radios and dedicated telephone line modems. The driver turns on the RTS signal when it wants to transmit data. The modem or other device then turns on CTS when it is ready to transmit. The driver transmits the data, and then turns off the RTS signal. This selection is mutually exclusive of the Use CTS

Delay Time selection described below. This is the default selection.

The Use CTS Delay Time option is selected if the device cannot generate a

CTS signal. The driver will assert RTS then wait the specified Delay Time, in milliseconds, before proceeding. This option is mutually exclusive with the

Use Hardware Control Lines selection described above.

The Delay Time parameter sets the time in milliseconds that the driver will wait after asserting RTS before proceeding. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog.

For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

The Hold Time parameter specifies the time, in milliseconds, that the driver will hold RTS after the last character is transmitted. This is useful for devices

Realflo User and Reference Manual

May 19, 2011

500

Realflo Expert Mode Reference that immediately end transmission when RTS is turned off. The value of this field needs to be smaller than the Time Out value set in the General parameters dialog. For example, if the Timeout value is set to 3 seconds, the CTS Delay Time can be set to 2999 milliseconds or less. The minimum value for this field is 0 milliseconds. The value is initially set to 0 by default.

Click Restore Defaults to restore default values to fields on this page.

Modbus RTU Configuration (Dial Up)

Dial Up parameters are used to configure a dial up connection. When Dial

Up is selected for Connection Type the Dial Up tab is added to the Modbus

RTU Configuration dialog. When the Dial Up tab heading is clicked the Dial

Up dialog is opened as shown below.

The Dialing Prefix parameter specifies the commands sent to the modem before dialing. A maximum of 32 characters can be entered. Any characters are valid. The default value is “&F0 &K0 S0=1 &W0 &Y0”.

The Phone Number parameter specifies the telephone number of the remote controller. A maximum of 32 characters can be entered. Any characters are valid. This field‟s default value is blank.

The Dial Type parameter specifies the dialing type. Valid values are Pulse and Tone. The default value is Tone.

The Dial Attempts parameter specifies how many dialing attempts will be made. Valid values are 1 to 10. The default value is 1.

Realflo User and Reference Manual

May 19, 2011

501

Realflo Expert Mode Reference

The Connect Time parameter specifies the amount of time in seconds the modem will wait for a connection. Valid values are 6 to 300. The default value is 60.

The Pause Time parameter specifies the time in seconds between dialing attempts. Valid values are 6 to 600. The default value is 30.

Check the Inactivity Timeout check box to automatically terminate the dialup connection after a period of inactivity. The Inactivity Time edit box is enabled only if this option is checked. The default state is checked.

Enter the inactivity period, in minutes, in the Inactivity Timeout box. The dialup connection will be terminated automatically after the specified number of minutes of inactivity has lapsed. This option is only active if the Inactivity

Timeout box is checked. Valid values are from 1 to 30 minutes. The default value is 1.

Click Restore Defaults to restore default values to fields on this page, except for the Phone Number field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

502

Realflo Expert Mode Reference

Information

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

503

Realflo Expert Mode Reference

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus RTU in TCP

Modbus RTU in TCP message format is exactly same as that of the Modbus

RTU protocol. The main difference is that Modbus RTU in TCP protocol communicates with a controller through the Internet and Modbus RTU protocol through the serial port. The Modbus RTU in TCP protocol does not include a six-byte header prefix, as with the Modbus\TCP, but does include the Modbus „CRC-16‟ or „LRC‟ check fields. The Modbus RTU in TCP message format supports Modbus RTU message format.

Realflo User and Reference Manual

May 19, 2011

504

Realflo Expert Mode Reference

To configure a Modbus RTU in TCP protocol connection, highlight

Modbus RTU in TCP in the Communication Protocols window and click the Configure button. The Modbus RTU in TCP Configuration window is displayed.

To select a configured Modbus RTU in TCP protocol connection, highlight Modbus RTU in TCP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus RTU in TCP is selected for configuration the Modbus RTU in

TCP Configuration dialog is opened with the General tab selected as shown below.

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used and 1 to 65534 if extended addressing is used. The default is 1.

Realflo User and Reference Manual

May 19, 2011

505

Realflo Expert Mode Reference

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The TCP Port No. field specifies the TCP port of the remote device. Valid values are 0 to 65535. The default value is 49152.

Click Restore Defaults to restore default values to all fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

506

Realflo Expert Mode Reference

Information

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

507

Realflo Expert Mode Reference

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus RTU in UDP

Modbus RTU in UDP protocol is similar to Modbus RTU in TCP protocol. It has the same message format as the RTU in TCP message. The only difference between them is one uses TCP protocol and another uses UDP protocol.

To configure a Modbus RTU in UDP protocol connection, highlight

Modbus RTU in UDP in the Communication Protocols window and click the Configure button. The Modbus RTU in UDP Configuration window is displayed.

Realflo User and Reference Manual

May 19, 2011

508

Realflo Expert Mode Reference

To select a configured Modbus RTU in UDP protocol connection, highlight Modbus RTU in UDP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus RTU in UDP is selected for configuration the Modbus RTU in

UDP Configuration dialog is opened with the General tab selected as shown below.

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

Realflo User and Reference Manual

May 19, 2011

509

Realflo Expert Mode Reference

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The UDP Port No. field specifies the UDP port of the remote device. Valid values are 0 to 65535. The default value is 49152.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

510

Information

Realflo Expert Mode Reference

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 250 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 252. When Addressing is set to Standard valid values are 2 to 252.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Realflo User and Reference Manual

May 19, 2011

511

Realflo Expert Mode Reference

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Modbus/TCP

Modbus/TCP is an extension of serial Modbus, which defines how Modbus messages are encoded within and transported over TCP/IP-based networks. The Modbus/TCP protocol uses a custom Modbus protocol layer on top of the TCP protocol. Its request and response messages are prefixed by six bytes. These six bytes consist of three fields: transaction ID field, protocol ID field and length field. The encapsulated Modbus message has exactly the same layout and meaning, from the function code to the end of the data portion, as other Modbus messages. The Modbus „CRC-16‟ or

„LRC‟ check fields are not used in Modbus/TCP. The TCP/IP and link layer

(e.g. Ethernet) checksum mechanisms instead are used to verify accurate delivery of the packet.

To configure a Modbus/TCP protocol connection, highlight

Modbus/TCP in the Communication Protocols window and click the

Configure button. The Modbus/TCP Configuration window is displayed.

To select a configured Modbus/TCP protocol connection, highlight

Modbus/TCP in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus/TCP is selected for configuration the Modbus/TCP

Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

512

Realflo Expert Mode Reference

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

Realflo User and Reference Manual

May 19, 2011

513

Realflo Expert Mode Reference

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The TCP Port No. field specifies the UDP port of the remote device. Valid values are 0 to 65535. The default value is 502.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be

Realflo User and Reference Manual

May 19, 2011

514

Information

Realflo Expert Mode Reference no larger than what is specified, if it is possible. Valid values are 2 to 246 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 248. When Addressing is set to Standard valid values are 2 to 248.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Realflo User and Reference Manual

May 19, 2011

515

Realflo Expert Mode Reference

Modbus/UDP

Modbus/UDP communication mode is similar to Modbus/TCP communication mode. It has the same message format with the

Modbus/TCP. The only difference between them is one uses TCP protocol and another uses UDP protocol.

To configure a Modbus/UDP protocol connection, highlight

Modbus/UDP in the Communication Protocols window and click the

Configure button. The Modbus/ UDP Configuration window is displayed.

To select a configured Modbus/UDP protocol connection, highlight

Modbus/ UDP in the Communication Protocols window and click the

OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus/UDP is selected for configuration the Modbus/ UDP

Configuration dialog is opened with the General tab selected as shown below.

The Modbus Communication Settings grouping contains Modbus specific communication settings including the addressing mode, the station address, the timeout interval as well as the number of attempts.

The Addressing parameter selects standard or extended Modbus addressing. Standard addressing allows 255 stations and is compatible with standard Modbus devices. Extended addressing allows 65534 stations, with stations 1 to 254 compatible with standard Modbus devices. The default is

Standard.

Realflo User and Reference Manual

May 19, 2011

516

Realflo Expert Mode Reference

The Station parameter sets the target station number. The valid range is 1 to 255 if standard addressing is used and 1 to 65534 if extended addressing is used. The default is 1.

The Timeout parameter sets the length of time, in seconds, to wait for a response from the controller before retrying (see Attempts). Valid entries are

1 to 255. The default is 3.

The Attempts parameter sets number of times to send a command to the controller before giving up and reporting this to the host application. Valid entries are 1 to 20. The default is 3.

The Host Network Details grouping contains entries for the host‟s IP address or name and the TCP port on which it is listening.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

The UDP Port No. field specifies the UDP port of the remote device. Valid values are 0 to 65535. The default value is 502.

Click Restore Defaults to restore default values to fields on this page, except for the IP Address / Name field. The content of this field will remain unchanged.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

517

Realflo Expert Mode Reference

Information

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 246 when Addressing is set to Extended and Station is 255 or higher. When

Addressing is set to Extended and Station is less than 255 valid values are

2 to 248. When Addressing is set to Standard valid values are 2 to 248.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

Realflo User and Reference Manual

May 19, 2011

518

Realflo Expert Mode Reference

Modbus/USB

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

The Modbus/USB protocol specifies a Universal Serial Bus (USB) connection between SCADAPack controllers equipped with a USB peripheral port and the PC.

Windows NT does not support USB. The Modbus/USB selection will be displayed but it will not work with Windows NT. This is a limitation of the

Windows NT operating system.

Realflo User and Reference Manual

May 19, 2011

519

Realflo Expert Mode Reference

To configure a Modbus/USB protocol connection, highlight

Modbus/USB in the Communication Protocols window and click the

Configure button. The Modbus/USB Configuration window is displayed.

To select a configured Modbus/USB protocol connection, highlight

Modbus/USB in the Communication Protocols window and click the OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When Modbus/USB is selected for configuration the Modbus/USB

Configuration dialog is opened with the General tab selected as shown below.

Realflo User and Reference Manual

May 19, 2011

The Connection Settings grouping presents two options for Modbus/USB connections. These options are Automatic Connection and Connect to

controller with this Controller ID.

Automatic Connection

The Automatic Connection selection enables communication with any single SCADAPack controller equipped with a USB peripheral port. A message, as shown below, is displayed when more than one SCADAPack controller is detected on the Bus.

520

Information

Realflo Expert Mode Reference

The Connect to controller with this Controller ID selection enables

Modbus/USB communication to a specific controller regardless of the existence of multiple controllers on the bus. Each SCADAPack controller is uniquely identified through its Controller ID.

The Controller ID list box will display the Controller ID for each controller on the Bus. The Controller ID may be entered in the entry window or selected from the list.

The Restore Defaults button will restore the configuration dialog to the default state. The Automatic Connection option is selected, and the Connect

to controller with this Controller ID selection will be disabled. If text was present in the Controller ID window when the button is pressed it will be displayed in grey.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

SCADAServer

The SCADAServer protocol specifies a SCADAServer Host connection.

Applications will act as an OPC client and route programming commands through the SCADAServer Host to the SCADAPack controller. The type of

Realflo User and Reference Manual

May 19, 2011

521

Realflo Expert Mode Reference connection to the field device: no flow control, hardware flow control or dialup modem is configured in the SCADAServer Host itself.

To configure a SCADAServer protocol connection, highlight

SCADAServer in the Communication Protocols window and click the

Configure button. The SCADAServer Configuration window is displayed.

To select a configured SCADAServer protocol connection, highlight

SCADAServer in the Communication Protocols window and click the

OK button.

To close the dialog, without making a selection click the Cancel button.

General Parameters

When SCADAServer is selected for configuration the SCADAServer

Configuration dialog is opened with the General tab selected as shown below.

The Communication Settings grouping contains details necessary to establish communication to a device through a local or remote

SCADAServer installation.

The Modbus Station parameter specifies the station address of the target device. The valid range is 1 to 65534. The default is station 1.

The Access Path parameter specifies the access path to a SCADAServer connection. This parameter is entered as a string with a maximum size of 16 characters. This access path was named when a connection was defined within the SCADAServer installation. If the access path is left blank, the default SCADAServer connection will be used, as defined within the

SCADAServer installation. The default for this entry is blank.

The Use a remote server check box defines whether the SCADAServer connection uses a SCADAServer installation installed on the same physical

PC as the client application or on a remote PC. If the SCADAServer installation is located on a separate machine, check this option and enter

Realflo User and Reference Manual

May 19, 2011

522

Realflo Expert Mode Reference the host name or IP address of the remote PC into the “IP Address / Name” edit box. If the SCADAServer installation is located on the same PC as the client application leave this box unchecked. The default state for this check box is unchecked.

The IP Address / Name entry specifies the Ethernet IP address in dotted quad notation, or a DNS host name that can be resolved to an IP address, of the PC where the ClearSCADA server is installed. The following IP addresses are not supported and will be rejected:

0.0.0.0 through 0.255.255.255

127.0.0.0 through 127.255.255.255 (except 127.0.0.1)

224.0.0.0 through 224.255.255.255

255.0.0.0 through 255.255.255.255.

Click Restore Defaults to restore default values to fields on this page.

Advanced Parameters

Advanced parameters are used to control the message size for the protocol.

Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput. When the Advanced tab heading is clicked the Advanced dialog is opened as shown below.

The Message Size grouping parameters are used to control the message size for the protocol. Control over message length is needed when writing large amounts of data over certain communication networks. A larger value can improve communication speed but can increase the number of missing transmissions. A smaller value can reduce the number of missing transmissions but may reduce throughput.

The Maximum selection indicates that the host application is to package messages using the maximum size allowable by the protocol.

Realflo User and Reference Manual

May 19, 2011

523

Information

Realflo Expert Mode Reference

The Custom Value selection specifies a custom value for the message size. This value indicates to the host application to package messages to be no larger than what is specified, if it is possible. Valid values are 2 to 246.

Click Restore Defaults to restore default values to fields on this page.

Information displays detailed driver information. When the Information tab heading is clicked the Information dialog is opened as shown below.

The Information grouping presents informative details concerning the executing protocol driver.

Module is the physical name of the driver.

File Version is the version number of the driver.

In GAC indicates whether the module (assembly) was loaded from the

Global Assembly Cache (GAC).

Runtime is the version of the Common Language Runtime (CLR) the driver was built against.

Copyright indicates the copyright information of the protocol driver.

Connect to Controller Command

The Connect to Controller command starts a dial-up connection to a remote flow computer. To connect to a dial-up flow computer, select Connect to

Controller from the Communication menu. Wait for Realflo to connect to the remote flow computer.

Disconnect from Controller Command

The Disconnect from Controller command terminates a dial-up connection.

To disconnect from a dial-up flow computer select Disconnect From

Realflo User and Reference Manual

May 19, 2011

524

Realflo Expert Mode Reference

Controller from the Communication menu. Wait for Realflo to disconnect with the remote flow computer.

Communication Progress Dialog

The Communication Progress dialog is displayed whenever Realflo is communicating with the flow computer. The dialog indicates the operation being performed and the status of the communication. If a long operation is being performed, a progress bar is displayed as well.

Click on the Cancel button to abort the operation. This is useful if communication is not progressing or if you have initiated the operation in error.

Communication Failures

Communication with the flow computer may fail for one of the following reasons.

The message to the flow computer was garbled or lost by the communication network.

The response from the flow computer was garbled or lost by the communication network.

The flow computer is not connected.

The PC Serial Port Settings are not set correctly.

The flow computer did not respond or responded too late. Setting the time-out value too small in the PC Communications Settings can cause this.

If communication fails a message box appears. You have two options:

Select Retry to attempt the communication again. This is useful when an occasional message is garbled by the communication system.

Select Cancel to abort the command.

Inactive Phone Connection Dialog

The Inactive Phone Connection dialog is displayed when a dial-up phone connection has been inactive for longer than the period set in PC

Communications Settings. The dialog notifies the user that the connection will be terminated.

Click on OK to terminate the connection immediately.

Click on Cancel to stay connected.

Realflo User and Reference Manual

May 19, 2011

525

Realflo Expert Mode Reference

Window Menu

The Window menu contains the commands for opening and arranging windows used in Realflo.

New Window Command

Use this command to create a copy of the currently selected window. You can change the view in the copy of the window so you can look at more than one view at a time.

Cascade Command

Use this command to arrange open, non-minimized windows, so they stack upon each other with an offset so the title bar of each window is visible. All minimized windows are collected at the bottom of the main window.

Tile Command

Use this command to arrange open, non-minimized windows, so that they are visible. Minimized windows are collected at the bottom of the main window.

Arrange All Command

Use this command to arrange icons (minimized windows) at the bottom of the main window.

Open Window List

Use the numbers and file names listed at the bottom of the Window menu to switch to any open window. Choose the number that corresponds with the window you want to activate.

If there are more than nine open windows, the last item in the open window list will be the command More Windows. This will open a dialog with a list box showing open windows.

Realflo User and Reference Manual

May 19, 2011

526

Realflo Expert Mode Reference

Help Menu

Contents Command

Use this command to open the Realflo help file using the Windows Help program. The Contents page of the help file is displayed.

The F1 key on your keyboard will open the Realflo Help file.

The help file has a general description of how the Realflo program operates and how to use the Realflo program. It also has specific descriptions for each view, dialog and command.

About Command

The Help menu contains the commands for opening and using Realflo on line help and for viewing information about Realflo.

Use this command to display information about Realflo.

Realflo User and Reference Manual

May 19, 2011

527

Realflo Wizards

Realflo Wizards

The following sections describe the Realflo Wizards to make the tasks you need to perform easier.

Create New File Wizard

Replace Flow Computer Wizard

Read Logs and Flow History Wizard

Calibrate Inputs Wizard

Change Orifice Plate Wizard

Force Inputs Wizard

Navigating Wizards

The wizards display four navigation buttons until the final step of the wizard when the Finish button becomes visible. These buttons are:

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the on-line Realflo User and Reference Manual.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Create New File Wizard

When the File New command is selected from the Expert Mode >> File

menu >> New or when the Select Flow Computer command is selected from Maintenance Mode main screen, the New File wizard starts.

In Expert Mode, the New File wizard is used to create a new Realflo configuration file. It offers four ways to create a new file.

Read the configuration from the target flow computer.

Create a new configuration from a template file.

Create a new configuration step-by-step.

Create 1-run Configuration with Default Values. (This option is available in Expert Mode only).

When the New File Wizard starts, the Create New File dialog opens.

Realflo User and Reference Manual

May 19, 2011

528

Realflo Wizards

The How do you want to create a new file? selections determine how the new file is created.

Select Read Configuration from the Flow Computer to read the configuration of an existing flow computer. Realflo will connect to the flow computer, read configuration, and save the file.

Follow the wizard steps described in the

Read Configuration from the

Flow Computer

section below when this option is selected.

Select Create Configuration from a Template File to create a new configuration file based on a template. A template contains pre-defined settings requiring you to fill in configuration data specific this flow computer.

Select the template file from the dropdown list. The last ten recently used templates are shown. The recently used template is selected by default.

The selection edit box is blank if no recently used templates are available.

Click Browse to choose another template file. A File Open dialog appears which allows you to select any template file.

Select Create Configuration from Template file to use a congiguration

template to create the configuration. To create a template file, see

Template

Steps

. When templates are created, some flow computer configuration

parameters are preset and are not displayed in the Create Configuration from Template wizard steps.

Follow the wizard steps described in the

Create Configuration From a

Template File

section below when this option is selected.

Select Create Configuration Step-by-Step to create a new configuration file. Realflo will lead you through the steps required using a wizard. You will need to modify the default data at each step.

Follow the wizard steps described in the

Create Configuration Stepby-Step

section below when this option is selected.

Realflo User and Reference Manual

May 19, 2011

529

Realflo Wizards

Select Create 1-run Configuration with Default Values option to create a new configuration file with a default configuration. A file with configuration for a 1-run flow computer, using a 4202 DR is created. You will need to edit the configuration manually.

Once you select the radio button to create 1-run configuration with default values, do the following:

Click Next.

Click Finish.

Read Configuration From the Flow Computer

The Read Configuration from Flow Computer option enables you to connect to the flow computer and read the existing configuration from the flow computer. A communication link needs to exist between Realflo and the flow computer to use this option. The wizard prompts you for default communication settings or allows you to select new communication settings.

When Realflo reads configuration from a 32-bit flow computer, Realflo reads the flowing fields for each flow run:

Use Value on Sensor Fail (see

Value on Sensor Fail

section)

Differential Pressure default value (see

Differential Pressure Limits

section)

Static Pressure default value (see

Static Pressure

section)

Temperature default value (see

Temperature Limits

section)

For flow computers not supporting this feature, Realflo reads the following fields for each flow run:

Use Value on Sensor Fail = Last Known Good Value (see

Value on

Sensor Fail

section)

Differential Pressure default value = 0 (see

Differential Pressure

Limits

section)

Static Pressure default value = 0 (see

Static Pressure

section)

Temperature default value = 0 (see

Temperature Limits

section)

When the Read Configuration from Flow Computer option is selected, the

Connect to Flow Computer wizard leads you through the necessary steps.

The sequence of steps to read the configuration from a flow computer is as follows.

Realflo User and Reference Manual

May 19, 2011

530

Realflo Wizards

Flow Computer Status

The flow computer status step selects whether a flow computer is connected to the PC running Realflo.

Select Yes is a flow computer is connected to the PC or select No if no flow computer is connected. The Connect to Flow Computer step following is only displayed if the selection is Yes.

Connect to Flow Computer

The Connect to Flow Computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two option.

Realflo User and Reference Manual

May 19, 2011

531

Realflo Wizards

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are:

COM 1 (serial port on the PC)

9600 baud, no parity

8 Data bits

1 Stop bit

The default Modbus address to which Realflo connects is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click Next> to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >>

PC Communications Settings

Command

in the Realflo Expert Mode Reference for complete details on

the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Once the communication settings have been selected, click OK> to close the dialog and begin communication with the flow computer.

Read Configuration from the Flow Computer

The Read Configuration from Flow Computer step starts with the Create

New File window as shown below.

Realflo User and Reference Manual

May 19, 2011

532

Realflo Wizards

Click Next> to begin reading the flow computer configuration form the flow computer.

The Communication progress displays the status of the reading of the configuration.

Save Configuration File

Once the configuration has been read from the flow computer, the Save File dialog is opened to prompt for a file name to which save the configuration.

Realflo User and Reference Manual

May 19, 2011

533

Realflo Wizards

Select the Save to Realflo.tfc to save the configuration to the default

Realflo.tfc file. This file will be located in the folder Realflo was installed in.

Click Next> to save the configuration and move to the next step.

Select the Save to another file to save the file to a specified name and location. When this option is selected the Save As dialog is opened as shown below.

Select the folder to save the file in the Save in: window. Use the dropdown selector to browse the available folders on your PC. Enter the file name in the File name: window. The file will automatically be saved with the Realflo

.tfc extension.

Click Save to save the configuration file and close the Save As dialog.

Click Next> to move to the next step.

Realflo User and Reference Manual

May 19, 2011

534

Realflo Wizards

Configuration Complete

The Configuration Complete dialog is the last step in the Read Configuration from Flow Computer wizard.

Click Finish to complete the wizard.

Create Configuration From a Template File

When you choose to configure the flow computer using a template file, the

Create New File wizard prompts you through the steps needed.

Select File >> New from the Realflo command menu.

The Create New File dialog is displayed and the wizard will lead you through the steps to create a congiuration file from a temple.

Create New File Dialog

Select the Create Configuration from a Template File radio button.

Do one of the following:

Realflo User and Reference Manual

May 19, 2011

535

Realflo Wizards o Select the template file from the dropdown list. The last ten recently used templates are shown. The recently used template is selected by default. o Click Browse to choose another template file. A File Open dialog appears which allows you to select any template file.

Click Next > to continue.

Template files are created in the Expert Mode. When templates are created some flow computer configuration parameters are preset and are not displayed in the Create Configuration from Template wizard steps.

Follow the wizard steps described in the following sections to configure the flow computer using the selected template.

Flow Computer Information

Flow Computer Status Dialog

When configuring the flow computer using a template file, select No when the Flow Computer Status dialog opens. This lets you choose the hardware type and firmware type manually.

Hardware and Firmware Type Step

The Hardware and Firmware Type Dialog opens when you select No in the

Flow Computer Status dialog.

First, select the Hardware Type from the dropdown list. The template selected determines the default value when creating the configuration using a template. The options from which you can select are:

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

Realflo User and Reference Manual

May 19, 2011

536

Realflo Wizards

SCADAPack 32P

4202 DR

SCADAPack 100: 1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

Second, select the Firmware Type from the dropdown list. The template selected determines the default value (either Telepace or ISaGRAF).

If the firmware selected is Telepace, the I/O Module Type dialog opens, followed by the Flow Computer ID dialog. If the firmware type selected is

ISaGRAF, the Flow Computer ID dialog opens.

I/O Module Type Step

This step selects the I/O module to use for the selected Hardware type. The register assignment in the new file is set to the default register assignment for the selected hardware type.

Select the I/O module for the flow computer from the dropdown list.

Selections displayed in the list depend on the flow computer hardware type.

Hardware Type

Micro16

I/O Modules Available

Controller I/O only or Backwards compatible

Realflo User and Reference Manual

May 19, 2011

537

Hardware Type

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

Realflo Wizards

I/O Modules Available

modules.

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5602 I/O Module

SCADAPack LP I./O

5601 I/O Module

5604 10V/40mA I/O module

5604 5V/20mA I/O module

, 5604 I/O Module, or 5606 I/O Module

SCADAPack 32P I/O

4202 DR or 4202 DR Extended/4203 DR I/O

SCADAPack 100: 1024K I/O

SCADAPack 32P

4202 DR

SCADAPack 100:

1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

4202/4203 DS I/O

SCADAPack 314/33x I/O

SCADAPack 330 Controller.

SCADAPack 33x I/O

SCADAPack 350 10V/40mA I/O

SCADAPack 350 5V/20mA I/O

4202 DR Extended/4203 DR I/O

4202/4203 DS I/O

Flow Computer ID Step

This step sets the Flow Computer ID.

Type the Flow Computer ID string in the edit box. This unique ID stops accidental mixing of data from different flow computers. The maximum length of the Flow Computer ID is eight characters. Any characters are valid.

You can leave the Flow Computer ID edit box blank.

Realflo User and Reference Manual

May 19, 2011

538

Realflo Wizards

Number of Flow Runs Step

This step selects the number of flow runs in the flow computer. The wizard will step through the configuration of the first run and then each subsequent run if more than one run is selected.

Flow Run ID Step

Select the number of flow runs with the dropdown list. Valid values depend on the hardware type and the number of flow runs enabled for the flow computer. The template determines the default value when using a template.

For Micro16, SCADAPack, SCADAPack Light and SCADAPack Plus

Flow Computers, the maximum number of meter runs is three.

The selection of three meter runs is available for older flow computers that could be enabled for three meter runs.

For SCADAPack LP and SCADAPack (4202 and 4203) Flow

Computers, the maximum number of meter runs is two.

For SCADAPack 100: 1024K and SolarPack 410 Flow Computers, the maximum number of meter runs is one.

For SCADAPack 314/330/334 and SCADAPack 350 Flow Computers the maximum number of meter runs is four.

For SCADAPack 32 and SCADAPack 32P Flow computers the maximum number of runs you can select is ten.

This step sets the Flow Run ID for the meter run. This is the first step of a flow run configuration. The wizard will step you through the flow run configuration steps for the first run and then each subsequent run if you select more than one run.

Realflo User and Reference Manual

May 19, 2011

539

Realflo Wizards

Copy Run Step

The Flow Run ID helps to identify the flow run. Type a string up to 32 characters long. Any characters are valid. You can leave the Flow Run ID edit box blank.

Older flow computers allow a string up to 16 characters. See the TeleBUS

Protocol Interface

section.

For run 1 the next step is Flow and Compressibility Calculations .

For subsequent runs, the next step is

Copy Run Step

.

This step controls how multiple runs are configured once the first run has been configured.

The Step by Step Configuration radio button selects that the run will be configured step by step as was the previous run. Parameters for each step are configured one at a time.

The Copy configuration from radio button selects that the run will be configured the same as the run selected in the drop down window.

Realflo User and Reference Manual

May 19, 2011

540

Realflo Wizards

Flow Calculation Configuration

Flow and Compressibility Calculations Step

This step selects the flow and compressibility calculations for the first run.

Flow Calculation selects the type of flow calculation for the meter run. Valid values are:

AGA-3 (1985 version)

AGA-3 (1992 version)

AGA-7

AGA-11 (not available for 16-bit controllers)

V-cone calculations

The template selected determines the default value.

Compressibility Calculation selects the type of compressibility calculation for the meter run. Valid compressibility calculation values are:

AGA-8 Detailed

NX-19 (Not supported for PEMEX flow computers)

AGA-8 Detailed is the recommended calculation for new systems as it has superior performance compared to NX-19. NX-19 is provided for legacy systems. The template selected determines the default value.

Flow Direction Control selects the direction of flow indication, forward or reverse, for a meter run.

Forward by Value selection indicates the flow direction is forward when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive.

Reverse by Value selection indicates the flow direction is reverse when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative.

Realflo User and Reference Manual

May 19, 2011

541

Realflo Wizards

Forward by Status selection indicates the flow direction is forward when the Flow Direction Register has a value of 0 (OFF).

Reverse by Status selection indicates the flow direction is reverse when the Flow Direction Register has a value of 1 (ON).

Flow Direction Register specifies which register indicates the forward or reverse flow direction status. Any valid register for the flow computer controller can be used for this setting. The default register is 1. This edit control is disabled if Flow Direction Control selection is Value. This control is hidden in GOST mode flow computers.

Flow Run Units Step

This step lets you select the units that are used for input measurements and contracts.

Input Units selects the units of measurement of input values for the meter run. Inputs may be measured in different units than the calculated results.

This allows you to use units that are convenient to you for measuring inputs.

A dropdown list allows the selection of the following unit types. The template selected determines the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

Realflo User and Reference Manual

May 19, 2011

542

Realflo Wizards

US6

US7

US8

PEMEX

The reference list for the Input Units displays the parameters and units for these parameters:

DP (Differential pressure)

SP (Static pressure)

Temperature

Pipe and Orifice Diameter

Viscosity

Altitude

Heating Value

Contract Units selects the units of measurement of contract values. These units are used for the calculated results. A dropdown list allows the selection of the following unit types. The template selected determines the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Contract Units displays the parameters and units for these parameters when used for the contract. The parameters displayed depend on the contract units selected. The parameters are:

Volume

Volume Rate

Energy

Energy Rate

Realflo User and Reference Manual

May 19, 2011

543

Realflo Wizards

Base Pressure

Base Temperature

Mass

Mass Flow Rate

Density

Flow Extension

Heating Value

Flow Run Inputs Step

This step lets you configure the flow run inputs. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Select Internal Sensor (4202 DR/DS or 4203DR/DS or SolarPack 410) to use a SCADAPack internal transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature. This is the only valid selection for run 1 of a SCADAPack flow computer. Other options are disabled.

Select Sensor to use a multivariable transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature.

This is the default selection, except for run 1 of a SCADAPack controller.

The Where is sensor connected to the Flow Computer parameter enables the ability to select the serial or LAN port where the sensor is connected to the flow computer. Selections vary according to the flowcomputer type. Valid selections can include:

 com1

 com2

Realflo User and Reference Manual

May 19, 2011

544

Analog Inputs

Realflo Wizards

 com3

 com4

LAN

The What is the sensor model parameter selects the multivariable transmitter (MVT) type. The selections available are:

3095FB

4101

4102

4202 DR

4202 DS

4203 DR

4203 DS

The What value should be used if the sensor fails parameter selects the specified value in this field as the live input value when communicating with a sensor. The dropdown list lets you select:

Use Last Known Good Value

Use Default Value

When you open a file using an older file format, Realflo sets the default value of the Values on Sensor Fail field to Use Last Known Good.

When the status to a sensor changes and you select the Use Default Value option, this is added to the Event Log.

For flow computers 6.70 and later, when communication to a sensor fails and the configuration option “Use Last Known Good Value” is set to

“Use Default Value,” the flow computer needs to use the specified default value in the configuration in place of a live input value.

When communication to a sensor is restored and the configuration option for the Value on Sensor Fail field is set to use the default value, the flow computer uses the input value from the sensor as the live input value.

For flow computers prior to 6.70, the value on sensor fail is ``Use Last

Known Good Value.”

Select Analog Inputs to use analog inputs to measure pressure, differential pressure, and temperature.

Valid values are:

Telepace Integer

ISaGRAF Integer

Float

Raw Float

The template selected determines the default value displayed.

Realflo User and Reference Manual

May 19, 2011

545

Realflo Wizards

For AGA-7 calculations, the value is fixed and set automatically. The value is Telepace Long if Telepace firmware is running, otherwise it is an

ISaGRAF integer if ISaGRAF firmware is running.

The next step is Differential Pressure Settings if AGA-3 or V-Cone is configured.

The next step is Turbine Settings if AGA-7 is configured.

Differential Pressure Limits Step

This step lets you configure the differential pressure input limits. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units are the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display, the transmitter uses these units. Valid values depend on the MVT type:

For SCADAPack transmtters, valid units are: inches H2O at 68°F,

Pascal (Pa) and kiloPascal (kPa). The default is inches H2O at 68°F.

For the 3095 MVT valid units are: inches H2O at 60°F, Pascal (Pa), kiloPascal (kPa) and inches H2O at 68°F. The default is inches H2O at

60°F.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The template selected determines the default value displayed.

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Realflo User and Reference Manual

May 19, 2011

546

Analog Inputs

Realflo Wizards

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The template selected determines the default value displayed.

Default Value is enabled if you configured the field using the Flow Run

Inputs dialog. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

If you configured sensor inputs, go to the

Static Pressure

section.

The dialog below opens when analog inputs are selected.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Realflo User and Reference Manual

May 19, 2011

547

Realflo Wizards

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

DP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

DP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The template selected determines the default value displayed.

Turbine Limits Step

This step configures the turbine input for AGA-7 calculations.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Realflo User and Reference Manual

May 19, 2011

548

Realflo Wizards

Low Flow Pulse Limit is the number of pulses below which a low flow alarm will occur. The template selected determines the default value displayed.

Low Flow Detect Time is the length of time the number of pulses needs to remain below the Low Flow Pulse Limit for a low flow alarm to occur. Valid values are 1 to 5 seconds. The template selected determines the default value displayed.

Static Pressure Measurement Step

This step lets you select how the static pressure is measured.

The pressure tap may be upstream or downstream of the orifice plate for

AGA-3.

Select Up Stream for an upstream static pressure tap. This is the default value. The control is disabled for AGA-7 and V-Cone calculations.

Select Down Stream for a downstream static pressure tap. The control is disabled for AGA-7 and V-Cone calculations.

Static Pressure Input Limits Step

This step lets you define the limits for the static pressure input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

Sensor Inputs

The dialog below is presented when sensor inputs are used.

Realflo User and Reference Manual

May 19, 2011

549

Realflo Wizards

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The template selected determines the default value displayed.

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Default Value is enabled if you gage pressure using the Static Pressure

Options. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

The pressure sensor may measure absolute or gage pressure.

Select Absolute Pressure to measure absolute static pressure.

Select Gage Pressure to measure gage static pressure.

Type the Atmospheric Pressure measured at the site. This control is disabled and set to zero if absolute pressure is selected.

Realflo User and Reference Manual

May 19, 2011

550

Realflo Wizards

The atmospheric pressure entered needs to be greater than zero. The maximum upper limits for atmospheric pressure are:

30 psi and PEMEX units

4320

207 for US1, US2, US3, US4, US5, US6, US7, US8, lbf/ft2 for IP units kPa for Metric1 units

2.07

0.207 bar for Metric2 units

MPa for Metric3 units

207000 Pa for SI units

If you configured sensor inputs, see the Static Pressure Compensation

section.

Analog Inputs

The dialog below is presented when analog inputs are used.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float, and ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

SP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be

Realflo User and Reference Manual

May 19, 2011

551

Realflo Wizards read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

SP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The template selected determines the default value displayed.

Static Pressure Compensation Step

This step selects if compensation is applied for the location where calibration was performed. If you configured sensors or analog inputs from the Static Pressure Limits dialog, this is the next step in the configuration sequence.

Select No if compensation is not required. This is the default value.

Select Yes to compensate for the altitude and latitude.

Type the Altitude of the location. Valid values are

–30000 to 30000.

The template selected determines the default value displayed. This control is disabled if No is selected.

Type the Latitude of the location. Valid values are

–90 to 90. The template selected determines the default value displayed. This control is disabled if No is selected.

Temperature Limits Step

This step defines the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

Sensor Inputs

The following dialog is presented when sensor (MVT) inputs are used.

Realflo User and Reference Manual

May 19, 2011

552

Realflo Wizards

Analog Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The template selected determines the default value displayed. Valid values depend on the transmitter; refer to the transmitter band or user manual.

The following dialog is presented when analog inputs are used.

Realflo User and Reference Manual

May 19, 2011

553

Realflo Wizards

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The template selected determines the default value displayed. This is enabled for Telepace integer, raw float and ISaGRAF integer types and disabled otherwise.

Temperature at Zero Scale is the temperature that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type.

The template selected determines the default value displayed.

Temperature at Full Scale is the temperature that corresponds to the fullscale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type.

The template selected determines the default value displayed.

Contract Settings Step

This step lets you set the contract settings for the run.

Realflo User and Reference Manual

May 19, 2011

554

Realflo Wizards

Input Average Weighting is the weighting method of the linear inputs. This applies to the differential pressure, static pressure, and temperature. Valid

values are time-weighted or flow-weighted (see Input Averaging on page

948 for more information). The template selected determines the default

value.

Contract Hour is the hour of the day that starts a new contract day using a

24-hour clock. The contract day begins at 00 minutes and 00 seconds of the specified hour. Valid values are 0 to 23. The template selected determines the default value displayed.

Standard Base Conditions are the default Base Temperature and Base

Pressure (absolute) values.

Base Temperature is the reference temperature to which contract flow values are corrected. Valid values are

–40 to 200. The default value is given in the table below.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default value is given in the table below.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

60 F

60 F

60 F

60 F

15 C

15 C

15 C

288.15 K

60 F

60 F

60 F

60 F

Standard Base

Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Realflo User and Reference Manual

May 19, 2011

555

Realflo Wizards

Contract Units Standard Base

Temperature

US8

PEMEX

60 F

60 F

Standard Base

Pressure

14.73 psi

14.73 psi

Realflo for PEMEX flow computers provide a second set of base conditions.

PEMEX Base Conditions are the default Base Temperature and Base

Pressure (absolute) values when Realflo is operating in PEMEX mode.

Base Temperature is the reference temperature to which contract flow values are corrected. The default is listed in the table below for each type of contract unit.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default values are listed in the table below for each contract unit.

Contract Units Standard Base

Temperature

US1

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

68 F

Standard Base

Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

AGA-3 Settings Step

This step sets the AGA-3 calculation parameters.

Realflo User and Reference Manual

May 19, 2011

556

Realflo Wizards

Orifice Material is the material from which the orifice plate for the meter run is made. Valid values are Stainless Steel, Monel, and Carbon Steel. The template selected determines the default value displayed.

Pipe Material is the material from which the meter run pipe is made. Valid values are Stainless Steel, Monel, and Carbon Steel. The template selected determines the default value displayed.

Orifice Diameter is the diameter of the meter run orifice. The template selected determines the default value displayed.

Orifice reference temperature is the temperature at which the diameter of the meter run orifice was measured. The template selected determines the default value displayed.

Pipe Diameter is the measurement of the meter run pipe inside diameter.

The template selected determines the default value displayed.

Pipe reference temperature is temperature at which the meter run pipe diameter was measured. The template selected determines the default value displayed.

Beta Ratio is the ratio of orifice diameter to pipe diameter. It is displayed for information purposes only and cannot be edited.

Realflo displays messages if the beta ratio is outside recommended limits.

Isentropic Exponent is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value, a typical value of 1.3 is commonly used. The template selected determines the default value displayed.

Viscosity is a measure of the resistance of a measured gas to flow. Valid values are 0 to 1. The template selected determines the default value displayed.

AGA-3 Deadband Settings Step

This step sets AGA-3 calculation deadbands.

Realflo User and Reference Manual

May 19, 2011

557

Realflo Wizards

Temperature Deadband is the tolerated change in the flowing temperature before temperature dependent factors in the flow calculation are recalculated. Changes in the temperature smaller than the deadband will be ignored in determining the result. The template selected determines the default value displayed. The upper limit is 7°F or 4°C.

Static Pressure Deadband is the tolerated change in the static pressure before static pressure dependent factors in the flow calculation are recalculated. Changes in the static pressure smaller than the deadband will be ignored in determining the result. A static pressure deadband setting of up to four percent of the typical static pressure level should have a small effect on the accuracy of the AGA-3 calculation. The template selected determines the default value displayed. The upper limit is 800 psi or 5500 kPa or the equivalent in other units.

Differential Pressure Deadband is the tolerated change in the differential pressure before differential pressure dependent factors in the flow calculation are recalculated. Changes in the differential pressure smaller than the deadband will be ignored in determining the result. A change of N in the differential pressure input will cause a change of 0.5 N in the calculation volume at base conditions. It is recommended that the differential pressure deadband be set to zero. The template selected determines the default value displayed. The upper limit is 4.5 inWC or 1.1 kPa or the equivalent in other units.

AGA-7 Settings Step

This step lets you define the AGA-7 settings.

Realflo User and Reference Manual

May 19, 2011

558

Realflo Wizards

K Factor is the number of pulses per unit volume of the turbine meter. Valid values are 0.001 to 1000000. The template selected determines the default value displayed.

M Factor is the adjustment to the number of pulses per unit volume for the turbine meter compared to an ideal meter. Valid values are 0.001 to 1000.

The template selected determines the default value displayed.

*Uncorrected Flow Volume is the measurement of the volume of gas during the contract period.

The Uncorrected Flow Volume control is available in Realflo versions 6.20 and higher.

AGA -11 Configuration Step

AGA-11 configuration defines parameters unique to the AGA-11 calculation.

The AGA-11 calculation communicates with a Coriolis meter for the calculation. The AGA-11 configuration sets the communication parameters for communication between the Coriolis meter and the flow computer.

Address

This is the Modbus address of the Coriolis Meter for serial communications.

Multiple Coriolis meters using the same serial port on the flow computer

Realflo User and Reference Manual

May 19, 2011

559

Realflo Wizards needs to each have a unique Modbus address. Valid Modbus addresses are between 1 and 247. The default address is 247.

Port

This is the communication port on the flow computer that will be used to communicate with the Coriolis meter. Valid port selections depend on the type of controller the flow computer running on. The default port is the first valid port available on the controller.

Timeout

This is the time the flow computer will wait for a response for Modbus read commands send to the Coriolis meter. When the timeout time is exceeded the command is unsuccessful and an alarm is added to the flow computer alarm list. Valid timeout values are from 0 to 1000 ms. The default value is

50 ms.

V-Cone Settings Step

V-Cone Configuration defines parameters unique to the V-Cone calculation.

Cone Material

This is the material of the V-cone. Valid values are Carbon Steel, Stainless

304, and Stainless 316. The default value is determined by the template selected.

Pipe Material

This is the material from which the meter run pipe is made. Valid values are

Carbon Steel, Stainless 304, and Stainless 316. The default value is determined by the template selected.

Adiabatic Expansion Factor

The Adiabatic Expansion Factor drop down list selects which calculation is used for the adiabatic expansion factor of the calculation.

Select Legacy Calculation to use the older calculation method. This is the default selection. Flow computers prior to version 6.71 support only this selection.

Realflo User and Reference Manual

May 19, 2011

560

Realflo Wizards

Select V-Cone to use the V-Cone specific calculation. This selection should be used with V-Cone devices.

Select Wafer-Cone to use the Wafer-Cone specific calculation. This selection should be used with Wafer-Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

When reading from a flow computer that does not support the adiabatic expansion factor configuration, the method will be set to Legacy Calculation.

When writing to a flow computer that does not support the adiabatic expansion factor method, the configuration registers will be ignored and the expansion factor will not be written.

Cone Diameter

The diameter of the meter run cone used for the flow calculation. The measurement units are displayed depending on the input units selected.

The default value is 3 inches.

Cone Measurement Temperature

This is the reference temperature at which the cone diameter for the meter run was measured. The measurement units are displayed depending on the input units selected. The default value is 59 degrees F.

Pipe Inside Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

The default value is 5 inches.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

The default value is 59 degrees.

Isentropic Exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected. Valid values are 0 to 1. The default value is 0.010268 centiPoise.

Wet Gas Correction Factor

The Wet Gas Correction Factor Method drop down list selects which calculation is used for the wet gas correction factor of the calculation.

Select Legacy Method to use the older correction method. This is the default selection. Flow computers prior to version 6.73 support only this selection.

Realflo User and Reference Manual

May 19, 2011

561

V-Cone Coefficients

Realflo Wizards

Select V-Cone or Wafer Cone to use the V-Cone and Wafer Cone specific calculation. This selection should be used with V-Cone or Wafer

Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

The V-Cone or Wafer Cone supported Beta Ratios are:

For Fr (Froude Number) < 5 supported Beta Ratio is 0.55.

For Fr (Froude Number) < 5 supported Beta Ratio is 0.75.

For Fr (Froude Number) > 5 supported Beta Ratio is 0.75.

When V-Cone or Wafer Cone is selected and if the current Beta ratio is not supported when executing verification, a message is displayed.

When V-Cone or Wafer Cone is selected, configuration of the fixed wet gas factor parameter, as set in the Contract tab, is disabled.

When Legacy Method is selected, configuration of the parameters used by the V-Cone or Wafer Cone method is disabled.

Mass Flow Rate of Liquid

The Mass flow rate of liquid at flow conditions parameter is used by the V-

Cone or Wafer Cone method and can be configured when V-Cone or Wafer

Cone is selected. This information needs to be gathered using a sampling method or a tracer method. The default is 0.

Density of Liquid

The Density of liquid at flow conditions parameter is used by the V-Cone or

Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected. The default is 0.

This step defines the V-Cone coefficients.

Enter the V-Cone coefficient pairs from the meter-sizing report. The default list contains one pair: Re = 1000000; Cf = 0.82.

Click Add to add a coefficient pair.

Realflo User and Reference Manual

May 19, 2011

562

Realflo Wizards

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for all entries in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

To edit a coefficient pair in the table:

Select a row in the list.

Click Edit to open the Add/Edit Flow Coefficient dialog.

To delete a coefficient pair in the table:

Select a row in the list.

Click Delete to delete the pair form the list.

AGA-8 Options Step

This step sets AGA-8 calculation options.

Events can be logged each time an AGA-8 gas component changes.

Select Yes to log each change to the gas composition. Use this option if the gas composition changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the gas composition.

The Relative Density and Heating values can be calculated from the AGA-8 calculation or determined in a laboratory.

Realflo User and Reference Manual

May 19, 2011

563

Realflo Wizards

Select Calculate the Values to have AGA-8 calculate the values.

Select Use Laboratory Values to used fixed values.

Relative Density sets the real relative density of the gas. Valid values are

0.07 to 1.52. The template selected determines the default value displayed.

This control is disabled if Calculate the Values is selected.

Heating Value sets the heating value of the gas. Valid values are 0 to 1800

BTU(60)/ ft

3

or the equivalent in the selected units. The template selected determines the default value displayed. This control is disabled if Calculate

the Values is selected.

AGA-8 Hexanes+ Options

This step lets you choose to enter Hexane and higher components individually or as a single combined value.

Gas composition can be measured with individual values for hexane and higher components or use a combined value.

Select Enter Each Component to use individual values for the higher components. This is the default selection.

Select Use Combined Hexanes+ with these Ratios to use a combined value. Type the ratios of the higher components.

n-Hexane defines the percentage of the Hexanes+ contributed by n-

Hexane.

n-Heptane defines the percentage of the Hexanes+ contributed by n-

Heptane.

n-Octane defines the percentage of the Hexanes+ contributed by n-

Octane.

n-Nonane defines the percentage of the Hexanes+ contributed by n-

Nonane.

n-Decane defines the percentage of the Hexanes+ contributed by n-

Decane.

Realflo User and Reference Manual

May 19, 2011

564

Realflo Wizards

The Total field displays the sum of portions. This value cannot be edited. The total of portions needs to be 100 percent.

AGA-8 Gas Composition Step

This step lets you define the AGA-8 gas composition. One of two configuration dialogs opens based on how you elected to enter Hexane and higher components.

Individual Components

The dialog below lets you enter combined Hexanes+ composition.

NX-19 Settings

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The ratio to each other for the components remains the same.

This step defines the NX-19 calculation. This is not supported for PEMEX flow computers.

Realflo User and Reference Manual

May 19, 2011

565

Realflo Wizards

Specific Gravity is the specific gravity of the gas being measured. Valid values are 0.554 to 1.000. The template selected determines the default value displayed.

Carbon Dioxide is the percent of carbon dioxide in the gas being measured. This value needs to be in the range 0 to 15. The template selected determines the default value displayed.

Nitrogen is the percent of nitrogen in the gas being measured. This value needs to be in the range 0 to 15.

Heating Value is the heating value of the gas being measured. Valid values are 0 to 1800 BTU(60)/ft

3

or the equivalent in the selected units. The template selected determines the default value displayed.

Events can be logged each time the NX-19 configuration changes.

Select Yes to log each change to the configuration. Use this option if the configuration changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the configuration.

Sensor Configuration

The next step is Sensor Configuration if any transmitters were used in the

input configuration. Otherwise the next step is

Flow Computer

Configuration Summary

.

Sensor Configuration

This step lets you select how the transmitters are to be configured.

Realflo User and Reference Manual

May 19, 2011

566

Realflo Wizards

The Flow Runs are configured to use these transmitters dialog is a table that shows each of the configured flow run numbers, the Flow Run ID for each, and the transmitter that the run uses for the differential pressure (DP), static pressure (SP), and temperature sensors. If an analog input is used for the flow run, AIN will be displayed in the coresponding DP, SP, or Temp column.

The How do you want to configure sensors? option lets you select how to continue configuring the sensors. The three options are:

Connect now and configure transmitters to connect to the flow computer and configure the attached transmitters. This selection is disabled if the flow computer configuration was selected to be completed offline in the Flow Computer Status step. If you choose this

option, go to the Configure Sensors

section to continue.

Edit sensor configuration without connecting to proceed directly to the editing pages, without connecting to the flow computer. If you

choose this option, go to the

Review Transmitters

section to continue.

Use default sensor configuration to complete the configuration without changing the sensor configuration. Sensor configuration will be

set to default values. If you choose this option, the next step is

Finish

.

Configure Sensors

This step lets you select to use the Realflo configuration or the sensor‟s configuration file.

Realflo User and Reference Manual

May 19, 2011

567

Realflo Wizards

Sensor Search

Select Use the configuration from Realflo to use the configuration data from the Realflo file. This is the default setting.

Select

Use the transmitter’s current configuration by reading from the

transmitter to read configuration from a pre-configured transmitter.

This step searches for sensors connected to the flow computer serial ports or LAN port.

Search Serial Option

Select Search Serial to search for transmitters connected to a serial port of the flow computer.

Realflo User and Reference Manual

May 19, 2011

568

Realflo Wizards

The Port parameter selects the flow computer serial port where the sensor is attached. Valid values are com1, com2, com3, and com4. The template selected determines the default value displayed.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a sensor. Valid values are 100 ms to 10000 ms.

The default is 300 ms.

Select Maximum to search for a number of MVT transmitters. The search operation will stop after finding the specified number of transmitters. The valid value is from 1 to 255. The default is 1.

Select Range to search the addresses in a specified range. The range to search for is typed in the edit boxes to the right of the radio button. The value in To edit control needs to be equal or great than the value in the first edit control. The maximum search range that can be typed is for 255 transmitters. The default range is 1 to 247.

Range Search supports addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode. The address mode of the flow computer serial port needs to be set to extended in order to search for transmitters with extended addresses.

Select All to search the addresses of all transmitters connected with the serial port selected in Port. Up to 255 addresses are searched.

Click Next to start the search for sensors or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

Search LAN Option

Select Search LAN to search for transmitters connected to a LAN port of the flow computer.

The IP Address parameter specifies the IP address of a 4000 transmitter.

Valid entries are IP addresses in the format nnn.nnn.nnn.nnn where nnn are values between 0 and 255.

The Protocol parameter selects the type of IP protocol that will be used to query the transmitter. Valid IP protocol selections are Modbus/TCP and

Modbus RTU in UDP.

The IP port (for example port 502) for the selected protocol needs to be the same in the flow computer and the 4000 transmitter.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a 4000 transmitter. Valid values are 100 to 10000 milliseconds. The default is 5000 ms.

Click Next to start the search for MVT transmitters or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

If no transmitters were found, then a message is displayed and the search step is displayed again.

Assign Sensors

This step assigns found transmitters to flow runs.

Realflo User and Reference Manual

May 19, 2011

569

Realflo Wizards

The Available Sensors window shows the transmitters that have been configured and the transmitters that were found by the search. There may be more transmitters in the list than there are runs.

The Sensor column shows the transmitter slots that have been configured.

Transmitters that were found but not assigned are listed as Not assigned.

The Status column indicates if configuration data for the transmitter exists.

Found indicates a transmitter has been configured and the search found one with the same port, address and device type.

Missing means a transmitter has been configured but the search did not find one with the same port, address and device type.

The Port column displays the serial or LAN port the flow computer is using to communicate with the transmitter.

The Address column displays the Modbus station address or IP address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. This column may be blank if a Tag Name has not been assigned to the transmitter.

The Device type column displays type of transmitter. Valid values are

3095FB, 4101, 4102, 4202 DR, 4202 DS, 4203 DR, or 4203 DS.

The Flow Runs window shows which MVTs are assigned to the runs.

To Change the order of the sensors:

Select a sensor in Available Sensors window.

Click Move.

The Move Sensor dialog opens:

Realflo User and Reference Manual

May 19, 2011

570

Realflo Wizards

In the Move Sensor dialog, use Move To selection to select the new location

Click OK.

To delete a sensor:

Select a transmitter in Available Sensors

Click Delete.

To change the address of a Sensor:

Select a transmitter in Available Sensors

Click Change Address.

The Change Address dialog opens:

Enter a new address for the transmitter in the New Address: window.

Click OK.

Click Next when the transmitters are moved to the correct location. Next is disabled if there are Not Assigned transmitters still in the list.

The next step is Search for More Transmitters.

Notes

The following actions may occur when moving a Sensor.

Moving one sensor to another results in the both swapping positions.

When Use the configuration from Realflo was selected, assigning a Not

assigned transmitter to a Sensor with status Missing and device type matching will result in the sensor adopting the transmitter‟s port and address and retaining the rest of the sensor configuration. The sensor, being assigned, will disappear from the list.

When Read the configuration from the transmitter was selected, assigning a Not assigned transmitter to a sensor with status Missing and device type matching will result in the sensor adopting the transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Assigning a Not assigned transmitter to a sensor with status Missing and device type not matching will result in the sensor adopting the

Realflo User and Reference Manual

May 19, 2011

571

Realflo Wizards transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Other assignments are not permitted.

Search for More Sensors

This step displays the current sensor assignments and asks if more searches are needed.

Proposed Sensors shows the transmitters that have been configured and the transmitters that were found by the search.

Flow Runs shows which sensors are assigned to the runs.

Select Search for more transmitters to search again. The next step is

Search for Transmitters.

Select Finish searching and review configuration to use the current settings. This is the default button.

Review Transmitters

This step displays the transmitter assignments and allows editing the transmitter configuration.

Realflo User and Reference Manual

May 19, 2011

572

Realflo Wizards

The Sensors window shows the transmitters that have been configured.

The Flow Runs window shows which sensors are assigned to the runs.

Click Edit to review and modify the settings for each transmitter. Edit opens the Add/Edit Sensor Settings dialog. Changes to a transmitter address will be written to the transmitter without affecting current flow computer configuration.

Once you have configured Run 1, the Flow Run ID dialog re-opens.

Flow Computer Configuration Summary

This step displays a summary of the flow computer settings.

A summary of the flow computer configuration is shown.

The current configuration can be compared with the configuration in the target flow computer.

Select Yes to compare the configurations. The next step is Review

Differences.

Realflo User and Reference Manual

May 19, 2011

573

Realflo Wizards

Select No to not compare the configurations. The next step is Save File.

Review Differences

This step displays a summary of changes in the flow computer configuration. You can select to write to the flow computer or not.

Save File

A summary of the differences is the configuration is shown.

Select Yes to write the configuration to the flow computer. The configuration is written to the flow computer. The Start Executing command will be written for each flow run. The communication progress dialog shows the stages of writing.

Select No to write the configuration to the flow computer later.

Click Next to perform the selected action.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

This step selects where to save the configuration file.

Realflo User and Reference Manual

May 19, 2011

574

Realflo Wizards

Finish

Select the Save to Realflo.tfc to save the configuration file to the default file location.

Select the Save to another file to either enter a file name or use the

Browse option to open the Save As dialog.

This step is displayed at the end of the wizard.

Click Finish to close the wizard.

Notes

Views for extra runs are closed but new ones may be opened.

The history and event logs contain no information.

The configuration data for supported runs in the file is set to usable values, so when the number of runs is changed there is useful data in the configuration.

Realflo User and Reference Manual

May 19, 2011

575

Realflo Wizards

Create Configuration Step-by-Step

When you choose to configure the flow computer step-by-step, the Create

New File Wizard prompts you through the steps needed. The dialogs displayed are dependent upon the calculations you select.

Step-by-Step Configuration Sequence for a Flow Computer

The main steps in the configuration sequence to configure flow computer step-by-step are:

Use Create New File Dialog to select how to create a new file.

Use Hardware and Firmware Type Dialog to configure the hardware and firmware you are using.

Use the I/O Module Dialog to configure your I/O module (Telepace only).

Use the Flow Computer ID Dialog to assign an ID to the flow computer.

Use the Flow Runs Dialog to configure the number of flow runs

Use the Flow Run ID Dialog to assign an ID to the flow run.

Use the Flow and Compressibility Calculations to select the flow and

compressibility calculations for the meter run.

Select the Flow Run Inputs to configure the type of inputs for the flow

run.

Select the Differential Pressure Limits to configure the differential

pressure calibration to use for the run.

Configure the Static Pressure for the run.

Configure the Static Pressure Input Limits for the run.

Use the Static Pressure dialog to configure your sensors to

compensate for the gravitation pull of the Earth according to altitude and latitude variations.

Define the Temperature Limits for the run.

Define the Contract Settings for the run.

Select the Flow Calculations Dialog for the run.

Configure the Sensor Configuration for the run.

Review the Flow Computer Configuration Summary to confirm the

configuration settings.

Use Save File to save the new configuration.

Select the Create a new file? radio button from the Select File dialog to configure the flow computer step-by-step.

Realflo User and Reference Manual

May 19, 2011

576

Create New File Dialog

Realflo Wizards

Select the Create Configuration Step-by-Step radio button.

Click Next > to continue.

Follow the wizard steps described in the following sections to configure the flow computer.

Flow Computer Status Dialog

When configuring the flow computer step-by-step, select No when the Flow

Computer Status dialog opens. This lets you choose the hardware type and

firmware type manually see

Select Flow Computer Wizard

.

Hardware and Firmware Type Dialog

The Hardware and Firmware Type Dialog opens when you select No in the

Flow Computer Status dialog.

First, select the Hardware Type from the dropdown list. The default value is

SCADAPack 4202 DR. The options from which you can select are:

Realflo User and Reference Manual

May 19, 2011

577

Realflo Wizards

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100: 1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

Second, select the Firmware Type from the dropdown list. The default value is Telepace. You can select ISaGRAF from the dropdown list for the firmware type.

If the firmware selected is Telepace, the I/O Module Type Dialog opens, followed by the Flow Computer ID dialog. If the firmware type selected is

ISaGRAF, the Flow Computer ID dialog opens.

I/O Module Type Dialog

This step lets you select the I/O module to use for the selected Hardware type. The register assignment in the new file is set to the default register assignment for the selected hardware type.

Realflo User and Reference Manual

May 19, 2011

578

Realflo Wizards

Select the I/O module for the flow computer from the dropdown list. The choices displayed depend on the flow computer hardware type.

Hardware Type

Micro16

SCADAPack

SCADAPack Plus

SCADAPack Light

SCADAPack LP

SCADAPack 32

SCADAPack 32P

4202 DR

SCADAPack 100:

1024K

4202 DS

SCADAPack 314

SCADAPack 330

SCADAPack 334

SCADAPack 350

4203 DR

4203 DS

SolarPack 410

I/O Modules Available

Controller I/O only or Backwards compatible modules.

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5601 I/O Module, 5604 I/O Module, or 5606 I/O

Module

5602 I/O Module

SCADAPack LP I./O

5601 I/O Module,

5604 I/O 10V/40mA Module

5604 I/O 5V/20mA Module

5606 I/O Module

SCADAPack 32P I/O

4202 DR or 4202 DR Extended/4203 DR I/O

SCADAPack 100: 1024K I/O

4202/4203 DS I/O

SCADAPack 314/33x I/O

SCADAPack 330 Controller.

SCADAPack 33x I/O

SCADAPack 350 10V/40mA Module

SCADAPack 350 5V/20mA Module

SCADAPack 357 Module

4202 DR Extended/4203 DR I/O

4202/4203 DS I/O

N/A

Flow Computer ID Dialog

This step sets the Flow Computer ID.

Realflo User and Reference Manual

May 19, 2011

579

Realflo Wizards

Type the Flow Computer ID string in the edit box. This unique ID stops accidental mixing of data from different flow computers. The maximum length of the Flow Computer ID is eight characters. Any characters are valid.

You can leave the Flow Computer ID edit box blank. The default value is blank.

Flow Runs Dialog

This step selects the number of flow runs in the flow computer. The wizard will step through the configuration of the first run and then each subsequent run if more than one run is selected.

Flow Run ID

Select the number of flow runs with the dropdown list. Valid values depend on the hardware type and the number of flow runs enabled for the flow computer. The default value is one.

For Micro16, SCADAPack, SCADAPack Light and SCADAPack Plus

Flow Computers, the maximum number of meter runs is three.

The selection of three meter runs is available for older flow computers that could be enabled for three meter runs.

For SCADAPack LP and SCADAPack (4202 and 4203) Flow

Computers, the maximum number of meter runs is two.

For SCADAPack 100: 1024K and SolarPack 410 Flow Computers, the maximum number of meter runs is one.

For SCADAPack 314/330/334 and SCADAPack 350 Flow Computers the maximum number of meter runs is four.

For SCADAPack 32 and SCADAPack 32P Flow computers the maximum number of runs you can select is ten.

This step sets the Flow Run ID for the meter run. This is the first step of a flow run configuration. The wizard will step you through the configuration of the first run and then each subsequent run if you select more than one run.

Realflo User and Reference Manual

May 19, 2011

580

Realflo Wizards

The Flow Run ID helps to identify the flow run. Type a string up to 32 characters long. Any characters are valid. You can leave the Flow Run ID edit box blank.

Older flow computers allow a string up to 16 characters. See the TeleBUS

Protocol Interface

section.

For run 1 the next step is

Flow Calculations Dialog

.

For subsequent runs, the next step is

Copy Run Configuration Dialog

.

Flow Calculations Dialog

This step selects the flow and compressibility calculations for the first run.

Flow Calculation selects the type of flow calculation for the meter run. Valid values are:

AGA-3 (1985 version)

AGA-3 (1992 version)

AGA-7

Realflo User and Reference Manual

May 19, 2011

581

Realflo Wizards

AGA-11 (not available for 16-bit controllers)

V-cone calculations

The template selected determines the default value.

Compressibility Calculation selects the type of compressibility calculation for the meter run. Valid compressibility calculation values are:

AGA-8 Detailed

NX-19 (Not supported for PEMEX flow computers)

AGA-8 Detailed is the recommended calculation for new systems as it has superior performance compared to NX-19. NX-19 is provided for legacy systems. The template selected determines the default value.

Flow Direction Control selects the direction of flow indication, forward or reverse, for a meter run.

Forward by Value selection indicates the flow direction is forward when the value from a differential pressure (DP) sensor is positive or the mass flow rate value from a Coriolis meter is positive.

Reverse by Value selection indicates the flow direction is reverse when the value from a differential pressure (DP) sensor is negative or the mass flow rate value from a Coriolis meter is negative.

Forward by Status selection indicates the flow direction is forward when the Flow Direction Register has a value of 0 (OFF).

Reverse by Status selection indicates the flow direction is reverse when the Flow Direction Register has a value of 1 (ON).

Flow Direction Register specifies which register indicates the forward or reverse flow direction status. Any valid registers for the flow computer controller can be used for this setting. The default register is 1. This edit control is disabled if Flow Direction Control selection is Value. This control is hidden in GOST mode flow computers.

Flow Run Units Dialog

This step selects the units that are used for input measurements and contracts.

Realflo User and Reference Manual

May 19, 2011

582

Realflo Wizards

Input Units selects the units of measurement of input values for the meter run. Inputs may be measured in different units than the calculated results.

This allows you to use units that are convenient to you for measuring inputs.

A dropdown box allows the selection of the following unit types. US2 is the default value.

US1

US2

US3

IP

Metric1

Metric2

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Input Units displays the parameters and units for these parameters:

DP (Differential pressure)

SP (Static pressure)

Temperature

Pipe and Orifice Diameter

Viscosity

Altitude

Heating value

Contract Units selects the units of measurement of contract values. These units are used for the calculated results. A dropdown box allows the selection of the following unit types. The default value is US2.

US1

US2

US3

IP

Metric1

Metric2

Metric3

Realflo User and Reference Manual

May 19, 2011

583

Realflo Wizards

SI

US4

US5

US6

US7

US8

PEMEX

The reference list for the Contract Units displays the parameters and units for these parameters when used for the contract. The parameters displayed depend on the contract units selected. The parameters are:

Volume

Volume Rate

Energy

Energy Rate

Base Pressure

Base Temperature

Mass

Mass Flow Rate

Density

Flow Extension

Heating Value

Flow Run Inputs

This step lets you configure the flow run inputs. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Sensor Inputs

Realflo User and Reference Manual

May 19, 2011

584

Realflo Wizards

Select Internal Sensor (4202 DR/DS or 4203DR/DS or SolarPack

410) to use a SCADAPack internal transmitter as the input device. The transmitter is the input for pressure, differential pressure, and temperature. This is the only valid selection for run 1of a SCADAPack flow computer. Other options are disabled.

Select Sensor to use a multivariable transmitter as the input device.

The transmitter is the input for pressure, differential pressure, and temperature. This is the default selection, except for run 1 of a

SCADAPack controller.

The Where is sensor connected to the Flow Computer parameter enables the ability to select the serial or LAN port where the sensor is connected to the flow computer. Selections vary according to the flowcomputer type. The default value is com1. Valid selections can include: o com1 o com2 o com3 o com4 o LAN

The What is the sensor model parameter selects the multivariable transmitter (MVT) type. The selections available are: o 3095FB o 4101 o 4102 o 4202 DR o 4202 DS o 4203 DR o 4203 DS

The What value should be used if the sensor fails parameter selects the specified value in this field as the live input value when communicating with a sensor. The dropdown list lets you select:

Realflo User and Reference Manual

May 19, 2011

585

Realflo Wizards o Use Last Known Good Value o Use Default Value

When you open a file using an older file format, Realflo sets the default value of the Values on Sensor Fail field to Use Last Known Good.

When the status to a sensor changes and you select the Use Default Value option, this is added to the Event Log.

For flow computers 6.70 and later, when communication to a sensor fails and the configuration option “Use Last Known Good Value” is set to

“Use Default Value,” the flow computer needs to use the specified default value in the configuration in place of a live input value.

When communication to a sensor is restored and the configuration option for the Value on Sensor Fail field is set to use the default value, the flow computer uses the input value from the sensor as the live input value.

For flow computers prior to 6.70, the value on sensor fail is ``Ùse Last

Known

Good Value.”

Analog Inputs

Select Analog Inputs to use analog inputs to measure pressure, differential pressure, and temperature.

Valid values are:

Telepace Integer

ISaGRAF Integer

Float

Raw Float

The default value is Telepace integer if Telepace firmware is running and

ISaGRAF integer if ISaGRAF firmware is running.

For AGA-7 calculations, the value is fixed and set automatically. The value is Telepace Long if Telepace firmware is running and ISaGRAF integer if

ISaGRAF firmware is running.

The next step is

Differential Pressure Input Limits

if AGA-3 or V-Cone is

configured

If AGA-7 is configured, the next step is

Turbine Settings

.

Differential Pressure Input Limits

This step lets you configure the differential pressure input limits. One of two configuration dialogs is presented based on the input type you configure.

Sensor Inputs

Analog Inputs

Realflo User and Reference Manual

May 19, 2011

586

Sensor Inputs

Realflo Wizards

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units are the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display, the transmitter uses these units. Valid values depend on the MVT type:

For SCADAPack transmtters, valid units are: inches H2O at 68°F,

Pascal (Pa) and kiloPascal (kPa). The default is inches H2O at 68°F.

For the 3095 MVT valid units are: inches H2O at 60°F, Pascal (Pa), kiloPascal (kPa) and inches H2O at 68°F. The default is inches H2O at

60°F.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The default value is 0

(damping off).

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a

Realflo User and Reference Manual

May 19, 2011

587

Analog Inputs

Realflo Wizards value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The default value is 0.

Default Value is enabled if you configured the field using the Flow Run

Inputs dialog. Type the live input value to use when communicating with a sensor. The default value is 0.

If you configured sensor inputs, go to the

Static Pressure Options Dialog

section.

The dialog below opens when analog inputs are selected.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

DP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The default value is 0.

DP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read

Realflo User and Reference Manual

May 19, 2011

588

Realflo Wizards from the sensor. Valid values depend on the input type. The default value is

16.

Low DP Cutoff is the differential pressure where flow accumulation will stop and needs to be less than the UOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Low DP Hysteresis is the amount by which the differential pressure needs to rise above the Low DP Cutoff for flow accumulation to start. It may be a value using the DP units or may be a percentage of the operating span. The operating span is the difference between the Upper Operating Limit and the

Lower Operating limit. Values depend on the transmitter. The flow accumulation level needs to be less than the Upper Operating Limit. The default value is 0.

Static Pressure Options Dialog

This step lets you select how the static pressure is measured.

The pressure tap may be upstream or downstream of the orifice plate for

AGA-3.

Select Up Stream for an upstream static pressure tap. This is the default value. The control is disabled for AGA-7 and V-Cone calculations.

Select Down Stream for a downstream static pressure tap. The control is disabled for AGA-7 and V-Cone calculations.

Static Pressure Input Limits

This step defines the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

Sensor Inputs

The dialog below is presented when sensor inputs are used.

Realflo User and Reference Manual

May 19, 2011

589

Realflo Wizards

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Damping is the response time of the transmitter. It is used to smooth the process variable reading when there are rapid input variations.

For SCADAPack transmitters the valid values are 0.0 (damping off), 0.5,

1.0, 2.0, 4.0, 8.0, 16.0, and 32.0 seconds. The default value is 0

(damping off).

For the 3095 MVT the valid values are 0.108, 0.216, 0.432, 0.864,

1.728, 3.456, 6.912, 13.824 and 27.648. The default is 0.864.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

Default Value is enabled if you gage pressure using the Static Pressure

Options. Type the live input value to use when communicating with a sensor. The template selected determines the default value displayed.

The pressure sensor may measure absolute or gage pressure.

Select Absolute Pressure to measure absolute static pressure. This is the default value unless the Compressibility Calculation type is set to

NX-19. The Static Pressure is set to Gage and the Atmospheric pressure is 14.7psi when NX-19 is selected.

Select Gage Pressure to measure gage static pressure.

Realflo User and Reference Manual

May 19, 2011

590

Analog Inputs

Realflo Wizards

Type the Atmospheric Pressure measured at the site. This control is disabled and set to zero if absolute pressure is selected.

The atmospheric pressure entered needs to be greater than zero. The maximum upper limits for atmospheric pressure are:

30 psi and PEMEX units for US1, US2, US3, US4, US5, US6, US7, US8,

4320

207

2.07

0.207 lbf/ft2 for IP units kPa bar

MPa for Metric1 units for Metric2 units for Metric3 units

207000 Pa for SI units

If you configured sensor inputs, see the

Static Pressure Compensation

section.

The dialog below is presented when analog inputs are used.

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Realflo User and Reference Manual

May 19, 2011

591

Realflo Wizards

SP at Zero Scale is the pressure that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type. The default value is 0.

SP at Full Scale is the pressure that corresponds to the full-scale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type. The default value is

20000.

Static Pressure Compensation

This step selects if compensation is applied for the location where calibration was performed. If you configured sensors or analog inputs from the Static Pressure Limits dialog, this is the next step in the configuration sequence.

Select No if compensation is not required. This is the default value.

Select Yes to compensate for the altitude and latitude.

Type the Altitude of the location. Valid values are -30000 to 30000. The default value is 0. This control is disabled if No is selected.

Type the Latitude of the location. Valid values are -90 to 90. The default value is 0. This control is disabled if No is selected.

Realflo User and Reference Manual

May 19, 2011

592

Turbine Settings

Realflo Wizards

This step configures the turbine input for AGA-7 calculations.

Temperature Limits

This step lets you define the limits for the temperature input. One of two configuration dialogs is presented based on the Input Type configured for static pressure limits:

Sensor Inputs

Analog Inputs

Sensor Inputs

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Low Flow Pulse Limit is the number of pulses below which a low flow alarm will occur. The default value is 10.

Low Flow Detect Time is the length of time the number of pulses needs to remain below the Low Flow Pulse Limit for a low flow alarm to occur. Valid values are 1 to 5 seconds. The default value is 5.

The following dialog is presented when sensor (MVT) inputs are used.

Realflo User and Reference Manual

May 19, 2011

593

Realflo Wizards

Analog Inputs

Input Type is a read-only field that identifies the sensor number for which you are setting the parameters using this dialog.

Units is the differential pressure units. Values read from the transmitter are in these units. If the transmitter has a local display it uses these units. Valid values are kiloPascal, MegaPascal, and psi (pounds per square inch). The default is psi.

Lower Operating Limit (LOL) is the lowest valid value from the sensor and needs to be less than the UOL. Alarms occur if the value is less than the

LOL. The default value is 0. Valid values depend on the transmitter; refer to the transmitter band or user manual.

Upper Operating Limit (UOL) is the highest valid value from the sensor and needs to be greater than the LOL. Alarms occur if the value is greater than the UOL. The default value is the upper range limit of the transmitter.

Valid values depend on the transmitter; refer to the transmitter band or user manual.

The following dialog is presented when analog inputs are used.

Realflo User and Reference Manual

May 19, 2011

594

Realflo Wizards

Input Type is a read-only field that identifies the input type for which you are setting the parameters using this dialog.

Input Register is the register address where the input value is stored. Valid values are 30001 to 39999 or 40001 to 49999. The default is selected based on the run number so that inputs have unique registers.

Input at Zero Scale is value read from the sensor, in unscaled I/O units, when the sensor is at zero scale. Valid values depend on the input type. The default value is 0. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Input at Full Scale is value read from the sensor, in unscaled I/O units, when the sensor is at full scale. Valid values depend on the input type. The default value is 32767. This is enabled for Telepace integer, raw float and

ISaGRAF integer types and disabled otherwise.

Temperature at Zero Scale is the temperature that corresponds to the zero scale input, or if the input does not require scaling, the minimum pressure that can be read from the sensor. Valid values depend on the input type.

The default value is

–40.

Temperature at Full Scale is the temperature that corresponds to the fullscale input, or if the input does not require scaling, the maximum pressure that can be read from the sensor. Valid values depend on the input type.

The default value is 200.

Realflo User and Reference Manual

May 19, 2011

595

Contract Settings

This step sets the contract settings for the run.

Realflo Wizards

Input Average Weighting is the weighting method of the linear inputs. This applies to the differential pressure, static pressure, and temperature. Valid

values are time-weighted or flow-weighted (see Input Averaging on page

948 for more information). The default is time-weighted.

Contract Hour is the hour of the day that starts a new contract day specified using a 24-hour clock. The contract day begins at 00 minutes and

00 seconds of the specified hour. Valid values are 0 to 23. The default value is 0 (midnight).

Standard Base Conditions are the default Base Temperature and Base

Pressure (absolute) values.

Base Temperature is the reference temperature to which contract flow values are corrected. Valid values are -40 to 200. The default value is given in the table below.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default value is given in the table below.

Contract Units Standard Base

Temperature

US1 60 F

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Realflo User and Reference Manual

May 19, 2011

596

Realflo Wizards

Contract Units Standard Base

Temperature

PEMEX 60 F

Standard Base Pressure

14.73 psi

Realflo for PEMEX flow computers provide a second set of base conditions.

PEMEX Base Conditions are the default Base Temperature and Base

Pressure (absolute) values when Realflo is operating in PEMEX mode.

Base Temperature is the reference temperature to which contract flow values are corrected. The default is listed in the table below for each type of contract unit.

Base Pressure is the reference pressure to which contract flow values are corrected. The base pressure is measured as absolute pressure

(not a gauge pressure). Valid values are 0 to 32000. The default values are listed in the table below for each contract unit.

Contract Units Standard Base

Temperature

US1 60 F

US2

US3

IP

Metric1

Metric2

60 F

60 F

60 F

15 C

15 C

Metric3

SI

US4

US5

US6

US7

US8

PEMEX

15 C

288.15 K

60 F

60 F

60 F

60 F

60 F

68 F

Standard Base Pressure

14.73 psi

14.73 psi

14.73 psi

2116.2281 lbf/ft

2

101.325 kPa

1.01325 bar

0.101325 MPa

101325 Pa

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

14.73 psi

Flow Calculations

AGA-3 Settings

When configuring a flow computer, you can configure it to use the following calculations:

AGA-Settings

AGA-3 Deadband Settings

AGA-7 Settings

AGA-11 Settings

This step lets you set the AGA-3 calculation parameters.

Realflo User and Reference Manual

May 19, 2011

597

Realflo Wizards

Orifice Material is the material the orifice plate for the meter run is made of.

Valid values are Stainless Steel, Monel, and Carbon Steel. The default value is Stainless Steel.

Pipe Material is the material the meter run pipe is made of. Valid values are

Stainless Steel, Monel, and Carbon Steel. The default value is Carbon

Steel.

Orifice Diameter is the diameter of the meter run orifice. The default value is 3 inches.

Orifice reference temperature is the temperature at which the diameter of the meter run orifice was measured. The default value is 68°F.

Pipe Diameter is the measurement of the meter run pipe inside diameter.

The default value is 4.026 inches.

Pipe reference temperature is temperature at which the meter run pipe diameter was measured. The default value is 68°F.

Beta Ratio is the ratio of orifice diameter to pipe diameter. It is displayed for information purposes only and cannot be edited.

Realflo displays messages if the beta ratio is outside recommended limits.

Isentropic Exponent is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value, a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity is a measure of the resistance of a measured gas to flow. Valid values are 0 to 1. The default value is 0.010268 centipoise.

AGA-3 Deadband Settings

This step lets you set AGA-3 calculation deadbands.

Realflo User and Reference Manual

May 19, 2011

598

Realflo Wizards

AGA-7 Settings

Temperature Deadband is the tolerated change in the flowing temperature before temperature dependent factors in the flow calculation are recalculated. Changes in the temperature smaller than the deadband will be ignored in determining the result. The default value is 0. The upper limit is

7°F or 4°C.

Static Pressure Deadband is the tolerated change in the static pressure before static pressure dependent factors in the flow calculation are recalculated. Changes in the static pressure smaller than the deadband will be ignored in determining the result. A static pressure deadband setting of up to four percent of the typical static pressure level should have a small effect on the accuracy of the AGA-3 calculation. The default value is 0. The upper limit is 800 psi or 5500 kPa or the equivalent in other units.

Differential Pressure Deadband is the tolerated change in the differential pressure before differential pressure dependent factors in the flow calculation are recalculated. Changes in the differential pressure smaller than the deadband will be ignored in determining the result. A change of N in the differential pressure input will cause a change of 0.5 N in the calculation volume at base conditions. It is recommended that the differential pressure deadband be set to zero. The default value is 0. The upper limit is 4.5 inWC or 1.1 kPa or the equivalent in other units.

This step lets you define AGA-7 settings.

Realflo User and Reference Manual

May 19, 2011

599

Realflo Wizards

AGA -11 Settings

K Factor is the number of pulses per unit volume of the turbine meter. Valid values are 0.001 to 1000000. The default value is 100.

M Factor is the adjustment to the number of pulses per unit volume for the turbine meter compared to an ideal meter. Valid values are 0.001 to 1000.

The default value is 1.

Uncorrected Flow Volume is the accumulated uncorrected flow volume at base conditions.

The Uncorrected Flow Volume control is available in Realflo versions 6.20 and higher.

AGA-11 configuration defines parameters unique to the AGA-11 calculation.

The AGA-11 calculation communicates with a Coriolis meter for the calculation. The AGA-11 configuration sets the communication parameters for communication between the Coriolis meter and the flow computer.

Address

This is the Modbus address of the Coriolis Meter for serial communications.

Multiple Coriolis meters using the same serial port on the flow computer

Realflo User and Reference Manual

May 19, 2011

600

Realflo Wizards needs to each have a unique Modbus address. Valid Modbus addresses are between 1 and 247. The default address is 247.

Port

Timeout

V-Cone Settings

This is the communication port on the flow computer that will be used to communicate with the Coriolis meter. Valid port selections depend on the type of controller the flow computer running on. The default port is the first valid port available on the controller.

This is the time the flow computer will wait for a response for Modbus read commands send to the Coriolis meter. When the timeout time is exceeded the command fails and an alarm is added to the flow computer alarm list.

Valid timeout values are from 0 to 1000 ms. The default value is 50 ms.

V-Cone Configuration defines parameters unique to the V-Cone calculation.

Cone Material

This is the material of the V-cone. Valid values are Carbon Steel, Stainless

304, and Stainless 316. The default value is determined by the template selected.

Pipe Material

This is the material from which the meter run pipe is made. Valid values are

Carbon Steel, Stainless 304, and Stainless 316. The default value is determined by the template selected.

Adiabatic Expansion Factor

The Adiabatic Expansion Factor drop down list selects which calculation is used for the adiabatic expansion factor of the calculation.

Select Legacy Calculation to use the older calculation method. This is the default selection. Flow computers prior to version 6.71 support only this selection.

Select V-Cone to use the V-Cone specific calculation. This selection should be used with V-Cone devices.

Realflo User and Reference Manual

May 19, 2011

601

Realflo Wizards

Select Wafer-Cone to use the Wafer-Cone specific calculation. This selection should be used with Wafer-Cone devices.

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

When reading from a flow computer that does not support the adiabatic expansion factor configuration, the method will be set to Legacy Calculation.

When writing to a flow computer that does not support the adiabatic expansion factor method, the configuration registers will be ignored and the expansion factor will not be written.

Cone Diameter

The diameter of the meter run cone used for the flow calculation. The measurement units are displayed depending on the input units selected.

The default value is 3 inches.

Cone Measurement Temperature

This is the reference temperature at which the cone diameter for the meter run was measured. The measurement units are displayed depending on the input units selected. The default value is 59 degrees F.

Pipe Inside Diameter

This is the measurement of the meter run pipe inside diameter. The measurement units are displayed depending on the input units selected.

The default value is 5 inches.

Pipe reference temperature

The temperature at which the meter run pipe diameter was measured. The measurement units are displayed depending on the input units selected.

The default value is 59 degrees.

Isentropic Exponent

In general, this is a thermodynamic property of gas used to predict the relationships between pressure, temperature, volume and energy. If you are unsure of this value a typical value of 1.3 is commonly used. The default value is 1.3.

Viscosity

This is the viscosity of the measured gas. In general, this is the resistance of a gas or semi-fluid resistance to flow. The measurement units are displayed depending on the input units selected. Valid values are 0 to 1. The default value is 0.010268 centiPoise.

Wet Gas Correction Factor

The Wet Gas Correction Factor Method drop down list selects which calculation is used for the wet gas correction factor of the calculation.

Select Legacy Method to use the older correction method. This is the default selection. Flow computers prior to version 6.73 support only this selection.

Select V-Cone or Wafer Cone to use the V-Cone and Wafer Cone specific calculation. This selection should be used with V-Cone or Wafer

Cone devices.

Realflo User and Reference Manual

May 19, 2011

602

Realflo Wizards

This control is disabled and forced to Legacy Calculation if the controller type is not one of SCADAPack 32, SCADAPack 32P, SCADAPack

314/330/334, SCADAPack 350 SCADAPack 4203 or SolarPack 410.

The V-Cone or Wafer Cone supported Beta Ratios are:

For Fr (Froude Number) < 5 supported Beta Ratio is 0.55.

For Fr (Froude Number) < 5 supported Beta Ratio is 0.75.

For Fr (Froude Number) > 5 supported Beta Ratio is 0.75.

When V-Cone or Wafer Cone is selected and if the current Beta ratio is not supported when executing verification, a message is displayed.

When V-Cone or Wafer Cone is selected, configuration of the fixed wet gas factor parameter, as set in the Contract tab, is disabled.

When Legacy Method is selected, configuration of the parameters used by the V-Cone or Wafer Cone method is disabled.

Mass Flow Rate of Liquid

The Mass flow rate of liquid at flow conditions parameter is used by the V-

Cone or Wafer Cone method and can be configured when V-Cone or Wafer

Cone is selected. This information needs to be gathered using a sampling method or a tracer method. The default is 0.

Density of Liquid

The Density of liquid at flow conditions parameter is used by the V-Cone or

Wafer Cone method and can be configured when V-Cone or Wafer Cone is selected. The default is 0.

V-Cone Coefficients

This step lets you define the V-Cone coefficients.

Enter the V-Cone coefficient pairs from the meter sizing report. The default list contains one pair: Re = 1000000; Cf = 0.82.

Click Add to add a coefficient pair.

Realflo User and Reference Manual

May 19, 2011

603

Realflo Wizards

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for all entries in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

Compressibility Calculations

When configuring a flow computer, you can configure it to use the following compressibility calculations:

AGA-8 Settings

AGA-8 Hexanes+ Settings

AGA-8 Gas Composition

NX-19 Settings

AGA-8 Settings

To edit a coefficient pair in the table:

Select a row in the list.

Click Edit to open the Add/Edit Flow Coefficient dialog.

To delete a coefficient pair in the table:

Select a row in the list.

Click Delete to delete the pair form the list.

Realflo User and Reference Manual

May 19, 2011

604

This step sets AGA-8 calculation options.

Realflo Wizards

Events can be logged each time an AGA-8 gas component changes.

Select Yes to log each change to the gas composition. Use this option if the gas composition changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the gas composition.

The Relative Density and Heating values can be calculated from the AGA-8 calculation or determined in a laboratory.

Select Calculate the Values to have AGA-8 calculate the values.

Select Use Laboratory Values to used fixed values.

Relative Density sets the real relative density of the gas. Valid values are 0.07 to 1.52. The default value is 0.554. This control is disabled if

Calculate the Values is selected.

Heating Value sets the heating value of the gas. Valid values are 0 to

1800 BTU(60)/ ft

3

or the equivalent in the selected units. The default value is 1014 BTU(60)/ft

3

or the equivalent in the selected units. This control is disabled if Calculate the Values is selected.

AGA-8 Hexanes+ Settings

This step chooses if Hexane and higher components are entered individually or as a single combined value.

Realflo User and Reference Manual

May 19, 2011

605

Realflo Wizards

Gas composition can be measured with individual values for hexane and higher components or use a combined value.

Select Enter Each Component to use individual values for the higher components. This is the default selection.

Select Use Combined Hexanes+ with these Ratios to use a combined value. Type the ratios of the higher components.

n-Hexane defines the percentage of the Hexanes+ contributed by n-

Hexane.

n-Heptane defines the percentage of the Hexanes+ contributed by n-

Heptane.

n-Octane defines the percentage of the Hexanes+ contributed by n-

Octane.

n-Nonane defines the percentage of the Hexanes+ contributed by n-

Nonane.

n-Decane defines the percentage of the Hexanes+ contributed by n-

Decane.

The Total field displays the sum of portions. This value cannot be edited. The total of portions needs to be 100 percent.

AGA-8 Gas Composition

This step defines the AGA-8 gas composition. One of two configuration dialogs opens based on whether Hexane and higher components are entered individually or as a single combined value.

Individual Components

The dialog below lets you enter combined Hexanes+ composition.

Realflo User and Reference Manual

May 19, 2011

606

Realflo Wizards

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The ratio to each other for the components remains the same.

Combined Hexanes+

The dialog below lets you enter combined Hexanes+ composition.

Type the gas composition according to the laboratory analysis. The total of components needs to be 100 percent.

Normalize adjusts non-zero components so that the total of components is

1.0000 (or 100.00 percent). The components remain in their current ratio to each other.

NX-19 Settings

Realflo User and Reference Manual

May 19, 2011

607

Realflo Wizards

This step lets you define the NX-19 calculation. This is not supported for

PEMEX flow computers.

Specific Gravity is the specific gravity of the gas being measured. Valid values are 0.554 to 1.000. The default value is 0.554.

Carbon Dioxide is the percent of carbon dioxide in the gas being measured. This value needs to be in the range 0 to 15. The default value is

0.

Nitrogen is the percent of nitrogen in the gas being measured. This value needs to be in the range 0 to 15.

Heating Value is the heating value of the gas being measured. Valid values are 0 to 1800 BTU(60)/ft

3

or the equivalent in the selected units. The default value is 1014.33 BTU(60)/ft3.

Events can be logged each time the NX-19 configuration changes.

Select Yes to log each change to the configuration. Use this option if the configuration changes infrequently. This is the default selection.

Select No to skip logging changes. Use this option if you are making frequent changes to the configuration.

Sensor Configuration Parameters

The next step is MVT Configuration if any transmitters were used in the

input configuration. Otherwise the next step is

Flow Computer

Configuration Summary

.

Sensor Configuration

This step selects how the transmitters are to be configured.

Realflo User and Reference Manual

May 19, 2011

608

Realflo Wizards

The Flow Runs are configured to use these transmitters window is a table that shows each of the configured flow run numbers, its Flow Run ID and the transmitter that it uses for the differential pressure (DP), static pressure (SP) and temperature sensors. If an analog input is used for the flow run AIN will be displayed in the coresponding DP, SP, or Temp column.

The How do you want to configure sensors? option lets you select how to continue configuring the sensors. The three options are:

Connect now and configure transmitters to connect to the flow computer and configure the attached transmitters. This selection is disabled if the flow computer configuration was selected to be completed offline in the Flow Computer Status step. If you choose this

option, go to the

Configure Connected Transmitters

section to continue.

Edit sensor configuration without connecting to proceed directly to the editing pages, without connecting to the flow computer. If you

choose this option, go to the

Review Sensors Dialog

section to

continue.

Use default sensor configuration to complete the configuration without changing the sensor configuration. Sensor configuration will be

set to default values. If you choose this option, the next step is

Finish

.

Configure Connected Transmitters

This step lets you select to either use the Realflo configuration data or the configuration from a pre-configured transmitter.

Realflo User and Reference Manual

May 19, 2011

609

Realflo Wizards

Sensor Search

Select Use the configuration from Realflo to use the configuration data from the Realflo file. This is the default setting.

Select Read the configuration from the transmitter to read configuration from a pre-configured transmitter.

This step searches for sensors connected to the flow computer serial ports or LAN port.

Search Serial Option

Select Search Serial to search for transmitters connected to a serial port of the flow computer.

The Port parameter selects the flow computer serial port where the sensor is attached. Valid values are com1, com2, com3, and com4. The default value is com2 for a SCADAPack controller and com1 for other controllers.

Realflo User and Reference Manual

May 19, 2011

610

Realflo Wizards

The Timeout parameter specifies the length of time the flow computer will wait for a response from a sensor. Valid values are 100 ms to 10000 ms.

The default is 300 ms.

Select Maximum to search for a number of MVT transmitters. The search operation will stop after finding the specified number of transmitters. The valid value is from 1 to 255. The default is 1.

Select Range to search the addresses in a specified range. The range to search for is typed in the edit boxes to the right of the radio button. The value in To edit control needs to be equal or great than the value in the first edit control. The maximum search range that can be typed is for 255 transmitters. The default range is 1 to 247.

Range Search supports addresses 1 to 255 in standard Modbus mode, and 1 to 65534 in extended address mode. The address mode of the flow computer serial port needs to be set to extended to search for transmitters with extended addresses.

Select All to search the addresses of all transmitters connected with the serial port selected in Port. Up to 255 addresses are searched.

Click Next to start the search for sensors or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

Search LAN Option

Select Search LAN to search for transmitters connected to a LAN port of the flow computer.

The IP Address parameter specifies the IP address of a 4000 transmitter.

Valid entries are IP addresses in the format nnn.nnn.nnn.nnn where nnn are values between 0 and 255.

The Protocol parameter selects the type of IP protocol that will be used to query the transmitter. Valid IP protocol selections are Modbus/TCP and

Modbus RTU in UDP.

The IP port (for example port 502) for the selected protocol needs to be the same in the flow computer and the 4000 transmitter.

The Timeout parameter specifies the length of time the flow computer will wait for a response from a 4000 transmitter. Valid values are 100 to 10000 milliseconds. The default is 5000 ms.

Click Next to start the search for MVT transmitters or 4000 transmitters. A search process dialog is displayed so that the search operation can be cancelled at any time.

If no transmitters were found, a message is displayed and the search step is displayed again.

Assign Sensors

This step lets you assign found transmitters to flow runs.

Realflo User and Reference Manual

May 19, 2011

611

Realflo Wizards

The Available Sensors pane shows the transmitters that have been configured and the transmitters that were found by the search. There may be more transmitters in the list than there are runs.

The Sensor column indicates the transmitter slots that have been configured. Transmitters that were found but not assigned are listed as Not

assigned.

The Status column indicates if configuration data for the transmitter exists.

Found indicates a transmitter has been configured and the search found one with the same port, address and device type.

Missing indicates a transmitter has been configured but the search did not find one with the same port, address, and device type.

The Port column displays the serial or LAN port the flow computer is using to communicate with the transmitter.

The Address column displays the Modbus station address or IP address of the transmitter.

The Tag column displays the Tag Name assigned to the transmitter. You can leave this column blank if a Tag Name has not been assigned to the transmitter.

The Device type column displays the transmitter type. Valid values are

3095FB, 4101, 4102, 4202 DR, 4202 DS, 4203 DR, or 4203 DS.

The Flow Runs window shows which MVTs are assigned to the runs.

To Change the order of the sensors:

Select a sensor in Available Sensors window.

Click Move.

The Move Sensor dialog opens:

Realflo User and Reference Manual

May 19, 2011

612

Realflo Wizards

In the Move Sensor dialog, use Move To selection to select the new location

Click OK.

To delete a sensor:

Select a transmitter in Available Sensors.

Click Delete.

To change the address of a Sensor:

Select a transmitter in Available Sensors.

Click Change Address.

The Change Address dialog opens:

Enter a new address for the transmitter in the New Address: edit box.

Click OK.

Click Next when the transmitters are moved to the correct location.

Next is disabled if there are Not Assigned transmitters still in the list.

The next step is

Search for More Transmitters Dialog

.

Notes

The following actions may occur when moving a sensor.

Moving one sensor to another results in the both swapping positions.

When Use the configuration from Realflo is selected, assigning a Not assigned transmitter to a Sensor with status Missing and device type matching result in the sensor adopting the transmitter‟s port and address and retaining the rest of the sensor configuration. The sensor, being assigned, will disappear from the list.

When Read the configuration from the transmitter is selected, assigning a Not assigned transmitter to a sensor with status Missing and device type matching results in the sensor a dopting the transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Assigning a Not assigned transmitter to a sensor with status Missing and device type not matching will result in the sensor adopting the

Realflo User and Reference Manual

May 19, 2011

613

Realflo Wizards transmitter‟s configuration. The transmitter, being assigned, will disappear from the list.

Other assignments are not permitted.

Search for More Transmitters Dialog

This step displays the current sensor assignments and asks if more searches are needed.

Proposed Sensors shows the transmitters that have been configured and the transmitters that were found by the search.

Flow Runs shows which sensors are assigned to which runs.

Select Search for more transmitters to search again.

Select Finish searching and review configuration to use the current settings. This is the default radio button.

Review Sensors Dialog

This step displays the transmitter assignments and allows you to edit the transmitter configuration.

Realflo User and Reference Manual

May 19, 2011

614

Realflo Wizards

The Sensors pane shows the transmitters that have been configured.

The Flow Runs pane shows which sensors are assigned to the runs.

Click Edit to review and modify the settings for each transmitter. Edit opens the Add/Edit Sensor Settings dialog. Changes to a transmitter address will be written to the transmitter without affecting current flow computer configuration.

Copy Run Configuration Dialog

The Copy Run step is displayed only if you selected more than one run is selected in the Number of Flow Runs step and you have configured the first run.

The second flow run, and subsequent runs, may be configured step-by-step or by copying the configuration of a previous run.

Select Set by Step configuration to configure another run using the wizard without copying Run 1.

Realflo User and Reference Manual

May 19, 2011

615

Flow Computer Configuration Summary

This step displays a summary of the flow computer settings.

Realflo Wizards

A summary of the flow computer configuration is shown.

The current configuration can be compared with the configuration in the target flow computer.

Select Yes to compare the configurations.

Select No to not compare the configurations.

Review Differences

This step displays a summary of changes in the flow computer configuration. You can select to write to the flow computer or not.

The summary shows the differences in the configuration.

Select Yes to write the configuration to the flow computer. The configuration is written to the flow computer. The Start Executing command will be written for each flow run. The communication progress dialog shows the stages of writing.

Select No to write the configuration to the flow computer later.

Realflo User and Reference Manual

May 19, 2011

616

Save File

Realflo Wizards

Click Next to perform the selected action.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

This step lets you select where to save the configuration file.

Finish

Select Save to Realflo.tfc to save the configuration file to the default file location.

Select the Save to another file to either enter a file name or use the

Browse option to open the Save As dialog.

This step is displayed at the end of the wizard.

Realflo User and Reference Manual

May 19, 2011

617

Click Finish to close the wizard.

Realflo Wizards

Realflo User and Reference Manual

May 19, 2011

618

Realflo Wizards

Replace Flow Computer Wizard

This step selects the flow computer file to write and writes the file to the flow computer.

Use the Replace Flow Computer dialog to select the flow computer program to write to the flow computer.

Select Flow Computer to write a basic flow computer program. Realflo selects the correct program file for the flow computer from the folder Realflo was started from, typically C:\Program Files\Control

Microsystems\Realflo.

The file selected will be Realflot v#.##.#.abs for Telepace firmware and

Realfloi v#.##.#.abs for ISaGRAF firmware on 16-bit SCADAPack controllers, where #.##.# is the flow computer version number.

This option is disabled if the controller type is a SCADAPack 32,

SCADAPack 314/330/334, SCADAPack 350, SCADAPack 4203 and

SolarPack 410.

Select Flow Computer with Enron Modbus to write a flow computer program with Enron Modbus support. Realflo selects the correct program file for the flow computer from the folder Realflo was started from, typically

C:\Program Files\Control Microsystems\Realflo.

Flow computer files available will depend on the Realflo operating mode and the controller type.

Standard Flow Computer Files

RFEnront v#.##.#.abs for Telepace firmware and RFEnroni

v#.##.#.abs for ISaGRAF firmware for 16-bit SCADAPack controllers.

Realflot v#.##.#.out for Telepace SCADAPack 350 firmware and

Realfloi v#.##.#.out for ISaGRAF SCADAPack 350 firmware.

Realflo33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo33xi v#.##.#.out for ISaGRAF SCADAPack 330/334 firmware.

Realflo31xt v#.##.#.out for Telepace SCADAPack 314 firmware and

Realflo31xi v#.##.#.out for ISaGRAF SCADAPack 314 firmware.

Realflo User and Reference Manual

May 19, 2011

619

Realflo Wizards

Realflo4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and

Realflo4203i v#.##.#.out for ISaGRAF SCADAPack 4203 firmware.

Realflo410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and

Realfloi v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

GOST Flow Computer Files

Realflo_GOST_t v#.##.#.abs for Telepace firmware and

Realflo_GOST_i v#.##.#.abs for ISaGRAF firmware for 16-bit

SCADAPack controllers.

Realflo_GOST_33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_GOST_33xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_GOST_31xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_GOST_31xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_GOST_4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and Realflo_GOST_4203i v#.##.#.out for ISaGRAF

SCADAPack 4203 firmware.

Realflo_GOST_410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and Realfloi

v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

PEMEX Flow Computer Files

Realflo_PEMEX_t v#.##.#.abs for Telepace firmware and

Realflo_PEMEX_i v#.##.#.abs for ISaGRAF firmware for 16-bit

SCADAPack controllers.

Realflo_PEMEX_33xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_PEMEX_33xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_PEMEX_31xt v#.##.#.out for Telepace SCADAPack 330/334 firmware and Realflo_PEMEX_31xi v#.##.#.out for ISaGRAF

SCADAPack 330/334 firmware.

Realflo_PEMEX_4203t v#.##.#.out for Telepace SCADAPack 4203 firmware and Realflo_PEMEX_4203i v#.##.#.out for ISaGRAF

SCADAPack 4203 firmware.

Realflo_PEMEX_410t v#.##.#.out for SolarPack 410 firmware.

Realflot v#.##.#.mot for Telepace SCADAPack 32 firmware and

Realfloi v#.##.#.mot for ISaGRAF SCADAPack 32 firmware.

Select Customer Flow Computer or C/C++ Program to write any C/C++ program to the flow computer. Select the file to write by:

Entering the file name in the edit box.

Selecting a recently used file by clicking the down arrow.

Using the Browse button to select a file. The Browse button opens a file open dialog. The dialog shows files of type ABS if the flow computer is a

SCADAPack. OUT, if the flow computer is a SCADAPack 314/330/334,

Realflo User and Reference Manual

May 19, 2011

620

Set Time

Realflo Wizards

SCADAPack 350 or SCADAPack 4203, or MOT if the flow computer is a

SCADAPack 32.

The Back button returns to the previous step.

The Next button writes the flow computer file and moves to the next step,

Set Time.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

This step sets the time in the flow computer. Setting the time allows that configuration events are recorded with the correct time.

The following controls are available from the Real Time Clock dialog.

The current Flow Computer Time shows the current time and date in the flow computer. It is updated continuously while the dialog is open. The time and date are displayed in the short time format as defined in the Windows

Control Panel.

The Yes, set to PC Time radio button selects setting the controller time to match the PC time. The current PC time and date are shown to the right of the button. The time and date are displayed in the short format as defined in the Windows Control Panel.

The Yes, set to this time radio button selects setting the time and date to the values specified by the user in the Year, Month, Day, Hour, Minute and

Second controls. If the Set to User Entered Time radio button is not selected these controls are grayed.

The Back button returns to the previous step.

The Finish button writes the time and ends the wizard.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Realflo User and Reference Manual

May 19, 2011

621

Realflo Wizards

Write Flow Computer Configuration

The Write Configuration command is used to write all or selected parts of the Flow Computer Configuration. When selected the command displays the

Write Flow Computer Configuration dialog as shown below.

The All Configuration radio button, when selected, results in the writing of all configuration data from the flow computer.

The Selected Configuration radio button enables specific configuration data to be written to the flow computer.

Select Communication and I/O Settings to write the serial port, register assignment configuration information and mapping table.

Select Flow Run and MVT Configuration to write the flow run configuration and the MVT transmitter configuration.

Realflo User and Reference Manual

May 19, 2011

622

Realflo Wizards

Select Process I/O Configuration to write the Process I/O configuration.

Click on the OK button to write the selected items to the flow computer.

Click the Cancel button to cancel the operation and close the dialog.

The Flow Computer ID is checked before writing. If the Flow Computer

ID does not match the ID in the dialog Realflo displays a message.

An error occurs if Controller Configuration is selected and the flow computer type is different from the flow computer type selected in the

Controller Type dialog. A message is displayed.

In Flow Computer versions 6.73 and older, when AGA-8 gas ratios or NX-19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers. The Actual registers are not updated until a new Density calculation is started with the new values. The new values are not available to SCADA host software reading the Actual registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 gas ratios or NX-

19 gas quality values are written to the flow computer the new gas ratios are updated in the Proposed registers and in the Actual registers. This allows a

SCADA host to immediately confirm the new values were written to the flow computer. The new gas values are not used by the flow computer until a new density calculation is started.

Read Alarm and Event Logs

This step selects whether the alarms and events in the flow computer are read.

The Which Events do you want to read? section has the following selections.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has Write authorization then the events will be acknowledged after reading the new events. If the events in the

Realflo User and Reference Manual

May 19, 2011

623

Realflo Wizards log are not acknowledged, the event log will fill with 700 events.

Operator activity will be stopped until the events are read and acknowledged. This is the default selection.

Select Read All Events to read all events in the flow computer. Do not acknowledge the events.

Select Do Not Read Any Events to skip reading events.

The Which Alarms do you want to read? section has the following selections.

Select Just Read New Alarms to read unacknowledged alarms in the flow computer. If the operator has Write authorization then the alarms will be acknowledged after reading the new alarms. If the alarms in the log are not acknowledged, the alarm log will wrap around at 300 alarms.

This is the default selection.

Select Read All Alarms to read all alarms in the flow computer. Do not acknowledge the alarms.

Select Do Not Read Any Alarms to skip reading alarms.

The Back button returns to the previous step.

The Next button reads the selected alarms and events and moves to the next step, Select Hourly History.

The Cancel button closes the dialog and stops the wizard.

The Help button opens the on-line manual.

Bluetooth Security

If a Bluetooth connection was used to replace the flow computer in a

SolarPack 410 the last step is setting the Bluetooth security.

The Bluetooth Security Settings dialog specifies how Bluetooth security is configured in the SolarPack 410 controller. Opening the dialog reads the current settings from the controller. The dialog does not open if the settings can‟t be read.

Bluetooth Security selects if security is enabled or not. Select Use current

security settings to maintain the security settings that have already been

Realflo User and Reference Manual

May 19, 2011

624

Realflo Wizards established. Select Disable to operate the Bluetooth radio without security.

Select Enable to use authentication and encryption. Select Enable and

Change PIN to use authentication and encryption with a new PIN.

Current PIN specifies the current value of the PIN. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN). The factory default PIN is default.

New PIN specifies the new value of the PIN. This control is enabled if

Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

Confirm New PIN specifies the new value of the PIN. This control is enabled if Enable and Change PIN is selected. Valid values are up to 10 alphanumeric characters (a to z, A to Z, and 0 to 9). The PIN is case sensitive. Characters entered are masked. Copy and paste are disabled (so the user needs to type the PIN).

The two values of the new PIN need to match before any settings are written to the controller.

Click Finish to write the new settings to the controller. A message is displayed if the settings cannot be written to the controller and the dialog remains open.

Click Cancel to close the dialog without making any changes.

Realflo User and Reference Manual

May 19, 2011

625

Realflo Wizards

Read Logs and Flow History Wizard

The Read Logs and Flow History wizard will lead you through the steps to connect to a flow computer and read the alarm and event logs and the flow history.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

This step lets you define the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are: COM 1 (serial port on the PC),

9600 baud, no parity, 8 Data bits, and 1 Stop bit. The default Modbus address Realflo will connect to is station 1.

Realflo User and Reference Manual

May 19, 2011

626

Realflo Wizards

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Select Runs to Read

This step selects the flow run or runs to read.

The Select the Flow Run or Runs to Read selection determines if data for all runs or for a single run is read.

The All Runs radio button selects reading data for all runs.

Realflo User and Reference Manual

May 19, 2011

627

Realflo Wizards

The Selected Run radio button selects reading from a single run. The drop-down list selects the run to be read.

Click the Next> button to move to the next step in the wizard.

Select Flow Computer Configuration

This step selects whether the flow computer configuration is read from the flow computer with the logs and history.

Select Yes to read the flow run configuration.

Select No to not read the flow run configuration.

Select Alarm and Event Logs to Read

This step selects which alarms and events to read.

The Which Events do you want to read? selection determines which events to read from the flow computer.

Select Just Read New Events to read unacknowledged events in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the events will be acknowledged after

Realflo User and Reference Manual

May 19, 2011

628

Realflo Wizards reading the new events. If the events in the log are not acknowledged, the event log will fill with 700 events. Operator activity will be prevented until the events are read and acknowledged. The control is grayed under the following conditions: o The event log is not selected. o The user has Read and View account privileges. o The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

Select Read All Events to read all events in the flow computer. This control is grayed if the Event Log control is not selected.

Select Do Not Read Any Events to skip reading of events from the flow computer.

The Which Alarms to you want to read? selection determines which alarm logs to read from the flow computer.

Select Just Read New Alarms to read unacknowledged alarms in the flow computer. If the operator has View, Read and Write Data or

Administrator authorization then the alarms will be acknowledged after reading the new events. If the events in the log are not acknowledged, the alarm log will fill with 300 events. Operator activity will be prevented until the alarms are read and acknowledged. The control is grayed under the following conditions:

The alarm log is not selected.

The user has Read and View account privileges.

The Restrict Realflo users to reading all alarms and events option is selected in the Expert Mode Options menu.

The Read All Alarms radio button selects the reading of all alarms in the controller. The control is grayed if the Alarm control is not selected.

The Do Not Read Any Alarms button selects not to read alarms from the flow computer.

Click the Next> button to move to the next step in the wizard.

Select Hourly and Daily History to Read

This step selects which hourly and daily logs to read.

Realflo User and Reference Manual

May 19, 2011

629

Realflo Wizards

The Which Hourly Logs do you want to read? selection determines which hourly history is read.

Select New Hours to read hourly history for hours after those current in the file. If the file is empty then Realflo will read all hourly history stored in the flow computer. This is the default selection.

Select All Days to read hourly history for all days stored in the flow computer.

Select Selected Hours to read hourly history for the range of days selected with the From and to drop-down lists. Records are read for the contract days whose first hour is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log.

For example, if the contract day is configured to start at 7:00 AM.

Reading hourly history for September 23 would return the records where the first record in a day was between 7:00 on the 23 the 24 th

. rd

to 6:59:59 AM on

The From control contains the oldest previous day for which the hourly history is to be read. The initial value is the current day. Change this date to avoid reading data that has previously been read into the log.

The to control contains the recent previous day for which the hourly history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

Select the Do Not Read Hourly Logs to skip the reading of hourly logs.

The Which Daily Logs do you want to read? selection determines which hourly history is read.

Select New Days to read daily history for days after those in the current file. If the file is empty then Realflo will read hourly history stored in the flow computer. This is the default selection.

Realflo User and Reference Manual

May 19, 2011

630

Realflo Wizards

Select All Days to read daily history for all days stored in the flow computer.

Select Selected Days to read daily history for the range of days selected with the From and to drop-down lists. Records are read for the contract days whose first record is within the date range. Records for the contract day are read, regardless of their calendar date. This may result in records with calendar days outside the range being added to the log. For example, if the contract day is configured to start at 7:00

AM. Reading daily history for September 23 would return the daily records whose end time is in the range 7:00 on the 23 on the 24 th

. rd

to 6:59:59 AM

The From control contains the oldest previous day for which the daily history is to be read. The initial value is the current day. Change this date to avoid reading data that has previously been read into the log.

The to control contains the recent previous day for which the daily history is to be read. The initial value is the current day. The allowed range is the same or greater than the value in the From control. Change this date when wanting to read older data only. Leaving this date at its default will result in the recent data being read.

Select the Do Not Read Hourly Logs to skip the reading of hourly logs.

Click the Next> button to read the selected logs and history from the runs selected and move to the next step in the wizard.

The Read Logs Results page displays the results of the Read Logs and

History.

Click the Next> button to move to the next step in the wizard.

Realflo User and Reference Manual

May 19, 2011

631

Save Data

Realflo Wizards

This step saves the flow run configuration, if selected, and the logs and history.

Select Save to File name.tfc to save the data read to the currently opened file. The name of the current file is shown in place of file name.tfc.

Select Save to another file and enter a file name or click the Browse button to open the Save As dialog.

The following options allow you to specify the name and location of the file you're about to save:

The Save in: box lists the available folders and files.

The File name: box allows entry of a new file name to save a file with a different name. Realflo adds the extension you specify in the Save As type box.

The Save as type: box lists the types of files Realflo can save. Realflo can open flow computer (TFC) files and flow computer Template files (RTC).

Realflo User and Reference Manual

May 19, 2011

632

Export Data

Realflo Wizards

If the open file is a flow computer file and the Save as Type is a template file, Realflo will ask if the flow computer file should be saved before converting it to a template.

Save saves the file to the specified location.

The Cancel button closes the dialog without saving.

This step selects the file type to export data to.

Select Export to CFX format file to export the logs and history to a Flow-

Cal CFX format file. This format is designed for importing into Flow-Cal.

Data is exported to the CFX file from one flow run. The file includes data from the configuration, current readings, alarm log, event log and hourly history log.

When this option is selected the Export Data to CFX dialog is opened when the Finish button is clicked.

The CFX Export Setting button opens the CFX Export Settings dialog.

The parameters for this dialog are described in the CFX Export Settings section below.

Select Export to CSV format file to export the logs and history to a CSV

(comma-separated values) format file. This format can be read by spreadsheet and database software.

When this option is selected the Export Data to CSV dialog is opened when the Finish button is clicked.

The CSV Export Setting button opens the CSV Export Settings dialog.

The parameters for this dialog are described in the CSV Export Settings section below.

Select No, Do not export to skip the Export Data step.

When this option is selected the dialog is closed and the Read Logs

Flow History wizard is ended when the Finish button is clicked.

Export Data to CFX

This step selects what data to export to CFX.

Realflo User and Reference Manual

May 19, 2011

633

Realflo Wizards

Select All Alarms, Events and Hourly Logs to select all of the data in the flow run. This is the default button.

Select Selected Days to select the data from the contract days in the From and To dropdown lists.

The From dropdown list selects the oldest contract day. This control is enabled when the Selected Days radio button is selected.

The To dropdown list selects the recent contract day. This control is enabled when the Selected Days radio button is selected.

The Export Type dropdown list selects how export files are stored.

Select Specific File to export to a single file. A standard file save dialog opens to allow you to select the file name. The default file name is

<Realflo file name>(<FC ID>) - <Run Number> (<Run ID>).CFX.

Select Dated CFX to export one file per day to a single folder per run.

Realflo exports one file for each day. The file name is based on the time and date according to the CFX standard (YYYYMMDD.CFX).

Realflo User and Reference Manual

May 19, 2011

634

Save CFX Export

This step selects where to save the CFX export.

Realflo Wizards

Select Save to File name.CFX to save the CFX Export data to the currently opened file. The name of the current file is shown in place of file name.CFX.

The files that that will be created are shown in the display window.

Select Save to another file to save the CFX Export data to a different file name and location. Enter the name in the window or select Browse to open the Save As dialog and select a name and location.

The Save As dialog allows you to specify the file to export the data to.

Save exports the data to the selected file.

Cancel the export command and closes the dialogs.

Click the Next> button to complete the Read Logs and Flow history wizard and close the dialog.

Realflo User and Reference Manual

May 19, 2011

635

Export Data to CSV

This step selects what data to export to CSV.

Realflo Wizards

Select Hourly history to export the hourly history data.

Select Daily history to export the daily history data.

Select Alarm log to export the alarm log data.

Select Event log to export the event log data.

The Next> button moves to the Save CSV Export step in the wizard.

Realflo User and Reference Manual

May 19, 2011

636

Save CSV Export

This step selects where to save the CSV export.

Realflo Wizards

Select Save to File name.CSV to save the CSV Export data to the currently opened file. The name of the current file is shown in place of file name.CSV.

The files that that will be created are shown in the display window.

Select Save to another file to save the CSV Export data to a different file name and location. Enter the name in the window or select Browse to open the Save As dialog and select a name and location.

You may change the file name to any suitable name. The suggested file name format is defined in the CSV Export Options command.

The Save As file selection dialog appears for views. The Save As dialog allows you to specify the file to export the data to.

The Save button in the Save As dialog exports the data to the selected file.

Realflo User and Reference Manual

May 19, 2011

637

Realflo Wizards

The Cancel button in the Save As dialog cancels the export command and closes dialogs.

Realflo User and Reference Manual

May 19, 2011

638

Realflo Wizards

CFX Export Settings

The CFX Export Options dialog sets options for exporting to Flow-Cal CFX files. The settings in this dialog apply to files opened by Realflo. They are stored in the Windows registry.

The Hourly History section defines how records from the hourly history are exported.

Select Export Partial Hour Records to export of the records as they appear in Realflo. Some hours may contain more than one record due to power disconnection or configuration changes. This is the default selection.

Select Export One Record per Hour to export only one record per hour. Multiple records within an hour are merged into a single record for exporting. Hours that are not yet complete are not merged or exported.

The following hourly record fields are summed: volume, mass, energy, pulses (turbine type).

The following hourly record fields are averaged: termperature, static pressure, differential pressure (orifice types), relative density, flow product

or flow extension. See Input Averaging on page 948 for more information.

Select Time Leads Data Format to export the date and time at the start of the period. The time stamp on the record is the time at the start of the

Realflo User and Reference Manual

May 19, 2011

639

Realflo Wizards hour, even if the first record to be merged started later than that time.

This option is enabled only when Export One Record per Hour is checked. This option is unchecked by default.

The File Description section defines some descriptive parameters in the

CFX file.

Meter Number defines the meter number parameter. The options are

none, Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Computer ID. The parameter is 17 characters long in the file.

Meter Name defines the meter name parameter. The options are none,

Flow Computer ID, Flow Run ID and Flow Run Number. The default value is Flow Run ID. The parameter is 49 characters long in the file.

Serial Number defines the meter serial number parameter in the file.

The options are none, Flow Computer ID, Flow Run ID and Flow Run

Number. The default value is Flow Run Number. The parameter is 11 characters long in the file.

The Live Inputs Flags section defines which live input flags are set by

Realflo. The CFX file contains four flags in the Live Inputs parameter.

Realflo sets the T (temperature) flag to Y (live data). The other flags are normally set to N (not live), but can be modified using the following options.

Check Set Live Gas Composition Flag when there is a program that updates the gas composition. This is flag A (analysis). This option is unchecked by default.

Check Set Live Energy Flag when there is a program that updates the energy. This is flag B (heating value). This option is unchecked by default.

Check Set Live Gravity Flag when there is a program that updates the specific gravity (relative density). This is flag G (gravity). This option is unchecked by default.

The Default Name Format section defines what file names Realflo suggests when exporting. The names are combinations of the file name;

Flow Computer ID; flow run number; and flow run ID.

Format selects the name format. The valid values are listed below. The default is to include all information. o file name (Flow Computer ID) - Run# (run ID) o file name (Flow Computer ID) - Run# o file name (Flow Computer ID) - run ID o file name - Run# (run ID) o file name - Run# o file name - run ID o Flow Computer ID - Run# (run ID) o Flow Computer ID - Run# o Flow Computer ID - run ID o Run# (run ID)

Realflo User and Reference Manual

May 19, 2011

640

Realflo Wizards o run ID

The Example control shows the file name that will be suggested for the current file.

The Dated CFX section defines where and how CFX files are exported.

Select Use .CFX extension on folder names to create folders with a

CFX extension when exporting Dated CFX files. The data for each month is stored in its own folder when using the Dated CFX format. The folder name may have a CFX extension or not. This option is unchecked by default.

Select Export Dated CFX Files to the Folder to define a common folder for exports. Exported data will be placed in this folder. The option is unchecked by default. When checked, the edit control holds the destination folder that will appear in the Save As dialog. Use Browse to search for another folder.

Realflo User and Reference Manual

May 19, 2011

641

Realflo Wizards

CSV Export Settings

The CSV Export Options command defines whether optional data is exported to CSV files. The settings in this dialog apply to files opened by

Realflo. They are stored in the Windows registry.

The Hourly and Daily Records section of the dialog defines optional data to include and how the data is time stamped.

Select the Include Uncorrected Flow in AGA-7 Export option to export the Uncorrected Data column from the Hourly History Log and

Daily History Log. This option applies to AGA-7 only. The option is unchecked by default.

Select the Export in Time Leads Data Format option to export time stamps that mark the start of the period. Uncheck the option to export time stamps that mark the end of the period (Realflo format). This applies to the the Hourly History and Daily History only. The control is unchecked by default.

The Default File Name Format section defines the file name that is suggested by Realflo when data is exported. The names are combinations of the file name; Flow Computer ID; flow run number; and flow run ID.

The Format list selects the name format. The name is made up of the identifier format and a view format. The valid values for the identifier are listed below. The default is to include all information. o file name (Flow Computer ID) - Run# (run ID) - Type o file name (Flow Computer ID) - Run# - Type o file name (Flow Computer ID) - run ID - Type o file name - Run# (run ID) - Type o file name - Run# - Type o file name - run ID - Type o Flow Computer ID - Run# (run ID) - Type o Flow Computer ID - Run# - Type o Flow Computer ID - run ID - Type o Run# (run ID) - Type o run ID - Type

Realflo User and Reference Manual

May 19, 2011

642

Realflo Wizards

When the logs are exported the word Type is replaced by the following, according to the export selected. o Alarms o Events o Hourly Log o Daily Log o Current Readings o Custom View Name

The Example control shows the file name that will be suggested for the current file.

Calibrate Inputs Wizard

The Calibrate Inputs wizard is used to calibrate the temperature sensor, static pressure sensor, and differential pressure sensor or pulse counter input. The calibration dialogs lead you through the calibration procedure.

When more than one sensor is selected, they are each forced and then the calibration cycle will be allowed for each sensor in turn. This allows multiple variable transmitters such as the MVT to be calibrated.

WARNING

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. All steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

Realflo User and Reference Manual

May 19, 2011

643

Realflo Wizards

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are: COM 1 (serial port on the PC),

9600 baud, no parity, 8 Data bits, and 1 Stop bit. The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Realflo User and Reference Manual

May 19, 2011

644

Realflo Wizards

Sensor Calibration

When the Calibration wizard is selected the Sensor Calibration dialog is displayed. The Run, or Sensor, to be calibrated is selected from this dialog.

The Sensor Calibration dialog allows the selection meter run or MVT for calibration.

Select the Run radio button and then select a meter run to calibrate.

Transmitters used for the meter run may be calibrated. This section is disabled if runs are using sensors

Follow the steps in the

Run Calibration Procedure

.

Select Sensor radio button and select one of the sensor tags to calibrate a sensor. Sensor tags that have been configured will be in sensor selection box.

Follow the steps in the

Sensor Calibration Procedure

.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The back button is not enabled on the first step since there is no previous step.

Realflo User and Reference Manual

May 19, 2011

645

Realflo Wizards

The Next> button starts the calibration procedure. After the Run, or sensor, is selected, the configuration for the run is read from the flow computer. The

Run, or sensor, calibration page for the run is then displayed.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Run Calibration Procedure

When the Run radio button is selected the Run Calibration dialog is displayed. The transmitters for the run are selected for calibration from this dialog.

WARNING

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

Realflo User and Reference Manual

May 19, 2011

646

Realflo Wizards

Select the sensors to be calibrated by checking the appropriate boxes. More than one sensor may be selected for calibration.

The <Back button is not enabled as this is the initial step.

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

The same input sensor can be used for more than one flow run. When the sensor is calibrated for one run, Realflo only forces the input value for that run. When the sensor is disconnected to do the calibration, the live input to the other run will be disconnected and the value will not be correct. The flow computer does not support forcing of inputs during calibration on more than one run.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo User and Reference Manual

May 19, 2011

647

Realflo Wizards

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

648

Realflo Wizards

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

When more than one sensor is selected, they need to each be forced to a current or fixed value before any of the other steps are performed. A Step 1:

Force Value dialog will be presented for each sensor selected for calibration.

The input register associated with this input is displayed to aid you in determining which input you are calibrating.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the Flow Computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor can now be removed from the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

649

Realflo Wizards

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

650

Realflo Wizards

Calibration Step 2: Record As Found Values

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You needs to record at least one

“asfound

” reading.

To take as-found readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process in the Measured Value box.

When it has settled, click on the Record button to record an as-found reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

<Back returns to the previous step. Backing up does not erase events from the flow computer event log.

Next> proceeds to the next step.

Realflo User and Reference Manual

May 19, 2011

651

Realflo Wizards

The Cancel button is greyed and an as found reading needs to be recorded.

When you click Cancel to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

652

Realflo Wizards

Calibration Step 3: Calibration Required

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is grayed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be

Realflo User and Reference Manual

May 19, 2011

653

Realflo Wizards sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

654

Realflo Wizards

Calibration Step 4: Calibrate Sensor

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

Click on the Next> button when the calibration is complete.

Realflo User and Reference Manual

May 19, 2011

655

Realflo Wizards

Calibration Step 5: Record As Left Values

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

When the measured value from the process has settled, click on the

Record button to record an as-left reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

When the required readings are taken, click on the Next> button.

Realflo User and Reference Manual

May 19, 2011

656

Realflo Wizards

Calibration Step 6: Restore Live Input

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Click on the Next button when the sensor is connected.

WARNING

The live value from all sensors is used as soon as you click Next. Be sure to connect al sensors first.

Realflo User and Reference Manual

May 19, 2011

657

Realflo Wizards

Calibration Step 6: Calibration Report Comment

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Realflo User and Reference Manual

May 19, 2011

658

Realflo Wizards

Calibration Step 7: Calibration Report

The Calibration Report dialog allows the saving of the calibration report.

Realflo User and Reference Manual

May 19, 2011

Select Save Report to File to save the report. o Type the name of the report in the Save Report to File window.

The default location and name are specified on the Calibration

Report Options dialog. o Select Browse to select a different file name.

Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked.

Select Do not Save Report to skip saving the calibration report.

Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

659

Realflo Wizards

MVT Calibration Procedure

When the MVT radio button is selected in the Sensor Calibration dialog the

MVT Calibration dialog is displayed.

The transmitter number, transmitter tag name, the communication port and the transmitter address associated with this MVT transmitter are displayed to aid you in determining which input you are calibrating.

Check the Calibrate Temperature Sensor check box to select the temperature sensor for calibration. This will add the Temperature to the

Calibration order list box.

Check the Calibrate Static Pressure Sensor check box to select the static pressure sensor for calibration. This will add the Static Pressure to the Calibration order list box.

Check the Calibrate Differential Pressure Sensor check box to select the differential pressure sensor for calibration. This will add the Diff.

Pressure to the Calibration order list box.

The Calibration Order list displays the list of sensors to be calibrated.

Sensors are calibrated in order from the top of the list.

Select Move Up button to move the specified item in the list up. The button is disabled if highlight item is on the top of the list or the list is empty.

Select Move Down button to move the specified item in the list down.

The button is disabled if highlight item is on the bottom of the list or the list is empty.

The <Back button is not enabled as this is the initial step.

The Next> button completes the selections and opens the Step 1: Force

Value dialog.

The Cancel button closes the dialog and stops the transmitter calibration.

Realflo User and Reference Manual

May 19, 2011

660

Realflo Wizards

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

The live value from each sensor is used as soon as you click Next. Connect al sensors first.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

661

Realflo Wizards

Calibration Step 1: Force Value

The flow calculations continue to execute while calibrating sensors. The sensor value needs to be forced to either the current value or a fixed value during calibration. This dialog lets you select the current value of the input or a fixed value of your choice.

When more than one sensor is selected, they need to each be forced to a current or fixed value before any of the other steps are performed.

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The No Change radio button will be selected if the value is currently forced. (You may still select one of the other two radio buttons if desired).

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

When the Next> button is pressed Realflo records the start of calibration for the sensor in the event log. The sensor input is forced. The sensor can now be disconnected to the process.

The Cancel button closes the dialog and stops the transmitter calibration.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

662

Realflo Wizards

Realflo uses live values from the sensor when calibration is cancelled.

Connect sensors first.

WARNING

Realflo uses live values from the sensor when calibration is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

663

Realflo Wizards

Calibration Step 2: Record As-Found Values

As-found readings indicate how the sensor was calibrated before adjustment. These can be used to correct flow measurement errors resulting from an out of calibration sensor. Follow the procedure your company has set for taking as-found readings. You need to record at least one as-found reading.

Realflo will record As-Found values to the unit types selected for the meter run. If the units type for the meter run and the MVT are not the same then the MVT units are scaled to the meter run units.

To take as-found readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process is in the Measured Value box.

When it has settled, click on the Record button to record an as-found reading.

Repeat the process to record additional readings.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

Realflo User and Reference Manual

May 19, 2011

664

Realflo Wizards

The Cancel button is grayed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

WARNING

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

665

Realflo Wizards

Calibration Step 3: Calibration Required

The as-found readings indicate if calibration is required. Examine the list of as-found readings. If the sensor is in need of calibration, select Yes.

Otherwise select No.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For Run Calibration the deviation is calculated as follows. The output full scale and zero scale are taken from the input configuration for the run. span = input full scale – input zero scale deviation = (measured - applied) / span

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log.

The Next> button proceeds to the next step.

The Cancel button is grayed and an as found reading needs to be recorded.

When you click the Cancel button to abort the calibration the following message is displayed. Click Yes to abort the calibration. Click No to continue with the calibration. The default button is No.

Realflo User and Reference Manual

May 19, 2011

WARNING

666

Realflo Wizards

Realflo uses live values from the sensor when calibration is cancelled. Be sure to connect all sensors first.

Realflo does not erase any calibration events from the flow computer when canceling.

The Help button displays the online help file.

Calibration Step 4: Calibrate SCADAPack 4101, 4202 or 4203

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4102 or a SCADAPack 4202 or 4203.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

The Static Pressure can only have a span calibration performed if at least 5% of the rated pressure is applied.

The RTD Zero can only be adjusted +/- 1% of the RTD upper limit, typically 8.5 degrees C, relative to the settings used when a reset sensor command was last issued.

The list box displays as-found values listed in the list of Record As-Found

Values dialog.

The Measured Value displays the measured value from the sensor.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

Realflo User and Reference Manual

May 19, 2011

667

Realflo Wizards

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Realflo User and Reference Manual

May 19, 2011

668

Realflo Wizards

Calibration Step 4: Calibrate SCADAPack 4101

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a

SCADAPack 4101 transmitter.

The as-found readings, for each sensor, will indicate if calibration is required for the sensor. You are prompted to use the 4000 Configurator application to perform the calibration. The 4000 Configurator software is installed from the

Control Microsystems Hardware Documentation CD.

The Next> button proceeds to the next step.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

669

Realflo Wizards

Calibration Step 4: Calibrate 3095 MVT

Step four in the calibration procedure varies depending on the type of transmitter being calibrated. Use this section if you are calibrating a 3905 transmitter.

This dialog aids you in calibrating a sensor by displaying the measured value from the sensor and the as-found readings.

Follow the procedure your company or the sensor supplier has set to calibrate the sensor. When the sensor calibration is complete, you may wish to check the as-left measurements that will be recorded in the next step.

This confirms that you have calibrated the sensor correctly before placing it back in service.

The list box displays as-found values listed in the list of Record As-Found

Values dialog.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

The Calibrate Sensor section of the Calibrate Sensor dialog displays the current calibration settings and selectable radio buttons for configuring the sensor calibration.

The Radio buttons enable the changing of the zero and span for the

Temperature, Static Pressure and Differential Pressure sensors. For

Temperature sensors, an additional radio button allows the user to fix the

Temperature value in the event the temperature reading is outside the configured limits.

Select the Re-Zero radio button to enable a new entry in the Applied

Value field. This field displays the current zero value. The button is

Realflo User and Reference Manual

May 19, 2011

670

Realflo Wizards labeled Re-Zero if the Re-Zero radio button is selected. Clicking the

Re-Zero button writes the zero applied value to the transmitter immediately.

Select the Calculate Span radio button to enable a new entry in the

Applied Value field. This field displays the current span value. The button is labeled Calibrate if the Calibrate Span radio button is selected. Clicking the Calibrate button writes the span applied value to the transmitter immediately.

When calibrating the temperature sensor you may select the Default

Temperature radio button to enable a new entry in the Applied Value field.

The button is labeled Set if the Default Temperature radio button is selected. The transmitter returns the fixed temperature value if the RTD is not working, or if the RTD is not connected. The valid range is

–40 to 1200

F or

–40 to 648.89

C. The default value is 60

F or 15.56

C. The new fixed temperature point is written to the transmitter immediately.

The Measured Value displays the measured value from the sensor.

Realflo records the points at which MVT calibration was performed in the event log.

Each time the Re-Zero button is clicked the following information is recorded.

Event Name

Current Value

Previous Value

MVT Re-zero

The applied value entered by the user

The measured value from the controller

Each time the Calibrate button is clicked the following information is recorded.

Event Name

Current Value

Previous Value

MVT Span Calibration

The applied value entered by the user

The measured value from the controller

Realflo User and Reference Manual

May 19, 2011

671

Realflo Wizards

Calibration Step 5: Record As Left Values

As-left readings indicate how the sensor was calibrated. These can be used to verify sensor calibration. Follow the procedure your company has set for taking as-left readings. You need to record at least one as-left reading.

Realflo will record all As Found values to the units type selected for the meter run. If the units type for the meter run and the MVT are not the same then the MVT units are scaled to the meter run units.

To take as-left readings:

Apply a known signal to the sensor, or measure the signal applied to the sensor with a calibrated instrument.

Enter the applied value in the Applied Value edit box.

The measured value from the process is displayed. When it has settled, click on the Record button to record an as-left reading.

As readings are recorded they are automatically entered in the record window. The applied values are listed under the Applied column. The measured values are listed under the Measured column and the deviation between the readings is listed under the Deviation column.

For MVT Calibration the deviation is calculated as follows. The operating limits are read from the flow computer. span = upper range limit - lower range limit deviation = (measured - applied) / span

Repeat the process to record additional readings.

When required readings are taken, click on the Next> button.

Realflo User and Reference Manual

May 19, 2011

672

Realflo Wizards

Calibration Step 6: Restore Live Input

The sensors need to be reconnected to the process and the input hardware before calibration is complete. Reconnect sensors and verify connections are correct.

Click on the Finish button when the sensor is connected.

WARNING

The live value from all sensors is used as soon as the Finish button is clicked. Be sure to connect all sensors first.

Realflo User and Reference Manual

May 19, 2011

673

Realflo Wizards

Calibration Step 7: Calibration Report Comment

Realflo creates, stores, and prints calibration reports for each calibration session performed. Comments may be added to the calibration report using the Calibration Report Comment dialog as shown below.

Enter any comments or leave the window blank.

Click the Next button when completed entering comments.

Realflo User and Reference Manual

May 19, 2011

674

Realflo Wizards

Calibration Step 8: Calibration Report

The Calibration Report dialog allows the saving of the calibration report.

Realflo User and Reference Manual

May 19, 2011

Select Save Report to File to save the report. o Type the name of the report in the Save Report to File window.

The default location and name are specified on the Calibration

Report Options dialog. o Select Browse to select a different file name.

Check View Calibration Report After Saving the File to view the saved calibration report file. Default is checked.

Select Do not Save Report to skip saving the calibration report.

Click the Finis button to complete the calibration process.

If selected the Calibration report will be displayed as shown below.

675

Realflo Wizards

Change Orifice Plate Wizard

The Change Orifice Plate wizard enables the orifice plate to be changed for

AGA-3 meter runs. This wizard supports Dual Chamber Orifice fittings and

Singe Chamber Orifice fittings. This wizard will prompt you through the plate change procedure.

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are: COM 1 (serial port on the PC),

9600 baud, no parity, 8 Data bits, and 1 Stop bit. The default Modbus address Realflo will connect to is station 1.

Realflo User and Reference Manual

May 19, 2011

676

Realflo Wizards

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Select Meter Run

This step selects which meter run the orifice plate is to be changed.

The Run dropdown selection displays runs using AGA

–3 flow calculations.

Select the run to change or inspect the orifice plate.

Realflo User and Reference Manual

May 19, 2011

677

Realflo Wizards

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the run selection and the wizard moves to the next step. This button is grayed if there are no flow runs configured to use the AGA-3 flow calculation.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Choose Orifice Fitting Type Step

This page allows the user to select the type of orifice fitting.

Realflo User and Reference Manual

May 19, 2011

678

Realflo Wizards

Select Dual Chamber Orifice Fitting if a dual chamber fitting is present.

Flow accumulation with estimated values will continue during the plate change.

Select Singe Chamber Orifice Fitting if a single chamber fitting is present.

Flow accumulation will stop during the plate change.

The Next button moves to the next step.

The next step is described in the section

Dual Chamber Orifice

if a dual chamber fitting is selected.

The next step is described in the section

Single Chamber Orifice

if a

single chamber fitting is selected.

The Cancel button closes the dialog and stops the plate change procedure.

The Help button displays the online Help file.

Dual Chamber Orifice

A dual chamber orifice allows the user to change, or inspect, the orifice plate without stopping the flow. These are generally large custody transfer sites where the orifice fitting is bypassed during the change or inspection procedure.

The Change Orifice Plate Command forces the Static Pressure, Differential

Pressure and Temperature inputs to a fixed value during the orifice plate change or inspection procedure. This command is disabled if the Update

Readings command is enabled. The flow is estimated during the procedure using the fixed values.

This command allows a user to place a flow run into estimation mode to allow an orifice plate to be changed or inspected. Changing the orifice plate involves the following steps.

Set the estimated flow to be used during the orifice plate change by forcing inputs to fixed values.

Change the orifice size.

Complete the orifice plate change and resume normal flow measurement.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file

.” The command is aborted.

Realflo User and Reference Manual

May 19, 2011

679

Force Input Step

Realflo Wizards

This step forces the flow run inputs. An estimated flow will be calculated while the plate change is in progress. The current values are updated every second.

Select the value you wish to use, for each sensor, by clicking the appropriate radio button for each sensor.

Check the Current Value radio button to use the current value for the sensor.

Check the Fixed Value radio button and enter a value to use for the calibration in the entry box.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the force inputs step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and displays the following message.

Click Yes to abort the calibration.

Realflo User and Reference Manual

May 19, 2011

680

Realflo Wizards

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

681

Realflo Wizards

Change Orifice Plate Step

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and displays the following message.

Realflo User and Reference Manual

May 19, 2011

682

Realflo Wizards

Click Yes to abort the calibration.

Click No to continue with the plate change. The default button is No.

WARNING

Realflo uses live values from the sensor when the plate change is cancelled.

Be sure to connect all sensors first.

Realflo does not erase any events from the flow computer when the plate change is cancelled. Realflo restores live values (ends forcing) when Cancel is clicked.

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

683

Realflo Wizards

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

Single Chamber Orifice

A single chamber orifice requires the flow be stopped while an orifice plate is changed.

The Change Orifice Plate command prompts the user to stop the flow before changing the plate and start the flow after changing the plate.

Changing the orifice plate involves the following steps.

Confirm that flow has stopped.

Change the orifice size.

Complete the orifice plate change.

The Flow Computer ID is checked when the Change Orifice Plate command is selected. If the Flow Computer ID does not match the ID Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.” The command is aborted.

Stop Flow Step

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

The Help button displays the online help file.

This step stops the flow run. The current inputs can be monitored while the flow is stopped.

Realflo User and Reference Manual

May 19, 2011

684

Realflo Wizards

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up. For example, backing up to the force values step does not restore the live values.

The Next> button completes the Stop Flow step and the wizard moves to the next step. Realflo records the start of the plate change procedure in the event log and forces the sensor inputs.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Change Orifice Plate Step

The orifice plate can now be changed. The forced inputs are used while the change is in progress. This dialog allows you to enter the new orifice plate diameter.

The Current Orifice Diameter and Current Pipe Diameter are displayed for reference.

Realflo User and Reference Manual

May 19, 2011

685

Realflo Wizards

Enter the new orifice size in the New Orifice Diameter entry box. If the diameter is not valid, Realflo displays the following a message box.

You need to enter a valid orifice diameter. Click the OK button to return to the Change Orifice dialog.

The Beta Ratio is calculated and displayed for orifice diameter changes.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Next> button completes the change orifice step and the wizard moves to the last step.

The Cancel button aborts the plate change and closes the wizard.

The Help button displays the online help file.

Complete Orifice Plate Change

The Finish Plate Change is the last step in the Plate Change wizard.

The <Back button returns to the previous step. Backing up does not erase events from the flow computer event log. Realflo does not attempt to reverse the effect of a previous step when backing up.

The Finish button completes the orifice plate change wizard and closes the dialog. Realflo restores the sensor live values

The Help button displays the online help file.

Realflo User and Reference Manual

May 19, 2011

686

Realflo Wizards

Force Inputs Wizard

The Force Sensor wizard allows forcing and unforcing of the value of the temperature sensor, static pressure sensor, differential pressure sensor, or pulse counter input. Flow calculations continue to execute while sensors are forced.

The flow computer ID is checked when the Force Inputs command is selected. If the flow computer ID does not match the ID in the dialog Realflo displays the message “ The Flow Computer ID from the flow computer does not match the Flow Computer ID from the file.”

For each step in the wizard a dialog is presented to enter the parameters for the step. Each dialog contains four buttons to allow navigation through the wizard.

<Back returns to the previous step in the wizard. This button is disabled on the first step of a wizard.

Next> moves to the next step in the wizard. This button is hidden on the last step of a wizard.

Finish is displayed on the final step of a wizard in place of the Next button. It finishes the operation. This button is hidden on other steps.

Cancel cancels the operation and closes the wizard. Steps performed thus far in the wizard are cancelled. Pressing the ESC key performs the same action as Cancel.

Help opens the user manual.

Connect to Flow Computer

The connect to flow computer step defines the communication settings for the connection between the PC running the Realflo application and the target flow computer.

The How do you want to communicate with the flow computer? prompt provides two selections.

The Use the Current Settings option sets the default communication settings for Realflo. These settings are for the PC that is running Realflo.

Realflo User and Reference Manual

May 19, 2011

687

Realflo Wizards

(The communication settings for the PC running Realflo and the communication settings in the flow computer need to match).

The default communication settings are: COM 1 (serial port on the PC),

9600 baud, no parity, 8 Data bits, and 1 Stop bit. The default Modbus address Realflo will connect to is station 1.

Use this selection if the serial port on your PC is COM 1 and the serial port settings for the serial port on the flow computer are set for default (9600,

8,n,1 and Modbus address 1).

Click the Next> button to begin communication with the flow computer and move to the next step in the wizard.

The Choose/View Communication Setup option opens the PC

Communication Settings dialog as shown below. This allows you to view the default settings and to change the PC communication setting for the type of connection you are using to communicate with the flow computer.

See the section Communication >> PC Communication Settings

Command in the Realflo Expert Mode Reference section of this manual for complete details on the parameter settings in this dialog.

You need to know the communication settings for the connection to the flow computer to use this step.

Select Run or Transmitter to Force

This step selects the run or transmitter to force.

Realflo User and Reference Manual

May 19, 2011

688

Realflo Wizards

Select Run to force the sensor inputs for a flow run using analog or pulse sensors. Select the run to be forced from the dropdown list. The Run controls are disabled if there are no runs using analog or pulse sensors.

See the section

Force Run Inputs

below for information on forcing Run

inputs.

Select MVT to force the inputs from an MVT. Select the MVT to be forced from the dropdown list beside it. The MVT controls are disabled if there are no transmitters configured.

See the section

Force Transmitter Sensor

Inputs below for information on

forcing MVT inputs.

The Back button is disabled, as this is the first step in the wizard.

The Next starts the force procedure.

The Cancel closes the wizard.

The Help displays the online help file.

Force Run Inputs

When the Force Run is selected the Force Input Values dialog is displayed as shown below. The Force Input Values step selects the analog inputs of a

Realflo User and Reference Manual

May 19, 2011

689

Realflo Wizards flow run which will be forced or unforced. It displays the inputs that can be forced.

The Force Input Value dialog contains sections for Force Differential

Pressure Input, Force Static Pressure Input and Force Temperature Input.

When AGA-7 calculation type is used the dialog contains a section for Force

Pulse Counter Input instead of Force Differential Pressure Input.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove to remove the existing forcing. This button is disabled if the input is not forced.

The Back button moves back to the Select Run or Transmitter to Force step.

Backing up does not erase events from the flow computer event log, or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

Force MVT Inputs

This step shows the selected MVT inputs. The inputs can be forced to the current value or a fixed value, left as it is, or the forcing can be removed.

The transmitter number, transmitter tag name, the communication port and

Realflo User and Reference Manual

May 19, 2011

690

Realflo Wizards the transmitter address associated with this MVT transmitter are displayed to aid you in determining which input you are forcing.

The MVT Values dialog contains sections for Force Differential Pressure,

Force Static Pressure and Force Temperature.

For each input the following parameters are available:

Select Current Value to use the current value for the sensor. The current value is shown beside the control and updates continuously.

Select Fixed Value to use a fixed value. Type the value in the edit box.

Select No Change, input is already forced to leave the input in its current state. This is selected by default if the value is already forced.

This is disabled if the input is not forced.

Select Remove Force to remove the existing forcing. This button is disabled if the input is not forced.

The Back button moves back to the Select Run or Transmitter to Force step. Backing up does not erase events from the flow computer event log, or remove forcing from inputs previously processed.

The Finish button completes the Force Input Value process and closes the dialog.

The Cancel button closes the wizard. This does not undo any changes. Any input that is already forced will remain forced.

The Help displays the online help file.

The same MVT can be used for more than one flow run. Realflo forces the value for each run.

Realflo User and Reference Manual

May 19, 2011

691

TeleBUS Protocol Interface

TeleBUS Protocol Interface

This section describes communication with a SCADA system.

Data interchange, including flow history data, is accomplished using the

TeleBUS protocol. TeleBUS is fully compatible with standard Modbus drivers.

Data may be retrieved over any SCADA communications system while taking advantage of the error detection and non-proprietary nature of the

Modbus protocol.

Register Addresses

The TeleBUS protocol registers used by the flow calculation routine for configuration, display and data archiving are called holding registers.

Holding registers have a five-digit address in the range of 40001 to 49999.

The data values in these registers may be read or written to by any software package that supports the Modbus protocol.

TeleBUS Registers Used by the Flow Computer

The flow calculation routine in the flow computer uses holding registers in the ranges shown below. These registers are described in the following sections of this manual. A Telepace Ladder Logic program that may be executing simultaneously on the flow computer cannot use the registers in this range.

Configuration and Control Registers 49500 to 49999

Requested Data Registers

Meter Run 1 Data Registers

Meter Run 2 Data Registers

Meter Run 3 Data Registers

48500 to 49499.

47500 to 48499

46500 to 47499

45500 to 46499

Requested Daily History Registers

Meter Run 4 Data Registers

Meter Run 5 Data Registers

Meter Run 6 Data Registers

Meter Run 7 Data Registers

Meter Run 8 Data Registers

Meter Run 9 Data Registers

Meter Run 10 Data Registers

MVT Configuration Registers

MVT Data Registers

MVT Internal Registers

Display Configuration Registers

44500 to 45499.

44400 to 44499

44300 to 44399

44200 to 44299

44100 to 44199

44000 to 44099

43900 to 43999

43800 to 43899

43700 to 43799

43600 to 43689

38000 to 38999

43470 to 43499

Realflo User and Reference Manual

May 19, 2011

692

TeleBUS Protocol Interface

Process I/O Configuration Registers

43400 to 43469

Uncorrected Accumulated Flow, runs 1 to 10 43300 to 43398

SolarPack Configuration/Accumulation

43180 to 43260

In addition to the above registers the SCADAPack 4202 and 4203 controllers use the following registers for transmitter parameters and data.

These registers cannot be used if a SCADAPack 4202 or 4203 controller is used.

SCADAPack 4202 and 4203 data and parameters registers

40001 to

40499

Data Formats

The TeleBUS protocol interface allows for data access and configuration locally or remotely, using any software running the Modbus protocol. Data are stored in several formats in registers. Some formats take more than one register for a number. These are described in the table below.

Data

Type

sint uint slong ulong float userID runID

Registers

Required

1

1

2

2

2

4

8

Description

Signed integer in the range

–32767 to

32767.

Unsigned integer in the range 0 to 65535.

Signed long integer in the range

-2,147,483,647 to 2,147,483,647. The lower numbered register contains the higher order word.

Unsigned long integer in the range 0 to

4,294,967,295. The lower numbered register contains the higher order word.

IEEE single precision floating-point number. The lower numbered register contains the higher order word.

8-byte string packed into four registers.

The first register contains the first two characters of the string, etc. The first character is in the low order byte, the second in the high order byte.

The string is terminated with a NULL (= 0) character if it is less than 8 characters. Set the first register to 0 to indicate a NULL

(empty) string.

16-byte string packed into eight registers.

The first register contains the first two characters of the string, etc. The first character is in the low order byte, the second in the high order byte.

The string is terminated with a NULL (= 0) character if it is less than 16 characters.

Set the first register to 0 to indicate a NULL

(empty) string.

Realflo User and Reference Manual

May 19, 2011

693

TeleBUS Protocol Interface

Data

Type

RunID2

Registers

Required

16

Description

32-byte string packed into 16 registers.

The first register contains the first two characters of the string, etc. The first character is in the low order byte, the second in the high order byte.

The string is terminated with a NULL (= 0) character if it is less than 32 characters.

Set the first register to 0 to indicate a NULL

(empty) string.

Register Data Formats

The HMI or SCADA Host Software in use with the flow computer calculations needs to either support these data formats with the Modbus protocol or allow for custom scripting such that numeric data written to, or read from the flow computer, can be interpreted in these formats.

Meter Run 1 Data Registers

This section contains a of tables listing Meter Data Registers utilized by the flow computer (gas flow routines). These registers display data from each meter run. The flow computer continuously updates these registers.

The registers shown in this section are for meter run 1. Data for additional meter runs will start at lower addresses.

Execution State Registers

These registers contain the execution state of the flow calculation.

Actual

Register

47500

47501

Data

Type

uint unit

Description

Meter run = 1

Execution state:

1 = stopped

2 = running

Meter 1 Execution State Registers

Instantaneous and Accumulated Readings Registers

The instantaneous readings registers contain flow data. The values are instantaneous results. The Source column indicates the calculation that produces the value.

Values produced by the input, flow and accumulation calculations are updated once per second. Values produced by the compressibility calculation are updated each time the compressibility calculation recalculates. This time varies according to the calculation type and the changes in the inputs to the calculation (including configuration parameters).

Check the time of the last update registers to determine when the calculation was performed.

Values for the previous contract day are updated at the end of the contract day. Values for the current contact day include flow for the contract day, even if an event causes a separate day record in the hourly history.

Actual

Register

Data

Type Description Source

Realflo User and Reference Manual

May 19, 2011

694

Actual

Register

43390

Data

Type

float

43392

43394

43396

43398

47502

47504

47505

47506

47507

47508 float float float float uint uint uint uint

Uint

Uint

TeleBUS Protocol Interface

Description

Uncorrected flow volume during the current day (AGA-

7 only)

Uncorrected flow volume during the previous contract day (AGA-7 only)

Uncorrected flow volume during the current month

(AGA-7 only)

Uncorrected flow volume during the previous month

(AGA-7 only)

Source

Accumulation

Accumulation

Accumulation

Accumulation

Not used

Calibration flags

The calibration flag register indicates whether input values are forced or live.

Bit 0 = Get current temperature

Bit 1 = Get current static pressure

Bit 2 = Get current differential pressure or mass flow

Bit 3 = Get current pulse rate

Bit 4 = Temperature is forced

Bit 5 = Static pressure is forced

Bit 6 = Differential pressure is forced

Bit 7 = Pulse rate is forced

Bit 14 = Generate calibration event

Bit 15 = Generate orifice plate change event

A bit set indicates input is forced.

See also registers 47522

47528 and registers 47556,

47558 and 48470.

Compressibility approximated flag

0 = compressibility value is calculated result

1 = compressibility value is approximate

Input

Flow calculation

Input or flow calculation error code

Compressibility calculation error code

Flow calculation

Compressibility calculation

Temperature Input Alarm Input

Static Pressure Input Alarm Input

Realflo User and Reference Manual

May 19, 2011

695

Actual

Register

47509

47510

47512

47514

47516

47518

47520

47522

47524

47526

47528

47530

47532

47534

47536

47538

47540

47542

47544

47546

47548

TeleBUS Protocol Interface

Data

Type

Uint Differential Pressure (AGA-3 and V-Cone only)

Turbine Pulses (AGA-7 only) input Alarm ulong Turbine meter pulses (AGA-

7 only) ulong Number of flow calculations during the contract day float float

Description

Date of flow update (days since Jan 1, 1970)

Time of flow update

(seconds since 00:00:00) float float float float float float

Date of compressibility update (days since Jan 1,

1970)

Time of compressibility update (seconds since

00:00:00)

Temperature

Static pressure

Differential pressure (AGA-3 and V-Cone only)

Mass flow rate (AGA-11 only)

Flow volume rate float float float float float float float float float float

Flow mass rate

Flow energy rate

Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume

(AGA-7 only)

Supercompressibility

Flow calculation

Flow calculation

Flow calculation

Flow calculation

Real relative gas density

Mass density at flow conditions

Mass density at base conditions

Heating value

Duration of flow during the contract day (seconds)

Flow volume at base conditions during the contract day

Source

Input

Input

Accumulation

Flow calculation

Flow calculation

Compressibility calculation

Input

Input

Input

Compressibility calculation

Compressibility calculation

Compressibility calculation

Compressibility calculation

Density calculation

Accumulation

Accumulation

Realflo User and Reference Manual

May 19, 2011

696

TeleBUS Protocol Interface

Actual

Register

47550

47552

47554

47556

47558

48470

48472

48474

48476

48478

48490

48492

48494

48496

48498

Data

Type

float float float float float float float float float

Description

Flow mass at base conditions during the contract day

Flow energy at base conditions during the contract day

Total accumulated flow volume at base conditions

Forced Temperature

Forced Static Pressure

Forced Differential Pressure

(AGA-3 and V-Cone only)

Flow duration in current month.

Flow volume in current month

Flow duration in previous month float ulong Forced Pulse Rate (AGA-7 only) float

Flow volume in previous month

Date of last flow configuration change (days since January 1, 1970). float Time of last flow configuration change

(seconds since midnight). float float

Date of last density configuration change (days since January 1, 1970).

Time of last density configuration change

(seconds since midnight).

Source

Accumulation

Accumulation

Accumulation

Input

Input

Input

Accumulation

Accumulation

Accumulation

Accumulation

Input

Current readings

Current readings

Current readings

Current readings

Instantaneous and Accumulated Readings Registers

Actual

Register

48480

48482

48484

48486

Data

Type

float float float float

Description

Duration of flow during the previous contract day

(seconds)

Flow volume at base conditions during the previous contract day

Flow mass at base conditions during the previous contract day

Flow energy at base conditions during the previous contract day

Source

Accumulation

Accumulation

Accumulation

Accumulation

Realflo User and Reference Manual

May 19, 2011

697

Actual

Register

48488

Data

Type Description

ulong Number of flow calculations during the previous contract day

Previous Day Accumulated Readings Registers

TeleBUS Protocol Interface

Source

Accumulation

Daily Flow History Data Registers

Daily flow data registers are updated automatically at the beginning of each new contract day, and a user querry is not required to be refreshed. There are 35 days consisting of 26 History Registers each. The table Meter 1

Daily Flow History - Day 1 Registers shows the registers associated with the recent day of data only. The table Meter 1 Daily Flow History - Days 2

through 35 Registers shows the registers used for days 2 through 35. Day

1 is the recent day

Actual

Register

47560

Data

Type

float

47562

47564

47566

47568

47570

47572

47574

47576

47578

47580

47582 float float float float float float float float float float float

Description

Date at the end of the period (days since Jan 1,

1970)

Time at the end of the period (seconds since

00:00:00)

Duration of flow in the period

Flow volume at base conditions

Flow mass at base conditions

Flow energy at base conditions

Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume (AGA-7 only)

Average temperature

Average static pressure

Average differential pressure (AGA-3 and V-Cone only)

Average number of rotations per second (AGA-7 only)

Average real relative gas density

Realflo User and Reference Manual

May 19, 2011

698

TeleBUS Protocol Interface

Actual

Register

47584

Data

Type

float

Description

Units code = input units code + (contract units code

* 32)

The units code field indicates the units in use at the time the log entry was made. The codes for the input units and contract units are listed below. Both are combined in a single floating-point value to save space in the log.

Units Units Code

US1

US2

0

1

US3

IP

2

3

Metric1

Metric2

Metric3

SI

US4

4

5

6

7

8

US5

US6

US7

9

10

11

US8 12

Meter 1 Daily Flow History - Day 1 Registers

Actual

Register

Data Type

47586 to 47611 See Day 1 Structure

47612 to 47637 See Day 1 Structure

47638 to 47663 See Day 1 Structure

47664 to 47689 See Day 1 Structure

47690 to 47715 See Day 1 Structure

47716 to 47741 See Day 1 Structure

47742 to 47767 See Day 1 Structure

47768 to 47793 See Day 1 Structure

47794 to 47819 See Day 1 Structure

47820 to 47845 See Day 1 Structure

47846 to 47871 See Day 1 Structure

47872 to 47897 See Day 1 Structure

47898 to 47923 See Day 1 Structure

47924 to 47949 See Day 1 Structure

47950 to 47975 See Day 1 Structure

47976 to 48001 See Day 1 Structure

48002 to 48027 See Day 1 Structure

48028 to 48053 See Day 1 Structure

48054 to 48079 See Day 1 Structure

48080 to 48105 See Day 1 Structure

48106 to 48131 See Day 1 Structure

48132 to 48157 See Day 1 Structure

48158 to 48183 See Day 1 Structure

48184 to 48209 See Day 1 Structure

48210 to 48235 See Day 1 Structure

48236 to 48261 See Day 1 Structure

Description

2 nd most recent contract day

3 rd

most recent contract day

4

5 th th

most recent contract day

most recent contract day

6 th

most recent contract day

7

8 th th

most recent contract day

most recent contract day

9 th

most recent contract day

10 th

most recent contract day

11 th

most recent contract day

12

13 th th

most recent contract day

most recent contract day

14 th

most recent contract day

15

16 th th

most recent contract day

most recent contract day

17

18

19 th th th

most recent contract day

most recent contract day

most recent contract day

20

21 th st

most recent contract day most recent contract day

22 nd

most recent contract day

23 rd

most recent contract day

24 th

most recent contract day

25

26 th th

most recent contract day

most recent contract day

27 th

most recent contract day

Realflo User and Reference Manual

May 19, 2011

699

TeleBUS Protocol Interface

Actual

Register

Data Type

48262 to 48287 See Day 1 Structure

48288 to 48313 See Day 1 Structure

48314 to 48339 See Day 1 Structure

48340 to 48365 See Day 1 Structure

48366 to 48391 See Day 1 Structure

48392 to 48417 See Day 1 Structure

48418 to 48443 See Day 1 Structure

48444 to 48469 See Day 1 Structure

Description

28 th

most recent contract day

29

30

31 th th st

most recent contract day

most recent contract day

most recent contract day

32 nd

most recent contract day

33 rd

most recent contract day

34 th

most recent contract day

35 th

most recent contract day

Meter 1 Daily Flow History - Days 2 through 35 Registers

Meter Run 2 Data Registers

The registers for meter 2 are organized in the same manner as meter 1. The registers for each meter start at a different offset. The table below shows the registers used for meter run 2.

Actual

Register

Data Type

46500 to 47489 See meter run 1 Data

Structure above

43380 to 43389 See Uncorrected Flow

Accumulated Readings

Registers above

Description

Meter run 2 Data

Registers.

Meter run 2 Uncorrected

Flow Registers

Meter Run 3 Data Registers

The registers for meter 3 are organized in the same manner as meter 1. The registers for each meter start at a different offset. The table below shows the registers used for meter run 3.

Actual

Register

Data Type

45500 to 46489 See meter run 1 Data

Structure above

43370 to 43379 See Uncorrected Flow

Accumulated Readings

Registers above

Description

Meter run 3 Data

Registers.

Meter run 3 Uncorrected

Flow Registers

Meter Run 4 Data Registers

The registers for meter 4 do not contain the daily history that is provided for runs 1 to 3. The data structures for meter runs 4 to 10 do not contain the full

daily flow history to conserve register space. See the section

Meter Runs 4 to 10 Daily Flow History Registers

for daily flow history data for these

meter runs.

The tables below show the structure. The flow computer continuously updates these registers.

Execution State Registers

These registers contain the execution state of the flow calculation.

Actual

Register

44400

Data

Type

uint

Description

Meter run = 4

Realflo User and Reference Manual

May 19, 2011

700

TeleBUS Protocol Interface

Actual

Register

44401

Data

Type

uint

Description

Execution state:

1 = stopped

2 = running

Meter 4 Execution State Registers

Instantaneous and Accumulated Readings Registers

The instantaneous readings registers contain flow data. The values are instantaneous results. The Source column indicates the calculation that produces the value.

Values produced by the input, flow and accumulation calculations are updates once per second. Values produced by the compressibility calculation are updated each time the compressibility calculation recalculates. This time varies according to the calculation type and the changes in the inputs to the calculation (including configuration parameters).

Check the time of last update registers to determine when the calculation was performed.

Values for the previous contract day are updated at the end of the contract day. Values for the current contract day include flow for the contract day, even if an event causes a separate day record in the hourly history.

Actual

Register

43360

Data

Type

float

43362

43364

43366

43368

44402 float float float float uint

Description

Uncorrected flow volume during the previous month (AGA-7 only)

Uncorrected flow volume during the current month (AGA-7 only)

Uncorrected flow volume during the previous contract day

(AGA-7 only)

Uncorrected flow volume during the contract day (AGA-7 only)

Not used

Calibration flags

Bit 0 = Get current temperature

Bit 1 = Get current static pressure

Bit 2 = Get current differential pressure or mass flow

Bit 3 = Get current pulse rate

Bit 4 = Temperature is forced

Bit 5 = Static pressure is forced

Bit 6 = Differential pressure is forced

Bit 7 = Pulse rate is forced

Bit 14 = Generate calibration event

Bit 15 = Generate orifice plate change event.

Bit set indicates input is forced.

Source

Accumulation

Accumulation

Accumulation

Accumulation

Input

Realflo User and Reference Manual

May 19, 2011

701

Actual

Register

44404

44405

44406

44407

44408

44409

44410

44412

44414

44416

44418

44420

44422

44424

44426

44428

44430

44432

44434

44436

44438

44440

44442

44444

TeleBUS Protocol Interface

Data

Type

uint

Description

Compressibility approximated flag

0 = compressibility value is calculated result

1 = compressibility value is approximate uint uint uint uint

Input or flow calculation error code

Compressibility calculation error code

Temperature Input Alarm

Static Pressure Input Alarm uint Differential Pressure (AGA-3 and V-Cone only)

Turbine Pulses (AGA-7 only) input Alarm slong Turbine meter pulses (AGA-7 only) slong Number of flow calculations during the contract day float Date of flow update (days since

Jan 1, 1970) float float float

Time of flow update (seconds since 00:00:00)

Date of compressibility update

(days since Jan 1, 1970)

Time of compressibility update

(seconds since 00:00:00) float float

Temperature

Static pressure float float float float float float float float float float

Source

Flow calculation

Flow calculation

Compressibility calculation

Input

Input

Input

Input

Accumulation

Flow calculation

Flow calculation

Compressibility calculation

Input

Input

Differential pressure (AGA-3 and V-Cone only)

Mass flow rate (AGA-11 only)

Flow volume rate

Flow mass rate

Flow energy rate

Input

Flow calculation

Flow calculation

Flow calculation

Flow calculation Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume (AGA-

7 only)

Supercompressibility

Real relative gas density

Compressibility calculation

Compressibility calculation

Mass density at flow conditions Compressibility calculation

Mass density at base conditions Compressibility calculation

Heating value Density calculation

Realflo User and Reference Manual

May 19, 2011

702

TeleBUS Protocol Interface

Actual

Register

44446

44448

44450

44452

44454

44456

44458

44460

44462

44464

44466

44468

44470

44472

44474

44476

44478

44490

44492

44494

44496

44498

Data

Type

float float float float float float float

Description

Duration of flow during the contract day (seconds)

Flow volume at base conditions during the contract day

Flow mass at base conditions during the contract day

Flow energy at base conditions during the contract day

Total accumulated flow volume at base conditions

Duration of flow during the previous contract day (seconds)

Flow volume at base conditions during the previous contract day

Source

Accumulation

Accumulation

Accumulation

Accumulation

Accumulation

Accumulation

Accumulation float float

Flow mass at base conditions during the previous contract day

Flow energy at base conditions during the previous contract day

Accumulation

Accumulation ulong Number of flow calculations during the previous contract day float Forced Temperature float float float

Forced Static Pressure

Forced Differential Pressure

(AGA-3 and V-Cone only)

Accumulation

Input

Input

Input

Forced mass flow rate (AGA-11 only)

Flow duration in current month. Accumulation float float float

Flow volume in current month Accumulation

Flow duration in previous month Accumulation

Flow volume in previous month Accumulation

Input ulong Forced Pulse Rate (AGA-7 only) float Date of last flow configuration float change (days since January 1,

1970).

Time of last flow configuration change (seconds since midnight). float float

Date of last density configuration change (days since January 1, 1970).

Time of last density configuration change (seconds since midnight).

Current readings

Current readings

Current readings

Current readings

Instantaneous and Accumulated Readings Registers

Meter Runs 4 to 10 Daily Flow History Registers

Realflo User and Reference Manual

May 19, 2011

703

TeleBUS Protocol Interface

The data structures for meter runs 4 to 10 do not contain the full daily flow history to conserve register space.

For SCADAPack 32 and SCADAPack 330/334, SCADAPack 350 controllers only the following registers can be used to display the daily flow history for any flow run. This includes runs 1 to 3.

Use the

Get Daily History Command

to load the history data into these

registers.

There are 35 days consisting of 26 History Registers each. The table Meter

1 Daily Flow History - Day 1 Registers shows the registers associated with the recent day of data only. The table Meter 1 Daily Flow History -

Days 2 through 35 Registers shows the registers used for days 2 through

35. Day 1 is the recent day.

Actual

Register

44560

44562

44564

44566

44568

44570

44572

44574

44576

44578

44580

44582

Data

Type

float float float float float float float float float float float float

Description

Date at the end of the period (days since Jan 1,

1970)

Time at the end of the period (seconds since

00:00:00)

Duration of flow in the period

Flow volume at base conditions

Flow mass at base conditions

Flow energy at base conditions

Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume (AGA-7 only)

Average temperature

Average static pressure

Average differential pressure (AGA-3 and V-Cone only)

Average number of rotations per second (AGA-7 only)

Average real relative gas density

Realflo User and Reference Manual

May 19, 2011

704

TeleBUS Protocol Interface

Actual

Register

44584

Data

Type

float

Description

Units code = input units code + (contract units code

* 32)

The units code field indicates the units in use at the time the log entry was made. The codes for the input units and contract units are listed below. Both are combined in a single floating point value to save space in the log.

Units Units Code

US1

US2

0

1

US3

IP

2

3

Metric1

Metric2

Metric3

SI

US4

4

5

6

7

8

US5

US6

US7

9

10

11

US8 12

Daily Flow History - Day 1 Registers

Actual Data Type

Register Description

44586 to 44611 See Day 1 Structure 2 nd

most recent contract day

44612 to 44637 See Day 1 Structure 3 rd

most recent contract day

44638 to 44663 See Day 1 Structure 4

44664 to 44689 See Day 1 Structure 5 th th

most recent contract day

most recent contract day

44690 to 44715 See Day 1 Structure 6 th

most recent contract day

44716 to 44741 See Day 1 Structure 7

44742 to 44767 See Day 1 Structure 8 th th

most recent contract day

most recent contract day

44768 to 44793 See Day 1 Structure 9 th

most recent contract day

44794 to 44819 See Day 1 Structure 10 th

most recent contract day

44820 to 44845 See Day 1 Structure 11 th

most recent contract day

44846 to 44871 See Day 1 Structure 12

44872 to 44897 See Day 1 Structure 13 th th

most recent contract day

most recent contract day

44898 to 44923 See Day 1 Structure 14 th

most recent contract day

44924 to 44949 See Day 1 Structure 15

44950 to 44975 See Day 1 Structure 16 th th

most recent contract day

most recent contract day

44976 to 45001

45002 to 45027

See Day 1 Structure

See Day 1 Structure

17

18

45028 to 45053 See Day 1 Structure 19 th th th

most recent contract day

most recent contract day

most recent contract day

45054 to 45079 See Day 1 Structure 20

45080 to 45105 See Day 1 Structure 21 th st

most recent contract day

most recent contract day

45106 to 45131 See Day 1 Structure 22 nd

most recent contract day

45132 to 45157 See Day 1 Structure 23

45158 to 45183 See Day 1 Structure 24 rd th

most recent contract day

most recent contract day

45184 to 45209 See Day 1 Structure 25

45210 to 45235 See Day 1 Structure 26 th th

most recent contract day

most recent contract day

45236 to 45261 See Day 1 Structure 27 th

most recent contract day

Realflo User and Reference Manual

May 19, 2011

705

TeleBUS Protocol Interface

Actual Data Type

Register Description

45262 to 45287 See Day 1 Structure 28 th

most recent contract day

45288 to 45313

45314 to 45339

See Day 1 Structure

See Day 1 Structure

29

30

45340 to 45365 See Day 1 Structure 31 th th st

most recent contract day

most recent contract day

most recent contract day

45366 to 45391 See Day 1 Structure 32 nd

most recent contract day

45392 to 45417 See Day 1 Structure 33 rd

most recent contract day

45418 to 45443 See Day 1 Structure 34 th

most recent contract day

45444 to 45469 See Day 1 Structure 35 th

most recent contract day

Daily Flow History - Days 2 through 35 Registers

Get Daily History Command

The daily history is comprised of 35 days worth of data that is written into a block of registers when the flow computer is queried. This command can read hourly history for any run. The history for runs 1 to 3 is also available in dedicated registers for those runs.

Only the host computer, application program, or Realflo can send commands to the flow computer at one time. Command Reply Registers

49505 and 49506 will indicate an error if more than one host sends a command at one time.

Use the following procedure to execute the command.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 12 (Get Daily History) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the command succeeded.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. Meter run if the command was successful.

Read the Data Registers.

Location Data Type Description

44560 to 45469 see table Daily totals are displayed.

Meter Run 5 Data Registers

The registers for meter 5 are organized in the same manner as meter 4. The registers for each meter start at a different offset. The table below shows the registers used for meter run 5.

Actual

Register

Data Type

44300 to 44399 See meter run 4 Data

Structure above

Description

Meter run 5 Data

Registers.

Realflo User and Reference Manual

May 19, 2011

706

Actual

Register

Data Type

43350 to 43359 See Uncorrected Flow

Accumulated Readings

Registers above

TeleBUS Protocol Interface

Description

Meter run 5 Uncorrected

Flow Registers

Meter Run 6 Data Registers

The registers for meter 6 are organized in the same manner as meter 4. The registers for each meter start at a different offset. The table below shows the registers used for meter run 6.

Actual

Register

Data Type

44200 to 44299 See meter run 4 Data

Structure above

43340 to 43349 See Uncorrected Flow

Accumulated Readings

Registers above

Description

Meter run 6 Data

Registers.

Meter run 6 Uncorrected

Flow Registers

Meter Run 7 Data Registers

The registers for meter 7 are organized in the same manner as meter 4. The registers for each meter start at a different offset. The table below shows the registers used for meter run 7.

Description Actual

Register

Data Type

44100 to 44199 See meter run 4 Data

Structure above

43330 to 43339 See Uncorrected Flow

Accumulated Readings

Registers above

Meter run 7 Data

Registers.

Meter run 7 Uncorrected

Flow Registers

Meter Run 8 Data Registers

The registers for meter 8 are organized in the same manner as meter 4. The registers for each meter start at a different offset. The table below shows the registers used for meter run 8.

Description Actual

Register

Data Type

44000 to 44099 See meter run 4 Data

Structure above

43320 to 43329 See Uncorrected Flow

Accumulated Readings

Registers above

Meter run 8 Data

Registers.

Meter run 8 Uncorrected

Flow Registers

Meter Run 9 Data Registers

The registers for meter 9 are organized in the same manner as meter 4. The registers for each meter start at a different offset. The table below shows the registers used for meter run 9.

Realflo User and Reference Manual

May 19, 2011

707

Actual

Register

Data Type

43900 to 43999 See meter run 4 Data

Structure above

43310 to 43319 See Uncorrected Flow

Accumulated Readings

Registers above

TeleBUS Protocol Interface

Description

Meter run 9 Data

Registers.

Meter run 9 Uncorrected

Flow Registers

Meter Run 10 Data Registers

The registers for meter 10 are organized in the same manner as meter 4.

The registers for each meter start at a different offset. The table below shows the registers used for meter run 10.

Actual

Register

Data Type

43800 to 43899 See meter run 4 data

Structure above

43300 to 43309 See Uncorrected Flow

Accumulated Readings

Registers above

Description

Meter run 10 Data

Registers.

Meter run 8 Uncorrected

Flow Registers

TeleBUS Configuration Registers

This section of the User Manual describes the configuration of the Gas flow computer using the TeleBUS communication protocol. TeleBUS protocol is fully compatible with standard Modbus drivers.

This method of configuration is typically used in a SCADA system where the host computer is required to modify flow computer operating parameters through the SCADA communication system. Command sequences enable the modification of flow computer parameters by authorized users.

Only the host computer, application program, or Realflo can send commands to the flow computer at one time. Command reply registers

49505 and 49506 will indicate an error if more than one host sends a command at one time.

This section contains a of tables listing configuration registers utilized by the flow computer (gas flow routines). The gas flow data is updated to the tables using the various Get commands. The Set commands write data in the tables to the flow computer.

The registers labeled, as Actual Registers in the tables are the registers containing the values already in use by the flow calculation routines. The registers labeled as Config. Registers are the registers used for loading new configuration values to the flow calculation routines.

Configuration changes are not passed to the flow calculation routines until the command has been entered and verification has taken place where applicable. Configuration values already in use may be loaded into separate registers for viewing on command.

Realflo does not allow configuration changes if the Event Log in the flow computer is full. Use the Read Logs/History command to empty the flow computer Event Log.

Realflo User and Reference Manual

May 19, 2011

708

TeleBUS Protocol Interface

Configuration Command Execution

Entering a command consists of writing the appropriate command number into the Command Register and the appropriate meter number into the

Meter Run Register. To stop unauthorized command entry, and to allow for recording of user commands in the event log, a user number and PIN number needs to be specified before a command is executed.

Only the host computer, application program, or Realflo can send commands to the flow computer at one time. Command reply registers

49505 and 49506 will indicate an error if more than one host sends a command at one time.

Configuration commands are written to registers starting at location 49500.

Write to the registers starting at location 49500 and then read the Command

Register (49500) until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command number from 1 to 2203. See

Flow

Computer Commands

for a complete list of

command numbers.

Meter run number from 1 to 10

User number needs to correspond to the PIN number as entered in the user accounts table. The default value is 1 if no User accounts have been created in Realflo. See the

Accounts

command for more information on user number.

The PIN needs to correspond to the PIN as entered in the user accounts table. The default value is 1 if no user accounts have been created in

Realflo. See

Accounts

command for more information on PIN.

Feedback to the user is provided through a Command Reply Register, which will indicate the same command number as was requested, if the command was accepted and executed. In the event that the command could not be carried out, an error code is loaded into the Command Reply

Register indicating the reason that the command was not accepted.

The Reply Registers become valid after the Command Register is changed to zero by the flow computer.

Replies to commands are read from the registers starting at location 49505.

Successfully accepted commands return the command number in the Reply

Register (49505). Error numbers will be returned when the command was not successful.

Read from the registers starting at location 49505.

Location

49505

49506

Data

Type

uint uint

Description

Echo command number from 1 to 2203 or error reply code.

Specific to error. Usually meter run if the command

was successful. See

Flow Computer Error Codes

for a listing of error codes.

Realflo User and Reference Manual

May 19, 2011

709

TeleBUS Protocol Interface

Input Configuration

The flow calculation routines require a temperature transmitter input, static pressure transmitter input and a differential pressure transmitter input (AGA-

3 or V-Cone), or pulse input (AGA-7).

Input Configuration Registers

The Input Configuration Registers for each transmitter input are set to contain the source register; the minimum and maximum scaled and unscaled values and the level limits and hysteresis. The Input Configuration

Registers for the pulse input are set to contain the Source Register, the low flow minimum pulse limit and the time duration for low flow pulse limit check.

The General Input Configuration Registers are set to contain the meter run number, type of units used, and the flow and compressibility calculation types.

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The registers in these tables are read from the flow computer using the

Get

Input Configuration Command

.

The registers in these tables are set in the flow computer using the

Set

Input Configuration Command

.

Config.

Register

49510

49511

49512

49513

49514

Actual

Register

49570

49571

49572

49573

49574

Data

Type

uint uint uint uint uint

Description

Meter run: 1 to 10

Input units type:

0 = US1,

1 = US2,

2 = US3,

3 = Imperial,

4 = Metric1,

5 = Metric2,

6 = Metric3,

7 = SI,

8 = US4,

9 = US5,

10 = US6,

11 = US7

12 = US8

Flow calculation type:

2 = AGA-3 (1985)

3 = AGA-3 (1992),

7 = AGA-7,

12 = AGA-11

22 = V-Cone

Compressibility calculation type:

8 = AGA 8

19 = NX-19

Static pressure tap location:

0 = upstream,

1 = downstream

Realflo User and Reference Manual

May 19, 2011

710

Config.

Register

49515

49516

49517

49518

49519

49520

49521

49522

49523

49524

49525

49526

49527

49529

49531

49533

49535

49537

49539

49541

TeleBUS Protocol Interface

Actual

Register

49575

49576

49577

49578

49579

49580

49581

49582

49583

49584

49585

49586

49587

49589

49591

49593

49595

49597

49599

49601

Data

Type

uint uint uint uint uint uint uint

Description

Log out of range events flag

0 = ignore Out Of Range events

1 = log Out Of Range events in event queue

Temperature input register, or

MVT transmitter number (1 to 10), or

SCADAPack 4202 or 4203 transmitter number (1)

Zero scale temperature input

(used with type 0 temperature inputs)

Full scale temperature input

(used with type 0 temperature inputs)

Static pressure input register, or

MVT transmitter number (1 to 10), or

SCADAPack 4202 or 4203 transmitter number (1).

Zero scale static pressure input

(used with type 0 static pressure inputs)

Full scale static pressure input

(used with type 0 static pressure inputs)

Differential pressure input register, or uint uint

MVT transmitter number (1 to 10) or

SCADAPack 4202 or 4203 transmitter number (1).

(AGA-3 and V-Cone only)

Zero scale differential pressure input

(AGA-3 and V-Cone only)

(used with type 0 differential pressure inputs) uint uint uint

Rotation counter input register (AGA-7 only)

Time duration for low flow pulse limit check (seconds) (AGA-7 only) slong Low flow minimum pulse limit (AGA-7 only) float

Full scale differential pressure input

(AGA-3 and V-Cone only)

(used with type 0 differential pressure inputs) float float float float float float

Temperature at zero scale

(used with type 3 temperature inputs)

Temperature at full scale

(used with type 3 temperature inputs)

Temperature low level cutoff

Temperature low level hysteresis

Temperature high level hysteresis

Temperature high level cutoff

Static pressure at zero scale

(used with type 3 static pressure inputs)

Realflo User and Reference Manual

May 19, 2011

711

Config.

Register

49543

Actual

Register

49603

Data

Type

float

49545

49547

49549

49551

49553

49555

49557

49559

49561

49563

49565

49567

49568

49569

49871

49872

49873

49605

49609

49607

49611

49613

49615

49617

49619

49621

49623

49625

49627

49628

49629

49876

49877

49878 float float float float float float float float float float float uint uint uint uint uint uint

TeleBUS Protocol Interface

Description

Static pressure at full scale

(used with type 3 static pressure inputs)

Static pressure low level cutoff

Static pressure low level hysteresis

Static pressure high level hysteresis

Static pressure high level cutoff

Atmospheric pressure

Differential pressure at zero scale

(AGA-3 and V-Cone only)

(used with type 3 differential pressure inputs)

Differential pressure at full scale (AGA-

3 and V-Cone only)

(used with type 3 differential pressure inputs)

Differential pressure low level cutoff

(AGA-3 and V-Cone only)

Differential pressure low level hysteresis

(AGA-3 and V-Cone only)

Differential pressure high level hysteresis

(AGA-3 and V-Cone only)

Differential pressure high level cutoff

(AGA-3 and V-Cone only)

Static pressure altitude and latitude compensation

0 = ignore

1 = compensate

Sensor Fail Action

0 = last known value

1 = default value

Gas Quality Sources (PEMEX only)

0 = manual

1 = PEMEX host

Flow Direction Control

0 = forward indicated by value

1 = reverse indicated by value

2 = forward indicated by status

3 = reverse indicated by status

Flow Direction Register

1 to 4096

10001 to 14096

30001 to 39999

40001 to 49999

On Indicates

0 = Reverse

1 = Forward

Realflo User and Reference Manual

May 19, 2011

712

TeleBUS Protocol Interface

Config.

Register

49874

Actual

Register

49879

Data

Type

uint

Description

Time stamp for Enron Modbus history logs.

0 = time leads data

1 = time lags data

Input Configuration Registers

The Input Type Registers describe the type of data in the Input Registers for each type of input. For floating point-input registers, floating-point scaling values need to be used.

Config.

Register

49900

49901

49902

49903

49904

49906

Actual

Register

49920

49921

49922

49923

49924

49926

Data

Type Description

uint Temperature input register type

0 = Telepace integer requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer

6 = SCADAPack 4202 or 4203 uint Static pressure input register type

0 = Telepace integer requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer

6 = SCADAPack 4202 or 4203 uint Differential pressure input register type

0 = Telepace integer requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer

6 = SCADAPack 4202 or 4203 uint Turbine input register type

1 = Telepace long

5 = ISaGRAF integer or

Mass flow input register type (AGA-11 float slong only)

7 = Coriolis source

Zero scale temperature input

(used with type 3 and 5 temperature inputs) float format with type 3 inputs slong format with type 5 inputs float slong

Full scale temperature input

(used with type 3 and 5 temperature inputs) float format with type 3 inputs slong format with type 5 inputs

Realflo User and Reference Manual

May 19, 2011

713

TeleBUS Protocol Interface

Config.

Register

49908

49910

49912

49914

49916

49918

Actual

Register

49928

49930

49932

49934

49936

49938

Data

Type

float slong float slong

Description

Zero scale static pressure input

(used with type 3 and 5 static pressure inputs) float format with type 3 inputs slong format with type 5 inputs

Full scale static pressure input

(used with type 3 and 5 static pressure inputs) float format with type 3 inputs slong format with type 5 inputs float slong

Zero scale differential pressure input

(AGA-3 and V-Cone only)

(used with type 3 and 5 differential pressure inputs) float format with type 3 inputs slong format with type 5 inputs float slong

Full scale differential pressure input

(AGA-3 and V-Cone only)

(used with type 3 and 5 differential pressure inputs) float format with type 3 inputs slong format with type 5 inputs float Altitude float Latitude in decimal degrees

Input Type Configuration Registers

Registers 49904

– 49915 and 49924 – 49935 use the float type for type 3 inputs and the ISaGRAF integer type for type 5 inputs.

Get Input Configuration Command

The Get Input Configuration command returns the Input Configuration

Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 1 (Get Input Configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data Type Description

Realflo User and Reference Manual

May 19, 2011

714

Location

49920 to 49939

Data Type

49570 to 49628 Input configuration structure

Input register type configuration structure

TeleBUS Protocol Interface

Description

See the Input

Configuration

section for details on these registers.

See the

Input

Configuration

section for details on these registers.

Set Input Configuration Command

The Set Input Configuration command sets the Input Configuration registers.

Write the configuration data into the registers.

Location Data Type

49510 to 49568 Input configuration structure

49900 to 49918 Input type configuration structure

Description

See the

Input

Configuration

section for details on these registers.

See the

Input

Configuration

section for details on these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 3 (Set Input Config)

Meter run = 1 to 3

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. The run number if the command was successful.

MVT Configuration

MVT configuration defines the operation of the MVT transmitter and the polling of the transmitter by the flow computer.

The flow computer polls each configured transmitter in turn. It waits for a response or timeout. If the transmitter does not respond it will take longer to poll it, than if it responded. The timeout is set by the user in the sensor configuration page. The flow computer does not retry the transmitter. It moves on to the next transmitter. The transmitter will be polled again in the regular cycle.

The communication failure alarm is raised if the transmitter does not respond for 3 consecutive polls.

Realflo User and Reference Manual

May 19, 2011

715

TeleBUS Protocol Interface

Configuration events for the transmitters are logged in the event logs for all runs that use a sensor from the transmitter. If no runs use the transmitter, then the events are not logged.

MVT Data Registers

The flow computer polls the MVT transmitters and updates the Data

Registers.

The sensor status values are the same for each transmitter.

0 = response OK

1 = communication failed

2 = value below operating limit

3 = transmitter configuration invalid

4 = not polled, may be disabled

5 = bad value

6 = value above operating limit

7 = sensor is off line, may be calibrating

8 = RTD open (temperature sensor only)

9 = RTD offset out of range (temperature only)

43618

43619

43620

43621

43622

43623

43624

43625

43626

43608

43609

43610

43611

43612

43613

43614

43615

43616

43617

Register Data

Type

43600 uint

43601

43602

43603

43604

43605

43606

43607 uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint

Description

Transmitter 1: differential pressure sensor status

Transmitter 1: static pressure sensor status

Transmitter 1: temperature pressure sensor status

Transmitter 2: differential pressure sensor status

Transmitter 2: static pressure sensor status

Transmitter 2: temperature pressure sensor status

Transmitter 3: differential pressure sensor status

Transmitter 3: static pressure sensor status

Transmitter 3: temperature pressure sensor status

Transmitter 4: differential pressure sensor status

Transmitter 4: static pressure sensor status

Transmitter 4: temperature pressure sensor status

Transmitter 5: differential pressure sensor status

Transmitter 5: static pressure sensor status

Transmitter 5: temperature pressure sensor status

Transmitter 6: differential pressure sensor status

Transmitter 6: static pressure sensor status

Transmitter 6: temperature pressure sensor status

Transmitter 7: differential pressure sensor status

Transmitter 7: static pressure sensor status

Transmitter 7: temperature pressure sensor status

Transmitter 8: differential pressure sensor status

Transmitter 8: static pressure sensor status

Transmitter 8: temperature pressure sensor status

Transmitter 9: differential pressure sensor status

Transmitter 9: static pressure sensor status

Transmitter 9: temperature pressure sensor status

Realflo User and Reference Manual

May 19, 2011

716

TeleBUS Protocol Interface

43658

43660

43662

43664

43666

43668

43670

43672

43674

43676

43678

43680

43630

43632

43634

43636

43638

43640

43642

43644

43646

43648

43650

43652

43654

43656

43682

43684

43686

43688 float float float float float float float float float float float float float float float float float float float float float float float float float float float float float float

Register Data

Type

43627 uint

43628

43629 uint uint

Description

Transmitter 10: differential pressure sensor status

Transmitter 10: static pressure sensor status

Transmitter 10: temperature pressure sensor status

Transmitter 1: differential pressure

Transmitter 1: static pressure

Transmitter 1: temperature

Transmitter 2: differential pressure

Transmitter 2: static pressure

Transmitter 2: temperature

Transmitter 3: differential pressure

Transmitter 3: static pressure

Transmitter 3: temperature

Transmitter 4: differential pressure

Transmitter 4: static pressure

Transmitter 4: temperature

Transmitter 5: differential pressure

Transmitter 5: static pressure

Transmitter 5: temperature

Transmitter 6: differential pressure

Transmitter 6: static pressure

Transmitter 6: temperature

Transmitter 7: differential pressure

Transmitter 7: static pressure

Transmitter 7: temperature

Transmitter 8: differential pressure

Transmitter 8: static pressure

Transmitter 8: temperature

Transmitter 9: differential pressure

Transmitter 9: static pressure

Transmitter 9: temperature

Transmitter 10: differential pressure

Transmitter 10: static pressure

Transmitter 10: temperature

Internal Registers

The flow computer uses the following registers for communication with the

MVT transmitter. The contents are of no interest to the user. These registers cannot be used in another program.

Register Data

Type

38000

38999

Description

Internal data

Internal data

MVT Command Parameter Registers

The Command Parameter Registers are used by the

MVT Change

Address Command

.

Realflo User and Reference Manual

May 19, 2011

717

TeleBUS Protocol Interface

Register Data

Type

43700 uint

Description

43701

43702

43703 uint uint uint

Flow Computer serial port

1 = com1

2 = com2

3 = com3

4 = com4

Timeout = 100 ms to 10000 ms

Start or current address = 1 to 65534

End or new address = 1 to 65534

MVT Transmitter Information Registers

The Transmitter Information Registers are used by the

MVT Search

Command.

Register Data

Type

43710

43711

43712

43714

43718 uint uint

S

Description

Address of transmitter

Manufacturer code

Serial number userID Tag uint Type code (valid for 3095FB, SCADAPack 4000 and SCADAPack 4202 or 4203)

See the table below,

MVT Transmitter Type

Codes

, for SCADAPack 4000 transmitter type

code.

MVT Transmitter Type Codes

Type

Code

41020

41021

40120

40121

40122

40123

40320

40321

Model

Number

4102

4102

4012

4012

4012

4012

Description

Multivariable transmitter (Serial interface)

Multivariable transmitter (Serial and LAN interfaces)

Gauge pressure transmitter (Serial interface)

Absolute pressure transmitter (Serial interface)

Gauge pressure transmitter (Serial and LAN interfaces)

Absolute pressure transmitter (Serial and LAN interfaces)

4032 Differential pressure transmitter (Serial interface)

4032 Differential pressure transmitter (Serial and

LAN interfaces)

Unknown The transmitter is not functioning correctly 0

MVT Configuration Registers

The MVT transmitter configuration registers are defined as follows. The registers in the Actual Register column are the registers containing the values already in use by the flow computer MVT transmitter. The registers in the Config.Register column are the registers used for loading new configuration values to the flow computer and the MVT transmitter.

Realflo User and Reference Manual

May 19, 2011

718

TeleBUS Protocol Interface

The registers in this table are read using the

Get MVT Configuration

Command.

The registers in this table are set using the

Set MVT Configuration

Command

.

Config.

Register

43720

43721

43722

43723

43724

43725

43726

43727

43728

43729

43731

43735

Actual

Register

43760

43761

43762

43763

43764

43765

43766

43767

43768

43769

43771

43775

Data

Type

uint

Description

uint

Transmitter polling status:

0 = disabled

1 = enabled

Serial Port:

0 = unused, for internal SCADAPack

4202 or 4203 in slot 1

1 = com1

2 = com2

3 = com3

4 = com4

100 = LAN (4102, 4000 only) uint uint uint uint uint

Address of transmitter:

0 = unused, for internal SCADAPack

4202 or 4203 in slot 1

1 to 247 (Rosemount 3095FB, 4101)

1 to 255 (SCADAPack 4000,

SCADAPack 4202 or 4203 in standard addressing mode)

1 to 65534 (SCADAPack 4000,

SCADAPack 4202 or 4203 in extended addressing mode)

Timeout:

0 = unused, for internal SCADAPack

4202 or 4203 in slot 1

10 to 10000 ms

Manufacturer code

Turnaround delay time: 0 to 200 ms

Differential pressure units:

1 = inches of water at 60 F (3095FB only)

2 = Pascal

3 = kiloPascal uint

6 = inches of water at 68°F

Static pressure units:

3 = kiloPascal

4 = MegaPascal

5 = psi uint ulong Serial number userID Tag: 1 to 8 characters float

Temperature units:

20 = Celsius

21 = Fahrenheit

Differential pressure damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack

Realflo User and Reference Manual

May 19, 2011

719

Config.

Register

43737

43739

43741

43743

43745

43747

43749

43751

43752

43753

43754

43756

43757

TeleBUS Protocol Interface

Actual

Register

43777

43779

43781

43783

43785

43787

43789

43791

43792

43793

43794

43796

43797

Data

Type

Description

float float float float float float float float uint

4202 or 4203 :

0.0 (damping off), 0.5, 1.0, 2.0, 4.0,

8.0, 16.0, or 32.0 seconds

Differential pressure upper operating limit

Differential pressure lower operating limit

Static pressure damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack

4202 or 4203:

0.0 (damping off), 0.5, 1.0, 2.0, 4.0,

8.0, 16.0, or 32.0 seconds

Static pressure upper operating limit

Static pressure lower operating limit

Temperature damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728,

3.456, 6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack

4202 or 4203: Not supported

Temperature upper operating limit

Temperature lower operating limit

Type code (not used with SCADAPack

4101)

31 = 3095FB MVT

4102 = SCADAPack 4102

4202 = SCADAPack 4202

4203 = SCADAPack 4203. uint Type Code (not used with SCADAPack

4101)

31 = 3095FB MVT

40120 = 4012 Absolute

40121 = 4012 Gauge

41020 = 4102 Serial

41021 = 4102 Serial and LAN

4202 = 4202 DR

42021 = 4202 DS

42990 = 4203 DR

42991 = 4203 DS ulong IP Address (MSB first) (when Port is

LAN) uint IP Protocol (when Port is LAN)

0 = None

1 = Modbus/TCP

2 = Modbus RTU in UDP

Float Atmospheric pressure (used by

SCADAPack 4102 and SCADAPack

4202 or 4203)

0 = absolute pressure

>0 to 30 psia (or equivalent) = gage

Realflo User and Reference Manual

May 19, 2011

720

Config.

Register

Actual

Register

Data

Type

Description

TeleBUS Protocol Interface pressure

MVT Search Command

The flow computer can search for MVT transmitters connected to its serial ports.

Write the search parameters into the Configuration Registers.

Register Data

Type

43700

43701

43702

43703

43704

43706

Description

uint Flow Computer serial port

1 = com1

2 = com2

3 = com3

4 = com4

100 = LAN (4102, 4000 only)

Timeout = 100 ms to 10000 ms uint uint Start address = 1 to 65534

0 for LAN

End address = 1 to 65534 uint

Ulong IP Address (SCADAPack 4102 only when LAN port is available)

MSB first, representing aa.bb.cc.dd format

Uint IP Protocol (SCADAPack 4102 only when LAN port is available)

0 = None

1 = Modbus/TCP

2 = Modbus RTU in UDP

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500 uint

49501

49502

49503 uint uint uint

Description

Command = 130 (Search for MVT Transmitter)

Meter run = 0

User number

PIN

Read the Reply Registers to determine if a transmitter was found. An error is returned if the command parameters are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status:

130 = command complete

other = Error code from MVT Command Errors.

Command result:

0 = transmitter found

1 = no transmitter found

If a transmitter was found, read the search result registers to get the transmitter information.

Register Data

Type

Description

Realflo User and Reference Manual

May 19, 2011

721

TeleBUS Protocol Interface

43710

43711

43712

43714

43718 uint Address of transmitter uint Manufacturer code ulong Serial number userID Tag uint Type code (valid for 3095FB, SCADAPack 4102,

4202 and 4203

The flow computer will return the first transmitter found. Repeat the command with a different range to find additional transmitters.

MVT Change Address Command

This command changes the address of a MVT transmitter.

Write the command parameters into the Configuration Registers.

Register Data

Type

43700 uint

Description

43701

43702

43703 uint uint uint

Flow Computer serial port:

1 = com1

2 = com2

3 = com3

4 = com4

Timeout = 100 ms to 10000 ms

Current address = 1 to 247

New address = 1 to 247

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501

49502

49503 uint uint uint uint

Description

Command = 131 (Change MVT Address)

Meter run = 0

User number

PIN

Read the Reply Registers to determine if the transmitter address was changed. An error is returned if the command parameters are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status:

131 = command complete

other = other = Error code from MVT Command

Errors.

Command result:

0 = transmitter address changed

1 = no response from transmitter

Get MVT Configuration Command

This command reads a MVT-transmitter configuration from the transmitter and flow computer. The flow computer reads the configuration from the transmitter and returns it. If the transmitter does not respond, the current configuration from the flow computer is returned instead.

Realflo User and Reference Manual

May 19, 2011

722

TeleBUS Protocol Interface

If the transmitter is disabled in the flow computer, the current configuration from the flow computer is returned. The flow computer does not attempt to read the transmitter.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500 uint

49501

49502

49503 uint uint uint

Description

Command = 132 (Get MVT Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status:

132 = command complete

other = other = Error code from MVT Command

Errors.

Command result:

0 = error occurred

1 to 10 = transmitter number

If a transmitter was found, read the actual Configuration Registers.

Register

43760 to 43792

Data Type

MVT

Configuration

Structure

Description

See the

MVT Transmitter

Type Codes

section for

details.

Set MVT Configuration Command

The command writes a MVT-transmitter configuration to the flow computer and the transmitter. The flow computer writes the configuration to the transmitter. If the transmitter does not respond, the configuration is still saved in the flow computer memory.

Write data into the Configuration Registers.

Register

43720 to 43752

Data Type

MVT configuration structure

Description

See the

MVT Transmitter

Type Codes

section for details.

Write the command and read the Command Register until it is cleared.

Register

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 133 (Set MVT Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data Description

Realflo User and Reference Manual

May 19, 2011

723

TeleBUS Protocol Interface

49505

49506

Type

uint uint

Command status:

133 = command complete

other = other = Error code from MVT Command

Errors.

Command result:

0 = error occurred

1 to 10 = transmitter number

Read MVT Configuration Command

This command reads a MVT-transmitter configuration from the transmitter and flow computer. The flow computer reads the configuration from the transmitter and returns it. If the transmitter does not respond, the current configuration from the flow computer is returned instead.

If the transmitter is disabled in the flow computer, the search parameters will be used to try to read the transmitter.

Write the search parameters into the Configuration Registers.

Register Data

Type

43700 uint

Description

43701

43702

43703 uint uint uint

Flow Computer serial port:

1 = com1

2 = com2

3 = com3

4 = com4

100 = LAN (SCADAPack 4000 only)

Timeout = 100 ms to 10000 ms

Station address = 1 to 247

0 for LAN

End address = 1 to 65534

Not used for LAN

43704

43706

Ulong IP Address (SCADAPack 4000 only when LAN port is available)

MSB first, representing aa.bb.cc.dd format

Uint IP Protocol (SCADAPack 4000 only when LAN port is available)

0 = None

1 = Modbus/TCP

2 = Modbus RTU in UDP

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500 uint

49501

49502

49503 uint uint uint

Description

Command = 136 (Read MVT Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint Command status:

Realflo User and Reference Manual

May 19, 2011

724

TeleBUS Protocol Interface

Register Data

Type

Description

49506 uint

136 = command complete

other = other = Error code from MVT Command

Errors.

Command result:

0 = error occurred

1 to 10 = transmitter number

If a transmitter was found, read the actual Configuration Registers.

Register

43760 to 43792

Data Type

MVT configuration structure

Description

See the

MVT Transmitter

Type Codes

section for details.

Set MVT Sensor Mode

This command writes the sensor mode to the flow computer and the transmitter.

The calibrate mode allows operation to the bottom end of the MVT. The flow computer allows writing to the MVT registers when calibrate mode is set and disallows writing when on-line mode is set. This keeps the MVT from being accessed by other sources.

Write the mode into the Configuration Registers.

Register

49990

Data

Type

uint

Description

Sensor Mode

0 = On-line

255 = Calibrate

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501

49502

49503 uint uint uint uint

Description

Command = 139 (Set Sensor Mode)

Transmitter number (1 to 10)

User number

PIN

Read the Reply Registers to determine if the mode was accepted. An error is returned if the command parameters were invalid.

Register Data

Type

49505 uint

49506 uint

Description

Command Status

139 = command complete

other = Error code from MVT Command Errors.

Command Result

0 = error

1 to 10 = Transmitter number

Realflo User and Reference Manual

May 19, 2011

725

TeleBUS Protocol Interface

MVT Calibration

MVT calibration changes the calibration of a transmitter. A transmitter may be calibrated while it is in use by flow runs. To do this the inputs to the flow runs needs to be forced. The procedure is as follows.

Select the MVT to calibrate.

Determine which runs take one or more inputs from this transmitter. It is possible that no runs take inputs from the transmitter. It is still possible to calibrate the transmitter, however no inputs need to be forced and no information needs to be logged in the steps that follow.

Force each input point using sensors from this transmitter to its current value or a fixed value. The value needs to be in the input units for the run, not in the transmitter units. Use the Force Inputs command appropriate for the sensor (commands 30, 31, 33, 34, 36, and 37).

Remove the transmitter from the process.

For each sensor on the transmitter that is to be calibrated.

Measure as-found readings for the sensor. Record the as-found readings in the event logs for each run that use the sensor. The values need to be in the input units for the run, not in the transmitter units. Use the Log User Defined Event command to log the appropriate events.

Read the transmitter sensor information to determine the applicable range for the transmitter calibration parameters. Use the Get MVT

Sensor Information command.

Determine the new calibration parameters.

Write the calibration parameters to the transmitter. Use the Calibrate

MVT Sensor command.

Measure as-left readings for the sensor. Record the as-left readings in the event logs for each run that use the sensor. The values need to be in the input units for the run, not in the transmitter units. Use the Log

User Defined Event command to log the appropriate events.

Reinstall the transmitter into the process.

Restore each input point using sensors from this transmitter to live values. Use the End Calibration command appropriate for the sensor

(commands 32, 35, and 38).

MVT Sensor Information Registers

The Sensor Information Registers show information about. These registers are read using the Get MVT Sensor Information command.

Register Data

Type

49980 uint

Description

49981

49983

49985 float float float

Sensor type:

1 = differential pressure

2 = static pressure

3 = flow temperature

Zero value

Span value (not available for sensor type 3 on

SCADAPack 4000 and SCADAPack 4202 or 4203.

Upper range limit

Realflo User and Reference Manual

May 19, 2011

726

TeleBUS Protocol Interface

49987 float Lower range limit

MVT Sensor Calibration Registers

The Sensor Calibration Registers contain calibration data for MVT sensors.

These registers are written using the Calibrate MVT Sensor command.

Register Data

Type

49990 uint

Description

49991 uint float

Sensor type:

1 = differential pressure

2 = static pressure

3 = flow temperature

Type of value

0 = calibration zero

1 = calibration span (not available for sensor type 3 on SCADAPack 4000 and SCADAPack 4202 or

4203).

2 = fixed temperature (for 3095FB only; for sensor type 3 only)

Value to set (depends on type of value) 49992

Get MVT Sensor Information Command

This command reads sensor information from a MVT transmitter. The flow computer reads this information from the transmitter and returns it.

Select the type of sensor for which information is needed.

Register Data

Type

49990 uint

Description

Sensor type:

1 = differential pressure

2 = static pressure

3 = flow temperature

Write the command and read the Command Register until it is cleared.

Register

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 134 (Get MVT Sensor Information)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the sensor parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Command status:

134 = command complete

other = other = Error code from MVT Command

Errors.

Command result:

0 = error occurred

1 to 10 = transmitter number

Realflo User and Reference Manual

May 19, 2011

727

TeleBUS Protocol Interface

If a transmitter responded, read the Transmitter Information Registers.

Register

49980

Data

Type

uint

Description

49981

49983

49985

49987 float float float float

Sensor type:

1 = differential pressure

2 = static pressure

3 = flow temperature

Zero value

Span value

Upper range limit

Lower range limit

Calibrate MVT Sensor Command

This command writes sensor calibration data to a MVT transmitter. The flow computer writes the data to the sensor. This command needs to be repeated for each sensor on the transmitter.

The command will not work if span calibration or fixed temperature is selected for the SCADAPack 4000, 4200 or 4300 transmitters.

Write data into the Sensor Calibration Registers.

Register Data

Type

49990 uint

Description

49991

49992 uint float

Sensor type:

1 = differential pressure

2 = static pressure

3 = flow temperature

Type of value

0 = calibration zero

1 = calibration span

2 = fixed temperature (when sensor type is 3)

Value to set (depends on type of value)

Write the command and read the Command Register until it is cleared.

Register

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 135 (Calibrate MVT Sensor)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Command status:

135 = command complete

other = Error code from MVT Command Errors.

Command result:

0 = error occurred

1 to 10 = transmitter number

Realflo User and Reference Manual

May 19, 2011

728

TeleBUS Protocol Interface

Contract Configuration

The flow calculation routines require valid entries for the Contract

Configuration Registers. This is called Contract Configuration because these parameters are often defined by a contract for selling gas.

Contract Configuration Registers

The Contract Configuration Registers define parameters for the gas measurement contract.

Changes to the Contract Configuration Registers are not allowed while the flow calculation is running, except as noted below.

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The registers in this table are read from the flow computer using the

Get

Contract Configuration

command.

The registers in this table are set in the flow computer using the

Set

Contract Configuration

command.

Config.

Register

49630

49631

49632

49633

49635

49637

Actual

Register

49640

49641

49642

49643

49645

49647

Data

Type

uint uint uint float float uint

Description

Meter run number: 1 to 10

Output and log units type:

0 = US1,

1 = US2,

2 = US3,

3 = Imperial,

4 = Metric1,

5 = Metric2,

6 = Metric3,

7 = SI,

8 = US4,

9 = US5,

10 = US6,

11 = US7

12 = US8

Contract hour, 0 to 23

Base temperature

Base static pressure

For Flow Computer 6.70 and later

Input weighting average

0 = flow-dependent time-weighted linear average

2 = flow-weighted linear average

For Flow Computer 5.28 and earlier

Input error action

0 = do not accumulate flow when inputs in error

1 = accumulate flow when inputs in error

Realflo User and Reference Manual

May 19, 2011

729

TeleBUS Protocol Interface

Config.

Register

49638

Actual

Register

49648

Data

Type

49831

49833

49841

49843

Contract Configuration Registers

Description

Float Wet gas meter factor. Version 6.10 or greater.

Default value is 1.0.

The value 0.0 indicates that the parameter is not supported and that

1.0 should be substituted for it.

For version 6.21 or greater, this parameter can be changed while flow calculations are running and without starting a new contract day.

Float Pemex Base Temperature

Float Pemex Base Static Pressure

Get Contract Configuration Command

The Get Contract Configuration command returns the Contract

Configuration Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

Data

Type

uint

Description

Command = 13 (Get Contract Configuration)

49501

49502 uint uint

Meter run = 1 to 10

User number

49503 uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

49640 to 49646

Data Type

Contract Configuration

Structure

Description

See the

Contract

Configuration Registers

section for details on these registers.

Set Contract Configuration Command

The Set Contract Configuration command sets the Contract Configuration

Registers.

Write the configuration data into the registers.

Location

49630 to 49636

Data Type

Contract configuration structure

Description

See the

Contract

Configuration Registers

section for details on these registers.

Realflo User and Reference Manual

May 19, 2011

730

TeleBUS Protocol Interface

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 15 (Set Contract Configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. The run number if the command was successful.

AGA-3 Configuration

AGA-3 Configuration defines parameters unique to the AGA-3 calculation.

Configuration of the AGA-3 flow calculation parameters is accomplished by setting the required values into the AGA-3 Configuration Registers.

AGA-3 Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The registers in these tables are read from the flow computer using the

Get

AGA-3 Configuration Command

.

The registers in these tables are set in the flow computer using the

Set

AGA-3 Configuration Command

.

Config.

Register

49650

49651

49652

49653

49655

49657

49659

49661

49663

49665

Actual

Register

49680

49681

49682

49683

49685

49687

49689

49691

49693

49695

Data

Type

uint uint uint float float float float float float float

Description

Meter run: 1 to 10

Orifice material

0 = stainless,

1 = Monel,

2 = carbon steel

Pipe material

0 = stainless,

1 = Monel,

2 = carbon steel

Orifice diameter

Reference temperature for orifice measurement

Pipe diameter

Reference temperature for pipe diameter measurement

Isentropic exponent

Viscosity

Temperature dead band

Realflo User and Reference Manual

May 19, 2011

731

TeleBUS Protocol Interface

Config.

Register

49667

49669

Actual

Register

49697

49699

Data

Type

float float

AGA-3 Configuration Registers

Description

Static pressure dead band

Differential pressure dead band

Get AGA-3 Configuration Command

The Get AGA-3 Configuration command returns the AGA-3 Configuration

Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 301 (get AGA-3 (1992) configuration)

Command = 351 (get AGA-3 (1985) configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Register to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error code from

AGA-3 (1985)

Calculation Errors

,

AGA-3 (1992) Calculation

Errors

or

AGA-3 Command Errors

.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data Type

49680 to 49700 AGA-3

Configuration

Structure

Description

See the

AGA-3 Configuration

Registers

section for details on

these registers.

Set AGA-3 Configuration Command

The Set AGA-3 Configuration command sets the AGA-3 Configuration

Registers.

Write the configuration data into the registers.

Location Data Type

49650 to 49670 AGA-3 configuration structure

Description

See the

AGA-3 Configuration

Registers

section for details on

these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 303 (set AGA-3 (1992) configuration)

Command = 353 (set AGA-3 (1985) configuration)

Meter run = 1 to 10

User number

PIN for user

Realflo User and Reference Manual

May 19, 2011

732

TeleBUS Protocol Interface

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error code from AGA-3 (1985)

Calculation Errors, AGA-3 (1992) Calculation

Errors or AGA-3 Command Errors.

Specific to error. The run number if the command was successful.

AGA-7 Configuration

AGA-7 configuration defines parameters unique to the AGA-7 calculation.

Configuration of the AGA-7 flow calculation parameters is accomplished by setting the required values into the AGA-7 Configuration Registers.

AGA-7 Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The registers in these tables are read from the flow computer using the

Get

AGA-7 Configuration Command

.

The registers in these tables are set in the flow computer using the

Set

AGA-7 Configuration Command

.

Config.

Register

49710

49711

49713

49719

Actual

Register

49720

49721

49723

49729

Data

Type

uint float float unit

Description

Meter run = 1 to 10

K factor

M factor

Uncorrected Flow Volume

0 = include M factor in calculation

(default).

1 = exclude M factor from calculation.

AGA-7 Configuration Registers

Get AGA-7 Configuration Command

The Get AGA-7 Configuration command returns the AGA-7 Configuration

Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 701 (Get AGA-7 configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

733

TeleBUS Protocol Interface

Location

49505

49506

Data

Type

uint uint

Description

Command = 701 or error code from

AGA-7

Calculation Errors

or

AGA-7 Command Errors

.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data Type

49720 to 49729 AGA-7

Configuration

Structure

Description

See the

AGA-7 Configuration

Registers

section for details on

these registers.

Set AGA-7 Configuration Command

The Set AGA-7 Configuration command sets the AGA-7 Configuration

Registers.

Write the configuration data into the registers.

Location

49710 to 49714,

49719

Data Type

AGA-7

Configuration

Structure

Description

See the

AGA-7 Configuration

Registers

section for details on

these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 703 (Set AGA-7 Configuration) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type Description

uint

Command = 701 or error code from AGA-7

Calculation Errors or AGA-7 Command Errors.

uint Specific to error. The run number if the command was successful.

Coriolis Meter Configuration

Coriolis meter configuration defines parameters unique to the Coriolis meter used for AGA-11 calculations. Configuration of the Coriolis parameters is accomplished by setting the required values into the Coriolis Meter

Configuration Registers.

Coriolis Meter Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

Realflo User and Reference Manual

May 19, 2011

734

TeleBUS Protocol Interface

The registers in these tables are read from the flow computer using the

Get

Coriolis Meter Configuration Command

.

The registers in these tables are set in the flow computer using the

Set

Coriolis Meter Configuration Command

.

Config.

Register

49650

49651

49652

49653

49654

Actual

Register

49680

49681

49682

49683

49684

Data

Type

uint float float unit uint

Description

Coriolis Meter: 1 to 10

(Meter number is linked to Meter Run number)

Address: 1 to 247

Serial port:

0 = Com1,

1 = Com2,

2 = Com3,

3 = Com4

Timeout: 1 to 1000

Device code

0 = E&H Promass 83

Coriolis Meter Configuration Registers

Get Coriolis Meter Configuration Command

The Get Coriolis Meter Configuration command returns the Coriolis Meter

Configuration Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 112 (get Coriolis Meter configuration)

Coriolis Meter number = 1 to 10 (Meter number is linked to Meter Run number)

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Command = 112 or error code from

AGA-11

Calculation Errors

or

AGA-11 Command Errors

.

Specific to error. Coriolis meter number if the command was successful. (Meter number is linked to Meter Run number)

Read the Data Registers.

Location Data Type

49680 to 49684 Coriolis Meter

Configuration

Structure

Description

See the

Coriolis Meter

Configuration Registers

section

for details on these registers.

Set Coriolis Meter Configuration Command

The Set Coriolis Meter Configuration command sets the Coriolis Meter

Configuration Registers.

Realflo User and Reference Manual

May 19, 2011

735

TeleBUS Protocol Interface

Write the configuration data into the registers.

Location Data Type

49650 to 49654 Coriolis Meter

Configuration

Structure

Description

See the

Coriolis Meter

Configuration Registers

section

for details on these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 113 (set Coriolis Meter configuration) uint Coriolis Meter number = 1 to 10 (Meter number is linked to Meter Run number) uint User number uint PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type Description

uint

Command = 113 or error code from

AGA-11

Calculation Errors

or

AGA-11 Command Errors

.

uint Specific to error. Coriolis meter number if the command was successful. (Meter number is linked to Meter Run number)

V-Cone Configuration

V-Cone configuration defines parameters unique to the V-Cone calculation.

Configuration of the V-Cone flow calculation parameters is accomplished by setting the required values into the V-Cone Configuration Registers.

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for all entries in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

V-Cone Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The registers in these tables are read from the flow computer using the

Get

V-Cone Configuration

command.

The registers in these tables are set in the flow computer using the

Set V-

Cone Configuration

command.

Config.

Register

Actual

Register

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

736

TeleBUS Protocol Interface

Config.

Register

49650

49651

49652

49653

49655

49657

49659

49661

49663

49665

49667

49669

49671

49673

49675

49677

49679

49711

49713

49715

49717

49830

Actual

Register

49680

49681

49682

49683

49685

49687

49689

49691

49693

49695

49697

49699

49701

49703

49705

49707

49709

49721

49723

49725

49727

49840

Data

Type

uint uint uint float float float float float float float float float float float float float uint float float float float uint

49831

49833

49940

49942

49944

49946

49948

49950

49952

49954

49956

49958

49841

49843

49960

49962

49964

49966

49968

49970

49972

49974

49976

49978

V-Cone Configuration Registers

float float float float float float float float float float float float

Description

Meter run = 1 to 10

V-Cone material

2 = carbon steel,

3 = stainless 304,

4 = stainless 316

Pipe material

2 = carbon steel,

3 = stainless 304,

4 = stainless 316

Cone diameter

Reference temperature for cone diameter measurement.

Inside meter diameter

Reference temperature for inside meter diameter measurement

Isentropic exponent

Viscosity

Number of points: 1 to 10

Point 1 Reynold‟s number

Point 1 Coefficient

Point 2 Reynold‟s number

Point 2 Coefficient

Point 3 Reynold‟s number

Point 3 Coefficient

Adiabatic Expansion Factor Method

0 = Legacy

1 = V-Cone

2 = Wafer Cone

Point 4 Reynold‟s number

Point 4 Coefficient

Point 5 Reynold‟s number

Point 5 Coefficient

Wet Gas Correction Factor Method

0 = Legacy Method

1 = V-Cone or Wafer Cone

Mass flow rate of liquid at flow

Density of liquid at flow conditions

Point 6 Reynold‟s number

Point 6 Coefficient

Point 7 Reynold‟s number

Point 7 Coefficient

Point 8 Reynold‟s number

Point 8 Coefficient

Point 9 Reynold‟s number

Point 9 Coefficient

Point 10 Reynold‟s number

Point 10 Coefficient

Realflo User and Reference Manual

May 19, 2011

737

TeleBUS Protocol Interface

Get V-Cone Configuration

The Get V-Cone Configuration command returns the V-Cone

Configuration Registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 2201 (get V-Cone configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error code from

V-Cone

Calculation Errors

or

V-Cone Command Errors

.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

49680 to 49708,

49721 to 49728,

49840 to 49844

49960 to 49979

Data Type

V-Cone

Configuration

Structure

Description

See the

V-Cone Configuration

Registers

section for details on

these registers.

Set V-Cone Configuration

The Set V-Cone Configuration command sets the V-Cone Configuration

Registers.

Write the configuration data into the registers.

Location

49650 to 49678,

49711 to 49718,

49830 to 79834,

49940 to 49959

Data Type

V-Cone

Configuration

Structure

Description

See the

V-Cone Configuration

Registers

section for details on

these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 2203 (Set V-Cone Configuration)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

Data

Type

uint

Description

Echo command or error code from

V-Cone

Calculation Errors

or

V-Cone Command Errors

.

Realflo User and Reference Manual

May 19, 2011

738

49506 uint

TeleBUS Protocol Interface

Specific to error. The run number if the command was successful.

AGA-8 Configuration

Configuration of the AGA-8 calculation parameters is accomplished by setting the required values into the AGA-8 Configuration Registers. AGA-8 configuration defines parameters unique to the AGA-8 calculation.

The AGA-8 Configuration Registers define the composition of the gas being measured. The gas composition can be made up of a number of components. These components are usually represented as either a percentage of the gas being measured i.e. 0 to 100% or as a fraction of the gas being measured i.e. 0 to 1.0000. The flow computer uses fractional values for gas composition components, 0 to 1.0000.

The range of the fractional values of the components cannot be predetermined. The valid gas components are shown below. There are two ranges shown for each gas component. Realflo accepts any value in the

Expanded Range. Only values in the Normal Range will work in every circumstances.

Component Normal Range Expanded Range

Methane CH

4

Nitrogen

Hydrogen

Carbon Dioxide

Ethane C

2

H

6

Propane C

3

H

8

.4500 to 1.0000 0 to 1.0000

0 to 0.5000 0 to 1.0000

0 to 0.3000 0 to 1.0000

0 to 0.1000

0 to 0.0400

Water 0 to 0.0005

Hydrogen Sulfide 0 to 0.0002

0 to 0.1000

0 to 1.0000

0 to 0.1200

0 to 0.0300

0 to 1.0000

0 to 1.0000

Carbon Monoxide 0 to 0.0300

Oxygen 0

0 to 0.0100 Total Butanes

 iButane

 nButane

Total Pentanes

 iPentane

 nPentane

0 to 0.0300

0 to 0.0200 Total Hexane Plus

 nHexane nHeptane

 nOctane

 nNonane

 nDecane

Helium

Argon

0 to 0.0200

0

0 to 0.0300

0 to 0.2100

0 to 0.0600

0 to 0.0400

0 to 0.0400

0 to 0.0300

0 to 0.0100

AGA-8 Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the

Config. Registers’ column are the registers used for loading new configuration values to the flow calculation routines.

The AGA-8 gas composition can be changed while the flow calculation is running. This allows an on-line gas chromatograph to provide updates to the

Realflo User and Reference Manual

May 19, 2011

739

TeleBUS Protocol Interface

Config.

Register

49730

49731

49733

49735

49737

49739

49741

49743

49745

49747

49749

49751

49753

49755

49757

49759 gas composition. Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log. Use the Composition

Logging Control register to not log changes if this occurs.

Realflo checks the validity of the entered components using the following limits:

Individual components are in the ranges listed in the table above.

The Total of all Components field displays the sum of components. The total of components needs to be 1.0000 (+/- 0.00001) if Composition

Units is set to Mole Fractions or 100% (+/- 0.00001%) if Composition

Units is set to Percent.

The registers in these tables are read from the flow computer using the

Get

AGA-8 Gas Ratios Command

The registers in these tables are set in the flow computer using the

Set

AGA-8 Gas Ratios Command

.

49761

49763

49765

49767

49769

49771

49773

49774

49776

Actual

Register

49780

49781

49783

49785

49787

49789

49791

49793

49795

49797

49799

49801

49803

49805

49807

49809

49811

49813

49815

49817

49819

49821

49823

49824

49826

Data

Type

uint float float float float float float float float float float float float float float float float float float float float float uint float float

Description

Meter run = 1 to 10

Methane

Nitrogen

Carbon Dioxide

Ethane

Propane

Water

Hydrogen Sulfide

Hydrogen

Carbon Monoxide

Oxygen iButane nButane iPentane nPentane n-Hexane (when individual components selected) n-Heptane n-Octane n-Nonane n-Decane

Helium

Hexanes+

(when combined component s selected)

N/A

N/A

N/A

N/A

Argon

Composition logging control

0 = log composition changes

1 = do not log composition changes

Real Relative Gas Density

0 = calculate live value

Heating Value (for dry gas)

0 = calculate live value

Realflo User and Reference Manual

May 19, 2011

740

TeleBUS Protocol Interface

AGA-8 Configuration Registers

Get AGA-8 Gas Ratios Command

The Get AGA-8 Gas Ratios command returns the AGA-8 Configuration

Registers.

In Flow Computer versions 6.73 and older, when gas ratios are written to the flow computer using the Set AGA-8 Gas Ratios the new gas ratios are updated in the Configuration Config registers. The Configuration Actual registers are not updated until a new Density calculation is started with the new values. The new gas ratios are not available to SCADA host software reading the Configuration Actual registers until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when gas ratios are written to the flow computer using the Set AGA-8 Gas Ratios the new gas ratios are updated in the Configuration Config registers and in the Configuration Actual registers. This allows a SCADA host to immediately confirm the new ratios were written to the flow computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 801 (Get AGA-8 gas ratios) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Command = 801 or error code from

AGA-8

Calculation Errors

or

AGA-8 Command Errors

.

uint Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data Type

49780 to 49827 Get AGA-8 Gas

Fractions

Configuration

Structure

Description

See the

AGA-8 Configuration

Registers

section for details on

these registers.

Set AGA-8 Gas Ratios Command

The Set AGA-8 Gas Ratios command sets the AGA-8 Configuration

Registers.

Write the configuration data into the registers.

Location Data Type Description

Realflo User and Reference Manual

May 19, 2011

741

TeleBUS Protocol Interface

49730 to 49777 AGA-8 Gas

Fractions

Configuration

Structure

See the

AGA-8 Configuration

Registers

section for details on

these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 803 (Set AGA-8 Gas Ratios) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type Description

uint

Command = 801 or error code from AGA-8

Calculation Errors or AGA-8 Command Errors.

uint Specific to error. The run number if the command was successful.

AGA-8 Hexanes+ Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the

Proposed Registers’ column are the registers used for loading new configuration values to the flow calculation routines.

The AGA-8 Hexanes+ gas portions can be changed while the flow calculation is running. This allows an on-line gas chromatograph to provide updates to the gas composition. Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log.

The AGA-8 Hexanes+ configuration allows a single value to be used for the heavy gas components (n-Hexane through n-Decane). These ratios are applied to the Hexanes+ ratio to determine the true ratio for those components.

The registers in these tables are read from the flow computer using the Get

AGA-8 Hexanes+ Ratios Command.

The registers in these tables are set in the flow computer using the Set

AGA-8 Hexanes+ Ratios Command.

If individual gas components are selected, the values of portions will be 0.

If combined value for hexane and higher components is selected, the values of portions from n-Hexane to n-Decane needs to sum to 100.000.

Proposed

Registers

49730

49759

49761

49763

49765

Actual

Registers

49780

49809

49811

49813

49815

Data

Type

Uint

Float

Float float float

Description

Meter run = 1 to 10 n-Hexane portion n-Heptane portion n-Octane portion n-Nonane portion

Realflo User and Reference Manual

May 19, 2011

742

TeleBUS Protocol Interface

49767

49773

49817

49823 float uint n-Decane portion

0 = Use individual gas components (default)

1 = Use combined value for hexane and higher components.

AGA-8 Hexanes+ Configuration Registers

Get AGA-8 Hexanes+ Gas Ratios

The Get AGA-8 Hexanes+ Gas Ratios command returns the AGA-8

Hexanes+ Configuration Registers.

In Flow Computer versions 6.73 and older, when AGA-8 Hexanes+ gas ratios are written to the flow computer using the Set AGA-8 Hexanes+ Gas

Ratios the new gas ratios are updated in the Proposed Registers. The

Actual Registers are not updated until a new Density calculation is started with the new values. The new gas ratios are not available to SCADA host software reading the Actual Registers until a until a new Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when AGA-8 Hexanes+ gas ratios are written to the flow computer using the Set AGA-8 Hexanes+ Gas

Ratios the new gas ratios are updated in the Proposed Registers and in the

Actual Registers. This allows a SCADA host to immediately confirm the new ratios were written to the flow computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 802 (Get AGA-8 Hexanes+ gas ratios) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Command = 802 or error code from

AGA-8

Calculation Errors

or AGA-8 Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

49780, 49809 to

49818, 49823

Data Type

Get AGA-8

Hexanes+ Gas

Fractions

Configuration

Structure

Description

See the AGA-8 Hexanes+

Configuration Registers section for details on these registers.

Set AGA-8 Hexanes+ Gas Ratios

The Set AGA-8 Hexanes+ Gas Ratios command sets the AGA-8

Hexanes+ Configuration Registers.

Write the configuration data into the registers.

Realflo User and Reference Manual

May 19, 2011

743

TeleBUS Protocol Interface

Location

49730, 49759 to 49768, 49773

Data Type

AGA-8

Hexanes+ Gas

Fractions

Configuration

Structure

Description

See the AGA-8 Hexanes+

Configuration Registers section for details on these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 804 (Set AGA-8 Hexanes+ Gas Ratios) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type Description

uint

Command = 802 or error code from AGA-8

Calculation Errors or AGA-8 Command Errors.

uint Specific to error. The run number if the command was successful.

NX-19 Configuration

Configuration of the NX-19 flow calculation parameters is accomplished by setting the required values into the NX-19 Configuration Registers. This is not supported for PEMEX flow computers.

NX-19 Configuration Registers

The registers in the Actual Registers column in these tables are the registers containing the values already in use by the flow calculation routines. The registers in the Config. Registers column are the registers used for loading new configuration values to the flow calculation routines.

The NX-19 gas composition can be changed while the flow calculation is running. This allows an on-line gas chromatograph to provide updates to the gas composition. Frequent changes to the composition will result in the event log filling with gas composition events. When the log is full, further changes cannot be made until Realflo reads the log.

The registers in these tables are read from the flow computer using the

Set

NX-19 Gas Ratios Command

.

The registers in these tables are set in the flow computer using the

Set NX-

19 Gas Ratios Command

.

Config.

Register

49830

49831

49833

49835

49837

Actual

Register

49840

49841

49843

49845

49847

Data

Type

uint float float float float

Description

Meter run = 1 to 10

Specific gravity

Fraction of carbon dioxide

Fraction of nitrogen

Heating value (valid range: 0.07 to

1.52)

Realflo User and Reference Manual

May 19, 2011

744

Config.

Register

49839

Actual

Register

49849

Data

Type

uint

TeleBUS Protocol Interface

Description

Composition logging control

0 = log composition changes

1 = do not log composition changes

NX-19 Configuration Registers

Get NX-19 Gas Ratios Command

The Get NX-19 Gas Ratios command returns the NX-19 Configuration

Registers.

In Flow Computer versions 6.73 and older, when gas ratios are written to the flow computer using the Set NX-19 Gas Ratios command the new gas ratios are updated in the Configuration Config registers. The Configuration

Actual registers are not updated until a new Density calculation is started with the new values. The new gas ratios are not available to SCADA host software reading the Configuration Actual registers until a until a new

Density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when gas ratios are written to the flow computer using the Set NX-19 Gas Ratios command the new gas ratios are updated in the Configuration Config registers and in the

Configuration Actual registers. This allows a SCADA host to immediately confirm the new ratios were written to the flow computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

Write the Get NX-19 Gas Ratios command and read the Command

Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

integer Command = 1901 (Get NX19 Gas Ratios) integer Meter run = 1 to 10 integer User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

integer

Command = 1901 or error code from

NX-19

Calculation Errors

or

NX-19 Command Errors

.

integer Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data Type

49840 to 49848 NX-19 Gas

Fractions

Configuration

Structure

Description

See the

NX-19 Configuration

Registers

section for details on

these registers.

Set NX-19 Gas Ratios Command

The Set NX-19 Gas Ratios command sets the NX-19 Configuration

Registers.

Realflo User and Reference Manual

May 19, 2011

745

TeleBUS Protocol Interface

Write the configuration data into the registers.

Location Data Type

49830 to 49838 NX-19 gas fractions configuration structure

Description

See the

NX-19 Configuration

Registers

section for details on

these registers.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 1903 (Set NX-19 Gas Ratios) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

49505

49506

Data

Type

uint uint

Description

Command = 1901 or error code from NX-19

Calculation Errors or NX-19 Command Errors.

Specific to error. The run number if the command was successful.

Orifice Plate Change

Changing the orifice plate requires forcing inputs and changing the AGA-3 configuration. Use the following commands to force the inputs before making a change to the AGA-3 configuration. Refer to the AGA-3

Configuration section for commands to change the orifice plate.

Start Plate Change: Temperature Input Commands

A plate change requires that the temperature, static pressure, and differential pressure inputs to a run be forced. These commands affect the temperature input. These commands need to be used with the Start Plate

Change: Static Pressure Input commands and the Start Plate Change:

Differential Pressure Input commands.

These commands force the temperature input to either the current temperature or to a fixed value. The flow computer will use the forced value during the plate change process.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for temperature. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

746

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Location

48690

48695

Data

Type

uint uint uint uint

Description

Command: 40 = (Start plate change: force current temp.)

41 = (Start plate change: force fixed temp.)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the temperature value being used by the flow computer.

Data

Type

uint float

Description

Meter run = 1 to 10

Value for temperature while calibrating.

End Plate Change: Temperature Input Command

Ending a plate change requires that the temperature, static pressure, and differential pressure input to a run be returned to live values. This command needs to be used with the End Plate Change: Static Pressure command and the End Plate Change: Differential Pressure command.

This command ends a plate change by restoring the live input for temperature.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 42 = (End plate change: temperature)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Realflo User and Reference Manual

May 19, 2011

747

Location

49505

49506

Data

Type

uint uint

TeleBUS Protocol Interface

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Start Plate Change: Static Pressure Input Commands

A plate change requires that the temperature, static pressure, and differential pressure inputs to a run be forced. These commands affect the static pressure input. These commands needs to be used with the Start

Plate Change: Temperature Input commands and the Start Plate

Change: Differential Pressure Input commands.

These commands force the static pressure input to either the current static pressure or to a fixed value. The flow computer will use the forced value during the plate change process.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for static pressure. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 43 = (Start plate change: force current pressure)

44 = (Start plate change: force fixed pressure)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the static pressure value being used by the flow computer.

Realflo User and Reference Manual

May 19, 2011

748

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

TeleBUS Protocol Interface

Value for static pressure while calibrating.

End Plate Change: Static Pressure Input Command

Ending a plate change requires that the temperature, static pressure, and differential pressure input to a run be returned to live values. This command needs to be used with the End Plate Change: Temperature command and the End Plate Change: Differential Pressure command.

This command ends a plate change by restoring the live input for static pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 45 = (End plate change: static pressure)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Start Plate Change: Differential Pressure Input Commands

A plate change requires that the temperature, static pressure, and differential pressure inputs to a run be forced. These commands affect the differential pressure input. These commands need to be used with the Start

Plate Change: Temperature Input commands and the Start Plate

Change: Static Pressure Input commands.

These commands force the differential pressure input to either the current differential pressure or to a fixed value. The flow computer will use the forced value during the plate change process.

Write the information required for the request.

Realflo User and Reference Manual

May 19, 2011

749

TeleBUS Protocol Interface

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for differential pressure. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 46 = (Start plate change: force current DP)

47 = (Start plate change: force fixed DP)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the differential pressure value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for differential pressure while calibrating.

End Plate Change: Differential Pressure Input Command

Ending a plate change requires that the temperature, static pressure, and differential pressure input to a run be returned to live values. This command needs to be used with the End Plate Change: Temperature command and the End Plate Change: Static Pressure command.

This command ends a plate change by restoring the live input for differential pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

750

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 48 = (End plate change: differential pressure)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

User Account Configuration

User Accounts are manipulated using the commands Lookup User

Number, Lookup userID, Read Next Account, Delete Account and

Update Account.

User Account Configuration Registers

Data for these commands is written into the Configuration Registers shown below. Not all commands use all of the registers. Any value may be entered in the Unused Registers.

Config.

Register

49850

49851

49852

49853

Actual

Register

49860

49861

49862

49863

Data

Type

uint uint uint

Description

User number

Personal Identification Number (PIN)

Authorization level userID userID string

User Account Configuration Registers

Lookup User Number Command

The Lookup User Number command returns the user number corresponding to a userID. First, write the userID into the user account

Configuration Registers. Only the registers shown are used.

Location

49853

Data

Type Description

userID userID string (8 byte string packed into four registers, null terminated if less that 8 characters).

Write the Lookup User Number command and read the Command

Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

751

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 100 (Lookup User Number) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. The run number if the command was successful.

Read the user account Reply Registers to determine the user number.

Location

49860

Data

Type Description

uint User number

Lookup User ID Command

The Lookup userID command returns the userID corresponding to a user number. First, write the user number into the user account configuration registers. Only the registers shown are used.

Location

49850

Data

Type

uint

Description

User number

Write the Lookup userID command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 101 (Lookup userID) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Reply Register to determine the user number.

Realflo User and Reference Manual

May 19, 2011

752

Location

49863

TeleBUS Protocol Interface

Data

Type Description

userID userID string (8 byte string packed into four registers, null terminated if less that 8 characters).

Delete Account Command

The Delete Account command removes an account from the flow computer. First, write the userID into the user account Configuration

Registers. Only the registers shown are used.

Location

49853

Data

Type Description

userID userID string (8 byte string packed into four registers, null terminated if less that 8 characters).

Write the Delete Account command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 102 (Delete Account) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine if the account was deleted.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. The run number if the command was successful.

Update Account Command

The Update Account command creates or updates an account. First, write the userID, PIN and authorization level into the user account configuration registers. Only the registers shown are used.

Location

49851

49852

49853

Data

Type

uint

Description

PIN uint Authorization level userID userID string (8 byte string packed into four registers, null terminated if less that 8 characters).

Write the Update Account command and read the Command Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

753

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 103 (Update Account) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. The run number if the command was successful.

Read the user account Reply Registers to determine the user number (if needed).

Location

49860

Data

Type Description

uint User number

Read Next Account Command

The Read Next Account command is used to read account information from the flow computer. The command is repeated until the user accounts have been read.

First, write zero into the user number Configuration Register. User number zero is reserved for the flow computer. Retrieving the next user returns the first valid user account.

Location

49850

Data

Type Description

uint User number

Write the Read Next Account command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command = 104 (Read Next Account) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint

Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

0

Read the user account Reply Registers to determine account information.

Location

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

754

TeleBUS Protocol Interface

49860

49861

49862

49863 uint User number uint uint

PIN

Authorization level userID userID string

If the user number is non-zero, this is a valid account. If the user number is zero, this indicates that no more accounts can be found.

Repeat the process above, using the user number returned as the starting point. Repeat until the user number returned is zero.

Meter Runs Configuration

Meter Runs Configuration Registers

The Run Configuration Registers determine how many meter runs are active. The value is written into the Configuration Register.

Config.

Register

49870

Actual

Register

49875

Data

Type

uint

Description

Number of meter runs in use.

Set Number of Meter Runs Command

This command sets the number of active runs. The number of active runs determines the flow calculation period.

Write the configuration data into the register.

Location Type Description

49870 uint Number of runs to use: 1 to 10

Write the command 16 (Set Number of Runs) and read the Command

Register until it is cleared.

Location Type Description

49500

49501

49502

49503 uint uint uint uint

Command = 16 (Set Number of Runs)

Unused

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location Type Description

49505

49506 uint uint

Echo command or error from Flow Calculation Engine

Command Errors.

Unused

Flow Run Identification

The Run Identifier (runID) aids in identifying each flow run. The runID is a

16-character string. The runID string is stored in registers in the runID format.

For older flow computers the Run ID is a 16-character string. The Run ID string is stored in registers in the runID format. See the Run ID

Configuration Registers section.

Realflo User and Reference Manual

May 19, 2011

755

TeleBUS Protocol Interface

For version 6 or greater, the Run ID is a 32-character string. The Run ID string is stored in registers in the runID2 format. See the Long Run ID

Configuration Registers section.

Run ID Configuration Registers

The runID is set using the command Set runID. Data for the command is written into the ID Configuration Registers.

These registers overlap the Flow Computer ID registers, but use a different layout.

Config.

Register

49880

Actual

Register

49890

Data

Type Description

runID runID string.

Set Run ID Command

Write the configuration data into the registers.

Location

49880

Data

Type

runID

Description

runID string.

Write the command 19 (Set runID) and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 19 (Set runID)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

The flow computer will log a Set runID event, in the event log, for the run when the ID is set.

The command will not work if there is not enough room in the log for an event. If this occurs the flow runID will not be changed.

Get Run ID Command

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

Data

Type

uint uint uint

Description

Command = 20 (Get Run ID)

Meter run = 1 to 10

User number

Realflo User and Reference Manual

May 19, 2011

756

TeleBUS Protocol Interface

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

49890

Data

Type

runID

Description

runID string

Long Run ID Configuration Registers

The runID is set using the command Set Long Run ID. Data for the command is written into the ID Configuration Registers.

These registers overlap the Flow Computer ID registers and the Run ID registers, but use a different layout.

Proposed

Register

49880

Actual

Register

49880

Data

Type

RunI

D2

Description

RunID string.

Set Long Run ID Command

Write the configuration data into the registers.

Location Data

Type

49880

Description

runID2 runID string.

Write the command 21 (Set Long Run ID) and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 21 (Set Long Run ID)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

The flow computer will log a Set Run ID event, in the event log, for the run when the ID is set.

Realflo User and Reference Manual

May 19, 2011

757

TeleBUS Protocol Interface

The command will not work if there is not enough room in the log for an event. If this occurs the flow runID will not be changed.

Get Long Run ID Command

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

Data

Type

uint uint uint

Description

Command = 22 (Get Long Run ID)

Meter run = 1 to 10

User number

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data

Type

49880

Description

RunID2 runID string

Flow Computer Execution Control

The execution Control Registers control the state of the flow routine execution for the selected meter run. The state of the flow routine execution is selected as either run or stop. Some commands, such as Contract

Configuration Commands, are not allowed when the flow calculation is running.

Execution Control Registers

Config.

Register

48500

48501

48502

Data

Type

uint uint uint

Description

Meter run = 1 to 10

Execution state: 1: stop, 2: run

Flow calculation interval (reserved but not used)

Execution Control Registers

Set Execution State Command

Write the desired execution state into the registers.

Location

48500

48501

Data

Type Description

uint Meter run = 1 to 10 uint Execution state:

1 for stopped state

2 for running state

Write the command and read the Command Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

758

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 8 (Set Execute) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the execution state was accepted.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. Meter run if the command was successful.

Read the current execution state from the registers shown in the following table. These registers always show the current execution status for the meter run.

Location

47501

46501

45601

Data

Type Description

uint Meter run 1 execution state:

1 when stopped

2 when running uint Meter run 2 execution state:

1 when stopped

2 when running uint Meter run 3 execution state:

1 when stopped

2 when running

Flow Computer ID Configuration

The Flow Computer Identifier allows Realflo to keep from mixing data from different flow computers. The ID is an eight-character string. The ID string is stored in registers using the same format as the existing userID data type.

Flow Computer Identifier Configuration Registers

The Flow Computer ID is set using the command Set Flow Computer ID.

Data for the command is written into the ID Configuration Registers.

Config.

Register

49880

Actual

Register

49885

Data

Type Description

userID Flow Computer ID string.

Set Flow Computer ID Command

The Flow Computer ID provides for a unique identification of each gas flow computer. This unique ID stops accidental mixing of data from different flow computers.

Write the configuration data into the registers.

Location Data

Type

49880

Description

userID Flow Computer ID string.

Realflo User and Reference Manual

May 19, 2011

759

TeleBUS Protocol Interface

Write the command 17 (Set Flow Computer ID) and read the Command

Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command = 17 (Set Flow Computer ID)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the configuration was accepted.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

Get Flow Computer ID Command

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

Data

Type

uint uint uint

Description

Command = 18 (Get Flow Computer ID)

Meter run = 1 to 10

User number

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation Engine

Command Errors.

Specific to error. The run number if the command was successful.

Read the Data Registers.

Location Data

Type

49885

Description

userID Flow Computer ID string

Enron Modbus Time Stamp Configuration

The Enron Timestamp selects the type of timestamp for Enron flow history logs. Realflo and flow computer versions 6.77 and higher support the selection of time leads data or time lags data for the timestamp.

Time leads data selection time stamps the data for the period at the beginning of the period.

Time lags data selection time stamps the data for the period at the end of the period.

The configuration is valid for each run of the flow computer and is applied on the Enron Modbus enabled ports only. This control is hidden in PEMEX or

GOST application modes.

Realflo User and Reference Manual

May 19, 2011

760

TeleBUS Protocol Interface

Following registers determine how the Enron Modbus time stamp is defined.

The value is written into the Configuration Register.

Type Description Config.

Register

49874

Actual

Register

49879 uint Time stamp in Enron Modbus

0 = time leads data

1 = time lags data

Set Enron Modbus Time Stamp Command

This command sets the definition of the Enron Modbus time stamp.

Write the configuration data into the register.

Register

49874

Type

uint

Description

Time stamp in Enron Modbus

0 = time leads data

1 = time lags data

Write the command 23 (Set Enron Modbus Time Stamp Command) and read the Command Register until it is zero.

Register

49500

49501

49502

Type

uint uint uint

Description

Command = 23 (Set Enron Modbus Time Stamp)

Unused

User number

49503

Read the Reply Registers to determine whether the configuration was accepted.

Register

49505 uint

Type

Uint

Pass code for user

Description

Command status:

23 = command complete

Other = error code

49506 uint Command result: meter run if successful

Real Time Clock Configuration

The Real Time Clock is fully adjustable using the configuration registers.

The RTC is configured using the Set Real Time Clock or the Adjust Real

Time Clock commands.

The following methods cannot be used to set the real time clock when using the flow computer.

The CNFG Real Time Clock and Alarm register assignment in Telepace.

Realflo User and Reference Manual

May 19, 2011

761

TeleBUS Protocol Interface

The setclock function in ISaGRAF.

The Real Time Clock dialog in Telepace or ISaGRAF.

Using any of these methods to set the Real Time Clock may result in the flow computer logging data incorrectly.

Real Time Clock Configuration Registers

The registers in these tables are read from the flow computer using the command.

Config.

Register

48503

48504

48505

48506

48507

48508

Data

Type

uint uint uint uint uint uint

Description

Years, 1997 to 2096

Months, 1 to 12

Days, 1 to 31, with exceptions

Hours, 0 to 23

Minutes, 0 to 59

Seconds, 0 to 59

Real Time Clock Settings Registers

Config.

Register

48509

Data

Type

sint

Description

Seconds, -32000 to 32000, Increment / Decrement number of seconds

Real Time Clock Adjustment Registers

The actual registers in the table below are updated on each execution of the gas flow engine.

Actual

Register

48510

48511

48512

48513

48514

48515

48516

48517

48518

48519

48520

Data

Type

uint uint uint uint uint uint uint uint uint uint uint

Description

Real Time Clock Hour, 0 to 23

Real Time Clock Minute, 0 to 59

Real Time Clock Second, 0 to 59

Real Time Clock Year, 0 to 99

Real Time Clock Month, 1 to 12

Real Time Clock Day, 1 to 31

Reserved but unused

Reserved but unused

Reserved but unused

Reserved but unused

Reserved but unused

Real Time Clock Actual Value Registers

Read Real Time Clock

One Real Time Clock is configured for the flow computer.

Location

48510

48511

48512

Data

Type

uint uint uint

Description

Hour: 0 to 23

Minute: 0 to 59

Second: 0 to 59

Realflo User and Reference Manual

May 19, 2011

762

Location

48513

Data

Type

uint

TeleBUS Protocol Interface

Description

Year: (19)97 to 99, (20)00 to 96. This register contains one or two digits only, not the entire four digit year.

Month: 1 to 12

Day: 1 to 31

Other RTC Configuration data

48514

48515

48516 to 48520 uint uint

Set Real Time Clock Command

Write the new time into the registers.

Location

48503

48504

48505

48506

48507

48508

Data

Type

uint uint uint

Description

uint Year: (19) 97 to 99, (20) 00 to 96. The complete four digit year needs to be entered. uint Month : 1 to 12 uint

Day : 1 to 31

Hour : 0 to 23

Minute : 0 to 59

Second : 0 to 59

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 6 (Set Real Time Clock) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the time was accepted.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. 0 if the command was successful.

Adjust Real Time Clock Command

Write the time adjustment into the registers.

Location

48509

Data

Type Description

integer Seconds, -32000 to 32000

Write the command 9 (Adjust Real Time Clock) and read the Command

Register until it is cleared.

Location

49500

49502

49503

Data

Type Description

uint Command: 9 (Adjust Real Time Clock) uint User number uint PIN for user

Realflo User and Reference Manual

May 19, 2011

763

TeleBUS Protocol Interface

Read the Reply Registers to determine whether the time adjustment was accepted.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation Engine

Command Errors.

uint Specific to error. 0 if the command was successful.

SolarPack 410 Power Management Configuration

The SolarPack 410 Power Management configuration is fully adjustable using the configuration registers. The SolarPack 410 Power Management is configured using the Set Power Management or the Get Power

Management commands.

SolarPack 410 Power Management Configuration Registers

Power management is configured using the following registers.

The Power Management Configuration Registers are defined as follows.

The registers in the Register column are the registers containing the values already in use by the flow computer or are the registers used for loading new configuration values to the flow computer.

The registers in this table are read using the

Get Power Management

Command.

The registers in this table are set using the

Set Power Management

Command.

Register

43180

Data

Type

uint

Description

43181

43182

43183

43184

43185

43186

43187

43188

43189

43190

43191

43192

43193

43194

43195

43196

43197

43198 uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint

Enable Input: Time in minutes until power off (1 to

240)

Enable Input: Radio power 0=off, 1=on

Enable Input: Bluetooth power 0=off, 1=on

Enable Input: Display backlight 0=off, 1=on

Enable input: Display 0=off, 1=on

Continuous wake: enable 0=off, 1=on

Continuous wake: Radio power 0=off, 1=on

Continuous wake: Bluetooth power 0=off, 1=on

Continuous wake: Display backlight 0=off, 1=on

Continuous wake: Display 0=off, 1=on

Scheduled Wake: Time in minutes until power off (1 to 240)

Scheduled Wake: Radio power 0=off, 1=on

Scheduled Wake: Bluetooth power 0=off, 1=on

Scheduled Wake: Display backlight 0=off, 1=on

Scheduled Wake: Display 0=off, 1=on

Scheduled Wake: Number of times to wake (0 to 24)

Scheduled Wake: Time 1 to wake (minutes since

00:00)

Scheduled Wake: Time 2 to wake (minutes since

00:00)

Scheduled Wake: Time 3 to wake (minutes since

00:00)

Realflo User and Reference Manual

May 19, 2011

764

TeleBUS Protocol Interface

Register Data

Type

uint

Description

43199

43200

43201

43202

43203

43204

43205

43206

43207

43208

43209

43210

43211

43212

43213

43214

43215

43216

43217

43218

43219 uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint uint

Scheduled Wake: Time 4 to wake (minutes since

00:00)

Scheduled Wake: Time 5 to wake (minutes since

00:00)

Scheduled Wake: Time 6 to wake (minutes since

00:00)

Scheduled Wake: Time 7 to wake (minutes since

00:00)

Scheduled Wake: Time 8 to wake (minutes since

00:00)

Scheduled Wake: Time 9 to wake (minutes since

00:00)

Scheduled Wake: Time 10 to wake (minutes since

00:00)

Scheduled Wake: Time 11 to wake (minutes since

00:00)

Scheduled Wake: Time 12 to wake (minutes since

00:00)

Scheduled Wake: Time 13 to wake (minutes since

00:00)

Scheduled Wake: Time 14 to wake (minutes since

00:00)

Scheduled Wake: Time 15 to wake (minutes since

00:00)

Scheduled Wake: Time 16 to wake (minutes since

00:00)

Scheduled Wake: Time 17 to wake (minutes since

00:00)

Scheduled Wake: Time 18 to wake (minutes since

00:00)

Scheduled Wake: Time 19 to wake (minutes since

00:00)

Scheduled Wake: Time 20 to wake (minutes since

00:00)

Scheduled Wake: Time 21 to wake (minutes since

00:00)

Scheduled Wake: Time 22 to wake (minutes since

00:00)

Scheduled Wake: Time 23 to wake (minutes since

00:00)

Scheduled Wake: Time 24 to wake (minutes since

00:00)

Set Power Management Command

This command writes the power management settings.

Write the configuration to the configuration registers.

Register Data

Type

43180 to

43219

Description

See above.

Realflo User and Reference Manual

May 19, 2011

765

TeleBUS Protocol Interface

Write the command and read the Command Register until it is cleared.

Register

49500

49502

49503

Data

Type

uint uint uint

Description

Command = 152 (Set Power Management)

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Description Register Data

Type

49505 uint

49506 uint

Command status

152 = command complete

Command result:

0 = OK

1 = invalid parameters

Get Power Management Command

This command reads the power management settings.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49502

49503 uint uint uint

Description

Command = 153 (Get Power Management)

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status

153 = command complete other = error code

Command result:

0 = OK

1 = invalid parameters

Read the configuration from the configuration registers if successful.

Register Data

Type

43180 to

43219

Description

See above.

If the configuration is incorrect, the following error code will be returned.

Number

30140

Description

Invalid power management configuration

SolarPack 410 Gas Sampler Output

The gas sampler output is pulsed based on the current flow. The pulse rate is configurable with a factor based on the current volume. The typical

Realflo User and Reference Manual

May 19, 2011

766

TeleBUS Protocol Interface interval is once per 15 seconds to once per 2 hours. The pulse width is user adjustable from 0.1 seconds to 5.0 seconds.

Gas Sampler Configuration

The gas sampler is configured using these registers.

Register Data

Type

43230-43231 Float

43232 uint

Description

Volume/pulse using contract units for run 1.

Pulse width in multiples of 0.1 seconds (1 to 50)

Set Gas Sampler Configuration Command

This command writes the gas sampler settings.

Write the configuration to the configuration registers.

Register Data

Type

43230 to

43232

Description

See above.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49502

49503 uint uint uint

Description

Command = 154 (Set Gas Sampler Configuration)

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status

154 = command

Command result:

0 = OK

1 = invalid parameters

Get Gas Sampler Configuration Command

This command reads the gas sampler settings.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49502

49503 uint uint uint

Description

Command = 155 (Get Gas Sampler Configuration)

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data

Type

Description

Realflo User and Reference Manual

May 19, 2011

767

TeleBUS Protocol Interface

Register Data

Type

49505 uint

Description

49506 uint

Command status

155 = command complete

Command result:

0 = OK

1 = invalid parameters

Read the configuration from the configuration registers if successful.

Register

43230 to

43232

Data

Type

Description

See above.

If the configuration is incorrect, the following error code will be returned.

Number

30139

Description

Invalid gas sampler output configuration

SolarPack 410 Pulse Input Accumulation

The SolarPack 410 flow computer can accumulate a pulse input. The flow computer counts the number of pulses, divides by a K factor and accumulates the results. Total volume, today‟s volume, yesterday‟s volume, this month‟s volume, and last month‟s volume accumulators are provided.

Pulse Input Accumulation Configuration

The pulse input accumulation is configured using these registers.

Register

43240

Data

Type

uint

Description

43241-43242 float

43243 Uint

Counter register (30001 to 39999, 40001 to 49999)

Specifies two registers containing the count value.

These registers need to contain a 32-bit unsigned value. The value needs to increase or remain the same (i.e. it cannot decrease) except when it rolls over from the maximum 32-bit unsigned value to zero.

K factor (any value > 0) in pulses/volume

Volume Units

0 = ft

1 = m

3

3

(cubic feet)

(cubic metres)

2 = litres

3 = barrels (42 US gallons)

4 = US gallons

Pulse Input Accumulation Registers

The pulse accumulation is reported in these registers. The registers are available.

Register Data

Type

43248-43249 ulong

43250-43251 float

Description

Pulse accumulator raw total (total number of pulses)

Pulse accumulator total volume in configured units

Realflo User and Reference Manual

May 19, 2011

768

Register Data

Type

43252-43253 float

43254-43255 float

43256-43257 float

43258-43259 float

43260 Uint

TeleBUS Protocol Interface

Description

Pulse accumulator today‟s volume in configured units

Pulse accumulator yesterday‟s volume in configured units

Pulse accumulator this month‟s volume in configured units

Pulse accumulator last month‟s volume in configured units

Volume Units

0 = ft

3

1 = m

3

(cubic feet)

(cubic metres)

2 = litres

3 = barrels (42 US gallons)

4 = US gallons

Set Pulse Input Configuration Command

This command writes the pulse input settings.

Write the configuration to the configuration registers.

Register Data

Type

43240 to

43243

Description

See above.

Write the command and read the Command Register until it is cleared.

Register

49500

49502

49503

Data

Type

uint uint uint

Description

Command = 156 (Set Pulse Input Configuration)

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid. The command does not work if there isn‟t sufficient room in the run 1 event log to log changes.

Description Register Data

Type

49505 uint

49506 uint

Command status

156 = command complete

Command result:

0 = OK

1 = invalid parameters

Get Pulse Input Configuration Command

This command reads the pulse input settings.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500 uint

Description

Command = 157 (Get Pulse Input Configuration)

Realflo User and Reference Manual

May 19, 2011

769

TeleBUS Protocol Interface

Register Data

Type

49502

49503 uint uint

Description

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Command status

157 = command complete

Command result:

0 = OK

1 = invalid parameters

Read the configuration from the configuration registers if successful.

Register Data

Type

43240 to

43243

Description

See above.

If the configuration is incorrect, the following error code will be returned.

Number

30138

Description

Invalid pulse configuration

Display Control Configuration

Users may select the data that is displayed on the optional display module.

The data to display and the interval between the displayed items is user

defined. Data items that may be displayed are shown in the Display Item

Identifiers section below.

Display Control Configuration Registers

The Display Control Configuration Registers are defined as follows. The registers in the Register column are the registers containing the values already in use by the flow computer MVT transmitter or are the registers used for loading new configuration values to the flow computer and the transmitter.

The registers in this table are read using the Get Display Control

Configuration Command .

The registers in this table are set using the Set Display Control

Configuration Command.

Register Data

Type

43470

43471 uint uint

Description

43472 uint

Display interval (2 to 60 seconds)

Display custom item 1

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 2

(Use one identifier from the list in Display Item

Identifiers)

Realflo User and Reference Manual

May 19, 2011

770

TeleBUS Protocol Interface

Register Data

Type

43473 uint

Description

43474

43475

43476

43477

43478

43479

43480

43481

43482 uint uint uint uint uint uint uint uint uint

Display custom item 3

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 4

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 5

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 6

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 7

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 8

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 9

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 10

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 11

(Use one identifier from the list in Display Item

Identifiers)

Display custom item 12

(Use one identifier from the list in Display Item

Identifiers)

Display Item Identifiers

Use these values when programming the display controller.

Display Item

DP (input units)

SP (input units)

PT (input units)

Current Time runID

Orifice plate size (input units)

Calculation state (contract units)

Flow volume rate (contract units)

Flow mass rate (contract units)

Flow energy rate (contract units)

Flow Time

Today‟s flow volume (contract units)

Yesterday‟s flow volume (contract units)

Run 1

1001

1002

1003

1004

1005

1006

1007

1008

1009

1010

1011

1012

1013

Run 2

2001

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

2012

2013

Run 3

3001

3002

3003

3004

3005

3006

3007

3008

3009

3010

3011

3012

3013

Run 4 Run 5

4001 5001

4002 5002

4003 5003

4004 5004

4005 5005

4006 5006

4007 5007

4008 5008

4009 5009

4010 5010

4011

4012

4013

5011

5012

5013

Realflo User and Reference Manual

May 19, 2011

771

Display Item

Pulses

Relative Density

Pipe diameter

Atmospheric pressure

Battery Voltage (SolarPack 410 only)

Custom Item 1

Custom Item 2

Custom Item 3

Custom Item 4

Custom Item 5

Display Item

DP (input units)

SP (input units)

PT (input units)

Current Time runID

Orifice plate size (input units)

Calculation state (contract units)

Flow volume rate (contract units)

Flow mass rate (contract units)

Flow energy rate (contract units)

Flow time

Today‟s flow volume (contract units)

Yesterday‟s flow volume (contract units)

Pulses

Relative Density

Pipe diameter

Atmospheric pressure

Battery Voltage

Custom Item 1

Custom Item 2

Custom Item 3

Custom Item 4

Custom Item 5

Run 1

1014

1015

1016

1017

1018

1101

1102

1103

1104

1105

Run 6

6001

6002

6003

6004

6005

6006

6007

6008

6009

6010

6011

6012

6013

6014

6015

6016

6017

6018

6101

6102

6103

6104

6105

Run 2

2014

2015

2016

2017

2018

2101

2102

2103

2104

2105

7001

7002

7003

7004

7005

7006

7007

7008

7009

7010

7011

7012

7013

7014

7015

7016

7017

7018

7101

7102

7103

7104

7105

TeleBUS Protocol Interface

Run 7

Run 3

3014

3015

3016

3017

3018

3101

3102

3103

3104

3105

Run 8

8001

8002

8003

8004

8005

8006

8007

8008

8009

8010

8011

8012

8013

8014

8015

8016

8017

8018

8101

8102

8103

8104

8105

Run 4

4014

4015

4016

4017

4018

4101

4102

4103

4104

4105

Run 9

9001

9002

9003

9004

9005

9006

9007

9008

9009

9010

9011

9012

9013

9014

9015

9016

9017

9018

9101

9102

9103

9104

9105

Run 5

5014

5015

5016

5017

5018

5101

5102

5103

5104

5105

Run 10

Get Display Control Configuration Command

This command reads a display control configuration from the flow computer.

Write the command and read the Command Register until it is cleared.

Register Data Description

10001

10002

10003

10004

10005

10006

10007

10008

10009

10010

10011

10012

10013

10014

10015

10016

10017

10018

10101

10102

10103

10104

10105

Realflo User and Reference Manual

May 19, 2011

772

TeleBUS Protocol Interface

49500

49501

49502

49503

Type

uint uint uint uint

Command = 137 (Get Display Control

Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Command status:

137 = command complete

Other = error code

Command result:

0 = error occurred

1 to 10 = transmitter number

If a transmitter was found, read the actual Configuration Registers.

Register

43470 to 43482

Data Type

Display

Control

Configuration

Structure

Description

See the Display Control

Configuration Registers section for details.

Set Display Control Configuration Command

The command writes a display control configuration to the flow computer.

The flow computer writes the configuration and data to the transmitter. If the transmitter does not respond, the configuration is still saved in the flow computer memory.

Write data into the Configuration Registers.

Register

43470 to 43482

Data Type

Display control configuration structure

Description

See the Display Control

Configuration Registers section for details.

Write the command and read the Command Register until it is cleared.

Register

49500

Data

Type

uint

Description

49501

49502

49503 uint uint uint

Command = 138 (Set Display Control

Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Description Register Data

Type

49505 uint Command status:

138 = command complete

Realflo User and Reference Manual

May 19, 2011

773

TeleBUS Protocol Interface

Register Data

Type

Description

49506 uint

Other = error code

Command result:

0 = error occurred

1 to 10 = transmitter number

Get Display Control Custom Configuration Command

This command reads a display control custom configuration from the flow computer.

Write the index number of the custom configuration to get from the flow computer.

Register Data

Type

43483 uint

Configuration

Number of the custom configuration for the flow run.

1 to 5.

Write the command and read the command register until it is cleared.

Register

49500

Data

Type

uint

Configuration

49501

49502

49503

Uint

Uint

Uint

Command = 150 (Get Display Controller Custom

Configuration)

Transmitter number = 1 to 10

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Register Data

Type

49505 uint

Configuration

49506 Uint

Command status

150 = command complete

Other = error code

Command result:

0 = error occurred

1 to 10 = Transmitter number

If a transmitter was found, read the actual Custom Configuration record.

Register Data

Type

43483 uint

Configuration

43484

43485

Uint

Uint

Index number of the custom configuration for the flow run.

1 to 5

Register to display: 00001 to 09999, 10001 to

19999, 30001 to 39999, 40001 to 49999.

0 = not used

Display type

1 = Boolean

2 = Signed integer

3 = Unsigned integer

4 = Signed double

Realflo User and Reference Manual

May 19, 2011

774

TeleBUS Protocol Interface

Register Data

Type

43486 to

43489

43490 to

43493

Configuration

5 = Unsigned double

6 = ISaGRAF integer

7 = Floating point

Chars Item description string. Seven character string packed into four registers. The first character is in the low order byte. The second character is in the high order byte.

Chars Units string. Seven character string packed into four registers. The first character is in the low order byte. The second character is in the high order byte.

Set Display Control Custom Configuration Command

This command reads a display control custom configuration from the flow computer.

Write the data for one custom configuration index number to the flow computer.

Register Data

Type

43483

43484

43485

43486 to

43489

43490 to

43493

Configuration

uint

Uint

Uint

Index number of the custom configuration for the flow run.

1 to 5

Register to display: 00001 to 09999, 10001 to

19999, 30001 to 39999, 40001 to 49999.

0 = not used

Display type

1 = Boolean

2 = Signed integer

3 = Unsigned integer

4 = Signed double

5 = Unsigned double

6 = ISaGRAF integer

7 = Floating point

Chars Item description string. Seven character string packed into four registers. The first character is in the low order byte. The second character is in the high order byte.

Chars Units string. Seven character string packed into four registers. The first character is in the low order byte. The second character is in the high order byte.

Write the command and read the command register until it is cleared.

Register

49500

Data

Type

uint

Configuration

49501

49502

49503

Uint

Uint

Uint

Command = 151 (Set Display Controller Custom

Configuration)

Transmitter number = 1 to 10

User number

PIN

Realflo User and Reference Manual

May 19, 2011

775

TeleBUS Protocol Interface

Read the Reply Registers when the command is complete. An error is returned if the configuration data are invalid.

Configuration Register Data

Type

49505 uint

49506 Uint

Command status

151 = command complete

Other = error code

Command result:

0 = error occurred

1 to 10 = Transmitter number

Process Input / Output Configuration

Process I/O defines scaling and alarms for input and output points used by your process. Input points convert integer values read from input modules into floating-point values. Output points convert floating-point values into integer values for output modules.

Process I/O is normally used with I/O points that are not related to the flow runs. Use the run configuration to scale inputs to flow runs.

Process I/O is not available on SCADAPack Flow Computers with ISaGRAF firmware. Use an ISaGRAF program to scale I/O values.

The Process I/O configuration registers are defined as follows. The registers in the Actual Register column are the registers containing the values already in use by the flow computer. The registers in the Config. Register column are the registers used for loading new configuration values to the flow computer.

Process I/Os Configuration Registers

Config.

Register

43400

Actual

Register

43405

43401 43406

Data

Type

uint

Description

Number of process inputs

On SCADAPack Flow Computers the maximum number of inputs is 10.

On SCADAPack 32, SCADAPack

314/330/334 and SCADAPack 350

Flow Computers the maximum number of inputs 30. uint Number of process outputs

The maximum number of outputs is 10.

Process Input Configuration Registers

The Process Input configuration are used with the process I/O commands.

Config.

Register

43410

Actual

Register

43440

Data

Type

uint

Description

43411

43412

43441

43442 uint uint

Process input status

0 = disabled

1 = enabled

Source format

0 = Telepace Integer

5 = ISaGRAF Integer

Source register:

Realflo User and Reference Manual

May 19, 2011

776

Description

TeleBUS Protocol Interface

Config.

Register

Actual

Register

Data

Type

43413

43414

43415

43416

43417

43419

43421

43423

43425

43427

43429

43431

43443

43444

43445

43446

43447

43449

43451

43453

43455

43457

43459

43461 uint uint uint uint long long float float float float float float

30001 to 39999, 40001 to 49999

Low alarm point:

0 = disabled

00001 to 09999 = address of coil

High alarm point:

0 = disabled

00001 to 09999 = address of coil

Destination format

0 = Most Significant Word First (MSW

First)

1 = Least Significant Word First (LSW

First)

Destination register:

40001 to 49999

Source range zero scale:

Source format 0:

–32768 to 32767

Source format 5:

–2,147,483,648 to

2,147,483,647

Source range full scale:

Source format 0:

–32768 to 32767

Source format 5:

–2,147,483,648 to

2,147,483,647

Destination range zero scale

Destination range full scale

Low alarm setpoint

Low alarm hysteresis

High alarm setpoint

High alarm hysteresis

Process Output Configuration Registers

The Process Output Configuration Registers are used with the process I/O commands.

Config.

Register

43410

Actual

Register

43440

Data

Type

uint

Description

43411

43412

43413

43414

43415

43441

43442

43443

43444

43445 uint uint uint uint uint

Process output status

0 = disabled

1 = enabled

Source format

0 = Most Significant Word First (MSW

First)

1 = Least Significant Word First (LSW

First)

Source register: 40001 to 49999

Low alarm point:

0 = disabled

00001 to 09999 = address of coil

High alarm point:

0 = disabled

00001 to 09999 = address of coil

Destination format

0 = Telepace Integer

Realflo User and Reference Manual

May 19, 2011

777

Description

TeleBUS Protocol Interface

Config.

Register

Actual

Register

Data

Type

43416

43417

43419

43421

43423

43425

43427

43429

43431

43446

43447

43449

43451

43453

43455

43457

43459

43461 uint long long float float float float float float

5 = ISaGRAF Integer

Destination register: 40001 to 49999

Destination range zero scale:

Destination format 0:

–32768 to 32767

Destination format 5:

–2,147,483,648 to 2,147,483,647

Destination range full scale:

Destination format 0:

–32768 to 32767

Destination format 5:

–2,147,483,648 to 2,147,483,647

Source range zero scale

Source range full scale

Low alarm setpoint

Low alarm hysteresis

High alarm setpoint

High alarm hysteresis

Get Number of Process Inputs Command

This command reads the maximum number of process inputs from the flow computer.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501

49502

49503 uint uint uint uint

Description

Command = 140 (Get Number of Process Inputs)

0

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. 0 if the command was successful.

Read the Actual Configuration Registers.

Register

43405

Data

Type

uint

Description

See the

Process I/Os Configuration Registers

section for details.

Get Process Input Command

This command reads one Process Input configuration from the flow computer.

Write the command and read the Command Register until it is cleared.

Register Data

Type

Description

Realflo User and Reference Manual

May 19, 2011

778

TeleBUS Protocol Interface

49500

49501

49502

49503 uint uint uint uint

Command = 142 (Get Process Input)

Process Input Number

1 to 10 for SCADAPack Flow Computers

1 to 30 for SCADAPack 32, SCADAPack

314/330/334 and SCADAPack 350 Flow

Computers

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Process Input Number. 0 if the command was unsuccessful.

Read the Actual Configuration Registers.

Register

43440 to 43462

Data Type

mixed

Description

See the

Process Input

Configuration Registers

section for details.

Set Process Input Command

This command writes one Process Input configuration to the flow computer.

Write the Configuration Registers.

Register

43410 to 43432

Data Type

mixed

Description

See the

Process Input

Configuration Registers

section for details.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501 uint uint

49502

49503 uint uint

Description

Command = 143 (Set Process Input)

Process Input Number

1 to 10 for SCADAPack Flow Computers

1 to 30 for SCADAPack 32, SCADAPack

314/330/334 and SCADAPack 350 Flow

Computers

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Register Data

Type

49505 uint

Description

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Process Input Number. 0 if the command was

Realflo User and Reference Manual

May 19, 2011

779

TeleBUS Protocol Interface unsuccessful.

Get Number of Process Outputs Command

This command reads the maximum number of Process Outputs from the flow computer.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500 uint

49501

49502

49503 uint uint uint

Description

Command = 144 (Get Number of Process Outputs)

0

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. 0 if the command was successful.

Read the Actual Configuration Registers.

Register

43406

Data Type

uint

Description

See the

Process Output

Configuration Registers

section for details.

Get Process Output Command

This command reads one Process Output configuration from the flow computer.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501 uint uint

49502

49503 uint uint

Description

Command = 146 (Get Process Output)

Process Output Number

1 to 10 for SCADAPack Flow Computers

1 to 10 for SCADAPack 32, SCADAPack

314/330/334 and SCADAPack 350 Flow

Computers

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Process Output Number. 0 if the command was unsuccessful.

Realflo User and Reference Manual

May 19, 2011

780

TeleBUS Protocol Interface

Read the Actual Configuration Registers.

Register

43440 to 43462

Data Type

mixed

Description

See the

Process Output

Configuration Registers

section for details.

Set Process Output Command

This command writes one Process Output configuration to the flow computer.

Write the Configuration Registers.

Register

43410 to 43432

Data Type

mixed

Description

See the

Process Output

Configuration Registers

section for details.

Write the command and read the Command Register until it is cleared.

Register Data

Type

49500

49501 uint uint

49502

49503 uint uint

Description

Command = 147 (Set Process Output)

Process Output Number

1 to 10 for SCADAPack Flow Computers

1 to 10 for SCADAPack 32, SCADAPack

314/330/334 and SCADAPack 350 Flow

Computers

User number

PIN

Read the Reply Registers when the command is complete. An error is returned if the command parameters are invalid.

Description Register Data

Type

49505 uint

49506 uint

Echo command or error from Flow Calculation

Engine Command Errors.

Process Output Number. 0 if the command was unsuccessful.

Calibration Registers

The flow calculations continue to execute while sensors are being calibrated. The sensor value needs to be forced to a fixed value during calibration. The current value of the input or a fixed value of your choice may be used.

Calibration Registers

The Calibration Settings registers hold the forced value for the device currently being calibrated. These registers are used when the calibration commands are sent to the flow computer.

Actual

Register

48690

48691

Data

Type

uint float

Description

Meter run = 1 to 10

Forced temperature, static pressure or differential pressure.

Realflo User and Reference Manual

May 19, 2011

781

TeleBUS Protocol Interface

Actual

Register

48693

Data

Type Description

ulong Forced change in pulse counts

Calibration Settings Registers

The Calibration Data registers hold the live measured values from the device being calibrated. Data in these registers is updated while calibration is in process.

Actual

Register

48695

48697

Data

Type Description

float Temperature, static pressure or differential pressure during calibration. ulong Change in pulse counts during calibration (AGA-7 only).

Calibration Data Registers

Force Temperature Input Commands

Start temperature input calibration by forcing either the recent temperature input or a manual forced value. The flow computer will use the forced value during the calibration process.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for temperature. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 30 = (Force Recent Temperature)

31 = (Force Manual Temperature)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Temperature value being used by the flow computer.

Location

48690

Data

Type

uint

Description

Meter run = 1 to 10

Realflo User and Reference Manual

May 19, 2011

782

Location

48695

Data

Type

float

TeleBUS Protocol Interface

Description

Value for temperature while calibrating.

End Temperature Calibration Command

End temperature input calibration by restoring the live input for temperature.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 32 = (End Temperature Calibration)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Static Pressure Input Commands

Start static pressure input calibration by forcing either the recent pressure input or a manual forced value. The flow computer will use the forced value during the calibration process.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for static pressure. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 33 = (Force Recent Pressure)

34 = (Force Manual Pressure)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Realflo User and Reference Manual

May 19, 2011

783

TeleBUS Protocol Interface

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Static Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for static pressure while calibrating.

End Static Pressure Calibration Command

End Static Pressure input calibration by restoring the live input for pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 35 = (End Pressure Calibration)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Differential Pressure Input Commands

Start differential pressure input calibration by forcing either the recent differential pressure input or a manual forced value. The flow computer will use the forced value during the calibration process.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced manual value for differential pressure. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Realflo User and Reference Manual

May 19, 2011

784

TeleBUS Protocol Interface

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 36 = (Force Recent DP)

37 = (Force Manual DP)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for differential pressure while calibrating.

End Differential Pressure Calibration Command

End Differential Pressure input calibration by restoring the live input for differential pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 38 = (End DP Calibration)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Realflo User and Reference Manual

May 19, 2011

785

TeleBUS Protocol Interface

Force Turbine Counts Commands

Start turbine input calibration by forcing either the recent turbine counts or a manual forced value. The flow computer will use the forced value during the calibration process.

Write the information required for the request.

Location

48690

48693

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced manual value for turbine counts. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 75 = (Force Recent Turbine

Counts)

76 = (Force Manual Turbine

Counts)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for turbine counts while calibrating.

End Turbine Counts Calibration Command

End Differential Pressure input calibration by restoring the live input for differential pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

786

TeleBUS Protocol Interface

49500

49501

49502

49503 uint uint uint uint

Command: 77 = (End Turbine Counts Calibration)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Mass Flow Rate Calibration Commands

Start Mass Flow Rate calibration by forcing either the current Mass Flow

Rate or a manual forced value. The flow computer will use the forced value during the calibration process.

Write the information required for the request.

Location

48690

48693

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced manual value for Mass Flow Rate. This register is required only if calibration is done using a forced manual value. This register is not used if a forced recent value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 93 = (Force Current Mass Flow

Rate)

94 = (Force Manual Mass Flow

Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Mass Flow Rate being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for mass flow rate while calibrating.

Realflo User and Reference Manual

May 19, 2011

787

TeleBUS Protocol Interface

End Mass Flow Rate Calibration Command

End Mass Flow Rate calibration by restoring the live input for differential pressure.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

Data

Type Description

49500

49501

49502

49503 uint uint uint uint

Command:95 = (End Mass Flow Rate Calibration)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Inputs Registers

The flow calculations continue to execute while sensors are being forced to either the recent value or a fixed value.

Force Inputs Registers

The Force Inputs registers hold the forced value for the inputs being forced.

These registers are used when the force commands are sent to the flow computer.

Actual

Register

48690

48691

Data

Type Description

uint float

Meter run = 1 to 10

Forced temperature, static pressure or differential pressure. ulong Forced change in pulse counts 48693

The Force Inputs Data registers hold the live measured values from the input being forced. Data in these registers is updated while the inputs are forced.

Actual

Register

48695

48697

Data

Type Description

float Temperature, static pressure or differential pressure during forcing. ulong Change in pulse counts during forcing (AGA-7 only).

Realflo User and Reference Manual

May 19, 2011

788

TeleBUS Protocol Interface

Force Current Temperature Command

The force current temperature command forces the temperature input to the current value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced fixed value for temperature. This register is required only if forcing is done using a forced fixed value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 78 = (Force Current Temperature)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Temperature value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for temperature while forcing.

Force Fixed Temperature Command

The force fixed temperature command forces the temperature input to a user entered fixed value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced fixed value for temperature. This register is required only if forcing is done using a forced fixed value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Realflo User and Reference Manual

May 19, 2011

789

TeleBUS Protocol Interface

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 79 = (Force Fixed Temperature)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Temperature value being used by the flow computer.

Location

48690

48691

Data

Type

uint float

Description

Meter run = 1 to 10

Value for temperature while forcing.

Restore Live Temperature Command

This command restores the live input for temperature.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 80 = (Restore Live Temperature Input)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Current Static Pressure Input Command

The force current static pressure command forces the static pressure input to the current value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Realflo User and Reference Manual

May 19, 2011

790

TeleBUS Protocol Interface

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced fixed value for static pressure. This register is required only if forcing is done using a forced fixed value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command:

Pressure)

81 = (Force Current Static

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Static Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for static pressure while forcing.

Force Fixed Static Pressure Input Command

The force fixed static pressure command forces the static pressure input to a user entered fixed value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 float Forced fixed value for static pressure. This register is required only if forcing is done using a forced fixed value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

Data

Type

Uint

Uint

Description

Command: 82 = (Force Fixed Static

Pressure)

Meter run = 1 to 10

Realflo User and Reference Manual

May 19, 2011

791

TeleBUS Protocol Interface

49502

49503

Uint

Uint

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

Uint

Uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Static Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

Uint float

Description

Meter run = 1 to 10

Value for static pressure while forcing.

Restore Live Static Pressure Command

This command restores the live input for Static Pressure input.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 83 = (Restore Live Static Pressure)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Current Differential Pressure Input Command

The force current differential pressure command forces the differential pressure input to the current value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run to calibrate: 1 to 10

Realflo User and Reference Manual

May 19, 2011

792

TeleBUS Protocol Interface

48691 float Forced fixed value for differential pressure. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 84 = (Force Current DP)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Current Forced Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

uint float

Description

Meter run = 1 to 10

Value for differential pressure while forcing.

Force Fixed Differential Pressure Input Command

The force fixed differential pressure command forces the differential pressure input to a user entered fixed value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10

Float Forced fixed value for differential pressure. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

Uint

Uint

Uint

Uint

Description

Command: 85 = (Force Fixed DP)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Data

Realflo User and Reference Manual

May 19, 2011

793

TeleBUS Protocol Interface

Location

49505

49506

Type

Uint

Uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48695

Data

Type

Uint

Float

Description

Meter run = 1 to 10

Value for differential pressure while forcing.

Restore Live Differential Pressure Input Command

This command restores the live input for Differential Pressure input.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 86 = (Restore Live DP Input)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from Flow Calculation

Engine Command Errors.

Specific to error. Meter run number if the command was successful.

Force Current Turbine Pulse Rate Command

The force current turbine pulse rate command forces the turbine pulse rate input to the current value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48693

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced fixed value for turbine pulses. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Realflo User and Reference Manual

May 19, 2011

794

TeleBUS Protocol Interface

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 87 = (Force Current Turbine

Pulse Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from

Flow Calculation

Engine Command Errors

.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for turbine counts while forcing.

Force Fixed Turbine Pulse Rate Command

The force current turbine pulse rate command forces the turbine pulse rate input to the user selected value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48693

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced fixed value for turbine pulses. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 88 = (Force Fixed Turbine Pulse

Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

Data

Type

uint

Description

Echo command or error from

Engine Command Errors

.

Flow Calculation

Realflo User and Reference Manual

May 19, 2011

795

TeleBUS Protocol Interface

49506 uint Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for turbine counts while forcing.

Restore Live Turbine Pulse Rate Command

This command restores the live input for the turbine pulse rate.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 89 = (Restore Live Turbine Pulse

Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from

Flow Calculation

Engine Command Errors

.

Specific to error. Meter run number if the command was successful.

Force Current Mass Flow Rate Command

The force current mass flow rate command forces the mass flow rate input to the current value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48691

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced fixed value for mass flow rate. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

796

TeleBUS Protocol Interface

49500

49501

49502

49503 uint uint uint uint

Command: 90 = (Force Current Mass Flow

Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from

Flow Calculation

Engine Command Errors

.

Specific to error. Meter run number if the command was successful.

Read the Calibration Data Registers for the Mass Flow Rate value being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for Mass Flow Rate while forcing.

Force Fixed Mass Flow Rate Command

The force current mass flow rate command forces the mass flow rate input to the user selected value. The flow computer uses the forced value when the input is forced.

Write the information required for the request.

Location

48690

48693

Data

Type Description

integer Meter run to calibrate: 1 to 10 ulong Forced fixed value for mass flow rate. This register is required only if forcing is done using a forced manual value. This register is not used if a forced current value is used.

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 91 = (Force Fixed Mass Flow

Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from

Flow Calculation

Engine Command Errors

.

Specific to error. Meter run number if the command was successful.

Realflo User and Reference Manual

May 19, 2011

797

TeleBUS Protocol Interface

Read the Calibration Data Registers for the Differential Pressure value being used by the flow computer.

Location

48690

48697

Data

Type

uint ulong

Description

Meter run = 1 to 10

Value for Mass Flow Rate while forcing.

Restore Live Mass Flow Rate Command

This command restores the live input for the mass flow rate.

Write the information required for the request.

Location

48690

Data

Type Description

integer Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 92 = (Restore Live Mass Flow Rate)

Meter run = 1 to 10

User number

PIN

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type

uint uint

Description

Echo command or error from

Flow Calculation

Engine Command Errors

.

Specific to error. Meter run number if the command was successful.

Event and Alarm Log Data

The flow computer stores up to 700 events and 300 alarms in the Alarm and

Event logs. This data is made available for retrieval and viewing on the basis of data for maximum of 10 events or alarms at a time.

The same Command Registers and Data Registers are used to read the event and alarm logs. Only the commands used to read the events differ.

If the events in the log are not acknowledged and the event log fills, the oldest events are lost and the lost event counter is incremented. Events are numbered sequentially from 1 to 700, with automatic rollover allowing for verification that events have been duly recorded when reviewing event history. The flow computer will not allow the execution of a command that would cause the event log to fill, so this should not occur.

If the alarms in the log are not acknowledged and the alarm log fills, the oldest alarms are lost and the lost alarm counter is incremented. Alarms are numbered sequentially from 1 to 300, with automatic rollover allowing for verification that alarms have been duly recorded when reviewing alarm history.

Alarm and event numbers are independent. Therefore it is possible to have an alarm and an event with the same number.

Realflo User and Reference Manual

May 19, 2011

798

TeleBUS Protocol Interface

Event and Alarm Log Data Registers

Actual

Register

48530

48531

48532

48533

Data

Type

uint uint uint uint

Description

Meter run number: 1 to 10

First event to display 1

– 700 or,

First alarm to display 1 - 300

No of events or alarms to load in display registers:

1

– 10

Number of events or alarms to delete starting at oldest:

Alarms 1

– 300

Events 1

– 700

Log Query Registers

The Header Registers describe the alarm and event data in the Data Set

Register groups.

Actual

Register

48535

48536

48537

48538

48539

Data

Type

uint uint uint uint uint

Log Header Registers

Description

Meter run: 1 to 10

Number of events or alarms shown

First event or alarm number shown

Number of events or alarms in the log

Number of events or alarms lost

A total of 10 sets of event or Alarm Data Display Registers are provided.

Each event or alarm consists of 11 registers.

Actual

Register

48540

48541

48542

48543

48545

48547

48549

Data

Type

uint uint uint float float float float

Description

Event ID

Sequential event (1 to 700) or alarm (1 to 300) number.

User number

Date of event or alarm (days since January 1,

1970)

Time of event or alarm (seconds since 00:00:00)

New data associated with the event or alarm, if any

Previous data associated with the event or alarm, if any

Log Data Set 1 Registers

Actual Register Data Type

48551 to 48561 See above

48562 to 48572 See above

48573 to 48583 See above

48584 to 48594 See above

48595 to 48605 See above

48606 to 48616 See above

48617 to 48627 See above

48628 to 48638 See above

48639 to 48649 See above

Description

Event or alarm log display set 2

Event or alarm log display set 3

Event or alarm log display set 4

Event or alarm log display set 5

Event or alarm log display set 6

Event or alarm log display set 7

Event or alarm log display set 8

Event or alarm log display set 9

Event or alarm log display set 10

Realflo User and Reference Manual

May 19, 2011

799

TeleBUS Protocol Interface

Log Data Sets 2 through 10 Registers

Get Number of New Events Command

To query the number of new events in the log execute the Get Number of

New Events command.

Write the information required for the request.

Location

48530

Data

Type Description

uint Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 50 (Get Number Of New Events) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

48535

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of new events in the log uint The number of events that were lost because the queue was full.

Get Requested New Events Command

To query specific new event data for loading into the Display Registers, the meter run number, the number of the first new event to display and the number of new events need to be placed in the Event Query Registers before executing the Get Requested New Events command.

Write the information required for the request.

Location

48530

48531

48532

Data

Type Description

uint Meter run number: 1 to 10 uint First new event to display: 1

– 700 uint Number of new events to load in display registers: 1

– 10

Write the command and read the Command Register until it is cleared.

Location

Data

Type Description

Realflo User and Reference Manual

May 19, 2011

800

TeleBUS Protocol Interface

49500

49501

49502

49503 uint Command: 51 (Get Requested New Events) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of new events shown uint First new event number shown uint Number of new events in the event log uint Number of new events lost

Read the events.

Location Data Type

48540 to 48548 Event

Structure

48549 to 48629 Event

Structures

Description

First new event in the group.

The rest of the new events in the group.

Get Number of All Events Command

To query the total number of events in the log, execute the Get Number of

All Events command.

Write the information required for the request.

Location

48530

Data

Type Description

uint Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 55 (Get Number Of All Events) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command

Realflo User and Reference Manual

May 19, 2011

801

TeleBUS Protocol Interface was successful.

Read the Data Registers.

Location

48535

48538

48539

Data

Type

uint uint uint

Description

Meter run = 1 to 10

Number of events in the log

The number of events that were lost because the queue was full.

Get Requested All Events Command

To query specific event data for loading into the Display Registers, the meter run number, the number of the first event to display and the number of events need to be placed in the Event Query Registers before executing the Get Requested All Events command.

Write the information required for the request.

Location

48530

48531

48532

Data

Type Description

uint Meter run number: 1 to 10 uint First event to display: 1

– 700 uint Number of events to load in display registers: 1

– 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 56 (Get Requested All Events) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of events shown uint Oldest event number shown uint Number of events in the event log uint Number of events lost

Read the events.

Location Data Type

48540 to 48548 Event

Structure

Description

First event in the group.

Realflo User and Reference Manual

May 19, 2011

802

48549 to 48629 Event

Structures

TeleBUS Protocol Interface

The rest of the events in the group.

Get Recent Events Command

To query the recent event data execute the Get Recent Events command.

The „first event to display‟ register is ignored when this command is used.

Command 50, Get Number of New Events, needs to first be run immediately before each instance of this command.

Write the information required for the request.

Location

48530

48532

Data

Type Description

uint Meter run number: 1 to 10 uint No of events/alarms to load in display registers: 1

10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type

uint uint uint uint

Description

Command: 52 (Get Recent Events)

Meter run = 1 to 10

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Read the events.

Data

Type Description

uint Meter run = 1 to 10 uint Number of events/alarms shown uint First event/alarm number shown uint Number of events/alarms in the log uint Number of events/alarms lost

Location Data Type

48540 to 48548 Event

Structure

48549 to 48629 Event

Structures

Description

First event in the group.

The rest of the events in the group.

Acknowledge Events Command

To acknowledge the oldest events in the log the number of events to

Acknowledge Register needs to be specified before executing the

Realflo User and Reference Manual

May 19, 2011

803

TeleBUS Protocol Interface

Acknowledge Events command. If there were any lost events then a Lost

Events event is generated and stored in the log.

Write the information required for the request.

Location

48530

48533

Data

Type Description

uint Meter run number: 1 to 10 uint Number of events to acknowledge starting at oldest:

1

– 700

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 53 (Acknowledge Events) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Get Number of New Alarms Command

To query the number of new alarms in the alarm log execute the Get

Number of New Alarms command.

Write the information required for the request.

Location

48530

Data

Type Description

uint Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 60 (Get Number Of New Alarms) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers.

Realflo User and Reference Manual

May 19, 2011

804

Location

48535

48538

48539

TeleBUS Protocol Interface

Data

Type Description

uint Meter run = 1 to 10 uint Number of new alarms in the log uint The number of new alarms that were lost because the queue was full.

Get Requested New Alarms Command

To query specific alarm data for loading into the Display Registers, the meter run number, the number of the first new alarm to display and the number of new alarms need to be placed in the Alarm Query Registers before executing the Get Requested New Alarms command.

Write the information required for the request.

Location

48530

48531

48532

Data

Type Description

uint Meter run number: 1 to 10 uint First new alarm to display: 1

– 300 uint Number of new alarms to load in display registers: 1

– 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 61 (Get Requested New Alarms) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of new alarms shown uint First alarm number shown uint Number of alarms in the log uint Number of alarms lost

Read the alarms.

Location Data Type

48540 to 48548 Event

Structure

48549 to 48629 Event

Structures

Description

First new alarm in the request.

The rest of the new alarms in the request.

Realflo User and Reference Manual

May 19, 2011

805

TeleBUS Protocol Interface

Get Number of All Alarms Command

To query the total number of alarms in the alarm log, execute the Get

Number of All Alarms command.

Write the information required for the request.

Location

48530

Data

Type Description

uint Meter run number: 1 to 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 64 (Get Number Of All Alarms) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers.

Location

48535

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of alarms in the log uint The number of alarms that were lost because the queue was full.

Get Requested All Alarms Command

To query specific alarm data for loading into the Display Registers, the meter run number, the number of the first alarm to display and the number of alarms need to be placed in the Alarm Query registers before executing the Get Requested All Alarms command.

Write the information required for the request.

Location

48530

48531

48532

Data

Type Description

uint Meter run number: 1 to 10 uint First new alarm to display: 1

– 300 uint Number of new alarms to load in display registers: 1

– 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

Data

Type

uint uint

Description

Command: 65 (Get Requested All Alarms)

Meter run = 1 to 10

Realflo User and Reference Manual

May 19, 2011

806

TeleBUS Protocol Interface

49502

49503 uint uint

User number

PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Data

Type Description

uint Meter run = 1 to 10 uint Number of alarms shown uint First number shown uint Number of alarms in the log uint Number of alarms lost

Read the alarms.

Location Data Type

48540 to 48548 Event

Structure

48549 to 48629 Event

Structures

Description

First new alarm in the request.

The rest of the new alarms in the request.

Get Recent Alarms Command

To query the recent alarm data execute the Get Recent Alarms command.

The first alarm to Display Register is ignored when this command is used.

Write the information required for the request.

Location

48530

48532

Data

Type Description

uint Meter run number: 1 to 10 uint No of events/alarms to load in Display Registers: 1

– 10

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 62 (Get Recent Alarms) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command

Realflo User and Reference Manual

May 19, 2011

807

TeleBUS Protocol Interface was successful.

Read the Data Registers to determine which parts of the log are available.

Location

48535

48536

48537

48538

48539

Data

Type

uint uint uint uint uint

Read the alarms.

Description

Meter run = 1 to 10

Number of alarms shown

First alarm number shown

Number of alarms in the log

Number of alarms lost

Location Data Type

48540 to 48548 Event

Structure

48549 to 48629 Event

Structures

Description

First alarm in the group.

The rest of the alarms in the group.

Acknowledge Alarms Command

To acknowledge the oldest alarms in the log the number of alarms,

Acknowledge Register needs to be specified before executing the

Acknowledge Alarms command. If there were any lost alarms then a Lost

Alarms alarm is generated and stored in the log.

Write the information required for the request.

Location

48530

48533

Data

Type Description

uint Meter run number: 1 to 10 uint Number of alarms to acknowledge starting at oldest:

1

– 300

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 63 (Acknowledge Alarms) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Log User Defined Events

Additional events, defined by the user, may be recorded in the event log.

Executing the Log User Event command (command 54) will store the event and values defined in the following table.

Realflo User and Reference Manual

May 19, 2011

808

TeleBUS Protocol Interface

Actual

Register

48680

48681

48683

Data

Type

uint float float

Log Event Registers

Description

Event ID to be recorded (19000 to 19999)

Value to be recorded as the previous value

Value to be recorded as the new value

The event is stored in the event log for the meter that is defined in the

Command Registers.

The event is time stamped by the flow computer when it is recorded.

The event ID needs to be in the range 19000 to 19999. An event ID out of this range will result in the command not working and an event being logged indicating an out of range event ID was specified. This feature keeps users from faking real events.

The previous value and new value are recorded in the event log. The user defines the use of these values.

Log User Event Command

Additional events, defined by the user, may be recorded in the event log.

Executing the Log User Event command will store the event and values.

Write the information required for the request.

Location

48680

48681

48683

Data

Type Description

uint Event ID to be recorded (19000 to 19999) float Value to be recorded as the previous value float Value to be recorded as the new value

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

49503

Data

Type Description

uint Command: 54 (Log User Event) uint Meter run = 1 to 10 uint User number uint PIN for user

Read the Reply Registers to determine whether the action was performed.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. The run number if the command was successful.

Hourly History Data

There are a total of 30 periods of hourly History Data Registers. Each period is nominally an hour long, but may be shorter. Each period consists of 26 registers. The registers for the first (recent) period of history are shown in the Hourly History Data - Period 1 Registers table. The registers for hours

2 through 30 are shown in the Hourly History Data - Periods 2 to 30

Registers table.

Realflo User and Reference Manual

May 19, 2011

809

TeleBUS Protocol Interface

Hourly History Query and Data Registers

The units code field indicates the units in use at the time the log entry was made.

Actual

Register

48704

48706

48708

48710

48712

48714

48716

48718

48720

48722

48724

48726

48728

Data

Type

float float float float float float float float float float float float float

Description

Date at the end of the period (days since Jan 1,

1970)

Time at the end of the period (seconds since

00:00:00)

Duration of flow in the period in seconds

Flow volume at base conditions

Flow mass at base conditions

Flow energy at base conditions

Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume (AGA-7 only)

Average temperature

Average static pressure

Average differential pressure

(AGA-3 only)

Average number of rotations per second (AGA-7 only)

Average real relative gas density

Units code = input units code + (contract units code

* 32)

The units code field indicates the units in use at the time the log entry was made. The codes for the input units and contract units are listed below. Both are combined in a single floating point value to save space in the log.

Units

US1

US2

US3

IP

Units Code

0

1

2

3

Metric1

Metric2

Metric3

SI

US4

US5

US6

9

10

US7 11

US8 12

4

5

6

7

8

Hourly History Data - Period 1 Registers

Actual Register Data Type

48730 to 48755

48756 to 48781

48782 to 48807

48808 to 48833

48834 to 48859 see above see above see above see above see above

Description

2 nd

most recent period

3 rd

most recent period

4 th

most recent period

5

6 th th

most recent period

most recent period

Realflo User and Reference Manual

May 19, 2011

810

TeleBUS Protocol Interface

Actual Register

48860 to 48885

Data Type

see above

48886 to 48911 see above

48912 to 48937 see above

48938 to 48963 see above

48964 to 48989 see above

48990 to 49015 see above

49016 to 49041 see above

49042 to 49067 see above

49068 to 49093 see above

49094 to 49119 see above

49120 to 49145 see above

49146 to 49171 see above

49172 to 49197 see above

49198 to 49223 see above

49224 to 49249 see above

49250 to 49275 see above

49276 to 49301 see above

49302 to 49327 see above

49328 to 49353 see above

49354 to 49379 see above

49380 to 49405 see above

49406 to 49431 see above

49432 to 49457 see above

49458 to 49483 see above

Description

7 th

most recent period

8

9 th th

10

most recent period

most recent period th

most recent period

11

12 th th

most recent period

most recent period

13 th

most recent period

14

15 th th

most recent period

most recent period

16 th

most recent period

17

18 th th

most recent period

most recent period

19

20 th th

most recent period

most recent period

21 st

most recent period

22 nd

most recent period

23 rd

most recent period

24

25

26 th th th

most recent period

most recent period

most recent period

27

28 th th

most recent period

most recent period

29 th

most recent period

30 th

most recent period

Hourly History Data - Periods 2 to 30 Registers

Get Hourly History Command

The hourly history is comprised of 30 days worth of data that is written into a block of registers one-day at a time when the flow computer is queried.

The meter and day are written starting at location 48702. The data is made up of 780 registers starting at 48704. The internal arrangement is 30-hour segments by 26 registers.

In order to specify which day of data is to be loaded into the Display

Registers, the meter run number and day requested need to be placed in the Query registers prior to executing the Get Hourly History command

(11).

Write the day request:

Actual

Register

48700

48701

Data

Type

uint uint

Description

Meter run = 1 to 10

Day to query: 0 for today, 1 to 35 for previous days

Write the command and read the Command Register until it is cleared.

Location

49500

49501

49502

Data

Type Description

uint Command: 11 (Get Hourly History) uint Meter run = 1 to 10 uint User number

Realflo User and Reference Manual

May 19, 2011

811

TeleBUS Protocol Interface

Location

49503

Data

Type Description

uint PIN for user

Read the Reply Registers to determine whether the data is available.

Location

49505

49506

Data

Type Description

uint

Echo command or error from Flow Calculation

Engine Command Errors.

uint Specific to error. Meter run if the command was successful.

Read the Data Register to determine which day is available.

Actual

Register

48702

48703

Data

Type

uint uint

Description

Meter run = 1 to 10

Day to query: 0 for today, 1 to 35 for previous days

Read the Data Registers.

Location Data Type

48704 to 48728 Hourly History

Log

48730 to 49483 Hourly History

Log

Description

Most recent hour totals are displayed.

The rest of the hours in the day are displayed.

Program Information Registers

The Program Information Registers describe the flow computer program in the flow computer

Actual

Register

48525

48526

Data

Type

uint uint

Description

Firmware version

The value of register 48525 divided by 100 is the version information, for example a value of 147 indicates major version 1, minor version 47

Controller type

The Controller type value is stored in the lower 8bits of the register.

0 = unknown type

2 = Micro16

5 = SCADAPack

6 = SCADAPack Light

7 = SCADAPack Plus

8 = Boot Loader

9 = SCADAPack 32P

10 = SCADAPack 32

11 = Boot Loader 32

12 = SCADAPack LP

13 = SCADAPack 100 (small memory)

14 = SCADAPack 4202

15 = SCADAPack 4102

16 = SCADAPack 4012 Absolute

Realflo User and Reference Manual

May 19, 2011

812

TeleBUS Protocol Interface

Actual

Register

48527

48528

48529

Data

Type

uint uint uint

Description

17 = SCADAPack 4012 Gauge

18 = SCADAPack 4022 Absolute

19 = SCADAPack 4022 Gauge

20 = SCADAPack 4032

21 = SCADAPack 4052

22 = SCADAPack 4062

23 = SCADAPack Boot Loader

24 = IMV25-M

25 = SCADAPack 100 (large memory)

26 = SCADAPack 4202 DS

27 = SCADAPack 350

28 = Neptune Boot Loader

29 = SCADAPack 4203 DR

30 = SCADAPack 4203 DS

31 = SCADAPack 4203 Boot Loader

32 = SolarPack 410

33 = SCADAPack 330

34 = SCADAPack 334

35 = Pump Controller

36 = SCADAPack 314

255 = 4000 with unsupported sensor

Gas Flow Application Version

Gas Flow Application Build Number

Number of flow runs available (not the number currently in use).

Program Information Registers

Realflo User and Reference Manual

May 19, 2011

813

TeleBUS Protocol Interface

Flow Computer Events and Alarms

This section contains tables of the event and alarm codes that are created by the flow computer.

Up to 700 events and 300 alarms are stored in the event log by the flow computation routines. This event log is made available for retrieval and viewing using the Event Log Data and Query registers. Refer to the event log documentation for further information on the Event Log.

Global Events and Alarms

The gas flow computation engine creates these events and alarms.

Number Description

10001

10002

10003

10004

10005

10006

10007

10008

10009

10010

10011

10012

10013

10014

10015

10016

10017

10018

10019

10020

10021

10022

10023

10024

10025

10026

10027

10028

10029

10030

10031

10032

10033

10034

10035

10036

10037

Power On - Cold Boot

Power On

– Warm Boot

Lost Events

Recovered from Input Error

Set Input: Units Type

Set Input: Flow Calculation Type

Event

Set Input: Compressibility Calculation

Type

Set Input: Temperature Register

Set Input: Temperature Input at Zero

Scale

Set Input: Temperature Input at Full

Scale

Set Input: Temperature at Zero Scale

Set Input: Temperature at Full Scale

Set Input: Pressure Register

Set Input: Pressure Input at Zero Scale

Set Input: Pressure Input at Full Scale

Set Input: Pressure at Zero Scale

Set Input: Pressure at Full Scale

Set Input: DP Register

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

Set Input: DP at Zero Scale

Set Input: DP at Full Scale

Set Contract: Units Type

Set Contract: Base Temperature

Set Contract: Base Pressure

Set Contract: Atmospheric Pressure

Set Input: Static Pressure Tap Location

Set Contract: Contract Hour

Change Execution State

Set RTC Year

Set RTC Month

Set RTC Day

Set RTC Hour

Set RTC Minute

Set RTC Second

Set Input: Temperature Low Level Cutoff

Set Input: Temperature Low Level

Alarm

Realflo User and Reference Manual

May 19, 2011

814

Number Description

10038

10039

10040

10041

10042

10043

10044

10046

10047

10048

10049

10050

10051

10052

10053

10054

10055

10056

10057

10058

10059

10060

10061

10062

10063

10064

10065

10066

10067

10068

10069

10071

10072

10073

10074

10075

10076

10077

10078

TeleBUS Protocol Interface

Event

Hysteresis

Set Input: Temperature High Level Cutoff

Set Input: Temperature High Level

Hysteresis

Set Input: Pressure Low Level Cutoff

Set Input: Pressure Low Level

Hysteresis

Set Input: Pressure High Level Cutoff

Set Input: Pressure High Level

Hysteresis

Set Input: Save Low/High Flow Events

Invalid User Event

Starting Calibration: Forced temperature

√ input

Ending Calibration: Restored live temperature input

Starting Calibration: Forced SP input

Ending Calibration: Restored live SP input

Starting Calibration: Forced DP input

Ending Calibration: Restored live DP input

Starting Calibration: Forced pulse count rate

Ending Calibration: Restored live pulse count rate

End Plate Change: Restored live

Set User Number

Set User Security Level

Set Input: Temperature Register Type

Set Input: Pressure Register Type

Set Input: DP Register Type

Set Input: Temperature Input at Zero

Scale

Set Input: Temperature Input at Full

Start Plate Change: Forced temperature input

Scale

Set Input: Pressure Input at Zero Scale

Set Input: Pressure Input at Full Scale

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

Set Input: Pulse Counter Register

Set Input: Pulse Counter Register Type

Set Active Runs

Lost Alarms

Firmware Version

Application Version

Set Flow Computer ID

Contract In Err Action

Set runID

Power Off

Alarm

Realflo User and Reference Manual

May 19, 2011

815

10095

10096

10097

10099

10100

10101

10102

10103

10104

10105

10106

10107

10108

10109

10084

10085

10086

10087

10088

10089

10090

10091

10092

10093

10094

Number Description

10079

10080

10081

10082

10083

10110

10111

Event

temperature input

Start Plate Change: Forced static

√ pressure input

End Plate Change: Restored live static pressure input

Start Plate Change: Forced differential pressure input

End Plate Change: Restored live differential pressure input

Set Input: Altitude and Latitude

Compensation

Set Input: Altitude

Set Input: Latitude

Forced temperature input

Restored live temperature input

Forced static pressure input

Restored live static pressure input

Forced differential pressure input

Restored live differential pressure input

Forced pulse count rate

Restored live pulse count rate

Set Contract: Wet Gas Meter Factor

Set pulse input counter register

Set pulse input K factor

Set pulse input units

Set Contract: Input averaging

Set input: sensor fail action

Set input: default temperature

Set input: default static pressure

Set input: default differential pressure

Set gas quality source (Pemex only)

Set Input: Flow Direction Control

Set Input: Flow Direction Register

Forced mass flow input

Restored live mass flow input

Starting Calibration: Forced mass flow

√ rate input

Ending Calibration: Restored live mass

√ flow rate input

Set Input: Mass Flow Rate Register Type

Global Alarms and Events Description

TeleBUS Protocol Interface

Alarm

AGA-3 (1985) Events and Alarms

These events and alarms are specific to the AGA-3 (1985) calculation.

Number Description

10201

10202

10203

Failed To Create AGA-3 (1985) Data

Structure

Created AGA-3 (1985) with Execution

Stopped

Created AGA-3 (1985) with Execution

Running

Event

Alarm

Realflo User and Reference Manual

May 19, 2011

816

TeleBUS Protocol Interface

Number Description

10204

Event

Destroyed AGA-3 (1985) Data Structure

10205

10206

10207

10208

10209

10210

10211

10212

10213

10214

10215

10216

10217

10218

Recovered from AGA-3 (1985) error

Set AGA-3 (1985): Input Units Type

Set AGA-3 (1985): Orifice Material

Set AGA-3 (1985): Pipe Material

Set AGA-3 (1985): Static Pressure Tap

Location

Set AGA-3 (1985): Orifice Diameter

Set AGA-3 (1985): Orifice Measurement

Reference Temperature

Set AGA-3 (1985): Pipe Diameter

Set AGA-3 (1985): Pipe Diameter

Measurement Reference Temperature

Set AGA-3 (1985): Isentropic Exponent

Set AGA-3 (1985): Viscosity

Set AGA-3 (1985): Base Temperature

Set AGA-3 (1985): Base Pressure

Set AGA-3 (1985): Atmospheric

Pressure

10219

10220

10221

10222

10223

Failed To Set AGA-3 (1985)

Configuration

Set AGA-3 (1985): Contract Units Type

Set AGA-3 (1985): Temperature

√ deadband

Set AGA-3 (1985): Static Pressure deadband

Set AGA-3 (1985): Differential Pressure deadband

AGA-3 (1985) Alarms and Events Description

Alarm

AGA-3 (1992) Events and Alarms

These events and alarms are specific to the AGA-3 (1992) calculation.

Number Description

10301

10302

10303

10304

10305

10306

10307

10308

10309

10310

10311

10312

10313

Failed To Create AGA-3 (1992) Data

Structure

Event

Created AGA-3 (1992) with Execution

Stopped

Created AGA-3 (1992) with Execution

Running

Destroyed AGA-3 (1992) Data Structure

Restored from AGA-3 (1992) error

Set AGA-3 (1992): Input Units Type

Set AGA-3 (1992): Orifice Material

Set AGA-3 (1992): Pipe Material

Set AGA-3 (1992): Static Pressure Tap

Location

Set AGA-3 (1992): Orifice Diameter

Set AGA-3 (1992): Orifice reference temperature

Set AGA-3 (1992): Pipe Diameter

Set AGA-3 (1992): Pipe Diameter

Alarm

Realflo User and Reference Manual

May 19, 2011

817

Number Description

10314

10315

10316

10317

10318

10319

10320

10321

10322

10323

10324

10325

10326

10327

AGA-3 (1992) Alarms and Events Description

TeleBUS Protocol Interface

Event

Measurement Temperature

Set AGA-3 (1992): Isentropic Exponent

Set AGA-3 (1992): Viscosity

Set AGA-3 (1992): Base Temperature

Set AGA-3 (1992): Base Pressure

Set AGA-3 (1992): Atmospheric

Pressure

Failed To Set AGA-3 (1992)

Configuration

Set Input: DP Low Level Cutoff

Set Input: DP Low Level Hysteresis

Set Input: DP High Level Cutoff

Set Input: DP High Level Hysteresis

Set AGA-3 (1992): Contract Units Type

Set AGA-3 (1992): Temperature

Deadband

Set AGA-3 (1992): Static Pressure

Deadband

Set AGA-3 (1992): Differential Pressure

Deadband

Alarm

AGA-7 Events and Alarms

These events and alarms are specific to the AGA-7 calculation.

10701

10702

10703

10704

10705

10706

10707

10708

10709

10710

10711

10712

10713

10714

10715

10716

Number Description Event

Failed To Create AGA-7 Data Structure

Created AGA-7 with Execution Stopped

Created AGA-7 with Execution Running

Destroyed AGA-7 Data Structure

Recovered from AGA-7 error

Set AGA-7: Input Units Type

Set AGA-7: K Factor

Set AGA-7: M Factor

Set AGA-7: Atmospheric Pressure

Set AGA-7: Base Pressure

Set AGA-7: Base Temperature

Failed To Set AGA-7 Configuration

Set Input: Turbine Low Flow Pulse Limit

Set Input: Turbine Low Flow Detect Time

Set AGA-7: Contract Units Type

Set ABA-7: Volume Option

AGA-7 Alarms and Events Description

AGA-11 Events and Alarms

These events and alarms are specific to the AGA-11 calculation.

Number Description

11101

11102

11103

Event

Failed To Create AGA-11 Data Structure

Created AGA-11 with Execution Stopped

Created AGA-11 with Execution Running

Alarm

Alarm

Realflo User and Reference Manual

May 19, 2011

818

Number Description

11104

11105

11106

11107

11108

11109

11110

14001

14002

14003

14004

14005

14006

14007

14008

Destroy AGA-11 Data Structure

Recovered from AGA-11 error

TeleBUS Protocol Interface

Change in AGA-11 units configuration

Change in AGA-11 contract units config

Change in AGA-11 base temperature

Coriolis Meter: Not Polled

Coriolis Meter: protocol error in response message.

The first byte returned from the meter was not the byte order.

The byte order returned from the meter was not known.

The units code returned from the meter was not known.

The meter has an unexpected configuration

.

Event

Change in AGA-11 base pressure

Failed To Set AGA-11 Configuration

Failed To Set Coriolis Meter

Set Coriolis Meter: Meter Address

Set Coriolis Meter: Meter Port

Set Coriolis Meter: Meter Timeout

Coriolis Meter: Lost Communication

Coriolis Meter: Communication Restored

Alarm

V-Cone Events and Alarms

These events and alarms are specific to the V-Cone calculation.

Number Description

12201

12202

12203

12204

12205

Failed To Create V-Cone Date Structure

Created V-Cone with Execution Stopped

Event

Created V-Cone with Execution Running

Destroyed V-Cone Data Structure

Recovered from V-Cone Error

12206

12207

12208

12209

12210

12211

12212

12213

12214

12215

12216

12217

12218

12219

12220

12221

12222

Failed To Set V-Cone Configuration

/* reserved */

Set V-Cone Input Units Type

Set V-Cone Contract Units Type

Set V-Cone Cone Material

Set V-Cone Pipe Material

Set V-Cone Cone Diameter

Set V-Cone Inside Pipe Diameter

Set V-Cone Pipe reference temperature

Set V-Cone Isentropic Exponent

Set V-Cone Viscosity

Set V-Cone Base Temperature

Set V-Cone Base Pressure

Set V-Cone Atmospheric Pressure

Set Table Point 1 Reynolds Number

Set Table Point 2 Reynolds Number

Set Table Point 3 Reynolds Number

Alarm

Realflo User and Reference Manual

May 19, 2011

819

Number

12223

12224

12225

12226

12227

12228

12229

12230

12231

12232

12233

12234

12235

12236

12237

12238

12239

12240

12241

12242

12243

Description

Set Table Point 4 Reynolds Number

Set Table Point 5 Reynolds Number

Set Table Point 6 Reynolds Number

Set Table Point 7 Reynolds Number

Set Table Point 8 Reynolds Number

Set Table Point 9 Reynolds Number

Set Table Point 10 Reynolds Number

Set Table Point 1 Flow Coefficient

Set Table Point 2 Flow Coefficient

Set Table Point 3 Flow Coefficient

Set Table Point 4 Flow Coefficient

Set Table Point 5 Flow Coefficient

Set Table Point 6 Flow Coefficient

Set Table Point 7 Flow Coefficient

Set Table Point 8 Flow Coefficient

Set Table Point 9 Flow Coefficient

Set Table Point 10 Flow Coefficient

Set Adiabatic Expansion Factor Method

Set Wet Gas Correction Factor Method

Set Density of liquid at flow conditions

Set Mass flow rate of liquid at flow

√ conditions

Event

V-Cone Alarms and Events Description

TeleBUS Protocol Interface

Alarm

AGA-8 Events and Alarms

These events and alarms are specific to the AGA-8 calculation.

Number Description

10801

10802

10804

10805

10806

10807

10808

10809

10810

10811

10812

10813

10814

10815

10816

10817

10818

10819

10820

10821

10822

10823

Failed To Create AGA-8 Data Structure

Created AGA-8 with Execution Stopped

Event

Created AGA-8 with Execution Running

Destroyed AGA-8 Data Structure

Set AGA-8 Gas: Change Gas Fractions

Set AGA-8 Gas: Methane (CH4)

Set AGA-8 Gas: Nitrogen

Set AGA-8 Gas: Carbon Dioxide (CO2)

Set AGA-8 Gas: Ethane (C2H6)

Set AGA-8 Gas: Propane (C3H8)

Set AGA-8 Gas: Water

Set AGA-8 Gas: Hydrogen Sulfide (H2S)

Set AGA-8 Gas: Hydrogen

Set AGA-8 Gas: Carbon Monoxide (CO)

Set AGA-8 Gas: Oxygen

Set AGA-8 Gas: iButane

Set AGA-8 Gas: nButane

Set AGA-8 Gas: iPentane

Set AGA-8 Gas: nPentane

Set AGA-8 Gas: nHexane

Set AGA-8 Gas: nHeptane

Set AGA-8 Gas: nOctane

Set AGA-8 Gas: nNonane

Alarm

Realflo User and Reference Manual

May 19, 2011

820

Number

10824

10825

10826

10827

10828

10829

10830

10831

10832

10833

10834

10835

Description

Set AGA-8 Gas: nDecane

Set AGA-8 Gas: Helium

Set AGA-8 Gas: Argon

Set AGA-8 Gas: Failed To Set

Failed To Set AGA-8 Configuration

Set AGA-8: Input Units Type

Set AGA-8: Base Temperature

Set AGA-8: Base Pressure

Set AGA-8: Atmospheric Pressure

Set AGA-8: Static Pressure Tap Location

Set AGA-8: Contract Units Type

Event

10836

10837

10838

10839

10840

10841

10842

10843

Clear Compressibility Error

Set AGA-8: Gas Composition Logging

Set AGA-8 Gas: Use combined Hexane

+ components

Set AGA-8 Hexane + Ratio for n-hexane

Set AGA-8 Hexane + Ratio for n-heptane

Set AGA-8 Hexane + Ratio for n-octane

Set AGA-8 Hexane + Ratio for n-nonane

Set AGA-8 Hexane + Ratio for n-decane

Set AGA-8: Set Laboratory Real Relative

10844

Density

Set AGA-8: Set Laboratory Forces

Heating Value

AGA-8 Alarms and Events Description

TeleBUS Protocol Interface

Alarm

NX-19 Events and Alarms

These events and alarms are specific to the NX-19 calculation.

Number

11901

11902

Description

Failed to Create NX-19 Data Structure

Events Alarm s

Created NX-19 with Execution Stopped

11903

11904

Created NX-19 with Execution Running

Destroyed NX-19 Data Structure

11905

11906

11907

11908

11909

11910

11911

11912

11913

11914

Restored from NX-19 error

Set NX-19: Calculation Method

Set NX-19: Specific Gravity

Set NX-19: Gas: Carbon Dioxide

Set NX-19: Gas: Methane

Set NX-19: Gas: Nitrogen

Set NX-19: Heating Value

Set NX-19: Static Pressure Tap Location

Set NX-19: Base Pressure

Set NX-19: Base Temperature

11915

11916

Failed to set NX-19 Gas Components

Failed to set NX-19 Contract

11917

11918

11919

Configuration

Set NX-19: Contract Units Type

Clear Compressibility Error

Set NX-19: Gas Composition Logging

Realflo User and Reference Manual

May 19, 2011

821

TeleBUS Protocol Interface

NX-19 Alarms and Events Description

Sensor Events and Alarms

These events and alarms are specific to the sensor.

Number Description

13100

13101

13102

13103

13104

13105

13106

13107

13108

13109

13110

13111

Event

Set Sensor 1: Polling Status

Set Sensor 1: Serial Port

Set Sensor 1: Address of Transmitter

Set Sensor 1: Timeout

Set Sensor 1: Manufacturer Code

Set Sensor 1: Turnaround Delay Time

Set Sensor 1: Differential Pressure Units

Set Sensor 1: Static Pressure Units

Set Sensor 1: Temperature Units

Set Sensor 1: Serial Number

Set Sensor 1: Tag

Set Sensor 1: Differential Pressure

13112

13113

13114

13115

13116

13117

13118

Damping

Set Sensor 1: Differential Pressure

Upper Operating Limit

Set Sensor 1: Static Pressure Lower

Set Sensor 1: Differential Pressure

Lower Operating Limit

Set Sensor 1: Static Pressure Damping

Set Sensor 1: Static Pressure Upper

Operating Limit

Operating Limit

Set Sensor 1: Temperature Damping

Set Sensor 1: Temperature Upper

Operating Limit

13119 Set Sensor 1: Temperature Lower

Operating Limit

13120

13121

Sensor 1: Lost Communication

Sensor 1: Transmitter Configuration

Incorrect

13122 Sensor 1: Temperature Sensor Out of

Range

13123 Sensor 1: Static Pressure Sensor Out of

Range

13124 Sensor 1: Differential Pressure Sensor

Out of Range

13125 Sensor 1: Not Polled

13126

13127

13128

13129

Set Sensor 1: Type Code

Set Sensor 1: IP Address

Set Sensor 1: IP Protocol

Sensor 1: Temperature Sensor has bad data

13130

13131

13132

Sensor 1: Static Pressure Sensor has bad data

Sensor 1: Differential Pressure Sensor has bad data

Set Sensor 1: Set Pressure Type and

Alarm

Realflo User and Reference Manual

May 19, 2011

822

Number Description

13133

13134

13135

13136

13137

13138

13139

13140

13141

13142

13150

13151

13152

13153

13154

13155

13156

13157

13158

13159

13160

13161

13162

13163

13164

13165

13166

13167

13168

13169

13170

13171

13172

13173

13174

13175

TeleBUS Protocol Interface

Event

Atmospheric Pressure

Sensor 1: Communication Restored

Sensor 1: Alarms Restored

Sensor 1: Sensors Offline

Sensor 1: RTD Disconnected

Sensor 1: Temperature Sensor Above

Range

Sensor 1: Static Sensor Above Range

Sensor 1: Differential Pressure Above

Range

Sensor 1: Temperature Sensor Below

Range

Sensor 1: Static Sensor Below Range

Sensor 1: Differential Pressure Below

Range

Set Sensor 2: Polling Status

Set Sensor 2: Serial Port

Set Sensor 2: Address of transmitter

Set Sensor 2: Timeout

Set Sensor 2: Manufacturer Code

Set Sensor 2: Turnaround Delay Time

Set Sensor 2: Differential Pressure Units

Set Sensor 2: Static Pressure Units

Set Sensor 2: Temperature Units

Set Sensor 2: Serial Number

Set Sensor 2: Tag

Set Sensor 2: Differential Pressure

Damping

Set Sensor 2: Differential Pressure

Upper Operating Limit

Set Sensor 2: Differential Pressure

Lower Operating Limit

Set Sensor 2: Static Pressure Damping

Set Sensor 2: Static Pressure Upper

Operating Limit

Set Sensor 2: Static Pressure Lower

Operating Limit

Set Sensor 2: Temperature Damping

Set Sensor 2: Temperature Upper

Operating Limit

Set Sensor 2: Temperature Lower

Operating Limit

Sensor 2: Lost Communication

Sensor 2: Transmitter Configuration

Incorrect

Sensor 2: Temperature Sensor Out of

Range

Sensor 2: Static Pressure Sensor Out of

Range

Sensor 2: Differential Pressure Sensor

Out of Range

Sensor 2: Not Polled

Alarm

Realflo User and Reference Manual

May 19, 2011

823

TeleBUS Protocol Interface

Number

13176

13177

13178

13179

13180

13181

13182

13183

13184

13185

13186

13187

13188

13189

13190

13191

13192

13200

13201

13202

13203

13204

13205

13206

13207

13208

13209

13210

13211

13212

13213

13214

13215

13216

13217

13218

13219

Description

Set Sensor 2: Type Code

Set Sensor 2: IP Address

Set Sensor 2: IP Protocol

Sensor 2: Temperature Sensor has bad data

Sensor 2: Static Pressure Sensor has bad data

Sensor 2: Differential Pressure Sensor has bad data

Set Sensor 2: Set Pressure Type and

Atmospheric Pressure

Sensor 2: Communication Restored

Sensor 2: Alarms Restored

Sensor 2: Sensors Offline

Sensor 2: RTD Disconnected

Sensor 2: Temperature Sensor Above

Range

Sensor 2: Static Sensor Above Range

Sensor 2: Differential Pressure Above

Range

Sensor 2: Temperature Sensor Below

Range

Sensor 2: Static Sensor Below Range

Sensor 2: Differential Pressure Below

Range

Set Sensor 3: Polling Status

Set Sensor 3: Serial Port

Set Sensor 3: Address of Transmitter

Set Sensor 3: Timeout

Set Sensor 3: Manufacturer Code

Set Sensor 3: Turnaround Delay Time

Set Sensor 3: Differential Pressure units

Set Sensor 3: Static Pressure units

Set Sensor 3: Temperature units

Set Sensor 3: Serial number

Set Sensor 3: Tag

Set Sensor 3: Differential Pressure

Damping

Set Sensor 3: Differential Pressure

Upper Operating Limit

Set Sensor 3: Differential Pressure

Lower Operating Limit

Set Sensor 3: Static Pressure Damping

Set Sensor 3: Static Pressure Upper

Operating Limit

Set Sensor 3: Static Pressure Lower

Operating Limit

Set Sensor 3: Temperature Damping

Set Sensor 3: Temperature Upper

Operating Limit

Set Sensor 3: Temperature Lower

Operating Limit

Event

Alarm

Realflo User and Reference Manual

May 19, 2011

824

Number Description

13220

13221

13222

13223

13224

13225

13226

13227

13228

13229

13230

13231

13232

13233

13234

13235

13236

13237

13238

13239

13240

13241

13242

13250

13251

13252

13253

13254

13255

13256

13257

13258

13259

13260

13261

13262

13263

Sensor 3: Lost Communication

TeleBUS Protocol Interface

Sensor 3: Transmitter Configuration

Incorrect

Sensor 3: Temperature Sensor Out of

Range

Sensor 3: Static Pressure Sensor Out of

Range

Sensor 3: Differential Pressure Sensor

Out of Range

Sensor 3: Not Polled

Set Sensor 3: Type Code

Set Sensor 3: IP Address

Set Sensor 3: IP Protocol

Sensor 3: Temperature Sensor has bad data

Sensor 3: Static Pressure Sensor has bad data

Event

Sensor 3: Differential Pressure Sensor has bad data

Set Sensor 3: Set Pressure Type and

Atmospheric Pressure

Sensor 3: Communication Restored

Sensor 3: Alarms Restored

Sensor 3: Sensors Offline

Sensor 3: RTD Disconnected

Sensor 3: Temperature Sensor Above

Range

Sensor 3: Static Sensor Above Range

Sensor 3: Differential Pressure Above

Range

Sensor 3: Temperature Sensor Below

Range

Sensor 3: Static Sensor Below Range

Sensor 3: Differential Pressure Below

Range

Set Sensor 4: Polling Status

Set Sensor 4: Serial Port

Set Sensor 4: Address of Transmitter

Set Sensor 4: Timeout

Set Sensor 4: Manufacturer Code

Set Sensor 4: Turnaround Delay Time

Set Sensor 4: Differential Pressure Units

Set Sensor 4: Static Pressure Units

Set Sensor 4: Temperature Units

Set Sensor 4: Serial Number

Set Sensor 4: Tag

Set Sensor 4: Differential Pressure

Damping

Set Sensor 4: Differential Pressure

Upper Operating Limit

Set Sensor 4: Differential Pressure

Lower Operating Limit

Alarm

Realflo User and Reference Manual

May 19, 2011

825

TeleBUS Protocol Interface

Number Description

13264

13265

Event

Set Sensor 4: Static Pressure Damping

Set Sensor 4: Static Pressure Upper

Operating Limit

13266 Set Sensor 4: Static Pressure Lower

Operating Limit

13267

13268

Set Sensor 4: Temperature Damping

Set Sensor 4: Temperature Upper

Operating Limit

13269 Set Sensor 4: Temperature Lower

Operating Limit

13270 Sensor 4: Lost Communication

13271

13272

Sensor 4: Transmitter Configuration

Incorrect

Sensor 4: Temperature Sensor Out of

Range

13273

13274

13275

13276

13277

13278

13279

13280

Sensor 4: Static Pressure Sensor Out of

Range

Sensor 4: Differential Pressure Sensor

Out of Range

Sensor 4: Not Polled

Set Sensor 4: Type Code

Set Sensor 4: IP Address

Set Sensor 4: IP Protocol

Sensor 4: Temperature Sensor has bad data

Sensor 4: Static Pressure Sensor has bad data

13281

13282

13283

13284

13285

13286

13287

13288

13289

13290

13291

13292

13300

13301

13302

13303

13304

13305

13306

Sensor 4: Differential Pressure Sensor has bad data

Set Sensor 4: Set Pressure Type and

Atmospheric Pressure

Sensor 4: Communication Restored

Sensor 4: Alarms Restored

Sensor 4: Sensors Offline

Sensor 4: RTD Disconnected

Sensor 4: Temperature Sensor Above

Range

Sensor 4: Static Sensor Above Range

Sensor 4: Differential Pressure Above

Range

Sensor 4: Temperature Sensor Below

Range

Sensor 4: Static Sensor Below Range

Sensor 4: Differential Pressure Below

Range

Set Sensor 5: Polling Status

Set Sensor 5: Serial Port

Set Sensor 5: Address of Transmitter

Set Sensor 5: Timeout

Set Sensor 5: Manufacturer Code

Set Sensor 5: Turnaround Delay Time

Set Sensor 5: Differential Pressure Units

Alarm

Realflo User and Reference Manual

May 19, 2011

826

TeleBUS Protocol Interface

Number

13307

13308

13309

13310

13311

13312

13313

13314

13315

13316

13317

13318

Description

Set Sensor 5: Static Pressure Units

Set Sensor 5: Temperature Units

Set Sensor 5: Serial Number

Set Sensor 5: Tag

Set Sensor 5: Differential Pressure

Damping

Set Sensor 5: Differential Pressure

Upper Operating Limit

Set Sensor 5: Static Pressure Lower

Set Sensor 5: Differential Pressure

Lower Operating Limit

Set Sensor 5: Static Pressure Damping

Set Sensor 5: Static Pressure Upper

Operating Limit

Operating Limit

Set Sensor 5: Temperature Damping

Set Sensor 5: Temperature Upper

Operating Limit

Event

13319 Set Sensor 5: Temperature Lower

Operating Limit

13320

13321

Sensor 5: Lost Communication

Sensor 5: Transmitter Configuration

Incorrect

13322

13323

13324

Sensor 5: Temperature Sensor Out of

Range

Sensor 5: Static Pressure Sensor Out of

Range

Sensor 5: Differential Pressure Sensor

Out of Range

Sensor 5: Not Polled 13325

13326

13327

13328

13329

13330

13331

Set Sensor 5: Type Code

Set Sensor 5: IP Address

Set Sensor 5: IP Protocol

Sensor 5: Temperature Sensor has bad data

Sensor 5: Static Pressure Sensor has bad data

Sensor 5: Differential Pressure Sensor has bad data

13332

13333

13334

13335

Set Sensor 5: Set Pressure Type and

Atmospheric Pressure

Sensor 5: Communication Restored

Sensor 5: Alarms Restored

Sensor 5: Sensors Offline

13336

13337

13338

13339

13340

Sensor 5: RTD Disconnected

Sensor 5: Temperature Sensor Above

Range

Sensor 5: Static Sensor Above Range

Sensor 5: Differential Pressure Above

Range

Sensor 5: Temperature Sensor Below

Range

Alarm

Realflo User and Reference Manual

May 19, 2011

827

Number Description

13341

13342

13350

13351

13352

13353

13354

13355

13356

13357

13358

13359

13360

13361

13362

13363

13364

13365

13366

13367

13368

13369

13370

13371

13372

13373

13374

13375

13376

13377

13378

13379

13380

13381

13382

13383

TeleBUS Protocol Interface

Sensor 5: Static Sensor Below Range

Sensor 5: Differential Pressure Below

Event

Range

Set Sensor 6: Polling Status

Set Sensor 6: Serial Port

Set Sensor 6: Address of Transmitter

Set Sensor 6: Timeout

Set Sensor 6: Manufacturer Code

Set Sensor 6: Turnaround Delay Time

Set Sensor 6: Differential Pressure Units

Set Sensor 6: Static Pressure Units

Set Sensor 6: Temperature Units

Set Sensor 6: Serial Number

Set Sensor 6: Tag

Set Sensor 6: Differential Pressure

Damping

Set Sensor 6: Differential Pressure

Upper Operating Limit

Set Sensor 6: Temperature Damping

Set Sensor 6: Temperature Upper

Operating Limit

Set Sensor 6: Differential Pressure

Lower Operating Limit

Set Sensor 6: Static Pressure Damping

Set Sensor 6: Static Pressure Upper

Operating Limit

Set Sensor 6: Static Pressure Lower

Operating limit

Set Sensor 6: Temperature Lower

Operating Limit

Sensor 6: Lost Communication

Sensor 6: Transmitter Configuration

Incorrect

Sensor 6: Temperature Sensor Out of

Range

Sensor 6: Static Pressure Sensor Out of

Range

Sensor 6: Differential Pressure Sensor

Out of Range

Sensor 6: Not Polled

Set Sensor 6: Type Code

Set Sensor 6: IP Address

Set Sensor 6: IP Protocol

Sensor 6: Temperature Sensor has bad data

Sensor 6: Static Pressure Sensor has bad data

Sensor 6: Differential Pressure Sensor has bad data

Set Sensor 6: Set Pressure Type and

Atmospheric Pressure

Sensor 6: Communication Restored

Alarm

Realflo User and Reference Manual

May 19, 2011

828

Number Description

13384

13385

13386

13387

13388

13389

13390

13391

13392

13400

13401

13402

13403

13404

13405

13406

13407

13408

13409

13410

13411

13412

13413

13414

13415

13416

13417

13418

13419

13420

13421

13422

13423

13424

13425

13426

13427

Sensor 6: Alarms Restored

Sensor 6: Sensors Offline

Sensor 6: RTD Disconnected

TeleBUS Protocol Interface

Sensor 6: Temperature Sensor Above

Range

Event

Sensor 6: Static Sensor Above Range

Sensor 6: Differential Pressure Above

Range

Sensor 6: Temperature Sensor Below

Range

Sensor 6: Static Sensor Below Range

Sensor 6: Differential Pressure Below

Range

Set Sensor 7: Polling Status

Set Sensor 7: Serial Port

Set Sensor 7: Address of Transmitter

Set Sensor 7: Timeout

Set Sensor 7: Manufacturer Code

Set Sensor 7: Turnaround Delay Time

Set Sensor 7: Differential Pressure Units

Set Sensor 7: Static Pressure Units

Set Sensor 7: Temperature Units

Set Sensor 7: Serial Number

Set Sensor 7: Tag

Set Sensor 7: Differential Pressure

Damping

Set Sensor 7: Differential Pressure

Upper Operating Limit

Set Sensor 7: Static Pressure Lower

Operating Limit

Set Sensor 7: Differential Pressure

Lower Operating Limit

Set Sensor 7: Static Pressure Damping

Set Sensor 7: Static Pressure Upper

Operating Limit

Set Sensor 7: Temperature Damping

Set Sensor 7: Temperature Upper

Operating Limit

Set Sensor 7: Temperature Lower

Operating Limit

Sensor 7: Lost Communication

Sensor 7: Transmitter Configuration

Incorrect

Sensor 7: Temperature Sensor Out of

Range

Sensor 7: Static Pressure Sensor Out of

Range

Sensor 7: Differential Pressure Sensor

Out of Range

Sensor 7: Not Polled

Set Sensor 7: Type Code

Set Sensor 7: IP Address

Alarm

Realflo User and Reference Manual

May 19, 2011

829

Realflo User and Reference Manual

May 19, 2011

830

Number Description

13472

13473

13474

13475

13476

13477

13478

13479

13480

13481

13482

13483

13484

13485

13486

13487

13488

13489

13490

13491

13492

13500

13501

13502

13503

13504

13505

13506

13507

13508

13509

13510

13511

13512

13513

13514

13515

TeleBUS Protocol Interface

Event

Incorrect

Sensor 8: Temperature Sensor Out of

Range

Sensor 8: Static Pressure Sensor Out of

Range

Sensor 8: Differential Pressure Sensor

Out of Range

Sensor 8: Not Polled

Set Sensor 8: Type Code

Set Sensor 8: IP Address

Set Sensor 8: IP Protocol

Sensor 8: Temperature Sensor has bad data

Sensor 8: Static Pressure Sensor has bad data

Sensor 8: Differential Pressure Sensor has bad data

Set Sensor 8: Set Pressure Type and

Atmospheric Pressure

Sensor 8: Communication Restored

Sensor 8: Alarms Restored

Sensor 8: Sensors Offline

Sensor 8: RTD Disconnected

Sensor 8: Temperature Sensor Above

Range

Sensor 8: Static Sensor Above Range

Sensor 8: Differential Pressure Above

Range

Sensor 8: Temperature Sensor Below

Range

Sensor 8: Static Sensor Below Range

Sensor 8: Differential Pressure Below

Range

Set Sensor 9: Polling Status

Set Sensor 9: Serial Port

Set Sensor 9: Address of Transmitter

Set Sensor 9: Timeout

Set Sensor 9: Manufacturer Code

Set Sensor 9: Turnaround Delay Time

Set Sensor 9: Differential Pressure Units

Set Sensor 9: Static Pressure Units

Set Sensor 9: Temperature Units

Set Sensor 9: Serial Number

Set Sensor 9: Tag

Set Sensor 9: Differential Pressure

Damping

Set Sensor 9: Differential Pressure

Upper Operating Limit

Set Sensor 9: Differential Pressure

Lower Operating Limit

Set Sensor 9: Static Pressure Damping

Set Sensor 9: Static Pressure Upper

Alarm

Realflo User and Reference Manual

May 19, 2011

831

Number Description

13516

13517

13518

13519

13520

13521

13522

13523

13524

13525

13526

13527

13528

13529

13530

13531

13532

13533

13534

13535

13536

13537

13538

13539

13540

13541

13542

13550

13551

13552

13553

13554

13555

13556

13557

TeleBUS Protocol Interface

Event

Operating Limit

Set Sensor 9: Static Pressure Lower

Operating Limit

Set Sensor 9: Temperature Damping

Set Sensor 9: Temperature Upper

Operating Limit

Set Sensor 9: Temperature Lower

Operating Limit

Sensor 9: Lost Communication

Sensor 9: Transmitter Configuration

Incorrect

Sensor 9: Temperature Sensor Out of

Range

Sensor 9: Static Pressure Sensor Out of

Range

Sensor 9: Differential Pressure Sensor

Out of Range

Sensor 9: Not Polled

Set Sensor 9: Type Code

Set Sensor 9: IP Address

Set Sensor 9: IP Protocol

Sensor 9: Temperature Sensor has bad data

Sensor 9: Static Pressure Sensor has bad data

Sensor 9: Differential Pressure Sensor has bad data

Set Sensor 9: Set Pressure Type and

Atmospheric Pressure

Sensor 9: Communication Restored

Sensor 9: Alarms Restored

Sensor 9: Sensors Offline

Sensor 9: RTD Disconnected

Sensor 9: Temperature Sensor Above

Range

Sensor 9: Static Sensor Above Range

Sensor 9: Differential Pressure Above

Range

Sensor 9: Temperature Sensor Below

Range

Sensor 9: Static Sensor Below Range

Sensor 9: Differential Pressure Below

Range

Set Sensor 10: Polling Status

Set Sensor 10: Serial Port

Set Sensor 10: Address of Transmitter

Set Sensor 10: Timeout

Set Sensor 10: Manufacturer Code

Set Sensor 10: Turnaround Delay Time

Set Sensor 10: Differential Pressure

Units

Set Sensor 10: Static Pressure Units

Alarm

Realflo User and Reference Manual

May 19, 2011

832

TeleBUS Protocol Interface

Number Description

13558

13559

13560

13561

13562

13563

13564

13565

13566

13567

13568

13569

Event

Set Sensor 10: Temperature Units

Set Sensor 10: Serial Number

Set Sensor 10: Tag

Set Sensor 10: Differential Pressure

Damping

Set Sensor 10: Differential Pressure

Upper Operating Limit

Set Sensor 10: Temperature Damping

Set Sensor 10: Temperature Upper

Operating Limit

Set Sensor 10: Differential Pressure

Lower Operating Limit

Set Sensor 10: Static Pressure Damping

Set Sensor 10: Static Pressure Upper

Operating Limit

Set Sensor 10: Static Pressure Lower

Operating Limit

Set Sensor 10: Temperature Lower

Operating Limit

13570 Sensor 10: Lost Communication

13571

13572

Sensor 10: Transmitter Configuration

Incorrect

Sensor 10: Temperature Sensor Out of

Range

13573

13574

13575

13576

13577

13578

13579

13580

Sensor 10: Static Pressure Sensor Out of Range

Sensor 10: Differential Pressure Sensor

Out of Range

Sensor 10: Not Polled

Set Sensor 10: Type Code

Set Sensor 10: IP Address

Set Sensor 10: IP Protocol

Sensor 10: Temperature Sensor has bad data

Sensor 10: Static Pressure Sensor has bad data

13581

13582

13583

13584

13585

13586

13587

13588

13589

13590

13591

Sensor 10: Differential Pressure Sensor has bad data

Set Sensor 10: Set Pressure Type and

Atmospheric Pressure

Sensor 10: Communication Restored

Sensor 10: Alarms Restored

Sensor 10: Sensors Offline

Sensor 10: RTD Disconnected

Sensor 10: Temperature Sensor Above

Range

Sensor 10: Static Sensor Above Range

Sensor 10: Differential Pressure Above

Range

Sensor 10: Temperature Sensor Below

Range

Sensor 10: Static Sensor Below Range

Alarm

Realflo User and Reference Manual

May 19, 2011

833

TeleBUS Protocol Interface

Number Description

13592 Sensor 10: Differential Pressure Below

Range

Event Alarm

A configuration change will usually cause a created CALC with Execution stopped, for example, 10202, created AGA-3 (1985), with execution stopped; or a Destroyed CALC, for example, 10204, Destroyed AGA-3

(1985 Data Structure), event to be logged as an event unless the meter was running before power was removed. In such cases, this change will be logged as an alarm when power is restored.

A configuration change where there is insufficient memory for the meter variables results in a Failed to Create CALC, for example, 10201 Failed to

Create AGA-3 (1985) Data Structure, to be logged as an event unless there is insufficient memory for the meter variables on power up. In such cases, this change is logged as an alarm.

Calibration and User Defined Alarms and Events

Realflo generates these events when performing calibration (not by the flow computer). User-defined events can also be created in the range 19000 to

19999. Refer to the Log User Event command for details.

Number Description

19001 Start Temperature Calibration

19016

19018

19019

19021

19022

19023

19024

19025

19026

19028

19029

19002

19003

19004

19005

19006

19007

19008

19009

19011

19012

19013

19014

19015

19031

19032

19033

19034

19039

Continue Temperature Calibration

As-Found Temperature

As-Left Temperature

Target Re-Zero Temperature

Target Temperature Span

Set Default Temperature

After Re-Zero Temperature

After Calibrate Temperature Span

Start Static Press Calibration

Continue Static Pressure Calibration

As-Found Static Pressure

As-Left Static Pressure

Target Re-Zero Static Pressure

Target Static Pressure Span

After Re-Zero Static Pressure

After Calibrate Static Pressure Span

Start Differential Pressure Calibration

Continue Differential Pressure Calibration

As-Found Differential Pressure

As-Left Differential Pressure

Target Re-Zero Differential Pressure

Target Differential Pressure Span

After Re-Zero Differential Pressure

After Calibrate Differential Pressure Span

Start Pulse Count Calibration

Continue Pulse Count Calibration

As-Found Pulse Count

As-Left Pulse Count

End Pulse Count Calibration

Realflo User and Reference Manual

May 19, 2011

834

TeleBUS Protocol Interface

Calibration and User Defined Alarms and Events Description

Realflo User and Reference Manual

May 19, 2011

835

TeleBUS Protocol Interface

Flow Computer Error Codes

This section contains tables of the error codes that are created by the flow computer.

Calculation Engine Errors

The flow calculation engine generates these errors.

Number Description

20001 Meter control structure not found

20002

20003

20004

20005

20006

Inputs have not been configured

Temperature input is below zero scale

Temperature input is above full scale

Static pressure input is below zero scale

Static pressure input is above full scale

20007

20008

20010

20011

20050

Differential pressure input is below zero scale

Differential pressure input is above full scale

Forced input register

Removed forced from input register

Restore from temperature input low alarm

20051

20052

20053

Restore from temperature input high alarm

Restore from static pressure input low alarm

Restore from static pressure input high alarm

20054

20055

20056

20057

Restore from differential pressure input low alarm

Restore from differential pressure input high alarm

Restore from low pulse input alarm

Restore from input alarm

Calculation Engine Errors Description

AGA-3 (1985) Calculation Errors

Number Description

20201

20202

20203

20204

20205

20206

20207

20208

20209

20210

AGA-3 (1985) - Input Units system is invalid

AGA-3 (1985) - Pipe diameter is too small

AGA-3 (1985) - Orifice diameter is too small

AGA-3 (1985) - Orifice diameter is larger than the pipe diameter

AGA-3 (1985) - Base pressure is zero or negative

AGA-3 (1985) - Base temperature is at or below absolute zero

AGA-3 (1985) - Relative density is zero or negative

AGA-3 (1985) - Supercompressibility is zero or negative

20211

20214

20221

20222

20223

20227

20228

AGA-3 (1985) - Viscosity is zero or negative

AGA-3 (1985) - Flowing temperature is at or below absolute zero

AGA-3 (1985) - Flow extension is zero or negative

AGA-3 (1985) - Invalid isentropic exponent

AGA-3 (1985) - Invalid pipe material

AGA-3 (1985) - Invalid orifice material

AGA-3 (1985) - Invalid static pressure tap location

AGA-3 (1985) - Differential pressure is zero or negative

AGA-3 (1985) - Configuration flag not set

Realflo User and Reference Manual

May 19, 2011

836

TeleBUS Protocol Interface

Number Description

20229

20230

20231

20234

AGA-3 (1985) - Ratios from AGA-8 or NX-19 were not available

AGA-3 (1985)

– Static Pressure Below Differential Pressure

AGA-3 (1985)

– Static Pressure Negative or Zero

AGA-3 (1985)

– Bad Calculation

AGA-3 (1985) Calculation Errors Description

AGA-3 (1992) Calculation Errors

These errors are generated by the AGA-3 calculation.

20311

20312

20313

20314

20315

20316

20317

20318

20319

20320

20321

20322

20323

20324

20325

Number Description

20301 AGA-3 (1992) - Input Units system is invalid

20302

20303

20304

20305

20306

AGA-3 (1992) - Pipe diameter is too small

AGA-3 (1992) - Orifice diameter is too small

AGA-3 (1992) - Orifice diameter is larger than the pipe diameter

AGA-3 (1992) - Base pressure is zero or negative

20307

20308

AGA-3 (1992) - Base temperature is at or below absolute zero

AGA-3 (1992) - Relative density is zero or negative

AGA-3 (1992) - Supercompressibility is zero or negative

20309

20310

20326

20327

20328

20329

20330

20331

20334

AGA-3 (1992) - Viscosity is zero or negative

AGA-3 (1992) - Flowing temperature is at or below absolute zero

AGA-3 (1992) - Flow extension is zero or negative

AGA-3 (1992) - Compressibility is negative at base conditions

AGA-3 (1992) - Compressibility is negative at flow conditions

AGA-3 (1992) - Invalid isentropic exponent

AGA-3 (1992) - Ratio of orifice to pipe diameter is small

AGA-3 (1992) - Ratio of orifice to pipe diameter is large

AGA-3 (1992) - Ratio of orifice to pipe diameter is too small

AGA-3 (1992) - Ratio of orifice to pipe diameter is too large

AGA-3 (1992) - Reynolds number is too small

AGA-3 (1992) - Reynolds number is too large

AGA-3 (1992) - Invalid pipe material

AGA-3 (1992) - Invalid orifice material

AGA-3 (1992) - Invalid static pressure tap location

AGA-3 (1992) - The discharge coefficient was not calculated

AGA-3 (1992) - Too many iterations to calculate the discharge coefficient

AGA-3 (1992) - The atmospheric pressure is invalid

AGA-3 (1992) - unused error code

AGA-3 (1992) - Configuration flag not set

AGA-3 (1992) - Ratios from AGA-8 or NX-19 were not available

AGA-3 (1992) - Static Pressure Below Differential Pressure

AGA-3 (1992) - Static Pressure Negative or Zero

AGA-3 (1992)

– Bad Calculation

AGA-3 (1992) Calculation Errors Description

Realflo User and Reference Manual

May 19, 2011

837

TeleBUS Protocol Interface

AGA-7 Calculation Errors

These errors are generated by the AGA-7 calculation.

20710

20711

20712

20713

20714

20715

20716

20717

20718

20719

20720

Number Description

20701

20702

AGA-7 - Failed to create

AGA-7 - Unused error code

20703

20704

20705

20706

20707

20708

20709

AGA-7 - Input Units system is invalid

AGA-7 - Base pressure is low

AGA-7 - Base temperature is at or below absolute zero

AGA-7 - K factor is negative or zero

AGA-7 - M factor is negative or zero

AGA-7 - Atmospheric pressure is negative

AGA-7 - Supercompressibility is zero or negative

AGA-7 - Compressibility is negative at base conditions

AGA-7 - Pulse count is negative

AGA-7 - Flow temperature is low

AGA-7 - Flow pressure is low

AGA-7 - Pulse count is low

AGA-7 - Configuration flag not set

AGA-7 - Ratios from AGA-8 or NX-19 are not available

AGA-7 - Input values are not available

AGA-7 - Contract Units system is invalid

AGA-7

– Volume Option is Invalid

AGA-7

– Bad Calculation

AGA-7 Calculation Errors Description

AGA-11 Calculation Errors

These errors are generated by the AGA-11 calculation.

Number Description

21101

21102

21103

21104

21105

21106

21107

21108

AGA-11 - Bad units

AGA-11 - Bad contract units

AGA-11 - Base Pressure negative or zero

AGA-11 - Base Temperature negative or zero

AGA-11 - Bad calculation

AGA-11 - Configuration flag not set

AGA-11 - Ratios from AGA-8 were not available

AGA-11

– Input not available

AGA-11 Calculation Errors Description

V-Cone Calculation Errors

These errors are generated by the V-Cone calculation.

Number Description

22201 V-Cone - Input Units system is invalid

22202

22203

22204

V-Cone - Contract units system is invalid

V-Cone - Invalid pipe material

V-Cone - Invalid cone material

22205

22206

22207

22208

V-Cone - Pipe diameter is too small

V-Cone - Cone diameter is too small

V-Cone - cone diameter is larger than the pipe diameter

V-Cone - Base pressure is zero or negative

Realflo User and Reference Manual

May 19, 2011

838

TeleBUS Protocol Interface

Number Description

22219

22220

22221

22222

22223

22224

22225

22226

22227

22209

22210

22211

22212

22213

22214

22215

22216

22217

22218

22228

22229

22230

22232

22233

V-Cone - Base temperature is zero or negative

V-Cone - Viscosity is zero or negative

V-Cone - Invalid isentropic exponent

V-Cone - The atmospheric pressure is invalid

V-Cone - Reynolds/coefficient table length is invalid

V-Cone - First Reynolds/coefficient point is invalid

V-Cone - A Reynolds/coefficient point is invalid

V-Cone - Reynolds number lower than previous point

V-Cone - Coefficient lower than previous point

V-Cone - Supercompressibility is zero or negative

V-Cone - Compressibility is negative at base conditions

V-Cone - Compressibility is negative at flow conditions

V-Cone - Flow temperature is at or below absolute zero

V-Cone - Configuration flag not set

V-Cone - Ratios from AGA-8 or NX-19 were not available

V-Cone - Input values were not available

V-Cone - Calculated Reynolds number is too small

V-Cone - Calculated Reynolds number is too large

V-Cone - Too many iterations for the Reynolds number to converge

V-Cone

– Static Pressure Below Differential Pressure

V-Cone

– Static Pressure Negative or Zero

V-Cone

– Bad Calculation

V-Cone

– Invalid Adiabatic Expansion Factor Setting.

Froude number invalid

– wet gas correction cannot be done.

V-Cone Calculation Errors Description

AGA-8 Calculation Errors

These errors are generated by the AGA-8 calculation.

Number Description

20801

20802

AGA-8 - Failed to create

AGA-8 - Input Units system is invalid

20803

20804

20805

20806

20807

AGA-8 - Bad gas component

AGA-8 - Components do not sum to 1.000

AGA-8 - Base temperature is out of range

AGA-8 - Heating-value temperature is out of range

AGA-8 - Base pressure is high

20808

20809

20810

20811

20812

20813

20814

20815

20816

20817

20818

20819

20820

AGA-8 - Invalid static pressure tap location

AGA-8 - Flow temperature is low

AGA-8 - Flow temperature is high

AGA-8 - Flow pressure is low

AGA-8 - Flow pressure is high

AGA-8 - Invalid calculation code

AGA-8 - Not configured

AGA-8 - Bracket exceed iterates

AGA-8 - Bracket negative derivative

AGA-8 - Not running

AGA-8 - Atmospheric pressure is invalid

AGA-8 - No gas components

AGA-8 - No inputs received

Realflo User and Reference Manual

May 19, 2011

839

TeleBUS Protocol Interface

Number Description

20821

20822

20823

20824

20825

20826

20827

AGA-8 - Contract Units system is invalid

AGA-8 - Bad log option

AGA-8 Bad Hexanes+ option

AGA-8 Bad Hexanes+ ratio

AGA-8 Hexanes+ ratios to not sum to 100

AGA-8

– Bad laboratory real relative density

AGA-8

– Bad laboratory heating value

AGA-8 Calculation Errors Description

NX-19 Calculation Errors

These errors are generated by the NX-19 calculation.

Number Description

21901 NX-19 - Failed to create

21902

21903

21904

21905

21906

NX-19 - Input Units system is invalid

NX-19 - Base temperature is out of range

NX-19 - Base pressure is high

NX-19 - Invalid static pressure tap location

NX-19 - Bad method

21907

21908

21909

21910

21911

21912

21913

21914

21915

21916

21917

21918

21919

21920

21921

NX-19 - Gravity is out of range

NX-19 - CO2 is out of range

NX-19 - Methane is out of range

NX-19 - Nitrogen is out of range

NX-19 - Gas fractions are out of range

NX-19 - Heating value temperature is out of range

NX-19 - Temperature is out of range

NX-19 - Flow pressure is low

NX-19 - Flow pressure is high

NX-19 - Configuration flag not set

NX-19 - Gas ratios were not available

NX-19 - Input values were not available

NX-19 - Not running

NX-19 - Contract Units system is invalid

NX-19

– Density Temperature High

NX-19 Errors Description

Flow Calculation Engine Command Errors

These errors are generated by commands executed by the flow calculation engine.

Number Description

30001 Invalid meter number

30002

30003

30004

30005

30006

30007

30008

30009

Invalid user number

Illegal meter number

Illegal user number

Undefined command

Unmatched meter number

Cannot change configuration while the calculations are running

Calculation units out of range

Illegal calculation type for flow calculation

Realflo User and Reference Manual

May 19, 2011

840

TeleBUS Protocol Interface

Number Description

30020

30023

30024

30025

30026

30027

30028

30029

30030

30031

30032

30033

30034

30010

30011

30012

30013

30014

30015

30016

30017

30018

30019

30035

30036

30037

30038

30039

30040

30041

30042

30043

30044

30045

30046

30047

30048

30049

30050

30051

30052

30053

30054

30055

30056

30057

30058

30059

30064

Illegal calculation type for compressibility calculation

Failed to set the contract configuration

Failed to change the gas fractions

Invalid register address

Negative value for input scale

Full scale input less than zero scale input

Contract hour is too high

Invalid data in a time register

First event position is zero or larger than queue size

Requested number of events is zero or too large

Did not find any event data for the passed parameters

Failed to flush the event log

NX-19 calculation is not configured

Day offset is too large userID does not exist

User is not authorized to perform this function.

Flow Computer is not in calibration mode

Forced temperature is out of valid range

Calibration temperature is out of valid range

The contract is not configured

Temperature level limit not within input range

Static pressure level limit not within input range

Temperature level hysteresis is invalid

Static pressure hysteresis is invalid

No temperature range remains between hysteresis limits

No static pressure range remains between hysteresis limits

Save input events selection is invalid

Invalid static pressure tap location

Atmospheric pressure is less than zero

Atmospheric pressure is too high

Forced static pressure is invalid

Forced differential pressure is invalid

Forced pulse count is invalid

The execution state is invalid

The execution state did not change, may not be configured

The event ID is not a valid user defined event ID

The register type is invalid

Attempted to set an invalid number of active runs.

Attempted to reduce the number of active runs when one still running.

Attempted to start a valid but inactive run.

Flow computer cannot execute the command because the event log is full. Read the event log then retry the operation.

The Alarm register position is not valid.

The Alarm register size is not valid.

The Alarm register data is not valid.

Failed to acknowledge alarms.

Attempted to set an invalid altitude.

Attempted to set an invalid latitude.

Attempted to set an invalid Wet Gas Meter Factor

Flow Computer cannot execute the command because the

Realflo User and Reference Manual

May 19, 2011

841

TeleBUS Protocol Interface

Number Description

30065

30066

30067

30068

30074

Measurement Canada lockout jumper is installed.

Illegal gas quality source type

Flow Direction Control setting is invalid

Flow Direction Register setting is invalid

Forced mass flow rate is invalid

On Indicates setting is invalid

Engine Commands Errors Description

MVT Command Errors

The following new error codes are defined.

Number Description

30101 Sensor search parameters invalid

30111

30112

30113

30114

30115

30116

30117

30118

30119

30120

30121

30122

30123

30124

30102

30103

30104

30105

30106

30107

30108

30109

30110

30125

30126

30127

30128

30129

30130

30131

30132

Sensor address invalid

Invalid sensor number

Sensor did not respond

Polling status is invalid

Serial port is invalid

Address of sensor is invalid

Timeout is invalid

Turnaround delay time is invalid

Differential pressure units is invalid

Static pressure units is invalid

Temperature units is invalid

Differential pressure damping is invalid

Differential pressure upper operating limit is invalid

Differential pressure lower operating limit is invalid

Static pressure damping is invalid

Static pressure upper operating limit is invalid

Static pressure lower operating limit is invalid

Temperature damping is invalid

Temperature upper operating limit is invalid

Temperature lower operating limit is invalid

Invalid sensor type

Sensor not enabled

Invalid register type

Sensor returned function exception

Sensor returned address exception

Sensor returned value exception

Bad manufacturer or type code for internal SCADAPack 4200 or 4300

Cannot write to device: bad manufacturer, type code or identifier

Display interval is invalid

A display custom item identifier is invalid

Sensor communication error

30133

30134

30135

30136

30137

Invalid protocol type

Atmospheric pressure offset is invalid

Custom display number is invalid

Custom display data type is invalid

Custom display description string is empty.

Realflo User and Reference Manual

May 19, 2011

842

TeleBUS Protocol Interface

Coriolis Meter Errors

Number Description

33001

33002

33003

33004

33005

Coriolis Meter - Address is invalid

Coriolis Meter - Port is invalid

Coriolis Meter - Timeout is invalid

Coriolis Meter - Device code invalid

Coriolis Meter - Adding Coriolis meter failed

SolarPack 410 Errors

Number Description

30138

30139

30140

Invalid pulse configuration

Invalid gas sampler output configuration

Invalid power management configuration

AGA-3 Command Errors

These errors are generated by commands executed by the AGA-3 calculation.

Number Description

30301

30302

AGA-3 is not configured

Failed to configure AGA-3

30303

30304

30305

Differential pressure level limit is invalid

Differential pressure level hysterisis is invalid

No differential pressure range remains between hysterisis limits

AGA-3 Command Errors Description

AGA-7 Command Errors

These errors are generated by commands executed by the AGA-7 calculation.

Number Description

30701 AGA-7 is not configured

30702

30703

30704

Failed to configure AGA-7

Low flow pulse limit is invalid

Low flow pulse duration is invalid

AGA-7 Command Errors Description

AGA-11 Command Errors

These errors are generated by commands executed by the AGA-11 calculation.

Number Description

31101

31102

AGA-11 - not configured for use

AGA-11 - Failed to configure AGA-11

V-Cone Command Errors Description

V-Cone Command Errors

These errors are generated by commands executed by the V-Cone calculation.

Realflo User and Reference Manual

May 19, 2011

843

TeleBUS Protocol Interface

Number Description

32201

32202

V-Cone is not configured

Failed to configure V-Cone

V-Cone Command Errors Description

AGA-8 Command Errors

These errors are generated by the executed by the AGA-8 calculation.

Number Description

30801 AGA-8 is not configured for use

30802 Failed to configure AGA-8

AGA-8 Command Errors Description

NX-19 Command Errors

These errors are generated by the executed by the NX-19 calculation.

Number Description

31901

31902

31903

NX-19 is not configured for use

Failed to configure NX-19 contract items

Failed to configure NX-19 gas components

NX-19 Command Errors Description

Flow Computer Commands

The following table is a complete list of commands used in the command

sequence configuration of the flow computer. Refer to the

TeleBUS

Protocol Interface

section for information on using these commands.

20

21

22

23

30

31

32

34

Command

Number

15

16

17

18

19

1

3

6

8

9

11

12

13

35

Command Description

Get input configuration

Set input configuration

Set Real Time Clock

Set execution state

Adjust Real Time Clock

Get hourly history

Get daily history

Get contract configuration

Set contract configuration

Set number of runs

Set Flow Computer ID

Get Flow Computer ID

Set runID

Get runID

Set Long Run ID

Get Long Run ID

Set Enron Modbus Time Stamp

Start Temperature Calibration: Force current temperature

Start Temperature Calibration: Force fixed temperature

End Temperature Calibration

Start Static Pressure Calibration: Force current static pressure

Start Static Pressure Calibration: Force fixed static

Realflo User and Reference Manual

May 19, 2011

844

TeleBUS Protocol Interface

60

60

61

62

63

64

65

75

52

53

54

55

56

46

47

48

50

51

40

41

42

43

44

45

81

82

83

84

85

76

77

78

79

80

86

87

88

89

90

91

92

93

Command

Number

37

38

94

Command Description

pressure

End Static Pressure Calibration

Start Differential Pressure Calibration: Force current differential pressure

Start plate change: force current temperature

Start plate change: force fixed temperature

End plate change: temperature

Start plate change: force current static pressure

Start plate change: force fixed static pressure

End plate change: static pressure

Start plate change: force current differential pressure

Start plate change: force fixed differential pressure

End plate change: differential pressure

Get number of new events

Get requested new events

Get recent events

Acknowledge events

Log user defined event

Get number of all events

Get requested all events

Get number of new alarms

Get number of new alarms

Get requested new alarms

Get recent alarms

Acknowledge alarms

Get number of all alarms

Get requested all alarms

Start Pulse Count Calibration: Force current pulse count rate

Start Pulse Count Calibration: Force fixed pulse count rate

End Pulse Count Calibration

Force current temperature

Force fixed temperature

Remove forced temperature

Force current static pressure

Force fixed static pressure

Remove forced static pressure

Force current differential pressure

Force fixed differential pressure

Remove forced differential pressure

Force current pulse count rate

Force fixed pulse count rate

Remove forced pulse count rate

Force current mass flow rate

Force fixed mass flow rate

Remove forced mass rate

Start Mass Flow Rate Calibration: Force current Mass Flow

Rate

Start Mass Flow Rate Calibration: Force fixed Mass Flow

Rate

Realflo User and Reference Manual

May 19, 2011

845

TeleBUS Protocol Interface

151

301

303

351

353

701

703

801

139

140

142

143

144

146

147

150

802

803

804

1901

1903

2201

2203

112

130

131

132

133

134

135

136

137

138

Command

Number

95

100

101

102

103

104

112

Command Description

End Mass Flow Rate Calibration

Lookup user number

Lookup userID

Delete account

Update account

Read next account

Get Coriolis meter configuration

Set Coriolis meter configuration

Search for MVT sensor

Change address of MVT sensor

Get MVT configuration

Set MVT configuration

Get MVT sensor information

Calibrate MVT sensor

Read MVT configuration

Get Display Control Configuration

Set Display Control Configuration

Set Sensor Mode

Get number of process inputs

Get process input

Set process input

Get number of process outputs

Get process output

Set process output

Get Custom Display Configuration

Set Custom Display Configuration

Get AGA-3 (1992) configuration

Set AGA-3 (1992) configuration

Get AGA-3 (1985) configuration

Set AGA-3 (1985) configuration

Get AGA-7 configuration

Set AGA-7 configuration

Get AGA-8 gas ratios

Get AGA-8 Hexanes+ Gas Ratios

Set AGA-8 gas ratios

Set AGA-8 Hexanes+ Gas Ratios

Get NX19 gas ratios

Set NX19 gas ratios

Get V-Cone configuration

Set V-Cone Configuration

Realflo User and Reference Manual

May 19, 2011

846

Flow Computer Register Grouping

Flow Computer Register Grouping

Register grouping provides a method to group commonly read data from a

SolarPack 410 flow computer. The data that is commonly read is in scattered register locations in the flow computer. Register grouping enables the SCADA Host to read a sequential block of data in a single read command. The start address for the register group is user defined.

SolarPack 410 flow computer version 6.51 or later is required for this feature.

Register Group Data

The flow computer data and the order of the register locations are shown the table below. The data is grouped in consecutive Modbus Input (30000)

or Modbus Holding (40000) registers. See the

Configure Register Group

Location

section below for information on how to define the Start Register.

Data in the register group are floating point values with the high word in the lower numbered register. This format is common to Telepace, ISaGRAF and

Realflo and is readily accessible by SCADA Host packages. The Battery

Voltage and Contract Hour are internally converted from integer format to floating point format.

The flow computer data for each register is described in the Description column of the table.

The Units column describes the flow computer data units as defined in the flow computer Inputs and Contract configuration. These units are configured using Realflo configuration Inputs tab and Contract tab respectively.

Register Group

Start Register

Format Description

Float Battery voltage

Start Register + 1 Float

Start Register + 2 Float

Differential pressure

(AGA-3 or V-Cone) or pulse rate (AGA-7)

Static pressure

Units

volts

Input

Input

Source

Instantaneous input

Instantaneous input

Start Register + 3 Float

Start Register + 4 Float

Temperature Input

Instantaneous input

Instantaneous input

Instantaneous input

Forced inputs flags: register contains the sum of each force flag:

1 = DP or pulse rate forced

10 = SP forced

100 = Temp forced

For example if both SP and temperature are forced the value in the none

Realflo User and Reference Manual

May 19, 2011

847

Flow Computer Register Grouping

Register Group

Start Register + 5

Format Description

Float register will be 110.

Volume rate

Start Register + 6

Start Register + 7

Start Register + 8

Start Register + 9

Start Register + 10

Start Register + 11

Start Register + 12

Start Register + 13

Start Register + 14

Start Register + 15

Start Register + 16

Start Register + 17

Start Register + 18

Start Register + 19

Float

Float

Float

Float

Float

Float

Float

Float

Float

Float

Float

Float

Float

Float

Units Source

Flow extension (AGA-3)

or uncorrected volume rate

(AGA-7)

Accumulated volume today

Accumulated volume yesterday

Accumulated energy today

Accumulated energy yesterday

Flow duration today

Flow duration yesterday

Accumulated mass today

Accumulated mass yesterday

Heating value

Mass density

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Seconds Instantaneous calculated

Seconds Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Contract Instantaneous calculated

Input Configured Orifice diameter (AGA-3) or

cone diameter (V-Cone)

Contract hour

Pipe diameter

None

Input

Configured

Configured

Realflo User and Reference Manual

May 19, 2011

848

Flow Computer Register Grouping

Configure Register Group Location

The register group is defined, enabled and monitored using a block of three

Modbus registers as seen in the table below.

Modbus

Register

48520

(input)

48521

(input)

48522

(output)

Format

UINT

UINT

UINT

Description

Register Group Start Register

30001 to 39760

40501 to 47460

Excluding the flow computer reserved registers 40001 to 40500,

43180 to 43799 and 47500 to 49999.

See the

Register Addresses

section for information on reserved

registers.

Register Group Enable Register

0 = OFF(Do not copy flow computer data to register group)

1 = ON (Copy flow computer data to register group)

Register Group Status Register

0 = OFF (Enable is OFF)

1 = ON (flow computer data is copied to register group)

2 = Invalid Start Register

3 = Overlaps flow computer reserved registers.

(40001 to 40500, 43180 to 43799, 47500 to 49999 are reserved)

4 = Overlaps Device Identifier reserved registers.

(39800 to 39999 are reserved)

To configure the register group the Register Group Start Register needs to be defined. To do this write the start register address into register 48520.

For example if you want the register group to stat at register 31000 the value 31000 needs to be written to register 48520. In this case the flow computer data is written to registers 31000 (Start Register) through 31020

(Start Register + 19)

Once the register group is configured the Register Group Enable Register is used to enable of disable the register group. The register group is enabled by writing a value of 1 into register 48521.The register group is disabled by writing a value of 0 into register 48521.

To monitor the status of the register group monitor register 48522. The status codes are shown in the table above. The Register Group Status

Register provides immediate feedback about the validity of the settings.

The register group data is copied to the registers only when the Register

Group Status Register status register has a value of 1.

The Realflo Custom View feature is used to write values to the Register

Group Start Register (48520) and the Register Group enable Register

(48521) and to read the Register Group Status Register (48522). See the

Custom Views Command

section for complete details on using the

Custom View to write and monitor the register Group registers.

Realflo User and Reference Manual

May 19, 2011

849

Flow Computer Application ID

Flow Computer Application ID

Realflo automatically enables device configuration register mapping when the flow computer is run. Device configuration registers provide useful information on the flow computer, logic applications and controller used in a

Realflo application.

Refer to the Telepace, ISaGRAF and appropriate C Tools manuals for complete information on enabling and disabling Device Configuration

Register mapping.

Flow computers set their application ID using the C API and enable the device configuration register mapping. This can be disabled from a logic application or other C applications.

Application Identifiers

Each flow computer application is identified by a unique value. See the table in the Device Configuration Read Only Registers for the actual registers used.

Description Value

Company ID 1 = Control Microsystems

Application number 1 = SCADAPack & SCADAPack 4202 Telepace

2 = SCADAPack & SCADAPack 4202 Telepace

(Enron Modbus)

3 = SCADAPack & SCADAPack 4202 ISaGRAF

4 = SCADAPack & SCADAPack 4202 ISaGRAF

(Enron Modbus)

5 = SCADAPack 32 Telepace

6 = SCADAPack 32 ISaGRAF

7 = SCADAPack 330 & 334 Telepace

8 = SCADAPack 330 & 334 ISaGRAF

9 = SCADAPack 350 Telepace

10 = SCADAPack 350 ISaGRAF

11 = SCADAPack 4203 Telepace

12 = SCADAPack 4203 ISaGRAF

13 = SolarPack 410 Telepace

14 = SolarPack 410 ISaGRAF (not implemented)

15 = Reserved

16 = Reserved

17 = SCADAPack 32 Telepace with PEMEX

18 = SCADAPack 32 ISaGRAF with PEMEX

19 = SCADAPack 330 & 334 Telepace with

PEMEX

20 = SCADAPack 330 & 334 ISaGRAF with

PEMEX

21 = SCADAPack 350 Telepace with PEMEX

22 = SCADAPack 350 ISaGRAF with PEMEX

23 = SCADAPack 4203 Telepace with PEMEX

24 = SCADAPack 4203 ISaGRAF with PEMEX

25 = SolarPack 410 Telepace with PEMEX

26 = SolarPack 410 ISaGRAF with PEMEX (not

Realflo User and Reference Manual

May 19, 2011

850

Flow Computer Application ID implemented)

27 = Reserved

28 = Reserved

29 = SCADAPack 32 Telepace with GOST (not implemented)

30 = SCADAPack 32 ISaGRAF with GOST (not implemented)

31 = SCADAPack 330 & 334 Telepace with GOST

32 = SCADAPack 330 & 334 ISaGRAF with

GOST

33 = SCADAPack 350 Telepace with GOST

34 = SCADAPack 350 ISaGRAF with GOST

35 = SCADAPack 4203 Telepace with GOST (not implemented)

36 = SCADAPack 4203 ISaGRAF with GOST (not implemented)

37 = SolarPack 410 Telepace with GOST (not implemented)

38 = SolarPack 410 ISaGRAF with GOST (not implemented)

39 = Reserved

40 = Reserved

41 = SCADAPack 314 Telepace

42 = SCADAPack 314 ISaGRAF

43 = SCADAPack 314 Telepace with PEMEX

44 = SCADAPack 314 ISaGRAF with PEMEX

45 = SCADAPack 314 Telepace with GOST

46 = SCADAPack 314 ISaGRAF with GOST

Application version Current version of the flow computer

Device Configuration Read Only Registers

The Device configuration is stored in Modbus input (3xxxx) registers as shown below. The registers are read with standard Modbus commands.

These registers cannot be written to. Device configuration registers used fixed addresses. This facilitates identifying the applications in a standard manner.

The following information is stored in the device configuration. 2 logic application identifiers are provided for compatibility with SCADAPack ES/ER controllers that provide 2 ISaGRAF applications. The second logic application identifier is not used with other controllers. 32 application identifiers are provided to accommodate C applications in SCADAPack

314/330/350 controllers.

Register Description

39800 Controller ID (ASCII value), first byte.

39801

39802

39803

Controller ID (ASCII value), second byte.

Controller ID (ASCII value), third byte.

Controller ID (ASCII value), fourth byte.

39804

39805

39806

39807

Controller ID (ASCII value), fifth byte.

Controller ID (ASCII value), sixth byte.

Controller ID (ASCII value), seventh byte.

Controller ID (ASCII value), eighth byte.

Realflo User and Reference Manual

May 19, 2011

851

Flow Computer Application ID

39859

39862

39865

39868

39871

39874

39877

39880

39883

39886

39889

39817

39820

39823

39826

39829

39832

39835

39838

39841

39844

39847

39850

39853

39856

39892

39895

39898

39901

39904

39907

Register Description

39808

39809

39810

39811

39812

39813

39814

39815

39816

Firmware version (major*100 + minor)

Firmware version build number (if applicable)

Logic Application 1 - Company ID (see below)

Logic Application 1 - Application number (0 to 65535)

Logic Application 1 - Application version (major*100 + minor)

Logic Application 2 - Company ID (see below)

Logic Application 2 - Application number (0 to 65535)

Logic Application 2 - Application version (major*100 + minor)

Number of applications identifiers used (0 to 32)

Identifiers are listed sequentially starting with identifier 1.

Unused identifiers will return 0.

Application identifier 1 (see format below)

Application identifier 2 (see format below)

Application identifier 3 (see format below)

Application identifier 4 (see format below)

Application identifier 5 (see format below)

Application identifier 6 (see format below)

Application identifier 7 (see format below)

Application identifier 8 (see format below)

Application identifier 9 (see format below)

Application identifier 10 (see format below)

Application identifier 11 (see format below)

Application identifier 12 (see format below)

Application identifier 13 (see format below)

Application identifier 14 (see format below)

Application identifier 15 (see format below)

Application identifier 16 (see format below)

Application identifier 17 (see format below)

Application identifier 18 (see format below)

Application identifier 19 (see format below)

Application identifier 20 (see format below)

Application identifier 21 (see format below)

Application identifier 22 (see format below)

Application identifier 23 (see format below)

Application identifier 24 (see format below)

Application identifier 25 (see format below)

Application identifier 26 (see format below)

Application identifier 27 (see format below)

Application identifier 28 (see format below)

Application identifier 29 (see format below)

Application identifier 30 (see format below)

Application identifier 31 (see format below)

Realflo User and Reference Manual

May 19, 2011

852

Flow Computer Application ID

Register Description

39910

39913 to

39999

Application identifier 32 (see format below)

Reserved for future expansion

Application Identifier

The application identifier is formatted as follows.

Register

Start

Start +1

Start +2

Description

Company ID (see below)

Application number (0 to 65535)

Application version (major*100 + minor)

Company Identifier

Control Microsystems maintains a list of company identifiers to keep the company ID is unique. Contact Control Microsystems for a Company ID.

Company ID 0 indicates an identifier is unused.

Company IDs 1 to 100 are reserved for Control Microsystems use.

Realflo User and Reference Manual

May 19, 2011

853

Enron Modbus Protocol Interface

Enron Modbus Protocol Interface

The Enron Modbus protocol is used widely in the Oil and Gas industry to obtain data from electronic flow measurement devices. The protocol is a defacto standard in many industries. Control Microsystems supports this protocol in our flow computer products.

The Enron Modbus protocol is based on the Modbus ASCII and RTU protocols. Message framing is identical to the Modbus protocols. However, there are many differences in message formatting and register numbering, at both the logical and protocol levels.

The document Specifications and Requirements for an Electronic Flow

Measurement Remote Terminal Unit describes the Enron Modbus protocol.

The flow computer supports Enron Modbus and standard Modbus on the same serial port. Standard Modbus will use one station address and Enron

Modbus uses a different station address.

The flow computer does not determine which format a message is using, because the station address separates the data streams. This architecture allows standard PC applications to communicate with the flow computer in the normal manner. Enron Modbus hosts can communicate at the same time.

The flow computer program processes Enron Modbus commands, sends master messages, and processes master responses. This architecture allows the Enron Modbus commands to directly access flow computer data.

Flow computer data is accessed directly when a command is processed.

When data is written to the numeric registers for configuration, the flow computer reads the existing data structures, replace the targeted fields with new data and attempts to configure the run with the new configuration. This may be repeated with other configuration items when the command message is long.

Some registers are read only. The flow computer will not allow these registers to be written by not providing a write handler for these registers.

The flow computer supports the following Enron function codes.

Command

1

3

5

6

7

15

16

Description

Read multiple boolean variables

Read multiple numeric variables

Write single boolean variable

Write single numeric variable

Read unit status

Write multiple boolean variables

Write multiple numeric variables

Realflo User and Reference Manual

May 19, 2011

854

Enron Modbus Protocol Interface

Register Addresses

The addresses in the messages refer to system addresses, not type specific addresses. The commands will return exception errors if the command refers to addresses outside the valid range for the command.

There are ranges of Enron registers to hold short integers, long integers and single precision floats. The ranges are as follows.

Range Data Type

32

701

– 720

Event/Alarm archive

Hourly/Daily archive

741 - 750 Hourly Gas Quality History

1001 - 2999 Boolean

3001 - 4999 Short integer

5001 - 6999 Long integer

7000 - 9999 Float

In general, both Numeric and Boolean function codes can be used to read and write any type of registers. Consult the Enron Modbus specification for details.

Refer to the

Flow Computer Variables

section of this document for details

on the registers allocated to the flow computer.

Variable Types

Boolean Variables

Boolean variables are accessed using commands 1, 5, and 15. These commands are similar to the corresponding standard Modbus commands.

They use the Enron Modbus addressing.

Read only registers cannot be written using commands 5 and 15.

Short Integer Variables

Short integer variables are accessed using commands 3, 6, and 16. These commands are similar to the corresponding standard Modbus commands.

They use the Enron Modbus addressing.

The size of the data fields for each variable is determined by the variable address. The read command returns two bytes for each requested register.

The write command provides two bytes for each register value.

Read only registers cannot be written using commands 6 and 16.

Long Integer and Floating Point Variables

Long integer and floating point variables are accessed using commands 3,

6, and 16. These commands are similar to the corresponding standard

Modbus commands. They use the Enron Modbus addressing.

The size of the data fields for each variable is determined by the variable address. The read command returns four bytes for each requested register.

The write command provides four bytes for each register value.

Read only registers cannot be written using commands 6 and 16.

Realflo User and Reference Manual

May 19, 2011

855

Enron Modbus Protocol Interface

Hourly/Daily History

Enron Modbus Hourly/Daily archive registers are used to read Realflo hourly and daily logs. They read the logs one record at a time.

Hourly Gas Quality History

Enron Modbus Hourly Gas Quality archive registers are used to read Realflo hourly gas quality history logs. The logs are read one record at a time.

Gas Quality History is available when the Gas Transmission option bit is enabled for the controller. Only hourly records are supported.

Flow Computer Variables

The Realflo Flow Computer provides up to ten flow runs. Flow runs are configured individually. Gas quality is set for each flow run.

The Flow computer provides up to ten MVT transmitters. Transmitters are configured individually.

Registers may be read/write or read-only. The Access column in the tables indicates the register type. Configuration registers are read/write registers.

The flow computer uses the ranges of Enron Modbus variables shown in the table below.

Purpose Hourly/

Daily

Archive

Boolean

Events/

Alarms

Log Pointers

System

Variables

Run 1 none none none none none

1001 to

1099

701 to 702 1100 to

1199

Run 2

Run 3

Run 4

Run 5

Run 6

Run 7

Run 8

Run 9

Run 10

MVT - 1

MVT - 2

703 to 704 1200 to

1299

705 to 706 1300 to

1399

707 to 708 1400 to

1499

709 to 710 1500 to

1599

711 to 712 1600 to

1699

713 to 714 1700 to

1799

715 to 716 1800 to

1899

717 to 718 1900 to

1999

719 to 720 2000 to

2099 none none none none

Integer

none none

3000 to 3099 none

3100 to 3199

4400 to 4429

3200 to 3299

4430 to 4459

3300 to 3399

4460 to 4489

3400 to 3499

4490 to 4519

3500 to 3599

4520 to 4549

3600 to 3699

4550 to 4579

3700 to 3799

4580 to 4609

3800 to 3899

4610 to 4639

3900 to 3999

4640 to 4669

4000 to 4099

4670 to 4699

4100 to 4129

4700 to 4729

4130 to 4159

4730 to 4759

Long Integer

none none

5100 to 5199

5200 to 5299

5300 to 5399

5400 to 5499

5500 to 5599

5600 to 5699

5700 to 5799

5800 to 5899

5900 to 5999

6000 to 6099

6100 to 6129

6130 to 6159

Floating

Point

7000

7001 to 7003

None

7100 to 7349

7350 to 7599

7600 to 7849

7850 to 8099

8100 to 8349

8350 to 8599

8600 to 8849

8850 to 9099

9100 to 9349

9350 to 9599

9600 to 9629

9630 to 9659

Realflo User and Reference Manual

May 19, 2011

856

Purpose

MVT - 3

MVT - 4

MVT - 5

MVT - 6

MVT - 7

MVT - 8

MVT - 9

MVT - 10

Hourly/

Daily

Archive

none none none none none none none none none none none none none none none none

Boolean Integer

Enron Modbus Protocol Interface

Long Integer Floating

Point

4160 to 4189

4760 to 4789

4190 to 4219

4790 to 4819

4220 to 4249

4820 to 4849

4250 to 4279

4850 to 4879

4280 to 4309

4880 to 4909

4310 to 4339

4910 to 4939

4340 to 4369

4940 to 4969

4370 to 4399

4970 to 4999

6160 to 6189 9660 to 9689

6190 to 6219 9690 to 9719

6220 to 6249 9720 to 9749

6250 to 6279 9750 to 9779

6280 to 6309 9780 to 9809

6310 to 6339 9810 to 9839

6340 to 6369 9840 to 9869

6370 to 6399 9870 to 9899

Realflo User and Reference Manual

May 19, 2011

857

Enron Modbus Protocol Interface

Enron Modbus General Purpose Registers

In some applications it is desirable to have the ability to map Modbus register data into Enron Modbus registers. This removes the need to have a host poll the Modbus station address for data not directly associated with the flow computer and then poll the Enron Modbus station address for flow computer data.

Using fixed register mapping the flow computer mirrors standard Modbus registers into Enron Modbus registers. This allows the host to read and write data to Enron Modbus registers not directly associated with the flow computer.

Register Mapping

Modbus registers are mapped to Enron registers. Read/write registers can be read or written using Enron Modbus. Read only registers can be read using Enron Modbus; data written to the registers is ignored.

Status and Coil Registers

Coil and status registers map to Enron Boolean registers.

Modbus Registers Enron Registers

00001 to 00100

10001 to 10099

2101 to 2200

2201 to 2299

Number Access

100

99

Read/Write

Read only

16-Bit Input Registers

– Telepace only

In Telepace firmware, 16-bit input registers map to Enron Long Integer registers. Short integer registers are not used as the short integer registers available are used by the flow computer.

Modbus Registers Enron Registers

30001 to 30100 6800 to 6899

Number

100

Access

read only

Each 16-bit Modbus register is mapped to one 32-bit Enron Modbus long integer. Modbus values are treated as 16-bit signed values and are sign extended when mapped.

16-Bit Holding Registers

– Telepace only

In Telepace firmware, 16-bit holding registers are mapped to Enron Long

Integer registers. Short integer registers are not used as the short integer registers available are used by the flow computer.

Modbus Registers Enron Registers

40500 to 40579 6900 to 6979

Number

80

Access

read/write

Each 16-bit Modbus register is mapped to one 32-bit Enron Modbus long integer. Modbus values are treated as 16-bit signed values and are sign extended when mapped. Writing a value to the Enron register that is larger than can be represented by the 16-bit Modbus register will result in only the lower order 16-bits being placed in the Modbus register.

Realflo User and Reference Manual

May 19, 2011

858

Enron Modbus Protocol Interface

32-Bit Integer Holding Registers

Long values stored in pairs of holding registers are mapped to Enron Long

Integer registers. These values are suitable for double integers and 32-bit counters.

Telepace Firmware

This mapping is used in Telepace firmware only.

Modbus Registers Enron Registers

40580 to 40619 6980 to 6999

Number Access

20 read/write

Each pair of Modbus registers is mapped to one 32-bit Enron Modbus long integer. Values are 32-bit integers; as there is an exact mapping the registers can be viewed as signed or unsigned values at the user‟s choice.

The least significant 16 bits of the number is stored in the lower numbered

Modbus register of the pair. This is the format used by Telepace applications to store double integers.

ISaGRAF Firmware

This mapping is used in ISaGRAF firmware only. It allows directly mapping

ISaGRAF variables into Enron registers.

Modbus Registers Enron Registers

40500 to 40619 6900 to 6959

Number Access

60 read/write

Each pair of Modbus registers is mapped to one 32-bit Enron Modbus long integer. Values are 32-bit integers; as there is an exact mapping the registers can be viewed as signed or unsigned values at the user‟s choice.

The least significant 16 bits of the number is stored in the higher numbered

Modbus register of the pair. This is the format used by ISaGRAF variables mapped to Modbus registers.

32-Bit Floating Point Holding Registers

Floating point values stored in pairs of holding registers are mapped to

Enron Float registers. The second range can be read using the Enron

Modbus protocol, but might not be available on some Enron Modbus hosts.

Modbus Registers Enron Registers

40620 to 40819

40820 to 41019

9900 to 9999

10000 to 10099

Number Access

100

100 read/write read/write

Each pair of Modbus registers is mapped to one Enron Modbus float register.

The most significant 16 bits of the number is stored in the lower numbered

Modbus register. This is the floating point format used by Telepace and

ISaGRAF variables.

Realflo User and Reference Manual

May 19, 2011

859

Enron Modbus Protocol Interface

Flow Computer Global Variables

The variables described in this section are not meter run specific, but common to each meter run.

Program Information Variables

Program information identifies the version of the flow computer firmware and the flow computer.

The number of runs available is determined by the flow computer options.

Register Description

3001

3002

3003

3004

3005

Firmware version

Range: 100 to 999

Controller type

2 = TeleSAFE Micro16

5 = SCADAPack

6 = SCADAPack Light

7 = SCADAPack Plus

9 = SCADAPack 32P

10 = SCADAPack 32

12 = SCADAPack LP

13 = SCADAPack 100

14 = 4202

25 = SCADAPack 100+

27 = SCADAPack 350

29 = 4202 DR

30 = 4202 DS

31 = 4203 DR

32 = 4203 DS

33 = SCADAPack 330

34 = SCADAPack 334

36 = SCADAPack 314

Flow Computer Version

Range: 100 to 999

Flow Computer Build Number

Range: 1 to 255

Number of flow runs available

Range: 0 to 10

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Runs Configuration Variable

This register configures the number of flow runs in the flow computer. The number of runs needs to be less than or equal to the number of runs available for the flow computer.

Register Description

3009 Number of flow runs in use

Range: 1 to 10

Access

Read / Write

Real Time Clock Variables

The real time clock can be adjusted in two ways.

To adjust the clock forward or backward by a number of seconds, write to register 3010. This is useful if the time to transmit a message to the flow computer is not known.

Realflo User and Reference Manual

May 19, 2011

860

Enron Modbus Protocol Interface

To set the clock to a specific time, write to registers 3011 to 3016.

Register Description

3010

3011

3012

3013

3014

3015

3016

Time adjustment in seconds

Range: -32000 to 32000

Year

Range: 1997 to 2096

Month

Range: 1 to 12

Day

Range: 1 to 31 with exceptions

Hour

Range: 0 to 23

Minute

Range: 0 to 59

Second

Range: 0 to 59

Access

Write Only

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Flow Computer ID Variables

The flow computer ID is a string stored in 8 consecutive integers. Printable

ASCII values, in the range specified need to be used for each character in the string.

Register Description

3020

3021

3022

3023

3024

3025

3026

3027

Flow computer ID character 1

Range: 33 to 126

Flow computer ID character 2

Range: 33 to 126

Flow computer ID character 3

Range: 33 to 126

Flow computer ID character 4

Range: 33 to 126

Flow computer ID character 5

Range: 33 to 126

Flow computer ID character 6

Range: 33 to 126

Flow computer ID character 7

Range: 33 to 126

Flow computer ID character 8

Range: 33 to 126

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Hourly / Daily Archive Records

The Realflo Flow Computer provides up to 10 flow runs. Hourly and daily history records are read using the standard Enron Modbus method.

The Daily Log holds records for the previous 35 days. These can be read by using index numbers 0 through 34 or by using 1 through 35.

The Hourly Log holds record for the previous 35 days plus today. Each day is allowed 30 hours to handle calculation stops, power failures and configuration changes across multiple flow runs. These can be accessed using index numbers 1 through 1080.

Some hourly records will be used by only one run in a multiple run flow computer. The other runs will return a record with the data 030102 (March 1,

Realflo User and Reference Manual

May 19, 2011

861

Enron Modbus Protocol Interface

2002), time 00:00:00 and flow duration 0. These records should be discarded.

Hourly / Daily Record Format

Each hourly and daily record is in the following format.

Date (format: MMDDYY)

Time (format: HHMMSS)

Flow duration

Volume

Energy

Flow Extension or Flow Product or Uncorrected Flow Volume.

Temperature

Pressure

Differential Pressure or Meter Pulses

Volume * 1000

Mass

Relative Density

Archives are stored in the following registers.

Register Description

701 Meter Run 1: hourly history

702

703

Meter Run 1: daily history

Meter Run 2: hourly history

704 Meter Run 2: daily history

712

713

714

715

716

717

705

706

707

708

709

710

711

718

719

720

Meter Run 3: hourly history

Meter Run 3: daily history

Meter Run 4: hourly history

Meter Run 4: daily history

Meter Run 5: hourly history

Meter Run 5: daily history

Meter Run 6: hourly history

Meter Run 6: daily history

Meter Run 7: hourly history

Meter Run 7: daily history

Meter Run 8: hourly history

Meter Run 8: daily history

Meter Run 9: hourly history

Meter Run 9: daily history

Meter Run 10: hourly history

Meter Run 10: daily history

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Pointers to the hourly and daily history records are stored in the following registers. The pointers apply to archives in the flow computer.

Register Description

7001 hourly log pointer

7002 daily log pointer

Access

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

862

Enron Modbus Protocol Interface

Hourly Gas Quality Archive Records

742

743

744

745

746

747

The hourly gas analysis history is added for flow computer versions 6.77 and higher.

Hourly Gas Quality Record Format

Not all gas quality elements supported by the flow computer are defined in the Enron Specification. Those elements, starting with water, are added at the end of the defined stream. Gas components are in %, not in % MOLE.

Each hourly and daily record is in the following format.

Field

Date

Time

Time: split of a second

Relative Density

Heating Value

Carbon Dioxide

Nitrogen

Methane

Ethane

Propane i-butane n-Butane i-Pentane n-Pentane n-Hexane n-Heptane n-Octane n-Nonane

Hydrogen Sulfide

Hydrogen

Helium

Oxygen

Carbon Monoxide

Water n-Decane

Argon

Hexanes+

Format / Units

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

MMDDYY.0

HHMMSS.0 second

-

BTU(60)/ft

3

Archives are stored in the following registers.

Register Description

741 Meter Run 1: hourly gas quality history

Access

Read Only

Meter Run 2: hourly gas quality history

Meter Run 3: hourly gas quality history

Meter Run 4: hourly gas quality history

Meter Run 5: hourly gas quality history

Meter Run 6: hourly gas quality history

Meter Run 7: hourly gas quality history

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

863

Enron Modbus Protocol Interface

748

749

Meter Run 8: hourly gas quality history Read Only

Meter Run 9: hourly gas quality history Read Only

750 Meter Run 10: hourly gas quality history

Read Only

Pointers to the hourly and daily history records are stored in the following registers. The pointers apply to archives in the flow computer.

Register Description

7003 hourly gas quality log pointer

Access

Read Only

Flow Computer Events Variables

The Flow Computer Events variables record changes in the flow computer status. Events will be recorded for these variables when the corresponding status changes. Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

1001

1002

1003

Power On - Cold Boot

Power On

– Warm Boot

Power Off

Access

Read Only

Read Only

Read Only

The registers in the table below apply to Run 1. Refer to the table in section

Flow Computer Variables for register ranges for other runs.

Register Description

1100

1101

Recovered from Input Error

Meter control structure not found

Access

Read Only

Read Only

User Account Events Variables

These variables record events relating to the user accounts. Events will be recorded for these variables when the user accounts are configured.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

3030 Set User Number

3031 Set User Security Level

Access

Read Only

Read Only

Event/Alarm Archive Variable

This variable indicates the number of events and alarms.

Register Description

7000 Number of events and alarms

Access

Read Only

Event and Alarm Log Events Variables

These variables record events relating to the event log. Events will be recorded for these variables when the logs are accessed. Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

The registers in the table below apply to Run 1. Refer to the table in section

Flow Computer Variables for register ranges for other runs.

Realflo User and Reference Manual

May 19, 2011

864

Enron Modbus Protocol Interface

Register Description

3101

3102

3103

3104

3105

Number of lost alarms

Number of acknowledged alarms

Number of lost events

Number of acknowledged events

Invalid user event

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Event Record Format

Events use the Enron Modbus record format defined in the Enron Modbus standard.

Byte

1,2

3,4

5-8

9-12

13-16

17-20

Description

Operator change bit map

Modbus register number of variable

Time (HHMMSS)

Date (MMDDYY)

80 is added to the date value to convert the RTU event log dates to the current year (see Enron Modbus specification

Appendix D).

Previous value of variable

New value of variable

Format

Uint16

Uint16

Float

Float

Float

Float

The operator change bit map is:

10

11

12

13

14

15

5

6

7

8

9

Bit

0

1

2

3

4

Description

Fixed value

Zero scale

Full scale

Operator entry work value

Boolean fixed bit

Fixed/variable flag

Table entry change

System command change

Unused

Operator change event identifier bit

LoLo limit

Lo limit

Hi limit

HiHi limit

Rate of change limit unused

Alarm Record Format

Alarms use the Enron Modbus record format defined in the Enron Modbus standard.

Byte

1,2

3,4

5-8

Description

Alarm change bit map

Modbus register number of variable

Time (HHMMSS)

Format

Uint16

Uint16

Float

Realflo User and Reference Manual

May 19, 2011

865

9-12 Date (MMDDYY)

80 is added to the date value to convert the

RTU event log dates to the current year (see

Enron Modbus specification Appendix D).

Current (alarmed) value of variable

Unused (0)

Enron Modbus Protocol Interface

Float

Float

Float

13-16

17-20

The operator change bit map is:

Bit

8

9

10

11

12

13

14

15

3

4

5

0

1

2

6

7

Description

Unused

Unused

Unused

Unused

Unused

Unused

Unused

Unused

Unused

Operator change event identifier bit

LoLo limit

Lo limit

Hi limit

HiHi limit

Rate of change limit

Set/reset Alarm (1=set, 0=reset)

Realflo User and Reference Manual

May 19, 2011

866

Enron Modbus Protocol Interface

Meter Run 1 Data Variables

Meter run 1 data variables are shown in detail in the following sections.

Meter Run 1 Flow Computer Execution State Variable

This variable displays and controls the execution of the meter run 1 flow calculation.

Register Description

3165 Execution state

0 = not set (read only)

1 = stop

2 = run

Access

Read / Write

Meter Run 1 Instantaneous and Accumulated Variables

These variables display the current state of the flow calculation for meter run

1.

Instantaneous Input Variables

The Instantaneous Input variables contain the value of the inputs at the time they were last read.

Register

7220

7221

7222

7223

Description

Temperature

Static Pressure

Differential Pressure (AGA-3 and V-cone only)

Calibration flags

Access

Read Only

Read Only

Read Only

Read Only

Register Description

5100

5157

Turbine meter pulses (AGA-7)

Forced Pulse Rate (AGA-7 only)

Access

Read Only

Read Only

Instantaneous Input Alarms

These variables are used to show the status of the Instantaneous Input

Variables.

Register Description

4400

4401

4402

Temperature input alarm

Static pressure input alarm

Flow (Differential pressure or turbine pulses) input alarm

Access

Read Only

Read Only

Read Only

Instantaneous Flow Variables

The Instantaneous Flow variables contain the results of the flow calculation.

Values are updated each time the flow calculation executes. Check the time of last update registers to determine when the calculation was performed.

Register Description

7224

7225

Date of flow update (days since Jan 1,

1970)

Time of flow update (seconds since

Access

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

867

Register Description

7226

7227

7228

00:00:00)

Flow volume rate

Flow mass rate

Flow energy rate

7229

7230

7252

7282

7283

7284

Enron Modbus Protocol Interface

Access

Flow extension (AGA-3 1990 only)

Flow product (AGA-3 1985 only)

Uncorrected flow volume (AGA-7 only)

Input or flow calculation error code

Flow volume rate * 1000

Forced Temperature

Forced Static Pressure

Forced Differential Pressure (AGA-3 and V-

Cone only)

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Compressibility Variables

The Compressibility variables contain the results of the compressibility calculation. Values are updated each time the compressibility calculation recalculates. This time varies according to the calculation type and the changes in the inputs to the calculation (including configuration parameters).

Check the time of last update registers to determine when the calculation was performed.

Register Description

7231

7232

Date of compressibility update (days since

Jan 1, 1970)

Time of compressibility update (seconds since 00:00:00)

7233

7234

7235

7236

7237

7238

7239

Supercompressibility

Real relative gas density

Mass density at flow conditions

Mass density at base conditions

Heating value

Compressibility calculation error code

Compressibility approximated flag

0 = compressibility value is calculated result

1 = compressibility value is approximate

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Accumulated Flow Variables

The Accumulated Flow variables contain the cumulative flow for the current and previous contract day and the current and previous month. Values for the current contact day include flow for the contract day, even if an event causes a separate day record in the hourly history. Values for the previous contract day are updated at the end of the contract day.

Access

Read Only

Register Description

5101

5102

Number of flow calculations during the previous contract day

Number of flow calculations during the contract day

Register Description

Read Only

Access

Realflo User and Reference Manual

May 19, 2011

868

Enron Modbus Protocol Interface

7250

7251

7285

7286

7287

7288

7289

Register Description

7240

7241

7242

7243

7244

7245

7246

7247

7248

7249

7290

7291

7292

Duration of flow during the contract day

(seconds)

Flow volume at base conditions during the contract day

Flow mass at base conditions during the contract day

Flow energy at base conditions during the contract day

Total accumulated flow volume at base conditions

Duration of flow during the previous contract day (seconds)

Flow volume at base conditions during the previous contract day

Flow mass at base conditions during the previous contract day

Flow energy at base conditions during the previous contract day

Static Pressure Altitude and Latitude compensation

0 = ignore

1 = compensate

Altitude

Latitude in decimal degrees

Flow duration in current month.

Flow volume in current month

Flow duration in previous month

Flow volume in previous month

Uncorrected flow volume during the contract day (AGA-7 only)

Uncorrected flow volume during the previous contract day (AGA-7 only)

Uncorrected flow volume during the current month (AGA-7 only)

Uncorrected flow volume during the previous month (AGA-7 only)

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read/Write

Read/Write

Read/Write

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Enron Log Variables

The following registers are added to show the date of last configuration change.

Register

5103

5104

5105

5106

Description

Date of last flow configuration change (days since January 1, 1997).

Time of last flow configuration change

(seconds since midnight).

Date of last density configuration change

(days since January 1, 1997).

Time of last density configuration change

(seconds since midnight).

Access

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

869

Enron Modbus Protocol Interface

Meter Run 1 Input Configuration Variables

The flow calculation routines require a temperature transmitter input, static pressure transmitter input and a differential pressure transmitter input (AGA-

3 or V-Cone), or pulse input (AGA-7).

General Input Configuration Variables

The General Input Configuration variables are set to contain the meter run number, type of units used and the flow and compressibility calculation types.

Register Description

7100

7101

7102

7103

7104

Input units type

0 = US1

3 = IP

Metric2

6 = Metric3

9 = US5

12 = US8

1 = US2

4 = Metric1

7 = SI

10 = US6

Flow calculation type

2 = AGA-3 (1985)

7 = AGA-7

22 = V-Cone

Compressibility calculation type

8 = AGA 8

19 = NX-19

Static pressure tap location

0 = upstream

1 = downstream

Log out of range events action

0= ignore Out Of Range events

1= log Out Of Range events

2 = US3

5 =

8 = US4

11 = US7

3 = AGA-3 (1992)

12 = AGA-11

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Temperature Input Variables

The temperature input variables are set to contain the source register; the minimum and maximum scaled and unscaled values, and the level limits and hysteresis.

The input register type describes the type of data in the input registers. For floating-point input registers, floating-point scaling values need to be used.

For integer input registers, integer scaling values need to be used.

Register Description

7105

7106

Temperature input register type

0 = Telepace uint requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer requiring scaling

6 = SCADAPack 4202 or 4203

Temperature input register

Modbus address 30001 to 39999 or 40001 to 49999 or

MVT transmitter number (1 to 10)

Access

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

870

Enron Modbus Protocol Interface

Register Description

7107

7108

7109

7110

7111

7112

7113

7114

7115

7116 or use 1 for SCADAPack 4202 or 4203

Zero scale temperature input

(used with type 0 and 5 inputs) full scale temperature input

(used with type 0 and 5 inputs) zero scale temperature input (used with type 3 inputs)

Full scale temperature input (used with type

3 inputs)

Temperature at zero scale

Temperature at full scale

Temperature low level cutoff

Temperature low level hysteresis

Temperature high level hysteresis

Temperature high level cutoff

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Static Pressure Input Variables

The static pressure input variables are set to contain the source register; the minimum and maximum scaled and unscaled values, and the level limits and hysteresis.

The input register type describes the type of data in the input registers. For floating-point input registers, floating-point scaling values need to be used.

For integer input registers, integer-scaling values need to be used.

Register Description

7117

7118

7119

Static pressure input register type

0 = Telepace uint requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer requiring scaling

6 = SCADAPack 4202 or 4203

Static pressure input register

Modbus address 30001 to 39999 or 40001 to 49999 or

MVT transmitter number (1 to 10) or use 1 for SCADAPack 4202 or 4203

Zero scale static pressure input

(used with type 0 and 5 inputs)

7120

7121

7122

7123

7124

7125

Full scale static pressure input

(used with type 0 and 5 inputs)

Zero scale static pressure input

(used with type 3 inputs)

Full scale static pressure input

(used with type 3 inputs)

Static pressure at zero scale

Static pressure at full scale

Static pressure low level cutoff

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

871

Enron Modbus Protocol Interface

Register Description

7126

7127

7128

Static pressure low level hysteresis

Static pressure high level hysteresis

Static pressure high level cutoff

Access

Read / Write

Read / Write

Read / Write

Differential Input Variables

The differential pressure input variables are set to contain the source register; the minimum and maximum scaled and unscaled values, and the level limits and hysteresis.

The input register type describes the type of data in the input registers. For floating-point input registers, floating-point scaling values need to be used.

For integer input registers, integer-scaling values need to be used.

The differential pressure input is used with AGA-3 and V-Cone calculations only.

Register Description

7129 Differential pressure input register type

0 = Telepace uint requiring scaling

2 = float in engineering units (no scaling required)

3 = float requiring scaling

4 = MVT

5 = ISaGRAF integer requiring scaling

7130

7131

6 = SCADAPack 4202 or 4203

Differential pressure input register

Modbus address 30001 to 39999 or 40001 to 49999 or

MVT transmitter number (1 to 10) or use 1 for SCADAPack 4202 or 4203 zero scale differential pressure input

(used with type 0 and 5 inputs)

7132

7133

7134

7135

7136

7137

7138

7139

7140

Full scale differential pressure input

(used with type 0 and 5 inputs) zero scale differential pressure input

(used with type 3 inputs)

Full scale differential pressure input

(used with type 3 inputs)

Differential pressure at zero scale

Differential pressure at full scale

Differential pressure low level cutoff

Differential pressure low level hysteresis

Differential pressure high level hysteresis

Differential pressure high level cutoff

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Turbine Input Variables

The turbine counter input registers are set to contain the source register, the low flow minimum pulse limit and the time duration for low flow pulse limit check.

The turbine counter input is used with AGA-7 calculations only

Realflo User and Reference Manual

May 19, 2011

872

Register Description

7141 Turbine input register type

0 = Telepace ulong

7142

7143

7144

7145

7146

Enron Modbus Protocol Interface

Access

Read / Write

5 = ISaGRAF integer

Rotation counter input register

Modbus address 30001 to 39999 or 40001 to 49999

Time duration for low flow pulse limit check

(seconds)

Range: 0 to 5 seconds

Low flow minimum pulse limit

Range: 0 to 8388607

The low flow minimum pulse limit can be set to values greater than 8388607 by

Realflo.

Atmospheric pressure

Output and logs units type:

0 = US1 1 = US2

3 = IP

Metric2

4 = Metric1

6 = Metric3

9 = US5

12 = US8

7 = SI

10 = US6

2 = US3

5 =

8 = US4

11 = US7

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Meter Run 1 Flow Computer Execution Control Variable

This variable controls the execution of the flow calculations.

Register Description

3165 Execution state

0 = not set (read only)

1 = stop

2 = run

Access

Read / Write

Meter Run 1 ID Variables

The Run ID is a string stored in 32 consecutive integers. Printable ASCII values in the range specified need to be used for each character in the string. The RUNID string will be terminated with a null unless the full length of the string is used.

Register Description

3167 Run 1 ID character 1 Range: 33 to 126

Access

Read / Write

3168

3169

3170

3171

3172

3173

3174

Run 1 ID character 2

Run 1 ID character 3

Run 1 ID character 7

Run 1 ID character 8

Range: 33 to 126

Range: 33 to 126

Range: 33 to 126

Range: 33 to 126

Read / Write

Read / Write

Run 1 ID character 4 Range: 33 to 126 Read / Write

Run 1 ID character 5 Range: 33 to 126 Read / Write

Run 1 ID character 6 Range: 33 to 126 Read / Write

Read / Write

Read / Write

3175

3176

3177

3178

3179

Run 1 ID character 9 Range: 33 to 126 Read / Write

Run 1 ID character 10 Range: 33 to 126 Read / Write

Run 1 ID character 11 Range: 33 to 126 Read / Write

Run 1 ID character 12 Range: 33 to 126 Read / Write

Run 1 ID character 13 Range: 33 to 126 Read / Write

Realflo User and Reference Manual

May 19, 2011

873

Enron Modbus Protocol Interface

Register Description

3180

3181

3182

3183

Run 1 ID character 14 Range: 33 to 126

Run 1 ID character 15 Range: 33 to 126

Run 1 ID character 16 Range: 33 to 126

Run 1 ID character 17 Range: 33 to 126

Access

Read / Write

Read / Write

Read / Write

Read/Write

3184

3185

3186

3187

3188

3189

3190

3191

3192

3193

3194

3195

3196

3197

3198

Run 1 ID character 18 Range: 33 to 126 Read/Write

Run 1 ID character 19 Range: 33 to 126 Read/Write

Run 1 ID character 20 Range: 33 to 126 Read/Write

Run 1 ID character 21 Range: 33 to 126 Read/Write

Run 1 ID character 22 Range: 33 to 126 Read/Write

Run 1 ID character 23 Range: 33 to 126 Read/Write

Run 1 ID character 24 Range: 33 to 126 Read/Write

Run 1 ID character 25 Range: 33 to 126 Read/Write

Run 1 ID character 26 Range: 33 to 126 Read/Write

Run 1 ID character 27 Range: 33 to 126 Read/Write

Run 1 ID character 28 Range: 33 to 126 Read/Write

Run 1 ID character 29 Range: 33 to 126 Read/Write

Run 1 ID character 30 Range: 33 to 126 Read/Write

Run 1 ID character 31 Range: 33 to 126 Read/Write

Run 1 ID character 32 Range: 33 to 126 Read/Write

Meter Run 1 Contract Configuration Variables

The Contract Configuration variables define the gas measurement contract.

Changes to the Contract Configuration are not allowed while the flow calculation is running.

Register Description

7146

7147

7148

7149

7150

7293

Output and log units type:

0 = US1

1 = US2

2 = US3

3 = Imperial

4 = Metric1

5 = Metric2

6 = Metric3

7 = SI

8 = US4

9 = US5

10= US6

11 = US7

12= US8

Contract hour

Range: 0 to 23

Base temperature

Base static pressure

Input Error Action

0 = do not accumulate flow when inputs in error

1 = accumulate flow when inputs in error

Wet gas meter factor

Version 6.10 or greater.

Default value is 1.0.

The value 0.0 indicates that the parameter

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

874

Register Description

Enron Modbus Protocol Interface

Access

is not supported and that 1.0 should be substituted for it.

Meter Run 1 AGA-3 Configuration Variables

AGA-3 configuration variables define the AGA-3 calculation.

Register Description

7151

7152

7153

7154

7155

7156

7157

7158

7159

7160

7161

Orifice material

0 = stainless,

1 = Monel,

2 = carbon steel

Pipe material

0 = stainless,

1 = Monel,

2 = carbon steel

Orifice diameter

Reference temperature for orifice measurement

Pipe diameter

Reference temperature for pipe diameter measurement

Isentropic exponent

Viscosity

Temperature dead band

Static pressure dead band

Differential pressure dead band

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Meter Run 1 V-Cone Configuration Variables

V-Cone configuration variables define the V-Cone calculation.

In the original McCrometer V-Cone Application Sizing sheet that is included with V-Cone meters uses the terminology Cd (discharge coefficient) rather than Cf (flow coefficient). You will need to use the Re and Cd values from the V-Cone Application Sizing sheet for the Re and Cf entries. If the Re value is the same for each entry in the table only the first pair is used.

McCrometer now supplies one value of Cd in the sizing document. You need to enter one Re/Cd pair only. See the McCrometer Application Sizing sheet for the Re/Cd pair for your meter.

Register Description

7162

7163

7164

7165

7166

7167

V-Cone material

2 = carbon steel

3 = stainless 304

4 = stainless 316

Pipe material

2 = carbon steel

3 = stainless 304

4 = stainless 316

Cone diameter

Reference temperature for cone diameter measurement.

Inside meter diameter

Reference temperature for inside meter

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

875

Register Description

7168

7169

7170

7171

7172

7173

7174

7175

7176

7177

7178

7179

7180

7181

7182

7183

7184

7185

7186

7187

7188

7189

7190 diameter measurement

Isentropic exponent

Viscosity

Number of points

Point 1 Reynolds number

Range: 0.1 to 200000000

Point 1 Coefficient

Range: 0 to 10

Point 2 Reynolds number

Range: 0.1 to 200000000

Point 2 Coefficient

Range: 0 to 10

Point 3 Reynolds number

Range: 0.1 to 200000000

Point 3 Coefficient

Range: 0 to 10

Point 4 Reynolds number

Range: 0.1 to 200000000

Point 4 Coefficient

Range: 0 to 10

Point 5 Reynolds number

Range: 0.1 to 200000000

Point 5 Coefficient

Range: 0 to 10

Point 6 Reynolds number

Range: 0.1 to 200000000

Point 6 Coefficient

Range: 0 to 10

Point 7 Reynolds number

Range: 0.1 to 200000000

Point 7 Coefficient

Range: 0 to 10

Point 8 Reynolds number

Range: 0.1 to 200000000

Point 8 Coefficient

Range: 0 to 10

Point 9 Reynolds number

Range: 0.1 to 200000000

Point 9 Coefficient

Range: 0 to 10

Point 10 Reynolds number

Range: 0.1 to 200000000

Point 10 Coefficient

Range: 0 to 10

Enron Modbus Protocol Interface

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Meter Run 1 AGA-7 Configuration Variables

AGA-7 Configuration variables define the AGA-7 calculation.

Register Description

7191

7192

K factor

Range: 0.001 to 1000000

M factor

Access

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

876

Register Description

Range: 0.001 to 1000

Enron Modbus Protocol Interface

Access

Meter Run 1 AGA-8 Configuration Variables

Mole Fractions

AGA-8 Configuration variables define the gas quality for each run. The gas is made up of a number of components. These components are represented as fraction values, i.e. 0 to 1.0000.

Realflo checks the validity of the entered components using the following limits:

Individual components are in the ranges listed in the table above.

The Total of all Components field displays the sum of all components.

The total of all components needs to be 1.0000 (+/- 0.00001) if

Composition Units is set to Mole Fractions or 100% (+/- 0.00001%) if

Composition Units is set to Percent.

The n-hexane register contains the fraction of hexane when individual gas components are used. The register contains the fraction of the high-carbon gases combined. The high-carbon gases are n-hexane, n-heptane, noctane, n-nonane, and n-decane. Together they are known as Hexanes+.

In Flow Computer versions 6.73 and older, when gas ratios are written to the flow computer the new gas ratios are saved in temporary memory, not the Enron Modbus registers, until a new Density calculation is started with the new values. Once a density calculation is started by the flow computer the Enron Modbus registers are then loaded with the new gas ratios. The new gas ratios are not available to SCADA host software reading the Enron

Modbus registers until a new density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when gas ratios are written to the flow computer the new gas ratios are updated in the Enron Modbus registers. This allows a SCADA host to immediately confirm the new ratios were written to the flow computer. The new gas ratios are not used by the flow computer until a new density calculation is started.

Register Description

7193

7194

7195

7196

7197

7198

7199

7200

Methane below

Nitrogen below

Carbon Dioxide below

Ethane below

Propane below

Water below

Hydrogen Sulphide below

Hydrogen below

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

877

Enron Modbus Protocol Interface

Register Description

7201

7202

7203

7204

7205

7206

7207

7208

7209

7210

7211

7212

7213

7219

7280

7281

Carbon Monoxide below

Oxygen below i-butane below n-butane below i-pentane below n-pentane below

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table

Range: see table n-hexane (when using individual gas components) n-hexane + (when using combined value for hexane and higher components)

Range: see table n-heptane below n-octane below n-nonane below

Range: see table

Range: see table n-decane below

Helium below

Argon below

Range: see table

Range: see table

Range: see table

Composition logging control

0 = log composition changes

1 = do not log composition changes

0 = calculate real relative density

0.07 to 1.52 = use as laboratory value for real relative density

0 = calculate heating value other values = use as laboratory value for heating value

0 to 1800 BTU(60)/ft

3

0 to 67.066 MJ/m

0 to 67066 J/m

3

3

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

There is no single valid range for each component. There are two ranges for each gas component in the table below. The flow computer accepts any value in the Expanded Range. Only values in the Normal Range will work in all circumstances.

The run-time error message

“Bracket derivative negative” occurs when the combination of the components at the current pressure and temperature results in an error. The AGA-8 calculation will produce a result even if the error occurs, but the accuracy of the result will be suspect.

Component

Methane CH

4

Nitrogen

Normal Range

0.4500 to 1.0000

0 to 0.5000

Expanded Range

0 to 1.0000

0 to 1.0000

Realflo User and Reference Manual

May 19, 2011

878

Component

Carbon Dioxide

Ethane C

2

H

6

Propane C

3

H

8

Water

Hydrogen Sulphide

Hydrogen

Carbon Monoxide

Oxygen

Total Butanes i-Butane n-Butane

Total Pentanes i-Pentane n-Pentane

Total Hexane to Decane n-Hexane n-Heptane n-Octane n-Nonane n-Decane

Helium

Argon

0 to 0.3000

0 to 0.1000

0 to 0.0400

0 to 0.0005

0 to 0.0002

0 to 0.1000

0 to 0.0300

0

0 to 0.0100

0 to 0.0300

0 to 0.0200

0 to 0.0200

0

Enron Modbus Protocol Interface

Normal Range Expanded Range

0 to 1.0000

0 to 1.0000

0 to 0.1200

0 to 0.0300

0 to 1.0000

0 to 1.0000

0 to 0.0300

0 to 0.2100

0 to 0.0600

0 to 0.0400

0 to 0.0400

0 to 0.0300

0 to 0.0100

Percentages

AGA-8 Configuration variables define the gas quality for each run. The gas is made up of a number of components. These components can be represented as percentage values (i.e. 0 to 100.00 %) instead of mole fractions.

The n-hexane register contains the percentage of hexane when individual gas components are used. The register contains the percentage of the highcarbon gases combined. The high-carbon gases are n-hexane, n-heptane, n-octane, n-nonane, and n-decane. Together they are known as Hexanes+.

The gas quality values are floating point numbers. The sum of the values in the gas quality needs to equal 100.

Register Description

7253

7254

7255

7256

7257

7258

7259

7260

7261

7262

7263

7264

7265

7266

Methane

Nitrogen

Carbon Dioxide Range: see table below

Ethane

Propane

Water below

Range: see table below

Range: see table below

Range: see table below

Range: see table below

Range: see table below

Hydrogen Sulphide Range: see table

Hydrogen

Carbon Monoxide below

Range: see table below

Range: see table

Oxygen i-butane n-butane i-pentane n-pentane

Range: see table below

Range: see table below

Range: see table below

Range: see table below

Range: see table below

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

879

Enron Modbus Protocol Interface

7268

7269

7270

7271

7272

7273

7219

Register Description

7267 n-hexane (when using individual gas components) n-hexane + (when using combined value for hexane and higher components) n-heptane Range: see table below n-octane n-nonane n-decane

Range: see table below

Range: see table below

Range: see table below

Helium

Argon

Range: see table below

Range: see table below

Composition logging control

0 = log composition changes

1 = do not log composition changes

Component

Methane CH

4

Nitrogen

Carbon Dioxide

Ethane C

2

H

6

Propane C

3

H

8

Water

Hydrogen Sulphide

Hydrogen

Carbon Monoxide

Oxygen

Total Butanes i-Butane n-Butane

Total Pentanes i-Pentane n-Pentane

Total Hexane to Decane n-Hexane n-Heptane n-Octane n-Nonane n-Decane

Helium

Argon

Normal Range

45.00 to 100.00

0 to 50.00

0 to 30.00

0 to 10.00

0 to 4.00

0 to 0.05

0 to 0.02

0 to 10.00

0 to 3.00

0

0 to 1.00

0 to 3.00

0 to 2.00

0 to 2.00

0

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

There is no single valid range for each component. There are two ranges for each gas component in the table below. The flow computer accepts any value in the Expanded Range. Only values in the Normal Range will work in all circumstances.

The run-time error message

“Bracket derivative negative” occurs when the combination of the components at the current pressure and temperature results in an error. The AGA-8 calculation will produce a result even if the error occurs, but the accuracy of the result is susspect.

Expanded Range

0 to 100.00

0 to 100.00

0 to 100.00

0 to 100.00

0 to 12.00

0 to 3.00

0 to 100.00

0 to 100.00

0 to 3.00

0 to 21.00

0 to 6.00

0 to 4.00

0 to 4.00

0 to 3.00

0 to 1.00

Hexane + Ratios Percentages

These registers control if individual or combined gas components are used, and contain the ratio of the five high-carbon gases for the combined method.

Realflo User and Reference Manual

May 19, 2011

880

Enron Modbus Protocol Interface

If combined high-carbon gases are used, the ratios of the five gases nhexane, n-heptane, n-octane, n-nonane, and n-decane needs to sum to 100 percent. The percentage of the overall gas represented by these components combined is set in register 7267.

Register Description

7274

7275

7276

7277

7278

7279

Set AGA-8 Hexane + Component method

0 = Use individual gas components (default)

1 = Use combined value for hexane and higher components.

Set AGA-8 Hexane + Ratio for n-hexane

Set AGA-8 Hexane + Ratio for n-heptane

Set AGA-8 Hexane + Ratio for n-octane

Set AGA-8 Hexane + Ratio for n-nonane

Set AGA-8 Hexane + Ratio for n-decane

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Meter Run 1 NX-19 Configuration Variables

NX-19 configuration variables define the gas quality for the NX-19 calculation method.

In Flow Computer versions 6.73 and older, when NX-19 gas quality values are written to the flow computer the new values are saved in temporary memory, not the Enron Modbus registers, until a new Density calculation is started with the new values. Once a density calculation is started by the flow computer the Enron Modbus registers are then loaded with the new NX-19 gas quality values. The new values are not available to SCADA host software reading the Enron Modbus registers until a new density calculation is started with the new values.

In Flow Computer versions 6.74 and newer when NX-19 gas quality values are written to the flow computer the new NX-19 gas quality values are updated in the Enron Modbus registers. This allows a SCADA host to immediately confirm the new values were written to the flow computer. The new NX-19 gas quality values are not used by the flow computer until a new density calculation is started.

Register Description

7214

7215

7216

7217

Specific gravity

Range: 0.0 to 10.0

Fraction of Carbon Dioxide

Range: 0.0 to 1.0

Fraction of Nitrogen

Range: 0.0 to 1.0

Heating Value

7218 Composition logging control

0 = log composition changes

1 = do not log composition changes

Access

Read / Write

Read / Write

Read / Write

Read / Write

Read / Write

Plate Change Events Variables

The Plate Change Events variables record plate change events. Events are created for these variables when the plate change occurs.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Realflo User and Reference Manual

May 19, 2011

881

Enron Modbus Protocol Interface

Temperature Plate Change Event Variables

The temperature calibration event variables record calibration of the temperature input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

7315

7316

Start plate change: temperature

Stop plate change: temperature

Access

Read Only

Read Only

Static Pressure Plate Change Event Variables

The static pressure calibration event variables record calibration of the static pressure input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

7317

7318

Start plate change: static pressure

Stop plate change: static pressure

Access

Read Only

Read Only

Differential Pressure Plate Change Event Variables

The DP calibration event variables record calibration of the differential pressure input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

7319 Start plate change: DP

7320 Stop plate change: DP

Access

Read Only

Read Only

Enron Forcing Events Variables

The Forcing Events variables record force events. Events are created for these variables when the plate change occurs.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Temperature Force Event Variables

The temperature force event variables record force of the temperature input.

The force needs to be done using Realflo. Events will be recorded for these variables when the force occurs.

Register Description

7321

7322

Forced temperature input

Removed forced temperature input

Access

Read Only

Read Only

Static Pressure Force Event Variables

The static pressure force event variables record force of the static pressure input. The force needs to be done using Realflo. Events will be recorded for these variables when the force occurs.

Register Description

7323

7324

Forced static pressure input

Removed forced static pressure input

Access

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

882

Enron Modbus Protocol Interface

Differential Pressure Force Event Variables

The DP force event variables record force of the differential pressure input.

The force needs to be done using Realflo. Events will be recorded for these variables when the force occurs.

Register Description

7325

7326

Forced differential pressure input

Removed forced differential pressure input

Access

Read Only

Read Only

Counter Force Event Variables

The counter force event variables record force of the counter input. The force needs to be done using Realflo. Events will be recorded for these variables when the force occurs.

Access

Read Only

Read Only

Register Description

5155

5156

Forced pulse count rate

Removed forced pulse count rate

Meter Run 1 Flow Computer Events Variables

The flow computer event and alarm logs can be read as the Enron Modbus event/alarm log. The flow computer alarms events numbers are converted to changes in the Enron Modbus Variables. The tables below show the flow computer alarms/events and the corresponding Enron Modbus Variable.

Alarms and events correspond to variables used for reporting data or settings configuration. A small number of events and alarms don't have a corresponding variable. So that they can be reported in the Enron Modbus event/alarm log, variables have been created for them. These variables are read only and return zero. They exist only so events in the log have a corresponding variable.

Input Alarms Variables

The Input Alarms variables record alarms due to out of range inputs. Alarms are created for these variables when the error occurs. Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Register Description

3106

3107

3108

3109

3110

3111

Temperature input low

Temperature input high

Static pressure low

Static pressure high

Differential pressure low

Differential pressure high

Register Description

4403

4404

4405

4406

4407

4408

Forced input register

Removed force from input register

Restore from temperature input low alarm

Access

Read Only

Read Only

Read Only

Restore from temperature input high alarm Read Only

Restore from static pressure input low alarm Read Only

Restore from static pressure input high Read Only

Realflo User and Reference Manual

May 19, 2011

883

Register Description

4409

4410

4411

4412

Enron Modbus Protocol Interface

Access

alarm

Restore from differential pressure input low alarm

Restore from differential pressure input high alarm

Restore from low pulse input alarm

Restore from input alarm

Read Only

Read Only

Read Only

Read Only

Compressibility Events Variables

The Compressibility Events variables record errors with the compressibility calculation. Events are created for these variables when the error occurs.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

3112

Compressibility calculation inputs invalid

Access

Read Only

AGA-8 Variables

These compressibility event variables refer to the AGA-8 calculation only.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

3113

3114

3115

3116

3117

3118

3119

3120

3121

3166

4413

4414

4416

Failed To Create AGA-8 Data Structure

Created AGA-8 with Execution Stopped

Created AGA-8 with Execution Running

Destroyed AGA-8 Data Structure

Clear Compressibility Error

Failed To Set AGA-8 Gas Fractions

Failed To Set AGA-8 Configuration

AGA-8 - Not configured

AGA-8 - No gas components

AGA-8

– Flow Pressure is Low

Density temperature low alarm

Density temperature high alarm

Density pressure high alarm

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

NX-19 Variables

These compressibility event variables refer to the NX-19 calculation only.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

3122

3123

3124

3125

3126

3127

3128

3129

3130

Failed to Create NX-19 Data Structure

Created NX-19 with Execution Stopped

Created NX-19 with Execution Running

Destroyed NX-19 Data Structure

Clear Compressibility Error

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Failed to set NX-19 Gas Components Read Only

Failed to set NX-19 Contract Configuration Read Only

NX-19 - Configuration flag not set Read Only

NX-19 - Gas ratios were not available Read Only

Realflo User and Reference Manual

May 19, 2011

884

Enron Modbus Protocol Interface

Register Description

4413

4414

4415

4416

Density temperature low alarm

Density temperature high alarm

Density pressure low alarm

Density pressure high alarm

Access

Read Only

Read Only

Read Only

Read Only

Flow Events Variables

The Flow Events variables record errors with the flow calculation. Events are created for these variables when the error occurs.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

AGA-3 (1985) Variables

These compressibility event variables refer to the AGA-3 (1985) calculation only.

Register Description

3131

3132

Failed To Create AGA-3 (1985) Data

Structure

Created AGA-3 (1985) with Execution

Stopped

3133

3134

3135

3136

3137

3138

3139

4417

Created AGA-3 (1985) with Execution

Running

Destroyed AGA-3 (1985) Data Structure

Recovered from AGA-3 (1985) error

Failed To Set AGA-3 (1985) Configuration

AGA-3 (1985) - Ratios from AGA-8 or NX-19 were not available

AGA-3 (1985) - Static pressure below differential

AGA-3 (1985) - Static pressure zero or negative

Flow temperature low alarm

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

AGA-3 (1992) Variables

These compressibility event variables refer to the AGA-3 (1992) calculation only.

Register

3140

3141

3142

3143

3144

3145

3146

3147

3148

Description

Failed To Create AGA-3 (1992) Data

Structure

Created AGA-3 (1992) with Execution

Stopped

Created AGA-3 (1992) with Execution

Running

Destroyed AGA-3 (1992) Data Structure

Restored from AGA-3 (1992) error

Failed To Set AGA-3 (1992) Configuration

AGA-3 (1992)

– Ratios from AGA-8 or NX-

19 were not available

AGA-3 (1992) - Static pressure below differential

AGA-3 (1992) - Static pressure zero or negative

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

885

Register Description

4417 Flow temperature low alarm

Enron Modbus Protocol Interface

Access

Read Only

AGA-7 Variables

These compressibility event variables refer to the AGA-7 calculation only.

Register Description

3149

3150

3151

3152

3153

3154

3155

3156

4417

4418

Failed To Create AGA-7 Data Structure

Created AGA-7 with Execution Stopped

Created AGA-7 with Execution Running

Destroyed AGA-7 Data Structure

Restored from AGA-7 error

Failed To Set AGA-7 Configuration

AGA-7 - Low pulse rate

AGA-7 - Ratios from AGA-8 or NX-19 are not available

Flow temperature low alarm

Flow pressure low alarm

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

V-Cone Variables

These compressibility event variables refer to the V-Cone calculation only.

Register Description

3157

3158

3159

3160

3161

3162

3163

3164

3199

4417

Failed To Create V-Cone Date Structure

Created V-Cone with Execution Stopped

Created V-Cone with Execution Running

Destroyed V-Cone Data Structure

Restored from V-Cone Error

Failed To Set V-Cone Configuration

V-Cone

– Ratios from AGA-8 or NX-19 were not available

V-Cone

– Static pressure below differential pressure

V-Cone

– Static pressure zero or negative

Flow temperature low alarm

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Calibration Events Variables

Temperature Calibration Event Variables

The temperature calibration event variables record calibration of the temperature input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

7300 Start temperature calibration

7301

7302

7303

7304

Continue temperature calibration

Temperature as found

Temperature as left

Stop temperature calibration

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Static Pressure Calibration Event Variables

The static pressure calibration event variables record calibration of the static pressure input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Realflo User and Reference Manual

May 19, 2011

886

Enron Modbus Protocol Interface

Register Description

7305

7306

7307

7308

7309

Start static pressure calibration

Continue static pressure calibration

Static pressure as found

Static pressure as left

Stop static pressure calibration

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Differential Pressure Calibration Event Variables

The DP calibration event variables record calibration of the differential pressure input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

7310

7311

7312

7313

7314

Start DP calibration

Continue DP calibration

Differential pressure as found

Differential pressure as left

Stop DP calibration

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Counter Calibration Event Variables

The counter calibration event variables record calibration of the counter input. The calibration needs to be done using Realflo. Events will be recorded for these variables when the calibration occurs.

Register Description

5150 Start counter calibration

5151

5152

5153

5154

Continue counter calibration

Counter as found

Counter as left

Stop counter calibration

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 2 Data Variables

Meter run 2 data variables use the same structure as Meter run 1 data variables described above. Meter run 2 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3200 - 3299 Short integer Meter Run 2 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 100

5200 - 5299 Long integer Meter Run 2 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 100

7350 - 7599 Float Meter Run 2 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 250

Meter Run 3 Data Variables

Meter run 3 data variables use the same structure as Meter run 1 data variables described above. Meter run 3 variables are offset from Meter run 1 variables according to the following table.

Realflo User and Reference Manual

May 19, 2011

887

Enron Modbus Protocol Interface

Range Data Type Description

3300 - 3399 Short integer Meter Run 3 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 200

5300 - 5399 Long integer Meter Run 3 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 200

7600

– 7849

Float Meter Run 3 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 500

Meter Run 4 Data Variables

Meter run 4 data variables use the same structure as Meter run 1 data variables described above. Meter run 4 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3400 - 3499 Short integer Meter Run 4 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 300

5400 - 5499 Long integer Meter Run 4 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 300

7850 - 8099 Float Meter Run 2 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 750

Meter Run 5 Data Variables

Meter run 5 data variables use the same structure as Meter run 1 data variables described above. Meter run 5 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3500 - 3599 Short integer Meter Run 5 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 400

5500 - 5599 Long integer Meter Run 5 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 400

8100 - 8349 Float Meter Run 5 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 1000

Realflo User and Reference Manual

May 19, 2011

888

Enron Modbus Protocol Interface

Meter Run 6 Data Variables

Meter run 6 data variables use the same structure as Meter run 1 data variables described above. Meter run 6 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3600 - 3699 Short integer Meter Run 6 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 500

5600 - 5699 Long integer Meter Run 6 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 500

8350 - 8599 Float Meter Run 6 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 1250

Meter Run 7 Data Variables

Meter run 7 data variables use the same structure as Meter run 1 data variables described above. Meter run 7 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3700 - 3799 Short integer Meter Run 7 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 600

5200 - 5299 Long integer Meter Run 7 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 600

8600 - 8849 Float Meter Run 7 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 1500

Meter Run 8 Data Variables

Meter run 8 data variables use the same structure as Meter run 1 data variables described above. Meter run 8 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3800 - 3899 Short integer Meter Run 8 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 700

5800 - 5899 Long integer Meter Run 8 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 700

Realflo User and Reference Manual

May 19, 2011

889

Range Data Type

8850 - 9099 Float

Enron Modbus Protocol Interface

Description

Meter Run 8 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 1750

Meter Run 9 Data Variables

Meter run 9 data variables use the same structure as Meter run 1 data variables described above. Meter run 9 variables are offset from Meter run 1 variables according to the following table.

Range Data Type Description

3900 - 3999 Short integer Meter Run 9 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 800

5900 - 5999 Long integer Meter Run 9 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 800

9100

– 9349

Float Meter Run 9 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 2000

Meter Run 10 Data Variables

Meter run 10 data variables use the same structure as Meter run 1 data variables described above. Meter run 10 variables are offset from Meter run

1 variables according to the following table.

Range Data Type Description

4000

– 4099

Short integer Meter Run 10 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 900

6000

– 6099

Long integer Meter Run 10 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 900

9350

– 9599

Float Meter Run 10 Data Variables

Identical structure to Meter Run 1

Data Variables.

Offset by value of 2250

MVT-1 Data and Configuration Variables

The flow computer polls the MVT transmitters and updates the data registers.

The sensor status values are the same for each transmitter.

0 = response OK

1 = communication failed

2 = value below operating limit

Realflo User and Reference Manual

May 19, 2011

890

Enron Modbus Protocol Interface

3 = transmitter configuration invalid

4 = not polled, may be disabled

5 = bad value

6 = value above operating limit

7 = sensor is off line, may be calibrating

8 = RTD cut (temperature sensor only)

Register Description

4100

4101

4102

Transmitter 1: differential pressure sensor status

Transmitter 1: static pressure sensor status

Transmitter 1: temperature pressure sensor status

Access

Read Only

Read Only

Read Only

These registers show the current inputs.

Register Description

9600

9601

Transmitter 1: differential pressure

Transmitter 1: static pressure

9602 Transmitter 1: temperature

Access

Read Only

Read Only

Read Only

MVT-1 MVT Configuration Variables

MVT configuration defines the operation of the MVT transmitter and polling by the flow computer.

Register Description

9603

9604

Transmitter polling status

0 = disabled

1 = enabled

Serial Port:

0 = unused, for internal SCADAPack 4202 or 4203 in slot 1

1 = com1

2 = com2

3 = com3

4 = com4

100 = LAN (4102, 4000 only)

9605

9606

Address of transmitter:

0 = unused, for internal SCADAPack 4202 or 4203 in slot 1

1 to 247 (Rosemount 3095FB, 4101)

1 to 255 (4102, SCADAPack 4202 or 4203 standard mode)

1 to 65534 (SCADAPack 4000,

SCADAPack 4202 or 4203 extended mode)

Timeout:

0 = unused, for internal SCADAPack 4202 or 4203 in slot 1

10 to 10000 ms

Access

Read / Write

Read / Write

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

891

Enron Modbus Protocol Interface

Register Description

9607

9608

9609

9610

9611

9612

9613

9614

9615

9616

9617

9618

9619

9620

Manufacturer Code

Turnaround Delay Time: 0 to 200 ms

(3095FB only)

Differential Pressure units:

1 = inches of water at 60°F (3095FB only)

2 = Pascal

3 = kiloPascal

6 = inches of water at 68°F

Static Pressure units:

3 = kiloPascal

4 = megaPascal

5 = psi

Access

Read / Write

Read / Write

Read / Write

Read / Write

Temperature units:

20 = Celsius

21 = Fahrenheit

Differential Pressure damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728, 3.456,

6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack 4202 or 4203:

0.0 (damping off), 0.5, 1.0, 2.0, 4.0, 8.0,

16.0, or 32.0 seconds

Read / Write

Read / Write

Differential Pressure upper operating limit Read / Write

Differential Pressure lower operating limit Read / Write

Read / Write Static Pressure damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728, 3.456,

6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack 4202 or 4203:

0.0 (damping off), 0.5, 1.0, 2.0, 4.0, 8.0,

16.0, or 32.0 seconds

Read / Write

Read / Write

Read / Write

Static Pressure upper operating limit

Static Pressure lower operating limit

Temperature damping:

3095FB:

0.108, 0.216, 0.432, 0.864, 1.728, 3.456,

6.912, 13.824, or 27.648

SCADAPack 4000 and SCADAPack 4202 or 4203:

Not supported

Temperature upper operating limit

Temperature lower operating limit

Read / Write

Read / Write

Realflo User and Reference Manual

May 19, 2011

892

Register Description

9621

9622

Type Code (not used with SCADAPack

4101)

31 = 3095FB MVT

Enron Modbus Protocol Interface

Type Code (not used with SCADAPack

4101)

31 = 3095FB MVT

40120 = 4012 Absolute

40121 = 4012 Gauge

40320 = 4032

41020 = 4102 Serial

41021 = 4102 Serial and LAN

4202 = 4202 DR

42021 = 4202 DS

42990 = 4203 DR

42991 = 4203 DS

Atmospheric pressure (used by

SCADAPack 4102 and SCADAPack 4202 or 4203)

0 = absolute pressure

>0 to 30 psia (or equivalent) = gage pressure

Register Description

6100

6101

Serial number (3095FB only)

IP Address (SCADAPack 4000 and

SCADAPack 4202 or 4203 only)

Access

Read / Write

Read/Write

Access

Read

Read / Write

Register Description

4103

4104

4105

4106

4107

4108

4109

4110

Tag character 1

Tag character 2

Tag character 3

Tag character 4

Tag character 5

Tag character 6

Tag character 7

Tag character 8

Access

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

Range: 32 to 126 Read / Write

MVT-1 Events Variables

The MVT Events variables record changes in the MVT configuration. Events will be recorded for these variables when the corresponding status changes.

Reading these registers will return zero. The registers exist only to provide a reference for events in the event log.

Register Description

4111

4112

4113

4114 recovered from MVT error

MVT Transmitter 1: lost communication

MVT Transmitter 1: transmitter configuration incorrect

MVT Transmitter 1: temperature sensor out of range

Access

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

893

Enron Modbus Protocol Interface

Register Description

4115

4116

4117

4118

4119

4120

4121

4122

4123

4124

MVT Transmitter 1: static pressure sensor out of range

MVT Transmitter 1: differential pressure sensor out of range

MVT Transmitter 1: not polled

Manufacture date:

This is stored as bits in the format

YYYYYYYMMMMDDDDD, where these bits correspond to Year+1986/Month/Day.

(SCADAPack 4101 or 4102 and

SCADAPack 4202 or 4203 only)

Core number (SCADAPack 4101 or 4102 and SCADAPack 4202 or 4203 only)

Access

Read Only

Read Only

Read Only

Read Only

Read Only

IP Protocol (SCADAPack 4102, 4000 only) Read / Write

Bad temperature sensor value Read Only

Bad static pressure sensor value

Bad differential pressure value

Restore for all communication alarms

Read Only

Read Only

Read Only

4125 Restore for all alarms Read Only

4126

4127

4700

4701

4702

4703

Sensors are Off Line

RTD Disconnected

Temperature sensor above range

Static Pressure sensor above range

Read Only

Read Only

Read Only

Read Only

Differential Pressure sensor above range Read Only

4704

4705

Temperature sensor below range

Static Pressure sensor below range

Read Only

Read Only

Differential Pressure sensor below range Read Only

MVT-2 Data and Configuration Variables

MVT-2 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-2 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4130

– 4159

Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

4730 - 4735 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6130

– 6159

Long integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

9630

– 9659

Float MVT-2 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 30

Realflo User and Reference Manual

May 19, 2011

894

Enron Modbus Protocol Interface

MVT-3 Data and Configuration Variables

MVT-3 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-3 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4160

– 4189

Short integer MVT-3 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 60

4760 - 4765 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6160

– 6159

Long integer MVT-3 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 60

9660

– 9689

Float MVT-3 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 60

MVT-4 Data and Configuration Variables

MVT-4 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-4 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4190

– 4219

Short integer MVT-4 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 90

4790 - 4795 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6190

– 6219

Long integer MVT-4 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 90

9690

– 9719

Float MVT-4 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 90

MVT-5 Data and Configuration Variables

MVT-5 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-5 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4220

– 4249

Short integer MVT-5 Data Variables

Realflo User and Reference Manual

May 19, 2011

895

Enron Modbus Protocol Interface

Range Data Type Description

Identical structure to MVT-1 Data

Variables.

Offset by value of 120

4820 - 4825 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6220

– 6249

Long integer MVT-5 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 120

9720

– 9749

Float MVT-5 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 120

MVT-6 Data and Configuration Variables

MVT-6 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-6 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4250

– 4279

Short integer MVT-6 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 150

4850 - 4855 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6250

– 6279

Long integer MVT-6 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 150

9750

– 9779

Float MVT-6 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 150

MVT-7 Data and Configuration Variables

MVT-7 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-7 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4280

– 4309

Short integer MVT-7 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 180

4890 - 4895 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Realflo User and Reference Manual

May 19, 2011

896

Enron Modbus Protocol Interface

Range Data Type Description

Offset by value of 30

6280

– 6309

Long integer MVT-7 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 180

9780

– 9809

Float MVT-7 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 180

MVT-8 Data and Configuration Variables

MVT-8 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-8 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4310

– 4339

Short integer MVT-8 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 210

4920 - 4925 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6310

– 6339

Long integer MVT-8 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 210

9810

– 9839

Float MVT-8 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 210

MVT-9 Data and Configuration Variables

MVT-9 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-9 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4340

– 4369

Short integer MVT-9 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 240

4950 - 4955 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6340

– 6369

Long integer MVT-9 Data Variables

Identical structure to MVT-1 Data

9840

– 9869

Float

Variables.

Offset by value of 240

MVT-9 Data Variables

Realflo User and Reference Manual

May 19, 2011

897

Range

Enron Modbus Protocol Interface

Data Type Description

Identical structure MVT-1 Data

Variables.

Offset by value of 240

MVT-10 Data and Configuration Variables

MVT-10 Data Variables use the same structure as MVT-1 Data Variables described above. MVT-10 Data Variables are offset from MVT-1 Data

Variables according to the following table.

Range Data Type Description

4370

– 4399

Short integer MVT-10 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 270

4980 - 4985 Short integer MVT-2 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 30

6370

– 6399

Long integer MVT-10 Data Variables

Identical structure to MVT-1 Data

Variables.

Offset by value of 270

9870

– 9899

Float MVT-10 Data Variables

Identical structure MVT-1 Data

Variables.

Offset by value of 270

Realflo User and Reference Manual

May 19, 2011

898

Enron Modbus Protocol Interface

Event and Alarm Log

The flow computer event and alarm logs can be read as the Enron Modbus event/alarm log. The flow computer alarms events numbers are converted to changes in the Enron Modbus Variables. The tables below show the flow computer alarms/events and the corresponding Enron Modbus Variable.

Alarms and events correspond to variables used for reporting data or settings configuration. A small number of events and alarms don't have a corresponding variable. So that they can be reported in the Enron Modbus event/alarm log, variables have been created for them. These variables are read only and return zero. They exist only so events in the log have a corresponding variable.

In the following tables, some variables are described with an offset. The offset is determined by the flow run.

Run

6

7

8

9

10

1

2

3

4

5

Short Integer

Offset

0

100

200

300

400

500

600

700

800

900

Long Integer

Offset

0

100

200

300

400

500

600

700

800

900

Float Offset

0

250

500

750

1000

1250

1500

1750

2000

2250

The flow computer logs contain information that needs to be mapped into the Enron Modbus event format.

The Event ID is mapped into the change bit map and the register number.

The Sequential event or alarm number is not reported.

The User number is not reported directly, as there is no field. There is a bit indicating the source of the alarm or event as the operator or the flow computer. The user number is mapped into this.

The date of event or alarm is converted to the Enron date format.

The time of event or alarm is converted to the Enron time format.

The new data associated with the event or alarm is reported in the alarm/event.

The previous data associated with the event or alarm is reported in the alarm/event.

The Enron interface assumes that there is one log for all of the flow runs. It contains alarms and events. Alarms and events have similar but not identical formats. Alarms and events are returned in the same response to a command.

Alarms and events cannot be read after they have been acknowledged. This happens immediately after they are read from the flow computer.

Realflo User and Reference Manual

May 19, 2011

899

Enron Modbus Protocol Interface

Enron and Realflo are not expected to work together. However they will coexist if the Read All Events option is selected when reading events using

Realflo. This allows alarms and events can be read by Enron Modbus correctly.

The existing alarm and event logs will be enhanced to support the Enron functionality and interface. This will include new data items and new access functions. The changes need to still permit alarms and events to be read via

Enron and by Realflo without losing any. The logs will mark the read records as inaccessible, to the Enron interface, when the log is acknowledged.

Global Alarms and Events

The gas flow computation engine creates these events.

10014

10015

10016

10017

10018

10019

10020

10021

10022

10023

10024

10001

10002

10003

10004

10005

10006

10007

10008

10009

10010

10011

10012

10013

10025

10026

10027

10028

10029

10030

10031

10032

10033

10034

10035

10036

10037

Number Description Enron

Variable

Power On - Cold Boot

Power On

– Warm Boot

Lost Events

Recovered from Input Error

Set Input: Units Type

1001

1002

3103 + offset

1100 + offset

7100 + offset

Set Input: Flow Calculation Type 7101 + offset

Set Input: Compressibility Calculation Type 7102 + offset

Set Input: Temperature Register 7106 + offset

Set Input: Temperature Input at Zero Scale 7107 + offset

Set Input: Temperature Input at Full Scale 7108 + offset

Set Input: Temperature at Zero Scale 7111 + offset

Set Input: Temperature at Full Scale

Set Input: Pressure Register

7112 + offset

7118 + offset

Set Input: Pressure Input at Zero Scale

Set Input: Pressure Input at Full Scale

Set Input: Pressure at Zero Scale

Set Input: Pressure at Full Scale

Set Input: DP Register

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

Set Input: DP at Zero Scale

Set Input: DP at Full Scale

Set Contract: Units Type

Set Contract: Base Temperature

7119 + offset

7120 + offset

7123 + offset

7124 + offset

7130 + offset

7131 + offset

7132 + offset

7135 + offset

7136 + offset

7146 + offset

7148 + offset

Set Contract: Base Pressure

Set Input: Atmospheric Pressure

Set Input: Static Pressure Tap Location

Set Contract: Contract Hour

Change Execution State

Set RTC Year

Set RTC Month

Set RTC Day

Set RTC Hour

Set RTC Minute

Set RTC Second

Set Input: Temperature Low Level Cutoff

Set Input: Temperature Low Level hysteresis

7149 + offset

7145 + offset

7103 + offset

7147 + offset

3165 + offset

3011

3012

3013

3014

3015

3016

7113 + offset

7114 + offset

Realflo User and Reference Manual

May 19, 2011

900

Enron Modbus Protocol Interface

10066

10067

10068

10069

10071

10072

10073

10074

10076

10077

10055

10056

10057

10058

10059

10060

10061

10062

10063

10064

10065

Number

10038

10039

10040

10041

10042

10043

10044

10046

10047

10048

10049

10050

10051

10052

10053

10054

10078

10079

Description Enron

Variable

Set Input: Temperature High Level Cutoff

Set Input: Temperature High Level

Hysteresis

Set Input: Pressure Low Level Cutoff

7115 + offset

7116 + offset

7125 + offset

Set Input: Pressure Low Level Hysteresis

Set Input: Pressure High Level Cutoff

7126 + offset

7127 + offset

Set Input: Pressure High Level Hysteresis 7128 + offset

7104 + offset

3105 + offset

7300 + offset

Set Input: Save Low/High Flow Events

Invalid User Event

Start Temperature Calibration: Forced temperature input

End Temperature Calibration: Removed forced temperature input

Start Static Pressure Calibration: Forced SP input

End Static Pressure Calibration: Removed forced SP input

Start Differential Pressure Calibration:

Forced DP input

7304 + offset

7305 + offset

7309 + offset

7310 + offset

End Differential Pressure Calibration:

Removed forced DP input

Start Pulse Counter Calibration: Forced pulse count rate

End Pulse Counter Calibration: Removed forced pulse count rate

Set User Number

Set User Security Level

Set Input: Temperature Register Type

7314 + offset

5150 + offset

5154 + offset

3030

3031

7105 + offset

Set Input: Pressure Register Type

Set Input: DP Register Type

7117 + offset

7129 + offset

Set Input: Temperature Input at Zero Scale 7109 + offset

Set Input: Temperature Input at Full Scale 7110 + offset

Set Input: Pressure Input at Zero Scale 7121 + offset

Set Input: Pressure Input at Full Scale 7122 + offset

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

7133 + offset

7134 + offset

Set Input: Pulse Counter Register

Set Input: Pulse Counter Register Type

Set Active Runs

Lost Alarms

Firmware Version

Application Version

Set Flow Computer ID

Set Contract: Input Err Action

Power Off

Start Plate Change: Forced temperature input

End Plate Change: Removed forced temperature input

Start Plate Change: Forced static pressure input

7142 + offset

7141 + offset

3009

3101 + offset

3001

3003

3020

7150 + offset

1003

7315 + offset

7316 + offset

7317 + offset

Realflo User and Reference Manual

May 19, 2011

901

Enron Modbus Protocol Interface

10084

10085

10086

10087

10088

10089

10090

10091

10092

10093

10094

10105

10106

10107

10108

10109

Number

10080

10081

10082

10083

10110

10111

10114

Description Enron

Variable

End Plate Change: Removed forced static pressure input

Start Plate Change: Forced differential pressure input

End Plate Change: Removed forced differential pressure input

Set Input: altitude and latitude compensation

Set Input: altitude

Set Input: latitude

Forced temperature input

Removed forced temperature input

Forced static pressure input

7318 + offset

7319 + offset

7320 + offset

7249 + offset

7250 + offset

7251 + offset

7321 + offset

7322 + offset

7323 + offset

Removed forced static pressure input

Forced differential pressure input

7324 + offset

7325 + offset

Removed forced differential pressure input 7326 + offset

Forced pulse count rate

Removed forced pulse count rate

Set Contract: wet gas meter factor

Set Input: Flow Direction Control

Set Input: Flow Direction Register

5155 + offset

5156 + offset

7293 + offset

10100 + offset

10101 + offset

Forced mass flow input

Restored live mass flow input

Starting Calibration: Forced mass flow rate input

Ending Calibration: Restored live mass flow rate input

Set Input: Mass Flow Rate Register Type

Set Input: On Indicates

10102 + offset

10103 + offset

10104 + offset

10105 + offset

10106 + offset

10107 + offset

AGA-3 (1985) Alarms and Events

These events are specific to the AGA-3 (1985) calculation.

Number Description

10201

Enron

Variable

3131 + offset

10202

10203

10204

10205

10206

10207

10208

10209

10210

10211

Failed To Create AGA-3 (1985) Data

Structure

Created AGA-3 (1985) with Execution

Stopped

Created AGA-3 (1985) with Execution

Running

Destroyed AGA-3 (1985) Data Structure

Recovered from AGA-3 (1985) error

Set AGA-3 (1985): Input Units Type

Set AGA-3 (1985): Orifice Material

Set AGA-3 (1985): Pipe Material

Set AGA-3 (1985): Static Pressure Tap

Location

Set AGA-3 (1985): Orifice Diameter

Set AGA-3 (1985): Orifice Measurement

Reference Temperature

3132 + offset

3133 + offset

3134 + offset

3135 + offset

7100 + offset

7151 + offset

7152 + offset

7103 + offset

7153 + offset

7154 + offset

Realflo User and Reference Manual

May 19, 2011

902

Enron Modbus Protocol Interface

10214

10215

10216

10217

10218

10219

10220

10221

10222

Number

10212

10213

10223

Description Enron

Variable

Set AGA-3 (1985): Pipe Diameter

Set AGA-3 (1985): Pipe Diameter

Measurement Reference Temperature

Set AGA-3 (1985): Isentropic Exponent

7155 + offset

7156 + offset

Set AGA-3 (1985): Viscosity

Set AGA-3 (1985): Base Temperature

Set AGA-3 (1985): Base Pressure

7157 + offset

7158 + offset

7148 + offset

7149 + offset

Set AGA-3 (1985): Atmospheric Pressure 7145 + offset

Failed To Set AGA-3 (1985) Configuration 3136 + offset

Set AGA-3 (1985): Contract Units Type 7146 + offset

Set AGA-3 (1985): Temperature deadband 7159 + offset

Set AGA-3 (1985): Static Pressure deadband

7160 + offset

Set AGA-3 (1985): Differential Pressure deadband

7161 + offset

AGA-3 (1992) Alarms and Events

These events are specific to the AGA-3 (1992) calculation.

10314

10315

10316

10317

10318

10319

10320

10321

10322

10323

Number

10301

10302

10303

10304

10305

10306

10307

10308

10309

10310

10311

10312

10313

Description Enron

Variable

Failed To Create AGA-3 (1992) Data

Structure

3140 + offset

Created AGA-3 (1992) with Execution

Stopped

Created AGA-3 (1992) with Execution

Running

Destroyed AGA-3 (1992) Data Structure

Restored from AGA-3 (1992) error

Set AGA-3 (1992): Input Units Type

Set AGA-3 (1992): Orifice Material

Set AGA-3 (1992): Pipe Material

3141 + offset

3142 + offset

3143 + offset

3144 + offset

7100 + offset

7151 + offset

7152 + offset

7103 + offset Set AGA-3 (1992): Static Pressure Tap

Location

Set AGA-3 (1992): Orifice Diameter

Set AGA-3 (1992): Orifice reference temperature

Set AGA-3 (1992): Pipe Diameter

7153 + offset

7154 + offset

Set AGA-3 (1992): Pipe Diameter

Measurement Temperature

Set AGA-3 (1992): Isentropic Exponent

Set AGA-3 (1992): Viscosity

Set AGA-3 (1992): Base Temperature

Set AGA-3 (1992): Base Pressure

7155 + offset

7156 + offset

7157 + offset

7158 + offset

7148 + offset

7149 + offset

Set AGA-3 (1992): Atmospheric Pressure 7145 + offset

Failed To Set AGA-3 (1992) Configuration 3145 + offset

Set Input: DP Low Level Cutoff

Set Input: DP Low Level Hysteresis

Set Input: DP High Level Cutoff

Set Input: DP High Level Hysteresis

7137 + offset

7138 + offset

7139 + offset

7140 + offset

Realflo User and Reference Manual

May 19, 2011

903

Enron Modbus Protocol Interface

Number

10324

10325

10326

10327

Description Enron

Variable

Set AGA-3 (1992): Contract Units Type

Set AGA-3 (1992): Differential Pressure deadband

7146 + offset

Set AGA-3 (1992): Temperature deadband 7159 + offset

Set AGA-3 (1992): Static Pressure deadband

7160 + offset

7161 + offset

AGA-7 Alarms and Events

These events are specific to the AGA-7 calculation.

Number Description

10701

10702

10703

10704

10705

10706

10707

10708

10709

10710

10711

10712

10713

10714

10715

Failed To Create AGA-7 Data Structure

Created AGA-7 with Execution Stopped

Created AGA-7 with Execution Running

Destroyed AGA-7 Data Structure

Restored from AGA-7 error

Set AGA-7: Input Units Type

Set AGA-7: K factor

Set AGA-7: M factor

Set AGA-7: Atmospheric Pressure

Set AGA-7: Base Pressure

Set AGA-7: Base Temperature

Failed To Set AGA-7 Configuration

Set Input: Turbine Low Flow Pulse Limit

Set Input: Turbine Low Flow Detect Time

Set AGA-7: Contract Units Type

Enron

Variable

3149 + offset

3150 + offset

3151 + offset

3152 + offset

3153 + offset

7100 + offset

7191 + offset

7192 + offset

7145 + offset

7149 + offset

7148 + offset

3154 + offset

7143 + offset

7144 + offset

7146 + offset

AGA-11 Alarms and Events

These events are specific to the AGA-11 calculation.

Number Description

11101

11102

11103

11104

11105

11106

11107

11108

11109

11110

Failed To Create AGA-11 Data Structure

Created AGA-11 with Execution Stopped

Created AGA-11 with Execution Running

Destroy AGA-11 Data Structure

Recovered from AGA-11 error

Change in AGA-11 units configuration

Change in AGA-11 contract units config

Change in AGA-11 base temperature

Change in AGA-11 base pressure

Failed To Set AGA-11 Configuration

V-Cone Alarms and Events

These events are specific to the V-Cone calculation.

Number Description

Enron

Variable

10110 + offset

10111 + offset

10112 + offset

10113 + offset

10114 + offset

10115 + offset

10116 + offset

10117 + offset

10118 + offset

10119 + offset

12201 Failed To Create V-Cone Date Structure

Enron

Variable

3157 + offset

Realflo User and Reference Manual

May 19, 2011

904

12214

12215

12216

12217

12218

12219

12220

12221

12222

12223

12224

12225

12226

12202

12203

12204

12205

12206

12207

12208

12209

12210

12211

12212

12213

12227

12228

12229

12230

12231

12232

12233

12234

12235

12236

12237

12238

12239

12240

12241

12242

12243

Number Description

Created V-Cone with Execution Stopped

Created V-Cone with Execution Running

Destroyed V-Cone Data Structure

Restored from V-Cone Error

Failed To Set V-Cone Configuration

/* reserved */

Set V-Cone Input Units Type

Set V-Cone Contract Units Type

Set V-Cone Cone Material

Set V-Cone Pipe Material

Set V-Cone Cone Diameter

Set V-Cone Inside Pipe Diameter

Set V-Cone Pipe reference temperature

Set V-Cone Isentropic Exponent

Set V-Cone Viscosity

Set V-Cone Base Temperature

Set V-Cone Base Pressure

Set V-Cone Atmospheric Pressure

Set Table Point 1 Reynolds Number

Set Table Point 2 Reynolds Number

Set Table Point 3 Reynolds Number

Set Table Point 4 Reynolds Number

Set Table Point 5 Reynolds Number

Set Table Point 6 Reynolds Number

Set Table Point 7 Reynolds Number

Set Table Point 8 Reynolds Number

Set Table Point 9 Reynolds Number

Set Table Point 10 Reynolds Number

Set Table Point 1 Flow Coefficient

Set Table Point 2 Flow Coefficient

Set Table Point 3 Flow Coefficient

Set Table Point 4 Flow Coefficient

Set Table Point 5 Flow Coefficient

Set Table Point 6 Flow Coefficient

Set Table Point 7 Flow Coefficient

Set Table Point 8 Flow Coefficient

Set Table Point 9 Flow Coefficient

Set Table Point 10 Flow Coefficient

Set Adiabatic Expansion Factor Method

Set Wet Gas Correction Factor Method

Set Density of liquid at flow conditions

Set Mass flow rate of liquid at flow conditions

Enron Modbus Protocol Interface

Enron

Variable

3158 + offset

3159 + offset

3160 + offset

3161 + offset

3162 + offset none

7100 + offset

7146 + offset

7162 + offset

7163 + offset

7164 + offset

7166 + offset

7167 + offset

7168 + offset

7169 + offset

7148 + offset

7149 + offset

7145 + offset

7171 + offset

7173 + offset

7175 + offset

7177 + offset

7179 + offset

7181 + offset

7183 + offset

7185 + offset

7187 + offset

7189 + offset

7172 + offset

7174 + offset

7176 + offset

7178 + offset

7180 + offset

7182 + offset

7184 + offset

7186 + offset

7188 + offset

7190 + offset

7295 + offset

7296 + offset

7297 + offset

7298 + offset

AGA-8 Alarms and Events

These events are specific to the AGA-8 calculation.

Number Description

10801 Failed To Create AGA-8 Data Structure

Enron

Variable

3113 + offset

Realflo User and Reference Manual

May 19, 2011

905

Enron Modbus Protocol Interface

10802

10803

10804

10805

10806

10807

10808

10809

10810

10811

10812

10813

10814

10815

10816

10817

10818

10819

10820

10833

10834

10835

10836

10837

10838

10839

10840

10841

10842

10843

10821

10822

10823

10824

10825

10826

10827

10828

10829

10830

10831

10832

Number

10844

Description Enron

Variable

Created AGA-8 with Execution Stopped

Created AGA-8 with Execution Running

Destroyed AGA-8 Data Structure

Set AGA-8 Gas: Change Gas Fractions

3114 + offset

3115 + offset

3116 + offset

Set AGA-8 Gas: Methane (CH4)

Set AGA-8 Gas: Nitrogen

Set AGA-8 Gas: Carbon Dioxide (CO2)

Set AGA-8 Gas: Ethane (C2H6)

Set AGA-8 Gas: Propane (C3H8)

Set AGA-8 Gas: Water

7193 + offset

7194 + offset

7195 + offset

7196 + offset

7197 + offset

7198 + offset

Set AGA-8 Gas: Hydrogen Sulphide (H2S) 7199 + offset

Set AGA-8 Gas: Hydrogen 7200 + offset

Set AGA-8 Gas: Carbon Monoxide (CO)

Set AGA-8 Gas: Oxygen

Set AGA-8 Gas: I-Butane

Set AGA-8 Gas: n-Butane

Set AGA-8 Gas: I-Pentane

Set AGA-8 Gas: n-Pentane

Set AGA-8 Gas: n-hexane (when using individual gas components)

Set AGA-8 Gas: n-hexane + (when using combined value for hexane and higher components)

Set AGA-8 Gas: n-Heptane

7201 + offset

7202 + offset

7203 + offset

7204 + offset

7205 + offset

7206 + offset

7207 + offset

Set AGA-8 Gas: n-Octane

Set AGA-8 Gas: n-Nonane

Set AGA-8 Gas: n-Decane

Set AGA-8 Gas: Helium

Set AGA-8 Gas: Argon

Set AGA-8 Gas: Failed To Set

Failed To Set AGA-8 Configuration

Set AGA-8: Input Units Type

Set AGA-8: Base Temperature

Set AGA-8: Base Pressure

Set AGA-8: Atmospheric Pressure

7208 + offset

7209 + offset

7210 + offset

7211 + offset

7212 + offset

7213 + offset

3118 + offset

3119 + offset

7100 + offset

7148 + offset

7149 + offset

7145 + offset

Set AGA-8: Static Pressure Tap Location

Set AGA-8: Contract Units Type

Clear Compressibility Error

Set AGA-8: gas composition logging

Set AGA-8 Gas: Use Hexanes+

Set AGA-8 Hexane + Ratio for n-hexane

Set AGA-8 Hexane + Ratio for n-heptane

Set AGA-8 Hexane + Ratio for n-octane

Set AGA-8 Hexane + Ratio for n-nonane

Set AGA-8 Hexane + Ratio for n-decane

Set AGA-8 Laboratory real relative density

0 = calculate value

0.07 to 1.52 = use value

Set AGA-8 Laboratory heating value:

0 = calculate value

0 to 1800 = use value

7103 + offset

7146 + offset

3117 + offset

7219 + offset

7274 + offset

7275 + offset

7276 + offset

7277 + offset

7278 + offset

7279 + offset

7280 + offset

7281 + offset

Realflo User and Reference Manual

May 19, 2011

906

Enron Modbus Protocol Interface

NX-19 Alarms and Events

These events are specific to the NX-19 calculation.

11901

11902

11903

11904

11905

11906

11907

11908

11909

11910

11911

Number

11912

11913

11914

11915

11916

11917

11918

11919

Description

Failed to Create NX-19 Data Structure

Created NX-19 with Execution Stopped

Created NX-19 with Execution Running

Destroyed NX-19 Data Structure

Restored from NX-19 error

Set NX-19: Calculation Method

Set NX-19: Specific Gravity

Set NX-19: Gas: Carbon Dioxide

Set NX-19: Gas: Methane

Set NX-19: Gas: Nitrogen

Set NX-19: Heating Value

Enron

Variable

3122 + offset

3123 + offset

3124 + offset

3125 + offset

3126 + offset

7214 + offset

7215 + offset

7216 + offset

7217 + offset

Set NX-19: Static Pressure Tap Location

Set NX-19: Base Pressure

Set NX-19: Base Temperature

Clear Compressibility Error

Set NX-19: gas composition logging disabled

7103 + offset

7149 + offset

7148 + offset

Failed to set NX-19 Gas Components 3127 + offset

Failed to set NX-19 Contract Configuration 3128 + offset

Set NX-19: Contract Units Type 7146 + offset

3126 + offset

7218 + offset

MVT Alarms and Events

These events are specific to the MVT transmitter.

Number

13100

13101

13102

13103

13104

13105

13106

Description

Set MVT Transmitter 1: polling status

Set MVT Transmitter 1: serial port

Set MVT Transmitter 1: Address of transmitter

Enron

Variable

9603 + offset

9604 + offset

9605 + offset

Set MVT Transmitter 1: Timeout 9606 + offset

Set MVT Transmitter 1: Manufacturer Code 9607 + offset

Set MVT Transmitter 1: Turnaround Delay

Time

9608 + offset

Set MVT Transmitter 1: Differential

Pressure units

9609 + offset

13107

13108

13109

13110

13111

13112

13113

Set MVT Transmitter 1: Static Pressure units

9610 + offset

Set MVT Transmitter 1: Temperature units 9611 + offset

Set MVT Transmitter 1: Serial number

Set MVT Transmitter 1: Tag

6100 + offset

4103 + offset

9612 + offset Set MVT Transmitter 1: Differential

Pressure damping

Set MVT Transmitter 1: Differential

Pressure upper operating limit

9613 + offset

Set MVT Transmitter 1: Differential

Pressure lower operating limit

9614 + offset

Realflo User and Reference Manual

May 19, 2011

907

Enron Modbus Protocol Interface

Number

13114

13115

13116

13117

13118

13119

13120

13121

13122

13123

13124

13125

13126

13127

13128

13129

13130

13131

13132

13133

13134

13135

13136

13137

13138

13139

13140

13141

13142

Description

Set MVT Transmitter 1: Static Pressure damping

Set MVT Transmitter 1: Static Pressure upper operating limit

Set MVT Transmitter 1: Static Pressure lower operating limit

Set MVT Transmitter 1: Temperature damping

Set MVT Transmitter 1: Temperature upper operating limit

Set MVT Transmitter 1: Temperature lower operating limit

MVT Transmitter 1: lost communication

MVT Transmitter 1: transmitter configuration incorrect

MVT Transmitter 1: temperature sensor out of range

MVT Transmitter 1: static pressure sensor out of range

MVT Transmitter 1: differential pressure sensor out of range

MVT Transmitter 1: not polled

Set MVT Transmitter 1: Type Code

Set MVT Transmitter 1: IP Address

Set MVT Transmitter 1: IP Protocol

MVT Transmitter 1: temperature sensor value is bad

MVT Transmitter 1: static pressure sensor value is bad

MVT Transmitter 1: differential pressure sensor value is bad

Set MVT Transmitter 1: Atmospheric

Pressure Offset

MVT Transmitter 1: Restore for all communication alarms

MVT Transmitter 1: Restore for all alarms

MVT Transmitter 1: Sensors are Off Line

MVT Transmitter 1: RTD is disconnected

MVT Transmitter 1: Temperature Sensor

Above Range

MVT Transmitter 1: Static Pressure Above

Range

MVT Transmitter 1: Differential Pressure

Above Range

MVT Transmitter 1: Temperature Sensor

Below Range

MVT Transmitter 1: Static Pressure Below

Range

MVT Transmitter 1: Differential Pressure

Below Range

Enron

Variable

9615 + offset

9616 + offset

9617 + offset

9618 + offset

9619 + offset

9620 + offset

4112 + offset

4113 + offset

4114 + offset

4115 + offset

4116 + offset

4117 + offset

9621 + offset

6101 + offset

4120 + offset

4121 + offset

4122 + offset

4123 + offset

9622 + offset

4124 + offset

4125 + offset

4126 + offset

4127 + offset

4127 + offset

4127 + offset

4127 + offset

4127 + offset

4127 + offset

4127 + offset

Realflo User and Reference Manual

May 19, 2011

908

Enron Modbus Protocol Interface

Coriolis Meter Alarms and Events

These events are specific to the Coriolis meter.

Number Description

14001

14002

14003

14004

14005

14006

14007

14008

Failed To Set Coriolis Meter

Set Coriolis Meter: Meter Address

Set Coriolis Meter: Meter Port

Set Coriolis Meter: Meter Timeout

Coriolis Meter: Lost Communication

Coriolis Meter: Communication Restored

Coriolis Meter: Not Polled

Coriolis Meter: Coriolis Meter has bad response

Enron

Variable

10200 + offset

10201 + offset

10202 + offset

10203 + offset

10204 + offset

10205 + offset

10206 + offset

10207 + offset

Calibration and User Defined Alarms and Events

Realflo generates these events when performing calibration (not by the flow computer). User defined events can also be created in the range 19000 to

19999. Refer to the Log User Event command for details.

19003

19004

19005

19006

19007

19008

19009

19013

19014

19015

19016

19018

19019

19023

19024

19025

19026

19028

19029

19032

19033

19034

19039

Number Description

As-Found Temperature

As-Left Temperature

Target Re-Zero Temperature

Target Temperature Span

Set Default Temperature

Temperature After ReZero

Temperature After Span Calibration

As-Found Static Pressure

Enron

Variable

7302 + offset

7303 + offset

7333 + offset

7334 + offset

7335 + offset

7327 + offset

7328 + offset

7307 + offset

As-Left Static Pressure

Target Re-Zero Static Pressure

Target Static Pressure Span

Static Pressure After ReZero

Static Pressure After Span Calibration

As-Found Differential Pressure

As-Left Differential Pressure

Target Re-Zero Differential Pressure

7308 + offset

7336 + offset

7337 + offset

7329 + offset

7330 + offset

7312 + offset

7331 + offset

7338 + offset

Target Differential Pressure Span

Differential Pressure After ReZero

7339 + offset

7332 + offset

Differential Pressure After Span Calibration 7314 + offset

Continue Pulse Count Calibration

As-Found Pulse Count

As-Left Pulse Count

End Pulse Count Calibration

5151 + offset

5152 + offset

5153 + offset

5154 + offset

Calculation Engine Errors

The flow calculation engine generates these errors.

Number Description

20001

20003

Meter control structure not found

Temperature input is below zero scale

Enron

Variable

1101 + offset

3106 + offset

Realflo User and Reference Manual

May 19, 2011

909

Enron Modbus Protocol Interface

Number

20004

20005

20006

20007

20008

20009

20010

20011

20050

Description

Temperature input is above full scale 3107 + offset

Static pressure input is below zero scale

Static pressure input is above full scale

Differential pressure input is below zero scale

3108 + offset

3109 + offset

3110 + offset

Differential pressure input is above full scale 3111 + offset

Compressibility calculation inputs invalid 3112 + offset

Forced input register 4403 + offset

Removed force from input register

Restore from temperature input low alarm

Enron

Variable

4404 + offset

4405 + offset

20051

20052

20053

20054

20055

20056

20057

Restore from temperature input high alarm

Restore from static pressure input low alarm 4407 + offset

Restore from static pressure input high alarm

Restore from differential pressure input low alarm

Restore from differential pressure input high alarm

Restore from low pulse input alarm

Restore from input alarm

4406 + offset

4408 + offset

4409 + offset

4410 + offset

4411 + offset

4412 + offset

AGA-3 (1985) Calculation Errors

These errors are generated by the AGA-3 (1985) calculation.

Number Description

20210

Enron

Variable

4417 + offset

20229

20232

20233

20234

AGA-3 (1985)

– Flowing temperature is at or below absolute zero

AGA-3 (1985) - Ratios from AGA-8 or NX-19 were not available

AGA-3 (1985) - Static pressure below differential

AGA-3 (1985) - Static pressure zero or negative

AGA-3 (1985)

– Bad Calculation

3137 + offset

3138 + offset

3139 + offset

4419 + offset

AGA-3 (1992) Calculation Errors

These errors are generated by the AGA-3 (1992) calculation.

Number

20310

20325

20329

20332

20333

Description

AGA-3 (1992)

– Flowing temperature is at or below absolute zero

AGA-3 (1992)

– Too many Iterations

AGA-3 (1992)

– Ratios from AGA-8 or NX-19 were not available

AGA-3 (1992) - Static pressure below differential

AGA-3 (1992) - Static pressure zero or negative

Enron

Variable

4417 + offset

4420 + offset

3146 + offset

3147 + offset

3148 + offset

Realflo User and Reference Manual

May 19, 2011

910

Number

20334

Description

AGA-3 (1992)

Enron Modbus Protocol Interface

– Bad Calculation

Enron

Variable

4419 + offset

AGA-7 Calculation Errors

These errors are generated by the AGA-7 calculation.

Number

20712

20713

20714

20716

20720

Description

AGA-7 - Temperature low

AGA-7

– Static pressure zero or negative

AGA-7 - Low pulse rate

AGA-7 - Ratios from AGA-8 or NX-19 are not available

AGA-7

– Bad Calculation

Enron

Variable

4417 + offset

4418 + offset

3155 + offset

3156 + offset

4419 + offset

V-Cone Calculation Errors

These errors are generated by the V-Cone calculation.

Number Description

22221

22223

22227

22228

22229

22230

V-Cone

– Temperature low

V-Cone

– Ratios from AGA-8 or NX-19 were not available

V-Cone

– Too many Iterations

V-Cone

– Static pressure below differential pressure

V-Cone

– Static pressure zero or negative

V-Cone

– Bad Calculation

Enron

Variable

4417 + offset

3163 + offset

4420 + offset

3164 + offset

3199 + offset

4419 + offset

AGA-8 Calculation Errors

These errors are generated by the AGA-8 calculation.

Number Description

20809

20810

20811

20812

20814

20819

AGA-8

– Flow Temperature is Low

AGA-8

– Flow Temperature is High

AGA-8

– Flow Pressure is Low

AGA-8

–Flow Press is High

AGA-8 - Not configured

AGA-8 - No gas components

NX-19 Errors

These errors are generated by the NX-19 calculation.

Number Description

21913

21914

21915

21916

21917

NX-19

– Flow Temperature is Low

NX-19

– Flow Pressure is Low

NX-19

–Flow Press is High

NX-19 - Configuration flag not set

NX-19 - Gas ratios were not available

Enron

Variable

4413 + offset

4414 + offset

3166 + offset

4416 + offset

3120 + offset

3121 + offset

Enron

Variable

4413 + offset

4415 + offset

4416 + offset

3129 + offset

3130 + offset

Realflo User and Reference Manual

May 19, 2011

911

Number Description

NX-19

Enron Modbus Protocol Interface

– Flow Temperature is High

Enron

Variable

4414 + offset 21921

Realflo User and Reference Manual

May 19, 2011

912

PEMEX Modbus Protocol Interface

PEMEX Modbus Protocol Interface

The PEMEX Modbus protocol is used in the Oil and Gas industry to obtain data from electronic flow measurement devices. Control Microsystems supports this protocol in our flow computer products.

The PEMEX Modbus protocol is an extension of standard Modicon Modbus that supports a subset of Modbus function codes for historical and flow data.

Message framing is identical to the Enron Modbus protocol. However, register mapping differs for PEMEX Modbus.

The flow computer supports PEMEX Modbus and standard Modbus on the same serial port. Standard Modbus uses one station address and PEMEX

Modbus uses a different station address.

The flow computer does not determine which format a message is using because the station address separates the data streams. This architecture allows standard PC applications to communicate with the flow computer in the normal manner. PEMEX Modbus hosts can communicate at the same time.

The flow computer program processes PEMEX Modbus commands, sends master messages, and processes master responses. This architecture allows the PEMEX Modbus commands to directly access flow computer data.

Flow computer data is accessed directly when a command is processed.

When data is written to the numeric registers for configuration, the flow computer reads the existing data structures, replaces the targeted fields with new data and attempts to configure the run with the new configuration. This may be repeated with other configuration items when the command message is long.

Some registers are read only, as listed in the Access column in the tables below. Changes made to read only registers are not accepted by the flow computer.

The flow computer supports the following PEMEX function codes.

Command

1

2

3

4

5

6

15

16

Description

Read coil status

Read input status

Read holding registers

Read input registers

Force single coil

Preset single register

Force multiple coils

Preset multiple registers

Register Addresses

The addresses in the messages refer to system addresses, not type specific addresses. The commands will return exception errors if the command refers to addresses outside the valid range for the command.

Realflo User and Reference Manual

May 19, 2011

913

PEMEX Modbus Protocol Interface

The ranges are as follows:

Range Data Type

0001

– 1000

Hourly/Daily archive

Alarm/Event retrieval (0032)

1001

– 2000

Real-time status

2001

– 3000

Not used

3001 - 4000 Not used

4001 - 5000 Not used

5001

– 6000

Not used

6001

– 7000

Pointers to current historic archive (6100

– 6300 approx.)

Number of events not retrieved (6301)

7001

– 7599

Real-time floating-point data

7600

– 7999

Events

8001

– 9000

Upload or download data (quality of gas and AGA configuration)

9999

– 10000 Time synchronization

Refer to the Flow Computer Variables section of this document for details on

the registers allocated to the flow computer.

Meter Run 1 Data Variables

Meter run 1 data variables are show in detail in the following sections.

Meter Run 1 Instantaneous and Accumulated Variables

These variables display the current state of the flow calculation for meter run

1.

Register Description

7001

7002

Static pressure

Differential pressure / Pulse count

7003

7004

7005

7006

7007

7008

7009

7010

Temperature

Corrected flow (2 nd

base conditions)

Corrected flow (1 st

base conditions)

Hourly volume (2 nd

base conditions)

Hourly volume (1 st

base conditions)

Daily volume (2 nd

base conditions)

Daily volume (1 st

base conditions)

Previous hourly volume (2 nd base conditions)

°

PEMEX Units

psi

F

Access

Read Only inches H

2

O / Hz Read Only

MSCM/D

MSCF/D

MSCM

MSCF

MSCM

MSCF

MSCM

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

914

PEMEX Modbus Protocol Interface

Register Description

7011

Previous hourly volume (1 st

7012 base conditions)

Previous daily volume (2 nd

7013 base conditions)

Previous daily volume (1 st base conditions)

7014 Energy flow rate

7015

7016

7017

7018

Hourly energy

Daily energy

Previous hourly energy

Previous daily energy

PEMEX Units

MSCF

MSCM

MSCF

Access

Read Only

Read Only

Read Only

Giga calories/D Read Only

Giga calories Read Only

Giga calories

Giga calories

Giga calories

Read Only

Read Only

Read Only

Meter Run 1 Historic Variables

These registers are used to retrieve the historic information for meter run 1.

The host first retrieves the history index value. The host then retrieves the relevant historic records based on the value of the history index. The host can specify which historic record to retrieve by s etting the “Number of

Registers” in the request. See section Historic Data Variables for more

information.

Register Description

701

721

741

6101

6121

6201

Daily history records

Hourly history records

Hourly gas quality history records

Daily history index

Hourly history index

Hourly gas quality history index

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 2 Data Variables

Meter run 2 data variables are show in detail in the following sections.

Meter Run 2 Instantaneous and Accumulated Variables

These variables display the current state of the flow calculation for meter run

2.

Register

7031

7032

7033

7034

7035

7036

7037

7038

Description

Static pressure

Differential pressure / Pulse count

Temperature

Corrected flow (2 nd

base conditions)

Corrected flow (1 st

base conditions)

Hourly volume (2 nd

base conditions)

Hourly volume (1 st

base conditions)

Daily volume (2 nd

base conditions)

PEMEX Units

psi

Access

Read Only inches H

2

O / Hz Read Only

°

F

MSCM/D

MSCF/D

MSCM

MSCF

MSCM

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

915

PEMEX Modbus Protocol Interface

Register Description

7039

Daily volume (1 st

base

7040 conditions)

Previous hourly volume (2 nd

7041 base conditions)

Previous hourly volume (1 st

7042 base conditions)

Previous daily volume (2 nd

7043 base conditions)

Previous daily volume (1 st base conditions)

7044 Energy flow rate

7045

7046

7047

7048

Hourly energy

Daily energy

Previous hourly energy

Previous daily energy

PEMEX Units

MSCF

MSCM

MSCF

MSCM

MSCF

Giga calories/D

Giga calories

Giga calories

Giga calories

Giga calories

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 2 Historic Variables

These registers are used to retrieve the historic information for meter run 2.

The host first retrieves the history index value. The host then retrieves the relevant historic records based on the value of the history index. The host can specify which historic r ecord to retrieve by setting the “Number of

Registers” in the request. See section Historic Data Variables for more

information.

Register Description

702

722

742

6102

6122

6202

Daily history records

Hourly history records

Hourly gas quality history records

Daily history index

Hourly history index

Hourly gas quality history index

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 3 Data Variables

Meter run 3 data variables are show in detail in the following sections.

Meter Run 3 Instantaneous and Accumulated Variables

These variables display the current state of the flow calculation for meter run

3.

Register

7061

7062

7063

7064

7065

7066

Description

Static pressure

Differential pressure / Pulse count

Temperature

Corrected flow (2 nd

base conditions)

Corrected flow (1 st

base conditions)

Hourly volume (2 nd

base

PEMEX Units

psi

Access

Read Only inches H

2

O / Hz Read Only

°

F

MSCM/D

MSCF/D

MSCM

Read Only

Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

916

7067

7068

7069

7070

7071

7072

PEMEX Modbus Protocol Interface conditions)

Hourly volume (1 st

base conditions)

Daily volume (2 nd

base conditions)

Daily volume (1 st

base conditions)

Previous hourly volume (2 nd base conditions)

Previous hourly volume (1 st base conditions)

Previous daily volume (2 nd base conditions)

Previous daily volume (1 st base conditions)

Energy flow rate

Hourly energy

Daily energy

Previous hourly energy

Previous daily energy

MSCF

MSCM

MSCF

MSCM

MSCF

MSCM

MSCF

Giga calories/D

Giga calories

Giga calories

Giga calories

Giga calories

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

7073

7074

7075

7076

7077

7078

Meter Run 3 Historic Variables

These registers are used to retrieve the historic information for meter run 3.

The host first retrieves the history index value. The host then retrieves the relevant historic records based on the value of the history index. The host can specify which historic record to retrieve by setting the “Number of

Registers” in the request. See section Historic Data Variables for more

information.

Register Description

703

723

743

6103

6123

6203

Daily history records

Hourly history records

Hourly gas quality history records

Daily history index

Hourly history index

Hourly gas quality history index

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 4 Data Variables

Meter run 4 data variables are show in detail in the following sections.

Meter Run 4 Instantaneous and Accumulated Variables

These variables display the current state of the flow calculation for meter run

4.

Register Description

7091

7092

Static pressure

Differential pressure / Pulse count

7093

7094

Temperature

Corrected flow (2 nd

base

°

PEMEX Units

psi

F

MSCM/D

Access

Read Only inches H

2

O / Hz Read Only

Read Only

Read Only

Realflo User and Reference Manual

May 19, 2011

917

7095

7096

7097

7098

7109

7100

7101

7102

7103

7104

7105

7106

7107

7108

PEMEX Modbus Protocol Interface conditions)

Corrected flow (1 st

base conditions)

Hourly volume (2 nd

base conditions)

Hourly volume (1 st

base conditions)

Daily volume (2 nd

base conditions)

Daily volume (1 st

base conditions)

Previous hourly volume (2 nd base conditions)

Previous hourly volume (1 st base conditions)

Previous daily volume (2 nd base conditions)

Previous daily volume (1 st base conditions)

Energy flow rate

Hourly energy

Daily energy

Previous hourly energy

Previous daily energy

MSCF/D

MSCM

MSCF

MSCM

MSCF

MSCM

MSCF

MSCM

MSCF

Giga calories/D

Giga calories

Giga calories

Giga calories

Giga calories

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Meter Run 4 Historic Variables

These registers are used to retrieve the historic information for meter run 1.

The host first retrieves the history index value. The host then retrieves the relevant historic records based on the value of the history index. The host can specify which historic record to retrieve by setting the “Number of

Registers” in the request. See section Historic Data Variables for more

information.

Register Description

704

724

744

6104

6124

6204

Daily history records

Hourly history records

Hourly gas quality history records

Daily history index

Hourly history index

Hourly gas quality history index

Access

Read Only

Read Only

Read Only

Read Only

Read Only

Read Only

Historic Data Variables

PEMEX Modbus Hourly/Daily archive registers are used to read Realflo hourly and daily logs. The registers read the logs record by record.

The Daily Log holds records for the previous 35 days. These can be read by using index numbers one through 35.

The Hourly Log holds records for the previous 841 hours. These can be read using index numbers one through 841.

The Gas Composition Log holds (hourly) records for the previous 841 hours.

These can be read using index numbers one through 841.

Realflo User and Reference Manual

May 19, 2011

918

PEMEX Modbus Protocol Interface

An index of 0 implies that a log has not yet occurred. Polling for index 0 will result in an illegal data address response in PEMEX Modbus.

Historic Record Format

Each hourly and daily record is in the following format.

Felds are in floating-point format.

Field PEMEX Units

Date (at the start of the period)

Time (at the start of the period)

MMDDYY.0

HHMMSS.0

Duration of flow in period Minutes

Up-time (in contract day) Minutes

Average differential pressure/ Average Frequency inches H

2

0 / Hz

Average static pressure psia

Average temperature

°

F

Average relative density

Average heating value

Average flow extension

Volume (2 nd

base conditions)

Energy

Number of events

Number of alarms

Meter ID

Quality

Volume (1 st

base conditions)

Total energy in period

-

BTU(60)/SCF

-

MCF

Mega calories

-

-

-

-

MCF

Giga calories

Gas Quality History Record Format

Each gas quality history record is in the following format.

Gas components are in %, not in mole fractions.

Field

Date

Time

Methane

Nitrogen

Carbon Dioxide

Ethane

Propane

Water

Hydrogen Sulfide

Hydrogen

Carbon Monoxide

Oxygen i-butane n-Butane i-Pentane n-Pentane n-Hexane

Format / Units Notes

%

%

%

%

%

%

%

%

%

%

%

MMDDYY.0

HHMMSS.0

%

%

%

%

Realflo User and Reference Manual

May 19, 2011

919

Field

n-Heptane n-Octane n-Nonane n-Decane

Helium

Argon

Hexanes+

Relative Density

Heating Value

PEMEX Modbus Protocol Interface

Format / Units Notes

%

%

%

%

%

%

%

-

BTU(60)/ft

3

Not used

Meter Run 1 Configuration

AGA Configuration

These registers are used to configure the AGA configuration for meter run 1.

8601

8602

8603

8604

8605

8606

8607

8608

8609

8610

8611

8612

Register Field

Atmospheric pressure

Base pressure

Base temperature

Contract hour

Low flow cut-off mark

Meter ID

Run enable

Calculated compressibility

Tap location

Pipe diameter

Orifice diameter

AGA calculation method

PEMEX Units

kg/cm

2

ABS kg/cm

2

°

C

- inches H

2

O

-

See Run Enable

See Gas Composition

Configuration

See Tap Location

inches inches

See AGA Calculation

Method

Gas Composition Configuration

These registers configure the gas composition for stream 1. Stream 1 values are used by each flow run.

Realflo checks the validity of the entered components using the following limits:

Individual components are in the ranges listed in the table below.

The Total of all Components field displays the sum of all components.

The total of all components needs to be 1.0000 (+/- 0.00001) if

Composition Units is set to Mole Fractions or 100% (+/- 0.00001%) if

Composition Units is set to Percent.

Register Field

8031

8032

8033

8034

Methane

Nitrogen

Carbon Dioxide

Ethane

Format / Units

%

%

%

%

Realflo User and Reference Manual

May 19, 2011

920

8045

8046

8047

8048

8049

8050

8051

8052

8053

8054

8035

8036

8037

8038

8039

8040

8041

8042

8043

8044

Propane

Water

Hydrogen Sulphide

Hydrogen

Carbon Monoxide

Oxygen i-Butane n-Butane i-Pentane n-Pentane n-Hexane n-Heptane n-Octane n-Nonane n-Decane

Helium

Argon unused

Relative Density

Heating Value

PEMEX Modbus Protocol Interface

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

%

-

BTU(60)/ft

3

Gas Component Ranges

The range of the fractional values of the components cannot be predetermined. The valid gas components are shown below. There are two ranges shown for each gas component. Realflo accepts any value in the

Expanded Range. Only values in the Normal Range will work in all circumstances.

Component Normal Range Expanded Range

Methane CH

4

Nitrogen

.4500 to 1.0000 0 to 1.0000

0 to 0.5000 0 to 1.0000

Carbon Dioxide

Ethane C

2

H

6

Propane C

3

H

8

Water

0 to 0.3000

0 to 0.1000

0 to 0.0400

0 to 0.0005

Hydrogen Sulfide 0 to 0.0002

0 to 1.0000

0 to 1.0000

0 to 0.1200

0 to 0.0300

0 to 1.0000

Hydrogen 0 to 0.1000

Carbon Monoxide 0 to 0.0300

Oxygen 0

0 to 0.0100 Total Butanes

 iButane

 nButane

Total Pentanes

 iPentane

0 to 0.0300

0 to 1.0000

0 to 0.0300

0 to 0.2100

0 to 0.0600

0 to 0.0400

Realflo User and Reference Manual

May 19, 2011

921

PEMEX Modbus Protocol Interface

Component

 nPentane

Total Hexane Plus

 nHexane

 nHeptane

 nOctane

 nNonane

 nDecane

Helium

Argon

Normal Range Expanded Range

0 to 0.0200

0 to 0.0200

0

0 to 0.0400

0 to 0.0300

0 to 0.0100

Meter Run 2 Configuration

AGA Configuration

These registers are used to configure the AGA configuration for meter run 1.

8621

8622

8623

8624

8625

8626

8627

Register Field

8628

8629

8630

8631

8632

PEMEX Units

Atmospheric pressure

Base pressure kg/cm

2

ABS kg/cm

2

Base temperature

°

C

Contract hour

Low flow cut-off mark

Meter ID

Run enable

- inches H

-

2

O

Calculated compressibility

Tap location

Pipe diameter

See Run Enable

See Gas Composition

Configuration

See Tap Location

inches

Orifice diameter inches

AGA calculation method

See AGA Calculation Method

Gas Composition Configuration

Gas composition configuration is shared with run 1 in registers 8031 to

8054.

Meter Run 3 Configuration

AGA Configuration

These registers are used to configure the AGA configuration for meter run 1.

Register Field

8641

8642

8643

Atmospheric pressure

Base pressure

Base temperature

PEMEX Units

kg/cm

2

ABS kg/cm

2

°

C

Realflo User and Reference Manual

May 19, 2011

922

8644

8645

8646

8647

8648

8649

8650

8651

8652

PEMEX Modbus Protocol Interface

Contract hour

Low flow cut-off mark

- inches H

2

O

- Meter ID

Run enable

Calculated compressibility

See Run Enable

See Gas Composition

Configuration

See Tap Location

Tap location

Pipe diameter

Orifice diameter inches inches

AGA calculation method

See AGA Calculation Method

Gas Composition Configuration

Gas composition configuration is shared with run 1 in registers 8031 to

8054.

Meter Run 4 Configuration

AGA Configuration

These registers are used to configure the AGA configuration for meter run 1.

Gas Composition Configuration

Gas composition configuration is shared with run 1 in registers 8031 to

8054.

Configuration Values

Calculated Compressibility

The values used for the Calculated Compressibility field are specified below.

Value

5.0

Calculated Compressibility

AGA-8 1992 Detailed

Tap Location

8661

8662

8663

8664

8665

8666

8667

Register Field

8668

8669

8670

8671

8672

PEMEX Units

Atmospheric pressure

Base pressure

Base temperature kg/cm

2

ABS kg/cm

2

°

C

Contract hour

Low flow cut-off mark

Meter ID

Run enable

Calculated compressibility

- inches H

2

O

-

See Run Enable

See Gas Composition

Configuration

Tap location

Pipe diameter

See Tap Location

inches

Orifice diameter inches

AGA calculation method

See AGA Calculation Method

The values used for the Tap Location field are specified below.

Value Tap Location

Realflo User and Reference Manual

May 19, 2011

923

PEMEX Modbus Protocol Interface

0.0

1.0

Tap upstream

Tap downstream

Run Enable

The values used for the Run Enable field are specified below.

Value

0.0

1.0

Run Enable

Inhibit

Enable

AGA Calculation Method

The values used for the AGA Calculation Method field are specified below.

Value

0.0

1.0

2.0

3.0

AGA Calculation Method

AGA-3 1985

AGA-7 1985

AGA-3 1992

V-Cone

Time Synchronization

Time synchronization registers are in floating point format.

The Modbus registers for time synchronization are downloaded using function code 16 (hex 10).

The Modbus registers for time synchronization are uploaded using function code 3.

The configuration request (upload/download) uses 2 registers and 8 bytes.

Modbus Register

9999

10000

Description Format

Date

Time

MMDDYY.0

HHMMSS.0

Access

Read / Write

Read / Write

Event and Alarm Log

The Flow Computer event and alarm logs can be read as the PEMEX

Modbus event/alarm log. The Flow Computer alarms events numbers are converted to changes in the PEMEX Modbus Variables. The tables below show the Flow Computer alarms/events and the corresponding PEMEX

Modbus item number.

A large number of events and alarms don't have a corresponding item number in the PEMEX Modbus specification. So that they can be reported in the PEMEX Modbus event/alarm log, item numbers have been created for them. These item numbers begin at 8001.

In the following tables, some variables are described with an offset. The offset is determined by the flow run.

Run

1

2

3

4

5

Poffset

0

18

36

54

72

Noffset

0

1000

2000

3000

4000

Realflo User and Reference Manual

May 19, 2011

924

Run

6

7

Poffset

90

108

PEMEX Modbus Protocol Interface

Noffset

5000

6000

The Flow Computer logs contain information that needs to be mapped into the PEMEX Modbus event format.

The Event ID is mapped into the change bit map and the register number.

The Sequential event or alarm number is not reported.

The User number is not reported directly, as there is no field. There is a bit indicating the source of the alarm or event as the operator or the flow computer. The user number is mapped into this.

The date of event or alarm is converted to the PEMEX date format.

The time of event or alarm is converted to the PEMEX time format.

The new data associated with the event or alarm is reported in the alarm/event.

The previous data associated with the event or alarm is reported in the alarm/event.

The PEMEX interface assumes that there is one log for all of the flow runs.

It contains alarms and events. Alarms and events have similar but not identical formats. Alarms and events are returned in the same response to a command.

Alarms and events cannot be read after they have been acknowledged. This happens immediately after they are read from the flow computer.

When using Realflo to retrieve events or flow history, the read all events selection needs to be used, otherwise the events will be acknowledged as being read, and the host will not have direct access to that data.

Global Alarms and Events

The gas flow computation engine creates these events.

Realflo

Number

10001

10002

10003

10004

10005

10006

10007

10008

10009

10010

10011

10012

10013

10014

10015

Description Pemex Item

Power On - Cold Boot

Power On

– Warm Boot

Lost Events

Recovered from Input Error

8001

8002

9001 + Noffset

9002 + Noffset

Set Input: Units Type

Set Input: Flow Calculation Type

9003 + Noffset

9004 + Noffset

Set Input: Compressibility Calculation Type 7616 + Poffset

Set Input: Temperature Register 9005 + Noffset

Set Input: Temperature Input at Zero Scale 9006 + Noffset

Set Input: Temperature Input at Full Scale 9007 + Noffset

Set Input: Temperature at Zero Scale

Set Input: Temperature at Full Scale

9008 + Noffset

9009 + Noffset

Set Input: Pressure Register

Set Input: Pressure Input at Zero Scale

Set Input: Pressure Input at Full Scale

9010 + Noffset

9011 + Noffset

9012 + Noffset

Realflo User and Reference Manual

May 19, 2011

925

PEMEX Modbus Protocol Interface

Realflo

Number

10028

10029

10030

10031

10032

10033

10034

10035

10036

10037

10016

10017

10018

10019

10020

10021

10022

10023

10024

10025

10026

10027

10038

10039

10040

10041

10042

10043

10044

10046

10047

10048

10049

10050

10051

10052

10053

10054

10055

10056

10057

Description Pemex Item

Set Input: Pressure at Zero Scale

Set Input: Pressure at Full Scale

Set Input: DP Register

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

Set Input: DP at Zero Scale

Set Input: DP at Full Scale

Set Contract: Units Type

Set Contract: Base Temperature

Set Contract: Base Pressure

Set Input: Atmospheric Pressure

Set Input: Static Pressure Tap Location

9013 + Noffset

9014 + Noffset

9015 + Noffset

9016 + Noffset

9017 + Noffset

9018 + Noffset

9019 + Noffset

9020 + Noffset

7622 + Poffset

7621 + Poffset

7623 + Poffset

7615 + Poffset

Set Contract: Contract Hour

Change Execution State

Set RTC Year

Set RTC Month

Set RTC Day

7624 + Poffset

7612 + Poffset

8003

8004

8005

Set RTC Hour

Set RTC Minute

Set RTC Second

8006

8007

8008

Set Input: Temperature Low Level Cutoff 9021 + Noffset

Set Input: Temperature Low Level hysteresis

9022 + Noffset

Set Input: Temperature High Level Cutoff 9023 + Noffset

Set Input: Temperature High Level

Hysteresis

9024 + Noffset

Set Input: Pressure Low Level Cutoff 9025 + Noffset

Set Input: Pressure Low Level Hysteresis 9026 + Noffset

Set Input: Pressure High Level Cutoff 9027 + Noffset

Set Input: Pressure High Level Hysteresis 9028 + Noffset

Set Input: Save Low/High Flow Events 9029 + Noffset

Invalid User Event 9031 + Noffset

9032 + Noffset Start Temperature Calibration: Forced temperature input

End Temperature Calibration: Removed forced temperature input

Start Static Pressure Calibration: Forced

SP input

9033 + Noffset

9034 + Noffset

9035 + Noffset End Static Pressure Calibration: Removed forced SP input

Start Differential Pressure Calibration:

Forced DP input

End Differential Pressure Calibration:

Removed forced DP input

Start Pulse Counter Calibration: Forced pulse count rate

End Pulse Counter Calibration: Removed forced pulse count rate

Set User Number

Set User Security Level

Set Input: Temperature Register Type

9036 + Noffset

9037 + Noffset

9038 + Noffset

9039 + Noffset

8009

8010

9040 + Noffset

Realflo User and Reference Manual

May 19, 2011

926

PEMEX Modbus Protocol Interface

10093

10094

10095

10096

10097

10098

10099

10100

10101

10102

10084

10085

10086

10087

10088

10089

10090

10091

10092

Realflo

Number

10058

10059

10060

10061

10062

10063

10064

10065

10066

10067

10068

10069

10071

10072

10073

10074

10075

10076

10077

10078

10079

10080

10081

10082

10083

Description Pemex Item

Set Input: Pressure Register Type 9041 + Noffset

Set Input: DP Register Type 9042 + Noffset

Set Input: Temperature Input at Zero Scale 9043 + Noffset

Set Input: Temperature Input at Full Scale 9044 + Noffset

Set Input: Pressure Input at Zero Scale

Set Input: Pressure Input at Full Scale

Set Input: DP Input at Zero Scale

Set Input: DP Input at Full Scale

Set Input: Pulse Counter Register

Set Input: Pulse Counter Register Type

Set Active Runs

Lost Alarms

9045 + Noffset

9046 + Noffset

9047 + Noffset

9048 + Noffset

9049 + Noffset

9050 + Noffset

7604

9051 + Noffset

Firmware Version

Application Version

Set Flow Computer ID

Set Contract: Input Err Action

Set Run ID

Power Off

Start Plate Change: Forced temperature input

8011

8012

7603

9053 + Noffset

7611 + Poffset

8013

9054 + Noffset

End Plate Change: Removed forced temperature input

Start Plate Change: Forced static pressure input

End Plate Change: Removed forced static pressure input

Start Plate Change: Forced differential pressure input

End Plate Change: Removed forced differential pressure input

Set Input: altitude and latitude compensation

Set Input: altitude

Set Input: latitude

Forced temperature input

9055 + Noffset

9056 + Noffset

9057 + Noffset

9058 + Noffset

9059 + Noffset

9060 + Noffset

9061 + Noffset

9062 + Noffset

7628 + Poffset

Removed forced temperature input

Forced static pressure input

Removed forced static pressure input

7628 + Poffset

7627 + Poffset

7627 + Poffset

Forced differential pressure input 7625 + Poffset

Removed forced differential pressure input 7625 + Poffset

Forced pulse count rate 7626 + Poffset

Removed forced pulse count rate

Set Contract: wet gas meter factor

Set Input: Pulse Counter Register

Set Input: Pulse K Factor

Set Input: Pulse Units

Set Input: Base Compressibility Calc

Set Input: Averaging Type

Set Input: Default Input Type

Set Input: Default Temperature

Set Input: Default Static Pressure

7626 + Poffset

9063 + Noffset

9064 + Noffset

9065 + Noffset

9066 + Noffset

9067 + Noffset

9068 + Noffset

9069 + Noffset

9070 + Noffset

9071 + Noffset

Realflo User and Reference Manual

May 19, 2011

927

PEMEX Modbus Protocol Interface

Realflo

Number

10103

10104

10105

10106

10107

10108

10109

10110

10111

10114

Description Pemex Item

Set Input: Default Differential Pressure

Set gas quality source (Pemex only)

Set Input: Flow Direction Control

Set Input: Flow Direction Register

9072 + Noffset

9073 + Noffset

9074 + Noffset

9075 + Noffset

Forced mass flow input

Restored live mass flow input

Starting Calibration: Forced mass flow rate input

Ending Calibration: Restored live mass flow rate input

9076 + Noffset

9077 + Noffset

9078 + Noffset

9079 + Noffset

Set Input: Mass Flow Rate Register Type 9080 + Noffset

Set Input: On Indicates 9081 + Noffset

Realflo User and Reference Manual

May 19, 2011

928

PEMEX Modbus Protocol Interface

AGA-3 (1985) Alarms and Events

These events are specific to the AGA-3 (1985) calculation.

Realflo

Number

10201

10202

10203

10204

10205

10206

10207

10208

10209

10210

10211

10212

10213

10214

10215

10216

10217

10218

10219

10220

10221

10222

10223

Description PEMEX Item

Failed To Create AGA-3 (1985) Data

Structure

Created AGA-3 (1985) with Execution

Stopped

9101 + Noffset

9102 + Noffset

Created AGA-3 (1985) with Execution

Running

9103 + Noffset

Destroyed AGA-3 (1985) Data Structure 9104 + Noffset

Recovered from AGA-3 (1985) error

Set AGA-3 (1985): Input Units Type

Set AGA-3 (1985): Orifice Material

Set AGA-3 (1985): Pipe Material

Set AGA-3 (1985): Static Pressure Tap

Location

Set AGA-3 (1985): Orifice Diameter

Set AGA-3 (1985): Orifice Measurement

Reference Temperature

9105 + Noffset

9106 + Noffset

9107 + Noffset

9108 + Noffset

7615 + Poffset

7618 + Poffset

9109 + Noffset

Set AGA-3 (1985): Pipe Diameter

Set AGA-3 (1985): Pipe Diameter

Measurement Reference Temperature

Set AGA-3 (1985): Isentropic Exponent

Set AGA-3 (1985): Viscosity

Set AGA-3 (1985): Base Temperature

7617 + Poffset

9110 + Noffset

9111 + Noffset

9112 + Noffset

7622 + Poffset

Set AGA-3 (1985): Base Pressure 7621 + Poffset

Set AGA-3 (1985): Atmospheric Pressure 7623 + Poffset

Failed To Set AGA-3 (1985) Configuration 9113 + Noffset

Set AGA-3 (1985): Contract Units Type 9114 + Noffset

Set AGA-3 (1985): Temperature deadband

9115 + Noffset

Set AGA-3 (1985): Static Pressure deadband

9116 + Noffset

Set AGA-3 (1985): Differential Pressure deadband

9117 + Noffset

AGA-3 (1992) Alarms and Events

These events are specific to the AGA-3 (1992) calculation.

Realflo

Number

10301

10302

10303

10304

10305

10306

Description PEMEX Item

Failed To Create AGA-3 (1992) Data

Structure

Created AGA-3 (1992) with Execution

Stopped

Created AGA-3 (1992) with Execution

Running

9151 + Noffset

9152 + Noffset

9153 + Noffset

Destroyed AGA-3 (1992) Data Structure 9154 + Noffset

Restored from AGA-3 (1992) error 9155 + Noffset

Set AGA-3 (1992): Input Units Type 9156 + Noffset

Realflo User and Reference Manual

May 19, 2011

929

PEMEX Modbus Protocol Interface

10314

10315

10316

10317

10318

10319

10320

10321

10322

10323

10324

10325

Realflo

Number

10307

10308

10309

10310

10311

10312

10313

10326

10327

Description PEMEX Item

Set AGA-3 (1992): Orifice Material

Set AGA-3 (1992): Pipe Material

Set AGA-3 (1992): Static Pressure Tap

Location

Set AGA-3 (1992): Orifice Diameter

Set AGA-3 (1992): Orifice reference temperature

Set AGA-3 (1992): Pipe Diameter

Set AGA-3 (1992): Pipe Diameter

Measurement Temperature

9157 + Noffset

9158 + Noffset

7615 + Poffset

7618 + Poffset

9159 + Noffset

7617 + Poffset

9160 + Noffset

Set AGA-3 (1992): Isentropic Exponent

Set AGA-3 (1992): Viscosity

Set AGA-3 (1992): Base Temperature

9161 + Noffset

9162 + Noffset

7622 + Poffset

Set AGA-3 (1992): Base Pressure 7621 + Poffset

Set AGA-3 (1992): Atmospheric Pressure 7623 + Poffset

Failed To Set AGA-3 (1992) Configuration 9163 + Noffset

Set Input: DP Low Level Cutoff

Set Input: DP Low Level Hysteresis

7619 + Poffset

9164 + Noffset

Set Input: DP High Level Cutoff

Set Input: DP High Level Hysteresis

Set AGA-3 (1992): Contract Units Type

Set AGA-3 (1992): Temperature deadband

Set AGA-3 (1992): Static Pressure deadband

Set AGA-3 (1992): Differential Pressure deadband

9165 + Noffset

9166 + Noffset

9167 + Noffset

9168 + Noffset

9169 + Noffset

9170 + Noffset

AGA-7 Alarms and Events

These events are specific to the AGA-7 calculation.

Realflo

Number

10701

10702

10703

10704

10705

10706

10707

10708

10709

10710

10711

10712

10713

10714

10715

10716

Description PEMEX Item

Failed To Create AGA-7 Data Structure 9201 + Noffset

Created AGA-7 with Execution Stopped 9202 + Noffset

Created AGA-7 with Execution Running 9203 + Noffset

Destroyed AGA-7 Data Structure 9204 + Noffset

Restored from AGA-7 error 9205 + Noffset

Set AGA-7: Input Units Type

Set AGA-7: K factor

Set AGA-7: M factor

Set AGA-7: Atmospheric Pressure

Set AGA-7: Base Pressure

Set AGA-7: Base Temperature

Failed To Set AGA-7 Configuration

9206 + Noffset

7620 + Poffset

9207 + Noffset

7623 + Poffset

7621 + Poffset

7622 + Poffset

9208 + Noffset

Set Input: Turbine Low Flow Pulse Limit 9209 + Noffset

Set Input: Turbine Low Flow Detect Time 9210 + Noffset

Set AGA-7: Contract Units Type 9211 + Noffset

Set AGA-7: Volume Option 9212 + Noffset

Realflo User and Reference Manual

May 19, 2011

930

PEMEX Modbus Protocol Interface

AGA-11Alarms and Events

These events are specific to the AGA-11calculation.

Realflo

Number

11101

11102

11103

11104

11105

11106

11107

11108

11109

11110

Description PEMEX Item

Failed To Create AGA-11 Data Structure 9401 + Noffset

Created AGA-11 with Execution Stopped 9402 + Noffset

Created AGA-11 with Execution Running 9403+ Noffset

Destroy AGA-11 Data Structure

Recovered from AGA-11 error

Change in AGA-11 units configuration

9404+ Noffset

9405 + Noffset

9406+ Noffset

Change in AGA-11 contract units config

Change in AGA-11 base temperature

Change in AGA-11 base pressure

Failed To Set AGA-11 Configuration

9407+ Noffset

9408+ Noffset

9409+ Noffset

9410+ Noffset

V-Cone Alarms and Events

These events are specific to the V-Cone calculation.

12221

12222

12223

12224

12225

12226

12227

12228

12229

12208

12209

12210

12211

12212

12213

12214

12215

12216

12217

12218

12219

12220

Realflo

Number

12201

12202

12203

12204

12205

12206

12207

Description PEMEX Item

Failed To Create V-Cone Date Structure 9251 + Noffset

Created V-Cone with Execution Stopped 9252 + Noffset

Created V-Cone with Execution Running 9253 + Noffset

Destroyed V-Cone Data Structure

Restored from V-Cone Error

Failed To Set V-Cone Configuration

Set V-Cone Cone Measurement

Temperature

9254 + Noffset

9255 + Noffset

9256 + Noffset

9257 + Noffset

Set V-Cone Input Units Type

Set V-Cone Contract Units Type

Set V-Cone Cone Material

Set V-Cone Pipe Material

Set V-Cone Cone Diameter

9258 + Noffset

9259 + Noffset

9260 + Noffset

9261 + Noffset

9262 + Noffset

Set V-Cone Inside Pipe Diameter 9263 + Noffset

Set V-Cone Pipe reference temperature 9264 + Noffset

Set V-Cone Isentropic Exponent 9265 + Noffset

Set V-Cone Viscosity

Set V-Cone Base Temperature

Set V-Cone Base Pressure

Set V-Cone Atmospheric Pressure

Set Table Point 1 Reynolds Number

9266 + Noffset

7622 + Poffset

7621 + Poffset

7623 + Poffset

9267 + Noffset

Set Table Point 2 Reynolds Number

Set Table Point 3 Reynolds Number

Set Table Point 4 Reynolds Number

Set Table Point 5 Reynolds Number

Set Table Point 6 Reynolds Number

Set Table Point 7 Reynolds Number

Set Table Point 8 Reynolds Number

Set Table Point 9 Reynolds Number

Set Table Point 10 Reynolds Number

9268 + Noffset

9269 + Noffset

9270 + Noffset

9271 + Noffset

9272 + Noffset

9273 + Noffset

9274 + Noffset

9275 + Noffset

9276 + Noffset

Realflo User and Reference Manual

May 19, 2011

931

PEMEX Modbus Protocol Interface

Realflo

Number

12230

12231

12232

12233

12234

12235

12236

12237

12238

12239

12241

12242

12243

Description

Set Table Point 1 Flow Coefficient

Set Table Point 2 Flow Coefficient

Set Table Point 3 Flow Coefficient

Set Table Point 4 Flow Coefficient

Set Table Point 5 Flow Coefficient

Set Table Point 6 Flow Coefficient

Set Table Point 7 Flow Coefficient

Set Table Point 8 Flow Coefficient

Set Table Point 9 Flow Coefficient

Set Table Point 10 Flow Coefficient

Set Wet Gas Correction Factor Method

Set Density of liquid at flow conditions

Set Mass flow rate of liquid at flow conditions

PEMEX Item

9277 + Noffset

9278 + Noffset

9279 + Noffset

9280 + Noffset

9281 + Noffset

9282 + Noffset

9283 + Noffset

9284 + Noffset

9285 + Noffset

9286 + Noffset

9287 + Noffset

9288 + Noffset

9289 + Noffset

AGA-8 Alarms and Events

These events are specific to the AGA-8 calculation.

Realflo

Number

10801

10802

10803

10804

10805

10806

10807

10808

10809

10810

10811

10812

10813

10814

10815

10816

10817

10818

10819

10820

10821

10822

10823

10824

10825

10826

Description PEMEX Item

Failed To Create AGA-8 Data Structure 9301 + Noffset

Created AGA-8 with Execution Stopped 9302 + Noffset

Created AGA-8 with Execution Running 9303 + Noffset

Destroyed AGA-8 Data Structure

Set AGA-8 Gas: Change Gas Fractions

9304 + Noffset

9305 + Noffset

Set AGA-8 Gas: Methane (CH4)

Set AGA-8 Gas: Nitrogen

Set AGA-8 Gas: Carbon Dioxide (CO2)

Set AGA-8 Gas: Ethane (C2H6)

Set AGA-8 Gas: Propane (C3H8)

Set AGA-8 Gas: Water

Set AGA-8 Gas: Hydrogen Sulphide

(H2S)

7719

7720

7721

7722

7723

7724

7725

Set AGA-8 Gas: Hydrogen 7726

Set AGA-8 Gas: Carbon Monoxide (CO) 7727

Set AGA-8 Gas: Oxygen 7728

Set AGA-8 Gas: I-Butane

Set AGA-8 Gas: n-Butane

Set AGA-8 Gas: I-Pentane

7729

7730

7731

Set AGA-8 Gas: n-Pentane

Set AGA-8 Gas: n-hexane (when using individual gas components)

Set AGA-8 Gas: n-hexane + (when using combined value for hexane and higher components)

7732

7733

Set AGA-8 Gas: n-Heptane

Set AGA-8 Gas: n-Octane

Set AGA-8 Gas: n-Nonane

Set AGA-8 Gas: n-Decane

Set AGA-8 Gas: Helium

Set AGA-8 Gas: Argon

7734

7735

7736

7737

7738

7739

Realflo User and Reference Manual

May 19, 2011

932

PEMEX Modbus Protocol Interface

Realflo

Number

10827

10828

10829

10830

10831

10832

10833

10834

10835

10836

10837

10838

10839

10840

10841

10842

10843

10844

Description PEMEX Item

Set AGA-8 Gas: Failed To Set

Failed To Set AGA-8 Configuration

Set AGA-8: Input Units Type

Set AGA-8: Base Temperature

9306 + Noffset

9307 + Noffset

9308 + Noffset

7622 + Poffset

Set AGA-8: Base Pressure

Set AGA-8: Atmospheric Pressure

7621 + Poffset

7623 + Poffset

Set AGA-8: Static Pressure Tap Location 7615 + Poffset

Set AGA-8: Contract Units Type

Clear Compressibility Error

Set AGA-8: gas composition logging

9309 + Noffset

9310 + Noffset

9311 + Noffset

Set AGA-8 Gas: Use Hexanes+ 9312 + Noffset

Set AGA-8 Hexane + Ratio for n-hexane 9313 + Noffset

Set AGA-8 Hexane + Ratio for n-heptane 9314 + Noffset

Set AGA-8 Hexane + Ratio for n-octane 9315 + Noffset

Set AGA-8 Hexane + Ratio for n-nonane 9316 + Noffset

Set AGA-8 Hexane + Ratio for n-decane 9317 + Noffset

Set AGA-8 Laboratory real relative density

7740

0 = calculate value

0.07 to 1.52 = use value

Set AGA-8 Laboratory heating value:

0 = calculate value

0 to 1800 = use value

7741

NX-19 Alarms and Events

These events are specific to the NX-19 calculation.

Realflo

Number

11901

11902

11903

11904

11905

11906

11907

11908

11909

11910

11911

11912

11913

11914

11915

11916

11917

11918

11919

Description PEMEX Item

Failed to Create NX-19 Data Structure

Created NX-19 with Execution Stopped

Created NX-19 with Execution Running

Destroyed NX-19 Data Structure

Restored from NX-19 error

Set NX-19: Calculation Method

Set NX-19: Specific Gravity

Set NX-19: Gas: Carbon Dioxide

Set NX-19: Gas: Methane

9351 + Noffset

9352 + Noffset

9353 + Noffset

9354 + Noffset

9355 + Noffset

9356 + Noffset

7740

7721

7719

Set NX-19: Gas: Nitrogen

Set NX-19: Heating Value

7720

7741

Set NX-19: Static Pressure Tap Location 7615 + Poffset

Set NX-19: Base Pressure

Set NX-19: Base Temperature

Failed to set NX-19 Gas Components

Failed to set NX-19 Contract

Configuration

7621 + Poffset

7622 + Poffset

9357 + Noffset

9358 + Noffset

Set NX-19: Contract Units Type

Clear Compressibility Error

Set NX-19: gas composition logging disabled

9359 + Noffset

9360 + Noffset

9361 + Noffset

Realflo User and Reference Manual

May 19, 2011

933

PEMEX Modbus Protocol Interface

MVT Alarms and Events

These events are specific to the MVT transmitter.

Realflo

Number

13100

13101

13102

13103

13104

13105

13106

13107

13108

13109

13110

13111

13112

13113

13114

13115

13116

13117

13118

13119

13120

13121

13122

13123

13124

13125

13126

13127

13128

Description

Set MVT Transmitter 1: polling status

Set MVT Transmitter 1: serial port

Set MVT Transmitter 1: Address of transmitter

Set MVT Transmitter 1: Timeout

Set MVT Transmitter 1: Manufacturer

Code

Set MVT Transmitter 1: Turnaround Delay

Time

Set MVT Transmitter 1: Differential

Pressure units

Set MVT Transmitter 1: Static Pressure units

Set MVT Transmitter 1: Temperature units

Set MVT Transmitter 1: Serial number

Set MVT Transmitter 1: Tag

Set MVT Transmitter 1: Differential

Pressure damping

Set MVT Transmitter 1: Differential

Pressure upper operating limit

Set MVT Transmitter 1: Differential

Pressure lower operating limit

Set MVT Transmitter 1: Static Pressure damping

Set MVT Transmitter 1: Static Pressure upper operating limit

Set MVT Transmitter 1: Static Pressure lower operating limit

Set MVT Transmitter 1: Temperature damping

Set MVT Transmitter 1: Temperature upper operating limit

Set MVT Transmitter 1: Temperature lower operating limit

MVT Transmitter 1: lost communication

MVT Transmitter 1: transmitter configuration incorrect

MVT Transmitter 1: temperature sensor out of range

MVT Transmitter 1: static pressure sensor out of range

MVT Transmitter 1: differential pressure sensor out of range

MVT Transmitter 1: not polled

Set MVT Transmitter 1: Type Code

Set MVT Transmitter 1: IP Address

Set MVT Transmitter 1: IP Protocol

PEMEX Item

9601 + Noffset

9602 + Noffset

9603 + Noffset

9604 + Noffset

9605 + Noffset

9606 + Noffset

9607 + Noffset

9608 + Noffset

9609 + Noffset

9610 + Noffset

9611 + Noffset

9612 + Noffset

9613 + Noffset

9614 + Noffset

9615 + Noffset

9616 + Noffset

9617 + Noffset

9618 + Noffset

9619 + Noffset

9620 + Noffset

9621 + Noffset

9622 + Noffset

9623 + Noffset

9624 + Noffset

9625 + Noffset

9626 + Noffset

9627 + Noffset

9628 + Noffset

9629 + Noffset

Realflo User and Reference Manual

May 19, 2011

934

PEMEX Modbus Protocol Interface

Realflo

Number

13129

13130

13131

13132

13133

13134

13135

13136

13137

13138

13139

13140

13141

13142

Description PEMEX Item

MVT Transmitter 1: temperature sensor value is bad

MVT Transmitter 1: static pressure sensor value is bad

MVT Transmitter 1: differential pressure sensor value is bad

Set MVT Transmitter 1: Atmospheric

Pressure Offset

9630 + Noffset

9631 + Noffset

9632 + Noffset

9633 + Noffset

MVT Transmitter 1: Restore for all communication alarms

9634 + Noffset

MVT Transmitter 1: Restore for all alarms 9635 + Noffset

MVT Transmitter 1: Sensors are Off Line 9636 + Noffset

MVT Transmitter 1: RTD is disconnected 9637 + Noffset

MVT Transmitter 1: Temperature Sensor

Above Range

MVT Transmitter 1: Static Pressure

Above Range

MVT Transmitter 1: Differential Pressure

Above Range

MVT Transmitter 1: Temperature Sensor

Below Range

MVT Transmitter 1: Static Pressure Below

Range

MVT Transmitter 1: Differential Pressure

Below Range

9638 + Noffset

9639 + Noffset

9640 + Noffset

9641 + Noffset

9642 + Noffset

9643 + Noffset

Coriolis Meter Alarms and Events

Realflo

Number

14001

14002

14003

14004

14005

14006

14007

14008

Description PEMEX Item

Failed To Set Coriolis Meter

Set Coriolis Meter: Meter Address

Set Coriolis Meter: Meter Port

Set Coriolis Meter: Meter Timeout

Coriolis Meter: Lost Communication

9651 + Noffset

9652 + Noffset

9653 + Noffset

9654 + Noffset

9655 + Noffset

Coriolis Meter: Communication Restored 9656 + Noffset

Coriolis Meter: Not Polled 9657 + Noffset

Coriolis Meter: Coriolis Meter has bad response

9658 + Noffset

Calibration and User Defined Alarms and Events

Realflo generates these events when performing calibration (not by the flow computer).

Realflo

Number

19003

19004

19005

19006

19007

Description

As-Found Temperature

As-Left Temperature

Target Re-Zero Temperature

Target Temperature Span

Set Default Temperature

PEMEX Item

9703 + Noffset

9704 + Noffset

9705 + Noffset

9706 + Noffset

9707 + Noffset

Realflo User and Reference Manual

May 19, 2011

935

PEMEX Modbus Protocol Interface

Realflo

Number

19008

19009

19013

19014

19015

19016

19018

19019

19023

19024

19025

19026

19028

19029

19033

19034

Description PEMEX Item

After Re-Zero Temperature

After Calibrate Temperature Span

As-Found Static Pressure

As-Left Static Pressure

Target Re-Zero Static Pressure

Target Static Pressure Span

After Re-Zero Static Pressure

After Calibrate Static Pressure Span

As-Found Differential Pressure

As-Left Differential Pressure

Target Re-Zero Differential Pressure

Target Differential Pressure Span

9708 + Noffset

9709 + Noffset

9713 + Noffset

9714 + Noffset

9715 + Noffset

9716 + Noffset

9718 + Noffset

9719 + Noffset

9723 + Noffset

9724 + Noffset

9725 + Noffset

9726 + Noffset

After Re-Zero Differential Pressure 9728 + Noffset

After Calibrate Differential Pressure Span 9729 + Noffset

As-Found Pulse Count 9733 + Noffset

As-Left Pulse Count 9734 + Noffset

Calculation Engine Errors

The flow calculation engine generates these errors.

Realflo

Number

20001

20003

20004

20005

20006

20007

20008

20009

20010

20011

20012

20050

20051

20052

20053

20054

20055

20056

20057

Description PEMEX Item

Meter control structure not found

Temperature input is below zero scale

Temperature input is above full scale

9751 + Noffset

9752 + Noffset

9753 + Noffset

Static pressure input is below zero scale 9754 + Noffset

Static pressure input is above full scale 9755 + Noffset

Differential pressure input is below zero scale

9756 + Noffset

Differential pressure input is above full scale

9757 + Noffset

Compressibility calculation inputs invalid 9758 + Noffset

Forced input register 9759 + Noffset

Removed force from input register

Low battery alarm

9760 + Noffset

9761 + Noffset

Restore from temperature input low alarm 9762 + Noffset

Restore from temperature input high alarm

Restore from static pressure input low alarm

Restore from static pressure input high alarm

Restore from differential pressure input low alarm

Restore from differential pressure input high alarm

Restore from low pulse input alarm

Restore from input alarm

9763 + Noffset

9764 + Noffset

9765 + Noffset

9766 + Noffset

9767 + Noffset

9768 + Noffset

9769 + Noffset

Realflo User and Reference Manual

May 19, 2011

936

PEMEX Modbus Protocol Interface

AGA-3 (1985) Calculation Errors

These errors are generated by the AGA-3 (1985) calculation.

Realflo

Number

20210

20229

20232

20233

20234

20227

Description

AGA-3 (1985)

– Flowing temperature is at or below absolute zero

AGA-3 (1985) - Ratios from AGA-8 or NX-

19 were not available

AGA-3 (1985) - Static pressure below differential

AGA-3 (1985) - Static pressure zero or negative

AGA-3 (1985)

– Bad Calculation

AGA-3 (1985)

– Differential Pressure Neg or Zero

PEMEX Item

9801 + Noffset

9802 + Noffset

9803 + Noffset

9804 + Noffset

9805 + Noffset

9806 + Noffset

AGA-3 (1992) Calculation Errors

These errors are generated by the AGA-3 (1992) calculation.

Realflo

Number

20310

20325

20329

20332

20333

20334

20335

Description

AGA-3 (1992)

– Flowing temperature is at or below absolute zero

AGA-3 (1992)

– Too many Iterations

AGA-3 (1992)

– Ratios from AGA-8 or

NX-19 were not available

AGA-3 (1992) - Static pressure below differential

AGA-3 (1992) - Static pressure zero or negative

AGA-3 (1992)

– Bad Calculation

AGA-3 (1992)

– Differential Pressure Neg or Zero

PEMEX Item

9834 + Noffset

9836 + Noffset

9831 + Noffset

9832 + Noffset

9833 + Noffset

9835 + Noffset

9837 + Noffset

AGA-7 Calculation Errors

These errors are generated by the AGA-7 calculation.

Realflo

Number

20712

20713

20714

20716

20720

Description PEMEX Item

AGA-7 - Temperature low 9891 + Noffset

AGA-7

– Static pressure zero or negative

9892 + Noffset

AGA-7 - Low pulse rate 9893 + Noffset

AGA-7 - Ratios from AGA-8 or NX-19 are not available

AGA-7

– Bad Calculation

9894 + Noffset

9895 + Noffset

Realflo User and Reference Manual

May 19, 2011

937

PEMEX Modbus Protocol Interface

AGA-11 Calculation Errors

These errors are generated by the AGA-11 calculation.

Realflo

Number

21101

21102

21103

21104

21105

21107

Description PEMEX Item

AGA-11 - Bad units 9861 + Noffset

AGA-11 - Bad contract units 9862 + Noffset

AGA-11 - Base Pressure negative or zero 9863 + Noffset

AGA-11 - Base Temperature negative or zero

9864 + Noffset

AGA-11 - Bad calculation

AGA-11 - Ratios from AGA-8 were not available

9865 + Noffset

9866 + Noffset

V-Cone Calculation Errors

These errors are generated by the V-Cone calculation.

Realflo

Number

22221

22223

22227

22228

22229

22230

22231

Description PEMEX Item

V-Cone

– Temperature low

V-Cone

– Ratios from AGA-8 or NX-19 were not available

V-Cone

– Too many Iterations

V-Cone

– Static pressure below

9921 + Noffset

9922 + Noffset

9923 + Noffset

9924 + Noffset differential pressure

V-Cone

– Static pressure zero or negative 9925 + Noffset

V-Cone

– Bad Calculation

9926 + Noffset

V-Cone

– Differential Pressure Neg or

Zero

9927 + Noffset

AGA-8 Calculation Errors

These errors are generated by the AGA-8 calculation.

Realflo

Number

20809

20810

20811

20812

20814

20819

Description

AGA-8

– Flow Temperature is Low

AGA-8

– Flow Temperature is High

AGA-8

– Flow Pressure is Low

AGA-8

–Flow Press is High

AGA-8 - Not configured

AGA-8 - No gas components

NX-19 Errors

These errors are generated by the NX-19 calculation.

Realflo

Number

21913

21914

21915

21916

21917

21921

Description

NX-19

– Flow Temperature is Low

NX-19

– Flow Pressure is Low

NX-19

–Flow Press is High

NX-19 - Configuration flag not set

NX-19 - Gas ratios were not available

NX-19

– Flow Temperature is High

PEMEX Item

9951 + Noffset

9952 + Noffset

9953 + Noffset

9954 + Noffset

9955 + Noffset

9956 + Noffset

PEMEX Item

9981 + Noffset

9982 + Noffset

9983 + Noffset

9984 + Noffset

9985 + Noffset

9986 + Noffset

Realflo User and Reference Manual

May 19, 2011

938

PEMEX Modbus Protocol Interface

Retrieval and Acknowledgment of Events and Alarms

The field device is capable of storing 256 events or alarms.

Events and alarms can be retrieved using Modbus function code 3, to read register 32 (20 hex). The number of records in the host poll (request) will be ignored by the field device. The field device will return up to 12 alarms or events for each poll (alarm/event size is 20 bytes, the maximum Modbus message size is 156 bytes).

Alarm or Event Record Format

The format of the 20-byte record is as follows:

Byte Contents

1

– 2

3

– 4

5

– 8

9

– 12

Status bits

Event record number

Time of event/alarm

Date of event/alarm

13

– 16

Previous value

17

– 20

Current value

Format

See below

16-bit integer

HHMMSS.0 (32-bit float)

MMDDYY.0 (32-bit float)

32-bit float

32-bit float

If bit 9 of the status bits field is 1, then the record is an event. If bit 9 of the status bits field is 0, then the record is an alarm.

Event Status Bits

The status bits for events are as follows.

7

8

9

10

11

12

13

14

15

3

4

5

6

Bit

0

1

2

Byte 2, Bit 0

Byte 2, Bit 1

Byte 2, Bit 2

Byte 2, Bit 3

Byte 2, Bit 4

Byte 2, Bit 5

Byte 2, Bit 6

Byte 2, Bit 7

Byte 1, Bit 0

Byte 1, Bit 1

Byte 1, Bit 2

Byte 1, Bit 3

Byte 1, Bit 4

Byte 1, Bit 5

Byte 1, Bit 6

Byte 1, Bit 7

Description

Fixed value

Zero scale

Full scale

Operator value

Fixed Bit

Fixed/Variable flag

Change to table entry

Change to command system

Unused

Always 1 (event)

Low low limit

Low limit

High limit

High high limit

Rate of change limit

Unused

Alarm Status Bits

The status bits for alarms are as follows.

Bit

0

1

2

3

4

Byte 2, Bit 0

Byte 2, Bit 1

Byte 2, Bit 2

Byte 2, Bit 3

Byte 2, Bit 4

Description

Unused (0)

Unused (0)

Unused (0)

Unused (0)

Unused (0)

Realflo User and Reference Manual

May 19, 2011

939

Bit

5

6

7

8

9

10

11

12

13

14

15

Byte 2, Bit 5

Byte 2, Bit 6

Byte 2, Bit 7

Byte 1, Bit 0

Byte 1, Bit 1

Byte 1, Bit 2

Byte 1, Bit 3

Byte 1, Bit 4

Byte 1, Bit 5

Byte 1, Bit 6

Byte 1, Bit 7

PEMEX Modbus Protocol Interface

Description

Unused (0)

Unused (0)

Unused (0)

Unused (0)

0 (alarm)

Low low limit

Low limit

High limit

High high limit

Unused (0)

1 if the variable entered the alarm state.

0 if the variable returned to normal (in this case, the bits are set to 0)

Alarm Acknowledgement

To acknowledge alarms/events, the server will use Modbus function code 5 to “write” to register 32 (hex 20). The data in the message should be 1.

When the field device receives this request, only records that have been transmitted to the server will be deleted. Alarms/events that were not retrieved or occurred after the alarm/event retrieval will not be deleted.

Realflo User and Reference Manual

May 19, 2011

940

Measurement Units

Measurement Units

Definitions

Realflo supports twelve different systems of measurement. The tables below show the measurement units for each type of parameter. The Units column shows the measurement units. The Realflo Display column shows how these units are displayed on the screen and in printed reports.

The following are standard units used in the United States unit sets. The prefix M in units stands for thousands. The prefix MM in units stands for millions.

MCF is thousands of cubic feet (i.e. 10

3

ft

3

).

MMCF is millions of cubic feet (i.e. 10

6

ft

3

).

MBTU is thousands of BTU (i.e. 10

3

BTU).

MMBTU is millions of BTU (i.e. 10

6

BTU).

M in metric and SI unit sets stands for 10

6

(i.e. millions).

US1 Units

Parameters and Values

Pipe and Orifice Diameters

Static, Base and Atmospheric

Pressure

Differential Pressure

Flowing and Base Temperature

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

Units

inches psi psi

°F centipoise lbm/ft

3 lbm lbm/hr ft

3 ft

3

/hr

BTU(60)/ft

3

BTU(60)

BTU(60)/hr kg/m

3 s pulses/ft

3 feet

Realflo

Display

inches psi psi

F cP lbm/ft3 lbm lbm/hr ft3 ft3/hr

BTU/ft3

BTU

BTU/hr kg/m3s pulses/ft3 feet

US2 Units

Parameters and Values Units

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure inches H at 60 °F

2

O

Flowing and Base Temperature °F

Realflo

Display

inches psi in H2O at 60F

F

Realflo User and Reference Manual

May 19, 2011

941

Parameters and Values

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

Measurement Units

Units Realflo

Display

centipoise lbm/ft

3 lbm lbm/hr

MMCF

MMCF/day

BTU(60)/ft

3 cP lbm/ft3 lbm lbm/hr

MMCF

MMCF/day

BTU/ft3

MMBTU(60) MMBTU

MMBTU(60)/ day kg/m

3 s pulses/ft

3

MMBTU/day kg/m3s pulses/ft3 feet feet

US3 Units

Parameters and Values Units Realflo

Display

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature inches H

2

O at 68 °F

°F

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude inches psi in H2O at 68F centipoise lbm/ft

3 lbm

F cP lbm/ft3 lbm lbm/hr

MMCF

MMCF/day

BTU(60)/ft

3 lbm/hr

MMCF

MMCF/day

BTU/ft3

MMBTU(60) MMBTU

MMBTU(60)/ MMBTU/day day kg/m

3 s pulses/ft

3 kg/m3s pulses/ft3 feet feet

US4 Units

Parameters and Values Units

Pipe and Orifice Diameters

Mass

Mass Flow Rate

Volume inches

Static, Base and Atmospheric Pressure psi

Differential Pressure inches H at 60 °F

2

O

Flowing and Base Temperature

Viscosity

Density

°F centipoise lbm/ft

3 lbm lbm/hr

MCF

Realflo

Display

inches psi in H2O at 60F

F cP lbm/ft3 lbm lbm/hr

MCF

Realflo User and Reference Manual

May 19, 2011

942

Parameters and Values

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

Measurement Units

Units Realflo

Display

MCF/hr

BTU(60)/ft

3

MCF/hr

BTU/ft3

MBTU MBTU(60)

MBTU(60)/hr MBTU/hr kg/m

3 s pulses/ft

3 kg/m3s pulses/ft3 feet feet

US5 Units

Parameters and Values Units

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature

Viscosity inches H

2

O at 60 °F

°F

Density

Mass centipoise lbm/ft

3 lbm

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude lbm/day

MCF feet

MCF/day

BTU(60)/ft

3

MBTU(60)

MBTU(60)/d ay kg/m

3 s pulses/ft

3 kg/m3s pulses/ft3 feet

Realflo

Display

inches psi in H2O at 60F

F cP lbm/ft3 lbm lbm/day

MCF

MCF/day

BTU/ft3

MBTU

MBTU/day

US6 Units

Parameters and Values Units Realflo

Display

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature

Viscosity

Density inches H

2

O at 60 °F

°F centipoise lbm/ft

3

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension inches psi in H2O at 60F

F cP lbm/ft3 lbm lbm/hr

MMCF

MMBTU(60)/ hr kg/m

3 s lbm lbm/hr

MMCF

MMCF/hr

BTU(60)/ft

3

MMCF/hr

BTU/ft3

MMBTU(60) MMBTU

MMBTU/hr kg/m3s

Realflo User and Reference Manual

May 19, 2011

943

Parameters and Values

Turbine Rate

Altitude

Units

pulses/ft

3 feet

Measurement Units

Realflo

Display

pulses/ft3 feet

US7 Units

Parameters and Values Units Realflo

Display

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature

Viscosity inches H

2

O at 60 °F

°F

Density

Mass centipoise lbm/ft

3 lbm

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude inches psi in H2O at 60F

F cP lbm/ft3 lbm lbm/day

MMCF

MMCF/day

BTU(60)/ft

3 lbm/day

MMCF

MMCF/day

BTU/ft3

MMBTU(60) MMBTU

MMBTU/day MMBTU(60)/ day kg/m

3 s pulses/ft

3 feet kg/m3s pulses/ft3 feet

US8 Units

Parameters and Values Units Realflo

Display

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature

Viscosity

Density inches H

2

O at 60 °F

°F centipoise lbm/ft

3

Mass

Mass Flow Rate

Volume lbm lbm/hr

MCF

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

MCF/day

BTU(60)/ft day kg/m3s pulses/ft

3 feet

3

MMBTU(60)

MMBTU(60)/ inches psi in H2O at 60F

F cP lbm/ft3 lbm lbm/hr

MCF

MCF/day

BTU/ft3

MMBTU

MMBTU/day kg/m3s pulses/ft3 feet

PEMEX Units

Parameters and Values

Realflo User and Reference Manual

May 19, 2011

Units Realflo Display

944

Measurement Units

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters inches

Static, Base and Atmospheric Pressure psi

Differential Pressure

Flowing and Base Temperature inches H2O at 60°F

°F

Viscosity

Density

Mass centipoise lbm/ft3 lbm lbm/hr

MMCF

Mass Flow Rate

Volume (standard and secondary conditions)

Volume Flow Rate (standard and secondary conditions)

Heating Value

Energy

MMCF/day inches psi in H2O at 60F

F

CP lbm/ft3 lbm lbm/hr

MMCF

MMCF/day

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

BTU(60)/ft3 BTU/ft3

Giga calories

Giga calories/day kg/m3s pulses/ft3

Giga calories

Giga calories/day kg/m3s pulses/ft3 feet feet

IP Units

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters

Static, Base and Atmospheric Pressure

Differential Pressure feet lbf/ft

2 lbf/ft

2

Flowing and Base Temperature °F

Viscosity

Density

Mass lbm/ft-s lbm/ft

3 lbm

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude ft lbf/ft2 lbf/ft2

F lbm/ft-s lbm/ft3 lbm lbm/hr ft ft

3

3

/hr

BTU(60)/ft

3 lbm/hr ft3 ft3/hr

BTU/ft3

BTU BTU(60)

BTU(60)/hr BTU/hr kg/m

3 s pulses/ft

3 kg/m3s pulses/ft3 feet feet

Metric1 Units

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters Mm

Static, Base and Atmospheric Pressure kPa

Differential Pressure

Flowing and Base Temperature

Viscosity kPa

°C mm kPa kPa

C centipoise cP

Realflo User and Reference Manual

May 19, 2011

945

Metric2 Units

Metric3 Units

Parameters and Values

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

Measurement Units

Units

kg/m

3 kg

Realflo Display

kg/m3 kg kg/s

10

3 m

3 kg/s

E3m3

10

3 m

3

/day E3m3/day

MJ/m

3

MJ/m3

GJ GJ

GJ/day kg/m

3 s

GJ/day kg/m3s pulses/m

3 pulses/m3 meters m

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters mm

Static, Base and Atmospheric Pressure bar

Differential Pressure millibar

Flowing and Base Temperature

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude

°C mm bar millibar centipoise cP kg/m kg

3 kg/hr m

3 m

3

/hr

MJ/m

3

C kg/m3 kg kg/hr

M3

M3/hr

MJ/m3

MJ MJ

MJ/hour MJ/hour kg/m

3 s pulses/m

3 kg/m3s pulses/m3 meters m

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters mm

Static, Base and Atmospheric Pressure MPa

Differential Pressure kPa

Flowing and Base Temperature °C

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude mm

MPa kPa

C centipoise cP kg/m

3 kg/m3 kg kg kg/s

10

3 m

3 kg/s

E3m3

10

3 m

3

/day E3m3/day

MJ/m

3

MJ/m3

GJ GJ

GJ/day kg/m

3 s

GJ/day kg/m3s pulses/m

3 pulses/m3 meters m

Realflo User and Reference Manual

May 19, 2011

946

SI Units

Measurement Units

Parameters and Values Units Realflo Display

Pipe and Orifice Diameters m

Static, Base and Atmospheric Pressure Pa

Differential Pressure Pa

Flowing and Base Temperature

Viscosity

Density

Mass

Mass Flow Rate

Volume

Volume Flow Rate

Heating Value

Energy

Energy Flow Rate

Flow Extension

Turbine Rate

Altitude m

Pa

Pa

°K

Pa-s kg/m

3 kg kg/s m

3 m

3

/s

J/m

3

K

Pa-s kg/m3 kg kg/s m3 m3/s

J/m3

J J

W W kg/m

3 s pulses/m

3 kg/m3s pulses/m3 meters m

Realflo User and Reference Manual

May 19, 2011

947

Input Averaging

Input Averaging

Realflo averages differential pressure, static pressure, and temperature using time-weighted or flow-weighted methods. The method is configured by the user. These methods comply with API 21.1.

Flow-Dependent Time Weighted Linear Average

Time weighted averaging can be selected for differential pressure, static pressure, and temperature inputs.

Each sample is a product of the input value (or rate) and the time interval.

Each input accumulation is the sum of the samples in the time period (an hour or less). The flow duration is the sum of the time intervals in the period.

The time weighted linear average is the accumulation divided by the flow duration.

The average for the period will be for all of the time intervals with flow or all of the intervals when there is no flow. 𝑝 𝑓

= 𝑘

1 𝑡 𝑓

𝑝 𝑖 𝑡 𝑖

𝐹 𝑖 𝑖=1 𝑘 𝑡 𝑓

= 𝑡 𝑖

𝐹 𝑖 𝑖=1

Where p f

is the average input variable during periods of flow. t i is the time interval for sampling i. t f is the total time with flow

.

F i

is the flow dependency factor. Zero if no flow at sample period i, and one if flow at sample period

i.

Flow Weighted Linear Average

Flow weighted averaging can be selected for differential pressure, static pressure, and temperature inputs.

Each sample is a product of the input value (or rate), the time interval and the flow weighting. Each input accumulation is the sum of the samples in the time period (an hour or less). The flow duration factor for the period is the sum of the product of the time intervals and the flow weighting. The flow weighted linear average is the accumulation divided by the flow duration factor.

The average for the period will be for all of the time intervals with flow or all of the intervals when there is no flow.

For differential pressure meters the flow weighting is the square root of the differential pressure.

Realflo User and Reference Manual

May 19, 2011

948

Input Averaging

For turbine meters, the flow weighting is one (i.e. there is no weighting) as the flow is linearly related to the pulse rate. 𝑝 𝑓

=

1 𝑡 𝑧 𝑘

𝑝 𝑖 𝑡 𝑖

𝑊 𝑖 𝑖=1 𝑘 𝑡 𝑧

= 𝑡 𝑖

𝑊 𝑖 𝑖=1

Where p f

is the average input variable during periods of flow. t i

is the time interval for sampling i. t z

is the total time with weighting

.

W i

is the flow weighting factor. This would typically be the square root of the differential pressure for an orifice meter

.

No Flow Linear Average

If there is no flow for an entire period, then a linear average of the differential pressure, static pressure, and temperature inputs is used for the entire period.

Each sample is a product of the input value (or rate) and the time interval.

Each input accumulation is the sum of the samples in the time period (an hour or less). The duration factor for the period is the sum of the time intervals. 𝑝 𝑛

=

1 𝑡 𝑘 𝑘

𝑝 𝑖 𝑡 𝑖 𝑖=1 𝑘 𝑡 𝑘

= 𝑡 𝑖 𝑖=1

Where p n is the average input variable during periods of no flow. t i is the time interval for sampling i. t k

is the total time with no flow

.

Realflo User and Reference Manual

May 19, 2011

949

Creating Custom Realflo Applications

Creating Custom Realflo Applications

SCADAPack Controllers

The Telepace C Tools, version 2.13 or newer, are required to modify the flow computer for Telepace firmware. The ISaGRAF C Tools, version 2.13 or newer, are required to modify the flow computer for ISaGRAF firmware.

The following files are found in the Custom Applications folder. gasmain.c is source code for the flow calculation main loop. Users add their source code to this file. appstart.c is the application program start-up routine. Refer to the C

Tools manual for a complete description of this file.

Telepace Files:

Realflot.lib is the object library for the flow calculation on Telepace standard firmware. This library is linked with the compiled gasmain.c to form a gas calculation application.

Realflot.cmd is a linker command file for creation of executable code for

Telepace standard firmware. rfenront.lib is the object library for the flow calculation on Telepace

Enron Modbus firmware. This library is linked with the compiled gasmain.c to form a gas calculation application. rfenront.cmd is a linker command file for creation of executable code for

Telepace Enron Modbus firmware.

ISaGRAF Files:

The flow computer program was developed using the C Tools for both

Telepace and ISaGRAF firmware in SCADAPack controllers and C++ Tools for SCADAPack 32 controllers. User written code can be added to the Flow computer program. An object library and a source file are provided for this purpose.

The size of the custom application is limited to the application memory space available in the controller being used. The amount of memory available will depend on the controller type, SCADAPack or SCADAPack

32, the flow computer type and the run configuration. The application memory space available typically ranges from 2KB to 80KB.

If you are considering creating a custom Realflo application consult the factory for advice on the application memory available for your controller and run configuration combination.

Realfloi.lib is the object library for the flow calculation on ISaGRAF standard firmware. This library is linked with the compiled gasmain.c to form a gas calculation application.

Realfloi.cmd is a linker command file for creation of executable code for

ISaGRAF standard firmware.

Realflo User and Reference Manual

May 19, 2011

950

Creating Custom Realflo Applications rfenroni.lib is the object library for the flow calculation on ISaGRAF

Enron Modbus firmware. This library is linked with the compiled gasmain.c to form a gas calculation application. rfenroni.cmd is a linker command file for creation of executable code for

ISaGRAF Enron Modbus firmware

Modifying the Application

The file gasmain.c contains the main function of the C program. The function is listed below. void main(void)

{

TASKINFO taskStatus;

/* create gas flow computer tasks */

create_task(gasTaskScheduler, 4, APPLICATION,

2);

create_task(gasFlowTask, 2, APPLICATION, 8);

/* add user application code here */

/* end execution of this task */

taskStatus = getTaskInfo(0);

end_task(taskStatus.taskID);

}

The function creates two tasks for the flow computer. Do not modify the following lines. Doing so may interfere with the proper operation of the flow computer.

create_task(gasTaskScheduler, 4, APPLICATION,

2);

create_task(gasFlowTask, 2, APPLICATION, 8);

User code may be added at the point indicated by the comment:

/* add user application code here */

User code normally takes the form of an infinite loop that performs the required functions. It is important that the user's code properly uses the

IO_SYSTEM resource and that it releases the processor. The code fragment below shows the typical form of the loop. while (TRUE)

{

/* code placed here does not use the I/O system*/

/* obtain exclusive use of the I/O system */

request_resource(IO_SYSTEM);

/* code placed here uses the I/O system */

/* allow other tasks to use the I/O system */

release_resource(IO_SYSTEM);

Realflo User and Reference Manual

May 19, 2011

951

Creating Custom Realflo Applications

/* allow other priority 1 tasks to execute */

release_processor();

}

If the code is not an infinite loop, it is executed once only. This form can be used for initialization or for creation of other tasks. Once the one-time code is executed, the lines below end the main task.

/* end execution of this task */ taskStatus = getTaskInfo(0); end_task(taskStatus.taskID);

Refer to the C Tools User Manual for a description of rules and guidelines for C programs.

Building the Application for Telepace Firmware

Execute the following commands to build the flow computer program. The first two lines compile the standard files for the Realflo Flow Computer application. The next line links the object files with the rest of the Realflo application. The executable file will be named Realflot.abs.

For standard Telepace: mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\520x appstart.c mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\520x gasmain.c lnkm77 -M -c Realflot.cmd

For Enron Modbus Telepace: mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\520x appstart.c mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\520x gasmain.c lnkm77 -M -c rfenront.cmd

You can write a batch file to execute the commands or use a make utility to control the compilation of the program.

If you add additional files compile them in the manner shown above. Add the files to the linker command file Realflot.cmd. Refer to the Telepace C Tools

User Manual for details.

Building the Application for ISaGRAF Firmware

Execute the following commands to build the flow computer program. The first two lines compile the standard files for the Realflo Flow Computer application. The next line links the object files with the rest of the Realflo application. The executable file will be named Realfloi.abs.

For standard ISaGRAF: mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\isagraf appstart.c mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\isagraf gasmain.c lnkm77 -M -c Realfloi.cmd

For Enron Modbus ISaGRAF: mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\isagraf appstart.c mccm77 -v -nQ -Ml -g -c -Ic:\Telepace\ctools\isagraf gasmain.c lnkm77 -M -c rfenroni.cmd

Realflo User and Reference Manual

May 19, 2011

952

SCADAPack 314/330/334 and SCADAPack 350 Controllers

The SCADAPack 314/330/334 and SCADAPack 350 controllers support multiple C/C++ programs running in the controller.

See the SCADAPack 350 C/C++ Tools User manual for complete information.

SCADAPack 32 Controllers

The following files and folders are found in the SCADAPack 32 Flow

Computer folder.

SCADAPack32FlowComputer.hws The Hitachi Workspace file. Refer to the SCADAPack 32 C++ Tools manual for a complete description of this file.

SCADAPack32FlowComputer.hww The Hitachi Workspace Session file. Refer to the Hitachi Help in the Hitachi

Embedded Workshop.

Realfloi Files

Creating Custom Realflo Applications

You can write a batch file to execute the commands or use a make utility to control the compilation of the program. If you add additional files compile them in the manner shown above. Add the files to the linker command file

Realfloi.cmd. Refer to the ISaGRAF C Tools User Manual for details. appsettings.src appstart.cpp gasmain.cpp is the application program start-up settings. Refer to the SCADAPack 32 C++ Tools manual for a complete description of this file. is the application program start-up routine. Refer to the SCADAPack 32 C++ Tools manual for a complete description of this file. is source code for the flow calculation main loop.

Users add their source code to this file.

Realfloi.hwp is the Workspace project file.

ISaGRAF_Realflo.lib is the object library for the flow calculation on

ISaGRAF firmware. This library is linked with the compiled gasmain.c to form a gas calculation application.

Debug Application.hdc is the Hitachi debugger file.

Realflot Files

appsettings.src appstart.cpp gasmain.cpp

Realflot.hwp is the application program start-up settings. Refer to the SCADAPack 32 C++ Tools manual for a complete description of this file. is the application program start-up routine. Refer to the SCADAPack 32 C++ Tools manual for a complete description of this file. is source code for the flow calculation main loop.

Users add their source code to this file. is the Workspace project file.

Realflo User and Reference Manual

May 19, 2011

953

Creating Custom Realflo Applications

Telepace_Realflo.lib is the object library for the flow calculation on

Telepace firmware. This library is linked with the compiled gasmain.c to form a gas calculation application.

Debug Application.hdc is the Hitachi debugger file.

Modifying the Application

The file gasmain.cpp contains the main function of the C++ program. The function is listed below.

/* ----------------------------------------------------------------

gasmain.cpp

Gas Flow Computer Start-Up Routine

Copyright 1997-2001, Control Microsystems Inc

copied from newApp.cpp

SCADAPack 32 C++ Application Main Program

Copyright 2001, Control Microsystems Inc.

-------------------------------------------------------------- */

#include <ctools.h>

/* ----------------------------------------------------------------

Function Prototypes

-------------------------------------------------------------- */

#ifdef __cplusplus extern "C"

{

#endif extern void main(void); extern void gasTaskScheduler(void); extern void gasFlowTask(void);

#ifdef __cplusplus

}

#endif

/* -----------------------------------------------------------------

main

This routine is the main application loop.

-------------------------------------------------------------- */ void main(void)

{

TASKINFO taskStatus;

/* create gas flow computer tasks */ create_task(gasTaskScheduler, 4, APPLICATION, 2); create_task(gasFlowTask, 2, APPLICATION, 6);

/* add user application code here */

/* end execution of this task */ getTaskInfo(0, &taskStatus); end_task(taskStatus.taskID);

Realflo User and Reference Manual

May 19, 2011

954

Creating Custom Realflo Applications

}

The function creates two tasks for the flow computer. Do not modify the following lines. Doing so may interfere with the proper operation of the flow computer.

create_task(gasTaskScheduler, 4, APPLICATION, 2);

create_task(gasFlowTask, 2, APPLICATION, 8);

User code may be added at the point indicated by the comment:

/* add user application code here */

User code normally takes the form of an infinite loop that performs the required functions. If the code is not an infinite loop, it is executed once only.

This form can be used for initialization or for creation of other tasks. Once the one-time code is executed, the lines below end the main task.

/* end execution of this task */ taskStatus = getTaskInfo(0); end_task(taskStatus.taskID);

Refer to the SCADAPack 32 C++ Tools User Manual for a description of rules and guidelines for C++ programs.

Building the Application

Once the editing of the project is completed the application needs to be compiled and linked. This process results in an executable file that can be loaded into the SCADAPack 32 controller.

To compile and link the project:

Select Build All from the HEW Build menu.

The HEW Output window will show the progress of the compiling and linking process.

The application is successfully built if there are no Errors or Warnings displayed in the Output window. The following should appear in the Output window when the application is build successfully:

Build Finished

0 Errors, 0 Warnings

Realflo User and Reference Manual

May 19, 2011

955

Measurement Canada Approved Version

Measurement Canada Approved Version

Customers with measurement sites that require Measurement Canada custody transfer approval for natural gas flow measurement, can take advantage of the cost effective and flexible SCADAPack solution. The

Measurement Canada version utilizes the same flow calculations as other

Realflo related installations, but comes with the specific software and hardware required to meet the Measurement Canada requirements for sealing and inspection by Measurement Canada. The approved flow computers may be used with AGA-3 (orifice plate flow measurement), AGA-

7 (turbine flow measurement), or Vcone flow elements.

Three standard enclosure configurations are available for Measurement

Canada approved versions. Selection of enclosure size can be made based on the equipment required within the approved cabinet. Each cabinet meets

NEMA4X specifications and includes a windowed door for controller diagnostic LED viewing.

Measurement Canada approval depends on meeting requirements for locking out program changes and firmware changes. This is accomplished by disabling certain commands in the flow computer.

Flow Computer Disabled Commands

The Realflo commands listed in the table below are disabled when the lockout device is installed. Error code 30064 is returned when these commands are attempted when the lockout device is installed.

40

41

42

43

44

21

30

31

32

34

Command

Number

3

6

9

15

16

17

19

35

37

38

Command Description

Set input configuration

Set Real Time Clock

Adjust Real Time Clock

Set contract configuration

Set number of runs

Set Flow Computer ID

Set Run ID

Set Long Run ID

Start Temperature Calibration: Force current temperature

Start Temperature Calibration: Force fixed temperature

End Temperature Calibration

Start Static Pressure Calibration: Force current static pressure

Start Static Pressure Calibration: Force fixed static pressure

End Static Pressure Calibration

Start Differential Pressure Calibration: Force current differential pressure

Start plate change: force current temperature

Start plate change: force fixed temperature

End plate change: temperature

Start plate change: force current static pressure

Start plate change: force fixed static pressure

Realflo User and Reference Manual

May 19, 2011

956

130

131

133

135

138

139

151

303

353

703

803

804

1903

2203

84

85

86

87

88

89

102

103

77

78

79

80

81

82

83

Command

Number

45

46

47

48

75

76

Measurement Canada Approved Version

Command Description

End plate change: static pressure

Start plate change: force current differential pressure

Start plate change: force fixed differential pressure

End plate change: differential pressure

Start Pulse Count Calibration: Force current pulse count rate

Start Pulse Count Calibration: Force fixed pulse count rate

End Pulse Count Calibration

Force current temperature

Force fixed temperature

Remove forced temperature

Force current static pressure

Force fixed static pressure

Remove forced static pressure

Force current differential pressure

Force fixed differential pressure

Remove forced differential pressure

Force current pulse count rate

Force fixed pulse count rate

Remove forced pulse count rate

Delete account

Update account

Search for MVT sensor

Change address of MVT sensor

Set MVT configuration

Calibrate MVT sensor

Set Display Control Configuration

Set Sensor Mode

Set Custom Display Configuration

Set AGA-3 (1992) configuration

Set AGA-3 (1985) configuration

Set AGA-7 configuration

Set AGA-8 gas ratios

Set AGA-8 Hexanes+ Gas Ratios

Set NX19 gas ratios

Set V-Cone Configuration

Enron Protocol Disabled Commands

The Enron Protocol commands listed in the table below are disabled when the lockout device is installed. The flow computer will return an exception response, with exception code 1, when these commands are attempted when the lockout device is installed.

Command

Number

5

6

15

16

Command Description

Force Boolean state

Force numeric register

Load multiple states

Load multiple registers

Realflo User and Reference Manual

May 19, 2011

957

Measurement Canada Approved Version

Measurement Canada Lockout Cable

The Measurement Canada lockout cable is use with SCADAPack,

SCADAPack LP, SCADAPack 32 and SCADAPack 314/330/334 flow computers. The cable is a standard IMC cable with a jumper between the

/SELECT line and ground on the cable. The cable can be inserted anywhere on the I

2

C bus. The cable and side view are shown below.

Measurement Canada Approved Flow Computers

In order for a flow computer to be Measurement Canada approved it needs to meet measurement accuracy and performance standards. The approved flow computers require that a specific firmware version and flow computer version be used. In addition the flow computer requires a lockout device so that changes cannot be made to the firmware or meter run configuration.

The requirements for each approved flow computer type is described below.

SCADAPack 32

The lockout device is a special cable attached to the I

2

C bus. The cable pulls the /SELECT line low. If the flow computer option is enabled and the

select line is low the commands listed in the Flow Computer Disabled

Commands section are disabled.

SCADAPack 32 firmware version 2.16 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack 314

The lockout device is a special cable attached to the I

2

C bus. The cable pulls the /SELECT line low. If the flow computer option is enabled and the

select line is low the commands listed in the Flow Computer Disabled

Commands section are disabled.

SCADAPack 314 firmware version 1.51 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack 330/334

The lockout device is a special cable attached to the I

2

C bus. The cable pulls the /SELECT line low. If the flow computer option is enabled and the

select line is low the commands listed in the Flow Computer Disabled

Commands section are disabled.

Realflo User and Reference Manual

May 19, 2011

958

Measurement Canada Approved Version

SCADAPack 330/334 firmware version 1.51 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack and SCADAPack LP

The lockout device is a special cable attached to the I

2

C bus. The cable pulls the /SELECT line low. If the flow computer option is enabled and the

select line is low the commands listed in the Flow Computer Disabled

Commands section are disabled.

SCADAPack firmware version 2.30 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.10 is is required for Measurement Canada operation.

SolarPack 410

The SolarPack 410 security jumper is used to enable or disable programming commands and firmware uploads.

When in the SECURITY ON position:

Realflo cannot make changes to the SolarPack 410 flow computer

configuration. The commands listed in the Flow Computer Disabled

Commands section are disabled.

Host and HMI systems cannot make changes to the SolarPack 410 flow computer configuration using the TeleBUS Command sequence.

New firmware cannot be loaded into the SolarPack 410

When in the SECURITY OFF position security is effectively disabled. Realflo and HMI commands are processed by the SolarPack 410. New firmware can be loaded into the SolarPack 410.

Refer to the figure below for the position of the header and jumper link labeled J3.

SolarPack firmware version 1.51 (Telepace or ISaGRAF) is required for

Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack 4203 DR

The SCADAPack 4203DR controller does not have an I

2

C bus. Jumper J4 at the left side of the Display connector on the 4203 is used to enable or disable the Measurement Canada lock out. If the flow computer option is

enabled and jumper J1 is removed the commands listed in the Flow

Computer Disabled Commands section are disabled.

Realflo User and Reference Manual

May 19, 2011

959

Measurement Canada Approved Version

Display

Connector

J1

J2

J3

J4

J1 - System Jumper, Required

J2 - System Jumper, Required

J3 - Not Used

J4 - Remove for Measurement

Canada

SCADAPack firmware version 1.51 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack 4203 DS

The SCADAPack 4203DS controller does not have an I

2

C bus. Jumper J4 at the left side of the Display connector on the 4203 is used to enable or disable the Measurement Canada lock out. If the flow computer option is

enabled and jumper J1 is removed the commands listed in the Flow

Computer Disabled Commands section are disabled.

Display

Connector

J1

J2

J3

J4

J1 - System Jumper, Required

J2 - System Jumper, Required

J3 - Not Used

J4 - Remove for Measurement

Canada

SCADAPack firmware version 1.51 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.74 is is required for Measurement Canada operation.

SCADAPack 4202 DR

The SCADAPack 4202DR controller does not have an I

2

C bus. The lockout is implemented using digital input 0. To allow this input to be used to lock out the programming features custom firmware is required. This firmware is installed only for Measurement Canada flow computer installations. Digital input 0 will not be available for other uses when the custom firmware is installed.

If digital input 0 is connected to ground (COM) and the flow computer option is enabled the command are disabled.

SCADAPack firmware version 2.30 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.10 is is required for Measurement Canada operation.

Realflo User and Reference Manual

May 19, 2011

960

Measurement Canada Approved Version

DC Power (+)

DC Power ( )

COM 2 TX / A+

COM 2 RX / B

COM 2 com

COM 2 (232 / 485)

COM 3 (232 / 485)

COM 3 TX / A

COM 3 RX / B

COM 3 com

P1

P2

P5

AOUT

CTR 1

COM

CTR0/DIN/DOUT

I

R

R

IRET

RTD

Connections

Lockout Jumper

P3

P4

SCADAPack 4202 DS

The SCADAPack 4202DS controller does not have an I

2

C bus. The lockout is implemented using digital input 0. To allow this input to be used to lock out the programming features custom firmware is required. This firmware is installed only for Measurement Canada flow computer installations. Digital input 0 will not be available for other uses when the custom firmware is installed.

If digital input 0 is connected to ground (COM) and the flow computer option is enabled the command are disabled.

SCADAPack firmware version 2.30 (Telepace or ISaGRAF) is required for Measurement Canada operation.

Flow computer version 6.10 is is required for Measurement Canada operation.

DC Power (+)

DC Power (-)

COM 2 TX / A+

COM 2 RX / B

COM 2 com

COM 2 (232 / 485)

COM 3 (232 / 485)

COM 3 TX / A

COM 3 RX / B

COM 3 com

P1

S

E

F

U

P5

Status

LED

Analog Input 0

Analog Input 1

Common

CTR/DIN/DOUT0

CTR/DOUT1

P2

P3

RTD+

RTD+

P4

Cold Boot

Switch

RET

Lockout Jumper

Realflo User and Reference Manual

May 19, 2011

961

DNP3 Protocol User Manual

DNP3 Protocol User Manual

DNP, the Distributed Network Protocol, is a standards-based communications protocol developed to achieve interoperability among systems in the electric utility, oil & gas, water/waste water and security industries. This robust, flexible non-proprietary protocol is based on existing open standards to work within a variety of networks.

DNP offers flexibility and functionality that go far beyond conventional communications protocols. Among its robust and flexible features DNP 3.0 includes:

Multiple data types (Data Objects) may be included in both request and response messages.

Multiple master stations are supported for outstations.

Unsolicited responses

1

may be initiated from outstations to master stations.

Data types (Objects) may be assigned priorities (Class) and be requested based on the priority.

Addressing for over 65,000 devices on a single link.

Time synchronization and time-stamped events.

Broadcast messages.

Data link and application layer confirmation

Internal indications that report the health of a device and results of last request.

Select-Before-Operate which is the ability to choose extra reliability when operating outputs.

DNP Overview

DNP Architecture

Object Library

DNP is a layered protocol that is based on the Open System Connection

(OSI) 7-layer protocol. DNP supports the physical, data link and application layers only and terms this the Enhanced Performance Architecture (EPA). In addition to these three layers an additional layer, the pseudo-transport layer, is added to allow for larger application layer messages to be broken down into smaller frames for the data link layer to transmit.

The data objects (Binary Inputs, Binary Outputs, and Analog

Inputs etc.) that reside in the master or outstation.

Application Layer Application tasks for sending of solicited requests (master messages) to outstations or sending of unsolicited responses from outstations. These request and response messages are referred to as fragments in DNP.

1

Unsolicited responses are also known as unsolicited messages

Realflo User and Reference Manual

May 19, 2011

962

DNP3 Protocol User Manual

Pseudo-Transport Layer Breaks the application layer messages into smaller packets that can be handled by the data link layer. These packets are referred to as frames in DNP.

Data Link Layer

Physical Layer

Handles the transmission and reception of data frames across the physical layer.

This is the physical media, such as serial or Ethernet, which

DNP communicates.

These layers are described in the following sections of this manual.

Object Library

The data types that are used in DNP are broadly grouped together into

Object Groups such as Binary Input Objects and Analog Input Objects etc.

Individual data points, or objects within each group, are further defined using

Object Variations such as Binary Input Change with Time and 16-Bit Analog

Inputs for example.

In general there are two categories of data within each data type, static objects and event objects. Static objects contain the current value of the field point or software point. Event objects are generated as a result of the data changing.

In addition to the object group and variation data objects can be assigned to classes. In DNP there are four object classes, Class 0, Class 1, Class 2 and

Class 3. Class 0 contains static data. Classes 1, 2 and 3 provide a method to assign priority to event objects. While there is no fixed rule for assigning classes to data objects typically class 1 is assigned to the highest priority data and class 3 is assigned to the lowest priority data.

This object library structure enables the efficient transfer of data between master stations and outstations. The master station can poll for high priority data (class 1) more often than it polls for low priority data (class 3). As the data objects assigned to classes is event data when the master polls for a class only the changed, or event data, is returned by the outstation. For data in an outstation that is not assigned a class the master uses a class 0 poll to retrieve static data from the outstation.

DNP allows outstations to report data to one or more master stations using unsolicited responses (report by exception) for event data objects. The outstation reports data based on the assigned class of the data. For example the outstation can be configured to only report high priority class 1 data.

Internal Indication (IIN) Flags

The Internal Indication (IIN) flags are set by a slave station to indicate internal states and diagnostic results. The following tables show the IIN flags supported by SCADAPack controllers. Bits except Device Restarted and

Time Synchronization required are cleared when the slave station receives any poll or read data command.

The IIN is set as a 16 bit word divided into two octets of 8 bits. The order of the two octets is:

First Octet

IIN First Octet

Second Octet

Realflo User and Reference Manual

May 19, 2011

963

Application Layer

DNP3 Protocol User Manual

7

0

1

2

3

4

5

6

First

Octet

Bit

6 5 4 3 2 1 0

Description

Bit Number last received message was a broadcast message

Class 1 data available

Class 2 data available

Class 3 data available

Time Synchronization required not used (returns 0)

Device trouble

Indicates memory allocation error in the slave, or

For master in mimic mode indicates communication failure with the slave device.

7 Device restarted (set on a power cycle)

IIN Second Octet

7 6 5 4 3 2 1 0

Second

Octet

Bit

0

1

Description

2

3

4

5

6

7

Bit Number

Function Code not implemented

Requested object unknown or there were errors in the application data

Parameters out of range

Event buffer overflowed

Indicates event buffer overflow in the slave or master. The slave will set this bit if the event buffer in the slave is overflowed. The master will set this bit if the event buffer in the master has overflowed with events read from the slave.

Confirm the event buffer size, in the master and slave, is set to a value that will not cause the buffer to overflow and avoid that events are lost. not used (returns 0) not used (returns 0) not used (returns 0) not used (returns 0)

The application layer in DNP is responsible for the processing of complete messages for requesting, or responding to requests, for data.

The following shows the sequence of Application Layer messages between one master and one outstation.

Realflo User and Reference Manual

May 19, 2011

964

DNP3 Protocol User Manual

Master Outstation

Send Request ------------> Accept request and process

<------------ Optional Application Confirmation

Accept response <------------- Send Response

Optional Application

Confirmation ------------->

Change detected

Accept response <-------------- Send Unsolicited Response

Optional Application

Confirmation -------------->

The complete messages are received from and passed to the pseudotransport layer. Application layer messages are broken into fragments with each fragment size usually a maximum of 2048 bytes. An application layer message may be one or more fragments in size and it is the responsibility of the application layer to keep the fragments are properly sequenced.

Application layer fragments are sent with or without a confirmation request.

When a confirmation is requested the receiving device replies with a confirmation indicating the message was received and parsed without any errors.

Pseudo-Transport Layer

The pseudo-transport layer formats the larger application layer messages into smaller packets that can be handled by the data link layer. These packets are referred to as frames in DNP. The pseudo-transport layer inserts a single byte of information in the message header of each frame.

This byte contains information such as whether the frame is the first or last frame of a message as well as a sequence number for the frame.

Data Link Layer

The data link layer handles the transmission and reception of data frames across the physical layer. Each data link frame contains a source and destination address so the receiving device knows where to send the response. For data integrity data link layer frames contain two CRC bytes every 16 bytes.

Data link layer frames are sent with or without a confirmation request. When a confirmation is requested the receiving device replies with a confirmation indicating the message was received and the CRC checks passed.

Physical Layer

The physical layer handles the physical media, such as serial or Ethernet, which DNP communicates.

Modbus Database Mapping

In SCADAPack controllers static DNP objects such as binary input, analog input, binary counter and analog output are associated with Modbus registers. Whenever a DNP object is created an associated Modbus register(s) is also assigned. Application programs executing in the

SCADAPack controller, C or logic, are able to assign physical I/O to Modbus

Realflo User and Reference Manual

May 19, 2011

965

DNP3 Protocol User Manual registers using the Telepace Register Assignment or the ISaGRAF I/O

Connection and these physical I/O points can then be assigned to DNP objects. User application data such as runtimes, flow totals and others can also be assigned to DNP objects.

This architecture enables DNP master stations and outstations to pass not only physical data points between them but also to monitor and control user applications executing in the SCADAPack controller. For example a master station can monitor a level in an outstation and then, based on the application program, send a setpoint value to another outstation to control the level.

SCADAPack DNP Operation Modes

Within a DNP network, a SCADAPack controller can operate as a:

DNP Outstation (Slave)

DNP Master or Mimic Master or

DNP Router

DNP Master Mimic and DNP Router are incompatible and mutuallyexclusive modes of operation.

A DNP outstation forms the basic class of any DNP node in a network.

Other operational modes derive from a DNP Outstation. A DNP outstation responds to requests from one or more DNP master stations on a network.

Also, a DNP Outstation is able to initiate unsolicited responses (messages) based on event data to a master station.

A DNP Master is capable of polling for data, accepting and processing unsolicited messages, and sending control commands to an outstation.

Note that a DNP Master can also act perform the duties of a DNP

Outstation.

A SCADAPack controller acting as a DNP Router is simply acting a pass through, basically redirecting messages from one DNP node to another.

Similarly to a DNP Master, a DNP Router can also perform all the duties of a

DNP Outstation.

DNP Network topologies comprise several combinations of DNP Masters,

DNP Routers, and DNP Outstations. Typical configurations possible with

SCADAPack controllers are:

DNP Master and single DNP Outstation

DNP Master and multi-dropped DNP Outstations

DNP SCADA Host, Data Concentrator (Mimic Master) and multidropped DNP Outstations

DNP SCADA Host, DNP Router and multi-dropped DNP Outstations

Major SCADAPack DNP operation modes are covered in the next chapters.

SCADAPack DNP Outstation

A DNP3 Outstation can be considered the base class of terminal nodes on a

DNP network. Other DNP3 configuration modes, such as Master, Mimic

Master or Router, as implemented by the Control Microsystems DNP driver, inherit their properties from the outstation base class. In other words, a

Realflo User and Reference Manual

May 19, 2011

966

DNP3 Protocol User Manual

SCADAPack controller can simultaneously take on any other operation mode, in addition to being a DNP outstation.

When configured as a DNP outstation a SCADAPack controller is able to:

Map physical I/O data to DNP points.

Define DNP points as Class 0 (Static or None), Class 1, Class 2 or

Class 3 data types.

Respond to requests from one or more master stations such as a

SCADA hosts or other SCADAPack controllers capable of operating as

DNP Masters.

Initiate unsolicited responses to one or more master stations.

„Unsolicited responses‟ are also known as „unsolicited messages‟.

„Unsolicited messages‟ will be used predominantly in this document.

One distinguishing feature of a DNP outstation is this ability to trigger unsolicited messages to a master, upon event accumulation. Events are accumulated when the state of a DNP point changes or an analog values exceeds a threshold. Dead bands can be used to filter out noise from being reported as event data.

After accumulating a certain number of DNP events, or if a certain time period has expired, a DNP outstation will trigger an unsolicited message to its configured master DNP stations, reporting event data. As defined by the

DNP specification, an outstation that triggers an unsolicited message expects a confirmation from the targeted masters (or peers). If an acknowledgement is not received with a configured Application Layer timeout, the outstation will retransmit the initial unsolicited message. If no response is received within the Application Layer timeout, the outstation will retransmit again. This process continues until the outstation has retransmitted the message a number of times as configured by its

Application Layer Retries parameter.

If retry attempts are not sucessful, this message is discarded from the transmit buffer. As of this writing, re-transmission of the message will only resume after a new event occurs within the appropriate buffer. Future releases of the SCADAPack DNP driver will re-attempt a DNP transaction after a random period of time has expired. Retransmissions will be attempted until the messages are eventually received by the master.

Application Layer messages that are larger than 249 bytes are broken down into Data Link frames. The DNP protocol allows one to configure acknowledgements of individual Data Link frames, this enhancing network robustness, especially under noisy environments. When the underlying network structure is noise free (wired or networks for instance), enabling

Application and Data Link confirmations are not necessary.

How to Configure SCADAPack DNP Outstation

In this exercise, we will configure a DNP outstation with address 10. We will also configure the station with digital input points associated with Class 1 and Class 2 events. The station will be configured to trigger unsolicited messages to Master station 200, when Class 1 and Class 2 events occur on these digital inputs.

After this exercise, you should be able to:

Enable the DNP protocol on a serial port.

Realflo User and Reference Manual

May 19, 2011

967

DNP3 Protocol User Manual

Configure the DNP Application and Data Link Layers

Configure Class Events Generation and Transmission

Configure a DNP Routing table

Configure DNP points.

We will map two digital inputs mapped to Modbus registers 10001 and

10002 to DNP Addresses 1 and 2.

Tasks to Complete

Enable DNP Protocol on communication interface.

Configure a DNP Outstation with station address.

Configure DNP points and assign them to Class objects.

Configure outstation to be able to trigger unsolicited messages.

Enable DNP on Communication Interface

The first step recommended in configuration the DNP driver on a

SCADAPack controller is to enable DNP on the communication interface.

To enable the DNP protocol on com2,

From the Controller menu in either Telepace or ISaGRAF, select Serial

Ports.

Select COM2 from the Port dropdown list.

Set the Protocol type to DNP.

Click on OK.

If using an Ethernet equipped controller, enable DNP in TCP or DNP in

UDP from the Controller IP configuration dialog.

Configure DNP Outstation

From the Controller Menu in either Telepace or ISaGRAF, select DNP

Configuration to launch the DNP Configuration dialog.

The Application Layer configuration panel is displayed by default.

Under the Communication group box, change the Retries parameter to

2.

Leave other parameters under the Communication group box at default values.

TIP: It is not necessary to enable the Application Layer confirmation as unsolicited events, by their nature, request for an Application Layer confirmation.

Set Time Synchronization to None.

TIP: It is recommended that a DNP3 master initiate time synchronization.

Enable Unsolicited Class 1 events.

For Class 1 Events, set a Hold Time of 5 seconds and a Hold Count of

100.

TIP: On systems with multiple outstations that could potentially transmit unsolicited messages to a master at the same time, it is recommended to

Realflo User and Reference Manual

May 19, 2011

968

DNP3 Protocol User Manual use a combination of the Hold Time and Hold Count parameters to avoid multiple stations from transmitting at the same time.

Enable Unsolicited Class 2 events.

For Class 2 Events, set a Hold Time of 3600 seconds and a Hold Count of 10.

TIP : Class 2 events are typically of less importance than Class 1 events and may not need to be reported immediately to the master

Other parameters can be left at their default values. The completed

Application Layer Configuration panel should look like this:

Clicking on OK closes the DNP Configuration dialog. Click on OK only after you have completed the DNP configuration.

From the DNP Configuration panel, select the Data Link Layer tree node.

Click on the Edit button and change the Master Station Address to

200.

Change the RTU Station Address to 10.

Leave other parameters at their default values. The completed dialog should look like this:

Realflo User and Reference Manual

May 19, 2011

969

DNP3 Protocol User Manual

TIP: It may be necessary to enable the Data Link confirmation on noisy networks. However, if the Maximum Application Fragment Length is reduced to 249 bytes, it is not necessary to enable the Data Link confirmation, as each data link packet is in essence an Application Layer fragment.

From the DNP Configuration panel, select the Routing tree node.

Click on the Add button to begin a new routing table entry.

From the Add/Edit Route dialog, o Enter 200 for the destination Station. o Set the Port to COM2. o Leave default values for other parameters. o The completed dialog should look like this:

The Data Link Timeout in this dialog takes precedence over the Data Link

Timeout in the Data Link Layer configuration panel.

TIP: Even though a SCADAPack outstation will respond successfully to master request, without is routing entry to the master, it is a good practice to define such a routing entry from an outstation to its master. Moreover,

Realflo User and Reference Manual

May 19, 2011

970

DNP3 Protocol User Manual without a routing entry defined to the master, the outstation will not know which port to send out unsolicited messages, if configured, to the master.

Click on OK to add this entry to the routing table and return to the

Routing dialog.

The completed routing table should look like this:

This next step assumes you have digital inputs mapped to Modbus registers

10001 and 10002.

From the DNP Configuration Panel, click on the Binary Inputs tree node.

Set the Starting DNP Address to 1.

Set the Event Report Method to Log All Events.

If you want to log all events and not only the most recent, you need to set the Event Reporting Method to Log all Events.

Set the Event Buffer Size to 100. The completed panel should look like this:

Click on Add to create a new DNP3 binary input point. Observe that a new binary input point is now visible under the Binary Input tree node with DNP Address 1 (Starting Address)

Leave the default associating Modbus Address as 10001.

Leave the default Event Object as Class 1.

Set the Debounce property to 10.

TIP: It is a good idea to set a non- zero Debounce on unfiltered inputs, to avoid noise being collected as Class events. The same applies for analog inputs. A non-zero Deadband will keep noise from being collected as Class events.

Set the Debounce property to 10.

Click on Add to submit this point to the database and start configuration for the next point. A new point has been added under the Binary Inputs tree node in the DNP Configuration panel.

Change the associating Modbus Address to 10002.

Change the Event Object to Class 2.

Set the Debounce appropriately.

Realflo User and Reference Manual

May 19, 2011

971

DNP3 Protocol User Manual

Click on Add to submit this point to the database and start configuration for the next point.

Repeat the previous two steps to add more points if desired.

Follow a similar procedure to configure other types of DNP3 objects.

Confirm Successful Configuration

To confirm that the DNP driver has been properly configured,

From the Controller menu, select DNP Status. You will be presented with the following dialog.

Check that the DNP Status field within this dialog displays 07: enabled, configured, running

You can also monitor the current state of the defined DNP binary input points from the Binary-In tab.

Toggle the state of digital input 1 configured earlier in this exercise and observe the event buffer for Binary Inputs increment on each change of state. After 5 seconds has elapsed, an unsolicited DNP message is triggered to master station 200. Given that DNP master station 200 is not yet configured and connected, a response to the unsolicited message will not be received and the 5000ms Application layer timeout period will expire. The unsolicited message transmission will subsequently retransmitted and will be aborted after 3 retry attempts have been made. This confirms that your outstation is properly setup and unsolicited messages are being generated and sent. At the time of this implementation, the events will be re-attempted only after a new event occurs.

Also observe the Internal Indications show that Class 1 events are available as indicated in the figure below.

Realflo User and Reference Manual

May 19, 2011

972

DNP3 Protocol User Manual

For additional information on the any of the dialogs referenced in the above

exercise, refer to the DNP Configuration Menu Reference towards the end

this booklet.

SCADAPack DNP Master

DNP master modes currently apply only to the SCADAPack 32,

SCADAPack 314/330/334, SCADAPack 350 and SCADAPack 4203 controllers.

As a master, a SCADAPack controller can be a regular Master or Mimic master.

SCADAPack DNP Master Concepts

A DNP Master station inherits the characteristics of a DNP Outstation. In addition, a DNP Master station is able to:

Poll DNP outstations for static (Class 0) data and Class 1, 2 and 3 event data.

Accept and process unsolicited response messages from polled outstations.

This configuration of a DNP Master (Client) and DNP Outstation (Server) forms the basis of a DNP3 Network. The SCADAPack DNP Master may be configured to periodically poll a SCADAPack DNP Outstation for Class 0, 1,

2, and 3 data objects and receive unsolicited responses from the outstation.

The outstation may be configured to report change event data to the master station using unsolicited responses.

The arrowed line between the master and outstation in the diagram below represents a communication path connecting the two stations. This communication medium may be any type that is supported by both controllers, such as direct serial, leased line modem, dial-up modem and radio for example.

Realflo User and Reference Manual

May 19, 2011

973

DNP3 Protocol User Manual

SCADAPack

DNP Master

SCADAPack

DNP Outstation

Figure 0-1: Simple SCADAPack Master-Outstation DNP Network

An extension of a simple DNP Master and single outstation network, involves a SCADAPack DNP Master connected to a number of outstations over a multi-drop communication channel. The DNP Master may be configured to periodically poll each SCADAPack DNP Outstation for Class

0, 1, 2, and 3 data objects and receive unsolicited responses from the outstations. The outstations may be configured to report change event data to the master station using unsolicited responses.

The arrowed line between the master and outstations, in the diagram below, represents the communication path connecting the stations. This communication path may be any multi-dropped type that is supported by the controllers, such as leased line modem, dial-up modem and radio for example.

SCADAPack

DNP Master

SCADAPack

DNP Outstation A

SCADAPack

DNP Outstation A

SCADAPack

DNP Outstation A

Figure 0-2: SCADAPack DNP Master and multi-dropped DNP

Outstations

The DNP Master feature is limited to a SCADAPack32, SCADAPack

314/330/334, SCADAPack 350 and SCADAPack 4203

SCADAPack DNP Mimic Master

In a typical DNP network a SCADA Host master communicates with a number of outstations. The SCADA Host will poll each outstation for data and may receive change event data in the form of unsolicited responses from the outstations. This type of DNP network is shown in the following diagram.

DNP SCADA Host

SCADAPack

DNP Outstation A

SCADAPack

DNP Outstation B

Figure 0-3: DNP SCADA Host and multi-dropped DNP Outstations

In the above configuration the SCADA Host manages the communication path with each outstation. When the communication path is slow, such as with dial-up communication, or subject to high error rates, such as with some radio communication, the data update rate at the SCADA host can become very slow.

Adding a SCADAPack controller configured for Master Mimic Mode, allows for the SCADA Host to poll the SCADAPack (Mimic Master) for outstation data instead. In essence, the SCADAPack Mimic Master is acting as a Data

Concentrator, reporting on behalf of the outstations currently configured in its routing table. The following diagram shows the addition of the

SCADAPack Mimic Master.

Realflo User and Reference Manual

May 19, 2011

974

DNP3 Protocol User Manual

DNP SCADA Host

SCADAPack Mimic

Slave Master

SCADAPack

DNP Outstation A

SCADAPack

DNP Outstation B

Figure 0-4: SCADAPack Mimic Master and multi-dropped DNP

Outstations

In this configuration the outstation side of the network has been decoupled from the host side of the network, as the SCADAPack mimic master now manages the communication with the outstations.

The SCADA Host and outstations will typically be connected to different communication ports of the SCADAPack Mimic Master. The mimic will respond to the following DNP messages on behalf of the targeted station:

Read messages (this includes class polls as well as individual point reads) from SCADA Host

Write messages from SCADA Host

Unsolicited messages from an outstation

Direct operate messages from SCADA Host

The following DNP messages cannot be mimicked (Mimic does not respond on behalf of target DNP station), and are routed directly to the target outstation by the Mimic:

Select and Operate messages

Data Link Layer messages (e.g. get link status, reset link status, etc)

Enable/Disable Unsolicited Message commands (FC 20 and 21)

Other control messages

Routing for those messages that cannot be mimicked is subjected to the following rule: if (a message is received which needs to be retransmitted to someone else)

if (the message target is configured in our routing table)

if (the destination port is different from the incoming port)

or (routing is enabled on the incoming port)

then retransmit the message

In order to provide current outstation data to the SCADA Host, the

SCADAPack mimicking master independently communicates with each outstation to update a local copy of its database with data from the outstations. This communication may be initiated by the SCADAPack mimicking master, either by polling each outstation in turn using solicited messages; or the outstations could initiate unsolicited messages back to the mimicking master. There could also be a combination of solicited and unsolicited messages between the mimicking master and the outstations.

Realflo User and Reference Manual

May 19, 2011

975

DNP3 Protocol User Manual

In the Mimic mode diagram above the SCADAPack mimic master polls each outstation, A and B, for data and holds images of this data in its memory.

When the SCADA Host poll outstations A and B for data, the mimic master replies from its own images of the outstations. The SCADA Host can also poll the SCADAPack master for its own local data.

Typically the messaging strategy chosen will depend on the relative importance of the data, and the required maximum end-to-end delays for data being transferred through the network. If the requirement is for a reasonably short end-to-end delay for data points, a round-robin polling scheme is optimum, without any unsolicited messages. If there are some data points, which are higher priority and need to be transferred as fast as possible, unsolicited messages should be used.

The advantage of having the SCADA system communicating with the

SCADAPack 32 mimic, instead of direct communication to the outstations is that communication delays and high error rates are effectively removed. The physical connection between the SCADA system and mimic master

SCADAPack is typically a direct high-speed connection and message transactions are fast. Outstations may often be connected via slow PSTN or radio links, and therefore message transactions are subject to substantial delays. They may also be unreliable communication links subject to high error rates.

By having a multiple-level network the communication between the

SCADAPack master and outstations is separated from communication between SCADA system and the SCADAPack master. The delays and error rates, which may be inherent in the outstation communication paths, can be isolated from communications with the SCADA system, thereby increasing overall system performance.

One particular advantage of Mimic Mode is that the master SCADAPack does not need to know, or be configured with, any details of the DNP points configured in the outstations. This makes it relatively simple to insert such a

SCADAPack master into any existing DNP network. The SCADAPack master in Mimic Mode behaves transparently to the higher-level SCADA system, and can easily be configured with communication paths and polling instructions for each connected outstation.

This feature is limited to the SCADAPack 32, 350 and SCADAPack 4203 controllers.

SCADAPack DNP Address Mapping

Address mapping provides a direct link between an outstation‟s DNP points and local Modbus registers within the SCADAPack DNP master. These remote DNP points are now mapped into specific regions of the DNP master‟s Modbus database.

When DNP data points are received from an outstation, a cross reference to the address mapping table is made, and if a match is found, the DNP data will be written to the corresponding local Modbus register. 'Input' DNP object types from the outstation are mapped to the master‟s local input

Modbus register space 1xxxx or 3xxxx. These local Modbus registers are updated after the corresponding DNP point gets updated; usually by a class poll to the outstation, or if the outstation issues an unsolicited response based on a change of value or state on these points.

„Output' DNP object types from the outstation are mapped to the master‟s local output Modbus register space 0xxxx or 4xxxx. Changes made to the

Realflo User and Reference Manual

May 19, 2011

976

DNP3 Protocol User Manual local Modbus register will trigger a DNP Write message, with the current point value, to the outstation. DNP Write implemented in SCADAPack controllers requires an Application Layer confirmation from the target outstation.

By configuring the Address Mapping table, outstation DNP points are therefore mapped to local Modbus registers. As mapped local Modbus points, the data is available for use in application programs such as

Telepace and ISaGRAF. In addition a Modbus SCADA Host can poll the

SCADAPack master for these points.

The following diagram shows a simple DNP Address Mapping network.

SCADA Host

Modbus Master

SCADAPack 32

Modbus DNP3

Slave Master

SCADAPack

Outstation A

SCADAPack

Outstation B

Figure 0-5: SCADAPack Address Mapping

In this network the SCADAPack master updates is local database with mapped outstation data. The manner and frequency with which the

SCADAPack master updates the local Modbus registers, depends on the number and type of I/O object types the registers are mapped to.

This feature is limited to the SCADAPack 32, 350 and SCADAPack 4203 controllers.

Mapping numerous local Modbus output registers (0xxxx and 4xxxx), to a remote DNP device may cause frequent communications between the master and the slave, if the associated registers are being changed frequently in the master. On limited bandwidth or radio networks network capacity needs to handle the traffic that will be generated from these local changes.

How to Configure SCADAPack DNP Master

In this exercise, we will configure a SCADAPack DNP Master to poll a DNP outstation with address 10. The DNP master will be communicating to the outstation by requesting for Class event data and acknowledging receipt of unsolicited responses through com1.

After this exercise, you should be able to:

Configure a DNP Master to poll for Static (Class 0) and Class 1 event data.

Configure a DNP Master to accept and respond to unsolicited messages

Tasks to Complete

Enable DNP communication on com1 of the SCADAPack controller.

Configure a DNP Master with station address of 200, for example.

Configure the DNP master to issue class polls to the outstation created in the previous exercise.

Map outstation DNP points to local DNP points.

Realflo User and Reference Manual

May 19, 2011

977

DNP3 Protocol User Manual

Configuration Steps

Use the same procedure of the previous exercise to enable the DNP protocol on com1.

From the Controller menu, launch the DNP Configuration panel.

From the Application Layer configuration panel, o Check that the Application Layer Confirmation is Disabled.

TIP: A master should not have to request for an Application Layer

Confirmation, as an Application Layer response is implied in master requests. o Set the Application Timeout to 3000 seconds. o Set Time Synchronization to none.

TIP: Master time synchronization to an outstation is configured in the

Add/Edit Master Poll dialog. o Other parameters can be left at their default values. The completed Application Layer Configuration panel should look like this:

From the DNP Configuration dialog, click on the Data Link Layer tree node. o Leave the Master Station Address at the default value of 100. o Change the RTU Station Address to 200.

Realflo User and Reference Manual

May 19, 2011

978

DNP3 Protocol User Manual

Click on the Master tree node from the DNP Settings dialog. o Set the Base Poll Interval to 1s. o Check that Mimic Mode is Disabled.

TIP: A small Base Poll interval provides better granularity.

Click on the Master Poll tree node from the DNP Configuration panel. o Set the Base Poll Interval to 1s. o Ensure Mimic Mode is Disabled. o Click on the Add button within the Master Poll panel to create a new master poll schedule. o In the Add/Edit Master Poll dialog, do the following:

 Set Station to 10

 Under Class 0 Polling group box, set the Interval to

3600 base poll intervals (1 hour).

 Leave the Poll Offset at the default of 0 base poll intervals.

TIP: Static (Class 0) comprise current values of DNP3 points in the I/O database. Due to the sheer size of this data, it is recommended to reduce the frequency of static polls. Urgent data will be updated at the master via

Class polls or unsolicited messages.

 Under Class 1 Polling group box, set the Interval to 10 base poll intervals (10 seconds).

 Set the Poll Offset to 1 base poll intervals.

 Leave the Limit Maximum Events checkbox unchecked.

 Under Class 2 Polling group box, set the Interval to

600 base poll intervals (10 minutes).

 Set the Poll Offset to 2 base poll intervals.

 Leave the Limit Maximum Events checkbox unchecked.

 Under the Time Synchronization group box, set the

Interval to 21600 base poll intervals (6 hours).

 Set the Poll Offset to 3 base poll intervals.

TIP: Polling intervals on Master request for time synchronization are configured in this dialog. If possible, set this to a daily frequency.

Realflo User and Reference Manual

May 19, 2011

979

DNP3 Protocol User Manual

A small base poll interval limits that maximum poll interval to 32767 seconds. Daily polls (every 86400 seconds) are, therefore, not possible when the base poll interval is set for 1 second.

 Under Unsolicited Response group box, leave fields at default. The completed dialog should look like this:

From the DNP Configuration panel, select the Routing tree node. o Click on the Add button to begin a new routing table entry. o From the Add/Edit Route dialog,

 Enter 10 for the destination Station.

 Set the Port to COM1.

 Leave default values for other parameters.

Confirm Successful DNP Master Configuration

With this configuration and a valid communication link between com1 of the

DNP Master and com2 of the DNP outstation, you can use the DNP Master

Status dialog to see communication activity between the two devices.

Confirm that you have communication activity between the master and outstation as indicated in the screen capture below.

If the All Stations tab indicates successful message transmission between the Master and Outstation, congratulate yourself on completing the exercise.

For additional information on the aforementioned configuration parameters,

referenced in the previous two exercises, refer to Chapter

0

in this manual.

Realflo User and Reference Manual

May 19, 2011

980

DNP3 Protocol User Manual

How to Configure SCADAPack Address Mapping

At this stage in your configuration, the DNP master is able to poll for outstation points. After a successful poll, you can verify the status of current value of outstation DNP points from the various data point type tabs available across the DNP Status Window.

The figure below shows the status of DNP digital input points 0, 1 and 2 on outstation 10.

The Modbus Address column is blank as these remote DNP points have not been mapped to any local Modbus registers.

While this data is available in the DNP Address space of the master, it is not available for use within a local program. To render DNP data available to a local program, you would have to perform an Address Map. To map DNP binary input data from outstation 10 to this master‟s local DNP database, do the following:

From the Controller menu, select DNP Configuration

Click on the Address Map tree node.

From the Address Mapping configuration panel o Click on the Add button to launch the Add/Edit Address

Mapping dialog. o Enter 10 for Station. o Select Binary Input for Object Type. o Enter a value of 1 for First Point. This is the DNP Address of the first Binary Input point in Station 10. o Enter 3 for Number of points to map. o Enter 11001 for First Register (First Modbus Register) address.

Modbus address 11000 needs to exist the in your controller database.

The completed dialog should look like this:

Realflo User and Reference Manual

May 19, 2011

981

DNP3 Protocol User Manual

Click on OK to add this entry to the Address Mapping table.

Use the DNP Master Status dialog, to confirm that remote points are being mapped to local Modbus registers as shown below:

You can also confirm that remote points are being mapped to Modbus registers by monitoring the status of Modbus registers 11001, 11002 and

11003.

How to Configure SCADAPack DNP Mimic Master

In addition to the configuration procedures for a DNP Master, following the steps below to enable the DNP Mimic master.

From the Controller menu, select DNP Configuration

Follow the steps in the

Section 0

to configure the DNP master.

Click on the Master tree node.

Enable Mimic Mode.

SCADAPack DNP Router

SCADAPack controllers can be configured as a DNP Router. A unique characteristic of a SCADAPack DNP router is the ability to:

Route (or forward) DNP messages not destined to this station, using rules defined within a routing table.

Otherwise, a SCADAPack controller not configured for DNP routing will simply discard a message whose DNP destination address does not match that of the controller.

A DNP router is typically used when a direct communication link between the DNP master and outstation cannot be established, typically due to different physical layers on the two network segments. For instance, the physical network between the DNP SCADA Host and the router could be an

Ethernet connection, while the physical layer between the router and outstations could be a multi-drop serial RS-485 or even an RS-232 radio connection. Given that messages are routed directly from the DNP SCADA

Host to the outstations, bandwidth limitations are dictated by the speed of the serial multi-drop connection. On the contrary, there is no bandwidth limitation within a DNP Mimic architecture, as the Mimic Master immediately responds to the DNP SCADA Host on behalf of the targeted outstation. Of course, the side effect of the DNP Mimic architecture is that polled data obtained by the DNP SCADA Host may not be very current. In either case, careful design considerations based on these tradeoffs should be exercised.

As mentioned above, the SCADA Host has only one connection to a

SCADAPack DNP Router. Target outstations of the SCADA Host are connected downstream of the DNP Router as illustrated in the figure below.

Realflo User and Reference Manual

May 19, 2011

982

DNP SCADA Host

SCADAPack

DNP Router

DNP3 Protocol User Manual

SCADAPack

DNP Outstation B

SCADAPack

DNP Outstation C

Ethernet Multi-drop Serial RS-485 or RS-232 data radio

Figure 0-6: SCADAPack DNP Router and multi-dropped DNP

Outstations

In the above configuration the SCADAPack DNP Router (Outstation A above) manages the communication with the outstations. The SCADAPack

DNP router receives messages from the SCADA Host for each outstation and route or forwards the messages to the outstations, based on routing rules established with the DNP Routing table.

DNP Messages are routed based on the following logic: if (a message is received which needs to be retransmitted to someone else)

if (the message target is configured in our routing table)

if (the destination port is different from the incoming port)

or (routing is enabled on the incoming port)

then retransmit the message

Change event data in the form of unsolicited responses from the outstations are routed directly to the DNP SCADA Host, by the SCADAPack DNP router.

A DNP Router is different from a Mimic in that a router forwards messages directly to the outstations, whereas the mimic responds to some messages on behalf of the outstations. Therefore, both operation modes have the advantage of delegating the task of DNP Routing of multiple outstations to this intermediate unit. The SCADAPack DNP router handles communications paths to outstations, including such tasks as dial-up radio communication. In contrast to Mimic mode, however, the SCADA Host system still has to handle the long delays and high error rates that may be present on the communications links to the outstations.

Mimic Master and Routing are incompatible modes that should not be used together.

How to Configure a SCADAPack DNP Router

In this exercise, we will configure a SCADAPack 32 controller to route DNP messages received from DNP Master 32001 on its Ethernet port, out through com2. This message is destined for outstation 20. .This exercise assumes a valid Ethernet connection between your PC or laptop and the

SCADAPack 32.

After this exercise, you should be able to:

Configure DNP/TCP on an Ethernet port

Configure a SCADAPack DNP Router to route messages from a

SCADA DNP Host to an outstation.

Realflo User and Reference Manual

May 19, 2011

983

DNP3 Protocol User Manual

Tasks to Complete

Enable the DNP protocol communication on the communication interfaces involved in routing.

Enable routing on the communication interface.

Setup the forward and return entries in the DNP routing table.

Configuration Steps

From the Controller menu, click on Serial Ports.

In the Controller Serial Ports dialog, set the Protocol on COM2 to DNP.

In the Controller Serial Ports dialog, Enable Routing.

The completed dialog should look like this:

Click on OK to close this dialog and save your settings.

From the Controller menu, click on IP Configuration.

Select the DNP/TCP tree node from the Controller IP Configuration dialog.

Enable the protocol and leave other settings at default values.

This exercise assumes that you have a valid IP Address, Subnet Mask and

Default Gateway properly configured.

The completed dialog would look like this:

Realflo User and Reference Manual

May 19, 2011

984

DNP3 Protocol User Manual

TIP:

In this configuration, the SCADAPack DNP Router is acting as a DNP

Server on the Ethernet port. The Server Idle Timeout parameter will be used to determine how long this connection will be kept open from time of last communication activity. For a Server Idle Timeout default value of 4 minutes, and an Application Layer Timeout default value of 5 minutes, there is the possibility that the IP port will be closed, if the router is experiencing communication difficulties with the outstations. In this case, it is a good idea to increase the Server Idle Timeout to at least 2x the DNP configuration Application Layer Timeout. Or, simply reduce the Application

Layer timeout to a value less than 2x the Server Idle Timeout.

From the DNP Configuration panel, select the Routing tree node. o Click on the Add button to begin a new routing table entry. o From the Add/Edit Route dialog,

Add the route to Station 20:

Enter 20 for the Station.

Set the Port to COM2.

Leave default values for other parameters.

Click on OK to add this entry to the routing table and return to the

Routing dialog.

Add the Return route from Station 20:

Enter 32001 for the Station.

Set the Port to DNP in TCP.

Enter the IP Address of your DNP Master. In this case, the IP Address of my PC running a DNP SCADA Host software is 10.10.10.141.

Leave default values for other parameters.

The completed dialog should look like this:

Realflo User and Reference Manual

May 19, 2011

985

DNP3 Protocol User Manual

Click on OK to add this entry to the routing table and return to the

Routing dialog.

The completed routing table should look like this:

For proper operation of the router, there needs to be two routing entries in the routing table for each outstation; An entry specifying how the communication path from this router to the outstation and another communication path from the router to the SCADA DNP Master.

Design Considerations

The strength of DNP lies in its ability to offer time-stamped data, scheduled polling of data from multiple outstations and time synchronization, event data buffering and reporting by exception.

DNP was originally design to be used over a serial point-to-point (RS-232) link. As such, the protocol implements certain measures against data corruption and missing data in its Application and Data Link layers. Such measures include timeouts, retries, and checksums.

These data recovery mechanisms provided by the protocol, can be counterproductive when not properly configured over an underlying communication medium, such as Ethernet, that already provides robust measures. In such cases, the recovery mechanisms offered by DNP need to be turned off. Such considerations together with good engineering judgment, therefore, need to be practiced before one embarks on the design of a large DNP network.

This chapter outlines special considerations of the DNP protocol and implications within the SCADAPack DNP driver that should be considered when designing large networks. We also list common malpractices and a list of Frequently Asked Questions (FAQs) that arise during the course of network design.

Realflo User and Reference Manual

May 19, 2011

986

DNP3 Protocol User Manual

Considerations of DNP3 Protocol and SCADAPack DNP Driver

To allow consistent network performance, even under worse case scenarios, the following DNP specification rules should be considered when designing a DNP network using SCADAPack as the main nodes.

Unsolicited Messages always request for a Confirmation

An outstation will request for an Application Layer confirmation when it sends an unsolicited message, even if the Application Layer confirmation field is not enabled. If no response is received within an Application Layer timeout, the outstation will retry the message a number of times as determined by the Application Layer Retry parameter.

Master shall never request for Application Layer Confirmation

A Master request is accompanied by a response message from an outstation. Hence, the Application Layer confirmation on the master RTU should not be enabled.

DNP Write Messages always request for a Confirmation

As implemented in the SCADAPack DNP driver, a DNP Write request (FC

02) requires an Application Layer response from the outstation. If an acknowledgement is not received within the configured Application Layer timeout interval, the message is retried a number of times as determined by the Application Layer retry parameter.

Only one DNP3 transaction can be pending at a time

A SCADAPack DNP station will not initiate or process another DNP transaction, as long as one is outstanding. Thus, once a SCADAPack has initiated a DNP transaction, subsequent DNP3 messages received but not related to the original transaction are buffered.

SCADAPack controllers buffer 3 DNP messages

A SCADAPack serial port receive buffer can hold a maximum of 3 DNP messages or Data Link frames. If an additional DNP message is received when the buffer is full, the oldest message in the buffer is replaced with the newest one.

Output points in DNP Address Mapping issue DNP Write

Digital and analog output points contained within the DNP Address Mapping of a SCADAPack controller automatically issue DNP Write messages when their value or state changes.

Typical Configuration Malpractices and Recommendations

DNP is a capable protocol that effectively transfers some of the system engineering effort from designing a sophisticated logic program, to configuring and tuning the system using parameters. However, DNP does not remove the need to properly evaluate and engineer the communication media to support the performance expectations of the system, especially under worse case scenarios.

DNP networks can be designed around polling or report-by-exception. In a polling environment, each master request can be viewed as an invitation for an outstation device to transmit data on the shared communications medium. The master controls which device can transmit, thereby keeping collisions from occurring, as the timing of responses is predictable. In addition, masters can ask again if a response is not received, thus providing

Realflo User and Reference Manual

May 19, 2011

987

DNP3 Protocol User Manual an opportunity for the outstation to re-send lost data. Using this strategy, a master effectively manages media access thereby stopping contention with those outstations unexpectedly transmitting on their own.

DNP networks can also be designed around unsolicited communications. In this case, the outstations transmit events to the master as they occur.

When using this strategy, the communications media needs to be evaluated carefully in regards to the need for collision detection and prevention, if consistent network performance is to be expected.

Given that typical systems are designed using a combination of both strategies, is a good idea to start by configuring the network for poll mode, as it can be easily tuned to cater for unsolicited messaging, when system characteristics under worst case conditions become known. Below are several requirements of DNP system architecture that require careful engineering judgment .

Multiple high priority unsolicited messages configured in outstation.

System with multiple outstations, each containing numerous Class 1 events, configured with a Class 1 Hold Count of 1.

Relying on unsolicited messaging to get event data to master. System not designed around master polling for events.

Multiple masters with poor communication link.

Insufficient use of Deadband and debounce to curb event generation.

Master RTU has Application Layer confirmation enabled.

Enabling both the Application and Data Link Layer confirmations.

Setting very high Application Layer timeout values over high speed networks.

DNP Address mapping contains multiple analog and digital output points that change rapidly.

The aforementioned statements and recommendations are provided below.

These recommendations are for consistent performance under worse case situations, and are based on the special considerations provided in the previous section.

Multiple High Priority Unsolicited Messages

A common configuration malpractice is to enable numerous high priority events objects within an outstation, and configure the outstation to trigger an unsolicited message to the master each time a new event occurs. In a

SCADAPack controller, this is accomplished by configuring numerous Class

1 event objects, and enabling Class 1 Unsolicited Responses (Messaging) with a Hold Count or Hold Time of 1.

A Hold Count of 1 and Hold Time of 60 seconds specified for Class 1 events, imply that the controller will immediately trigger an unsolicited event as one occurs. If this outstation and others have a multitude of Class 1 event objects, visualize the worst-case scenario as a burst of messages being transmitted to the master at the same time. Given that a

SCADAPack serial port buffer can only handle three DNP Data Link frames at any given time, some messages might get lost, especially if the master is required to immediately retransmit this message to some other node in return.

Realflo User and Reference Manual

May 19, 2011

988

DNP3 Protocol User Manual

Such a system is designed around unsolicited messaging and is, therefore, far more susceptible to network collisions if proper management of bandwidth it not exercised. Given that a SCADAPack controller can only process one DNP transaction at a time, there is also a good chance that the serial port receive buffer will overflow, adding to the cost of lost messages.

Recommendations:

In general, bandwidth is used more efficiently in a large DNP system if the master is designed to poll for event data more frequently and static data less regularly.

Recommended practice is also to reserve unsolicited messaging for a small number of data. If possible no more than 3 messages are sent to the master at exactly the same time, under the worst-case scenario, as some event data may be lost if the master is currently busy processing another transaction, unless random retry intervals are put in place.

If unsolicited messaging is the predominant data transfer method, an approach to manage network usage, could be to configure a group of three or less outstations with a Hold Time that is unique within the group.

The table below shows an example configuration for Hold Time and Hold

Counts for Class 1 events across six outstations.

Table 0-1: Hold Time and Hold Count Setup in for Six DNP Outstations

DNP

Outstation

Address

Hold Time

(seconds)

Hold Count

11

12

13

14

15

1

1

1

2

2

100

100

100

100

100

16 2 100

Master not polling frequently causing event buffer overflows

An outstation does not discard the events within its buffer until all its configured masters have acknowledged receipt of these events. This means that an outstation event buffer may eventually fill up and overflow leading to missing events. Buffer overflows typically indicate a poorly configured system.

When the system is designed around unsolicited messaging, there is a good likelihood of media contention causing buffer overflows. On the contrary, if the system is designed around frequent master poll for event data, there will be fewer chances of buffers overflowing causing missing event data.

As stated earlier, immediate reporting of events using unsolicited messaging should be reserved for those absolutely rare occurring events. This is because unsoliciting these messages back to the master will be reliable only if there is a substantial amount of unused bandwidth on the communication

Realflo User and Reference Manual

May 19, 2011

989

DNP3 Protocol User Manual media. A good rule of thumb is to have 50% or more of unused bandwidth available, evenly distributed over a time frame.

Recommendation:

Design the system around frequent master poll of class events and less regular integrity polls. Reserve unsolicited messaging for infrequent high priority events. If network traffic is predominated by unsolicited messaging, allocate 50% or more unused bandwidth as quiet time.

Outstation reports to Multiple Masters with Poor Communications Link

A poor communications link to one of an outstation‟s multiple masters will keep the outstation‟s event buffer from being emptied, as events cannot be reported to the master. This could lead to buffer overflow situations and loss of event data.

Recommendation:

Check that the communication path to masters of an outstation is robust.

Insufficient Use of Input Deadband or Debounce

Event generation on a DNP analog input is controlled by a Deadband parameter. On a digital input, event generation is controlled by a debounce parameter. Default settings of zero for these parameters are typically overly aggressive and may lead to events being generated due to noise.

Recommendation:

Set the analog Deadband and debounce parameters appropriately to non-zero values.

Master Confirmation and Retries

Application or Data Link Layer confirmations should never be enabled on a master as:

Master requests typically will fit within a single Application Layer fragment hence there is need for Data Link Layer confirmations.

Master request typically require a response, hence no need for

Application Layer confirmations.

Thus, enabling the Application Layer Confirmation on a DNP master is obsolete practice and may instead reduce system performance.

Recommendation:

Disable the Application Layer Confirmation in a master

SCADAPack controller. Typical retry values for Application Layer retries lie between 1 and 3. Lengthy retries may instead burden the communication medium

Outstation Confirmations and Retries

Confirmations on an outstation serve two useful purposes:

Check that a master received unsolicited responses from the outstation.

To confirm that a master correctly received responses to its request

Unsolicited messages will request for an Application Layer confirmation, whether or not the Application Layer Confirmation is enabled on the outstation. If network traffic is predominantly unsolicited messaging, the

Application Layer confirmation does not need to be enabled.

When the master is configured, as recommended, to frequently poll the outstation for event data using read request, while imposing a limit on the number of events the outstation should include in its response, the outstation still needs to know if the master received its replies so that it can:

Realflo User and Reference Manual

May 19, 2011

990

Recommendation:

DNP3 Protocol User Manual

Remove these events from its buffer

Know what to transmit next.

To cater for confirmations to read responses, Application Layer Confirmation in the outstation typically needs to be enabled.

The Data Link Layer breaks down Application Layer fragments into smaller frames. Smaller packet sizes reduce bit error in noisy environments. While it is better to accept the overhead of confirming each Data Link Layer frame of a multi-frame message, and re-transmit corrupted frames, than to re-send an entire Application Layer fragment, a viable alternative is to reduce the

Application Layer fragment size and use only Application Layer confirmations. When fragments are reduced to the size of a Data Link Layer frame, the overhead of Application Layer confirmations, and the probability of noise corrupting those confirmation messages, is nearly the same as for

Data Link Layer confirmations.

Enabling the Data Link layer confirmation on the outstation, therefore, is not required when the communication medium is not robust. For example, certain data radios, e.g., FreeWave 9000 MHz spread spectrum radios, implement a robust mechanism to ensure that a data packet make it to their desired destination; TCP/IP incorporates robust mechanisms to stop missing data; a local serial link between stations is also very robust. In these cases, it is not necessary to enable the Data Link Layer confirmations.

If, however, physical medium quality if below par, such as in the case of noisy radio networks, or a shaky PSTN connections, then one should enable the Data Link Layer confirmation only, or as mentioned earlier, reduce the

Application Layer maximum fragment length below 249 bytes.

If either the Application or Data Link Layer Confirmation is enabled, retries should be configured to a low non-zero value. Typical retry values lie between 1 and 3. Lengthy retries may instead burden the communication medium

Application and Data Link

Layer confirmations in an outstation can be set according to the following table:

Data

Acquisition

Configuration master polls outstation frequently for event data (also limits number of events in read response)

Communication Medium

High

Reliability

Low

Enable

Application

Layer

Confirmation

Disable

Application Layer

Confirmation

Disable Data

Link Layer

Confirmation

Enable Data Link

Layer

Confirmation master Enable Application Disable

Realflo User and Reference Manual

May 19, 2011

991

DNP3 Protocol User Manual does not poll frequently enough and outstation generates lot of unsolicited messages

Regardless of the data acquisition strategy, if the Max

Application

Layer fragment is set to a values less than 249

Layer

Confirmation

Disable Data Link

Layer

Confirmation

Enable Application

Layer

Confirmation

Disable Data Link

Layer

Confirmation

Application

Layer

Confirmation

Enable Data

Link Layer

Confirmation

Enable

Application

Layer

Confirmation

Disable Data

Link Layer

Confirmation

It is not required to enable BOTH the Application and Data Link Layer

Confirmations.

Setting relatively large Application Layer timeouts

On a high speed link, such as Ethernet, configuring a high Application Layer timeout does not increase network reliability. Instead this reduces system performance, as there will be a significant portion of time within the timeout period, after which the IP transaction may have been terminated.

Typically, an Ethernet transaction is completed in the order of a millisecond and a DNP master SCADAPack controller, by default, closes its DNP TCP port within 10 seconds of no activity. A DNP SCADAPack controller acting as an outstation closes its port by default in about 4 minutes.

Under these default conditions, if the application layer timeout on a

SCADAPack DNP master is set for 15 seconds, for instance, the port may have closed 10 seconds after last activity, but the application may still be waiting for a timeout.

If a message is somehow lost, and the timeout is set for 5 seconds, for instance, the application will still be waiting for a response even though the

IP transaction has terminated. This results to wasted bandwidth.

Recommendation:

When operating over high speed links, make

Application Layer timeouts as small as possible.

DNP Address mapping contains multiple output points

The DNP Address Mapping table allows local Modbus registers in the

SCADAPack DNP master to be mapped to DNP points in an outstation.

Realflo User and Reference Manual

May 19, 2011

992

DNP3 Protocol User Manual

Each time an output register defined within the DNP Address Mapping table changes, a DNP Write message (FC 2) is immediately issued to update the corresponding DNP point in the outstation.

If numerous output registers that change frequently, are listed in the

Address Mapping table, the network will be overburdened with a multitude of

DNP Write messages.

Recommendation:

Reserve Address Mapping only for mapping of outstation DNP data that needs to be used by the master Modbus database, or to segregate points from different outstations in the master. If numerous points are being mapped from the outstation to the master, the system is not designed properly. In this case, it may be worthwhile to consider transferring application logic from the master to the outstation.

Configuration FAQ

Complimentary commonly asked questions and answers are given below.

When configuring a routing entry in the DNP Routing table of a

SCADAPack, one has to specify the Data Link Layer Timeout and Retries.

Do these fields take precedence over the same fields found under the Data

Link Layer configuration panel?

Yes.

In a master-outstation architecture, how do you recommend we setup time synchronization?

Recommended practice is to configure the master to initiate time synchronization to the outstations.

DNP3 provides 4 data classes; Class 0 (Static or None), Class 1, Class 2 and Class 3. How does I decide which class to assign any given I/O point?

In a SCADAPack controller, configured DNP points by nature, are members of the Class 0 type. Class 0 data is the current value or state of a DNP point. So, when a master does a Class 0 poll to an outstation, the current value or state of DNP points within the database are returned.

Value or state changes on a point are captured as Class 1, Class 2 or Class

3 event data. Typically, highest priority events are assigned to Class 1 and the lowest priority event to Class 3.

What does Class of „None‟ mean?

Class None is Class 0 or Static.

Why does this setting do: Enable Unsolicited Responses On Startup?

This setting enables unsolicited response (or unsolicited message) transmission, when power to an RTU is cycled or when its configuration is changed. In this case, the RTU does not have to wait for Function Code 20 or 0x14 (Enable Unsolicited Responses) from the master before is starts sending any collected events.

This field should be set to No, to allow a master control when an outstation is able to send unsolicited messages. Recommended practice is to allow a master to enable unsolicited message transmission on outstations.

Why would I ever need to change the Application Layer Maximum Fragment

Length?

Realflo User and Reference Manual

May 19, 2011

993

DNP3 Protocol User Manual

Define DNP I/O points

Enable Application

Layer Confirmation

Should I Initiate

Time synchronization?

The Application Layer Maximum Fragment Length determines the maximum amount of memory that is reserved for each application layer fragment.

The default is 2048 bytes on SCADAPack controllers although outstations need to be prepared to receive fragments sizes of at least 249 bytes.

When communicating with those devices with insufficient memory it is necessary to limit the maximum application layer fragment length to what the outstation can handle. In addition, limiting the application layer fragment size beyond 249 also reduces the maximum Data Link layer frame length.

Certain data radios may give better efficiency when transmitting data packets less than the maximum data link fragment size of 249 bytes. With these radios, it is necessary to reduce the application layer‟s maximum fragment size below 249 bytes as required by the radio.

Other types of data radios, such as FreeWave‟s 900 MHz Spread Spectrum radios, provide configuration options to optimize efficiency by changing the maximum packet size. In this case, it is not necessary to reduce the application layer maximum fragment size.

In addition, when the communication medium is noisy, it is typically more efficient to transmit smaller packets than larger packets. In this case, setting small Application Layer fragments would force smaller data link frames, which is a better strategy in a noisy environment.

Limiting the application layer fragment size reduces the rate at which event data is retrieved from the buffers, thus increasing the possibility of event buffer overflows, if the event data is not being retrieved in a timely fashion.

Reducing the maximum application layer fragment size, increases network traffic and also reduced data throughput as an Application Layer

Confirmation is required for each fragment of a multi-fragment message.

Why would I ever want to „Limit that maximum number of events in a read response?”

This is another strategy that can be used to limit the Application Layer fragment of an outstations‟ response message. This strategy could be used under noisy environments.

Also, this could be used to keep an outstation with a large collection of event data from holding the communication media captive while transmitting all its events.

What behavior should we expect from a SCADAPack when the event logs are full?

When a new event is collected and the SCADAPack DNP event buffer is full, the oldest event is deleted and the newest event added into the buffer.

What is the main difference between SCADAPack DNP driver configuration modes?

DNP Master DNP Mimic Master Address Mapping Router Outstation

Not necessary

No

Not necessary

No

Not necessary

No

Not necessary

No.

Yes

Yes No. No. No.

Not necessary.

No.

Realflo User and Reference Manual

May 19, 2011

994

Poll for Class DNP static and Class data?

Initiates Unsolicited messages?

Router Messages not destined to this station?

When to use

Yes

No

No

Yes

No

Some

Master in a Point to Multipoint network

Data Concentrator with many outstations that will take a while to configure. When outstation data does not need to be available to logic in this node.

Yes

No

No

When remote

DNP data is needed by local program

DNP3 Protocol User Manual

No. No

No

Yes

Strictly

Repeater

Yes

No

Forms basic node in DNP network.

Realflo User and Reference Manual

May 19, 2011

995

DNP3 Protocol User Manual

DNP Configuration Menu Reference

This section of the manual details the SCADAPack DNP3 driver configuration parameters. The DNP Configuration panel is accessed from the Controller | DNP Configuration menu from either Telepace or

ISaGRAF. Browse through this chapter to familiarize yourself with some key DNP3 concepts and their implementation in a SCADAPack controller.

When selected the DNP Settings window is opened, as shown below.

The DNP Settings window has a tree control on the left side of the window.

The tree control appears differently depending on the controller type selected. The SCADAPack 314/330/334, SCADAPack 350, SCADAPack 32 and SCADAPack 32P controllers support DNP master and include the bolded items in the following list. SCADAPack controllers not supporting

DNP master the bolded items are not included. This tree control contains headings for:

Application Layer

Data Link Layer

Master

Master Poll

Address Mapping

Routing

Binary Inputs

Binary Outputs

16-Bit Analog Inputs

32-Bit Analog Inputs

Realflo User and Reference Manual

May 19, 2011

996

DNP3 Protocol User Manual

Short Floating Point Analog Inputs

16-Bit Analog Outputs

32-Bit Analog Outputs

Short Floating Point Analog Outputs

16-Bit Counter Inputs

32-Bit Counter Inputs

When a tree control is selected by clicking the mouse on a heading a property page is opened for the header selected. From the property page the DNP configuration parameters for the selected header is displayed.

As DNP objects are defined they are added as leaves to the object branch of the tree control. When an object is defined the object branch will display a collapse / expand control to the left of the branch.

The Allow Duplicate Modbus Addresses checkbox (in the bottom left corner) determines if the Modbus I/O database addresses assigned to the

DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Uncheck the box if you want to be notified about duplicate addresses. If an attempt is made to use a Modbus address that has already been used for another DNP point the following message is displayed.

Application Layer Configuration

The Application Layer property page is selected for editing by clicking

Application Layer in the tree control section of the DNP Settings window.

When selected the Application Link Layer property page is active.

Realflo User and Reference Manual

May 19, 2011

997

DNP3 Protocol User Manual

Application Layer parameters are set in this property page. Each parameter is described in the following paragraphs.

The Communication section of the dialog contains the configurable application layer communication parameters.

When the Application Confirmation feature is enabled, the SCADAPack controller requests a confirmation from the master station for any data transmitted. When it is disabled, the controller does not request a confirmation from the master station and assumes that the master receives the data it sends successfully. However if the data includes event data

(including unsolicited messages), the controller requests a confirmation from the master regardless of whether this feature is enabled or disabled. Valid selections for this parameter are:

Enabled

Disabled

The Maximum Fragment Length is maximum size of a single response fragment that the RTU will send. If the complete response message is too large to fit within a single fragment, then the SCADAPack controller will send the response in multiple fragments. Valid values are between 100 and 2048 bytes.

This parameter is adjustable to allow for interoperability with simple DNP3 devices that require smaller application layer fragments. Devices with limited memory may restrict the application layer fragment size to as low as

249 bytes.

The Maximum Fragment Length parameter applies to responses from read commands only. It does not affect unsolicited responses.

Realflo User and Reference Manual

May 19, 2011

998

DNP3 Protocol User Manual

The Retries entry maximum number of times the application layer will retry sending a response or an unsolicited response to the master station. This does not include any retries performed by the data link layer. Valid values are between 0 and 255.

Using application layer Confirmation and Retries is inherently more efficient than using data link layer Confirmation and Retries. Each fragment sent by the Application layer may require as many as 10 data link layer frames to be sent, each with its own confirmation message. The application layer is typically preferred for message confirmation for this reason.

The Application Timeout is the expected time duration (in milliseconds) that the master station's application layer requires to process and respond to a response from the SCADAPack controller. This SCADAPack controller uses this value in setting its time-out interval for master station responses.

This value should be large enough to avoid response time-outs. The value needs to be kept small enough so as not to slow system throughput. The value of this element is dependent on the master station. Valid values are between 100 and 60000 milliseconds.

The Time Synchronization section of the dialog defines when and how often the SCADAPack outstation prompts the master station to synchronize the SCADAPack controller time. Messages need to be sent between the

Master and Remote stations for Time Synchronization to work. Valid selections for this parameter are:

The None selection will cause the SCADAPack controller to not request

Time Synchronization.

The At Start Up Only selection will cause the SCADAPack controller to request Time Synchronization at startup only.

The Interval selection will cause the SCADAPack controller to request

Time Synchronization at startup and then every Interval minutes after receiving a time synchronization from the master. Valid entries for

Interval are between 1 and 32767 minutes. The default value is 60 minutes.

Time Synchronization may instead be initiated by the Master for each

Outstation. This may be selected in the Add/Edit Master Poll dialog. It is not required to enable Time Synchronization at both the Master and the

Outstation.

The Unsolicited Response section of the dialog defines which class objects are enabled or disabled from generating report by exception responses. Unsolicited responses are individually configured for Class 1,

Class 2, and Class 3 data.

The Enable Unsolicited controls enables or disables the generation of unsolicited events for Class 1, Class 2 or Class 3 data. If unsolicited responses are disabled for a Class the controller will not generate unsolicited events for that Class. If unsolicited responses are enabled the controller generates unsolicited events for that Class if its value or state exceeds a defined threshold. Valid selections are:

Enabled

Disabled

The controller does not transmit collected unsolicited messages (or responses) to a master, even after the Hold Time or Hold Count conditions

Realflo User and Reference Manual

May 19, 2011

999

DNP3 Protocol User Manual have been met, unless its 'Enable Unsolicited Responses on Start Up' field is set to 'Yes' or the master triggers this transmission.

To configure a master to control unsolicited message transmission from a remote, see the Master Poll configuration panel.

The Hold Time parameter is used only when unsolicited responses are enabled for a Class. This parameter defines the maximum period (in seconds) the RTU will be allowed to hold its events before reporting them to the DNP master station. When the hold time has elapsed since the first event occurred, the RTU will report to the DNP master station events accumulated up to then. This parameter is used in conjunction with the Hold

Count parameter in customizing the unsolicited event reporting characteristics. The value used for the Hold Time depends on the frequency of event generation, topology and performance characteristics of the system. The valid values for this parameter are 0 - 65535. The default value is 60 seconds.

The Hold Count parameter is used only when unsolicited responses are enabled for a Class. This parameter defines the maximum number of events the RTU will be allowed to hold before reporting them to the DNP master station. When the hold count threshold is reached, the RTU will report to the master, events accumulated up to that point. This parameter is used in conjunction with the Hold Time in customizing the unsolicited event reporting characteristics. So that an unsolicited response is sent as soon as an event occurs, set the Hold Count parameter to 1. The valid values for this parameter are 1 - 65535. The default value is 10.

The Enable Unsolicited Responses on Start Up parameter enables or disables unsolicited responses on startup. This affects the default controller behaviour after a start-up or restart. Some hosts require devices to start up with unsolicited responses enabled. It should be noted this is nonconforming behaviour according to the DNP standard. Valid selections are:

Yes

No

The default selection is Yes.

The Send Initial Unsolicited Response on Startup parameter enables or disables Send Initial unsolicited responses on startup. This parameter controls whether an initial unsolicited response with null data is sent after a start-up or restart. Valid selections are:

Yes

No

The default selection is No.

The Resend unreported events after parameter enables or disables the retransmission of events after every attempt to report the events have not succeeded.

Many communications networks experience occasional communications failures. In such networks, even when message retries are used, there is a chance that some messages will not be sucessful

– meaning there is a chance some unsolicited messages will be unsuccessful and change events will not be reported to the master station. The events remain in the outstation buffers until polled or additional events are generated.

Realflo User and Reference Manual

May 19, 2011

1000

DNP3 Protocol User Manual

To address this the Resend unreported events after parameter is added to the DNP configuration. This parameter controls a timer for retrying the transmission of unsolicited messages.

Whenever a DNP unsolicited message is unsucessful, including its retries, then instead of just retiring the message, an unsolicited resend timer is initiated. After the configured time delay has passed, the unsolicited message will be sent again, including the configured retries. This process will be repeated continuously until the unsolicited message is successfully sent and acknowledged. In the case of multiple masters the unsolicited resend timer is uninitiated after the retries are expired for the last master in the polling list.

SCADAPack firmware 2.44 (and later), SCADAPack 32 Firmware 1.92 (and later), SCADAPack 314/330/334, SCADAPack 350/SCADAPack firmware

1.25 (and later) and SolarPack 410 firmware 1.32 (and Later) support this feature.

Valid values are 1 to 65535 seconds. The default value is 0 seconds. The control is unselected by default.

If Resend unreported events is not selected, the controller will not resend unreported events after attempts are unsucessful, until polled or until additional events are generated and their reporting threshold is reached.

The Resend unreported events control can be selected even when no classes are enabled. This allows the feature to be used in a mimic controller that is being used to pass outstations events to a host.

The Dial Up section of the dialog defines modem parameters used when a dial up modem is used to communicate with stations that use dial up communication. The phone numbers for the stations are defined in the

Routing table.

The Modem Initialization is the string that will be sent to the modem prior to each call. This is an ASCII null-terminated string. The maximum length of the string is 64 characters, including the null terminator.

The Attempts controls the maximum number of dial attempts that will be made to establish a Dial Up connection. The valid values for this parameter are 1

– 10. The default value is 2.

The Dial Type parameter controls whether tone or pulse dialing will be used for the call. Valid values are Tone dialing or Pulse dialing. The default value is Tone dialing.

The Connect Timeout controls the maximum time (in seconds) after initiating a dial sequence that the firmware will wait for a carrier signal before hanging up. The valid values for this parameter are 1

– 65535. The default value is 45.

The Inactivity Timeout controls the maximum time after message activity that a connection will be left open before hanging up. The valid values for this parameter are 1

– 65535 seconds. The default value is 45 seconds.

The Pause Time controls the delay time (in seconds) between dial events, to allow time for incoming calls. The valid values for this parameter are 1

65535. The default value is 10.

The Operate Timeout parameter specifies the timeout interval between a

Select and Operate request from the Master. If after receiving a valid Select control output request from the master, the RTU does not receive the

Realflo User and Reference Manual

May 19, 2011

1001

DNP3 Protocol User Manual corresponding Operate request within this time-out interval, the control output request is unsucessful. The value of this parameter, expressed in seconds, is dependent on the master station, the data link and physical layer. Valid values are 1 to 6500 seconds. The default value is 15 seconds.

The Master needs to have the Select/Operate functionally in order to use this feature.

The Report only Level 2 Compliant Objects in Class Polls parameter affects how Short Float Analog Input, Short Float Analog Output, and 32-bit

Analog Output objects are reported. These objects are converted to 32-bit

Analog Input and 16-bit Analog Output objects when this parameter is selected. Valid selections are:

Yes

No

The default selection is No.

The Limit Maximum Events in Read Response parameter allows limiting the number of events in a read response. Select the checkbox to enable the limit. Valid values are 1 to 65535. The default value is disabled.

The Maximum Events parameter applies to responses from read commands only. It does not affect unsolicited responses.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the configuration changes and close the

DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Data Link Layer Configuration

The Data Link Layer property page is selected for editing by clicking Data

Link Layer in the tree control section of the DNP Settings window. When selected the Data Link Layer property page is active.

Realflo User and Reference Manual

May 19, 2011

1002

DNP3 Protocol User Manual

Data Link Layer parameters are set in this property page. Each parameter is described in the following paragraphs.

The Master Station Addresses list box contains a list of Master station addresses that the SCADAPack controller will respond to. The default list contains one master address of 100. This address may be edited, or changed, and up to 8 master stations may be added to the list. Valid entries for Master Station Addresses are 0 to 65519.

When a master station polls for event data, the controller will respond with any events that have not yet been reported to that master station.

When an unsolicited response becomes due, it will be sent to each configured master station in turn. A complete unsolicited response message transaction, including retries, will be sent to the first configured master station. When this transaction has finished, a complete unsolicited response message transaction including retries will be sent to the next configured master station, and so on for the configured master stations.

Change events will be retained in the event buffer until they have been successfully reported to configured master stations.

Select the Add button to enter a new address to the Master Station Address list. Selecting the Add button opens the Add Master Station Address dialog. Up to 8 entries can be added to the table. An error message is displayed if the table is full.

Select the Edit button to edit address in the Master Station Address list.

Selecting the Edit button opens the Edit Master Station Address dialog.

The button is disabled if there are no entries in the list.

Realflo User and Reference Manual

May 19, 2011

1003

DNP3 Protocol User Manual

The Master Station Address edit box specifies the Master Station Address.

Enter any valid Station address from 0 to 65519.

The OK button adds the Master Station Address to the list and closes the dialog. An error is displayed if the Master Station Address is invalid, if the address is already in the list, or if the address conflicts with the

RTU station address.

The Cancel button closes the dialog without making any changes.

The RTU Station Address parameter specifies the address of this RTU. It is the source address used by this DNP driver when communicating with a master station. Each DNP station in a network needs to have a unique address, including the Master station. Valid entries for RTU Station Address are 0 to 65519.

The Data Link Confirmation parameter specifies whether or not the RTU requests the underlying data link transmitting its response to use a high quality service, which generally means that the data link requires the receiving data link to confirm receipt of messages.

The Retries parameter specifies the maximum number of times the data link layer will retry sending a message to the master station. This parameter is only used when responding to a request from a Master station, when there is no corresponding entry in the Routing dialog for that station. This is independent of the application layer retries. The valid values for this parameter are 0 - 255. Setting the value to 0 disables sending retries.

Using data link layer Confirmation and Retries is inherently less efficient than application layer Confirmation and Retries. Each fragment sent by the

Application layer may require as many as 10 data link layer frames to be sent, each with its own confirmation message. The data link layer is typically not used for message confirmation for this reason.

The Data Link Timeout parameter specifies the expected time duration that the master station's data link layer requires to process and respond to a message from the RTUs data link layer. It is used by the RTU in setting its time-out interval for master station responses. This value should be large enough to avoid response time-outs. The value needs to be kept small enough so as not to slow system throughput. The value of this element is dependent on the master station. It is expressed in milliseconds. Valid values are 10 to 60000 milliseconds. The default value is 500 milliseconds.

Click the OK button to accept the configuration changes and close the

DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Delete button to remove the selected rows from the list. This button is disabled if there are no entries in the list.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points needs to

Realflo User and Reference Manual

May 19, 2011

1004

Master

DNP3 Protocol User Manual be unique. Check this box if you want to allow more than one point to use the same Modbus address.

The Master property page is selected for editing by clicking Master in the tree control section of the DNP Settings window. This selection is only visible if the controller type is SCADAPack 314/330/334, SCADAPack 350,

SCADAPack 32 or SCADAPack 32P. These controllers support DNP

Master. When selected the Master Application Link Layer property page is active.

Master parameters are set in this property page. Each parameter is described in the following paragraphs.

The Mimic Mode parameter specifies the DNP Mimic Mode. The valid selections are Enable or Disable. When DNP Mimic Mode is enabled the controller will intercept DNP messages destined for a remote DNP station address, and will respond directly, as though the controller were the designated target. For read commands, the controller will respond with data from its Remote DNP Objects corresponding with the target address. For write commands, the controller will write data into its Remote DNP Objects, and issue a direct response to acknowledge the command. It will then issue a new command to write the data to the designated target. The default selection is Disabled.

The Base Poll Interval parameter is the base interval (in seconds) for polling slave devices. The poll rates and issuing time synchronisation will be configured in multiples of the base poll interval. The slave devices with the same poll rates will be polled in the order they appear in the poll table. The valid values for this parameter are 1 to 65535. The default value is 10 seconds.

Realflo User and Reference Manual

May 19, 2011

1005

Master Poll

DNP3 Protocol User Manual

The Master Poll property page is selected for editing by clicking Master Poll in the tree control section of the DNP Settings window. This selection is only visible if the controller type is a SCADAPack 314/330/334, SCADAPack

350, SCADAPack 32 or SCADAPack 32P. These controllers support DNP

Master. When selected the Master Poll property page is active and button

Copy is renamed to Edit.

The Master Poll displays slave devices to be polled by this master station as a row, with column headings, in the table. The table may have up to 1000 entries. A vertical scroll bar is used if the list exceeds the window size.

Slave devices in the Master Poll table need to be added to the Routing table.

The Station column displays the address of the DNP slave device to be polled. Each entry in the table should have unique DNP Station Address.

The Class 0 Rate column displays the rate of polling for Class 0 data, as a multiple of the base poll interval.

The Class 1 Rate column displays the rate of polling for Class 1 data, as a multiple of the base poll interval.

The Class 2 Rate column displays the rate of polling for Class 2 data, as a multiple of the base poll interval.

The Class 3 Rate column displays the rate of polling for Class 3 data, as a multiple of the base poll interval.

The OK button saves the table data and closes the DNP Settings dialog.

The Cancel button closes the dialog without saving changes.

Select the Add button to enter a new row in the Master Poll. Selecting the

Add button opens the Add/Edit Master Poll dialog.

Realflo User and Reference Manual

May 19, 2011

1006

DNP3 Protocol User Manual

Select the Edit button to modify the selected row in the Master Poll.

Selecting the Edit button opens the Add/Edit Master Poll dialog containing the data from the selected row. This button is disabled if more than one row is selected or if there are no entries in the table.

The Delete button removes the selected rows from the table. This button is disabled if there are no entries in the table.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

Add/Edit Master Poll Dialog

This dialog is used to edit an entry or add a new entry in the Master Poll.

The Station edit control displays the address of the DNP slave device to be polled. Valid values are 0 to 65519.

The Class 0 Polling section of the dialog specifies the type and rate of polling for Class 0 data.

The None selection disables class 0 polling for the slave station. This is the default selection.

The At Start Up Only selection will cause the master to poll the slave station at startup only.

The Interval selection will cause the master to poll the slave station at startup and then every Interval of the base poll interval. For example if the base poll interval is 60 seconds and the Interval parameter is set to

60 then the master will poll the slave station every hour. Valid values are

1 to 32767. The default value is 60.

The Poll Offset parameter is used to distribute the load on the communication network. The Poll Offset is entered in multiples of the base poll interval. Valid values for this parameter are 0 to the Poll

Interval value minus 1. Any non-zero value delays the start of polling for

Realflo User and Reference Manual

May 19, 2011

1007

DNP3 Protocol User Manual the specified objects by that amount. The default value is 0. This control is disabled when None is selected, and enabled otherwise. For an example of using the Poll Offset parameter see the Poll Offset

Example at the end of this section.

The Class 1 Polling section of the dialog specifies the type and rate of polling for Class 1 data.

The None selection disables class 1 polling for the slave station. This is the default selection.

The At Start Up Only selection will cause the master to poll the slave station at startup only.

The Interval selection will cause the master to poll the slave station at startup and then every Interval of the base poll interval. For example if the base poll interval is 60 seconds and the Interval parameter is set to

60 then the master will poll the slave station every hour. Valid values are

1 to 32767. The default value is 60.

The Poll Offset parameter is used to distribute the load on the communication network. The Poll Offset is entered in multiples of the base poll interval. Valid values for this parameter are 0 to the Poll

Interval value minus 1. Any non-zero value delays the start of polling for the specified objects by that amount. The default value is 0. This control is disabled when None is selected, and enabled otherwise. For an example of using the Poll Offset parameter see the Poll Offset

Example at the end of this section.

Limit Maximum Events allows limiting the number of events in poll responses for Class 1/2/3 data. The checkbox is not checked by default, meaning there is no limit on the number of events. Select the checkbox to specify a limit. The valid values for this parameter are 1 to 65535. The default value is 65535. This control is disabled when None is selected, and enabled otherwise.

The Maximum Events parameter can be used to manage communication load on a system.

Consider the example of a master polling some data logging remotes, and the case where one of the remotes has been offline for a long time.

The remote will have built up a large number of buffered events. If the master polled it for every event, the reply might take a long time, and cause an unwanted delay in the master's polling cycle. However if the master limits the number of events returned, the reply message duration will be more deterministic and the master can keep its poll loop timing maintained. In this case, the event retrieval from the data logger will be distributed over a number of poll cycles.

The Class 2 Polling section of the dialog specifies the type and rate of polling for Class 2 data.

The None selection disables class 1 polling for the slave station. This is the default selection.

The At Start Up Only selection will cause the master to poll the slave station at startup only.

The Interval selection will cause the master to poll the slave station at startup and then every Interval of the base poll interval. For example if the base poll interval is 60 seconds and the Interval parameter is set to

Realflo User and Reference Manual

May 19, 2011

1008

DNP3 Protocol User Manual

60 then the master will poll the slave station every hour. Valid values are

1 to 32767. The default value is 60.

The Poll Offset parameter is used to distribute the load on the communication network. The Poll Offset is entered in multiples of the base poll interval. Valid values for this parameter are 0 to the Poll Interval value minus 1. Any non-zero value delays the start of polling for the specified objects by that amount. The default value is 0. This control is disabled when

None is selected, and enabled otherwise. For an example of using the Poll

Offset parameter see the Poll Offset Example at the end of this section.

Limit Maximum Events allows limiting the number of events in poll responses for Class 1/2/3 data. The checkbox is not checked by default, meaning there is no limit on the number of events. Select the checkbox to specify a limit. The valid values for this parameter are 1 to 65535. The default value is 65535. This control is disabled when None is selected, and enabled otherwise.

The Maximum Events parameter can be used to manage communication load on a system. Consider the example of a master polling some data logging remotes, and the case where one of the remotes has been offline for a long time. The remote will have built up a large number of buffered events.

If the master polled it for every event, the reply might take a long time, and cause an unwanted delay in the master's polling cycle. However if the master limits the number of events returned, the reply message duration will be more deterministic and the master can keep its poll loop timing maintained. In this case, the event retrieval from the data logger will be distributed over a number of poll cycles.

The Class 3 Polling section of the dialog specifies the type and rate of polling for Class 3 data.

The None selection disables class 1 polling for the slave station. This is the default selection.

The At Start Up Only selection will cause the master to poll the slave station at startup only.

The Interval selection will cause the master to poll the slave station at startup and then every Interval of the base poll interval. For example if the base poll interval is 60 seconds and the Interval parameter is set to

60 then the master will poll the slave station every hour. Valid values are

1 to 32767. The default value is 60.

The Poll Offset parameter is used to distribute the load on the communication network. The Poll Offset is entered in multiples of the base poll interval. Valid values for this parameter are 0 to the Poll

Interval value minus 1. Any non-zero value delays the start of polling for the specified objects by that amount. The default value is 0. This control is disabled when None is selected, and enabled otherwise. For an example of using the Poll Offset parameter see the Poll Offset

Example at the end of this section.

Limit Maximum Events allows limiting the number of events in poll responses for Class 1/2/3 data. The checkbox is not checked by default, meaning there is no limit on the number of events. Select the checkbox to specify a limit. The valid values for this parameter are 1 to 65535. The default value is 65535. This control is disabled when None is selected, and enabled otherwise.

Realflo User and Reference Manual

May 19, 2011

1009

DNP3 Protocol User Manual

The Maximum Events parameter can be used to manage communication load on a system. Consider the example of a master polling some data logging remotes, and the case where one of the remotes has been offline for a long time. The remote will have built up a large number of buffered events.

If the master polled it for every event, the reply might take a long time, and cause an unwanted delay in the master's polling cycle. However if the master limits the number of events returned, the reply message duration will be more deterministic and the master can maintain its poll loop timing maintained. In this case, the event retrieval from the data logger will be distributed over a number of poll cycles.

The Time Synchronization Rate section of the dialog specifies the rate of issuing a time synchronization to this device, as a multiple of the base poll interval. Valid selections for this parameter are:

The None selection will disable issuing a time sync to this device. This is the default selection.

The At Start Up Only selection will cause issuing a time synchronization at startup only.

The Interval selection will cause the RTU to issue a time synchronization at startup and then every Interval of the base poll interval seconds. Valid entries for Interval are between 1 and 32767 the base poll interval seconds. The default value is 60.

The Unsolicited Responses section is used in conjunction with the Enable

Unsolicited Responses on Start Up parameter on the Application Layer page. Certain non-SCADAPack slave devices are designed to start with their Enable Unsolicited Responses on Start Up parameter set to No.

Selecting Enabled for any class causes the master to (after it detects the slave come online) send a command allowing the slave to begin sending

Unsolicited Responses of that class.

With SCADAPack slaves the Enable Unsolicited Responses on Start Up parameter may be set to Yes, and the Accept Class parameters may be left at Disabled.

The Accept Class 1 selection displays the enable/disable status of unsolicited responses from the slave device for Class 1 events. The default selection is disabled.

The Accept Class 2 selection displays the enable/disable status of unsolicited responses from the slave device for Class 1 events. The default selection is disabled.

The Accept Class 3 selection displays the enable/disable status of unsolicited responses from the slave device for Class 1 events. The default selection is disabled.

The Save IIN Flags checkbox enables storing the IIN (Internal Indications) flags from the slave station in a Modbus database register. When this parameter is checked the IIN flags are saved to the entered Modbus register address. Valid entries are Modbus register addresses 30001 to 39999 and

40001 to 49999. The default value is 0.

The IIN flags are set by the slave to indicate the events in the following table. The events are bit mapped to the Modbus register. Bits except Device

Restarted and Time Synchronization required are cleared when the slave station receives any poll or read data command. The master will write to bits

5 and 11 depending on the local conditions in the master.

Realflo User and Reference Manual

May 19, 2011

1010

Poll Offset Example

DNP3 Protocol User Manual

Bit Description

0

1

2

3

4

5

6

7

8

9 last received message was a broadcast message

Class 1 data available

Class 2 data available

Class 3 data available

Time Synchronization required not used (returns 0)

Device trouble

Indicates memory allocation error in the slave, or

For master in mimic mode indicates communication failure with the slave device.

Device restarted (set on a power cycle)

Function Code not implemented

Requested object unknown or there were errors in the application data

10

11

Parameters out of range

Event buffer overflowed

Indicates event buffer overflow in the slave or master. The slave will set this bit if the event buffer in the slave is overflowed. The master will set this bit if the event buffer in the master has overflowed with events read from the slave. Check that the event buffer size, in the master and slave, is set to a value that will keep the buffer from overflowing and losing events. not used (returns 0) not used (returns 0)

12

13

14

15 not used (returns 0) not used (returns 0)

The OK button checks the data for this table entry. If the data is valid the dialog is closed. If the table data entered is invalid, an error message is displayed and the dialog remains open. The table entry is invalid if any of the fields is out of range. The data is also invalid if it conflicts with another entry in the table. Such conflict occurs when the station number is not unique.

The Cancel button closes the dialog without saving changes.

The Poll Offset parameter enhances the control over timing of master poll messages, by allowing master poll messages to be staggered.

For example, a master station may have 10 slaves to poll, and needs to poll them every hour. If these are included in the poll table without any poll offset, they will be polled in quick succession on the hour

– resulting in a large burst of communication activity once per hour. On some types of communications networks (particularly radio) it is desirable to distribute communication load more evenly, to minimize the chance of collisions and to avoid the possibility of consuming bandwidth continuously for an extended period of time.

The poll offset parameter enables you to distribute the communication load evenly. In the above example, it is possible to stagger the master polls so slave stations are polled at 6-minute intervals. To do this, set the base poll

Realflo User and Reference Manual

May 19, 2011

1011

DNP3 Protocol User Manual interval to 10 seconds, and for each slave station set the poll rate and poll offset parameters as follows:

Base Poll (seconds) Poll Rate (seconds)

10

10

10

10

10

10

10

10

10

10

360

360

360

360

360

360

360

360

360

360

Poll Offset (seconds)

0

36

72

108

144

180

216

252

288

324

Address Mapping

The Address Mapping property page is selected for editing by clicking

Address Mapping in the tree control section of the DNP Settings window.

This selection is only visible if the controller type is a SCADAPack

314/330/334, SCADAPack 350, SCADAPack 32 or SCADAPack 32P.

These controllers support DNP Master.

The Address Mapping contains a set of mapping rules, which will allow the

Remote DNP Objects to be mapped into local Modbus registers. This makes the data accessible locally, to be read and/or written locally in logic. It is also possible to perform data concentration

– to map the remote DNP Objects into the local DNP address space

– by defining local DNP objects and then mapping the remote DNP objects to the same Modbus registers. Change events can also be mapped in the same way - there is a configuration option to allow mapping of change events from a remote DNP slave into the local

DNP change event buffer. The table may have up to 1000 entries. A vertical scroll bar is used if the list exceeds the window size.

The Station column displays the address of the remote DNP station.

The Object Type column displays the DNP data object type.

Realflo User and Reference Manual

May 19, 2011

1012

DNP3 Protocol User Manual

The First Point column displays the starting address of the remote DNP data points.

The Number column displays the number of remote points to be mapped.

The First Register column displays the starting address of local Modbus register where the remote data points are to be mapped.

The Map Change Events combo box enables or disables mapping of change events from a remote DNP slave into the local DNP change event buffer. Mapped change events may trigger an Unsolicited message to be sent, after the Hold Count or Hold Time is reached. It may be desired instead to map only static (live) values into local Modbus registers .

The default selection is Disabled.

The default selection is Disabled.

The OK button saves the table data. No error checking is done on the table data.

The Cancel button closes the dialog without saving changes.

Select the Add button to enter a new row in the Address Mapping. Selecting the Add button opens the Add/Edit Address Mapping dialog.

Select the Edit button to modify the selected row in the Address Mapping.

Selecting the Edit button opens the Add/Edit Address Mapping dialog containing the data from the selected row. This button is disabled if more than one row is selected. This button is disabled if there are no entries in the table.

The Delete button removes the selected rows from the table. This button is disabled if there are no entries in the table.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

Add/Edit Address Mapping Dialog

This dialog is used to edit an entry or add a new entry in the Address

Mapping.

The Station edit control displays the address of the remote DNP station.

Valid values for this field are from 0 to 65519.

Realflo User and Reference Manual

May 19, 2011

1013

Routing

DNP3 Protocol User Manual

The Object Type combo box displays the DNP data Object Type. The list of available types includes: Binary Input, Binary Output, 16-bit Analog Input,

32-bit Analog Input, Short Floating Point Analog Input, 16-bit Analog Output,

32-bit Analog Output, Short Floating Point Analog Output, 16-bit Counter

Input, 32-bit Counter Input. The Default selection is Binary Input.

The First Point edit control displays the starting address of the remote DNP data points. Valid values are from 0 to 65519.

The Number edit control displays the number of remote points to be mapped. Valid values for this field are from 1 to 9999.

The First Register edit control displays the starting address of local

Modbus register where the remote data points are to be mapped. Valid values depend on the selection of DNP Object Type and are as follows:

For Binary Inputs valid range is from 10001 to 14096.

For Binary Outputs valid range is from 00001 to 04096.

For Analog Inputs and Counter Inputs valid range is from 30001 to 39999.

For Analog Outputs valid range is from 40001 to 49999.

The OK button checks the data for this table entry. If the data is valid the dialog is closed. If the table data entered is invalid, an error message is displayed and the dialog remains open. The table entry is invalid if any of the fields is out of range. The data is also invalid if it conflicts with another entry in the table. Such conflict occurs when the combination of station number, object type, and object address is not unique.

The Cancel button closes the dialog without saving changes.

In a typical application the SCADAPack controller, configured for DNP, will act as a DNP slave station in a network. The SCADA system will communicate directly with the DNP slave stations in the SCADA system.

DNP routing is a method for routing, or forwarding, of messages received from the SCADA system, through the SCADAPack controller, to a remote

DNP slave station. The SCADAPack DNP slave station will respond to messages sent to it from the SCADA system, as well as broadcast messages. When it receives a message that is not sent to it the message is sent on the serial port defined in the routing table.

The advantage of this routing ability is that the SCADA system can communicate directly with the SCADAPack controller and the SCADAPack controller can handle the communication to remote DNP slave stations.

The DNP Routing table displays each routing translation as a row, with column headings, in the table. Entries may be added, edited or deleted using the button selections on the table. The table will hold a maximum of

128 entries.

The DNP Routing property page is selected for editing by clicking DNP

Routing in the tree control section of the DNP Settings window. When selected the DNP Routing property page is displayed.

Notes:

Routing needs to be enabled for the controller serial port in order to enable DNP routing.

Realflo User and Reference Manual

May 19, 2011

1014

DNP3 Protocol User Manual

Telepace version 2.63 cannot open files created with version 2.64, unless the Routing table is empty.

Telepace version 2.64 cannot open files created with version 2.65, unless the Routing table is empty.

The Station column displays the address of the remote DNP station.

The Port column displays the serial communications port, which should be used to communicate with this DNP station.

The Retries column displays the maximum number of Data Link retries, which should be used for this DNP station in the case of communication errors.

The Timeout column displays the maximum time (in milliseconds) to wait for a Data Link response before retrying the message.

The IP Address column displays the IP address of the remote DNP station.

The OK button saves the table data. No error checking is done on the table data.

The Cancel button closes the dialog without saving changes.

Select the Add button to enter a new row in the DNP Routing table.

Selecting the Add button opens the Add/Edit DNP Route dialog.

Select the Edit button to modify the selected row in the DNP Routing table.

Selecting the Edit button opens the Add/Edit DNP Route dialog containing the data from the selected row. This button is disabled if more than one row is selected. This button is disabled if there are no entries in the table.

The Delete button removes the selected rows from the table. This button is disabled if there are no entries in the table.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Realflo User and Reference Manual

May 19, 2011

1015

DNP3 Protocol User Manual

Click on the column headings to sort the data. Clicking once sorts the data in ascending order. Clicking again sorts the data in descending order.

Add/Edit DNP Route Dialog

This dialog is used to edit an entry or add a new entry in the DNP Routing table.

The Station edit control displays the address of the remote DNP station.

Valid values for this field are from 0 to 65519.

The Port combo box displays the communications port, which should be used to communicate with the remote DNP station. This combo box contains list of the valid communications ports, which will depend on the type of controller. For SCADAPack 330/334, SCADAPack 350, SCADAPack

32 and SCADAPack 32P controllers the list will contain DNP in TCP and

DNP in UDP in addition to the serial port designations, COM1, COM2 etc.

The IP Address edit control is only enabled if the controller type is a

SCADAPack 330/334, SCADAPack 350, SCADAPack 32 or SCADAPack

32P. Enter the IP address of the remote DNP station.

The Data Link Retries edit control displays the maximum number of Data

Link retries which should be used for this DNP station in the case of communication errors. This field overrides the Data Link Retries field in the global DNP parameters set in the Data Link Layer configuration. Valid values for this field are 0 to 255.

The Data Link Timeout edit control displays the maximum time (in milliseconds) to wait for a Data Link response before retrying the message.

This field overrides the Data Link Timeout field in the global DNP parameters in the Data Link Layer configuration. Valid values for this field are 100 to 60000, in multiples of 100.

The phone number parameters allow automatic dialing for stations that use dial-up ports. The Phone Number parameters are enabled only when the

Port selected is a serial port.

The Primary Phone Number is the dialing string that will be used for the primary connection to the station. The controller will make 1 or more attempts, as configured in the Application layer, to connect using this number. If this connection does not work then the Secondary Phone

Number will be dialed, if it is entered.

Realflo User and Reference Manual

May 19, 2011

1016

DNP3 Protocol User Manual

Valid values are any ASCII string. The maximum length is 32 characters.

Leave this blank if you are not using a dial-up connection. The default value is blank. The serial port type needs to be set to RS-232 Modem for dial-up operation.

The Secondary Phone Number is the dialing string that will be used for the secondary connection to the station. The controller will make 1 or more attempts, as configured in the Application layer, to connect using this number. This number is used after the primary connection does not work.

Valid values are any ASCII string. The maximum length is 32 characters.

Leave this blank if you are not using a dial-up connection. The default value is blank. The serial port type needs to be set to RS-232 Modem for dial-up operation.

The OK button checks the data for this table entry. If the data is valid the dialog is closed. If the table data entered is invalid, an error message is displayed and the dialog remains open. The table entry is invalid if any of the fields is out of range. The data is also invalid if it conflicts with another entry in the table.

The Cancel button closes the dialog without saving changes.

Dynamic Routing

In addition to the configured routing table, there is an internal dynamic routing entry. This entry is not shown in the routing table. The dynamic routing entry listens to incoming messages and learns the address of the remote station and the communication port used for communicating with it.

If there is no entry in the routing table, the RTU will use the dynamic routing entry to respond to a message on the same communication port as the incoming message.

The dynamic routing entry is not cleared on initialization. This is deliberate for controllers that need to be remotely reconfigured. In this case the host can initialize the controller without losing the communications link.

Dynamic routing should not be used in a master station. Configure slave stations in the routing table.

Binary Inputs Configuration

The Binary Inputs property page is selected for editing by clicking Binary

Inputs in the tree control section of the DNP Settings window. When selected the Binary Inputs property page is active.

Realflo User and Reference Manual

May 19, 2011

1017

DNP3 Protocol User Manual

Binary Inputs parameters are set in this property page. Each parameter is described in the following paragraphs.

The Number of Points displays number of binary inputs reported by this

RTU. This value will increment with the addition of each configured Binary

Input point. The maximum number of points is 9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the starting DNP address of the first Binary Input point.

The Event Reporting Method selection specifies how binary input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log All Events is event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is to allow a master station to obtain a complete historical data log. The selections are:

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of binary input change events buffered by the RTU. The buffer holds binary input change events, regardless of the class to which they are assigned. If the buffer is completely full the RTU will lose the oldest events and retain the newest; the „Event Buffer Overflowed‟ IIN flag will also be set to indicate that the buffer has overflowed. The Event Buffer size should be at least equivalent to the number of binary inputs defined as Change of State type.

This will allow binary inputs to change simultaneously without losing any events. The value of this parameter depends on how often binary input change events occur and the rate at which the events are reported to the master station. The valid values for this parameter are 0 - 65535. Default value is 16.

Realflo User and Reference Manual

May 19, 2011

1018

DNP3 Protocol User Manual

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points needs to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding Binary Inputs

Binary Inputs are added to the DNP configuration using the Binary Input property page. To add a Binary Input:

Select Binary Inputs in the tree control section of the DNP Settings window.

Click the Add button in the Binary Inputs property page.

The Binary Input property page is now displayed.

Edit the Binary Input parameters as required and then click the Add button.

As Binary Inputs are defined they are added as leaves to the Binary Inputs branch of the tree control. When Binary Inputs are defined the Binary Inputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined Binary Inputs.

The Binary Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP Binary Input address of the point. Each Binary Input is assigned a DNP address as they are defined.

Realflo User and Reference Manual

May 19, 2011

1019

DNP3 Protocol User Manual

The DNP point address starts at the value defined in the Binary Inputs configuration dialog and increments by one with each defined Input.

The Modbus Address parameter specifies the Modbus address of the

Binary Input assigned to the DNP Address. The SCADAPack and Micro16 controllers use Modbus addressing for digital inputs. Refer to the I/O

Database Registers section of the Telepace Ladder Logic Reference and

User Manual for complete information on digital input addressing in the

SCADAPack and Micro16 controllers. Valid Modbus addresses are:

00001 through 09999

10001 through 19999

The Class of Event Object parameter specifies the event object class the

Binary Input is assigned. The selections are:

None

Class 1

Class 2

Class 3

The Debounce parameter limits the frequency of change events. The input needs to remain in the same state for the debounce time for a change of state to be detected. The input is sampled every 0.1s. Changes shorter than the sample time cannot be detected. Valid values are 0 to 65535 tenths of seconds. The value 0 means no debounce. The default value is 0.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the Binary Input parameters and close the

DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current Binary Input to the DNP configuration.

Click the Copy button to copy the current Binary Input parameters to the next DNP Address.

Click the Delete button to delete the current Binary Input.

Click the Move Up button to move the current Binary Input up one position in the tree control branch.

Click the Move Down button to move the current Binary Input down one position in the tree control branch.

Binary Outputs Configuration

The Binary Outputs property page is selected for editing by clicking Binary

Outputs in the tree control section of the DNP Settings window. When selected the Binary Outputs property page is active.

Realflo User and Reference Manual

May 19, 2011

1020

DNP3 Protocol User Manual

Binary Outputs parameters are viewed in this property page.

The Number of Points displays the number of binary outputs reported by this RTU. This value will increment with the addition of each configured

Binary Output point. The maximum number of points is 9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the starting DNP address of the first Binary Output point.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding Binary Outputs

Binary Outputs are added to the DNP configuration using the Binary Output property page. To add a Binary Output:

Select Binary Outputs in the tree control section of the DNP Settings window.

Click the Add button in the Binary Outputs property page.

The Binary Output property page is now displayed.

Edit the Binary Output parameters as required and then click the Add button.

As Binary Outputs are defined they are added as leaves to the Binary

Outputs branch of the tree control. When Binary Outputs are defined the

Binary Outputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined Binary Outputs.

Realflo User and Reference Manual

May 19, 2011

1021

DNP3 Protocol User Manual

The Binary Output parameters are described in the following paragraphs.

The DNP Address window displays the DNP Binary Output address of the point. Each Binary Output is assigned a DNP address as they are defined.

The DNP point address starts at the value defined in the Binary Outputs dialog and increments by one with each defined Output.

The Modbus Address 1 parameter specifies the Modbus address of the

Binary Output assigned to the DNP Address. The SCADAPack and Micro16 controllers use Modbus addressing for digital outputs. Refer to the I/O

Database Registers section of the Telepace Ladder Logic Reference

Manual for complete information on digital output addressing in the

SCADAPack and Micro16 controllers. Valid Modbus addresses are:

00001 through 09999

The Modbus Address 2 parameter specifies the second Modbus address of the second Binary Output assigned to the DNP Address when the Paired control type is selected. This selection is not active when the control type is

Not Paired. Valid Modbus addresses are:

00001 through 09999

The Control Type parameter specifies whether the Binary Output is a paired control or not. If it is a paired control, i.e. trip/close output type, this means that the DNP address is associated to two physical control outputs and requires two Modbus addresses per DNP address. Control type selections are:

Paired

Not Paired

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the Binary Output parameters and close the

DNP Settings dialog.

Realflo User and Reference Manual

May 19, 2011

1022

DNP3 Protocol User Manual

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current Binary Output to the DNP configuration.

Click the Copy button to copy the current Binary Output parameters to the next DNP Address.

Click the Delete button to delete the current Binary Output.

Click the Move Up button to move the current Binary Output up one position in the tree control branch.

Click the Move Down button to move the current Binary Output down one position in the tree control branch.

16

–Bit Analog Inputs Configuration

The 16-Bit Analog Inputs property page is selected for editing by clicking 16-

Bit Analog Inputs in the tree control section of the DNP Settings window.

When selected the 16-Bit Analog Inputs property page is active.

16-Bit Analog Inputs parameters are set in this property page. Each parameter is described in the following paragraphs.

The Number of Points displays the number of 16 bit analog inputs reported by the RTU. This value will increment with the addition of each configured

16-Bit Analog Input point. The maximum number of points is 9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 16bit Analog Input point.

The Event Reporting Method selection specifies how 16-bit Analog Input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log

All Events event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is

Realflo User and Reference Manual

May 19, 2011

1023

DNP3 Protocol User Manual to allow a master station to obtain a complete historical data log. The selections are:

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of 16-Bit

Analog Input change events buffered by the RTU. The buffer holds 16-Bit

Analog Input events, regardless of the class to which they are assigned. If the buffer is completely full the RTU will lose the oldest events and retain the newest; the „Event Buffer Overflowed‟ IIN flag will also be set to indicate that the buffer has overflowed. The Event Buffer size should be at least equivalent to the number of 16-Bit Analog Inputs defined as Change of State type. That will allow 16-Bit Analog Inputs to exceed the deadband simultaneously without losing any events. The value of this parameter is dependent on how often 16-Bit Analog Input events occur and the rate at which the events are reported to the master station. The valid values for this parameter are 0 - 65535. Default value is 16.

For SCADAPack 32 and SCADAPack 32P controllers analog input events are processed by the DNP driver at a rate of 100 events every 100 ms. If more than 100 analog input events need to be processed they are processed sequentially in blocks of 100 until all events are processed. This allows the processing of 1000 analog input events per second.

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

For SCADAPack controllers, SCADAPack 100, SCADAPack LP,

SCADAPack and Micro16 controllers analog input events are processed by the DNP driver at a rate of 20 events every 100 ms. If more than 20 analog input events need to be processed they are processed sequentially in blocks of 20 until all events are processed. This allows the processing of 200 analog input events per second.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 16-Bit Analog Inputs

16-Bit Analog Inputs are added to the DNP configuration using the 16-Bit

Analog Input property page. To add a 16-Bit Analog Input:

Select 16-Bit Analog Inputs in the tree control section of the DNP

Settings window.

Click the Add button in the 16-Bit Analog Inputs property page.

The 16-Bit Analog Input property page is now displayed.

Edit the 16-Bit Analog Input parameters as required and then click the

Add button.

Realflo User and Reference Manual

May 19, 2011

1024

DNP3 Protocol User Manual

As 16-Bit Analog Inputs are defined they are added as leaves to the 16-Bit

Analog Inputs branch of the tree control. When 16-Bit Analog Inputs are defined the 16-Bit Analog Inputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined 16-Bit

Analog Inputs.

The 16-Bit Analog Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP 16-Bit Analog Input address of the point. Each 16-Bit Analog Input is assigned a DNP address as they are defined. The DNP point address starts at the value set in the 16-bit Analog

Input configuration dialog and increments by one with each defined 16-Bit

Analog Input.

The Modbus Address parameter specifies the Modbus address of the 16-

Bit Analog Input assigned to the DNP Address. The SCADAPack and

Micro16 controllers use Modbus addressing for analog inputs. Refer to the

I/O Database Registers section of the Telepace Ladder Logic Reference

and User Manual for complete information on analog input addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

30001 through 39999

40001 through 49999

The Class of Event Object parameter specifies the event object class assigned to the 16-Bit Analog Input is assigned. If Unsolicited reporting is not required for a point, it is recommended to set its Class to None. Data points automatically become members of Class 0 or None (static data).

The selections are:

None

Class 1

Class 2

Class 3

Realflo User and Reference Manual

May 19, 2011

1025

DNP3 Protocol User Manual

The Deadband parameter specifies whether the RTU generates events.

The value entered is the minimum number of counts that the 16-Bit Analog

Input needs to change in order to generate an event. Valid deadband values are 0 to 65535. A deadband value of 0 will cause any change to create an event.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the 16-Bit Analog Input parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 16-Bit Analog Input to the DNP configuration.

Click the Copy button to copy the current 16-Bit Analog Input parameters to the next DNP Address.

Click the Delete button to delete the current 16-Bit Analog Input.

Click the Move Up button to move the current 16-Bit Analog Input up one position in the tree control branch.

Click the Move Down button to move the current 16-Bit Analog Input down one position in the tree control branch.

32-Bit Analog Inputs Configuration

The 32-Bit Analog Inputs property page is selected for editing by clicking 32-

Bit Analog Inputs in the tree control section of the DNP Settings window.

When selected the 32-Bit Analog Inputs property page is active.

32-Bit Analog Inputs parameters are set in this property page. Each parameter is described in the following paragraphs.

The Number of Points displays the number of 32- bit analog inputs reported by the RTU. This value will increment with the addition of each configured 32-Bit Analog Input point. The maximum number of points is

Realflo User and Reference Manual

May 19, 2011

1026

DNP3 Protocol User Manual

9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 32bit Analog Input point.

The Event Reporting Method selection specifies how 32-bit Analog Input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log

All Events is event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is to allow a master station to obtain a complete historical data log.

The selections are:

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of 32-Bit

Analog Input change events buffered by the RTU. The buffer holds 32-Bit

Analog Input events, regardless of the class to which they are assigned. If the buffer is completely full the RTU will lose the oldest events and retain the newest; the „Event Buffer Overflowed‟ IIN flag will also be set to indicate that the buffer has overflowed. The Event Buffer size should be at least equivalent to the number of 32-Bit Analog Inputs defined as Change of State type. That will allow 32-Bit Analog Inputs to exceed the deadband simultaneously without losing any events. The value of this parameter is dependent on how often 32-Bit Analog Input events occur and the rate at which the events are reported to the master station. The valid values for this parameter are 0 - 65535. Default value is 16.

For SCADAPack 32 and SCADAPack 32P controllers analog input events are processed by the DNP driver at a rate of 100 events every 100 ms. If more than 100 analog input events need to be processed they are processed sequentially in blocks of 100 until all events are processed. This allows the processing of 1000 analog input events per second.

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

For SCADAPack controllers, SCADAPack 100, SCADAPack LP,

SCADAPack and Micro16 controllers analog input events are processed by the DNP driver at a rate of 20 events every 100 ms. If more than 20 analog input events need to be processed they are processed sequentially in blocks of 20 until all events are processed. This allows the processing of 200 analog input events per second.

The Word Order selection specifies the word order of the 32-bit value. The selections are:

Telepace Least Significant Word in first register.

Realflo User and Reference Manual

May 19, 2011

1027

DNP3 Protocol User Manual

ISaGRAF Most Significant Word in first register.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 32-Bit Analog Inputs

32-Bit Analog Inputs are added to the DNP configuration using the 16-Bit

Analog Input property page. To add a 32-Bit Analog Input:

Select 32-Bit Analog Inputs in the tree control section of the DNP

Settings window.

Click the Add button in the 32-Bit Analog Inputs property page.

The 32-Bit Analog Input property page is now displayed.

Edit the 32-Bit Analog Input parameters as required and then click the

Add button.

As 32-Bit Analog Inputs are defined they are added as leaves to the 32-Bit

Analog Inputs branch of the tree control. When 32-Bit Analog Inputs are defined the 32-Bit Analog Inputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined 32-Bit

Analog Inputs.

The 32-Bit Analog Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP 32-Bit Analog Input address of the point. Each 32-Bit Analog Input is assigned a DNP address as they are defined. The DNP point address starts at the value set in the 32-bit Analog

Input configuration dialog and increments by one with each defined 32-Bit

Analog Input.

The Modbus Address parameter specifies the Modbus addresses of the

32-Bit Analog Input assigned to the DNP Address. 32-Bit Analog Inputs use two consecutive Modbus registers for each assigned DNP Address, the address that is entered in this box and the next consecutive Modbus

Realflo User and Reference Manual

May 19, 2011

1028

DNP3 Protocol User Manual register. The SCADAPack and Micro16 controllers use Modbus addressing for analog inputs. Refer to the I/O Database Registers section of the

Telepace Ladder Logic Reference and User Manual for complete information on analog input addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

30001 through 39998

40001 through 49998

The Class of Event Object parameter specifies the event object class the

32-Bit Analog Input is assigned. If Unsolicited reporting is not required for a

DNP point, it is recommended to set its Class 0 or None. Data points automatically become members of Class 0 or None (static data).The selections are:

None

Class 1

Class 2

Class 3

The Deadband parameter specifies whether the RTU generates events.

The value entered is the minimum number of counts that the 32-Bit Analog

Input needs to change in order to generate an event. Valid deadband values are 0 to 4,294,967,295. A deadband value of 0 will cause any change to create an event.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the 32-Bit Analog Input parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 32-Bit Analog Input to the DNP configuration.

Click the Copy button to copy the current 32-Bit Analog Input parameters to the next DNP Address.

Click the Delete button to delete the current 32-Bit Analog Input.

Click the Move Up button to move the current 32-Bit Analog Input up one position in the tree control branch.

Click the Move Down button to move the current 32-Bit Analog Input down one position in the tree control branch.

Short Floating Point Analog Inputs

The Short Floating Point Analog Inputs property page is selected for editing by clicking Short Floating Point Analog Inputs in the tree control section of the DNP Settings window. When selected the Short Floating Point Analog

Inputs property page is active.

Realflo User and Reference Manual

May 19, 2011

1029

DNP3 Protocol User Manual

Short Floating Point Analog Input parameters are set in this property page.

Each parameter is described in the following paragraphs.

The Number of Points displays the number of Short Floating Point Analog

Inputs reported by the RTU. This value will increment with the addition of each configured Short Floating Point Analog Input point. The maximum number of points is 9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first

Short Floating Point Analog Input point.

The Event Reporting Method selection specifies how Short Floating Point

Analog Input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log All Events is event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is to allow a master station to obtain a complete historical data log. The selections are:

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of Short

Floating Point Analog Input change events buffered by the RTU. The buffer holds Short Floating Point analog input events, regardless of the class to which they are assigned. If the buffer is completely full the RTU will lose the oldest events and retain the newest; the „Event Buffer Overflowed‟ IIN flag will also be set to indicate that the buffer has overflowed. The Event Buffer size should be at least equivalent to the number of Short Floating point analog inputs defined as Change of State type. That will allow Short Floating

Analog Point Inputs to exceed the deadband simultaneously without losing any events. The value of this parameter is dependent on how often Short

Floating Point Analog Input events occur and the rate at which the events

Realflo User and Reference Manual

May 19, 2011

1030

DNP3 Protocol User Manual are reported to the master station. The valid values for this parameter are 0

- 65535. Default value is 16.

For SCADAPack 32 and SCADAPack 32P controllers analog input events are processed by the DNP driver at a rate of 100 events every 100 ms. If more than 100 analog input events need to be processed they are processed sequentially in blocks of 100 until all events are processed. This allows the processing of 1000 analog input events per second.

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process all DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

For SCADAPack controllers, SCADAPack 100, SCADAPack LP,

SCADAPack and Micro16 controllers analog input events are processed by the DNP driver at a rate of 20 events every 100 ms. If more than 20 analog input events need to be processed they are processed sequentially in blocks of 20 until all events are processed. This allows the processing of 200 analog input events per second.

The Word Order selection specifies the word order of the 32-bit value. The selections are:

Telepace / ISaGRAF (MSW First) Most Significant Word in first register.

Reverse (LSW First) first register.

Least Significant Word in

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding Short Floating Point Analog Inputs

Short Floating Point Analog Inputs are added to the DNP configuration using the 16-Bit Analog Input property page. To add a Short Floating Point Analog

Input:

Select Short Floating Point Analog Input in the tree control section of the DNP Settings window.

Click the Add button in the Short Floating Point Analog Inputs property page.

The Short Floating Point Analog Input property page is now displayed.

Edit the Short Floating Point Analog Input parameters as required and then click the Add button.

As Short Floating Point Analog Inputs are defined they are added as leaves to the Short Floating Point Analog Inputs branch of the tree control. When

Short Floating Point Analog Inputs are defined the Short Floating Point

Analog Inputs branch will display a collapse / expand control to the left of

Realflo User and Reference Manual

May 19, 2011

1031

DNP3 Protocol User Manual the branch. Click this control to display defined Short Floating Point Analog

Inputs.

The Short Floating Point Analog Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP Short Floating Point Analog

Input address of the point. Each Short Floating Point Analog Input is assigned a DNP address as they are defined. The DNP point address starts at the value set in the Short Floating Point Analog Input configuration dialog and increments by one with each defined Short Floating Point Analog Input.

The Modbus Address parameter specifies the Modbus addresses of the

Short Floating Point Analog Input assigned to the DNP Address. Short

Floating Point Analog Inputs use two consecutive Modbus registers for each assigned DNP Address, the address that is entered in this box and the next consecutive Modbus register. The SCADAPack and Micro16 controllers use

Modbus addressing for analog inputs. Refer to the I/O Database Registers section of the Telepace Ladder Logic Reference and User Manual for complete information on analog input addressing in the SCADAPack and

Micro16 controllers. Valid Modbus addresses are:

30001 through 39998

40001 through 49998

The Class of Event Object parameter specifies the event object class the

Short Floating Point Analog Input is assigned. If Unsolicited reporting is not required for a DNP point, it is recommended to set its Class 0 or None. The selections are:

None

Class 1

Class 2

Class 3

Realflo User and Reference Manual

May 19, 2011

1032

DNP3 Protocol User Manual

The Deadband parameter specifies whether the RTU generates events.

The value entered is the minimum number of counts that the Short Floating

Point Analog Input needs to change in order to generate an event. A deadband value of 0 will cause any change to create an event.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the Short Floating Point Analog Input parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current Short Floating Point Analog Input to the DNP configuration.

Click the Copy button to copy the current Short Floating Point Analog Input parameters to the next DNP Address.

Click the Delete button to delete the current Short Floating Point Analog

Input.

Click the Move Up button to move the current Short Floating Point Analog

Input up one position in the tree control branch.

Click the Move Down button to move the current Short Floating Point

Analog Input down one position in the tree control branch.

16-Bit Analog Outputs Configuration

The 16-Bit Analog Outputs property page is selected for editing by clicking

16-Bit Analog Outputs in the tree control section of the DNP Settings window. When selected the 16-Bit Analog Outputs property page is active.

16-Bit Analog Outputs parameters are viewed in this property page.

The Number of Points displays the number of 16-Bit Analog Outputs reported by this RTU. This value will increment with the addition of each configured 16-Bit Analog Input point. The maximum number of points is

Realflo User and Reference Manual

May 19, 2011

1033

DNP3 Protocol User Manual

9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 16bit Analog Output point.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 16-Bit Analog Outputs

16-Bit Analog Outputs are added to the DNP configuration using the 16-Bit

Analog Outputs property page. To add a 16-Bit Analog Output:

Select 16-Bit Analog Outputs in the tree control section of the DNP

Settings window.

Click the Add button in the 16-Bit Analog Outputs property page.

The 16-Bit Analog Output property page is now displayed.

Edit the 16-Bit Analog Outputs parameters as required and then click the Add button.

As 16-Bit Analog Outputs are defined they are added as leaves to the 16-Bit

Analog Output branch of the tree control. When 16-Bit Analog Outputs are defined the 16-Bit Analog Outputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined 16-Bit

Analog Outputs.

The 16-Bit Analog Outputs parameters are described in the following paragraphs.

The DNP Address window displays the DNP 16-Bit Analog Output address of the point. Each 16-Bit Analog Output is assigned a DNP address as they are defined. The DNP point address starts at the value set in the 16-bit

Analog Output configuration dialog and increments by one with each defined

16-Bit Analog Output.

Realflo User and Reference Manual

May 19, 2011

1034

DNP3 Protocol User Manual

The Modbus Address parameter specifies the Modbus address of the 16-

Bit Analog Output assigned to the DNP Address. The SCADAPack and

Micro16 controllers use Modbus addressing for analog outputs. Refer to the

I/O Database Registers section of the Telepace Ladder Logic Reference

and User Manual for complete information on analog output addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

40001 through 49999

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the 16-Bit Analog Output parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 16-Bit Analog Output to the DNP configuration.

Click the Copy button to copy the current 16-Bit Analog Output parameters to the next DNP Address.

Click the Delete button to delete the current 16-Bit Analog Output.

Click the Move Up button to move the current 16-Bit Analog Output up one position in the tree control branch.

Click the Move Down button to move the current 16-Bit Analog Output down one position in the tree control branch.

32-Bit Analog Outputs Configuration

The 32-Bit Analog Outputs property page is selected for editing by clicking

32-Bit Analog Outputs in the tree control section of the DNP Settings window. When selected the 32-Bit Analog Outputs property page is active.

32-Bit Analog Outputs parameters are viewed in this property page.

The Number of Points displays the number of 32-Bit Analog Outputs reported by this RTU. This value will increment with the addition of each

Realflo User and Reference Manual

May 19, 2011

1035

DNP3 Protocol User Manual configured 32-Bit Analog Output point. The maximum number of points is

9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 16bit Analog Output point.

The Word Order selection specifies the word order of the 32-bit value. The selections are:

Telepace Least Significant Word in first register.

ISaGRAF Most Significant Word in first register.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 32-Bit Analog Outputs

32-Bit Analog Outputs are added to the DNP configuration using the 32-Bit

Analog Outputs property page. To add a 32-Bit Analog Output:

Select 32-Bit Analog Outputs in the tree control section of the DNP

Settings window.

Click the Add button in the 16-Bit Analog Outputs property page.

The 32-Bit Analog Output property page is now displayed.

Edit the 32-Bit Analog Outputs parameters as required and then click the Add button.

As 32-Bit Analog Outputs are defined they are added as leaves to the

Binary Inputs branch of the tree control. When 32-Bit Analog Outputs are defined the 32-Bit Analog Outputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined 32-Bit

Analog Outputs.

The 32-Bit Analog Outputs parameters are described in the following paragraphs.

Realflo User and Reference Manual

May 19, 2011

1036

DNP3 Protocol User Manual

The DNP Address window displays the DNP 32-Bit Analog Output address of the point. Each 16-Bit Analog Output is assigned a DNP address s they are defined. The DNP point address starts at the value set in the 32-bit

Analog Output configuration dialog and increments by one with each defined

32-Bit Analog Output.

The Modbus Address parameter specifies the Modbus address of the 32-

Bit Analog Output assigned to the DNP Address. 32-Bit Analog Outputs use two consecutive Modbus registers for each assigned DNP Address, the address that is entered in this box and the next consecutive Modbus register. The SCADAPack and Micro16 controllers use Modbus addressing for analog outputs. Refer to the I/O Database Registers section of the

Telepace Ladder Logic Reference and User Manual for complete information on analog output addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

40001 through 49998

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the 16-Bit Analog Output parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 32-Bit Analog Output to the DNP configuration.

Click the Copy button to copy the current 32-Bit Analog Output parameters to the next DNP Address.

Click the Delete button to delete the current 32-Bit Analog Output.

Click the Move Up button to move the current 32-Bit Analog Output up one position in the tree control branch.

Click the Move Down button to move the current 32-Bit Analog Output down one position in the tree control branch.

Short Floating Point Analog Outputs

The Short Floating Point Analog Outputs property page is selected for editing by clicking Short Floating Point Analog Outputs in the tree control section of the DNP Settings window. When selected the Short Floating Point

Analog Outputs property page is active.

Realflo User and Reference Manual

May 19, 2011

1037

DNP3 Protocol User Manual

Short Floating Point Analog Output parameters are set in this property page.

Each parameter is described in the following paragraphs.

The Number of Points displays the number of Short Floating Point Analog

Outputs reported by the RTU. This value will increment with the addition of each configured Short Floating Point Analog Input point. The maximum number of points is 9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first

Short Floating Point Analog Output point.

The Word Order selection specifies the word order of the 32-bit value. The selections are:

Telepace / ISaGRAF (MSW First) Most Significant Word in first register.

Reverse (LSW First) first register.

Least Significant Word in

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding Short Floating Point Analog Outputs

Short Floating Point Analog Outputs are added to the DNP configuration using the Short Floating Point Analog Output property page. To add a Short

Floating Point Analog Output:

Select Short Floating Point Analog Output in the tree control section of the DNP Settings window.

Click the Add button in the Short Floating Point Analog Inputs property page.

The Short Floating Point Analog Output property page is now displayed.

Edit the Short Floating Point Analog Output parameters as required and then click the Add button.

Realflo User and Reference Manual

May 19, 2011

1038

DNP3 Protocol User Manual

As Short Floating Point Analog Outputs are defined they are added as leaves to the Short Floating Point Analog Outputs branch of the tree control.

When Short Floating Point Analog Outputs are defined the Short Floating

Point Analog Outputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined Short Floating Point

Analog Outputs.

The Short Floating Point Analog Output parameters are described in the following paragraphs.

The DNP Address window displays the DNP Short Floating Point Analog

Output address of the point. Each Short Floating Point Analog Output is assigned a DNP address as they are defined. The DNP point address starts at the value set in the Short Floating Point Analog Output configuration dialog and increments by one with each defined Short Floating Point Analog

Output.

The Modbus Address parameter specifies the Modbus addresses of the

Short Floating Point Analog Output assigned to the DNP Address. Short

Floating Point Analog Outputs use two consecutive Modbus registers for each assigned DNP Address, the address that is entered in this box and the next consecutive Modbus register. The SCADAPack and Micro16 controllers use Modbus addressing for analog inputs. Refer to the I/O Database

Registers section of the Telepace Ladder Logic Reference and User

Manual for complete information on analog input addressing in the

SCADAPack and Micro16 controllers. Valid Modbus addresses are:

30001 through 39998

40001 through 49998

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the Short Floating Point Analog Input parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Realflo User and Reference Manual

May 19, 2011

1039

DNP3 Protocol User Manual

Click the Add button to add the current Short Floating Point Analog Input to the DNP configuration.

Click the Copy button to copy the current Short Floating Point Analog Input parameters to the next DNP Address.

Click the Delete button to delete the current Short Floating Point Analog

Input.

Click the Move Up button to move the current Short Floating Point Analog

Input up one position in the tree control branch.

Click the Move Down button to move the current Short Floating Point

Analog Input down one position in the tree control branch.

16

–Bit Counter Inputs Configuration

The 16-Bit Counter Inputs property page is selected for editing by clicking

16-Bit Counter Inputs in the tree control section of the DNP Settings window. When selected the 16-Bit Counter Inputs property page is active.

16-Bit Counter Inputs parameters are set in this property page. Each parameter is described in the following paragraphs.

The Number of Points displays the number of 16-Bit Counter Inputs reported by the RTU. This value will increment with the addition of each configured 16-Bit Counter Inputs point. The maximum number of points is

9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 16-

Bit Counter Input point.

The Event Reporting Method selection specifies how 16-Bit Counter Input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log

All Events is event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is to allow a master station to obtain a complete historical data log.

The selections are:

Realflo User and Reference Manual

May 19, 2011

1040

DNP3 Protocol User Manual

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of 16-Bit

Counter Input change without time events buffered by the RTU. The buffer holds 16-Bit Counter Input events, regardless of the class to which they are assigned. If the buffer fills to 90 percent the RTU will send a buffer overflow event to the master station. If the buffer is completely full the RTU will lose the oldest events and retain the newest. The Event Buffer size should be at least equivalent to the number of 16-Bit Analog Inputs defined as Change of

State type. That will allow all 16-Bit Counter Inputs to exceed the threshold simultaneously without losing any events. The value of this parameter is dependent on how often 16-Bit Counter Input events occur and the rate at which the events are reported to the master station. The valid values for this parameter are 0 - 65535. Default value is 16.

For SCADAPack 32 and SCADAPack 32P controllers counter input events are processed by the DNP driver at a rate of 100 events every 100 ms. If more than 100 counter input events need to be processed they are processed sequentially in blocks of 100 until all events are processed. This allows the processing of 1000 counter input events per second.

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process all DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

For SCADAPack controllers, SCADAPack 100, SCADAPack LP,

SCADAPack and Micro16 controllers counter input events are processed by the DNP driver at a rate of 20 events every 100 ms. If more than 20 counter input events need to be processed they are processed sequentially in blocks of 20 until all events are processed. This allows the processing of 200 counter input events per second.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 16-Bit Counter Inputs

16-Bit Counter Inputs are added to the DNP configuration using the 16-Bit

Counter Inputs property page. To add a 16-Bit Counter Input:

Select 16-Bit Counter Inputs in the tree control section of the DNP

Settings window.

Click the Add button in the 16-Bit Counter Inputs property page.

The 16-Bit Counter Input property page is now displayed.

Edit the 16-Bit Counter Inputs parameters as required and then click the

Add button.

As 16-Bit Counter Inputs are defined they are added as leaves to the 16-Bit

Counter Inputs branch of the tree control. When 16-Bit Counter Inputs are defined the 16-Bit Counter Inputs branch will display a collapse / expand

Realflo User and Reference Manual

May 19, 2011

1041

DNP3 Protocol User Manual control to the left of the branch. Click this control to display defined 16-Bit

Counter Inputs.

The 16-Bit Counter Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP 16-Bit Counter Input address of the point. Each 16-Bit Counter Input is assigned a DNP address s they are defined. The DNP point address starts at the value set in the 16-Bit

Counter Input configuration dialog and increments by one with each defined

16-Bit Counter Input.

The Modbus Address parameter specifies the Modbus address of the 16-

Bit Counter Input assigned to the DNP Address. The SCADAPack and

Micro16 controllers use Modbus addressing for counter inputs. Refer to the

I/O Database Registers section of the Telepace Ladder Logic Reference

and User Manual for complete information on analog input addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

30001 through 39999

40001 through 49999

The Class of Event Object parameter specifies the event object class the

16-Bit Counter Input is assigned.

If Unsolicited reporting is not required for a DNP point, it is recommended to set its Class 0 or None

. The selections are:

None

Class 1

Class 2

Class 3

The Threshold parameter specifies whether the RTU generates events.

The value entered is the minimum number of counts that the 16-Bit Counter

Input needs to change since it was last reported. Setting this value to zero disables generating events for the 16-Bit Counter Input point. Valid deadband values are 0 to 65535.

Realflo User and Reference Manual

May 19, 2011

1042

DNP3 Protocol User Manual

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the 16-Bit Analog Counter parameters and close the DNP Settings dialog.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 16-Bit Analog Input to the DNP configuration.

Click the Copy button to copy the current 16-Bit Analog Input parameters to the next DNP Address.

Click the Delete button to delete the current 16-Bit Analog Input.

Click the Move Up button to move the current 16-Bit Analog Input up one position in the tree control branch.

Click the Move Down button to move the current 16-Bit Analog Input down one position in the tree control branch.

32-Bit Counter Inputs Configuration

The 32-Bit Counter Inputs property page is selected for editing by clicking

32-Bit Counter Inputs in the tree control section of the DNP Settings window. When selected the 32-Bit Counter Inputs property page is active.

32-Bit Counter Inputs parameters are set in this property page. Each parameter is described in the following paragraphs.

The Number of Points displays the number of 32-Bit Counter Inputs reported by the RTU. This value will increment with the addition of each configured 32-Bit Counter Inputs point. The maximum number of points is

9999. The maximum number of actual points will depend on the memory available in the controller.

The Starting Address parameter specifies the DNP address of the first 32-

Bit Counter Input point.

Realflo User and Reference Manual

May 19, 2011

1043

DNP3 Protocol User Manual

The Event Reporting Method selection specifies how 32-Bit Counter Input events are reported. A Change Of State event is an event object, without time, that is generated when the point changes state. Only one event is retained in the buffer for each point. If a subsequent event occurs for a point, the previous event object will be overwritten. The main purpose of this mode is to allow a master station to efficiently poll for changed data. A Log

All Events is event object with absolute time will be generated when the point changes state. All events will be retained. The main purpose of this mode is to allow a master station to obtain a complete historical data log.

The selections are:

Change of State

Log All Events

The Event Buffer Size parameter specifies the maximum number of 32-Bit

Counter Input change events buffered by the RTU. The buffer holds all 32-

Bt Counter Input events, regardless of the class to which they are assigned.

If the buffer is completely full the RTU will lose the oldest events and retain the newest; the „Event Buffer Overflowed‟ IIN flag will also be set to indicate that the buffer has overflowed. The Event Buffer size should be at least equivalent to the number of 32-Bit Counter Inputs defined as Change of

State type. That will allow all 32-Bit Counter Inputs to exceed the deadband simultaneously without losing any events. The value of this parameter is dependent on how often 32-Bit Counter Input events occur and the rate at which the events are reported to the master station. The valid values for this parameter are 0 - 65535. Default value is 16.

For SCADAPack 32 and SCADAPack 32P controllers counter input events are processed by the DNP driver at a rate of 100 events every 100 ms. If more than 100 counter input events need to be processed they are processed sequentially in blocks of 100 until all events are processed. This allows the processing of 1000 counter input events per second.

SCADAPack 32, SCADAPack 32P, and SCADAPack 314, SCADAPack

330/334, SCADAPack 350/357 and SCADAPack controllers attempt to process all DNP points every 100ms. If there are more DNP points than the controller can scan in 100ms the controller will respond by slowing the DNP scan rate. The DNP scan rate is backed off in multiples of 100ms until there is sufficient time to execute non-DNP functions (logic programs, C programs and communication). In the event the overload is transitory the DNP scan rate will return to the original scan rate of 100ms.

For SCADAPack controllers, SCADAPack 100, SCADAPack LP,

SCADAPack and Micro16 controllers counter input events are processed by the DNP driver at a rate of 20 events every 100 ms. If more than 20 counter input events need to be processed they are processed sequentially in blocks of 20 until all events are processed. This allows the processing of 200 counter input events per second.

The Word Order selection specifies the word order of the 32-bit value. The selections are:

Telepace Least Significant Word in first register.

ISaGRAF Most Significant Word in first register.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to

Realflo User and Reference Manual

May 19, 2011

1044

DNP3 Protocol User Manual be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Adding 32-Bit Counter Inputs

32-Bit Counter Inputs are added to the DNP configuration using the 16-Bit

Counter Input property page. To add a 32-Bit Analog Input:

Select 32-Bit Counter Inputs in the tree control section of the DNP

Settings window.

Click the Add button in the 32-Bit Counter Inputs property page.

The 32-Bit Counter Input property page is now displayed.

Edit the 32-Bit Counter Input parameters as required and then click the

Add button.

As 32-Bit Counter Inputs are defined they are added as leaves to the 32-Bit

Counter Inputs branch of the tree control. When 32-Bit Counter Inputs are defined the 32-Bit Counter Inputs branch will display a collapse / expand control to the left of the branch. Click this control to display defined 32-Bit

Counter Inputs.

The 32-Bit Counter Input parameters are described in the following paragraphs.

The DNP Address window displays the DNP 32-Bit Counter Input address of the point. Each 32-Bit Counter Input is assigned a DNP address as they are defined. The DNP point address starts at the value set in the 32-Bit

Counter Input configuration dialog and increments by one with each defined

32-Bit Counter Input.

The Modbus Address parameter specifies the Modbus addresses of the

32-Bit Counter Input assigned to the DNP Address. 32-Bit Counter Inputs use two consecutive Modbus registers for each assigned DNP Address, the address that is entered in this box and the next consecutive Modbus register. The SCADAPack and Micro16 controllers use Modbus addressing for counter inputs. Refer to the I/O Database Registers section of the

Telepace Ladder Logic Reference and User Manual for complete

Realflo User and Reference Manual

May 19, 2011

1045

DNP Diagnostics

DNP3 Protocol User Manual information on analog input addressing in the SCADAPack and Micro16 controllers. Valid Modbus addresses are:

30001 through 39998

40001 through 49998

The Class of Event Object parameter specifies the event object class the

32-Bit Counter Input is assigned.

If Unsolicited reporting is not required for a DNP point, it is recommended to set its Class 0 or None

. The selections are:

None

Class 1

Class 2

Class 3

The Threshold parameter specifies whether the RTU generates events.

The value entered is the minimum number of counts that the 32-Bit Counter

Input needs to change since it was last reported. Setting this value to zero disables generating events for the 32-Bit Counter Input point. Valid threshold values are 0 to 4,294,967,295.

The Allow Duplicate Modbus Addresses checkbox determines if the

Modbus I/O database addresses assigned to the DNP data points need to be unique. Check this box if you want to allow more than one point to use the same Modbus address.

Click the OK button to accept the parameters and close the DNP Settings dialog. In PEMEX mode the OK button is not active if the user is not logged on with Administrator privileges.

Click the Cancel button to close the dialog without saving any changes.

Click the Add button to add the current 32-Bit Counter Input to the DNP configuration.

Click the Copy button to copy the current 32-Bit Counter Input parameters to the next DNP Address.

Click the Delete button to delete the current 32-Bit Counter Input.

Click the Move Up button to move the current 32-Bit Counter Input up one position in the tree control branch.

Click the Move Down button to move the current 32-Bit Counter Input down one position in the tree control branch.

DNP Diagnostics provide Master station and Outstation DNP diagnostics.

The diagnostics provide detailed information on the status of DNP communication and DNP data points.

DNP diagnostics are available for local DNP information using the DNP

Status command.

For Telepace applications select Controller >> DNP Status from the menu bar.

For ISaGRAF applications select Tools >> Controller >> DNP Status from the program window menu bar.

Realflo User and Reference Manual

May 19, 2011

1046

DNP3 Protocol User Manual

SCADAPack 32 controllers support DNP master operations. DNP diagnostics are available for master stations using the DNP Master Status command.

For Telepace applications select Controller >> DNP Master Status

from the menu bar. See section

0

for information on DNP Master Status

diagnostics.

For ISaGRAF applications select Tools >> Controller >> DNP Master

Status from the program window menu bar.

DNP Diagnostics require firmware version 2.20 or newer for SCADAPack controllers and firmware version 1.50 or newer for SCADAPack 32 controllers. When an attempt is made to select the DNP Status or DNP

Master Status command for controllers with firmware that does not support the commands an error message is displayed. An example of the error message is shown below.

DNP Status

To enable the use of DNP diagnostics you will need to upgrade the firmware in the controller to the newer version.

When the DNP Status command is selected the DNP Status dialog is displayed. This dialog shows the run-time DNP diagnostics and current data values for the local DNP points.

The DNP Status dialog has a number of selectable tabs and opens with the

Overview tab selected. The following tabs are displayed.

Overview

Binary In (binary inputs information)

Binary Out (binary outputs information)

AIN-16 (16-bit analog inputs information)

AIN-32 (32-bit analog inputs information)

AIN-Float (short float analog inputs information)

AOUT-16 (16-bit analog outputs information)

AOUT-32 (32-bit analog outputs information)

AOUT-Float (short float analog outputs information)

Counter-16 (16-bit counter inputs information)

Counter-32 (32-bit counter inputs information)

Clicking on any tab opens the tab and displays the selected information.

Realflo User and Reference Manual

May 19, 2011

1047

Overview Tab

DNP3 Protocol User Manual

The Overview Tab displays the run-time diagnostics for the local DNP station. The Overview display is divided into five areas of diagnostic information: DNP Status, Internal Indications, Communication Statistics,

Last Message and Event Buffer. Each of these is explained in the following paragraphs.

The DNP Status window provides information on the status of the DNP protocol running in the controller. Depending on the status the window may contain the following text.

Enabled or Disabled indicates whether the controller firmware supports

DNP protocol.

Configured or Not Configured indicates whether the controller has been configured with DNP protocol on at least one communications port.

Running or Not Running indicates whether the DNP tasks are running in the controller.

The Internal Indications window displays the current state of the DNP internal indications (IIN) flags in the controller. Bits 0

– 7 (the first octet) are displayed on the left, then bits 8 - 15 (second octet) on the right.

The Communication Statistics window displays the message statistics for each DNP communication port. The statistics include the total number of messages transmitted and received and the total number of successes, failures, and failures since last success (which will only be updated for messages sent by this controller) for each communication port. The counters increment whenever a new DNP message is sent or received on the port, and roll over after 65535 messages.

Click the Reset button to reset the counters to zero.

The Last Message window displays information about the recent DNP message. The information is updated each time a new message is received or transmitted. The Last Message window contains the following information.

Direction displays whether the message was received or transmitted.

Realflo User and Reference Manual

May 19, 2011

1048

Point Status Tabs

DNP3 Protocol User Manual

Time displays the time at which the message was received or sent.

Port displays which communication port was used for the message.

Source displays the source DNP station address for the message.

Dest displays the destination DNP station address for the message.

Length displays the message length in bytes.

Link Func displays the Link Layer function code.

Appl Func displays the Application Layer function code.

IIN displays the Internal indications received with the last message

The Event Buffers window displays the number of events in each type of event buffer and the allocated buffer size. The event buffers displayed are:

Binary In (binary inputs)

AIN-16 (16-bit analog inputs)

AIN-32 (32-bit analog inputs)

AIN-Float (floating point analog inputs)

Counter-16 (16-bit counter inputs)

Counter-32 (32-bit counter inputs)

Class 1 (class 1 events)

Class 2 (class 2 events)

Class 3 (class 3 events)

The point status tabs display the state of each point of the selected type in the controller. The following tabs are displayed.

Binary In (binary inputs information)

Binary Out (binary outputs information)

AIN-16 (16-bit analog inputs information)

AIN-32 (32-bit analog inputs information)

AIN-Float (short float analog inputs information)

AOUT-16 (16-bit analog outputs information)

AOUT-32 (32-bit analog outputs information)

AOUT-Float (short float analog outputs information)

Counter-16 (16-bit counter inputs information)

Counter-32 (32-bit counter inputs information)

Each of the tabs displays information in the same format. The example below shows the appearance of the binary input page.

Realflo User and Reference Manual

May 19, 2011

1049

DNP3 Protocol User Manual

The DNP Address column shows the DNP address of the point.

The Modbus Address column shows the Modbus register address of the point.

The Value column shows the value of the point. Binary points are shown as

OFF or ON. Numeric points show the numeric value of the point.

DNP Master Status

When the DNP Master Status command is selected the DNP Master Status dialog is displayed. This dialog shows the run-time DNP diagnostics and status of the DNP outstations and current data values for the DNP points in these outstations.

The DNP Master Status dialog has a number of selectable tabs and opens with the All Stations tab selected. The following tabs are displayed.

All Stations

Remote Overview

Binary In (binary inputs information)

Binary Out (binary outputs information)

AIN-16 (16-bit analog inputs information)

AIN-32 (32-bit analog inputs information)

AIN-Float (short float analog inputs information)

AOUT-16 (16-bit analog outputs information)

AOUT-32 (32-bit analog outputs information)

AOUT-Float (short float analog outputs information)

Counter-16 (16-bit counter inputs information)

Counter-32 (32-bit counter inputs information)

Realflo User and Reference Manual

May 19, 2011

1050

All Stations Tab

DNP3 Protocol User Manual

The All Stations tab displays the run-time communications diagnostics for all outstations polled by the master or outstations reporting unsolicited data to the master.

The Communication Statistics window displays a list of all outstations and the communication statistics for each station in the list. The statistics counters increment whenever a new DNP message is sent or received, and roll over after 65535 messages. The following statistics are displayed.

DNP Address displays the DNP address of the outstation.

Successes display the number of successful message transactions between this master and the corresponding remote station. This number includes master polls to the remote station and unsolicited responses from the outstation.

Fails displays the number of failed message transactions between this master and the corresponding remote station. This counter increments by 1 for a failed message transaction irrespective of the number of application layer retries.

FailsNew displays the number failed message transactions between this master and the corresponding remote station since the last successful poll.

Msgs Rx displays the number of DNP packets (frames) received from the outstation station. This number includes frames containing unsolicited responses from the outstation.

Last Rx Msg Time displays the time the last DNP packet (frame) was received from the outstation.

Msgs Tx displays the number of DNP packets (frames) sent to the outstation.

Last Tx Msg Time displays the time the last DNP packet (frame) was sent to the outstation.

The Msgs Tx and Msgs Rx counters could be greater than or equal to the

Successes and Fails counters.

Realflo User and Reference Manual

May 19, 2011

1051

DNP3 Protocol User Manual

Remote Overview Tab

The Remote Overview tab displays the run-time diagnostics and current data values for a selected remote station. The data shown is from the image of the data in the master station.

The Remote Station window is where the DNP address of the remote station is entered. When the Remote station field is changed data fields on this tab and the following I/O tabs are updated with the values for the newly selected Remote Station.

The Internal Indications window displays the current state of the DNP internal indications (IIN) flags for the selected remote station.

The Communication Statistics window displays communication statistics for the remote station selected. The statistics counters increment whenever a new DNP message is sent or received, and roll over after 65535 messages. The following statistics are displayed.

Successes displays the number of successful messages received in response to master polls sent to the station. This number includes unsolicited responses from the outstation.

Fails displays the number of failed or no responses to master polls sent to the outstation.

FailsNew displays the number failed or no responses to master polls sent to the outstation since the last successful poll.

Msgs Rx displays the number of messages received from the outstation station. This number includes unsolicited responses from the outstation.

Last Rx Msg Time displays the time the last message was received from the outstation.

Msgs Tx displays the number of messages sent to the outstation station.

Last Tx Msg Time displays the time the last message was sent to the outstation.

Click Reset to reset the counters to zero.

Event Buffers shows the number of events in each type of event buffer and the allocated buffer size. The buffers shown are for binary inputs, 16-bit

Realflo User and Reference Manual

May 19, 2011

1052

DNP3 Protocol User Manual analog inputs, 32-bit analog inputs, Floating point analog inputs, 16-bit counter inputs, and 32-bit counter inputs, and Class 1, 2, and 3 events.

The Event Buffers window displays the number of events in each type of event buffer and the allocated buffer size for the selected remote station.

The event buffers displayed are:

Binary In (binary inputs)

AIN-16 (16-bit analog inputs)

AIN-32 (32-bit analog inputs)

AIN-Float (floating point analog inputs)

Counter-16 (16-bit counter inputs)

Counter-32 (32-bit counter inputs)

Class 1 (class 1 events)

Class 2 (class 2 events)

Class 3 (class 3 events)

Due to a limitation of the DNP3 protocol, an Unsolicited message from an outstation is not capable of including information stating which data class generated the message. As a result, Unsolicited events when received by the master will be counted as Class 1 events. Events which are polled by the master, however, do contain class information and will be counted in the

Event Buffer for the appropriate class.

Remote Point Status Tabs

The point status tabs show the state of each point of the selected type in the remote station selected on the Remote Overview tab. The values shown are from the image of the remote station in the master station.

Class 0 polling of an outstation needs to be enabled in the master in order to allow that outstation‟s DNP points to be listed on these tabs. This is the only way for the master to retrieve a complete list of points in an outstation.

The example below shows the appearance of the Binary In tab.

The DNP Address column shows the DNP address of the point.

Realflo User and Reference Manual

May 19, 2011

1053

DNP3 Protocol User Manual

The Modbus Address column shows the Modbus register address of the point. This is only relevant for points that have an address mapping in the master station. For points that have an address mapping, this will show the

Modbus register address of the point. For points not having an address mapping, this will show „---„.

The Value column shows the value of the point. Binary points are shows as

OFF or ON. Numeric points show the numeric value of the point.

Realflo User and Reference Manual

May 19, 2011

1054

DNP3 Protocol User Manual

DNP Master Device Profile Document

DNP v3.00

DEVICE PROFILE DOCUMENT

Vendor Name: Control Microsystems Inc.

Device Name: SCADAPack controllers

Highest DNP Level Supported:

For Requests 2

For Responses 2

Device Function:

 Master  Slave

Notable objects, functions, and/or qualifiers supported in addition to the Highest DNP Levels

Supported (the complete list is described in the attached table):

Function code 14 (warm restart)

Function code 20 (Enable Unsolicited Messages) for class 1, 2, 3 objects only.

Function code 21 (Disable Unsolicited Messages) for class 1, 2, 3 objects only.

Object 41, variation 1 (32-bit analog output block)

Realflo User and Reference Manual

May 19, 2011

1055

DNP3 Protocol User Manual

Maximum Data Link Frame Size (octets):

Transmitted 292

Received (must be 292)

Maximum Data Link Re-tries:

None

Fixed at

Configurable, range 0 to 255

Requires Data Link Layer Confirmation:

 Never

 Always

 Sometimes

If 'Sometimes', when?

 Configurable for Always or Never

Requires Application Layer Confirmation:

 Never

 Always (not recommended)

Maximum Application Fragment Size (octets):

Transmitted

Received

2048

2048

Maximum Application Layer Re-tries:

None

Configurable, range 0 to 255

Realflo User and Reference Manual

May 19, 2011

1056

DNP3 Protocol User Manual

 When reporting Event Data (Slave devices only)

 When sending multi-fragment responses (Slave devices only)

 Sometimes

If 'Sometimes', when?

______________________________________________

Configurable for always or only when Reporting Event Data and Unsolicited Messages

Timeouts while waiting for:

Data Link Confirm

Complete Appl. Fragment

Application Confirm

 None  Fixed at _________  Variable

 None  Fixed at _________  Variable

 None  Fixed at _________  Variable

 None  Fixed at _________  Variable

 Configurable

 Configurable

 Configurable

 Configurable

Complete Appl. Response

Others __________________________________________________________________________

Sends/Executes Control Operations:

WRITE Binary Outputs

SELECT/OPERATE

DIRECT OPERATE

 Never

 Never

 Never

DIRECT OPERATE - NO ACK  Never

Count > 1

Pulse On

Pulse Off

Latch On

Latch Off

 Never

 Never

 Never

 Never

 Never

Queue

Clear Queue

 Never

 Never

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Configurable

 Configurable

 Configurable

 Configurable

 Configurable

 Configurable

 Sometimes  Configurable

 Sometimes  Configurable

 Configurable

 Sometimes  Configurable

 Sometimes  Configurable

Realflo User and Reference Manual

May 19, 2011

1057

DNP3 Protocol User Manual

FILL OUT THE FOLLOWING ITEM FOR MASTER DEVICES ONLY:

Expects Binary Input Change Events:

Either time-tagged or non-time-tagged for a single event

Both time-tagged and non-time-tagged for a single event

Configurable (attach explanation)

FILL OUT THE FOLLOWING ITEMS FOR SLAVE DEVICES ONLY:

Reports Binary Input Change Events when no specific variation requested:

Never

Only time-tagged

Only non-time-tagged

Configurable to send both, one or the other (attach explanation)

Reports time-tagged Binary Input Change Events when no specific variation requested:

Never

Binary Input Change With Time

Binary Input Change With Relative Time

Configurable (attach explanation)

Sends Unsolicited Responses:

Never

Configurable by class

Only certain objects

Sometimes (attach explanation)

ENABLE/DISABLE UNSOLICITED

Default Counter Object/Variation:

No Counters Reported

Configurable (attach explanation)

Sends Static Data in Unsolicited Responses:

Never

When Device Restarts

When Status Flags Change

No other options are permitted.

Counters Roll Over at:

No Counters Reported

Configurable (attach explanation)

Realflo User and Reference Manual

May 19, 2011

1058

Default Object 20

Default Variation 05

Point-by-point list attached

Sends Multi-Fragment Responses:

 Yes  No

DNP3 Protocol User Manual



16 Bits

32 Bits

16 Bits for 16-bit counters

32 Bits for 32-bit counters

Point-by-point list attached

Realflo User and Reference Manual

May 19, 2011

1059

DNP3 Protocol User Manual

2

3

0

1

2

0

1

1

1

2

2

2

2

10

10

10

12

0

1

2

0

1

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

Binary Input - All Variations

Binary Input

Binary Input with Status

Binary Input Change - All Variations

Binary Input Change without Time 1

1

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

06,07,08

06,07,08

Binary Input Change with Time

Binary Input Change with Relative Time

Binary Output - All Variations

Binary Output

Binary Output Status

Control Block - All Variations

1

1

1

06

06,07,08

06,07,08

129, 130

129, 130

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

129, 130

00, 01

00, 01

17, 28

17, 28

17, 28

00, 01

Realflo User and Reference Manual

May 19, 2011

1060

DNP3 Protocol User Manual

20

20

20

20

20

20

20

20

1

2

3

4

5

6

7

8

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

12

12

12

20

Var

1

2

3

0

OBJECT

Description

Control Relay Output Block

Pattern Control Block

Pattern Mask

Binary Counter - All Variations

32-Bit Binary Counter

16-Bit Binary Counter

32-Bit Delta Counter

16-Bit Delta Counter

32-Bit Binary Counter without Flag

16-Bit Binary Counter without Flag

32-Bit Delta Counter without Flag

16-Bit Delta Counter without Flag

1, 7, 8,

9, 10

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

3, 4, 5,

6

17, 28

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129 echo of request

129, 130

129, 130

129, 130

129, 130

00, 01

00, 01

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1061

DNP3 Protocol User Manual

Obj

21

21

21

21

21

21

21

21

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

21

21

21

21

Var

0

1

2

3

4

5

6

7

8

9

10

11

OBJECT

Description

Frozen Counter - All Variations

32-Bit Frozen Counter

16-Bit Frozen Counter

32-Bit Frozen Delta Counter

16-Bit Frozen Delta Counter

32-Bit Frozen Counter with Time of Freeze

16-Bit Frozen Counter with Time of Freeze

32-Bit Frozen Delta Counter with Time of

Freeze

16-Bit Frozen Delta Counter with Time of

Freeze

32-Bit Frozen Counter without Flag

16-Bit Frozen Counter without Flag

32-Bit Frozen Delta Counter without Flag

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

00, 01

00, 01

129, 130

129, 130

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1062

DNP3 Protocol User Manual

21

22

22

22

22

22

22

22

22

22

23

23

5

6

7

8

0

1

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

12

0

1

2

3

4

OBJECT

Description

16-Bit Frozen Delta Counter without Flag

Counter Change Event - All Variations

32-Bit Counter Change Event without Time

16-Bit Counter Change Event without Time

32-Bit Delta Counter Change Event without

Time

16-Bit Delta Counter Change Event without

Time

32-Bit Counter Change Event with Time

16-Bit Counter Change Event with Time

32-Bit Delta Counter Change Event with Time

16-Bit Delta Counter Change Event with Time

Frozen Counter Event - All Variations

32-Bit Frozen Counter Event without Time

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06,07,08

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

17, 28

17, 28

Realflo User and Reference Manual

May 19, 2011

1063

DNP3 Protocol User Manual

23

23

23

23

23

23

23

30

30

30

30

30

30

2

3

4

5

6

7

8

0

1

2

3

4

5

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

16-Bit Frozen Counter Event without Time

32-Bit Frozen Delta Counter Event without Time

16-Bit Frozen Delta Counter Event without Time

32-Bit Frozen Counter Event with Time

16-Bit Frozen Counter Event with Time

32-Bit Frozen Delta Counter Event with Time

16-Bit Frozen Delta Counter Event with Time

Analog Input - All Variations

32-Bit Analog Input

16-Bit Analog Input

32-Bit Analog Input without Flag

16-Bit Analog Input without Flag

Short Floating Point Analog Input

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

129, 130

129, 130

129, 130

00, 01

00, 01

00, 01

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1064

DNP3 Protocol User Manual

31

31

31

31

31

31

31

32

32

32

32

32

0

1

2

3

4

5

6

0

1

2

3

4

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

Frozen Analog Input - All Variations

32-Bit Frozen Analog Input

16-Bit Frozen Analog Input

32-Bit Frozen Analog Input with Time of Freeze

16-Bit Frozen Analog Input with Time of Freeze

32-Bit Frozen Analog Input without Flag

16-Bit Frozen Analog Input without Flag

Analog Change Event - All Variations

32-Bit Analog Change Event without Time

16-Bit Analog Change Event without Time

32-Bit Analog Change Event with Time

16-Bit Analog Change Event with Time

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06,07,08

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129,130

129,130

129,130

129,130

17,28

17,28

17,28

17,28

Realflo User and Reference Manual

May 19, 2011

1065

DNP3 Protocol User Manual

33

33

33

33

33

40

40

40

40

41

41

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

32

Var

5

0

1

2

3

4

0

1

2

3

0

1

OBJECT

Description

Short Floating Point Analog Change Event without Time

Frozen Analog Event - All Variations

32-Bit Frozen Analog Event without Time

16-Bit Frozen Analog Event without Time

32-Bit Frozen Analog Event with Time

16-Bit Frozen Analog Event with Time

Analog Output Status - All Variations

32-Bit Analog Output Status

16-Bit Analog Output Status

Short Floating Point Analog Output Status

Analog Output Block - All Variations

32-Bit Analog Output Block

1

3, 4, 5,

6

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

17, 28

129, 130

129

129, 130

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129,130 17,28

00, 01

00, 01

00, 01 echo of request

Realflo User and Reference Manual

May 19, 2011

1066

DNP3 Protocol User Manual

52

52

50

50

50

51

51

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

41

41

Var

2

3

0

1

2

0

1

OBJECT

Description

16-Bit Analog Output Block

Short Floating Point Analog Output Block

Time and Date - All Variations

Time and Date

Time and Date with Interval

Time and Date CTO - All Variations

Time and Date CTO

3, 4, 5,

6

3, 4, 5,

6

2 (see

4.14)

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

17, 28

17, 28

07 where quantity = 1

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129

129 echo of request echo of request

51

52

2

0

1

2

Unsynchronized Time and Date CTO

Time Delay - All Variations

Time Delay Coarse

Time Delay Fine

129, 130

129

129

07, quantity=1

07, quantity=1

07, quantity=1

07, quantity=1

Realflo User and Reference Manual

May 19, 2011

1067

DNP3 Protocol User Manual

Obj

60

60

70

80

60

60

60

81

82

83

83

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Var

1

1

1

2

0

1

2

3

4

1

1

OBJECT

Class 0 Data

Class 1 Data

Class 2 Data

Class 3 Data

Description

File Identifier

Internal Indications

Storage Object

Device Profile

Private Registration Object

Private Registration Object Descriptor

1

2

1

20,21

1

20,21

1

20,21

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

00 index=7

06

06,07,08

06

06,07,08

06

06,07,08

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

Realflo User and Reference Manual

May 19, 2011

1068

DNP3 Protocol User Manual

1

1

2

3

1

2

3

Obj

101

101

101

90

100

100

100

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Var

OBJECT

Description

Application Identifier

Short Floating Point

Long Floating Point

Extended Floating Point

Small Packed Binary-Coded Decimal

Medium Packed Binary-Coded Decimal

Large Packed Binary-Coded Decimal

No Object

No Object

No Object

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

14

23

(see

4.14)

13

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

Realflo User and Reference Manual

May 19, 2011

1069

DNP3 Protocol User Manual

DNP V3.00

TIME SYNCHRONISATION PARAMETERS

This table describes the worst-case time parameters relating to time synchronization, as required by DNP Level 2 Certification Procedure section 8.7

PARAMETER

VALUE

Time base drift +/- 1 minute/month at 25°C

+1 / -3 minutes/month 0 to 50°C

Time base drift over a 10-minute interval +/- 14 milliseconds at 25°C

+14 / -42 milliseconds 0 to 50°C

Maximum delay measurement error +/- 100 milliseconds

Maximum internal time reference error when set from the protocol

+/- 100 milliseconds

Maximum response time 100 milliseconds

Realflo User and Reference Manual

May 19, 2011

1070

DNP3 Protocol User Manual

DNP Slave Device Profile Document

DNP v3.00

DEVICE PROFILE DOCUMENT

Vendor Name: Control Microsystems Inc.

Device Name: SCADAPack controllers

Highest DNP Level Supported:

For Requests 2

For Responses 2

Device Function:

 Master

 Slave

Notable objects, functions, and/or qualifiers supported in addition to the Highest DNP Levels

Supported (the complete list is described in the attached table):

Function code 14 (warm restart)

Function code 20 (Enable Unsolicited Messages) for class 1, 2, 3 objects only.

Function code 21 (Disable Unsolicited Messages) for class 1, 2, 3 objects only.

Object 41, variation 1 (32-bit analog output block)

Realflo User and Reference Manual

May 19, 2011

1071

DNP3 Protocol User Manual

Maximum Data Link Frame Size (octets):

Transmitted 292

Received (must be 292)

Maximum Data Link Re-tries:

None

Fixed at

Configurable, range 0 to 255

Requires Data Link Layer Confirmation:

 Never

 Always

 Sometimes

If 'Sometimes', when?

 Configurable for Always or Never

Maximum Application Fragment Size (octets):

Transmitted

Received

2048

2048

Maximum Application Layer Re-tries:

None

Configurable, range 0 to 255

Requires Application Layer Confirmation:

 Never

 Always (not recommended)

 When reporting Event Data (Slave devices only)

 When sending multi-fragment responses (Slave devices only)

 Sometimes

If 'Sometimes', when?

______________________________________________

Configurable for always or only when Reporting Event Data and Unsolicited Messages

Realflo User and Reference Manual

May 19, 2011

1072

DNP3 Protocol User Manual

Timeouts while waiting for:

Data Link Confirm

Configurable

 None  Fixed at _________  Variable 

Complete Appl. Fragment

Application Confirm

 None  Fixed at _________  Variable

 None  Fixed at _________  Variable

 None  Fixed at _________  Variable

 Configurable

 Configurable

 Configurable

Complete Appl. Response

Others __________________________________________________________________________

Sends/Executes Control Operations:

WRITE Binary Outputs

SELECT/OPERATE

DIRECT OPERATE

 Never

 Never

 Never

DIRECT OPERATE - NO ACK  Never

Count > 1

Pulse On

Pulse Off

Latch On

Latch Off

 Never

 Never

 Never

 Never

 Never

Queue

Clear Queue

 Never

 Never

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Always

 Sometimes

 Configurable

 Sometimes

 Configurable

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes

 Sometimes  Configurable

 Sometimes  Configurable

FILL OUT THE FOLLOWING ITEM FOR MASTER DEVICES ONLY:

 Configurable

 Configurable

 Configurable

 Configurable

 Configurable

 Configurable

 Configurable

Expects Binary Input Change Events:

Either time-tagged or non-time-tagged for a single event

Both time-tagged and non-time-tagged for a single event

Realflo User and Reference Manual

May 19, 2011

1073

DNP3 Protocol User Manual

Configurable (attach explanation)

FILL OUT THE FOLLOWING ITEMS FOR SLAVE DEVICES ONLY:

Reports Binary Input Change Events when no specific variation requested:

Never

Only time-tagged

Only non-time-tagged

Configurable to send both, one or the other (attach explanation)

Reports time-tagged Binary Input Change Events when no specific variation requested:

Never

Binary Input Change With Time

Binary Input Change With Relative Time

Configurable (attach explanation)

Sends Unsolicited Responses:

Never

Configurable by class

Only certain objects

Sometimes (attach explanation)

ENABLE/DISABLE UNSOLICITED

Default Counter Object/Variation:

No Counters Reported

Configurable (attach explanation)

Default Object 20

Default Variation 05

Point-by-point list attached

Sends Static Data in Unsolicited Responses:

Never

When Device Restarts

When Status Flags Change

No other options are permitted.

Counters Roll Over at:

No Counters Reported

Configurable (attach explanation)



16 Bits

32 Bits

16 Bits for 16-bit counters

32 Bits for 32-bit counters

Point-by-point list attached

Sends Multi-Fragment Responses:

 Yes  No

Realflo User and Reference Manual

May 19, 2011

1074

DNP3 Protocol User Manual

Realflo User and Reference Manual

May 19, 2011

1075

DNP3 Protocol User Manual

2

3

0

1

2

0

1

1

1

2

2

2

2

10

10

10

12

0

1

2

0

1

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

Binary Input - All Variations

Binary Input

Binary Input with Status

Binary Input Change - All Variations

Binary Input Change without Time 1

1

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

06,07,08

06,07,08

Binary Input Change with Time

Binary Input Change with Relative Time

Binary Output - All Variations

Binary Output

Binary Output Status

Control Block - All Variations

1

1

1

06

06,07,08

06,07,08

129, 130

129, 130

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

129, 130

00, 01

00, 01

17, 28

17, 28

17, 28

00, 01

Realflo User and Reference Manual

May 19, 2011

1076

DNP3 Protocol User Manual

20

20

20

20

20

20

20

20

1

2

3

4

5

6

7

8

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

12

12

12

20

Var

1

2

3

0

OBJECT

Description

Control Relay Output Block

Pattern Control Block

Pattern Mask

Binary Counter - All Variations

32-Bit Binary Counter

16-Bit Binary Counter

32-Bit Delta Counter

16-Bit Delta Counter

32-Bit Binary Counter without Flag

16-Bit Binary Counter without Flag

32-Bit Delta Counter without Flag

16-Bit Delta Counter without Flag

1, 7, 8,

9, 10

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

3, 4, 5,

6

17, 28

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129 echo of request

129, 130

129, 130

129, 130

129, 130

00, 01

00, 01

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1077

DNP3 Protocol User Manual

Obj

21

21

21

21

21

21

21

21

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

21

21

21

21

Var

0

1

2

3

4

5

6

7

8

9

10

11

OBJECT

Description

Frozen Counter - All Variations

32-Bit Frozen Counter

16-Bit Frozen Counter

32-Bit Frozen Delta Counter

16-Bit Frozen Delta Counter

32-Bit Frozen Counter with Time of Freeze

16-Bit Frozen Counter with Time of Freeze

32-Bit Frozen Delta Counter with Time of

Freeze

16-Bit Frozen Delta Counter with Time of

Freeze

32-Bit Frozen Counter without Flag

16-Bit Frozen Counter without Flag

32-Bit Frozen Delta Counter without Flag

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

00, 01

00, 01

129, 130

129, 130

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1078

DNP3 Protocol User Manual

21

22

22

22

22

22

22

22

22

22

23

23

5

6

7

8

0

1

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

12

0

1

2

3

4

OBJECT

Description

16-Bit Frozen Delta Counter without Flag

Counter Change Event - All Variations

32-Bit Counter Change Event without Time

16-Bit Counter Change Event without Time

32-Bit Delta Counter Change Event without

Time

16-Bit Delta Counter Change Event without

Time

32-Bit Counter Change Event with Time

16-Bit Counter Change Event with Time

32-Bit Delta Counter Change Event with Time

16-Bit Delta Counter Change Event with Time

Frozen Counter Event - All Variations

32-Bit Frozen Counter Event without Time

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06,07,08

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

17, 28

17, 28

Realflo User and Reference Manual

May 19, 2011

1079

DNP3 Protocol User Manual

23

23

23

23

23

23

23

30

30

30

30

30

30

2

3

4

5

6

7

8

0

1

2

3

4

5

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

16-Bit Frozen Counter Event without Time

32-Bit Frozen Delta Counter Event without Time

16-Bit Frozen Delta Counter Event without Time

32-Bit Frozen Counter Event with Time

16-Bit Frozen Counter Event with Time

32-Bit Frozen Delta Counter Event with Time

16-Bit Frozen Delta Counter Event with Time

Analog Input - All Variations

32-Bit Analog Input

16-Bit Analog Input

32-Bit Analog Input without Flag

16-Bit Analog Input without Flag

Short Floating Point Analog Input

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129, 130

129, 130

129, 130

129, 130

129, 130

00, 01

00, 01

00, 01

00, 01

00, 01

Realflo User and Reference Manual

May 19, 2011

1080

DNP3 Protocol User Manual

31

31

31

31

31

31

31

32

32

32

32

32

0

1

2

3

4

5

6

0

1

2

3

4

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj Var

OBJECT

Description

Frozen Analog Input - All Variations

32-Bit Frozen Analog Input

16-Bit Frozen Analog Input

32-Bit Frozen Analog Input with Time of Freeze

16-Bit Frozen Analog Input with Time of Freeze

32-Bit Frozen Analog Input without Flag

16-Bit Frozen Analog Input without Flag

Analog Change Event - All Variations

32-Bit Analog Change Event without Time

16-Bit Analog Change Event without Time

32-Bit Analog Change Event with Time

16-Bit Analog Change Event with Time

1

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06,07,08

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129,130

129,130

129,130

129,130

17,28

17,28

17,28

17,28

Realflo User and Reference Manual

May 19, 2011

1081

DNP3 Protocol User Manual

33

33

33

33

33

40

40

40

40

41

41

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

32

Var

5

0

1

2

3

4

0

1

2

3

0

1

OBJECT

Description

Short Floating Point Analog Change Event without Time

Frozen Analog Event - All Variations

32-Bit Frozen Analog Event without Time

16-Bit Frozen Analog Event without Time

32-Bit Frozen Analog Event with Time

16-Bit Frozen Analog Event with Time

Analog Output Status - All Variations

32-Bit Analog Output Status

16-Bit Analog Output Status

Short Floating Point Analog Output Status

Analog Output Block - All Variations

32-Bit Analog Output Block

1

3, 4, 5,

6

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

06

17, 28

129, 130

129

129, 130

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129,130 17,28

00, 01

00, 01

00, 01 echo of request

Realflo User and Reference Manual

May 19, 2011

1082

DNP3 Protocol User Manual

52

52

50

50

50

51

51

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Obj

41

41

Var

2

3

0

1

2

0

1

OBJECT

Description

16-Bit Analog Output Block

Short Floating Point Analog Output Block

Time and Date - All Variations

Time and Date

Time and Date with Interval

Time and Date CTO - All Variations

Time and Date CTO

3, 4, 5,

6

3, 4, 5,

6

2 (see

4.14)

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

17, 28

17, 28

07 where quantity = 1

129, 130

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

129

129 echo of request echo of request

51

52

2

0

1

2

Unsynchronized Time and Date CTO

Time Delay - All Variations

Time Delay Coarse

Time Delay Fine

129, 130

129

129

07, quantity=1

07, quantity=1

07, quantity=1

07, quantity=1

Realflo User and Reference Manual

May 19, 2011

1083

DNP3 Protocol User Manual

Obj

60

60

70

80

60

60

60

81

82

83

83

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Var

1

1

1

2

0

1

2

3

4

1

1

OBJECT

Class 0 Data

Class 1 Data

Class 2 Data

Class 3 Data

Description

File Identifier

Internal Indications

Storage Object

Device Profile

Private Registration Object

Private Registration Object Descriptor

1

2

1

20,21

1

20,21

1

20,21

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

00 index=7

06

06,07,08

06

06,07,08

06

06,07,08

06

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

Realflo User and Reference Manual

May 19, 2011

1084

DNP3 Protocol User Manual

1

1

2

3

1

2

3

Obj

101

101

101

90

100

100

100

DNP V3.00

DEVICE PROFILE DOCUMENT

IMPLEMENTATION OBJECT

This table describes the objects, function codes and qualifiers used in the device:

Var

OBJECT

Description

Application Identifier

Short Floating Point

Long Floating Point

Extended Floating Point

Small Packed Binary-Coded Decimal

Medium Packed Binary-Coded Decimal

Large Packed Binary-Coded Decimal

No Object

No Object

No Object

REQUEST

(slave must parse)

Func

Codes

(dec)

Qual

Codes

(hex)

14

23

(see

4.14)

13

RESPONSE

(master must parse)

Func

Codes

Qual

Codes

(hex)

Realflo User and Reference Manual

May 19, 2011

1085

DNP3 Protocol User Manual

DNP V3.00

TIME SYNCHRONISATION PARAMETERS

This table describes the worst-case time parameters relating to time synchronization, as required by DNP Level 2 Certification Procedure section 8.7

PARAMETER

VALUE

Time base drift +/- 1 minute/month at 25°C

+1 / -3 minutes/month 0 to 50°C

Time base drift over a 10-minute interval +/- 14 milliseconds at 25°C

+14 / -42 milliseconds 0 to 50°C

Maximum delay measurement error +/- 100 milliseconds

Maximum internal time reference error when set from the protocol

+/- 100 milliseconds

Maximum response time 100 milliseconds

Realflo User and Reference Manual

May 19, 2011

1086

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents