krones doc_en_00

25
7/24/2019 krones doc_EN_00 http://slidepdf.com/reader/full/krones-docen00 1/25  KRONES AKTIENGESELLSCHAFT D-11-E0-0-03-64 Service Documents Software Documents Type Management Using the zenOn Touch Version: 1.0 Update: 05.2004 These documents are intended for trained professionals only. These professionals must guarantee personal safety and the prevention of machine damage during any operations. Appropriate safety instructions for other persons have not been provided.

Upload: shabbir

Post on 24-Feb-2018

356 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 1/25

 

KRONES AKTIENGESELLSCHAFT

D-11-E0-0-03-64

Service Documents

Software Documents

Type Management Using the zenOn TouchVersion: 1.0Update: 05.2004

These documents are intended for

trained professionals only.

These professionals must

guarantee personal safety and the

prevention of machine damage

during any operations.

Appropriate safety instructions for

other persons have not been

provided.

Page 2: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 2/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 2 / 25

Table of Contents

1 Introduction ........................................................................................................................ 3

1.1 Requirements.............................................................................................................. 3

1.2 Background of the Type Management System ..........................................................3

1.3 Overview .................................................................................................................... 4

1.4 Screen Images Parameter ........................................................................................... 5

2 Type Change-over Screen Images...................................................................................... 6

2.1 Production Data Image............................................................................................... 6

2.2 Type Selection............................................................................................................7

2.3 Selection Filters ..........................................................................................................8

3 Type Management Screen Images ...................................................................................10

3.1 Selection Screen ....................................................................................................... 10

3.2 Define Customer Objects .........................................................................................113.3 Create new Type....................................................................................................... 12

3.4 Copy Type ................................................................................................................13

3.5 Rename Type............................................................................................................14

3.6 Delete Type .............................................................................................................. 15

3.7 Learn Type ............................................................................................................... 16

3.8 Import / Export ......................................................................................................... 17

3.9 Backup Data Directory............................................................................................. 18

4 Parameter Management Screen Images ........................................................................... 19

4.1 Recipe Editor............................................................................................................19

5 Type Management Files ................................................................................................... 20

5.1 Data Directory ..........................................................................................................205.2 File Format ...............................................................................................................21

5.3 Customer Objects File .............................................................................................. 21

5.4 Recipe Names File ................................................................................................... 22

5.5 Recipe File................................................................................................................ 23

6 Working with Recipes ...................................................................................................... 24

6.1 Create, Load, Restore ............................................................................................... 24

6.2 For Service and Commissioning Engineers .............................................................24

6.3 Create and Set up a new Type..................................................................................25

Page 3: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 3/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 3 / 25

1 Introduction

1.1 Requirements

• The new zenOn visualisation system is used to save and manage type parametersfrom the PLC as recipe files on the visualisation computer.

• During type change-over, the parameters from one of the previously saved recipefiles are downloaded and the new values are transferred to the PLC.

• The type names are displayed in plain text and can be changed by the customer.

• The recipes are saved as text files and can be processed off-line.

• The recipes can be imported/exported from/to a disk for backing up data, for externalprocessing (editor, Excel, Access) or for the transfer to another machine.

1.2 Background of the Type Management SystemThe type management system is used to save production-specific parameter records. Theseparameters can, at the same time, depend on several criteria (customer objects), e.g.,

• container

• weight

• colour.

Each independent criterion is identified by an unambiguous number ("type number"). Thecombination of the individual independent criteria yields a code which clearly identifies theparameter record (recipe) for a specific production process. In addition to the individualcriteria ("type numbers") and the combination ("type code"), the corresponding type namesand the name of the recipe are saved in plain text on the touch-screen computer.

Figure 1 The combination of the independent "type numbers" yields the "type code".

001 container A

002 container B

001 weight: 1.0g

002 weight: 2.0g

001 colour: red

002 colour: blue

001-001-001 container A, weight: 1.0g, colour: red

001-001-002 container A, weight: 1.0g, colour: blue

002-001-001 container B, weight: 1.0g, colour: red

002-002-001 container B, weight: 2.0g, colour: red

Page 4: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 4/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 4 / 25

1.3 OverviewThe type management is used to save process parameters as files on the touch-screencomputer, or to download these parameters from the files saved there to the PLC (accordingto file operations). The currently used process parameters (which are active in the controlunit) are in the working database of the PLC and are not automatically saved as a recipe file

on the touch computer.

Changeable storage medium

Disk drive

PLC

PowerPanel

Type

management

Ethernet

Laptop

Figure 2 Type management overview

Type parameters are saved in separate recipe files on the CompactFlash of the controlpanel. The file name comprises of the unambiguous type code and the file extension .rcp (e.g., 001-001-001.rcp).

The Krones type management system is part of the machine-specific reference projects andcan be flexibly adapted and expanded if necessary. The common screens are used in thethree fields of application: type change-over, type management and parameter management.

Page 5: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 5/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 5 / 25

1.4 Screen Images ParameterThe conventional screen pages for the viewing and processing of type parameters in thePLC are still provided in the visualisation. As a rule, changes on these screen pages have animmediate effect on the PLC.

Important: However, changed values are not recorded in the recipe file unless they havebeen transferred by pressing "Save" in the Type selection screen image. Without saving, thechanges will be lost when the next recipe is loaded.

Page 6: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 6/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 6 / 25

2 Type Change-over Screen Images

2.1 Production Data Image

The type designations are displayed in plain text in the production data screen image. Thetexts are saved on the visualisation computer and can be adapted by the customer. Theoperator can use the push-button on the left next to the type name to go to the type selectionscreen image.

Page 7: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 7/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 7 / 25

2.2 Type Selection

The type selection includes a list indicator of the types which are available. The current typeis highlighted and displayed on top. The type code precedes the type name. The type codecomprises a combination of the type numbers for, e.g., containers.

The "Load" push-button can be used to download the parameters from the recipe file and totransfer them into the PLC database. During loading, an animated progress bar is displayedat the bottom border of the image.Note: The old parameters are not saved automatically! 

Use the "Save" button to upload the parameters from the PLC working database and to save

them in the corresponding recipe file on the CompactFlash. During saving, a backup copy ofthe last status with the file extension .bak is always created.

You must not exit the screen page during loading and saving, that is why the push-buttonswill not be displayed by the PLC during this process.

Use the "Type management" button to go the the selection screen of the type management.

Page 8: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 8/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 8 / 25

2.3 Selection Filters

The list which is displayed can be restricted by the type numbers. To do so, you can use thefilters (here: weight) on top of the list. A window showing a list of all entries can be openedwith the arrow button. The selection remains visible in the text field, once the window hasbeen closed with OK. The use of a pre-selection makes the type change-over clear andcomfortable, even if a large number of recipes has been provided for the machine.

Page 9: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 9/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 9 / 25

Figure 3 Type selection with filtered list

To remove the filter, select the top entry (empty line) in the list of filters.

Note: If no appropriate recipes have been found for the selected filter criteria, an emptyselection list will be displayed. Just reset the filter criteria as described.

Page 10: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 10/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 10 / 25

3 Type Management Screen Images

3.1 Selection Screen

The "Change/add" push-buttons on the left can be used to define the type numbers and thedesignations of the individual customer objects (criteria: container, weight, colour, labelsetc.).

The functions to combine the individual types/criteria to form new recipes and the commonfile operations are called up in the middle row.

Methods for importing/exporting the recipes to a disk are offered on the right.

In the control bar, you can go to the recipe editor and back to the type selection.

Page 11: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 11/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 11 / 25

3.2 Define Customer Objects

 A list displays the customer objects that have already been defined. Enter an unambiguoustype number and any designation in both entry fields at the bottom. An existing designationcan also be changed subsequently here.

Use the "Transfer" button to transfer the entry into the list.With the "Delete" button, the selected entry can be removed from the list.

Note:

• The type number must be unambiguous. Several entries with the same number arenot permissible.

• Type number 0 (zero) is invalid.• The name that has been assigned is used as a reference for recipes to be created

("Add type" screen image) and as a criterion in the selection filters ("Type selection"screen image).

• If the name is changed subsequently, the corresponding part of the name is notautomatically adapted in the existing recipe names.

o The respective recipe names must be adapted individually ("Rename type"screen image).

o  A more comfortable way is to export the Type.lst file to a disk ("Import/export"screen image) and to process the recipe names provided on the notebook,e.g., using the "Search and Find" function in the Windows Editor.

Page 12: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 12/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 12 / 25

3.3 Create new Type

You can compose new types from all existing customer objects in the selection lists. Whendoing so, an unambiguous, not changeable type code will be created, which is then used forfile management. Even a combination of the type names is suggested as a new designationfor this recipe. The plain text designation can be changed here. The name can be changedsubsequently in the "Rename type" screen image at any time.

Note: If, for example, recipes for the new colour "green" are to be created, the list of coloursmust first of all be amended by the entry "003 colour green" in the "Change/add colour"screen image. Once this has been entered, new recipes can be created for the "green" type.

Page 13: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 13/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 13 / 25

3.4 Copy Type

During copying, two existing recipes are selected and the contents of the source file aretransferred to the target file.

One recipe each must be selected in the source and in the target list. The selected recipe file(source) is then copied to the target file.

Page 14: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 14/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 14 / 25

3.5 Rename Type

The recipe name from the list which is displayed can be changed subsequently in the entryfield at the bottom. The type code is not changeable.

Press "Rename" to transfer the change into the list.

Page 15: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 15/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 15 / 25

3.6 Delete Type

The selected type is finally deleted.

Page 16: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 16/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 16 / 25

3.7 Learn Type

The "Learn" function can be used to upload the current parameter values from the PLCworking database into any target recipe, i. e. the selected recipe "learns" the parametervalues from the PLC. Learning corresponds to the principle of a "Save as" operation with thePLC being the data source and any target file.

Notes:

• In contrast, the "Save" function in the "Type selection" screen image saves the PLCparameter record only in the corresponding recipe file of the currently selected type.

• The recipe of the current type cannot be changed by the "Learn" function.

• For information, the current type is displayed yellow on top of the image.

The "Learn" function can be used to quickly create a series of recipes for similar typeswithout having to copy reference recipes in an elaborate way prior to changing the type.

Note: Once a recipe has been created with the "Learn" function, either the recipe thathas been learned last or the currently displayed recipe must be loaded in the "Typeselection" screen image. During set-up, the currently displayed type in the productiondata image does not correspond to the parameter record provided in the PLC!

Page 17: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 17/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 17 / 25

3.8 Import / Export

The import/export functions for the recipe files can be found on the general screen page forthe central data import/export.

Use the export push-button to copy all recipe files and type name files of the typemanagement system from the touch computer to a disk.The import push-button can be used to copy the saved files from the disk back to the touch-computer.

Note: All recipes are always exported and imported. All existing recipes with the samename will be overwritten during import. 

It is better to keep the disks a few seconds longer in the disk drive, so as to ensure that thedownload/upload operation has really been completed (LED on the disk drive will beextinguished).

Page 18: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 18/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 18 / 25

3.9 Backup Data DirectoryIndependently, the panel manager can be used to completely backup and restore data of thetype management system in the form of a packed archive (> Screen image selection >System > Panel manager).

When a data archive is being restored from the disk, the current contents of the datadirectory will be deleted first, and then the archive will be unpacked. Thus, the exact state ofthe directory at the time of the backup is restored.

Note: Types which have been newly created meanwhile and all other changes will belost.

Page 19: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 19/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 19 / 25

4 Parameter Management Screen Images

4.1 Recipe Editor

The recipe editor can be used to process recipes or parameters independently of the controlsystem (i. e., off-line).

To open a recipe, first of all go to the adjacent data directory in the file dialog and enter *.rcpas a file name (filter).

Changes in the list which is displayed will not be restored in the file until the "Save recipe file"push-button has been pressed.

Only the actual value is to be processed with this editor. For a complete description of the fileformat, please refer to the next section.

Note: Make sure to save the data directory before working with the recipe editor.(Refer to the export or panel manager description in the previous section.) 

Page 20: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 20/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 20 / 25

5 Type Management Files

5.1 Data Directory

The type management files reside in the data directory of the Zenon folder:

• D:\Zenon\Data with XP Embedded

• \harddisk\zenon\Data with CE.NET.

The data directory includes the order-specific recipes in *.rcp files.Type codes and the corresponding type names are saved as *.lst files.

Note: Prior to overwriting a file during the restoring of a recipe, a copy is automatically saved

as a bak file. If necessary, the old status can be restored in the service mode using theWindows Explorer, or it is possible to trace the last changes.

Furthermore, the master recipe 000-000-000.rcp also resides in this directory. It can be usedas a source template for the creation of new recipes and as a reference for the validity checkof data structures of the other recipe files during loading and saving.

The machine configuration M01.rcp is also saved in the data directory. It is always saved andrestored on the disk together with the recipes.

Page 21: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 21/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 21 / 25

5.2 File FormatThe type management files are provided as text files and can be viewed with eachconventional editor. All files have a header with important file information such as, e. g., date and time of the laststorage, a continuous counter for each storage and further file-specific information.

Comments: The single quotation mark (‘) at the beginning of the line is used as a commentsign. This line will be ignored during the download.

5.3 Customer Objects File

This file contains the customer objects that have been created. There is a separate file foreach type criterion. It is used as a reference for the creation of new recipes and for the recipelist filter in the type selection.

Note: The blank in the line above the first list entry is important. It creates an empty list entryin the filter list which can be used to reset the filter.

Page 22: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 22/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 22 / 25

5.4 Recipe Names File

This file contains a list of all recipes that have been created. For each recipe, the list includesthe combined type code and the recipe name in plain text.

Page 23: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 23/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 23 / 25

5.5 Recipe File

This file contains the parameter record for the corresponding recipe. The file namecorresponds to the type code. Apart from the usual information, the file header includes therecipe name in plain text.

The parameter record starts with the name of a zenOn variable, e.g., [O_TYPE01_DB51],which is linked with the type parameter database in the PLC.It is followed by lines with the corresponding parameters. Each line includes, separated by

semicolons (;), the parameter name (from the PLC programme!), data type, standard valueand current value of the parameter.

This sequence of zenOn array name and parameter description can be repeated ifnecessary.

Page 24: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 24/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

Software Documents Type Management on the zenOn Touch Page 24 / 25

6 Working with Recipes

Type parameters are saved in separate recipe files on the CompactFlash of the controlpanel. The file name comprises of the unambiguous type code, the file extension .rcp (e. g.,001-001-001.rcp), and not the plain text name.

6.1 Create, Load, RestorePrior to the creation of new recipes, the individual type numbers must be defined for eachpart of the type code in a separate step: e.g., 001 container A. A new recipe is created by combining the previously defined type numbers to form a newcode, e.g, 001-001-001 container A, weight: 1.0 g, colour: red.

• The recipe must be created in the recipe management system before a parameterrecord for a "new" type can be saved.

• The corresponding customer objects (type numbers) must have already beendefined, in order to be able to create a new recipe.

• 0 (zero) as a type number is not permissible.•  A new type which has been created in the recipe management is not filled with valid

data and cannot be selected. Only a new, empty file with standard values has beencreated on the touch computer.

• It is not possible to create 2 recipe files with the same 3 criteria.

• Type numbers and recipe code can not be changed subsequently. A recipe file whichhas been created cannot be renamed subsequently.

• The type and recipe designations (plain text) in the touch computer can be renamed.The plain text name is only an addition in the touch computer.

•  A new recipe can only be selected by loading!

• The current process parameters in the PLC are overwritten with the recipe from

the touch computer during loading. If required, restore changed values of thecurrent type from the PLC into the recipe on the touch computer before! 

• Restoring is possible for the currently selected recipe only!

• To save a parameter record as one other than the current type, use the followingfunctions:

o "Copy type": off-line file operation with recipe, oro "Learn type": on-line from the PLC into any target recipe.

6.2 For Service and Commissioning Engineers

• When a new project is imported using the panel manager, the old type files will be

overwritten.• If valid recipes have already been saved in the machine, these must be backed up

(exported) before!

• The new project can be imported then. Afterwards, the backed up type files must bere-imported.

• Data can be backed up in two different ways:o Backup/install data using the panel manager (zipped)o Using the import/export screen image (unzipped with log file *.log).

Page 25: krones doc_EN_00

7/24/2019 krones doc_EN_00

http://slidepdf.com/reader/full/krones-docen00 25/25

KRONES AG R & D Dept., Visualisation As of: 05.2004

6.3 Create and Set up a new TypeCorrect procedure:

• One type completed: restore (if not yet done and only if necessary).

• Create new recipe.

• Fill new recipe with data:

o When starting from the very beginning, this type can be loaded to the PLC,however, all settings will be lost!or:

o When starting from the current status, the type to be newly selected must befilled with the current parameters before it is loaded. There are two ways toproceed:

Create type, fill type by copying (copy from previously restored tonewly created type) and then load!or:

Create type, fill type by learning with current PLC settings and thenload.

Frequent mistakes:

• New process parameters are set for the machine to change the product (or to createa new type).

• However, a wrong (old) type is still set in the touch computer (new types have notbeen created and loaded yet).

• In order to back up the newly set parameters now, i. e. to restore them in a new typefile on the touch computer, this data must not be restored to the selected type in the"Type selection" screen.

• To do so, create a new type on the touch computer, have it learned first (!) and thenload it. This is the only way to be able to properly restore data to this type at a laterpoint in time.

• If the new type is only created but not learned and then loaded to the PLC, all settingswill be lost because a newly created recipe is always "empty" (i. e. standard values ofthe master recipe 000-000-000.rcp) or invalid.