You are on page 1of 15

805-525.

010
Well Production Report Software

SRP, LRP, RPC and CRP


Well Report Application Manual

Notices
Copyright 2009 Unico, Inc.
All Rights reserved. No part of this publication may be copied, reproduced, or reduced to any
electronic media or machine-readable format without the prior written permission of Unico, Inc.
The information contained in the manual is considered accurate to the best knowledge of the
supplier at the time of publication. The manufacturer assumes no liability for errors that may exist.
The supplier reserves the right to change data and specifications without notice.
All trade designations are provided without reference to the rights of their respective owners.
Printed in the United States of America

Unico SRP Application

Well Production Report

23 September 2009

Table of Contents

Features ............................................................................................................................. 4

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

Installation Instructions ................................................................................................... 4

Configure UNICO.ModbusOPCServer............................................................................. 5

4.1
4.1.1
4.2
4.2.1
4.2.2

Single Pump ......................................................................................................................................5


Figure 1 Comm Port Settings .........................................................................................................5
Multiple Pumps ..................................................................................................................................6
Figure 2 Comm Port Settings .........................................................................................................6
Figure 3 Comm Port Settings .........................................................................................................6

Verifying Communication ................................................................................................ 6

5.1.1
5.1.2

Figure 4 Monitor View Unsuccessful Communication..................................................................7


Figure 5 Monitor View Successful Communication......................................................................8

User Interface .................................................................................................................... 8

6.1.1
6.1.2

Figure 6 ToolBar.............................................................................................................................9
Figure 7 Main Screen ...................................................................................................................10

Programmability.............................................................................................................. 10

Sample Report................................................................................................................. 11

Revision Notes ................................................................................................................ 12

9.1
9.1.1
9.1.2
9.1.3
9.1.4
9.1.5
9.1.6
9.1.7
9.1.8
9.1.9
9.1.10

Revision Notes ................................................................................................................................12


New and Improved Features in Revision 001 ..................................................................................12
New and Improved Features in Revision 002 ..................................................................................12
New and Improved Features in Revision 003 ..................................................................................12
New and Improved Features in Revision 004 ..................................................................................12
New and Improved Features in Revision 005 ..................................................................................12
New and Improved Features in Revision 006 ..................................................................................13
New and Improved Features in Revision 007 ..................................................................................13
New and Improved Features in Revision 008 ..................................................................................13
New and Improved Features in Revision 009 ..................................................................................13
New and Improved Features in Revision 010 ..................................................................................14

Unico SRP Application

Well Production Report

23 September 2009

Features
o

o
o
o
o
o
o
o
o
o
o

System Requirements
o
o
o
o

Reads the following data from the drive (if available in the SRP software revision):
i. Measured Surface and Downhole DynaCard Chart including Unit Rated Rod
Load.
ii. Measured Gearbox Torque Chart including Pump Direction and Unit Rated
Torque Plots.
iii. Predicted Surface and Downhole DynaCards with Pump-Off (Fluid Pound)
simulation.
iv. Reference Input Chart.
v. Gearbox Torque Chart including Measured Gearbox Torque, Counterbalance
Assist Torque and As Balanced Torque Plots.
vi. Velocity Chart including Rod Velocity, Downhole Pump Velocity and Crank
Velocity.
vii. Feature List that highlights the SRP Features that are currently enabled.
viii. Valve Check Test plot.
ix. Selected Input and Output Parameters.
Exports .DYN files.
Exports data to WPR (Well Production Report) files for archival. Imports archived
WPR files for viewing.
Produces local Well Production Reports in about 40 seconds at 57,600 Baud.
Produces radio link Well Production Reports in about 60 seconds at 19,200 Baud.
One button operation. Simply connect the serial cable to the Drive and Click the
Generate Report Button.
Displays data and user interface in either English or Spanish.
Uses any OPC Server widely available for most protocols and source such as serial,
modem or radio.
Unico ModbusOPCServer allows configuration for multiple Drives.
Unico ModbusOPCServer uses Modbus RTU Protocol.
Programmability using Microsoft Visual Basic for Applications.

Unico ModbusOPCServer Part #805-524.002 or greater or another compatible


OPC Server.
Microsoft Excel 2000 or greater.
UNICO Drive with SRP Software Part# 805164 (Revision 014 or greater) or Part
#805541.
(Optional for serial communications only) -- Serial Cable Part #203-069.01

Installation Instructions
o
o
o

o
o
o

Error! Objects cannot be created from editing field codes. Ensure that UEdit is not
open, or the serial port link is closed.
Uninstall any previous version of Unico ModbusOPCServer 805-524 using
Add/Remove Programs from your computers Control Panel. Re-Boot the computer.
Install Unico ModbusOPCServer Part #805-524.002. Browse for
CD_ROM_805525_008\1. Install OPC
Server\CD_ROM_805524_002\Install\setup.exe.
Double click on the setup.exe file and follow the onscreen instructions.
Install Well Report Generator 805525.008. Browse for CD_ROM_805525_008\2.
Install WPR Generator\805525_008 Install\setup.exe.
Double click on the setup.exe file and follow the onscreen instructions.

Unico SRP Application

Well Production Report


Features
4

Configure UNICO.ModbusOPCServer

4.1

Single Pump
o
o
o
o
o
o
o
o

4.1.1

Choose Start: Programs: Modbus OPC Server: Modbus OPC Configurator.


Choose File: Open.
Browse for 805525_009.mdb. This file will be in C:\Program Files\Unico, Inc\Unico
SRP Well Report Generator folder.
Choose File: Make Active. If not already the active file.
Expand Address Space.
Expand COM1
Click on COM1
Change File Name to the appropriate port for your computer. Do not change
Name. If Name is changed to something other than COM1, then the first part
used in the Device properties in the WPR Generator must be changed also.

Figure 1 Comm Port Settings

Unico SRP Application

Well Production Report


Configure UNICO.ModbusOPCServer
5

4.2

Multiple Pumps
o

4.2.1

Figure 2 Comm Port Settings

4.2.2

Choose Edit: Multiply. OK

Figure 3 Comm Port Settings

Click on COM1.

Choose the new COM1; increment the address in the address field.

Verifying Communication
o
o
o

Put serial cable in computer in the Comm Port specified above.


Although you may use any port on the drive, the example provided here uses the
AUX RS485 port at the middle right of the DSP.
At the Drive, in the Comm Menu, set:
1. porta protocol = MODBUS RTU
2. porta address = address (minimum 1 and they must be unique for
multiple drives.

Unico SRP Application

Well Production Report


Verifying Communication
6

o
o
o

5.1.1

3. porta baud rate = 57600 BAUD


4. porta parity = NONE
Turn on the Motor.
Expand SRP_V014_V100.
Choose View: Monitor View.

Figure 4 Monitor View Unsuccessful Communication

NO COMMUNICATIONS

Unico SRP Application

Well Production Report


Verifying Communication
7

5.1.2

Figure 5 Monitor View Successful Communication

SUCCESSFUL COMMUNICATIONS

o
o

If there is no value in the Value column, try different Comm Port Settings. As shown
above.
Once communications are verified, close the Modbus Configurator.

User Interface
o
o
o
o
o
o
o

Start Microsoft Excel.


Choose Tools: Macros: Security
Choose Medium. OK. (Once this is set, it remains in force)
Choose Start: Programs: Unico SRP Application: SRP WPR 008
Choose Enable Macros.
If Name in the OPC Configurator is not COM1, substitute the value in Name for
COM1 below.
If the device name is not IDENTICAL to the way defined in the OPC Configurator
(Name.Device e.g. COM1.SRP_V014_V100) choosing Generate Report can
cause Microsoft Excel to crash.

Unico SRP Application

Well Production Report


User Interface
8

6.1.1

Follow on screen instructions in the Toolbar. See Figure 6 ToolBar

Figure 6 ToolBar

Unico SRP Application

Well Production Report


User Interface
9

6.1.2

Figure 7 Main Screen

If communications fails, wait for at least 20 seconds for retrying.

Programmability
o
o
o
o
o
o

o
o

VBA Code is Write-protected to avoid accidental changes. Password to unlock =


OIL
XLS file has a read only attribute to avoid accidentally saving changes.
Program currently reads all the items in the Network Map (uses the params array for
100MHz DSP), but doesnt display them all.
Program reads several arrays sufficient to plot charts.
Programmable to read any item in the Global Dictionary.
Sample code SingleItemReadExample and SingleItemWriteExample shows how to
read any Dictionary Item. Simply copy, paste modify and uncomment the VBA code.
Then include the new item(s) to the OPC Server List.
UNICO.ModbusOPCServer that is included with this software supports all necessary
operations (array/vector processing) to produce these reports via serial/radio
transmission. The Excel/VBA Application is written such that it supports most generic
OPC Servers. This allows for the use of other OPC Servers that communication
protocols or data transmission methods.
Unico will not provide support for re-programmed files.
Unico will not provide programming assistance. Please use the existing code as
sample code.

Unico SRP Application

Well Production Report


Programmability
10

Sample Report

Unico SRP Application

Well Production Report


Sample Report
11

Revision Notes

9.1

Revision Notes

9.1.1

New and Improved Features in Revision 001

o
o
o
o

o
o

9.1.2
o
o
o
o
o

9.1.3
o
o
o
o
o
o
o
o

9.1.4
o
o

9.1.5
o
o

Added SampleReadSingleItem VBA (Visual Basic for Applications) code. This code can be
copied, pasted, modified and uncommented to read any single Dictionary Item.
Added SampleWriteSingleItem VBA (Visual Basic for Applications) code. This code can be
copied, pasted, modified and uncommented to write to any single Dictionary Item.
Added VBA code that Auto-Scales the charts for any size well. This allows for appropriate
white space around the chart that is not too small or too large.
Moved the Language translation code from the scattered places in the VBA code to its own
Language worksheet that now allows for easy addition of more languages simply by adding a
new column.
Removed the dependence on the UNICO.ModbusOPCServer to allow for the use of most
widely available OPC servers. The Device Control in the Toolbar is now user definable. Use
of another server, other than the one provided, will support modem data transmission. Note:
OPC Server must support Array(Vector) reads for the retrieval of the chart arrays.
Added option to reset all meters after retrieval of the report. This resets the Cumulative
Statistics Section.
Added more comments to the VBA code to better identify the purpose of the code.

New and Improved Features in Revision 002


Added pump intake pressure.
Added pump discharge pressure.
Added motor rms limit.
Added fill load trigger.
Completed Spanish Translations.

New and Improved Features in Revision 003


Full 4-Page report for Revision 100. Three page report for Revision 014.
Full functionality independent of DSP (40MHz vs. 100Mhz) module when using 805164.014
or 805541.100 SRP Software.
No internal scaling required.
All values are read as 32 bit values. (16 bit reads are NOT implemented)
Alarm and Warning indication for running status for easy identification of stopped wells.
Exports DYN files.
Exports WPR (Well Production Report) files for easier transport/storage of the collected data.
The WPR file can be used to import data into existing database applications.
Imports WPR files.

New and Improved Features in Revision 004


Full 4-Page report for Revision 100 and 102. Three page report for Revision 014. Fully
backward compatible for 014, 100 and 102.
Added applicable new parameters from revision 102.

New and Improved Features in Revision 005


Installation now uses an installer.
Added the new features of 805541 Revision 103,105 and 105 to the Report.

Unico SRP Application

Well Production Report


Revision Notes
12

o
o

9.1.6
o

9.1.7
o
o
o
o

9.1.8
o
o
o
o
o
o
o

9.1.9
o
o

o
o
o
o
o
o

Added full Spanish Language support including the Toolbar User Interface.
Added capability for the WPR Generator to become a WPR Reader if no OPC Server is
installed.

New and Improved Features in Revision 006


Repaired several data items pointing to an incorrect value.

New and Improved Features in Revision 007


Repaired one data item pointing to an incorrect value.
Added Gauged items to Page 1.
Moved Reference Input Chart to Page 5. This page will not print when using the Print Report
Button.
Added Valve Check Test Chart to Page 2. This data is stored as of SRP Rev. 107.

New and Improved Features in Revision 008


Added support for LRP, CRP, RPC.
Added support for SRP R200+.
Reference Input Chart will now print when using the Print Report Button.
Added XY Torque Chart.
Improve Chart Legends.
Y(t) charts x-axis labels are now Rod Position in inches.
Improved y-axis label scaling.

New and Improved Features in Revision 009


Added page numbering in footer.
Fixed PDF printing. Report will print properly using any method
o Use the Print Button in the WPR TOOLBAR. The entire document will be printed to
the default printer.
o Use the pull-down menu: File:Print...
Choose Adobe PDF as the printer.
Select Entire workbook radio button
Select OK.
Name the document and the PDF will be created.
o Use the Ctrl+P shortcut.
Choose adobe PDF as the printer.
Select Entire workbook radio button
Select OK.
Name the document and the PDF will be created.
o Use the pull-down menu: Adobe PDF:Print
Ensure that Convert Entire Workbook is checked.
Select Convert to Adobe PDF
Choose Yes to save
Choose to proceed without tags.
Name the document and the PDF will be created.
On Page #2, if a Valve Check Test has not been performed no data will be plotted in the
Valve Check Test Chart.
On Page #3, the entire Legend for the Measured and Predicted DynaCards Chart now prints.
On Page #4, fixed the border.
On Page 4, fixed rod makeup display for older software for backward compatibility.
On all pages, improved the Well Identification title area.
Changed the default file name for exported WPR files.
o customer_well identification_yyyymmdd_hhmm.wpr.

Unico SRP Application

Well Production Report


Revision Notes
13

9.1.10
o
o

New and Improved Features in Revision 010


Improved report generation to eliminate the report hanging-up at Processing 100% for long
periods of time before finally finishing the report.
Eliminated non-applicable data from the RPC-Hydraulic Report.

Unico SRP Application

Well Production Report


Revision Notes
14

This page was intentionally left blank

Unico SRP Application

Well Production Report


Revision Notes
15

You might also like