• Packaging Operations Efficiency

    OEEAutomatic line downtime acquisition from 47 packaging lines. Customer benefit - packaging operations efficiency increase for more than 5%.


  • Wonderware Toolkits

    ToolkitsWonderware Toolkits provide powerful extensibility to Wonderware InTouch and Wonderware System Platform applications, enabling developers to extend the capabilities of Wonderware products to meet specific system integration needs.

    Read more

  • Plant Engineering Names Wonderware InTouch 2012 a Product of the Year

    POY2012Silver250x290Readers recognize HMI software for driving real-time business optimization. Winners of the contest were selected by the magazine’s readers, comprising engineers from leading manufacturing organizations who buy and use these products daily.

    Read more

  • Invensys Operations Management Wins Control Magazine’s “Readers’ Choice” Awards for Safety/Emergency Shutdown Systems

    Control RCA logo 2013-250-168Users from several industries recognize company’s technology leadership. Invensys safety and emergency shutdown solutions were the top preference among users in different industries.

    Read more

  • Automation World Readers Name Invensys a “First Team” Supplier

    LIA awards first team logo 2012Company recognized in several Leadership in Automation Program categories, including Process Safety; Simulation Software; SCADA; Asset Management/Optimization Software; HMI Software; HMI Mobile; HMI iPad Apps; HMI Hardware; and Manufacturing Execution Software.

    Read more

  • Wonderware Intelligence Software 2012 - Updated EMI software offers improved analytics and dashboard visualization

    Wonderware Intelligence software from Invensys aligns operations decision making to business goals

    Read more

  • Wonderware Corporate Energy Management Application 2012

    Invensys Operations Management has released its Wonderware Corporate Energy Management Application 2012. The updated solution has important new features and is compatible with the company’s ArchestrA System Platform 2012 software

    Read more

  • VENT took part in a Wonderware Conference 2011, organized by Klinkmann in Moscow 10.11.2011

    In scope of the conference latest innovations from Wonderware were presented to participants. System Integrators made presentations about applications of Wonderware software in their projects

    Read more

  • Wonderware QI Analyst Software 8.0 with SP2

    Invensys Operations Management has enhanced its QI Analyst SPC software. The new release brings support for the Microsoft Windows 7 and Server 2008 R2 operating systems in 32 and 64 bit versions. Additionally it provides support for latest database technologies like SQL Server 2008 R2 and Oracle 11G R2

    Read more

Piping HMI Engine with Wonderware ArchestrA

Written by Yury on Tuesday, 09 April 2013. Posted in Pipe Flow Modelling

Piping HMI ArchestrA symbol has an supplementary simulation unit

"ArchestrA", "Intouch" - the trademarks of "Invensys" company - see
(For this example, ArchestrA 3.6 is used)
"KepwareEx" -the trademark of "Kepware" company - see
(For this example, KepwareEx V4.0 is used)

To test the "pipingHMI" components in the "ArchestrA" we need to create a new galaxy "IntouchImit" and import the file"IntouchImit.aaPKG". This file is installed in the folder specified by the user during the setup.
In our example the folder is C: \ Program Files \ YAS \ Simulation.

Dll libraries from the directory .../Simulation must be imported into the galaxy "IntouchImit" (a).
In addition, the folder pipeWork from directory .. /Simulation must be copied into the directory of Intouch.
The folder pipeWork contains the configuration files for this example (b).



The example uses the OPC Server "KepwareEx V4.0", at least the demoversion of it must be installed on your computer. The OPC server configuration file for this example is located in the same folder and named "simdemo.opf".

This file must be moved to the folder:
C: \ Program Files \ KEPServerEx \ Projects

Block diagram of the use of "pipingHMI" libraries in the "ArchestrA" is shown in the figure below.

The component "pipingMimic" is placed Into "Archestra" symbol , which reads the mimic diagram configuration from the file "pipingMap". Simulator "pipingHMISim" also reads its mimic diagram configuration from the same file.

Real-time data to display in the graphic are read from the OPC client with a universal, independent of a tag table, "ArchestrA" script. The operator commands are sent from the HMI into user defined "ArchestrA" object that also forwards them to the OPC client.

OPC client communicates with OPC server, working in our example in simulation mode.
In a real project, the OPC server connects to the program-logic controllers.

"PipingHMISim" simulator generates those data, which for the actual project come from the controlled equipment.

The Archestra symbol "ppgMimicP1" will be set on tab "Graphic Toolbox" of Archestra IDE as a result of the import "IntouchImit.aaPKG".

Open the symbol in the graphical editor. The symbol consists of four components, as shown in the figure below.

Symbol properties are configured as shown below:

Symbol also contains the following "While Showing" script to read the real-time data:

dim sw as string;
dim diswitch as indirect;
dim aiswitch as indirect;
dim v as integer; if TagType ==2 then ' a Valve or Pump command
if PipingMimic1.TagNameInFocus<> PipingMimic1.TagNameInFocusCm then
' if TagName was not set by Command from HMI
sw="OPCClientSim.DO." + PipingMimic1.TagNameInFocus;
if IsGood(diswitch )then
if diswitch==true then
'LogMessage( PipingMimic1.TagNameInFocus + " - DO Value : " + diswitch);
elseif TagType ==5 or TagType ==6 or TagType ==91 or TagType ==1 then
' The Switch Values
sw = "OPCClientSim.DIO."+ PipingMimic1.TagNameInFocus;
if IsGood(diswitch )then
' LogMessage(sw+ " - DIO Value : " + diswitch);
elseif TagType >88 and TagType < 98 then
' The Analog Values
sw = "OPCClientSim.AIO."+ PipingMimic1.TagNameInFocus;
TagName =sw;
if IsGood(aiswitch )then
v = aiswitch / 27.647; '(.../27647) * 1000
' LogMessage("TagName: " + TagName +" TagType: " + Text(TagType ,"#") + " A Value : " + Text(v,"###"));
' LogMessage("TagName: " + TagName +" TagType: " + Text(TagType ,"#") + " Failed To Read ");
if goNextTag == True THEN
' Go to Next Tag in the list
PipingMimic1.TgNameGetNext = true;
goNextTag = False;
goNextTag=True; ' Try once more to read the same tag
' Read the Type of the next Tag

The assignment:

PipingMimic1.TgNameGetNext = true;

causes assignment to property "TagNameInFocus" the name of
next OPC server tag from the ring list, which is contained
in "PipingMimic" control.
An indirect variable is assigned to this tag depending on the tag type.
Below is the assignment for a discrete input:

sw = "OPCClientSim.DIO." + PipingMimic1.TagNameInFocus ;
diswitch.BindTo(sw );

If reading of a variable was successful, its value is assigned
to the current variable of "pipingMimic1" control:

if IsGood( diswitch ) then
pipingMimic1.TagValueInFocusSW = diSwitch;
endif ;

To communicate with Archestra symbol, "UserDefined" object "udOutp"
is also used , it identifies three variables UDA,
as shown in the figure below:

Element contains the following "Datachange" script for
transmission of commands from the mimic diagram to OPC server:

As an OPC client an object "OPCClientSim" is used. It contains four groups of variables, as shown in the figure:

Running the program "KEPServerEx" we can see the lists of OPC
server variables for this example. A Snapshot of the list of the analog variables
is presented below:

After the "Deployment" operation the object tree takes the form:

After the "Deployment" system is available for testing.
In the RunTime "IntouchView" displays the form with the process piping mimic diagram.
For the example from the installation folder it might look like this:

Clicking on the piping elements image causes the faceplate pop up, which can be used to process control in "manual mode."

To run the simulator, do click on the executable file from the installed folder .. /Simulation.
The form below shows the simulated process:

To study the reaction of a control system, the parameters of the process can be changed.
Ctrl + mouse-clicking on the mimic element causes the faceplate pop up.
The examples are given below:

Noting checkBox "Take This" you can set the value to be taken
instead of value calculated by the simulation program.

4.5/5 rating (6 votes)



About the Author



HMI design acceleration

PipingHMI library is targeted to simplify and accelerate the creation of mimics of the operator interfaces for the process piping systems. The approach is automatic, without the developer intervention , build in during the mimics design a simplified model of fluid transport in pipelines.

Comments (2)

  • Andrey


    17 September 2013 at 08:27 |
    piping hmi engine is already adopted for wonderware system platform 2012 and new wonderware InTouch version
    • Andrey


      07 October 2013 at 19:57 |
      We can get ready ArchestrA HMI graphics after creating the object model in it's tool

      Leave a comment

      You are commenting as guest.

      Our Customers

      • Baltika 161x93
      • WBD 90x93
      • Tetrapack logo
      • EFES 116x93
      • MPK logo
      • Vamin logo
      • Proleit logo
      • Klinkmann logo
      • TyumenPribor logo
      • Heineken logo
      • Sarmat logo
      • Unimilk logo

      ООО "VENT", 127427, Moscow, Kashenkin Lug str., d.6, k.3., office 11, telephone/fax: +7 (499) 239-18-15, e-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.