Sie sind auf Seite 1von 144

Visu+ User Course

_____________________________________
Visu+ User Course

1 Project Creation and Interface


Functionalities of Visu+
Project Wizard
Basic Tools
Project Explorer
2 Initial Steps for Visualization Creation
and Animations
Data Basis for Communication Objects
Project Resources
Process Screen Creation
Selected Animations
3 Selected Data and User Management
Alarm Management
Language Management
User and User Groups
Data Recording
Trend Recording
Recipes
4 Transferring a Project to a Touch Panel
A1 AX OPC Server
Configuration of the AX OPC Server
OPC Preparation on the Control System Side
OPC Configuration Check with AX OPC TestClient
A2 Tasks
A3 Solutions

Speaker:_____________________
CCAX / Competence Center
AUTOMATIONWORX
Please contact us if you have any questions
or suggestions: 05281 946 2101

No part of this document may be reproduced,


stored in a retrieval system or transmitted in any
form or by any means, electronic, mechanical,
photocopying, recording or otherwise, without the
prior permission in writing of the Publisher.
Violations shall give rise to claims for damages. All
rights reserved.
All other product names are trademarks or
registered trademarks of their respective
companies, and they are used without
representation as to their general use.
2009 by Phoenix Contact GmbH & Co. KG

_____________________________________
IB2041 V1.0

Project Creation and Interface


_____________________________________

Project Creation and Interface


Chapter 1

_____________________________________
V1.0

1-1

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1-2

Project Creation and Interface


_____________________________________

Contents
This chapter takes you through the first steps of the project creation wizard and describes the basic
functionality and tools in Visu+.
Note:

In order to efficiently work with the visualization, extending the desktop with a second
monitor is recommended. As a basis for the data link, the system variable structure from
Visu+ can be used for simulation as an alternative to an automation project.

_____________________________________
1-3

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1-4

Project Creation and Interface


_____________________________________

Functionality of Visu+

_____________________________________
1-5

Project Creation and Interface


_____________________________________

Basic Functions

Full SCADA functionality


Multilingual software and projects
Projects encryption
Project compression
Control coupling with OPC
Access protection with user management
Web Client capability
Fully scalable process screens
Real time database connection
Automatic data recording and recipe management
Scripts can be created in VBA and IL
FDA CRF 21 part 11 compatible

Visu+ provides full SCADA (Supervisory Control And Data Acquisition) functionality with
visualization, trend display and alarm management. The software is multilingual and supports more
than one language in a project. Because of the possibility for project encryption, know-how is safely
protected and project compression saves resources. With the help of OPC, Visu+ can be easily
coupled to control systems and supports databases linking with ODBC to MS ACCESS, MS-EXCEL
and SQL server. Generated process screens are fully scalable and therefore ideally suited for use
with own designs on various large devices. Together with Web Client capability, Visu+ also
provides access protection with user management, automatic data recording and recipe
management as well as the possibility to create scripts in VBA and IL and FDA CRF 22 part 11
compatibility.

_____________________________________
1-6

Project Creation and Interface


_____________________________________

Runtime Licenses
Type

Description

RT LITE

Limited to 128 bytes for I/O data and variables in scripting

RT LITE XT

Limited to 128 bytes for I/O data and variables in scripting,


SMS, voice, fax, modem connection, 1 web client user

RT BASIC

Limited to 512 bytes for I/O data and variables in scripting

RT BASIC XT

Limited to 512 bytes for I/O data and variables in scripting,


SMS, voice, fax, modem connection, 1 web client user

RT PRO

Without limit for I/O data and variables in scripting

RT PRO XT

Without limit for I/O data and variables in scripting,


SMS, voice, fax, modem connection, 1 web client user

An overview of the various different runtime licenses that are available for Visu+ is shown above.

_____________________________________
1-7

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1-8

Project Creation and Interface


_____________________________________

Project Wizard

_____________________________________
1-9

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 10

Project Creation and Interface


_____________________________________

Target System

The first step in creating a visualization project under Visu+ is to select the target system to be
used. A TP Panel with Windows CE is used in the training session on which visualization can be
performed in full-screen display.

_____________________________________
1 - 11

Project Creation and Interface


_____________________________________

Project Directory

After entering a name, a directory should be chosen that enables better access to the data than the
standard project directory. This is related to the install path of the software.

_____________________________________
1 - 12

Project Creation and Interface


_____________________________________

Project Protection

The VISU+ visualization project can be protected on individual levels from unauthorized operation
via Windows user management.
Initially it makes sense to remove protection for development purposes. In particular if the
protection is performed via Windows management since the development computer is usually not
the computer on which the visualization will subsequently be executed in runtime mode.

_____________________________________
1 - 13

Project Creation and Interface


_____________________________________

Driver Selection

Together with communication via OPC, visualization can be linked to the process using additional
drivers.

_____________________________________
1 - 14

Project Creation and Interface


_____________________________________

Process Screens

In addition to the possibility for adding process screens to an existing project, the start-up wizard
also provides an option to insert process screens together with the necessary navigation bars for
selection of them. The screen size used later in the project is based on the screen resolution. This
is 800x600 pixels in the case of the TP panel.

_____________________________________
1 - 15

Project Creation and Interface


_____________________________________

Protocol Databases

Despite deselecting, the event protocol database is always created.


In the case of registered user accounts, tracing allows subsequent reconstruction of which user
executed which actions via the visualization and at what point in time. Tracing is set up in the Real
Time DB section of the project explorer and must be selected for each single variable.

_____________________________________
1 - 16

Project Creation and Interface


_____________________________________

Data Recording Database

The data recording database makes sections available in the project explorer to which variables
can be forwarded for recording. As in previous selection items, subsequent modifying and editing is
possible at any time.

_____________________________________
1 - 17

Project Creation and Interface


_____________________________________

Alarm Templates

Two typical alarm elements of the project explorer structure are added via selection of these
options.

_____________________________________
1 - 18

Project Creation and Interface


_____________________________________

Basic Tools

_____________________________________
1 - 19

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 20

Project Creation and Interface


_____________________________________

Project Explorer

Resources
Resources

Commands
Commands

As management tool, the project explorer allows structured access to all existing elements in the
project. It is separated in the element and methods sections, whereby the latter makes contextrelated function of the selected elements available.

_____________________________________
1 - 21

Project Creation and Interface


_____________________________________

Properties

Just like the project explorer methods, the properties dialogue window also shows the contextrelated values of the elements selected in the project explorer.
Confirm (confirm data entered)
Deleting
Categorized (displayed elements sorted according to categories)
Alphabetic (sorting)
Expand/collapse (open/close tree structure)
Description area (show/hide)
Help (F1)
Simplified display (most used elements only)

_____________________________________
1 - 22

Project Creation and Interface


_____________________________________

Tool Box

The tool box makes basic elements available for creating the visualization screen.

_____________________________________
1 - 23

Project Creation and Interface


_____________________________________

Template Library

The template library provides plenty of predefined objects of which some already have animations.
Further symbols and symbol library can be added or created by the user himself.

_____________________________________
1 - 24

Project Creation and Interface


_____________________________________

Window Arrangement

Result
Result

The above displayed symbol is displayed during moving of tools. By positioning the mouse pointer
over the five direction arrows, the selected window can be integrated within the framework of
another window (depending on the selected direction, simultaneously) or via tabs (when selecting
the circle). Windows can be subsequently removed via their title bar.

_____________________________________
1 - 25

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 26

Project Creation and Interface


_____________________________________

Project Explorer

_____________________________________
1 - 27

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 28

Project Creation and Interface


_____________________________________

Project Explorer 1/2

Alarm List
Contains the digital and analog signals, that are to be monitored according to their limits by VISU+
(basic setting via project wizard).
Basic Scripts
The VBA code that is to be executed on command or at the start of a visualization can be stored
here.
Users And User Groups
For definition of access rights (basic setting via project wizard).
Data Logger and Recipes
Defines trend recording of stored signals (basic setting via project wizard).
Event Object List
Stored events can trigger actions.
Communication Objects
Linked to SPS via driver, variable linking and user-defined data types, internal variable storage of
the project.
Keyboard Shortcuts
Adding a keyboard shortcut to a project.
Menus
Allows creation and activating of pop-up menus with the mouse as well as adjusting menu bars that
link to process screens.

_____________________________________
1 - 29

Project Creation and Interface


_____________________________________

Project Explorer 2/2

Network Services
Allows connection of systems using different platforms (3 driver + OPC coupling implemented).
Redundancy establishment only related to clients.
Standard Object List
Converting the raw sizes of stored OPC tags into scaled values.
OPC Client DA (COM)
Contains a list of all OPC tags used.
Parameter Files
Allows creating of files for dynamic linking of visualization variables.
Process Screen Navigation Editor
Allows implementing of intuitive graphical navigation in process screens.
Process Screens
Provides access to existing process screens in the project with all added elements.
Subproject List
Allows integration of already existing visualization projects.
Timing Object List
Allows cyclic execution of commands.

_____________________________________
1 - 30

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 31

Project Creation and Interface


_____________________________________
Notes:

_____________________________________
1 - 32

Visualization Creation and Animations


_____________________________________

First Steps in Visualization Creation


and Animations

Chapter 2

_____________________________________
V1.0

2-1

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2-2

Visualization Creation and Animations


_____________________________________

Contents
This chapter describes the first steps for setting up a visualization project like, for instance
integration of OPC variables and provides an overview on various animations that could be used
within a process screen.

_____________________________________
2-3

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2-4

Visualization Creation and Animations


_____________________________________

Real Time DB
Data Basis

_____________________________________
2-5

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2-6

Visualization Creation and Animations


_____________________________________

Structure

Real Time DB
Variable in an SPS
automation
project

OPC tag
in the AX OPC
server

Variable database
Variable in Visu+

It is recommended to create a data basis in the Real Time DB of the Visu+ project for a systematic
procedure with existing automation projects including OPC data structure. For this, OPC tags of the
server are mapped to communication object variables.

_____________________________________
2-7

Visualization Creation and Animations


_____________________________________

Variable Groups and Variables

11
22

In the case of larger projects, it is recommended adding a variable group from the context menu of
the variable database (Real Time DB element of the project explorer) in order to maintain an
overview of a large number of the variables. Local Visu+- variables can also be added from this
context menu. Variables with OPC connection should however be added via the OPC Client DA
section and edited in the variable database.

_____________________________________
2-8

Visualization Creation and Animations


_____________________________________

OPC Variable Creation

Adding an OPC element to a project while creating a VISU+ variable is performed with the help of
the tag browser. The tag browser lists the communication paths that are available to Visu+. Access
to the OPC server registered on the PC is gained via Local (My Computer). For the purposes of this
training session, the AUTOMATIONWORX OPC server is used which represents the project
structure of the application programmed by PC WORX with respect to the OPC data. As is the case
with the Testclient which is a part of the AX OPC server installation, the server functions and values
or the values made available to it can be checked with the tag browser (Option: current values).
Several OPC tags can be simultaneously transferred.
Under certain circumstances, arrays and structures from the application project can also be used in
Visu+.

_____________________________________
2-9

Visualization Creation and Animations


_____________________________________

OPC Group with Tags

Those variables added are served by the refresh rate (in ms) of the OPC group.

_____________________________________
2 - 10

Visualization Creation and Animations


_____________________________________

OPC Tag and Variable

If the name of a variable in the variable list under Visu+ 2.0 is changed, connection to the OPC tag
will be maintained. After any move operation, for instance in groups, OPC tags must be
subsequently reconnected to the renamed variable.

_____________________________________
2 - 11

Visualization Creation and Animations


_____________________________________

Structure (Variables)

Structure
Structure definition
definition

Variable
Variable declaration
declaration

In addition to variables that are based on elementary data types, there is also the possibility to
integrate structure and field variables into Visu+ . The basis for this is the definition of a Visu+structure. Correct data transfer of the identical structure format according to the data type
declaration in PC WORX must be observed.
Automatically generated variables that are not based on elementary data types must be set to the
correct type.

_____________________________________
2 - 12

Visualization Creation and Animations


_____________________________________

System Variables

Visu+ makes basic information available to the user in the system variable structure of the
visualization application. After adding the system variable structure, the corresponding variable is
automatically ready. As with user-declared variables, access to single elements of these variables
occurs via the tree structure of the tag browser.

_____________________________________
2 - 13

Visualization Creation and Animations


_____________________________________

Standard Object List

The standard object list can be used in order to make OPC tag raw sizes available in Visu+ in
standard form.

_____________________________________
2 - 14

Visualization Creation and Animations


_____________________________________

Project Resources

_____________________________________
2 - 15

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 16

Visualization Creation and Animations


_____________________________________

Project Explorer - Project Resources

All existing elements in the project (process screens, folders, scripts, popup menus etc.) are listed
under Screens. The example shows resources generated by the tasks (six process screens with
embedded tool bar).

_____________________________________
2 - 17

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 18

Visualization Creation and Animations


_____________________________________

Process Screen Creation

_____________________________________
2 - 19

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 20

Visualization Creation and Animations


_____________________________________

Process Screen

Embedded
Embedded
navigation
navigation

Process screens set up by the project wizard are equipped with navigation buttons as well as title
bars by default. The former is made available via their own embedded process screen in the size of
the required buttons.

_____________________________________
2 - 21

Visualization Creation and Animations


_____________________________________

Object Properties

The parameters made available to the object as well as the animation possibility can be called up
under Properties. If present, animations must be switched to active.
Correction for a pixel-exact creation of the visualization is provided via the parameters in the
Position (X/Y/width/height) section.

_____________________________________
2 - 22

Visualization Creation and Animations


_____________________________________

Selected Animations

_____________________________________
2 - 23

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 24

Visualization Creation and Animations


_____________________________________

Visible

The Visible animation allows hiding of an object independent of a variable and its accordance to
animation conditions.

_____________________________________
2 - 25

Visualization Creation and Animations


_____________________________________

Composed Movement

The composed movement animation puts an object into a position to follow a path graphically
determined by the user that is independent of a variable value. Beginning from the initial position of
the object, further items can be successively added to the path.

_____________________________________
2 - 26

Visualization Creation and Animations


_____________________________________

Horizontal Movement (X)

The horizontal movement (X) (similarly also the vertical movement Y) allows objects to move in the
corresponding direction. The value of the connected variable is translated directly into a pixel. This
means that it makes sense to use a scaled variable for this movement. Start and end values are set
relative to the start position of the object.
If the value of the variable exceeds or falls below the given start and end values, the values set
under Start offset value and End offset value are assumed. These are also set relative to the start
position of the object.

_____________________________________
2 - 27

Visualization Creation and Animations


_____________________________________

X Start Point

The X start point animation (similarly the Y start point, X end point and Y end point) changes the
coordinate of the left outer border of an object. This is pixel-based as with the X/Y movements. The
dependent variable is also to be scaled if necessary.

_____________________________________
2 - 28

Visualization Creation and Animations


_____________________________________

Scaling

Scaling changes the size of the selected object. As opposed to previously mentioned animations,
scaling is performed in percentage terms. The direction of scaling of a Visu+ object depends on the
variables and can be selected from a number of different options.

_____________________________________
2 - 29

Visualization Creation and Animations


_____________________________________

Rotating

Here
Here the
the point
point of
of
rotation
rotation is
is the
the X-Y
X-Y
position
position of
of the
the
rectangle
rectangle

As with the X-Y movement, the process size and the desired angle must however be put into
relation in the case of rotation as animation of an object. The point of rotation arises from the
selection of the Barycenter parameter in the General section. The rotation animation is not available
when a Windows CE platform has been selected.

_____________________________________
2 - 30

Visualization Creation and Animations


_____________________________________

Background Color

The Background color animation allows a changing the color of an object depending on a digital
signal or an analog color change for analog values. A special option for determining other variables
in the same selected alarm group is possible via the Variable is alarm group parameter.

_____________________________________
2 - 31

Visualization Creation and Animations


_____________________________________

Gradual Filling

The Filling animation is a combination of filling and color change. If color change does not occur,
the color list must be correspondingly designed or a second variable given as fixed value. As with
Background color selection of the Mixed Color option allows an even color transition. When stating
start and/or end variables, any given start and end values will be ignored.

_____________________________________
2 - 32

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 33

Visualization Creation and Animations


_____________________________________
Notes:

_____________________________________
2 - 34

Selected Data and User Management


_____________________________________

Selected Data and User Management


Chapter 3

_____________________________________
V1.0

3-1

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3-2

Selected Data and User Management


_____________________________________

Contents
This chapter provides an overview of some selected functions in Visu+. This includes for example,
simple standardization of data, alarm and user management as well as language switching in the
project and recording of data.

_____________________________________
3-3

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3-4

Selected Data and User Management


_____________________________________

Command List

The command list is available for a large number of events, where the user can execute various
different actions.

_____________________________________
3-5

Selected Data and User Management


_____________________________________

Standardization

The standardization list allows transmitted raw sizes e.g. from analog values to be easily scaled.
New variables must be assigned to the standardized values.

_____________________________________
3-6

Selected Data and User Management


_____________________________________

Alarm Management

_____________________________________
3-7

Selected Data and User Management


_____________________________________

Alarm List

Standard
Standard elements
elements
by
by the
the project
project wizard
wizard

As is usual with other systems, alarms are available for processing both analog and digital signals.
The typical threshold values provided by the project wizard can be extended by user-defined
thresholds if necessary. The Alarm Variable parameter is to be connected to the variable to be
monitored. The switch-on variable should only be assigned if the alarm is to be conditionally
triggered.

_____________________________________
3-8

Selected Data and User Management


_____________________________________

Alarm Window

The alarm window lists all pending alarms according to the alarm list and conditions. Depending on
access level, it is possible to acknowledge alarm messages (tracing according to registered user).
The Select Field column configuration is called via the Open parameter in the General section. If a
text has been entered into the alarm properties under General Alarm Help, it will be displayed by
double-clicking the alarm text in the alarm window.

_____________________________________
3-9

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 10

Selected Data and User Management


_____________________________________

Language Management

_____________________________________
3 - 11

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 12

Selected Data and User Management


_____________________________________

Switching Languages 1

Switching languages during the project process can be performed with the character sequence
table. New columns and rows can be added via the context menu. The character sequence ID can
then be used as an object in the project that outputs the selected column. The cell content can be
edited if the cell is marked and clicked again after a short wait.

_____________________________________
3 - 13

Selected Data and User Management


_____________________________________

Switching Languages 2

The desired character sequence ID is selected in the Object properties under the General section
and Object Title parameter. Now a new Language command type, for instance during release, will
be added under the Execute section where the character sequence table column was selected.

_____________________________________
3 - 14

Selected Data and User Management


_____________________________________

Users and User Groups

_____________________________________
3 - 15

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 16

Selected Data and User Management


_____________________________________

Adding a New User

A user group must be created before a user can be added. This group has an extendable standard
level to which all users within the group have access. A standard access level can added exactly in
this way. Settings can be made for each user in a group whether he remains on the group level or is
assigned to another level. The access level for the selected user can be set under User Access
Level. In order to be able to use password prompting, a password must be set for each user and
the password manager activated. The password manager is activated in the main User And User
Group properties in the project explorer under the General section by adding a tick.

_____________________________________
3 - 17

Selected Data and User Management


_____________________________________

Access and User Levels

There are 16 selectable access and 11 user levels. If a user is logged onto user level 8, he then has
access to all levels below that. A user logged onto user level 1 could only use the above button
after logging onto user level 2 and then only if he is authorized for access level 5. If a user is logged
onto user level 0, he will not be able to see the button on account of the set read access level.
Access and user levels can be set in the properties of the Access levels section. Read and write
levels are displayed in hexadecimal format.

_____________________________________
3 - 18

Selected Data and User Management


_____________________________________

User Logon and Logoff

11

If a user would like to press a button that is designed for a higher level, he must log onto a higher
level (1). A login window will then automatically appear. Automatic logoff is set under the properties
of the user to 60 seconds by default (auto logoff timeout (sec.)) and can be changed. There is a
possibility to log off via user commands in order to achieve immediate logoff (or login).

_____________________________________
3 - 19

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 20

Selected Data and User Management


_____________________________________

Data Recording

_____________________________________
3 - 21

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 22

Selected Data and User Management


_____________________________________

Data Logger
11

33

22

44

55

The data logger records data according to certain conditions. These must be assigned in the form
of columns. Time or event dependent recording can be set. The data logger always writes to a
database. This is SQL by default however a .dat file is written (IMDB) in the case of WinCE
platforms . Visu+ searches for a server and automatically creates a database with the name of the
project. The data can be displayed via a data logger window within Visu+.

_____________________________________
3 - 23

Selected Data and User Management


_____________________________________

Data Logger Window

The data logger window can be found in the toolbox and displays the data of a selected data logger
in the process screen (Properties Execution section Data logger recipe parameter). The
displayed columns can be outputted in the same way as the alarm window. If visualization is
running, the display is not updated. The corresponding button must be pressed in order to display
the current values.

_____________________________________
3 - 24

Selected Data and User Management


_____________________________________

Trace Window

Select the variable to be traced

Visu+ provides the possibility to record changes to variables. This data is recorded into a database
and can be displayed in the trace window contained in the tool box. Each variable requires its own
window. Amongst other things, the event time, current user executing and the changed variable are
shown. If the variable is connected to an object (e.g. switch), any changes to the object are also
displayed.

_____________________________________
3 - 25

Selected Data and User Management


_____________________________________

Adding a Variable for Tracing

In order to add a variable for tracing, a tick must be set under Activate tracing in the Trace Options
(Audit) section. In addition, the data service life can be adapted to any necessities.
If the trace comments (audit) parameter has been activated, the user is requested to comment his
change before the change to the variable is performed.

_____________________________________
3 - 26

Selected Data and User Management


_____________________________________

Trend Recording

_____________________________________
3 - 27

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 28

Selected Data and User Management


_____________________________________

Trend Recording Window

In order to display a trend, the desired window is added from the toolbox into a process screen
under Trend-Charts-Data. The above example shows the Horizontal Trend window.

_____________________________________
3 - 29

Selected Data and User Management


_____________________________________

Properties of the Trend Window

The trend type can be subsequently changed in the Properties of the trend window. The times and
properties of the recording are set under Execution. Depending on the setting, curves in the window
are displayed either drawn out or compressed together. In order to display lines, variables must first
be added as so-called pins. This is performed via the Edit Pens button. If the values of a data
logger are displayed as a trend, it is only necessary to add the data logger under Data Logger Link.
This way the corresponding pins are created automatically and can then be adapted under Edit
Pens if necessary.

_____________________________________
3 - 30

Selected Data and User Management


_____________________________________

Adding Pins

In order to manually add pins, click Edit Pens in the properties of the trend window. After clicking
Add once a further window is opened in the following window, in which the variable to be recorded
can be selected via Variable Pen. Setting is performed under Trend/Data analysis scale if the
values are already known, between which the recording is to take place. There is also a possibility
for the scale to automatically adapt the maximal and minimum deflection of a variable value (Auto
Scale Pen). Further information on trace recording can be found in the Visu+ - help file.

_____________________________________
3 - 31

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 32

Selected Data and User Management


_____________________________________

Recipes

_____________________________________
3 - 33

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 34

Selected Data and User Management


_____________________________________

Adding a Recipe

Adding a recipe is similar procedure to adding a data logger. Columns must also be added for each
individual value.

_____________________________________
3 - 35

Selected Data and User Management


_____________________________________

Activating Recipes

*Activate*

Variables must be specified under Recipe Temp. Variable and Variable for every column. The
temporary variable is the variable that specifies a predefined value that is transferred to the variable
under the Variable item after activation of the recipe.
In order to activate the recipe, a variable is specified in the properties of the relevant recipe under
the Activate Variable item. If the value of the variables is set from 0 to 1, each of the individual
temporary values of the columns are written to the relevant specified variable. After execution,
Visu+ automatically resets the variable.

_____________________________________
3 - 36

Selected Data and User Management


_____________________________________

Recipe Examples

In the above example, the default values of the temporary recipe variables are specified on the left.
Clicking the activation button confirms the corresponding recipe and displays it on the right.

_____________________________________
3 - 37

Selected Data and User Management


_____________________________________
Notes:

_____________________________________
3 - 38

Transferring a Project to a Touch Panel


_____________________________________

Transferring a Project
to a Touch Panel
Chapter 4

_____________________________________
V1.0

4-1

Transferring a Project to a Touch Panel


_____________________________________
Notes:

_____________________________________
4-2

Transferring a Project to a Touch Panel


_____________________________________

Contents
In this chapter it is explained how a Visu+- project is transferred to a visualization device such as a
touch panel and how its network settings are modified.

_____________________________________
4-3

Transferring a Project to a Touch Panel


_____________________________________
Notes:

_____________________________________
4-4

Transferring a Project to a Touch Panel


_____________________________________

Topology of the Example Project

ILC
TP

Switch

Operation
TP devices are operated via the touch function of the display by directly selecting the buttons on the
display.

_____________________________________
4-5

Transferring a Project to a Touch Panel


_____________________________________

Access to the HMI Service Tool

The window shown above is displayed for two seconds. Click on Press For Setup Main Menu to
start the HMI Service Tool. If a key or button is not pressed within this two second period, the
operator panel returns to the start screen or the previously loaded project and the Visu+
visualization software is loaded with the current project.

_____________________________________
4-6

Transferring a Project to a Touch Panel


_____________________________________

Setting the IP Address

In order to change the IP address, click the Setup Main Menu button in the HMI Service Tool and
the window will be displayed as shown above. Subsequently perform the steps shown above.
Note: In the case of TP operator panels, the software keyboard that is shown may hide the
input field. Move the keyboard so that it is above the title bar.
All addresses must be specified in xxx.xxx.xxx.xxx format. Numbers < 100 must be filled with
leading zeros (example: 192.168.42.1 = 192.168.042.001)
Confirm the address entered with OK. You can return to the previous menu via Home.
Enter the corresponding subnet mask.
Press Exit and confirm the Save Registry? request with Yes.
Restart the device by disconnecting the 3-pos connector from the power supply and
reconnecting.

_____________________________________
4-7

Transferring a Project to a Touch Panel


_____________________________________

Resource (OPC) Settings

Settings for data transmission between the operator panel and visualization are performed in the
Resource Editor. To modify the Resource Editor, click on Setup Main Menu in the HMI Service
Tool. The menu shown above is opened. Perform the specified steps.
Click Add.
Enter the name of the OPC resource under Resource and confirm with OK.
Note: The same name must be displayed in Resource as for instance in the OPC
configurator (AX-OPC-Server)
Enter the IP address of the Inline controller under Parameter (default: -ip127.0.0.1
(local host)).
Click Save to save the settings.
Restart the device by disconnecting the 3-pos connector from the power supply and
reconnecting.

_____________________________________
4-8

Transferring a Project to a Touch Panel


_____________________________________

Transfer Project to the Operator Panel (1)

Once you have linked all the variables and saved the project, send the project to the operator panel.
Click on Example in the project explorer for this.
Click on Upload Project to Device/FTP under the Commands menu item.

_____________________________________
4-9

Transferring a Project to a Touch Panel


_____________________________________

Transfer Project to the Operator Panel (2)

If a visualization is running on the operator panel, close this before transferring via the Stop
Device button.
Click the TCP transfer type in the Upload Visu_Training window and subsequently Upload
project.
Enter the IP address of the operator panel in the Server IP data window and click OK. The
project is uploaded to the operator panel.
After the Upload completed successfully message is displayed, click Start Device. The project is
now started on the operator panel.

_____________________________________
4 - 10

Transferring a Project to a Touch Panel


_____________________________________
Notes:

_____________________________________
4 - 11

Transferring a Project to a Touch Panel


_____________________________________
Notes:

_____________________________________
4 - 12

AX OPC Server
_____________________________________

AX OPC Server
Appendix 1

_____________________________________
V1.0

A1 - 1

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 2

AX OPC Server
_____________________________________

Configuration of the AX OPC Server

_____________________________________
A1 - 3

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 4

AX OPC Server
_____________________________________

Calling the OPC Configurator

In order to configure the OPC server, the configurator can be called under the above-mentioned
path. This path specification via the program menu is part of the standard installation.

_____________________________________
A1 - 5

AX OPC Server
_____________________________________

Workspace/Language

The workspace is used to define the location for storing configuration data (communication) for the
OPC configurator. This simplifies the porting of data.

_____________________________________
A1 - 6

AX OPC Server
_____________________________________

Setting up a New Resource

The context menu of the workspace is used for adding a new resource. The resource represents
the CPU of the PC WORX project.

_____________________________________
A1 - 7

AX OPC Server
_____________________________________

Selecting Control Systems

The AX OPC server works with a large number of current controllers of the AUTOMATIONWORX
system.

_____________________________________
A1 - 8

AX OPC Server
_____________________________________

Resource Name

The name can be changed by simply selecting another name. The "Description" window gives the
resource's current communication parameters.
For the sake of clarity, the name should be identical to the resource name in the
PC WORX project. There is however, no direct relationship between both names.
The status displays whether OPC data is made available online or offline (Settings), although not,
whether a connection to the controller exists.

_____________________________________
A1 - 9

AX OPC Server
_____________________________________

OPC Data Online

If the OPC server is to retrieve the data from the control system online, TCP/IP with the relevant
address entry must be selected as the communication path.

_____________________________________
A1 - 10

AX OPC Server
_____________________________________

OPC Data Offline

If the control system is not available at the time of creating the visualization, the PC WORX project
can be used as the basis for the OPC data structure.

_____________________________________
A1 - 11

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 12

AX OPC Server
_____________________________________

OPC preparation on
the Controller Side

_____________________________________
A1 - 13

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 14

AX OPC Server
_____________________________________

Designating Variables as OPC Variables

Data to be accessed by means of visualization must be furnished with the attribute OPC in the local
and global variable table (box checked).

_____________________________________
A1 - 15

AX OPC Server
_____________________________________

Sending the Configuration


File to the Control System

In order for the OPC server to load the OPC data structure from the control system, it must also be
written to during the download.
In order to do this, mark the Include OPC data option during transmission of the project.

_____________________________________
A1 - 16

AX OPC Server
_____________________________________

Checking OPC Configuration with


AX OPC TestClient

_____________________________________
A1 - 17

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 18

AX OPC Server
_____________________________________

Calling AX OPC TestClient

The AX OPC TestClient can be used to test OPC data exchange. It can be called via the path
shown above.
This path specification via the program menu is part of the standard installation.

_____________________________________
A1 - 19

AX OPC Server
_____________________________________

Selecting the OPC server

Connection
Connection
to
to the
the server
server

Confirm the connection to the suggested OPC server (or to the one you have set).

_____________________________________
A1 - 20

AX OPC Server
_____________________________________

Adding a Group

Right-click in the right-hand section of the window (Private Groups) to add a new group. You can
then confirm the above-shown dialog without entries with OK.

_____________________________________
A1 - 21

AX OPC Server
_____________________________________

Adding all OPC variables

Select the group and right-click to open the context menu. Depending on your requirements, add
one or all of the OPC variables (Items) to the group.

_____________________________________
A1 - 22

AX OPC Server
_____________________________________

Selecting the Variables to be Monitored

Mark the desired variables and activate them in the context menu (right mouse click) (e.g. Read to
read the current value).

_____________________________________
A1 - 23

AX OPC Server
_____________________________________

Current Value of OPC Variables

Break
Break the
the
connection
connection

Current
Current value
value

The current value will be displayed in the Function Result window area.
Attention: The value is not updated automatically!
Attention: Break the connection to the OPC Server before exiting the TestClient!

_____________________________________
A1 - 24

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 25

AX OPC Server
_____________________________________
Notes:

_____________________________________
A1 - 26

Das könnte Ihnen auch gefallen