9 defining visualisation recipes, Defining visualisation recipes, Project example – Lenze VisiWinNet VisiWinNET Smart Benutzerhandbuch

Seite 219

Advertising
background image

Project example

Defining visualisation recipes

4

l

219

SHP−VWNS DE/EN 6.1

4.9

Defining visualisation recipes

Visualisation recipes describe sets of process values. Together, they usually determine the
settings of a machine for the manufacture of a product from a range of products. It is
possible to switch over between the individual products to be manufactured by writing
recipes to the PLC. .

During the development time, recipes are defined in order to specify which variables
jointly describe the function, i.e. which variables are saved and transferred together.

During the runtime, the sets of process values are stored in so−called recipe files. Between
the process image and the recipe files, there is a recipe buffer. This buffer can be used to
alter recipe values in the application without affecting PLC data or recipe value data. The
recipe buffer is for the parameterisation and optimisation of recipes. Starting from the
application, the user loads recipe data from a file, for example, adapts them to the
production goal in the recipe buffer and then transfers them to the PLC. The possibility of
reversing this process makes it possible to check the set values before a new recipe file is
created.

Variables server

(map of PLC values)

Recipe buffer

(uncoupled from

process and file)

Var 0

Var 1

Var 1

:

Var n

Var 0

Var 1

Var 1

:

Var n

Read

Save

Write

Load

View changeover,e.g. by
means of the "RecipeClassHandler"
component

Control elements
of the application

Recipe files

VWNS006

The four transfer functions "Load", "Save", "Read" and "Write" control the individual
transfer steps.

Typical input control elements such as "VarIn" support viewing of the process values in the
variables core as well as in the recipe buffer. If these values are to be made available for
editing in the application, therefore, new control elements do not have to be added to the
application. A view−switching function (for all the variables used in the definition), which
is centrally coupled to a recipe definition has to be implemented instead

Other functions such as the recording of recipe value changes in line with FDA or the saving
of production comments are easy to parameterise.

Advertising