ProSoft Technology PTQ-AFC User Manual

PTQ-AFC
Modicon Quantum Platform
Liquid and Gas Flow Computer for Hydrocarbon Products
March 4, 2011
USER MANUAL
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about our products, documentation, or support, please write or call us.
How to Contact Us
ProSoft Technology
5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com
Copyright © 2011 ProSoft Technology, Inc., all rights reserved.
PTQ-AFC User Manual
March 4, 2011
ProSoft Technology Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners.
®
, ProLinx ®, inRAx ®, ProTalk ®, and RadioLinx ® are Registered Trademarks of ProSoft
ProSoft Technology® Product Documentation
In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments. User Manuals, Datasheets, Sample Ladder Files, and Configuration Files are provided on the enclosed CD-ROM, and are available at no charge from our web site: www.prosoft-technology.com
Information for ProTalk® Product Users
The statement "power, input and output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods Article 501-10(b) of the National Electrical Code, NFPA 70 for installations in the U.S., or as specified in section 18­1J2 of the Canadian Electrical Code for installations within Canada and in accordance with the authority having jurisdiction".
The following or equivalent warnings shall be included:
A Warning - Explosion Hazard - Substitution of components may Impair Suitability for Class I, Division 2; B Warning - Explosion Hazard - When in Hazardous Locations, Turn off Power before replacing Wiring Modules,
and
C Warning - Explosion Hazard - Do not Disconnect Equipment unless Power has been switched Off or the Area is
known to be Nonhazardous.
D Caution: The Cell used in this Device may Present a Fire or Chemical Burn Hazard if Mistreated. Do not
Disassemble, Heat above 100°C (212°F) or Incinerate.
WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
AVERTISSEMENT - RISQUE D'EXPLOSION - AVANT DE DÉCONNECTER L'ÉQUIPEMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Warnings
North America Warnings
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. B Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or rewiring modules.
Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be non-hazardous.
C Suitable for use in Class I, Division 2 Groups A, B, C and D Hazardous Locations or Non-Hazardous Locations.
ATEX Warnings and Conditions of Safe Usage:
Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction.
A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules. B Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
C These products are intended to be mounted in an IP54 enclosure. The devices shall provide external means to
prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes.
D DO NOT OPEN WHEN ENERGIZED.
Electrical Ratings
Backplane Current Load: 1100 mA maximum @ 5 Vdc ± 5%  Operating Temperature: 0°C to 60°C (32°F to 140°F)  Storage Temperature: -40°C to 85°C (-40°F to 185°F)  Shock: 30 g operational; 50 g non-operational; Vibration: 5 g from 10 to 150 Hz  Relative Humidity: 5% to 95% (without condensation)  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Markings:
CE CSA/cUL CSA CB Certified ATEX
EMC-EN61326-1:2006; EN6100-6-4:2007 C22.2 No. 213-1987 IEC61010 EN60079-0 Category 3, Zone 2
EN60079-15
243333
Important Notice:
ME06
CAUTION: THE CELL USED IN THIS DEVICE MAY PRESENT A FIRE OR CHEMICAL BURN HAZARD IF MISTREATED. DO NOT DISASSEMBLE, HEAT ABOVE 100°C (212°F) OR INCINERATE.
Maximum battery load = 200 μA. Maximum battery charge voltage = 3.4 Vdc. Maximum battery charge current = 500 μA. Maximum battery discharge current = 30 μA.
PTQ-AFC Modicon Quantum Platform Contents Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
ProSoft Technology® Product Documentation .................................................................................... 2
Information for ProTalk® Product Users .............................................................................................. 3
Warnings ............................................................................................................................................. 3
Important Notice: ................................................................................................................................. 4
Guide to the PTQ-AFC User Manual 11
1 Start Here 13
1.1 Introduction .............................................................................................................. 14
1.2 Update Notice .......................................................................................................... 15
1.3 Hardware and Software Requirements ................................................................... 17
1.3.1 Package Contents ................................................................................................... 17
2 Configuring the Processor with Unity Pro 19
2.1 Creating a New Project ........................................................................................... 20
2.2 Adding the PTQ Module to the Project .................................................................... 22
2.3 Building the Project ................................................................................................. 24
2.4 Connect Your PC to the Processor ......................................................................... 25
2.4.1 Connecting to the Processor with TCPIP ................................................................ 27
2.5 Downloading the Project to the Quantum Processor .............................................. 28
3 Configuring the Processor with Concept 29
3.1 Information for Concept Version 2.6 Users ............................................................. 30
3.1.1 Installing MDC Configuration Files .......................................................................... 30
3.2 Creating a New Project ........................................................................................... 32
3.3 Adding the PTQ Module to the Project .................................................................... 35
3.4 Setting up Data Memory in Project ......................................................................... 38
3.5 Downloading the Project to the Processor .............................................................. 41
3.6 Verifying Successful Download ............................................................................... 43
4 Configuring the Processor with ProWORX 47
5 Setting Up the ProTalk Module 51
5.1 Installing the ProTalk Module in the Quantum Rack ............................................... 52
5.1.1 Verifying Jumper Settings ....................................................................................... 52
5.1.2 Inserting the 1454-9F connector ............................................................................. 52
5.1.3 Installing the ProTalk Module in the Quantum Rack ............................................... 53
5.2 Connect the PC to the ProTalk Configuration/Debug Port ...................................... 54
5.2.1 Troubleshooting AFC Manager Connection Problems ........................................... 55
ProSoft Technology, Inc. Page 5 of 259 June 23, 2011
Contents PTQ-AFC ♦ Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
6 Quick Start 57
6.1 Install AFC Manager ............................................................................................... 58
6.1.1 System Requirements ............................................................................................ 58
6.2 Starting AFC Manager ............................................................................................ 59
6.3 Using AFC Manager ............................................................................................... 60
6.3.1 Starting a New Project ............................................................................................ 60
6.3.2 Loading an Existing project ..................................................................................... 61
6.3.3 Printing the Configuration Report ........................................................................... 61
6.3.4 Converting a Project ............................................................................................... 62
6.3.5 Resetting Configuration Parameters ...................................................................... 63
6.3.6 Downloading the Project to the Module .................................................................. 63
6.3.7 Verifying Correct Operation .................................................................................... 64
6.4 Ladder Logic Implementation ................................................................................. 66
6.5 Setting the Wallclock .............................................................................................. 68
6.6 Module Initialization ................................................................................................ 69
6.7 Meter Channel Functionality ................................................................................... 70
6.7.1 Meter Channels....................................................................................................... 70
6.7.2 Linear (Pulse) Meter Overview ............................................................................... 71
6.7.3 Differential (Orifice) Meter Overview....................................................................... 71
6.7.4 Gas Product Overview ............................................................................................ 73
6.7.5 Liquid Product Overview ......................................................................................... 74
6.7.6 General Features .................................................................................................... 75
6.8 Modbus Database ................................................................................................... 78
6.8.1 AFC Modbus Address Space ................................................................................. 78
6.8.2 Primary Slave.......................................................................................................... 79
6.8.3 Virtual Slave ............................................................................................................ 82
6.9 Modbus Communication ......................................................................................... 85
6.9.1 Communication Parameters ................................................................................... 85
6.9.2 Port Options ............................................................................................................ 86
6.9.3 Modbus Master ....................................................................................................... 87
6.9.4 Modbus Pass-Through ........................................................................................... 89
6.10 Accumulators .......................................................................................................... 90
6.10.1 Accumulator Totalizer and Residue ........................................................................ 90
6.10.2 Accumulator Types ................................................................................................. 91
6.10.3 Net Accumulator Calculation .................................................................................. 95
6.10.4 Frequently Asked Questions ................................................................................... 95
6.11 Archives .................................................................................................................. 96
6.11.1 Archive Overview .................................................................................................... 96
6.11.2 Archive Generation ................................................................................................. 96
6.11.3 Archive Types ......................................................................................................... 98
6.11.4 Archive Order .......................................................................................................... 99
6.11.5 Archive Options..................................................................................................... 100
6.11.6 Archive Locations ................................................................................................. 101
6.11.7 Editing the Archive Structure ................................................................................ 102
6.11.8 Extended Archives ................................................................................................ 103
6.11.9 Archive Reports .................................................................................................... 106
6.11.10 Archive Monitor ..................................................................................................... 108
6.12 Events ................................................................................................................... 114
6.12.1 The Event Log....................................................................................................... 114
6.12.2 Event Log structures ............................................................................................. 115
6.12.3 Event Id Tag .......................................................................................................... 116
6.12.4 Event-triggered archives and accumulator resets ................................................ 117
6.12.5 Period-end events ................................................................................................. 117
Page 6 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Contents Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
6.12.6 Loggable events .................................................................................................... 118
6.12.7 Special events ....................................................................................................... 118
6.12.8 Site Datum Point events ........................................................................................ 119
6.12.9 Meter Datum Point events ..................................................................................... 121
6.12.10 Stream Datum Point events .................................................................................. 124
6.12.11 "Rkv" notes ............................................................................................................ 125
6.12.12 Event numbers and Event Log Download ............................................................. 126
6.13 Security (Passwords) ............................................................................................ 129
6.13.1 Hard Password ...................................................................................................... 130
7 Module Configuration 133
7.1 Cable Connections ................................................................................................ 133
7.1.1 RS-232 Configuration/Debug Port ........................................................................ 133
7.1.2 RS-232 Application Port(s) ................................................................................... 133
7.1.3 RS-485 Application Port(s) .................................................................................... 135
7.1.4 RS-422 .................................................................................................................. 136
8 Meter Proving 137
8.1 Prover Configuration ............................................................................................. 138
8.1.1 Prover Type ........................................................................................................... 138
8.1.2 Prover Options ...................................................................................................... 143
8.1.3 Run Counts ........................................................................................................... 144
8.1.4 Run Input Setup .................................................................................................... 144
8.1.5 Prover Characteristics ........................................................................................... 145
8.2 Setting up the AFC module for Meter Proving ...................................................... 148
8.2.1 Initial Requirements ............................................................................................... 150
8.2.2 Meter Proving Alarms ............................................................................................ 152
8.2.3 Prover Operation (How to do a Prove) .................................................................. 155
8.3 Meter Proving Reports .......................................................................................... 162
8.4 Protected Meter Proving Data in the AFC's Input Register Bank ......................... 164
8.4.1 Latest Prove Results ............................................................................................. 164
8.4.2 Meter Previous Prove Summary ........................................................................... 166
9 Backplane Communication 167
9.1 Site PLC Configuration .......................................................................................... 168
9.1.1 Supervisory Output Block ...................................................................................... 170
9.1.2 Supervisory Input Block ......................................................................................... 172
9.1.3 Wallclock Block ..................................................................................................... 174
9.1.4 Modbus Gateway Block ......................................................................................... 174
9.1.5 Modbus Pass-Thru Block ...................................................................................... 175
9.1.6 Modbus Master Block ............................................................................................ 176
9.2 Meter PLC Configuration ....................................................................................... 177
9.2.1 Process Input from PLC to AFC ............................................................................ 179
9.2.2 Calculations to PLC from AFC .............................................................................. 182
9.2.3 Archive Fetch to PLC from AFC ............................................................................ 183
9.3 Sample Files .......................................................................................................... 184
9.3.1 Concept Sample Files ........................................................................................... 184
9.3.2 Unity Sample Files ................................................................................................ 195
ProSoft Technology, Inc. Page 7 of 259 June 23, 2011
Contents PTQ-AFC ♦ Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
10 Diagnostics and Troubleshooting 201
10.1 User LEDs ............................................................................................................. 202
10.1.1 App Stat LED ........................................................................................................ 202
10.1.2 Cfg, Prt2 or Prt3 .................................................................................................... 202
10.2 BBRAM LEDs ....................................................................................................... 203
10.3 Meter Alarms ......................................................................................................... 204
10.4 Checksum Alarms ................................................................................................. 207
10.5 Events ................................................................................................................... 208
10.6 Audit Scan ............................................................................................................. 209
11 Reference 214
11.1 General Specifications .......................................................................................... 215
11.1.1 On-line Communication & Configuration .............................................................. 216
11.1.2 Reports ................................................................................................................. 216
11.1.3 Modbus Interface .................................................................................................. 216
11.1.4 Configurable Options ............................................................................................ 217
11.1.5 Supported Meters ................................................................................................. 217
11.1.6 Hardware Specifications ....................................................................................... 218
11.2 Measurement Standards ...................................................................................... 219
11.2.1 Basic Metering According to Meter type ............................................................... 219
11.2.2 Liquid Correction Factor Details ........................................................................... 222
11.3 Sealable Parameters ............................................................................................ 224
11.4 Wedge Meter Applications .................................................................................... 225
11.5 Configurable Archive Registers ............................................................................ 226
11.5.1 Information for Users of AFC Manager Versions Older Than 2.01.000 ............... 229
11.6 Archive Data Format ............................................................................................. 231
11.6.1 Timestamp Date and Time Format ....................................................................... 231
11.6.2 Pre-defined Header .............................................................................................. 231
11.6.3 Orifice (Differential) Meter with Gas Product ........................................................ 232
11.6.4 Pulse (Linear) Meter with Gas Product ................................................................. 233
11.6.5 Orifice (Differential) Meter with Liquid Product ..................................................... 233
11.6.6 Pulse (Linear) Meter with Liquid Product .............................................................. 234
11.6.7 Flow Rate Integration with Gas Product ............................................................... 235
11.6.8 Pulse Frequency Integration with Gas Product .................................................... 235
11.6.9 Flow Rate Integration with Liquid Product ............................................................ 235
11.6.10 Pulse Frequency Integration with Liquid Product ................................................. 236
11.7 Modbus Addressing Common to Both Primary and Virtual Slaves ...................... 237
11.8 Modbus Port configuration .................................................................................... 240
11.9 Startup Basics and Frequently Asked Questions ................................................. 242
11.9.1 How does the module work? ................................................................................ 242
11.9.2 Why should I use the AFC Manager? ................................................................... 242
11.9.3 Why can't the AFC Manager connect to the module? .......................................... 243
11.9.4 Why do I have to enable or disable a meter? ....................................................... 243
11.9.5 Why does the card not calculate results, or why did it stop calculating results? .. 243
11.9.6 What is the Virtual Modbus Slave? ....................................................................... 243
11.9.7 How does the AFC Manager transfer the configuration to the module? .............. 244
11.9.8 What is the password used for? ........................................................................... 244
11.9.9 Why do I receive an Illegal Data Value warning when I try to write a meter
configuration or download the entire configuration to the module? .......................................... 244
11.9.10 Why is the Molar Analysis button disabled? ......................................................... 244
11.9.11 Why does the AFC Manager show a "Communication Timeout" warning? ......... 245
Page 8 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Contents Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
11.9.12 What is the difference between Net Accumulator and Gross Accumulator? ........ 245
11.9.13 What are the accumulator’s totalizer and residue values? ................................... 245
11.9.14 Do I have to enter all molar concentrations for the gas product? ......................... 245
11.9.15 Can I update the molar concentration values dynamically? .................................. 245
11.9.16 Why do the accumulator values not update? ........................................................ 245
11.9.17 What is the Wallclock? .......................................................................................... 246
11.9.18 Can I read the Primary (or Virtual) Slave values using the AFC Manager? ......... 246
11.9.19 When are the archives generated? ....................................................................... 246
12 Support, Service & Warranty 248
Contacting Technical Support ......................................................................................................... 248
12.1 Return Material Authorization (RMA) Policies and Conditions .............................. 250
12.1.1 Returning Any Product .......................................................................................... 250
12.1.2 Returning Units Under Warranty ........................................................................... 251
12.1.3 Returning Units Out of Warranty ........................................................................... 251
12.2 LIMITED WARRANTY ........................................................................................... 252
12.2.1 What Is Covered By This Warranty ....................................................................... 252
12.2.2 What Is Not Covered By This Warranty ................................................................ 253
12.2.3 Disclaimer Regarding High Risk Activities ............................................................ 253
12.2.4 Intellectual Property Indemnity .............................................................................. 254
12.2.5 Disclaimer of all Other Warranties ........................................................................ 254
12.2.6 Limitation of Remedies ** ...................................................................................... 255
12.2.7 Time Limit for Bringing Suit ................................................................................... 255
12.2.8 No Other Warranties ............................................................................................. 255
12.2.9 Allocation of Risks ................................................................................................. 255
12.2.10 Controlling Law and Severability ........................................................................... 255
Index 256
ProSoft Technology, Inc. Page 9 of 259 June 23, 2011
Contents PTQ-AFC ♦ Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
Page 10 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Guide to the PTQ-AFC User Manual Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
Guide to the PTQ-AFC User Manual
Function
Introduction (Must Do)
Diagnostic and Troubleshooting
Reference
Product Specifications
Functional Overview
Support, Service, and Warranty
Index
Section to Read
Start Here (page 13)
Diagnostics and
Troubleshooting (page 201)
Reference (page
214)
Product Specifications (page
215)
Functional Overview
Support, Service
and Warranty (page
248)
Index
Details
This section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product, Specifications, and the Functional Overview.
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 11 of 259 June 23, 2011
Guide to the PTQ-AFC User Manual PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
Page 12 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Start Here Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
1 Start Here
In This Chapter
Introduction ............................................................................................ 14
Update Notice ........................................................................................ 15
Hardware and Software Requirements ................................................. 17
This guide is intended to guide you through the ProTalk module setup process, from removing the module from the box to exchanging data with the processor. In doing this, you will learn how to:
Set up the processor environment for the PTQ module View how the PTQ module exchanges data with the processor Edit and download configuration files from your PC to the PTQ module Monitor the operation of the PTQ module
ProSoft Technology, Inc. Page 13 of 259 June 23, 2011
Start Here PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
1.1 Introduction
The PTQ-AFC Gas & Oil Flow Computer module performs measurement of Hydrocarbon Gases and Liquids using currently accepted industry measurement standards. The module consists of a single-slot solution for Quantum chassis. To obtain its process inputs for calculations, the module uses the process data collected by analog and pulse I/O modules. The processor transfers this data to the AFC module, which then calculates flow rates, accumulated volumes, and accumulated mass. The results of the calculations are transferred back to the processor for use in the application ladder logic, or for transfer to a SCADA host.
The module has two communication ports for Modbus communication allowing easy access to a remote Modbus device. The module works as a Modbus slave or master device.
As discussed later in this manual, the internal Modbus database can be accessed by a Modbus Master device and by the processor (using the Modbus Gateway Function).
The AFC Manager software can be used for easy meter configuration and application monitoring.
The following section provides a sample application where input data is transferred from the transmitters to analog input cards on the Schneider Electric rack and the values are transferred from the processor to the module.
For Pulse meter applications, the pulse count and pulse frequency values are typically transmitted through high-speed counter modules in the rack.
The module performs the flow calculation based on the values transferred through the backplane. The calculation results can be read to the processor or polled from a remote Modbus master unit connected to one of the communication ports.
Page 14 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Start Here
V
V
Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
1.2 Update Notice
If your module measures liquids, please read this notice before upgrading from version 2.04 (or earlier) to 2.05 (or later).
For compliance with new measurement standards, the AFC version 2.05 has introduced several new liquid product groups. In particular, the two non-refined liquid product groups of version 2.04, which covered the entire density range of crudes and NGLs, have each been split into two separate product groups, one for the higher density range of crudes and the other for the lower density range of NGLs. If your module has meter channels configured for either "Crude, NGL" or "Oil-water emulsion", you should decide before upgrading the firmware the new product group (light or heavy) to which each such channel should be assigned. This assignment will be performed during the upgrade process and will preserve all other configuration and historical records including accumulator values and archives, in contrast to changing a product group after the upgrade which resets the meter configuration and erases all historical records. Meter channels configured for "Gas" or "Refined products" are not affected.
AFC Manager exhibits the same behavior when converting a project between versions 2.04 (or earlier) and 2.05 (or later).
The criterion for assigning the new product group depends on the density units and the Default Reference Density, as described in the following tables:
Density Units = kg/m3
Version 2.04 Product Group
Crude, NGL Crude, NGL Oil Water Emulsion Oil Water Emulsion
Default Reference Density
= 0 OR 610.0 > 0 AND < 610.0 NGLs, LPGs
= 0 OR 610.0 > 0 AND
610.0
ersion 2.05 Product Group
Crude oils, JP4
Oil-water emulsion (Crd) Oil-water emulsion (NGL)
Density Units = Rd/60
Version 2.04 Product Group
Crude, NGL Crude, NGL Oil Water Emulsion Oil Water Emulsion
Default Reference Density
= 0 OR 0.6100 > 0 AND < 0.6100 NGLs, LPGs
= 0 OR 0.6100 > 0 AND < 0.6100 Oil-water emulsion (NGL)
ersion 2.05 Product Group
Crude oils, JP4
Oil-water emulsion (Crd)
Due to roundoff error of numeric conversions, a Relative Density very close to the cutoff value of 0.6100 may cause the module to assign the new product group opposite to the one that was intended. Before upgrading, change the Default Reference Density to a number significantly different from 0.6100, such as 0.6110 (to target Crude) or 0.6090 (to target NGLs). You may change it back to the correct value after the upgrade.
ProSoft Technology, Inc. Page 15 of 259 June 23, 2011
Start Here PTQ-AFC Modicon Quantum Platform
V
User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
Density Units = API Gravity
Version 2.04 Product Group
Crude, NGL Crude, NGL Oil Water Emulsion Oil Water Emulsion
Default Reference Density
= 0 OR
100.0
> 0 AND > 100.0 NGLs, LPGs = 0 OR
100.0
> 0 AND > 100.0 Oil-water emulsion (NGL)
ersion 2.05 Product Group
Crude oils, JP4
Oil-water emulsion (Crd)
Page 16 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Start Here Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
1.3 Hardware and Software Requirements
1.3.1 Package Contents
ProTalk Module
Null Modem Serial Cable
1454-9F DB-9 Female to 9 Pos Screw Terminal adapter (Serial protocol modules only)
ProSoft Solutions CD
Note: The DB-9 Female to 5 Pos Screw Terminal adapter is not required on Ethernet modules and
is therefore not included in the carton with these types of modules.
ProSoft Technology, Inc. Page 17 of 259 June 23, 2011
Start Here PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
Quantum Hardware
This guide assumes that you are familiar with the installation and setup of the Quantum hardware. The following should be installed, configured, and powered up before proceeding:
Quantum Processor Quantum rack Quantum power supply Quantum Modbus Plus Network Option Module (NOM Module) (optional) Quantum to PC programming hardware NOM Ethernet or Serial connection to PC
PC and PC Software
ProSoft Technology recommends the following minimum hardware to use the module:
Windows PC with 80486 based processor (Pentium preferred) with at least
one COM, USB, or Ethernet port
1 megabyte of system memory Unity™ Pro PLC Programming Software, version 3.0 or later
or Concept™ PLC Programming Software, version 2.6 or later or Other Quantum Programming Software
Note: ProTalk module configuration files are compatible with common Quantum programming
applications, including Unity Pro and Concept. For all other programming applications, please contact technical support.
Page 18 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Unity Pro Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
2 Configuring the Processor with Unity Pro
In This Chapter
Creating a New Project.......................................................................... 20
Adding the PTQ Module to the Project .................................................. 22
Building the Project ............................................................................... 24
Connect Your PC to the Processor ....................................................... 25
Downloading the Project to the Quantum Processor ............................. 28
The following steps are designed to ensure that the processor (Quantum or Unity) is able to transfer data successfully with the PTQ module. As part of this procedure, you will use Unity Pro to create a project, add the PTQ module to the project, set up data memory for the project, and then download the project to the processor.
ProSoft Technology, Inc. Page 19 of 259 June 23, 2011
Configuring the Processor with Unity Pro PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
2.1 Creating a New Project
The first step is to open Unity Pro and create a new project. 1 In the New Project dialog box, choose the CPU type. In the following
illustration, the CPU is 140 CPU 651 60. Choose the processor type that matches your own hardware configuration, if it differs from the example. Click
OK
to continue.
2 Next, add a power supply to the project. In the Project Browser, expand the
Configuration
folder, and then double-click the 1:LOCALBUS icon. This action
opens a graphical window showing the arrangement of devices in your Quantum rack.
Page 20 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Unity Pro Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
3 Select the rack position for the power supply, and then click the right mouse
button to open a shortcut menu. On the shortcut menu, choose N
EW DEVICE.
4 Expand the Supply folder, and then select your power supply from the list.
Click OK
to continue.
5 Repeat these steps to add any additional devices to your Quantum Rack.
ProSoft Technology, Inc. Page 21 of 259 June 23, 2011
Configuring the Processor with Unity Pro PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
2.2 Adding the PTQ Module to the Project
1 Expand the Communication tree, and select GEN NOM. This module type
provides extended communication capabilities for the Quantum system, and allows communication between the PLC and the PTQ module without requiring additional programming.
Page 22 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Unity Pro Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
2 Next, enter the module personality value. The correct value for ProTalk
modules is 1060 decimal (0424 hex).
3 Before you can save the project in Unity Pro, you must validate the
modifications. Open the E
DIT menu, and then choose VALIDATE. If no errors
are reported, you can save the project.
4 S
AVE the project.
ProSoft Technology, Inc. Page 23 of 259 June 23, 2011
Configuring the Processor with Unity Pro PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
2.3 Building the Project
Whenever you update the configuration of your PTQ module or the processor, you must import the changed configuration from the module, and then build (compile) the project before downloading it to the processor.
Note: The following steps show you how to build the project in Unity Pro. This is not intended to
provide detailed information on using Unity Pro, or debugging your programs. Refer to the documentation for your processor and for Unity Pro for specialized information.
To build (compile) the project:
1 Review the elements of the project in the Project Browser. 2 When you are satisfied that you are ready to download the project, open the
B
UILD menu, and then choose REBUILD ALL PROJECT. This action builds
(compiles) the project into a form that the processor can use to execute the instructions in the project file. This task may take several minutes, depending on the complexity of the project and the resources available on your PC.
3 As the project is built, Unity Pro reports its process in a Progress
with details appearing in a pane at the bottom of the window. The following illustration shows the build process under way.
dialog box,
After the build process is completed successfully, the next step is to download the compiled project to the processor.
Page 24 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Unity Pro Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
2.4 Connect Your PC to the Processor
The next step is to connect to the processor so that you can download the project file. The processor uses this project file to communicate over the backplane to modules identified in the project file.
Note: If you have never connected from the PC to your processor before, you must verify that the
necessary port drivers are installed and available to Unity Pro.
To verify address and driver settings in Unity Pro
1 Open the PLC menu, and choose STANDARD MODE. This action turns off the
PLC Simulator, and allows you to communicate directly with the Quantum or Unity hardware.
2 Open the PLC
Address dialog box. Open the M
menu, and choose SET ADDRESS... This action opens the Set
EDIA dropdown list and choose the
connection type to use (TCPIP or USB).
ProSoft Technology, Inc. Page 25 of 259 June 23, 2011
Configuring the Processor with Unity Pro PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
3 If the MEDIA dropdown list does not contain the connection method you wish
to use, click the C
OMMUNICATION PARAMETERS button in the PLC area of the
dialog box. This action opens the PLC Communication Parameters dialog box.
4 Click the D
RIVER SETTINGS button to open the SCHNEIDER Drivers
management Properties dialog box.
5 Click the I
NSTALL/UPDATE button to specify the location of the Setup.exe file
containing the drivers to use. You will need your Unity Pro installation disks for this step.
6 Click the B
ROWSE button to locate the Setup.exe file to execute, and then
execute the setup program. After the installation, restart your PC if you are prompted to do so. Refer to your Schneider Electric documentation for more information on installing drivers for Unity Pro.
Page 26 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Unity Pro Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
2.4.1 Connecting to the Processor with TCPIP
The next step is to download (copy) the project file to the processor. The following steps demonstrate how to use an Ethernet cable connected from the Processor to your PC through an Ethernet hub or switch. Other connection methods may also be available, depending on the hardware configuration of your processor, and the communication drivers installed in Unity Pro.
1 If you have not already done so, connect your PC and the processor to an
Ethernet hub.
2 Open the PLC
Important: Notice that the Set Address dialog box is divided into two areas. Enter the address
and media type in the PLC area of the dialog box, not the Simulator area.
3 Enter the IP address in the address field. In the MEDIA dropdown list, choose
TCPIP.
4 Click the
menu, and then choose SET ADDRESS.
TEST CONNECTION button to verify that your settings are correct.
ProSoft Technology, Inc. Page 27 of 259 June 23, 2011
Configuring the Processor with Unity Pro PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
2.5 Downloading the Project to the Quantum Processor
1 Open the PLC menu and then choose CONNECT. This action opens a
connection between the Unity Pro software and the processor, using the address and media type settings you configured in the previous step.
2 On the PLC
the
TRANSFER PROJECT TO PLC dialog box. If you would like the PLC to go to
"Run" mode immediately after the transfer is complete, select (check) the
PLC
RUN AFTER TRANSFER check box.
3 Click the T
project is transferred, Unity Pro reports its process in a P with details appearing in a pane at the bottom of the window.
When the transfer is complete, place the processor in Run mode. The processor will start scanning your process logic application.
menu, choose TRANSFER PROJECT TO PLC. This action opens
RANSFER button to download the project to the processor. As the
ROGRESS dialog box,
Page 28 of 259 ProSoft Technology, Inc. June 23, 2011
PTQ-AFC Modicon Quantum Platform Configuring the Processor with Concept Liquid and Gas Flow Computer for Hydrocarbon Products User Manual
3 Configuring the Processor with Concept
In This Chapter
Information for Concept Version 2.6 Users ............................................ 30
Creating a New Project.......................................................................... 32
Adding the PTQ Module to the Project .................................................. 35
Setting up Data Memory in Project ........................................................ 38
Downloading the Project to the Processor............................................. 41
Verifying Successful Download ............................................................. 43
The following steps are designed to ensure that the processor is able to transfer data successfully with the PTQ module. As part of this procedure, you will use Concept configuration software from Schneider Electric to create a project, add the PTQ module to the project, set up data memory for the project, and then download the project to the processor.
Important Note: Concept software does not report whether the PTQ module is present in the rack,
and therefore is not able to report the health status of the module when the module is online with the Quantum processor. Please consider this when monitoring the status of the PTQ module.
ProSoft Technology, Inc. Page 29 of 259 June 23, 2011
Configuring the Processor with Concept PTQ-AFC Modicon Quantum Platform User Manual Liquid and Gas Flow Computer for Hydrocarbon Products
3.1 Information for Concept Version 2.6 Users
This guide uses Concept PLC Programming Software version 2.6 to configure the Quantum PLC. The ProTalk installation CD includes MDC module configuration files that help document the PTQ installation. Although not required, these files should be installed before proceeding to the next section.
3.1.1 Installing MDC Configuration Files
1 From a PC with Concept 2.6 installed, choose START / PROGRAMS / CONCEPT
/ MODCONNECT TOOL.
This action opens the Concept Module Installation dialog box.
2 Choose F
ILE / OPEN INSTALLATION FILE.
This action opens the Open Installation File dialog box:
3 If you are using a Quantum processor, you will need the MDC files. In the
Open Installation File dialog box, navigate to the MDC Files directory on the ProTalk CD.
4 Choose the MDC file and help file for your version of Concept:
o Concept 2.6 users: select PTQ_2_60.mdc and PTQMDC.hlp o Concept 2.5 users: select PTQ_2_50.mdc and PTQMDC.hlp.
Page 30 of 259 ProSoft Technology, Inc. June 23, 2011
Loading...
+ 229 hidden pages