Sie sind auf Seite 1von 48

Unity Application Generator

3.0

Quick Start
08/2007
33003222.03
2
Table of Contents

Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Installation Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
How to Configure iFIX for Use with Unity Application Generator . . . . . . . . . . . . 13

Chapter 2 Creating a Demo Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15


Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Demo Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
The iFIX System Configuration Utility (SCU). . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Create a new Project with Unity Application Generator . . . . . . . . . . . . . . . . . . . 22
Generate the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

Chapter 3 Starting the Monitor Pro Demo Application . . . . . . . . . . . . . . . 31


Final Steps for Monitor Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Chapter 4 Starting the Generic HMI Demo Application . . . . . . . . . . . . . . 35


Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Final Steps for Generic HMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Working with Extensible Stylesheets (XSL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Chapter 5 Starting the iFIX Demo Application. . . . . . . . . . . . . . . . . . . . . . 41


Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Final Steps for iFIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Settings for the MBT Driver and PowerTool . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Run the iFIX Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

3
4
Safety Information

Important Information

NOTICE 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, serious injury, or equipment damage.

CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result
in injury or equipment damage.

33003222 08/2007 5
Safety Information

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.
2007 Schneider Electric. All Rights Reserved.

6 33003222 08/2007
About the Book

At a Glance

Document Scope This manual contains a quick start for Unity Application Generator (UAG).

Validity Note This documentation contains a description of the Unity Application Generator Quick
Start.This document applies to Unity Application Generator 3.0, Microsoft Windows
2000 or Microsoft Windows XP Professional.

Related
Documents
Title of Documentation Reference Number
Unity Application Generator Basic Manual 33002830
Unity Application Generator Extended Manual 33003669
SCoD Editor Manual 33002608
Unity Application Generator (UAG) ArchestrA Connector User 33004144
Manual
Unity Pro Software Reference Manual 35006144
Concept User Manual 33002204

You can download these technical publications and other technical information from
our website at www.telemecanique.com.

33003222 08/2007 7
About the Book

Product Related The data and illustrations found in this document are not binding. We reserve the
Warnings right to modify our products in line with our policy of continuous product
improvement. The information in this document is subject to change without notice
and should not be construed as a warranty by Schneider Electric.
Schneider Electric assumes no responsibility for any errors that may appear in this
document. 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 ensure compliance
with documented system data, only the manufacturer should perform repairs to
components.
When controllers are used for applications with technical safety requirements,
please follow the relevant instructions.
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 product related warning can result in injury or equipment
damage.

User Comments We welcome your comments about this document. You can reach us by e-mail at
techpub@schneider-electric.com

8 33003222 08/2007
General Information

1
Introduction

Overview This chapter provides general information about Unity Application Generator and
installation hints for the additional programs like Monitor Pro or Intellution iFIX.

What's in this This chapter contains the following topics:


Chapter?
Topic Page
Introduction 10
System Requirements 11
Installation Hints 12
How to Configure iFIX for Use with Unity Application Generator 13

33003222 08/2007 9
General information

Introduction

Aim of the This documentation is intended to help the user to generate an application with Unity
Document Application Generator for the PLC programming software Concept or Unity Pro and
the HMI software Monitor Pro, Generic HMI or iFIX.

Structure of the The document is divided into different parts.


Document l General information and installation hints.
l Start of the delivered demo program. Explanation of the settings which have to
be done by the user to start the application.
l Generation and start of the demo application step-by-step. From the
customization to the running HMI application.
l Settings and specialties of the different support HMI systems.

Programming The demo programs are tested for the following software:
Environment l Unity Application Generator 3.0
l Unity Pro 3.0
l Concept 2.6 SRx
l Monitor Pro 7.6
l iFIX 3.5 (incl. MBT driver 7.156k for iFIX from Dimension Software Inc)
l Microsoft Internet Explorer 6.0

10 33003222 08/2007
General information

System Requirements

Operating One of the following operating systems is required:


System l Microsoft Windows 2000
l Microsoft Windows XP Professional

Unity Application l Unity Application Generator 3.0, Schneider Electric


Generator

HMI Systems l Microsoft Internet Explorer (for generic HMI), Microsoft


l Monitor Pro 7.6, Schneider Electric
l iFIX 3.5, GE Fanuc (incl. MBT driver 7.156k for iFIX from Dimension Software
Inc)

Open Factory An OPC Factory Server (OFS) 3.1 must be installed on the system (for Generic HMI
Server and HTML only).

Supported PLC l Unity Pro 2.3 and 3.0, Schneider Electric


Software l Concept 2.6 SRx, Schneider Electric

Supported PLC All hardware will be supported, which is listed within Unity Application Generator.
Hardware

33003222 08/2007 11
General information

Installation Hints

Introduction The user has to install all necessary software packages as required in the specific
user manual. The following installation hints should avoid the most common failures
within the software installation.

Note: If nothing special is to attend to the installation of the software, the software
will not be discussed within these hints.

Installation Unity Application Generator is using different directories of the other applications like
Sequence Unity Pro or Monitor Pro. Therefore it is necessary to install the application in the
following sequence.
1. Unity Pro or / and Concept
2. Monitor Pro / iFIX and the Open Factory Server (OFS) (see Monitor Pro below)
3. MBT driver (for iFIX only). Demo version under \MBT on the UAG CD-ROM.
4. Unity Application Generator

Registration
Note: The user does not have to register the software application. Please attend
to the characteristics of the software packages if they are not registered.

Unity Application The user has to enter different information during the installation process. These
Generator information are:
l Serial number
l Part number
These information are part of the delivered package and written down within the
package.
After the installation of UAG the software can be registered or used as a demo
version for 21 days.

Monitor Pro The user has to follow the installation steps from the Installation Guide.pdf.
This document will be delivered within the installation CD-ROM of Monitor Pro. The
user can find the documentation on the CD-ROM within the \Documentation
directory.

12 33003222 08/2007
General information

How to Configure iFIX for Use with Unity Application Generator

Introduction Before you use iFIX with Unity Application Generator, you must configure iFIX in a
certain way. The steps for this configuration are described in the following.

Note: Intellution recommends that the iFIX node name and the computer name are
the same. The iFIX node name is specified as part of the installation of iFIX.
After the installation the Modbus Plus/Ethernet Driver MBT V2.0 has to be installed.

How to get the The MBT driver is not a product of the Schneider Electric company. You have to
MBT Driver? contact Dimension Software Inc. to order the driver.
l Phone
+1 (828) 635-7189
l Fax
+1 (828) 625-5319
l Web
http://www.caro.net/dsi/dsidrvrs.htm
l e-Mail
dsi@caro.net
The part number of the driver is MBT, the description is MODBUS TCP/Plus OPC
Server.

33003222 08/2007 13
General information

Procedure for For iFIX configuration for Unity Application Generator follow the steps:
iFIX
Step Action
Configuration
1 Run the system configuration from Programs iFIX in the task bar.
2 Select Configure SCADA.
3 Switch SCADA support to enable.
4 In the I/O driver name click the ? button.
5 From the list of available drivers choose Modbus Plus/Ethernet Driver MBT
V2.0.
6 Confirm with OK.
7 Click the Add button.
Result: The driver appears in the configured I/O drivers list.
8 Confirm with OK.
Result: You will be asked to answer the question: Database DATABASE
does not currently exist, or is not in your database directory, use
anyway?
9 Answer with Yes.
10 Save with File Save.
11 End the configuration with Exit.

14 33003222 08/2007
Creating a Demo Project

2
Introduction

Overview This chapter contains information how to create the demo project with the
explanation of the most important settings. The user has to enter these settings for
an error free project.
This chapter describes exclusively the part of UAG. The steps to create a project is
all the same independent from the used HMI system. If there are any varieties for
the different HMI systems there will be hints about it.

What's in this This chapter contains the following topics:


Chapter?
Topic Page
Demo Project 16
Customization 18
The iFIX System Configuration Utility (SCU) 20
Create a new Project with Unity Application Generator 22
Generate the Project 27

33003222 08/2007 15
Creating a Demo Project

Demo Project

Introduction Demo projects (demoplant.osp) are part of the Unity Application Generator CD-
ROM. The demo projects are delivered within the \Examples\Demo Plant\ folder and
its subfolders. The folders contain all necessary files to start the demo application
for the desired HMI system.
The following list shows the different subfolders to the HMI systems:
l Generic HMI
\Examples\Demo Plant\Generic\
l Monitor Pro
\Examples\Demo Plant\Monitor Pro\
l iFIX
\Examples\Demo Plant\iFIX\

Copy of Files The following table shows the steps to copy the demoplant.osp files from CD-
ROM to the working folder.
Step Action Comment
1 Copy the files and folder You have to copy the complete folder structure with
structure (e.g. for Monitor all files from CD-ROM (\Examples\Demo
Pro). Plant\Monitor Pro) to your harddisk (c:\Demo Plant)
2 Clear the read-only attribute. Select the c:\Demo Plant folder and clear the read-
only attribute (when asked, choose Apply changes
to this folder, subfolders and files).
3 Update IP address. In the topological tree, navigate to the data server
ds01 and change its IP address to that of your PC.

Final Steps for See Final Steps for Monitor Pro, p. 31.
Monitor Pro

Final Steps for See Final Steps for Generic HMI, p. 36.
Generic HMI

16 33003222 08/2007
Creating a Demo Project

Final Steps for See Final Steps for iFIX, p. 42.


iFIX
Note: If you want to use the prepared demo projects instead of creating them by
yourself, you can skip the next two sections and continue with Generate the
Project, p. 27.

33003222 08/2007 17
Creating a Demo Project

Customization

Introduction This document describes the customization of a new UAG project.

Requirements Unity Application Generator and all of its sub programs must be installed correctly.

Steps for the The following table describes the steps to customize.
Customization
Step Action Comment
1 Create a working directory. You have to create a working directory within the
Microsoft Windows Explorer or a similar program.
Please create the directory c:\demoproj.
2 Start the CustomEdit.exe You can start the application by using the
application. program icon within the UAG program group.
3 Create a new customization. Enter File New to create a new Customization.
Select one of the three HMI systems which you
want to customize for.
l iFIX
l Generic
l Monitor Pro

For this example the Monitor Pro library should be


selected.
4 Select a SCoD library. Select and import a SCoD library. For example:
General Libraries IATBasic10Monitor
Press Import to get the data.
5 Customize the archive Enter the location for the archive files or database
location. within the tree view of the customization. The
selction of the IATBasic10Monitor library
generated an Archive Name. You just should
enter the location of the ArchiveUnit under
Data Archive Name Modify
Enter for example archive as a location.
6 Enter an Export Format Enter a Name for the Export Format Name and
Name (Generic HMI only). enter the following information:
l Name
demoxsl
l Transformation File
GenericHMIActiveX2HTML.xsl
l Output File
demoplant.html

18 33003222 08/2007
Creating a Demo Project

Step Action Comment


7 Customize all other topics or You have the possibility to adjust your working
information. environment. This is not necessary for the demo
project.
8 Analyze the customization. You have to start the analyzation. Enter
Customization Analyze.
The state of every topic within the protocol should
be OK.
9 Save the customization. You have to enter a name for your customization.
For example c:\demoproj\demoplant.osc.
10 Close the Customization
Editor.

33003222 08/2007 19
Creating a Demo Project

The iFIX System Configuration Utility (SCU)

Introduction The user has to configure different settings for iFIX system.

iFIX System The following table shows the steps to configure the iFIX system.
Configuration
Step Action Comment
Utility (SCU)
1 Open the System Open System Configuration from within the iFIX
Configuration Workspace, so you will later be able to configure
Utility security areas and alarm areas.
2 Change the Open File Description and replace ...FIX by
configurations ...DS01.
description.
3 Configure the SCADA. Open the SCADA configuration dialog under:
Configure SCADA ....
l SCADA Support
enable
l Database Name
FIX
l I/O Driver Definition
Choose the MBT driver by clicking the ? button
and add the selection.
Click OK. When asked whether to use the non-
existent database FIX choose YES.
4 Enter the security Open the Security Configuration window under:
configuration. Configure Security ....
5 Open the autologin Open the autologin configuration dialog under: Edit
configuration. Autologin ....
6 Enter the node name and Add a new configuration.
users. l Node
ds01
l Application User
SYSTEM ADMINISTRATOR
l System User
SYSTEM ADMINISTRATOR
7 Change the security Open the security area dialog under: Edit
areas. Security Areas....

20 33003222 08/2007
Creating a Demo Project

Step Action Comment


8 Modify the default names. Modify the default names into:
l Security Areas
l 1
CD01_1
l 2
CD01_2
l 3
CD01_3
l 4
CD01_4
l 5
CD01_5
Close the security configuration dialog.
9 Open the task Open the tasks configuration dialog under:
configuration. Configure Tasks ....
10 Enter the tasks. Enter the following tasks and sequence:
l Configured tasks
% C:\DYNAMICS\IOCNTRL.EXE /a
% C:\DYNAMICS\WSACTASK.EXE
C:\DYNAMICS\WORKSPACE.EXE
11 Open the alarm area Open the alarm area database configuration dialog
database. under: Configure Alarm Area Database.
12 Add the alarm area. Enter the name cd01 and add it. The alarm area
name is equivalent to the Control Domain name in
the UAG project.
13 Configure the Local Open the Local Startup dialog under: Configure
Startup. Local Startup ....
14 Enter the local names. Enter the following names:
l Local Node Name
ds01
l Local Logical Name
ds01
15 Restart iFIX. Note that now the Node Name field reads ds01.

33003222 08/2007 21
Creating a Demo Project

Create a new Project with Unity Application Generator

Introduction This document describes the generation of a new UAG project.


The creation of a new project is usually starting with the Topological Model. It is not
necessary to start with the Topological Model, you can also start with the Physical
Model or mixed.

Note: If you want to create the project step-by-step, you should not copy all demo
files from the CD-ROM to your hard disk as described in Copy of Files, p. 16.

Requirements The following applications must be installed correctly:


l Unity Application Generator and all of its sub programs
l Concept or Unity Pro
l Monitor Pro or iFIX

22 33003222 08/2007
Creating a Demo Project

Options for the The following table shows the general steps to generate the demoplant.osp.
Demo Project
Step Action Comment
1 Start the Unity Application You can start the application by using the
Generator. program icon within the UAG program group.
2 Create a new project. Select the customization just created from the
file names list.
3 Set the working directories. Set the directories for the different files which will
be generated from Unity Application Generator.
You can enter the options under: View
Options within UAG.
Please enter the following settings:
l General
l Default Documentation Path
c:\demoproj
l PLC
l PLC Project Path
c:\demoproj
l Monitor Pro
l HMI Application Path
c:\demoproj
l Data Server Application Path
c:\demoproj
l Analyze Project
No settings necessary
l Memory Mapper
No settings necessary
4 Save the project You can save the project under: File Save
As... within UAG.
Please browse to the path of the demo project
(c:\demoproj).

33003222 08/2007 23
Creating a Demo Project

Creation of the The following table shows the steps to generate the Topological Model of the
Topological demoplant.osp project.
Model
Step Action Comment
1 Right-click on Network Create a new network segment with a segment
Segments and select New name, a network type and a subnet mask. For
Network Segment from the example:
context menu. l Name
ethseg01
l Network Type
Ethernet
l Subnet Mask
255.255.255.0
2 Routing Paths Not necessary for the demo project.
3 Right-click on Data servers Create a new Data Server with the following
and select New Data settings:
Server... from the context l Basic tab
menu. l Name
ds01
l Network Timeout
1s
l Networks tab
l Network Type
Ethernet
l Network Segment
ethseg01
l IP Address
(user PCs address)
l Network Segment (2nd)
Not_Assigned
4 Right-click on HMIs and select Create a new HMI with the following name:
New HMI... from the context l HMI
menu. hmi01
5 Right-click on hmi01 and select Create a new Control Domain with the following
New Control Domain... from name:
the context menu. l Control Domain
cd01
6 Right-click on hmi01 again and Only for Monitor Pro and generic HMI, not for
select Open Pictures... from iFIX.
the context menu.

24 33003222 08/2007
Creating a Demo Project

Step Action Comment


7 Right-click in the Pictures Create a new picture group with the following
dialog box and select New name:
Picture Group from the context l Picture Group
menu. PictureGroup01
8 Right-click on PictureGroup01 Create a new picture with the following name:
and select New Picture from the l Picture
context menu. picture01
9 Right-click on PLCs and select Create a new PLC with the following properties:
New PLC... from the context l Basic
menu. l Name
plc01
l PLC Project Name
plc01
l PLC Family
Unity/Quantum
l Local Rack
140 XBP 010 00
l CPU
140-CPU-534-14A/U
10 Expand plc01, right-click on Create a new rack with the following modules in
Local and select Open Rack the different slots (Slot 1 .. 7):
from the context menu. l Power supply
140-CPS-214-00
l CPU
140-CPU-534-14A/U
l Digital In
140-DDI-353-00
l Digital Out
140-DDO-353-00
l Analog In
140-AVI-030-00
l Analog Out
140-AVO-020-00
l Communication
140-NOE-771-01
Right-click on the communication module
and select Properties...:
l Network Segment
ethseg01
l IP-Address
127.0.0.1
11 Network Nodes Not necessary for the demo project.

33003222 08/2007 25
Creating a Demo Project

Creation of the The following table shows the steps to generate the Physical Model of the
Physical Model demoplant.osp project.
Step Action Comment
1 Create the first 3 elements of Please enter the following element names to be
the plant. (Right-click on congruent with demoplant.osp:
Site and select New l Area
Area... from the context area01
menu. l Process Cell
cell01
l Unit
unit01
2 Right-click on unit01 and Enter the following properties for the new
select New Equipment Equipment Module:
Module... from the context l Name
menu equip01
l PLC Name
plc01 (from the Topological Model)
l PLC Section Name
equip01
l Control Domain
hmi / cd01 (from the Topological Model)
l Picture
\PictureGroup01\picture01
(only for Monitor Pro and generic HMI)
3 Right-click on equip01 and Enter the following properties for the new Control
select New Control Module:
Module... from the context l Basic tab
menu l Type
VASD01: IATBasic10Monitor
l Name
vas01
l PLC
plc01 (from the Topological Model)
4 Close the properties of the The following new tabs are displayed, but no
new Control Module and entries are necessary for the demo project:
open the properties dialog l Alarm
box again. l Alarm2
l Command
l Setup
l Timer

26 33003222 08/2007
Creating a Demo Project

Generate the Project

Introduction This document describes what the user has to do to generate the project
demoplant.osp without errors and warnings.

Requirements The following applications must be installed correctly:


l Unity Application Generator and all of its sub programs
l Concept or Unity Pro
l Monitor Pro or iFIX

Context Menus Some dialogs have context menus. The user has to click with the right mouse button
into the dialog to open the context menu.

Errors / The user can control if his application is error free by using the analyze function of
Warnings UAG. There are three different states of information from the analyzer or generator.
1. Error (E)
An error has been occurred. The user has to correct the program.The generation
of the program stops or is not possible to start.
2. Warning (W)
Some settings are missed. This can be made conscious or unconscious by the
user. The generation of the program continues.
3. Information (I)
These are information about the program or generation state. The generation of
the program continues.

33003222 08/2007 27
Creating a Demo Project

Other Settings The following table contains the settings which have to be entered for an error free
project.
Step Action Comment
1 Create the variable archive. To avoid many warnings you can assign the
Right-click on vas01 in the PLC_HMI variables to the archive. It is not
Physical Model and select necessary for the program. Please open the
Open Variables from the variable list of the Control Module vas01. Open
context menu. properties of each PLC_HMI variable and assign
each variable like the following.
l Archive
l Archive
Historic
l Archive Name
ArchiveUnit - Archive of PIDs
2 Create a channel. There must be a channel between the PLC and
Right-click on plc01 in the HMI for the communication of the data. Right-click
Topological Model and in the Channels dialog box and select New from
select Open Channels the context menu. Enter the following settings:
from the context menu. l Name
chn01
l Communication Type
Data Server
l Communication Partner
ds01
l Network Type
Ethernet
l Communication Path - Path 1
ethseg01
l Communication Path - Timeout
1s
3 Create the HMI Press the Default button to create the address
Communication ranges. range.
Right-click the channel and
select Open HMI
Communication from the
context menu.

28 33003222 08/2007
Creating a Demo Project

Step Action Comment


4 Do the I/O Mapping 1. Open the variables of the vas01 Control
Module.
2. Open the digital input module of your PLC.
3. Arrange the both windows horizontally.
4. Select all IO_PLC input variables
5. Drag the variable and drop them within the PLC
module.
6. Do the same with the output variables into the
output module.

33003222 08/2007 29
Creating a Demo Project

Project After the creation of all parts of the UAG project and its settings, the user has to do
Generation the following steps to generate the different programs for the PLC and HMI.
Step Action Comment
1 Start the iFIX environment. For the generation of the iFIX HMI files
Note: you have to start the iFIX environment
For iFIX generation only! first (Start Programs iFIX
Intellution iFIX)
Follow the steps described in The iFIX
System Configuration Utility (SCU),
p. 20
2 Generate the PLC program. Start the program generation for the
PLC with Generate PLC
Note:
Open the project exclusively before
starting the generation.
The generation of the PLC program can
take a few minutes!
3 Generate the HMI program. Start the program generation for the HMI
with Generate HMI
Note:
The generation of the HMI program can
take a few minutes!
4 Reload the database. Double-click the Database Manager
Note: node in iFIX workspace.
For iFIX generation only! Choose Open Local Node and then
Database Reload.
Double-click the node ds01 and close
Database Manager.
5 Start the MBT driver. Follow the steps described in Settings
Note: for the MBT Driver and PowerTool,
For iFIX generation only! p. 44.

30 33003222 08/2007
Starting the Monitor Pro Demo
Application
3
Final Steps for Monitor Pro

Introduction The following information contain the steps for starting the demo program for
Monitor Pro and its sub programs.

Starting The starting sequence for the Monitor Pro demo application is:
Sequence 1. Unity Pro and its simulation.
2. Monitor Pro Configuration Explorer and start of the Data Server.
3. Monitor Pro Client Builder.

Note: To avoid failures it is definitely necessary to start the application in this


sequence.

33003222 08/2007 31
Starting the Monitor Pro Demo Application

Unity Pro The following table shows the steps for Unity Pro.
Step Action Comment
1 Open the Unity Pro See under: Start Programs Schneider
application. Electric Unity Pro Unity Pro XL (for example).
You can also run Unity Pro from the UAG graphical
interface.
2 Open the plc01.stu file. Open the file within Unity Pro. You will find the file
under c:\demoproj\plc01.
3 Open the Set Address Open: PLC Set Address.
window.
4 Set the address Set:
parameters. l Simulator
l Address
127.0.0.1
l Media
TCPIP
5 Enter the simulation Set: PLC Simulation Mode.
mode.
6 Connect to PLC Set: PLC Connect.
(Simulator).
7 Load the application to the Set: PLC Transfer Project to PLC.
PLC and start. Select PLC Run after Transfer and click Transfer.
In the following dialog box click Rebuild All and
Transfer.
8 Confirm Run on this A window is going to open to confirm the run of the
Project. project. Enter OK.
The PLC simulator is running now. You will get the
information from the status bar at the bottom of the
Unity Pro application.

32 33003222 08/2007
Starting the Monitor Pro Demo Application

Monitor Pro The following table shows the steps for the Monitor Pro Configuration Explorer.
Configuration
Step Action Comment
Explorer
1 Open the Monitor Pro See under: Start Programs Monitor Pro
Configuration Explorer. Configuration Explorer.
2 Expand the tree view to Expand the tree view to: Enterprise View
your computer. FactoryLink Servers Computer Name.
Note:
Computer Name is the name of the current
computer. In that case the Data Server is running on
the local computer. Other cases are possible.
3 Add Existing Select the computer name and click the right mouse
Application... button to open the dialog. Select Add Existing
Application....
4 Enter the Required Set:
Parameters. l Required Parameters
l Name
ds01
l Application Directory
c:\demoproj\ds01
5 Confirm Action. You will get an information about the path of your
application directory. You have not a UNC path
specified.
Please confirm the action with Yes.
6 Start the Data Server. Expand the tree view to: Enterprise View
FactoryLink Servers Computer Name ds01
Note:
Computer Name is the name of the current
computer. In that case the Data Server is running on
the local computer. Other cases are possible.
7 Start / Stop Select ds01 and click the right mouse button to open
the dialog. Select Start / Stop and start the Data
Server.
Note:
You will get an information about the run time, if you
have a demo licence, please confirm.
8 Status information and You will get many status information about the start
FactoryLink Run- of the Data Server within the Configuration
Time Monitor. Explorer window.
Additionally to that, the FactoryLink Run-Time
Monitor was started. That indicates to you that the
Data Server is running.

33003222 08/2007 33
Starting the Monitor Pro Demo Application

Monitor Pro The following table shows the steps for the Monitor Pro Client Builder.
Client Builder
Step Action Comment
1 Open the Monitor Pro See under: Start Programs Monitor Pro
Client Builder. Client Builder.
2 Open the project. During the start, the Monitor Pro Client
Builder wants to open a fvp project file.
Please select the
c:\demoproj\hmi01\hmi01.fvp project file.
Note:
The file is generated automatically from UAG and
has the name of your HMI from UAG.
3 Set the Data Server. See under: Tools Servers Clusters.
Select the OPCCluster and change the name of it to
the Data Server name.
l Name
ds01
Finish the action with Set and close the window.
4 Open the mimic. Select: File Open. The Choose Mimic window is
going to open.
5 Open picture01 Select the mimic picture01 and open it with the OK
button.
6 Try the connection. 1. Resize the mimic to the half size of the Client
Builder window.
2. Click on the valve symbol.
3. The Command-Mode window is going to open and
select Command-Mode.
4. Select Manual mode.
Result:
The color of the valve is going to blue. That means
the Data Server connection is running correctly.

34 33003222 08/2007
Starting the Generic HMI Demo
Application
4
Introduction

Overview This chapter provides all information about the start of the demo application Generic
HMI purposes.
It requires that all steps of Creating a Demo Project, p. 15 have been done for the
Generic HMI generation.

What's in this This chapter contains the following topics:


Chapter?
Topic Page
Final Steps for Generic HMI 36
Working with Extensible Stylesheets (XSL) 39

33003222 08/2007 35
Starting the Generic HMI Demo Application

Final Steps for Generic HMI

Introduction The following document contains the steps for starting the demo program for
Generic HMI.

Starting The starting sequence for the Generic HMI demo application is:
Sequence 1. Open Factory Server (OFS) / OFS Configuration Tool
2. Unity Pro and its simulation.
3. Microsoft Internet Explorer with demoplant.html.

Note: To avoid failures it is definitely necessary to start the application in this


sequence.

OFS The following table shows the steps for Unity Pro.
Configuration
Step Action Comment
Tool
1 Open the OFS See under: Start Programs Schneider
Configuration Tool. Electric OFS OFS Configuration Tool.
2 Create a new alias Use the button with the green symbol to create a new
alias.
An empty row will be displayed at the bottom of the
register Alias.
3 Enter an alias name. After the creation of the new alias, the cursor will be
placed within the name cell of the new alias.
Enter the name of the PLC from your UAG project
(plc01).
4 Select the driver and PLC After the input of the alias name you have to select
address the PLC and communication driver.
Open the dialog window by selection of the
<Driver> : <PLC Address> cell. Push the button
at the right side of the cell to open the dialog.
5 Open the path DIRECT. Open the path DIRECT within the tree view of the
dialog window and select TCP IP communication
6 Enter the IP address. Enter the IP address of your local host 127.0.0.1
into the provided cells.
7 Select Unity. Select Unity as a PLC.
8 Check the Alias The Alias access path must be
access path. MBT:127.0.0.1/U
Close the window with the OK button.

36 33003222 08/2007
Starting the Generic HMI Demo Application

Step Action Comment


9 Select the Symbols Select the cell of the Symbols table file. Push
table file the button at the right side of the cell to open the
explorer window.
10 Select the plc01.stu Select the file c:\demoproj\plc01\plc01.stu
file. and confirm the action.
11 Apply the changes and Apply the changes and close the OFS Configuration
close the OFS Tool.
Configuration Tool.

33003222 08/2007 37
Starting the Generic HMI Demo Application

Unity Pro The following table shows the steps for Unity Pro.
Step Action Comment
1 Open the Unity Pro See under: Start Programs Schneider
application. Electric Unity Pro Unity Pro XL (for example).
You can also run Unity Pro from the UAG graphical
interface.
2 Open the plc01.stu file. Open the file within Unity Pro. You will find the file
under c:\demoproj\plc01.
3 Open the Set Address Open: PLC Set Address.
window.
4 Set the address Set:
parameters. l Simulator
l Address
127.0.0.1
l Media
TCPIP
5 Enter the simulation Set: PLC Simulation Mode.
mode.
6 Connect to PLC Set: PLC Connect.
(Simulator).
7 Load the application to the Set: PLC Transfer Project to PLC.
PLC and start. Select PLC Run after Transfer and click Transfer.
In the following dialog box click Rebuild All and
Transfer.
8 Confirm Run on this A window is going to open to confirm the run of the
Project. project. Enter OK.
The PLC simulator is running now. You will get the
information from the status bar at the bottom of the
Unity Pro application.

Microsoft The following table shows the steps for the start of the application within the
Internet Explorer Microsoft Internet Explorer.
Step Action Comment
1 Start the application. Open the file
c:\demoproj\ds01\demoplant.html. The
Microsoft Internet Explorer starts automatically.
2 The valve will be The valve will be displayed within the Microsoft
displayed. Internet Explorer and the communication works.

38 33003222 08/2007
Starting the Generic HMI Demo Application

Working with Extensible Stylesheets (XSL)

Introduction Unity Application Generator provides different stylesheets for the transformation of
the generated XML code, e.g. to HTML.
The user will find the style sheets under <installation directory>\Db.

User-defined If the user needs his own stylesheets, the Customization Editor provides the
Stylesheets possibility to integrate user-defined ones. They have to be stored within the UAG
directory <installation directory>\Db.
The user can select the stylesheets under General Data Format Name Add
or Modify.

Note: The user-defined stylesheets have to accord to the w3c standard, see also
www.w3c.org.

Change the The user can change the path where the transformation process will find the
Stylesheet Path stylesheets. The path will be selected within the Customization Editor under
General Path XML Style Sheets.

Note: If the path has been changed, the necessary XSL files must be copied into
the new directory.

33003222 08/2007 39
Starting the Generic HMI Demo Application

40 33003222 08/2007
Starting the iFIX Demo Application

5
Introduction

Overview This chapter provides all information about the start of the demo application iFIX
purposes.
It requires that all steps of Creating a Demo Project, p. 15 have been done for the
iFIX generation.

What's in this This chapter contains the following topics:


Chapter?
Topic Page
Final Steps for iFIX 42
Settings for the MBT Driver and PowerTool 44
Run the iFIX Workspace 45

33003222 08/2007 41
Starting the iFIX Demo Application

Final Steps for iFIX

Introduction The following information contain the steps for starting the demo program for iFIX
and its sub programs.

Starting The starting sequence must be:


Sequence 1. Unity Pro and its simulation
2. iFIX Workspace
3. MBT PowerTool (start before switching iFIX Workspace to run mode!)

Note: To avoid failures, it is definitely necessary to start the applications in this


sequence. Also, the iFIX Workspace must be running for UAG to be able to
generate the HMI.

42 33003222 08/2007
Starting the iFIX Demo Application

Unity Pro The following table shows the steps for Unity Pro.
Step Action Comment
1 Open the Unity Pro See under: Start Programs Schneider
application. Electric Unity Pro Unity Pro XL (for example).
You can also run Unity Pro from the UAG graphical
interface.
2 Open the plc01.stu file. Open the file within Unity Pro. You will find the file
under c:\demoproj\plc01.
3 Open the Set Address Open: PLC Set Address.
window.
4 Set the address Set:
parameters. l Simulator
l Address
127.0.0.1
l Media
TCPIP
5 Enter the simulation Set: PLC Simulation Mode.
mode.
6 Connect to PLC Set: PLC Connect.
(Simulator).
7 Load the application to the Set: PLC Transfer Project to PLC.
PLC and start. Select PLC Run after Transfer and click Transfer.
In the following dialog box click Rebuild All and
Transfer.
8 Confirm Run on this A window is going to open to confirm the run of the
Project. project. Enter OK.
The PLC simulator is running now. You will get the
information from the status bar at the bottom of the
Unity Pro application.

33003222 08/2007 43
Starting the iFIX Demo Application

Settings for the MBT Driver and PowerTool

Introduction The iFIX SCADA systems is using the MBT driver for the communication. The user
has to take care that iFIX and the MBT driver is installed correctly.

Settings within The following table shows the steps of the PowerTool settings for the
the PowerTool communication.
Step Action Comment
1 Start the PowerTool You can start the PowerTool under:
Start Programs iFIX MBT
PowerTool.
2 Select Use Local Server Select Use Local Server and
Connect... to the server.
The computer will be connecting to the
server.
3 Enable Channel_1. Select Channel_1 in the tree view.
Select the check box and enable
Channel_1
4 Change the Default Open Options Setup and select the
configuration file name. register Default Path. Change the
name of the Default.MBT to
ds01.MBT.
5 Change the modes. Select the register Advanced and set:
l Simulation Mode
Off
l Auto Create
On
l Auto Start
Off
6 Start the driver. Display Mode Start
7 Change to Stats Mode Change from Config Mode to Stats
Mode to control the server connection
under Display Mode Stats Mode.
8 Control the connection state. You can control the connection to the
Data Server by the Data Quality
within the Stats Mode. The Data
Quality of the subnodes of CH1 has to
be Good.

44 33003222 08/2007
Starting the iFIX Demo Application

Run the iFIX Workspace

Introduction To start the generated application, the user has to open the iFIX Workspace.

Start the The following table shows the steps to start the generated application.
Application
Step Action Comment
1 Start the startup window. You can start the startup window of iFIX under:
Start Programs iFIX Intellution iFIX.
2 Start the application. Use the iFIX button to start the administrated
application.
l iFIX
Start iFIX with these settings:
3 Reload the database. Double-click the Database Manager node in iFIX
Workspace.
Choose Open Local Node and then Database
Reload.
Double-click the node ds01 and close Database
Manager.
4 Open the equip01 picture See under: Workspace Switch to Run.
and Switch to Run.

33003222 08/2007 45
Starting the iFIX Demo Application

46 33003222 08/2007
Index
B
AC
A G
aim of the document, 10 generic HMI
final steps, 36
Microsoft Internet Explorer, 38
C OFS configuration tool, 36
context menu, 27 Unity Pro, 38
copy of files, 16

H
D hints, 12
demo application
generic HMI, 16
iFIX, 16 I
Monitor Pro, 16 I/O mapping, 29
demoplant.osp, 16 iFIX
configure for use with Unity Application
Generator, 13
E final steps, 42
extensible stylesheets, 39 Unity Pro, 43
installation hints, 12
installation sequence, 12
F
final steps, 16
final steps for generic HMI, 36 M
final steps for iFIX, 42 MBT driver, 44
final steps for Monitor Pro, 31 model
physical, 26
topological, 24

33003222 08/2007 47
Index

Monitor Pro T
client builder, 34
topological model, 24
configuration explorer, 33
final steps, 31
Unity Pro, 32 U
user-defined stylesheets, 39
P
physical model, 26 W
PowerTool, 44
www.w3c.org, 39

R
requirements, 11
X
XSL, 39

S
SCU, 20
stylesheet, 39
user-defined, 39
stylesheets
path to, 39
system configuration utility, 20
system requirements, 11

48 33003222 08/2007