|

OPCcalc® is a
vendor-neutral, process calculation framework for OPC data.
Built with over 20 years of calculation engine design experience,
Exele OPCcalc allows those with process knowledge to quickly create robust
calculations. OPCcalc's flexible framework makes it the ideal
solution for implementing process calculations regardless of the
logic complexity or number of calculations you need to create.
Solid performance, unmatched
flexibility, and reliable results are why some of the world's
largest companies reliably use Exele's
process calculation products.
Try OPCcalc for free

Current release:
3.6.0 |
|
Quick links:
|
|
|
|
| |
Product Overview |
|
OPCcalc allows you to easily
create process calculations that use OPC
tags as equation inputs and outputs.
OPCcalc handles all of the "plumbing" for
your equations, letting you concentrate on your calculation logic.
Users create and build their calculations with the built-in Equation
Editor; under-the-hood, our calculation products use the
Microsoft.Net Frameworks and/or Visual Basic.Net to build
high-performance calculation libraries.
OPCcalc is an open calculation
"framework", shielding calculation authors from the complexities of
custom programming, yet giving users the option to access and use
all features of Visual Basic.Net (variables, loops, if..then..else,
user functions) and the .Net Framework (relational databases, file
read/write, Web Services, XML etc.).
OPCcalc is more than just an OPC calculator.
It brings
unmatched performance and features to OPC-based calculations.

|
|
Programmers and non-programmers can easily use
our Equation Editor to define
the logic and arithmetic needed for their
equations. OPCcalc will
then build a compiled Microsoft Visual
Basic .Net program
that contains the
necessary OPC calls,
scheduling, and error handling required to execute
your equations on a
configured interval, outputting the
results to other OPC tags.
Each equation library contains one or more equations (outputs) and
can communicate with tags on multiple OPC Servers. Our Equation
Scheduler allows you to configure, start, stop and monitor your
equations.
Once started, you can easily view the details of running
equations (inputs, outputs, errors) with OPCcalc's built-in Library
Snapshot utility.
Example OPCcalc logic in the Equation Editor:
 |
|
Visual Basic (optional)
OPCcalc uses the .Net Framework's
compiler "under the hood" to
create the calculation executables.
Although Visual Basic.Net 2005/2008 is not required for building OPCcalc
equations, some features require that you have a version of Visual Basic.Net 2005/2008 installed on the OPCcalc computer.
OPCcalc supports the
following versions of Visual Basic.Net:
|
| |
Requirements |
-
Operating
System: Windows 2000, XP, Server
2003, Vista, Windows 7, Server 2008
Both 32 and 64-bit platforms are supported.
-
Compiler:
.Net Framework 2.0 (installed by OPCcalc installation if
not present), .Net Framework 3.5
Optional, but recommended: Visual Basic.Net 2005/2008 (VB Express 2005/2008 free edition supported)
-
OPC Server(s):
OPC DA Server (supporting Data Access version 2 or later)
OPC HDA Server, optional (supporting Historical Data Access
version 1.1)
OPCcalc
can communicate with OPC DA and HDA Servers
located locally or across the network. If your OPC Server
supports DA, you can retrieve and output current values. If your
OPC Server supports DA and HDA, you can retrieve and output
current and historical values. If your OPC HDA Server supports
aggregates (average, min, max), OPCcalc has a set of built-in
functions for retrieving these values directly into your
calculations.
|
| |
Product Components |
|
OPCcalc consists of
the following components
Equation Editor
with built-in functions for tag access, aggregates (avg, min,
max, ...)

Equation
Scheduler for configuring and monitoring equation libraries

Equation Server
Service responsible for starting and stopping libraries

Equation
Database allows you to to search equations based on various
criteria

Equation
TestMode Viewer to monitor the output of libraries running in
test mode
 |
| |
Example Equation Library Code |
|
Click here to see a
sample OPCcalc equation library
|
| |
Why use OPCcalc? |
|
OPCcalc allows you
to read and write data to one or more OPC Servers with minimal
effort. You simply enter the logic in a VB.Net-like syntax using the
OPC tag names directly in your equations.
Click here to see a sample OPCcalc
equation library
Normally, you would
use a programming language (such as C, C++ or Visual Basic) and
underlying OPC calls to develop such equations. Using OPCcalc, you
only need to provide minimal information for the equation including:
-
Name of the OPC
tag to receive the result of the equation
-
Name of OPC
tags, variables, functions and constants used in the equation
-
Associations to
be made between the OPC tags, variables functions and constants
The above
information is stored in one or more text files called OPCcalc
libraries. Once you have provided this information in a library,
OPCcalc builds a compiled Visual Basic .NET executable that will
perform the calculations and output the results to OPC tags on the
OPC Server.
OPCcalc will
dramatically cut your development time and easily allows
non-programmers to create complex calculations that read and write OPC data.
Standardizing:
OPCcalc gives you a standard method for
-
Connecting to
one or more OPC servers
-
Accessing
current (DA) and historical (HDA) values
-
Handling lost
connections
-
Retrieving tag
values
-
Writing tag
values
-
Providing
application error handing
-
Scheduling
execution
-
Performing
aggregate function calls (average, min, max, ...)
-
Code
documentation
Advantages:
Using OPCcalc offers many advantages:
-
Can
significantly reduce the number of lines of code
-
Accepts OPC tag
names directly in logic
-
Automatically
codes equation run-interval and startup logic
-
Generates
uniform and easy to maintain program
-
Multiple debug
options including built-in snapshots of running equation
inputs and outputs
-
Built-in
functions for current, historical and aggregate OPC tag values
-
Support for
user-defined functions and subroutines
-
Local variables
that retain their values between executions (allows you to
reference values from previous runs)
-
Order-of-execution control for all equations in a library
-
Equation results
can be tested over multiple executions before equations are
deployed
-
Built-in
calculation diagnostics (latest completed execution and
execution times)
-
Remote
monitoring, starting, and stopping of calculations
-
Access to the
entire VB.Net language (math function, language structure,..).
Because you can
easily move data into and out of one or more OPC Servers, OPCcalc
can be used to quickly create interfaces to/from/between OPC Servers
and other data sources (relational databases, etc).
|
| |
OPCcalc and Visual Basic.Net |
|
Exele's calculation products do not
require Visual Basic.Net to build calculations, although certain
functions may require it (i.e. creating user functions, Visual
Studio debugging). If you require Visual Basic.Net, we support all
Visual Basic.Net 2005/2008 versions including the free "Express"
versions available from Microsoft.
Because OPCcalc creates a VB.Net
executable, you can take advantage of this rich language within your
equation logic. This includes things such as
-
Access to the
entire Visual Basic language
-
Support for
user-defined functions and subroutines
-
Ability to call
external assemblies and Web Services
-
Use of Visual
Basic constructs (If..Then..Else, Arrays, Variables)
-
Retrieval of
values from relational databases (Oracle, SQL Server, Access,
...)
-
Outputting of
data to relational databases
-
Reading and
writing of files
Download Visual Studio Express 2005 (free)
Download Visual Studio Express 2008 (free)


|
| |
|
|
|
|
|