SD Wind e
SD Wind e
1
Preface
2
Introduction
SIMATIC HMI Installing and
3
configuring ProTool
6
User’s Manual Testing projects
Documenting and
7
managing projects
A
System limits
SIMATIC HMI
B
documentation
C
Abbreviations
Glossary, Index
6AV6594-1MA05-2AB0
Release 12/99
Trademarks The registered trademarks of Siemens AG are listed in the Preface.
Some of the other designations used in these documents are also registered
trademarks; the owner’s rights may be violated if they are used be third parties
for their own purposes.
Distribution or duplication of this document, commercial exploitation or The content of the printed document has been checked for consistency
communication of its content is prohibited unless expressly authorised. with the hardware and software described. The possibility of inaccuracies
Violation of these conditions shall render the perpetrator liable for can nevertheless not be entirely eradicated as a result of which no
compensation. All rights reserved in particular with respect to the guarantee of absolute accuracy is offered. The information in this
issue of patents or registration of trademarks. document is regularly checked and any alterations found to be necessary
included in the subsequent revisions. All suggestions for improvements
Siemens AG gratefully received.
Automatisierungs- und Antriebstechnik
Bedien- u. Beobachtungssysteme Copyright © Siemens AG 1999
Postfach 4848, D-90327 Nuremberg Subject to alteration on the basis of technical modifications or advances.
C Abbreviations.............................................................................................. C-1
Index............................................................................................................ I-1
Trademarks
The following names are registered trademarks of Siemens AG:
• SIMATIC
• SIMATIC HMI
• HMI
• ProTool/Pro
• ProTool
• ProTool/Lite
• ProAgent
• SIMATIC Multi Panel
• MP270
• SIMATIC Multifunctional Platform
Contents
This manual provides all the information you require to
• install and configure ProTool
• configure your operating unit to suit your installation
• upload the executable project file to the system and test it
• manage your project
1.1.1 History
1.1.2 Notation
There are a number of character formats used in this manual to assist reader
orientation.
File → Edit Menu items are printed in italics. Succeeding levels are
separated by arrows. The complete sequence of menu
items leading to the final menu item required is always
shown.
Messages dialog The names of dialog boxes, tabs and buttons are printed
box in italics.
Nuremberg
Johnson City
Singapore
Note
No license is required for the following devices: TP170A, MP270, OP37/Pro, FI25,
FI45, PC670 and PC670T.
ProTool/Pro CS
PC
ProTool/Pro RT
PLC
PC
Offline configuration
With ProTool you create and edit your projects offline. The device need not yet be
available at this time. The configuration computer displays the configured project
data as it will subsequently be displayed on the device.
On completion of configuration you can download the executable project file from
the configuration computer to the device.
PLC drivers
ProTool is shipped as standard with drivers for the following PLCs:
• Siemens PLCs
− SIMATIC S5
− SIMATIC S7
− SIMATIC 505
− SIMATIC WinAC (version 2 or higher)
• OPC network
• PLCs of other manufacturers:
− Allen-Bradley DF1
− MITSUBISHI FX
− Telemecanique Uni-Telway
Sample projects
ProTool is shipped with ready-made sample projects for different PLCs.
Specially for Windows-based systems, there are examples for SIMATIC S7-
300/400 for the PC and MP270.
The examples are located in the ProTool directory under ..\SAMPLES. The
directory also contains the associated PLC programs. The sample project and PLC
program are matched to each other.
Libraries
Once ProTool is installed, the following libraries are available to you in the
..\Library directory:
• PC-Dynamic-Objects.lib
• PC-MP-Pipes-and-more.lib
• PC-MP-Switches.lib
• Symbol-bmp.lib
In ProTool, you open these libraries in the screen editor with Edit → Libraries →
Open.
If you are not all that familiar with the ProTool/Pro visualization software, we would
recommend you read this brief introduction and get started with ProTool/Pro with
the help of the example. The printed version is enclosed with this manual.
System requirements
The following table shows the recommended system requirements for running the
ProTool configuration software.
Configuration Recommendation
CPU Pentium 133 MHz
Main memory 64 MB
Free hard disk space 150 MB for ProTool/Pro CS
20 MB for ProTool/Pro RT
5 MB for every further language
Drive CD-ROM
Operating system Microsoft Windows 95 with Service Pack 1
(Build 950a)
Microsoft Windows 95 OSR 2 (Build 950b)
Microsoft Windows 98
Microsoft Windows NT 4.0 with Service
Pack 3
Microsoft Windows 2000
Remark
Service Pack 1 must not be installed on a Windows 95 OSR 2 (Build 950b) or
higher.
Integration in STEP 7
If you have STEP 7 programming software as of V4 on your computer, you can
also install ProTool integrated in STEP 7.
This has the following advantages:
• You manage ProTool projects using SIMATIC Manager (i.e. the same
management tool that you use for your STEP 7 projects).
• You can select STEP 7 symbols and data blocks from the S7 symbol table as
tags. The data type and address are entered automatically.
• ProTool lists all the PLCs in your STEP 7 project and, once a PLC has been
selected, determines the associated address parameters.
• In STEP 7 you can configure ALARM_S messages and output them to the
operating unit.
Selecting languages
The installation program prompts you for the options and languages to be installed.
If you wish to install several languages simultaneously, select the User defined
option when you are installing. You can then change the ProTool language later
without having to reinstall ProTool by opening Start Menu→ Simatic → ProTool CS
→ ProTool Setup. During installation you specify the language that you want to be
active after installation.
Uninstalling ProTool
On the Windows start menu at Settings → Control Panel → Software, choose
ProTool and installed options from the and click Add/Remove.
Starting ProTool
After ProTool has been installed, you will find a folder on the Start menu called
Simatic, in which the following symbols are available:
ProTool Pro CS
ProTool ReadMe
ProTool Setup
ProTool Pro RT V5.20
ProTool Pro Disk - Transfer
ProTool Pro RT
Requirements
If the PLC you are using is a SIMATIC S7 and you have installed STEP 7
configuration software on your system, you can integrate ProTool in STEP 7.
Note
Conversely, projects created with ProTool on an integrated basis must on no
account be edited with ProTool on a stand-alone basis. If they were, the connection
to the STEP 7 symbol table would be lost.
Starting ProTool
Start ProTool directly under Windows. Choose File → New. This opens a dialog
box in which you select a STEP 7 project and create a ProTool project in it. You
then select the operating unit.
Objective
To operate and monitor a machine or process. To do this, you map the machine or
process on the operating unit as accurately as is necessary.
System configuration
Communication takes place between the operating unit and the machine or
process by means of tags via the PLC. The value of a tag is written to a memory
area (address) on the PLC, from where it is read by the operating unit.
The following diagram provides an overview of the fundamental structure:
Communication
by means of tags
Operating unit PLC
Machine,
Printer process
A typical structure
Screen 2
Start
Screen 1
screen
Screen 3
Screen n
You can create a number of screens with display elements and controls, for
switching between screens, for example, for the user interface with which the
operator is subsequently faced on the operating unit.
2. Process data entry and transfer
In order to enter process data or set new values, you configure input/output
fields, for example. This is also possible as a symbolic display.
3. Process state reporting
To enter and log or archive process states and operating modes on the
operating unit, you configure messages.
4. Defining communication areas
A defined address area on the PLC for data interchange with the operating unit
is addressed by means of an area pointer.
The number of area pointers available varies depending on the selected
operating unit (refer to Setting up area pointers (Chapter 4.5)).
Note
If you maximize the project window, tabs are displayed for the open windows along
the bottom border to enable you to change easily from one window to another.
Select the PLC driver with the project assistant in the Select PLC dialog box.
You can also define or later edit the parameters there if you select PLC Properties
in the project window.
• Allen-Bradley DF1
• MITSUBISHI FX
• Telemecanique Uni-Telway
The operating unit’s display area can be split into different areas.
Fixed window
Basic area
The basic area covers the whole screen. All the other areas are superimposed on
parts of the basic area. The position and size of the basic area cannot be changed.
Screens are configured in the basic area. The contents of the basic area thus
change depending on the screen that is called.
Fixed window
A fixed window is a window that is always displayed. It uses up part of the basic
area. The fixed window can be switched on or off under Screen/Keys. If it is
switched on, it is displayed during screen configuration and thus reduces the size
of the area available for screens. The size of the fixed window can be changed,
but its position is always the same at the top of the screen. The fixed window is
configured with the Screens editor.
Message indicator
The message indicator is a symbol indicating alarm messages that are still
applicable on the operating unit. You can switch the message indicator on or off by
choosing System → Screen/Keys. You cannot change the size, but you can the
position.
Message line
The message line is the area in which alarm and event messages are displayed.
You can switch the message line on or off by choosing System → Screen/Keys.
You can change the position of the window.
PC → OP37/Pro, MP270
TP070 → TP170
TP170 → TP070
Note
Global function key assignments and configured area pointers are not copied.
Configure these again after copying to the destination device.
You can find information about copying objects under the heading Copying objects.
You want to convert an OP37 project for a standard PC and use a different
connection.
If you are using the same PLC, the tag addresses may be discarded even when
changing the connection type.
To prevent this, follow the sequence given below:
Principle
You can cut or copy selected parts of your project and paste them via the
clipboard. For example you can copy text and fields from the alarm message
editor to the event message editor, or graphic elements from one screen to
another.
The prerequisite for successful copying between projects is that the system limits
of the destination project must not be exceeded.
Procedures
There are two ways of pasting objects from the clipboard to the destination project:
• Menu command Edit → Paste
The object is pasted from the clipboard to the destination project. If there is
already an object of the same name in the destination project, the object is
pasted under a new name.
• Menu command Edit → Paste Special
Only objects that are different are pasted. If there is already an identical object
of the same name in the destination project, this is used. If there is an object
that has the same name but is not identical, the object from the clipboard is
pasted under a new name. You can utilize this copying variant to make the
destination project the same as the source project, for instance.
Note
In the case of both Paste and Paste Special, ProTool always checks the underlying
objects (such as the limit value tags of a tag which has been copied) to ensure that
existing objects are reusable.
If there is already an object of the same name in the destination project, the object
to be pasted will be renamed if necessary. It is given the next available name in
the destination project.
Example:
Tag VAR_4 will be renamed VAR_11 if tags VAR_1 through VAR_10 already exist
in the destination project.
What is copied?
You can copy the following via the clipboard:
• All objects listed in the project window, such as screens, text or graphic lists,
tags etc.
• Objects from screens (trends, fields, graphics etc.) in the screen editor.
• Messages and objects from messages (message text, fields, info text etc.) in
the message editor.
An object is copied complete with its attributes and all cross-referenced objects.
Special situations encountered during copying are reported in the system message
window under Clipboard. This gives you information about any objects that have
not been copied or renamed, for example.
Purpose
During configuration, it may become necessary to cancel actions which have been
performed, or to reconstruct actions which have been discarded. The two
commands Undo and Redo in the Edit menu are used for this purpose.
• Undo
The Undo command (key combination Ctrl-Z) cancels the last action
performed. If you keep selecting the command, you can cancel up to 30
successive modifications.
• Redo
The Redo command (key combination Ctrl-Y) revokes the last action canceled
thus restoring the status before the last Undo command was executed.
Principle
Each active editor (project window, screen editor) has its own undo history. Thus,
for example, if three screens are opened at the same time, three separate Undo
Histories will be created. When a screen is closed, the actions listed in the
accompanying History are deleted. When the project is saved, all the Undo
Histories for the current project are deleted.
The last recorded action is displayed in abbreviated form in the menu. The Tooltips
contain more detailed texts for the Undo and Redo buttons and for the status bar.
Example:
• Menu
Undo: VAR_5 edited Ctrl-Z
Redo: PIC_2 edited Ctrl-Y
• Tooltip/Status bar
Undo: property edited of tag VAR_5
Redo: contents edited of screen PIC_2
Until the accompanying Undo History is deleted, deleted objects will continue to be
listed in the cross-reference (Chapter 4.8.1) as used objects. The status of these
objects is given in brackets after each object, e. g. PIC_5 (deleted).
General Information
The commands Undo and Redo only work with actions taken since the last time
the project was saved. If, for example, you move a screen object and then save
your project, you cannot later cancel this action.
These are some of the rules that apply to Undo/Redo:
• Settings in dialog boxes (properties of a field) can only be canceled in their
entirety. It is not possible to open the dialog box and discard individual entries.
• With multilevel dialog boxes, only changes to the primary object are recorded.
Modifications to underlying objects, or creations or deletions cannot be
reversed.
Example (project window):
Editing tags → Editing limit tags.
Only the tag changes can be reversed here.
• Undo/Redo is ProTool-specific. With a project integrated in STEP 7, the Undo
buffer cannot be accessed by a higher-level Step 7 Undo Manager.
To undo your last action in ProTool, choose one of the three following options:
• Choose the Edit → Undo menu command.
The last action that can be undone (canceled) is shown in abbreviated form
after the menu command. A longer description is given in the status bar.
To redo your last canceled action in ProTool, choose one of the three following
options:
• Choose the Edit → Redo menu command
The last canceled action is shown in abbreviated form after the menu
command. A longer description is given in the status bar.
The following tools are available to you for displaying or storing information on a
project.
• Cross-references
• Project information
Usage
When you have to add to or modify a project and need to check where and how a
particular object is used in your project, you open the Cross-Reference window.
You select an object in this window, and all the references to this object in the
project are then displayed to you.
The selected object is at the uppermost level, and all the objects in which the
selected object is used appear under it. The cross-reference list also contains
object in the current undo history (Undo actions (Chapter 4.7.5)). The status of
these objects is shown in brackets behind the object concerned - for example,
PIC_5 (deleted).
Tip
You can use the Cross-Reference window efficiently for troubleshooting.
To obtain information about a project when projects change or are adapted, open
the Project Information dialog box. To do so, choose File → Project Information
from the menu.
The Project Information dialog box displays general project data and the memory
required by the project. Project information is spread according to subjects over
three tab controls:
• General
• Description
• Statistics
General
The General tab control shows information on the device type, project name, path
name of the stored project file and creator of the project. You fill in the Creator
field and all the other fields are updated automatically by ProTool upon saving the
project.
Description
The Description tab control contains an input field for the project description. Here
you can enter any information you like that are important for your project.
Statistics
The Statistics tab control shows when the project was created, modified, generated
and downloaded, the ProTool version last used to edit the project and the memory
required by the project after it has been downloaded to the flash memory on the
operating unit. The memory requirement is determined and displayed following
the first download operation.
Example
Screens are an image of the process. You can display processes on screens and
specify process values. The figure below shows an example of a mixing unit for
producing different juices. Ingredients are filled into a mixer from different tanks
and then mixed. The liquid levels in the tanks and in the mixer are displayed. The
intake valves can be opened and closed by means of the operating unit. The
motor for the mixer can be turned on and off in a similar manner.
Quantity in Valve 4
mixer (l)
to bottling machine
Help ESC
off on
Components of a screen
A screen can consist of static and dynamic components. Static components -
for example, text and graphics - are not updated by the PLC. Dynamic
components are linked to the PLC and visualize current values from the PLC
memory. Visualization may take place in the form of alphanumeric displays, trends
and bar graphs. Dynamic components are also inputs made by the operator on the
operating unit and written to the PLC memory. The link to the PLC is established
by means of tags (refer to Using tags (Chapter 5.3.1)).
Screen editor
Screens are created with a separate editor in ProTool. The operating unit is
displayed when you call the screen editor. Open the screen editor by:
• double-clicking on Screens in the left half of the project window to create a new
screen
• double-clicking in the right half of the project window on an existing configured
screen to open the screen for editing.
You can zoom this display in and out by choosing View → Zoom from the menu. If,
for example, you wish to edit details you can do it much more simply by zooming
in on them.
Screens are stored under a symbolic name. You enter a name by choosing Edit →
Properties from the menu. This name has to be specified when you edit, reference
or delete the screen. In addition, screens are numbered automatically.
Start screen
Declare one screen in every project as a start screen. The start screen is the
screen that is displayed after the operating unit has started up.
To identify a screen as the start screen, select the screen and assign it as the start
screen by choosing Edit → Properties from the menu.
Fixed window
The fixed window is the window that is always flush with the top border of the
operating unit screen. By choosing System → Screen/Keys from the menu, you
can open and close the fixed window and adjust its height by dragging with the
mouse. Since the contents of the fixed window do not depend on the current
screen, you can output important process tags or the date and time to it,
for example.
You configure the contents of the fixed window in the screen editor. To access the
fixed window, click it with the mouse.
Soft keys/buttons
Soft keys are function keys configured for specific screens (refer to What are
function keys? (Chapter 5.2.7)). Buttons are virtual keys on the operating unit
screen (refer to What are buttons? (Chapter 5.2.10)). You can configure both soft
keys and buttons for specific screens. When configuring, you assign functions to
these controls. You can illustrate the task of a control by means of a graphic or
text.
You can use soft keys and buttons to open another screen, turn a motor on and off
or display the message buffer, for example.
Selecting screens
Every configured screen has to be integrated into the control process so that it can
be opened at runtime on the operating unit. The Select Screen function is
available for this purpose. You an assign this function to an input field, a function
key or a button, for example. You specify the name of the screen as the
parameter. This means that a screen can be displayed by means of an input field
or a function key or button.
With input fields, soft keys and buttons, the function can be used only locally on
that screen. Should you wish the function to be available globally, you have to
configure the function on a globally assigned function key or on a button
positioned in the fixed window.
Screens consist of individual objects. There are different types of object, which you
can use at will when configuring a screen. "At will" means that you determine the
number and type of the objects, as well as their position and size.
The following table gives you short descriptions for the most important screen
objects. Not all the screen objects listed here are necessarily available for every
destination device.
Output field With the output field you can display process
values directly. Different display formats - for
example, decimal and binary - are possible.
There are a large number of formatting
options, such as 3D effects, colors, flashing
etc.
Input field With the input field, you can enter values of
different formats directly on the operating
unit. You can, for example, set limit values
for the input, or protect the input field with a
password.
Date/Time With Date/Time you can display and set the
system time numerically.
Symbolic output field Instead of a numerical value, a symbolic
output field displays a text or a graphic to
make the current status more
comprehensible to the operator.
Example:
Instead of the values 0 and 1, you can
output the texts Motor OFF and Motor ON
on the operating unit.
List box In list boxes, you select a piece of text for
entry from the text list to make the setting
more comprehensible for the operator.
Example:
Instead of the values 0 and 1, you can
output the texts Motor OFF and Motor ON.
Graphic list The graphics list displays a graphic from a
list, to make the current status more
comprehensible to the operator.
Example:
Instead of the values 0 and 1, you can
display a graphic for a closed valve and a
graphic for an open valve.
Purpose
In this way, libraries extend the amount of screen objects available: by repeated
and frequent use of "finished parts", you increase the effectiveness of your
configuration.
Standard libraries
Once ProTool is installed, the following libraries are available to you in the
\Library directory:
You can add further libraries to this directory yourself and then use them in
ProTool. Files must be of the *.lib type and have the same format as a ProTool
library.
Managing libraries
As soon as you open a screen in a project, you have access to the menu
items under Edit → Libraries or to the icon button.
Once you open the first library, the library window on the screen is active. The first
library opened and all those subsequently opened are shown together here, as a
tree structure.
The following functions are available to assist you in managing your libraries:
• Adding additional libraries:
− Add a file which is of the *.lib type and in ProTool library format, to the
\Library directory.
− Use the New menu item in the shortcut menu to create a new, empty library.
Save a library under a different name and then edit it.
• Renaming a library:
Use the Windows functions in the Explorer.
• Restructuring a library:
Edit the overview by dragging with the mouse or by using the Windows
functions.
Use New Folder in the shortcut menu to add a new folder.
To rename folders or library objects, click twice or press F2.
• Deleting library objects or folders: Use the shortcut menu.
• Deleting a library: Use the Windows functions in the Explorer.
Note
You cannot edit a write-protected library.
Tip
If you want to make changes to a library object: in a project paste the object in
question to a screen, edit it there and move it back to the relevant library. Then
delete the original object and give the one you have just added the same name as
the old one.
Color category
You can assign one or more colors to each screen object created in ProTool.
Depending on the screen object, you can configure different colors for the
following color attributes, for example:
• Background
• Foreground
• Exceeding the limit values
Colors
You can allocate a color to each color attribute. Several colors are available to you
for this assignment:
• Default colors
16 default colors are permanently defined and cannot be changed.
• Project colors
You can select 8 project colors from a range of colors, at will. These colors are
globally available throughout the project.
To add additional project colors to your colors, select Tools → Colors from the
menu or in the Colors toolbar, double-click on one of the eight project color
fields in Colors.
• Different colors
For each color attribute, you can also select a personal color from a range of
colors. This color applies to the current color attribute only. It is not globally
available throughout the project.
To assign a personal color, on the Color tab, click the Different Color button.
Purpose
In all screen objects which contain static or dynamic texts, you can assign
parameters to the appearance of the texts, to mark the significance of individual
texts within a screen. For example, you can select the font, the font style and the
font size and set additional effects, such as strikethrough and underscore.
Settings
Make all the settings in the Properties of the relevant screen object on the Font
tab. For screen objects with a number of texts which can be assigned parameters
(for example, message view, status/control, recipe view), you can, for example,
set different font attributes for titles and default text. Which fonts are available will
depend on the destination device set. Which font properties are available will
depend on the font selected.
Note
Text markings, such as font style (bold, italic, etc.), and effects (strikethrough,
underscore) always refer completely to the selected screen object property. This
means, for example, that you can display all the titles within a screen object as
bold, but not the individual letters or words in a title.
The date and time details can be displayed and changed on the operating unit.
Note
The actual date and time format depends on which setting you have selected in
your Windows system.
Purpose
You use display elements to monitor the machine or the system on the operating
unit. You can display current information, such as actual values from the PLC,
process and operating modes and malfunctions, on the operating unit as a
numerical value, in plain language or as a graphic.
You use controls on the operating unit to intervene directly in the process. They
are used, for example, to specify setpoints, trigger functions, open screens (What
are screens? (Chapter 5.1.1)) and acknowledge messages. You can assign a
password level to controls in order to prevent manipulation by unauthorized
persons.
Overview
Two types of display element are available in ProTool:
• Static display elements
Static display elements are pieces of text and graphics that are not linked to the
PLC. They do not react to user inputs and cannot be modified at runtime on the
operating unit. Use static display elements, for example, for system screens or
for textual or graphic explanations for controls and dynamic display elements.
Static display elements are
− Static text ( What is static text? (Chapter 5.2.2))
− Graphics (What are graphics? (Chapter 5.2.3))
− Vector graphic elements (What are vector graphic elements?
(Chapter 5.2.4))
• Dynamic display elements
Dynamic display elements can be linked to the PLC by means of tags. They
visualize current values from the PLC in alphanumeric or graphic form.
Dynamic display elements can change their display spontaneously at runtime
on the operating unit without the operator intervening.
Use dynamic display elements for all tasks associated with monitoring the
process, a machine or the system.
Dynamic display elements are
− Output fields ( What are output fields? (Chapter 5.2.5))
− Bar graphs (What are bar graphs? (Chapter 5.2.9))
Static text is text that is not linked to the PLC. It cannot be modified at runtime on
the operating unit. Use static text, for example, to label controls and output fields.
The relative importance of different text strings on a screen can be illustrated by
means of different fonts and properties (size, color, flashing etc.).
You can configure static text separately for any language available on the
operating unit.
Purpose
Graphics are static display elements that are not linked to the PLC. They cannot
be modified at runtime on the operating unit. Use graphics, for example, for
displaying your system or as explanatory symbolism for dynamic display and
controls
Creating graphics
ProTool features an option of embedding external graphic editors via the OLE
interface. In this way you can create graphics with your usual applications without
having to become familiar with a new graphics program.
Once created, a graphic is embedded in ProTool either as a bitmap or as a vector
graphic, depending on the graphics program you are using.
Tip
To make a graphic so that it can be "operated", configure a button with a graphic
list.
Purpose
Vector graphic elements are vector graphics of simple geometrical basic shapes -
for example, lines, circles and rectangles. By using graphic elements, you can
draw simple vector graphics directly in ProTool without having to use an external
graphic editor. Use vector graphics, for example, for displaying your system or as
explanatory graphics for dynamic display and controls.
Graphic elements can be modified dynamically - in other words, their position can
be modified dynamically at runtime (Dynamic positioning of objects
(Chapter 5.14.7)).
Line
You use this tool to draw different types of line. You can set the color,
width, type and ends of a line. This means, for example, that you can
draw continuous or dashed lines with squared, rounded or arrow-shaped
ends.
Polyline
You use this tool to draw open polylines and polygons. You can set the
color, width and type of a line. With polygons, you can also specify the fill-
in color.
Ellipse/circle
You use this tool to draw ellipses and circles. You can set the color, width
and type of a line and the fill-in color.
Rectangle/square
You use this tool to draw rectangles and squares. You can set the color,
width and type of a line and the fill-in color.
Purpose
Output fields display current values from the PLC on the operating unit. The
values may be output optionally in numerical, alphanumeric or symbolic form.
Symbolic output
Output fields for symbolic values do not display the true value but, optionally, a
text string or a graphic from a text or graphic list. For example, you can store the
two states of a valve in a text list or in a graphic list. When the valve is open, the
output field then points, for example, to the text string OPEN or to a corresponding
graphic.
By using output fields for symbolic values, you eliminate misinterpretations on the
part of the operator to a large extent, since a symbolic value often presents a state
more lucidly than an abstract numerical value, for instance.
Purpose
In input fields you enter values on the operating unit that are transferred to the
PLC. The values may be input optionally in numerical, alphanumeric or symbolic
form. If you define limit values for the input field tag, you can reject inputs on the
operating unit that are outside the specified range of values.
Input fields
In input fields for numerical and alphanumeric values you enter the value one
character at a time on the operating unit. A numerical value, for example, is the
number 80 as the setpoint for a temperature. An alphanumeric value, for example,
is the text string Valve_12.
List boxes
In list boxes you do not enter the value one character at a time but select this
value on the operating unit from a text list. During configuration you assign
symbolic text on the text list to every value of a tag. In this way, for example, you
can turn a motor on and off by means of the two entries ON and OFF.
By using list boxes, you prevent misinterpretations to a large extent, since the
operating unit accepts only the configured values on the text list.
A function key is a key for configuring a function assignment. You can assign one
or more functions to any function key in ProTool. The functions are triggered as
soon as the key is pressed. The function key assignment may be locally or globally
significant. You can assign a password level to function keys in order to prevent
manipulation by unauthorized persons.
Global assignment
Globally assigned function keys always trigger the same function, irrespective of
the current control situation. You can the open a specific screen, for example,
display queued messages or print the contents of the screen.
By using globally assigned function keys, you cut your configuration effort
considerably since you do not have to assign individual functions to global keys on
every screen.
Note
By choosing System → Screen/Keys you can specify global settings for keys that
apply to all screens. The icons appear in each configured screen provided the
settings are not subsequently overwritten by an individual screen. In that case, the
changes apply only to that particular screen.
Local assignment
Locally assigned function keys trigger different actions on the operating unit
depending on the screen. A function key whose assignment may vary from screen
to screen is referred to as a soft key.
Assign soft keys locally in the screen editor. To do this, click one of
function keys F1 to FX on the screen.
For the OP37/Pro you can assign an icon that illustrates the soft key
function by means of text or a graphic to any soft key.
You can also assign soft keys globally. A global assignment is active on all screens
to which you do not assign a screen-specific function. Use globally assigned soft
keys, for example, to change from any screen to the same system screen.
Note
Do not assign functions that have to be permanently available on the operating
unit to soft keys.
Purpose
A trend graphic is a dynamic display element. Trend graphics make possible a
particularly lucid form of continuous display of process data on the operating unit.
You can display several different trends on a trend graphic simultaneously on your
operating unit.
Purpose
A bar graph is a dynamic display element. Bar graphs display a value from the
PLC as a rectangular area. This means that you can tell at a glance on the
operating unit how far the current value is from the limits or whether a specified
setpoint has been reached. Bar graphs can be used to display fill levels or
quantities, for example.
Settings
Bar graphs are linked to the PLC by means of a tag. Apart from this tag, which
contains the value that is required to be displayed, you can define other tags in
order, for example, to visualize when a limit value has been reached or to display
or hide the bar field.
You can freely define the direction, scaling, bar and background color and also
labeling of the Y axis. In addition, you can show limit value lines to indicate limit
values.
The following figure shows a bar that is updated vertically and has limit value lines
drawn on it.
Purpose
A button is a virtual key on the operating unit screen to which you can assign one
or more functions. You operate a button with a pointing device - for example, the
mouse. You can customize the user interface by means of buttons.
Labeling
You can label buttons statically or dynamically with text or graphics.
• Static labeling:
When configuring the button enter a text or select a graphic. This type of
labeling is static, which means that it is not changed on the operating unit.
• Dynamic labeling:
When configuring the button, select a text or graphics list and an associated
index tag. The value of the index tag determines which list element is displayed
on the button at runtime.
Operation
Pressing, clicking and releasing a button triggers the functions that you set for
these events.
If you press a button by mistake and do not want to trigger the function, keep the
button pressed and move the mouse pointer, for example, or your finger (touch
panel) away from the button. This process is not interpreted as a release event.
Invisible buttons
Invisible buttons are transparent buttons that are not displayed upon the operating
unit. If you place invisible buttons on graphics, you can operate parts of the
graphic - for example, a motor or a valve - by clicking the mouse.
Purpose
A status button is a display and input element with two states: ON and OFF or
pressed and not pressed. The operator presses the status button by touching the
touch-sensitive screen or clicking with the mouse.
Consequently you can use the status button to indicate the status of a unit to the
operator, for example, of a motor, which he cannot see from the operating unit. At
the same time, the operator can use the status button to change the status of the
relevant unit himself.
You can configure the status button with or without latching. A non-latching status
button is only "on" for as long as it is pressed.
Display
You have the option to assign text or graphics for both display modes, which then
appear on the status button. The following figures show status buttons in different
modes and configuration variants.
Tag linking
The status button must be linked with a tag of the BOOL or INT type. With a tag of
the INT type, you must also configure the integer value n (≠ 0), which corresponds
to the "ON" status. The table shows which value the tag assumes when the status
button is pressed:
When linked to an integer tag, the status button shows the status "ON" only if the
tag has the configured value n. With any other value, the status "OFF" is
displayed.
Operation
The status button is primarily intended for use on a touch panel, but it can be
operated with the mouse or the keyboard.
• Click the mouse on the status button to operate it.
• On the keyboard, select the status button with TAB or SHIFT + TAB and
operate it with SPACEBAR or Input/Return.
Latching / non-latching
The status button can be configured as latching or non-latching.
• If the status button is configured as latching, it changes to the opposite position
each time it is operated.
Triggered events
If the status of the status button is changed by the operator, this triggers the
following events, to which you can configure one or more functions:
• Switch on: as soon as the button changes to operated status ("ON").
• Switch off: as soon as the button changes to non-operated status ("OFF").
• Status change: each time the status changes.
If the switch status changes because the tag changes, none of the events
described are triggered.
Purpose
A switch is used to input and output a binary status: it can only be on or off. To do
this, it is linked to a tag of the BOOL or INT type. The status "switched off"
corresponds to the value 0 (or FALSE) of the tag linked to the switch. All tag
values which are not the same as zero, are interpreted as "switched on".
Display
You can configure the switch in both the horizontal and vertical directions; the
"ON" position of the switch toggle is freely selectable. You can label the switch and
also visually highlight the current switch status with a background color.
Creating a switch
Tag linking
At the switch, you must configure a tag of the BOOL or INT type. The table shows
which value the tag assumes when the switch is pressed:
When linked to an integer tag, the switch shows the status "switched off" only if the
tag has the value 0. With any other value, the switch is "switched on".
Triggered events
If the status of the switch is changed by the operator, this triggers the following
events:
• Switch on: as soon as the switch changes from "OFF" to "ON".
• Switch off: as soon as the switch changes from "ON" to "OFF".
• Status change: each time the switch status changes.
Purpose
Use a slider control to enter and display numerical values in analog form. To enter
values, move the operator-controllable slider, for example, with the mouse or the
arrow keys, to the desired position. When it is used as a display element, the value
to be displayed is derived from the position of the moving slider.
Settings
The slider control is linked to a tag. When you move the operator-controllable
slider, the corresponding value is written to the tag. Conversely, when the tag
value is changed, so is the position of the moving slider, unless this is just being
changed by the operator.
Apart from the tag containing the value to be displayed/entered, you can define
other tags in order, for example, to modify dynamically the values for the upper
and lower stop at runtime.
You can also configure, for example, the following attributes, in order to adapt the
slider control to meet your individual requirements:
• Labeling
• Axis labeling
• Scaling
• Current value (numerical)
• Bar chart
Display
The example in the figure shows a slider control for setting
and displaying temperature values. The current value (here:
50) is displayed in plain language and also as a bar graph.
Tip
You can also use the analog display screen object for the analog display of
numerical values.
Note
Because scaling is automatic, it may be that two intermediate scale marks will
appear right next to each other (looking like a wide intermediate mark). To undo
this effect, make a minor adjustment to the length of the slider control.
You can also eliminate the scaling display.
Purpose
An analog display presents numerical values as a pointer instrument. You can set
up as many as three areas on the instrument dial, each with different color
backgrounds. This is how to visualize different operating modes, for example,
normal operation, warning area and danger area.
You can also configure the display to include a non-return pointer. At runtime, the
non-return pointer indicates the maximum reached so far by the value to be
displayed.
Settings
The analog display is linked to a tag. When the tag value is changed, the pointer
travel of the analog display is also changed. Apart from this tag, which contains the
value to be displayed, you can define other tags in order, for example, to modify
dynamically the values for upper and lower pointer travel at runtime.
You can also configure, for example, the following attributes, in order to adapt the
analog display to meet your individual requirements:
• Text for the measured quantity (e. g. temperature) and the unit (e. g. °C)
• Angle of rotation of the pointer at minimum and maximum values.
• Different color scale ranges for normal, warning and danger
Remark
The analog display is purely a display element. You cannot use it to enter analog
values on the operating unit. To do this, use the slider control screen object.
Display
The example in the figure shows an analog display to present temperatures.
Use the date/time display to display and change calendar dates and time details on
the operating unit. Date and time displays are language-dependent. It is based on
the format specified by your Windows system.
Tip
To display the time, you can also use the digital/analog clock screen object.
Purpose
A digital/analog clock gives you the option to display the system time in numbers
(digital) or as a clock with hands (analog).
The digital display also includes the current date. The display format is language
dependent. It is based on the format specified by the Windows system of your
destination device.
Remark
The digital/analog clock is purely a display element. You cannot set the time or the
date on the operating unit. To do this, use the screen object Date/time display.
Display
The example in the figure shows an analog clock without a face. The clock
background has been replaced by a separate screen.
Overview
Since tags are the most important means of communication between the operating
unit and the PLC and for exchanging data, a detailed explanation is presented
here of what tags are and what types of tag are used in ProTool.
Definition
A tag has a symbolic name and a defined data type. The value of the tag changes
while the PLC program is being executed.
Tags with a PLC link are referred to as global tags. Tags without a PLC link are
known as local tags.
• Global tags
A tag with a PLC link occupies a defined memory address on the PLC, to which
read and write access is possible from both the operating unit and the PLC.
• Local tags
Local tags are not connected to the PLC. They are available only on the
operating unit. You create local tags, for example, so that the operator can
enter limit values on the operating unit.
Tag types
ProTool recognizes the following tag types (but these are not available on every
PLC):
Updating tags
The acquisition cycle determines the time interval in which the value of a tag is
updated on the operating unit.
Result:
• If 0 is entered for the acquisition cycle, the tag is updated only when a screen is
called and then not updated any more.
• If a value > 0 is entered for the acquisition cycle of a tag, the tag is updated
periodically in the specified time and also when the screen is opened.
System default setting: 1 sec
The acquisition cycle is a multiple of the standard clock pulse, which you configure
for every PLC in the PLC dialog box. You globally modify the acquisition cycles for
all the tags of a project by setting the standard clock pulse.
Array tags
An array tag represents a number of tags of the same type with consecutive
memory addresses. If you wish to define an array tag, enter the number of
elements in the array in the Tag dialog box at Number Elements.
The system default setting is 1, in other words, the tag is not defined as an array.
The maximum number of elements in an array is 640.
Tip
You can use array tags for pattern trends, for example (see ProTool online Help).
Address (Section B)
The address determines the memory location of a global tag on the PLC. The
address therefore depends on the PLC you are using.
The display of the address depends on the PLC you selected. This section of the
Tag dialog box adjusts dynamically to the programmable address areas.
At Options, you set how the values are transferred between the operating unit and
the PLC and updated:
Read continuously:
The tag is updated continuously, even if it is not on the open screen. This is
important with trends. One trend is normally required to be plotted when the screen
is not selected.
5.3.4 Example: How to set the acquisition cycle and the standard
clock pulse
System default setting: standard clock pulse 500 ms, acquisition cycle 1 s.
Set the standard clock pulse in the PLC dialog box. If you increase the standard
clock pulse to 1000 ms, the acquisition cycle for all tags is increased to 2 s.
Tip
In order not to overload communication between the PLC and the operating unit,
the times you set for the standard clock pulse should not be too short. This would
mean that other processes, such as the updating of trends or the execution of PLC
jobs, would take considerably longer.
The scaling is applied logically between the PLC value and the tag - in other
words, the scaled value is already contained in the tag.
It is configured in the Tag dialog box on the Scaling tab.
The tag values are converted in accordance with the following formula:
y = a*x + b.
If you do not configure scaling, the tag value on the PLC corresponds to the tag
value displayed on the operating unit.
7 .. .. 0 7 .. .. 0 7 .. .. 0 7 .. .. 0 7 .. .. 0 7 .. .. 0
Note
The string can be up to 80 characters long.
With Windows-based systems, the possible number of decimal places with the
decimal notation is always 0 to 16.
If yo wish to display tags with decimal places in an input/output field, the tags must
have a suitable format: this differs as a function of the selected PLC:
SIMATIC WinAC
SIMATIC 500/505
Allen-Bradley 0 through 16 REAL
<No PLC> 0 through 16 FLOAT
Definition
With address multiplexing, the address parameters of a tag are modified as a
function of the value of the multiplex tag.
You define the multiplex tag by pressing on the corresponding button next to
the address in the Tag dialog box.
Pay attention to the following when configuring multiplex tags:
• The multiplex tag must not be multiplexed.
• The type of multiplex tag must match the type of address parameter which the
multiplex tag is defining.
The following figure shows the result of the address multiplexing for tags:
Note
Address multiplexing is not possible with ProTool tags used in scripts, because the
tag value is not read immediately from the PLC following changing of the address.
Variable_1 DB 50
DBB [mux]
Byte 0
Byte 1
Byte 2
Multiplex_1
MW 20
Byte n
Windows-based systems offer you the opportunity to archive process data (i.e.
store it permanently and analyze it). You set the trigger condition and the range of
values for archiving a tag in the Tag dialog box on the Archive tab.
You will find more information at Archiving process data (Example: structure of an
archive for tags (Chapter 5.12.5)).
Here you are given an overview of the various functions available to you in
ProTool/Pro CS for editing tag values.
Basically, the contents of the tags can be changed as follows:
• setting the individual bits of a tag
Functions for bit operations are set if you want to switch between two states, for
example, to turn a switch on or off, or to open or close a valve.
• changing the value of the entire tag
Value changes of the entire tag are used if you have to switch between more
than two states (for example, between several languages) or process freely
selectable values (for example, to enter a volume).
• linear scaling of the value of a tag
Linear calculations are used to scale values or to render them relative to an
alternative quantity.
Purpose
Text or graphics are often more meaningful than abstract values. For example, the
pieces of text full and empty or two graphic symbols present the state of a tank
more lucidly than the corresponding numerical values. Which is why ProTool gives
you the opportunity to configure text or graphic lists.
These text or graphic lists are lists in which you assign an element from the list
to each tag value.
Usage
With text or graphic lists, for example, you can label buttons dynamically, display
text or graphics in output fields and select texts for input in input fields. To a large
extent, this eliminates misinterpretations in the display and operator errors during
input.
Further information on using text or graphic lists in a screen can be found under
• Input fields (Chapter 5.2.6)
• Output fields (Chapter 5.2.5)
• Buttons (Chapter 5.2.10)
Text list
A text list assigns text to every value of a tag. At runtime, the tag value determines
which text is selected from the list and displayed, for example, in an input/output
field on the operating unit.
To create a new text list, double-click Text or graphic lists in the project window.
Graphic list
A graphic list assigns a graphic to every value of a tag. At runtime, the tag value
determines which graphic is selected from the list and displayed, for example, in
an output field on the operating unit.
To create a new graphics list, select the symbol illustrated on the open
screen.
Purpose
Graphics are static display elements that are not linked to the PLC. They cannot
be modified at runtime on the operating unit. Use graphics, for example, for
displaying your system or as explanatory symbolism for dynamic display and
controls
Creating graphics
ProTool features an option of embedding external graphic editors via the OLE
interface. In this way you can create graphics with your usual applications without
having to become familiar with a new graphics program.
Once created, a graphic is embedded in ProTool either as a bitmap or as a vector
graphic, depending on the graphics program you are using.
Tip
To make a graphic so that it can be "operated", configure a button with a graphic
list.
Usage
• Realtime trend
With a realtime trend only one trend value at a time is read from the PLC for
each time unit (clock pulse) and added to the trend displayed on the operating
unit. Realtime trends are suitable for displaying slow, continuous patterns.
• Pattern trend
With a pattern trend, all trend values are read simultaneously from the PLC and
displayed as a trend on the operating unit by setting a trigger bit. Pattern trends
are suitable for displaying rapid changes if the trend variation, seen in its
entirety, (profile) is more interesting than individual values.
Trigger:
The trigger type defines how trend data is read in:
• Clock trigger (time triggered)
In the case of a clock trigger, the data that has to be acquired in the trend is
read from the PLC in a fixed, adjustable time slot. To do this, select Read
Continuously on the Options tab when you configure the tag. If the configured
number of samples has been reached, the oldest value is overwritten by every
new one.
By means of the specified time slot and the number of samples you want to
have displayed, you set the period of time that has to be covered by the trend
data. This type of trigger is suitable for realtime trends.
• Bit trigger (event triggered)
In the case of a bit trigger, data to be acquired on a trend is read in on an
event-triggered basis. The event is triggered by the PLC as a result of setting a
defined bit. There are two possibilities of reading in trend data:
− Single-value acquisition
Only one value is read from the PLC every time a bit is set. Single-value
acquisition is suitable for displaying realtime trends.
− Buffered data acquisition
Buffered data is read out from the PLC as an entire block every time a bit
is set. Buffered data acquisition is suitable for displaying pattern trends.
Switch buffer
A switch buffer is a second buffer which you can create for a pattern trend. While
the operating unit is reading the trend values from buffer 1, the PLC can already
write the new values to buffer 2. When the operating unit is reading buffer 2, the
PLC is writing to buffer 1. The switch buffer prevents the PLC from overwriting
values while the operating unit is reading the trend.
Buffer 1 Buffer 2
PLC writes
Operating unit
reads
Objective
On the operating unit you wish to display a trend showing the archive data from a
certain point in time onward. You also want to be able to access the particular point
in time quickly and easily without having to spend a great deal of time scrolling
through the screen.
Procedure:
How to configure an input field for an archive trend:
1. Configure an input field in which to enter the starting time for displaying the
archive data:
Display: Date
Decimal places: 0
Field Length: 15
2. Select a tag without PLC connection in date/time format:
Name: VAR_15
PLC: <No PLC>
Type: DATETIME
3. In the trend display, go to the Axis Scaling tab page and select the tag VAR_15.
Result:
If you enter a date and time on the operating unit in this input field, the archive
data for the specified moment in time onward will be displayed.
Note
For a message display, go to the General tab page and select a tag with the
starting time.
Tasks of a scheduler
A scheduler defines a regularly recurring or once-only time at which a particular
function is to be executed.
The following types of scheduled times are available:
• at x minute intervals
• hourly
• daily
• weekly
• monthly
• annually
• once only
The following table shows which time entries are needed for the scheduler type
concerned:
Constraint
Note
Schedulers are available for the MP270, OP37/Pro, FI25 and FI45 operating units
and PC only.
Note
You can configure only one internal tag to a scheduler.
Usage
In HMI systems, reports are used to provide documentation on process data and
running production cycles. A report therefore documents the operations carried out
during a working shift.
You can configure reports of this kind in ProTool. Set the contents and layout of
each report in the report editor. Elsewhere you configure the event that you want to
trigger printing of the report.
By this means you can configure a report that will be printed out at the end of a
shift and in which downtime will be documented. You can even configure a report
that can be used as documentation in the context of product or quality assurance
(ISO 9000).
Contents
Set the content of the report in the report editor. You can include the following
dynamic and static objects in the report:
• Static text
• Date/Time
• Message buffer
• Page number
• Numerical and symbolic output fields
• Bar graphs
• Graphics
• Vector graphics: box, circle, line, dash or rounded box
Layout
You also set the layout of a report in the report editor. You can configure cover
sheets, headers and footers, as well as page numbers. You can configure a
maximum of 10 pages per report.
Trigger event
The report can be output during runtime when triggered either automatically (e.g.
by means of a PLC job) or manually (e.g. by using a soft key). You can configure
the following events as triggers:
• Scheduler
• Soft key/function key
• Change in a tag value
• Script
Output language
You can use the language PLC to create reports in various languages. The
procedure is the same as for screens in the screen editor. At runtime, the report is
then printed out in the language set on the operating unit.
Note
When used on Windows CE devices, make sure which printers the operating unit
is able to support.
When you open a report or create one, the "print message buffer" symbol
is one of many screen objects available to you in the Report toolbar.
You can use it to insert the print message buffer object into a report. The contents
of the selected message buffer at the time of printing will then be output in the
report.
Set the general details, the columns, font, color, position (if necessary, with a
variable offset) and the name, on the tabs.
• General: Here you select the type of message to be output and set the number
of lines for each message.
• Columns: Here you exclude specific columns from output (the default is: all
selected) and set the type of sort sequence.
Note
A message buffer is always the last object on a page - you cannot paste any more
objects after it on the page. The message buffer is always output in full - if the first
page is not enough, continuation pages are printed automatically.
When you open a report or create one, the "page number" symbol is one
of many screen objects available to you in the Report toolbar.
You can use it to insert the page number object into a report - most usefully in the
header or footer. The number of the report page concerned will then appear at the
insertion point in the report. If you have put a cover sheet at the front of the report,
a page number will not appear on it.
Set the general details, the font, color, position (if necessary, with a variable offset)
and the name, on the tabs.
Objective
Suppose you want to create a report containing a title underscored with a bar, the
date and time of output, and the contents of the System Messages buffer. You
want the report to be issued at 6:00 hrs each day and every 8 hours thereafter.
2.
Click on this symbol and use the mouse to open a text box on the currently
displayed page.
3. Type the title "Message buffer from" in the box.
4.
Click on this symbol and open up next to the text box a further box in which to
display the date/time.
5. Confirm the Date/Time dialog box by choosing OK.
6.
Click on this symbol in order to put a line in the title and draw out line to the
required length below the title.
The Line dialog box opens.
7. Go to the Colors tab, set black as the foreground color and confirm with OK.
8.
Click this symbol to paste in the message buffer and drag open the space
required for outputting the message buffer below the line you inserted.
The Message Buffer dialog box opens. At first, all the check boxes on the
Messages and Display tabs are enabled.
9. On the Messages tab, deactivate all messages except the System Messages
type. On the Display tab, deselect the elements not required for the output line
(for example Diagnostic capability). Confirm with OK.
You cannot paste anything else onto a report page once you have pasted a
message buffer to it. If you want other objects to follow, you must insert a new
page.
When you exit the report editor, the report is saved as REPORT_1. You can
change this setting under Tools → Default Settings or assign a name each time,
with a maximum of 12 alphanumeric characters.
10. Now configure a scheduler that prompts every eight hours starting at 6:00 hrs.
11. Link the Print_Report function to the scheduler and enter the name of the
report as a parameter.
As a result, every eight hours the operating unit will automatically send the printer
a report with the contents you have selected.
Overview
To display process and operating states or to acquire and log process data on the
operating unit that you obtain on the process from the PLC, configure messages.
Messages are initiated by the PLC and can be displayed on the operating unit.
The following messages are displayed on the operating unit but cannot be edited
in ProTool:
• The message number cannot be modified in system messages, standard S7
diagnostic results (S7 system messages) and NC alarms. (only with OP7 and
OP17).
• Message numbers of user defined S7 diagnostic results can be freely defined
in STEP 7 within certain limits.
• The message number is assigned to Alarm_S messages in STEP 7.
Message number
The message number is used to reference a message. In ProTool, you have a free
choice of message number (within the range 0 to 2000) and message text.
Message text
Message text contains the description of a message. The length of the message
text depends on the operating unit. The number of characters per line is marked by
this character at the top border of the window during configuration.
By choosing Edit → Style from the menu, you can select from the following styles
for the message text, depending on the operating unit: flashing, underscore, italic,
and capitals (text-based displays only).
Tip
You can also configure operator instructions as a message.
Message tags
A message can contain output fields with tags. They are also referred to as
message tags.
By choosing Edit → Style from the menu, you can select from the following styles
for output fields, depending on the operating unit: flashing, underscore, italic.
Note
The values of message tags are updated in the message buffer when messages
are active or are cleared, but not when messages are acknowledged.
Help text
Help text containing further details on a message can be configured for every
message. Help text is displayed for the operator in a separate window on the
operating unit by pressing the HELP key.
Enter Help text by selecting the symbol illustrated or by using the menu
command View → Help text.
Acknowledgement group
Alarm messages can be assigned to acknowledgement groups. Configure the
assignment to an acknowledgement group for every single message. If you
acknowledge an alarm message in one acknowledgement group, all the alarm
messages in that group are acknowledged simultaneously (group
acknowledgement).
Print
If you select Print, the message event (active, cleared, acknowledged) is logged
automatically on the printer if you selected, at System → Messages → Settings,
Print ON.
Configure printing in the Attributes dialog box for every single message.
Another option consists in printing the messages stored in an archive.
Functions
For each of the events Message arrives, Message departing, Message
acknowledged and Edit message, you can configure one or more functions.
• The Edit message event can only be triggered by the operator (by pressing the
Edit button).
• The Message acknowledged event can be triggered by the system or by the
operator (by pressing the ACK button or the ACK key).
Note
To enable the operator to trigger the functions configured to acknowledgement or
editing, the buttons ACK or Edit must be configured in the message view, or the
ACK key must be available on the operating unit.
Principle
An alarm message can be acknowledged either by the operator on the operating
unit or by the PLC program. By acknowledging an alarm message, you confirm
that you have taken notice of it.
Acknowledgement
Messages classified as alarm messages have to be acknowledged. Alarm
messages are displayed until they are acknowledged.
Single acknowledgement: when you acknowledge a message only that particular
message is acknowledged.
Group acknowledgement: when you acknowledge a message belonging to an
acknowledgement group, all the queued messages of this group are acknowledged
as well.
Printout
Printout is enabled or disabled for all messages, if, at System → Messages →
Settings, you have selected the Print attribute. The messages are printed on a
printer attached to the operating unit.
Configure Printout by choosing System → Messages → Settings from the menu.
Archive
To archive message events, create archives. Message events are then written to
the message buffer and also to an archive. The message buffer is volatile; an
archive containing messages is permanent. Archival is configured for each
message class.
Configure archiving by choosing System → Messages → Settings and click the
Archives button.
Filter
You can set filter criteria for displaying messages.
• Choose System → Messages→ Settings from the menu and select at Alarm
messages First or Last to display either the first or the last Arrive message
event on the operating unit.
• For message view, set what you want to have displayed on the General
Information tab:
− messages or
− message events or
− S7 diagnostic buffer or
− the contents of an archive.
Example: set the alarm message area and configure an alarm message with a
SIMATIC 300/400 PLC
In this example, you will configure the alarm message area first and then an alarm
message.
1. Choose System → Area Pointers from the menu to create the alarm message
area. The Area Pointers dialog box is opened.
2. In the Type field, select the Alarm messages area pointer. Click the Add button.
System messages are always implemented on the operating unit and cannot be
configured in ProTool. A system message consists of a message number and
message text. The message text may contain internal system tags that provide
further details on the cause of an error message.
What is reported?
System messages provide information on operating unit operating states. The
wealth of possible system messages ranges from notes to serious errors.
Tip
You will find a numerical list of system messages of the operating units, their
causes and, if possible, remedial action in an appendix to the Communication
User’s Guide. If you contact the Help desk, make sure you have the system
message number at hand.
Note
The 0 setting means the display is static. The message window is not closed until
you press ESC.
In addition, you can enable the display of the following system messages:
• SIMATIC S7 (Minimal): The message numbers of the S7 system messages
(time stamped) are output. You can refer to the cause of the error in your S7
manual by means of the number.
• SIMATIC S7 (Standard): In addition to minimal display, the message text of
the S7 system message is output.
SIMATIC OP
The system messages of the operating unit are read out, for example:
13001 Not enough memory available on hard disk
SIMATIC S7 (Minimal)
The message numbers of the S7 system messages are output. You can refer to
the cause of the error in your S7 manual by means of the number.
MESSAGE S4303 07.03.98 15:16:34
SIMATIC S7 (Standard)
In addition to the minimal display, the message text of the S7 system message is
output. For this, select the corresponding message with the help of the arrow key.
MESSAGE S4303 07.03.98 15:16:34
If you press the RIGHT arrow key:
PLC_1:
STOP by operating Stop switch
Report
You can also output the messages from the message buffer altogether at certain
moments in time or in relation to particular events. To do this you configure a
report which includes the message buffer object.
More information
You will find more information on that topic in
• What is in the message buffer? (Chapter 5.9.12)
• What is a report? (Chapter 5.8.1)
Messages are displayed in message windows. You can still operate the operating
unit when messages are queued and displayed.
Set the properties of the following objects by choosing System → Screen/Keys
from the menu:
• Message window/message line: messages are output here.
• Message indicator: indicates that unacknowledged alarm messages are
queued.
Choose Insert → Message Display from the menu to configure the following object
on a screen:
Message view (What is a message view? (Chapter 5.9.11)): here you can
configure what is to be displayed.
− messages
− message events
− S7 diagnostic buffer or
− contents of a message archive
Purpose
In ProTool, the default is for event messages, alarm messages and the operating
unit system messages to be displayed in special process windows.
As an alternative, the message view provides a display in tabular form of
• messages
• message events
• the contents of a selected message archive
• the contents of the S7 diagnostic buffer of a SIMATIC 300/400-CPU (not
possible with WinAC and OPC)
You can combine the display of messages and message events from the following
message classes:
• Alarm messages
• Event messages
• System messages
• S7 diagnostic events
Note
Use SHIFT + double-click to activate the message view (with zoom factor 100% ).
In active mode, you can move a column to the required position and set the
column width, even at the configuration stage.
Definition
A message buffer is a battery-backed memory area in the main memory of the
operating unit in which message events are stored in chronological order. It takes
the form of a FIFO buffer with a specified size and does not have to be explicitly
configured.
The size of the message buffer is 1024 message events.
Example
Below is an example of output from the message buffer to the operating unit:
• Window - window
• Window - line
Message line
An alarm message is displayed in the
message window, whereas an event Alarm message window
message is displayed on the message line.
The message line is visible at all times. The
alarm message window opens automatically
whenever an alarm message arrives.
• Window - off
• Line - line
Message line
The message line is visible at all times. Any
alarm messages or event messages that
are issued are displayed on the message
line according to their priority.
Set display of the message indicator on the operating unit by choosing System →
Screen/Keys from the menu. The message indicator indicates that alarm
messages are waiting.
As soon as an alarm message is waiting, an alarm message window and the
message indicator are displayed.
The message indicator may assume two states:
• flashing: as soon as at least one unacknowledged alarm message is queued.
• static: when all queued alarm messages have been acknowledged but at least
one of them is not yet cleared.
Not until all acknowledged messages have departed is the message indicator
hidden. In this way it is not possible fore you to forget queued alarm messages.
Messages are displayed in special windows. You can still operate the operating
unit when messages are queued and displayed.
Under System → Screen / Keys, set how the messages are to be displayed over
the entire runtime of the process. You can choose between message line and
message window.
• The message line stays permanently on the operating unit and only ever
contains one message, the current one. If a separate message window has
been configured for alarm messages, the message line only contains the
current event message.
• Alarm messages and event messages are displayed in separate message
windows. A message window always contains all the queued messages of the
particular message class.
The alarm message window opens automatically whenever an alarm message
arrives.
For the event message window, you have to configure a control element to help
you open or close the window.
In addition to this, with ProTool, the following message display options are
available when required:
• Displaying the message buffer
The message buffer contains all the message events of alarm messages or
event messages. To display the alarm message buffer or the event buffer, you
have to configure a control element.
To give the message buffer a clearer layout and at the same time reduce the
load on the system, you can configure control elements which let the user
delete all or part of the message buffer.
• Configuring a message display
You can select the messages to be displayed here:
− message events from different message classes (combinations also
possible)
− the current content of the S7 diagnosis buffer or of a message archive
You can customize the appearance and behavior of the message display to
suit your project.
For communication between the operating unit and the PLC functions properly,
choose System → Area Pointers from the menu and establish in your project an
assignment to the following communication areas: event messages and/or alarm
messages
These areas are imperative if you have configured event messages and alarm
messages.
They must be chosen at least large enough for a bit to be available for every
configured message. If the communication area is not made large enough, a
warning will be issued during compilation of the project.
If you want the acknowledgement to come from the PLC, you have to create the
following acknowledgement areas by choosing System → Area Pointers from the
system.
• PLC Acknowledgement
The acknowledgement bit is set by the PLC program and thus causes
acknowledgement of the corresponding alarm message to be displayed on the
operating unit.
The PLC Acknowledgement acknowledgement area
− has to be contiguous with the associated alarm message area
− has to have the same acquisition cycle as the alarm messages area
− can have the same length as the associated alarm area at most.
• OP Acknowledgement
The operator acknowledges an alarm message on the operating unit and thus
sets the acknowledgement bit of this alarm message on the PLC. When he
does so, the entire acknowledgement area is transferred to the PLC.
The OP Acknowledgement acknowledgement area may have the same length
as the associated alarm message area at most.
Message procedure:
The message procedure identified the transfer path of messages and thus also the
parameters of the messages. The message procedure in ProTool is the message
bit procedure.
With this message procedure, the operating unit detects the arrival, departure or
acknowledgement of a message by setting a bit in the address area, the bit being
assigned by choosing System → Area Pointers from the menu to the event/alarm
message area.
A message is event-driven and is issued when a bit is set in the PLC. The setting,
resetting and acknowledging of the bit is known as a message event.
Active (K) The message bit has been set and the message is waiting
to be displayed.
Cleared (G) The message bit has been reset because the cause that
gave rise to the message no longer exists.
Acknowledge (Q) With alarm messages only:
The operator (or the PLC) acknowledges the message to
confirm the noting of the message.
The message events have been acquired by the operating unit and time stamped.
The operating unit automatically enters all the message events in the message
buffer. In this way the message events can be viewed at a later time again.
Message buffer
Printer
Displaying messages
Overview
This chapter gives detailed information on the ALARM_S message number
procedure.
It will show you how ALARM_S differs from the message bit procedure and how
the system behaves in the event of critical bottlenecks.
Requirements
You can only configure ALARM_S messages to be displayed on the operating unit
if you are using a SIMATIC S7 PLC and ProTool has been integrated into STEP 7.
Tip
It is considerably simpler to configure ALARM_S messages if you have installed
S7-PDIAG.
What is ALARM_S?
ALARM_S is a message number procedure. The message numbers are issued
automatically during the configuration process in STEP 7. The numbers are used
as the basis for assignment of the correct message text.
When a fault arises, the operating unit receives a message containing the
message number. On the basis of the number, the corresponding message text is
identified and displayed.
The S7-CPU stores not only the status of the message (arrived, departed,
acknowledged) but also the time. This information is not discarded immediately
after the messages have been sent, either, so individual network components (for
example, operating units) can log on later and update.
Advantages of ALARM_S
As compared with the message bit procedure, ALARM_S has the following
advantages:
• ALARM_S is an active message procedure. When a message is issued, the
CPU actively notifies all networked units. The operating unit is relieved of the
task of continually polling the message area.
• The process data always precisely reflects the situation at the time of the
message. This cannot be guaranteed with the message bit procedure.
• The time stamp precisely indicates when an event occurred even if the
operating unit is not connected until a later time.
Display classes
Individual messages can be assigned different display classes in STEP 7. When
configuring in ProTool, you then can then choose a specific selection of display
classes for an operating unit. In that way you can distribute the messages
selectively between different display units.
Priorities
You can assign the messages different priorities when configuring ALARM_S
messages as well.
Tip
Make sure that you assign messages that can bring about consequential errors a
higher priority than the consequential errors themselves.
Remark
You can configure in STEP 7 whether an ALARM_S message needs to be
acknowledged or not.
assigned selected
display class display classes
1 1
Message A
1
Message B
0 0
Message C 1
2
2
Message D
Display classes determine which groups of messages are to be displayed on the operating
unit
To specify the message procedure(s) you are intending to use, go to the Message
Settings dialog box. To access this dialog box, choose System → Messages →
Settings from the menu.
Select the required message procedures from the lower part of the dialog box.
Once you have selected ALARM_S, you can use the Alarm_S button to set the
message classes that will be displayed on the operating unit.
Note
If ALARM_S is the only message system you selected in ProTool for a project, the
entries for event messages and alarm messages will no longer be offered in the
ProTool project window.
In this dialog box you can set, individually for each PLC on your system, the
messages to be displayed on the operating unit. By default, all messages are sent.
Tip
By deliberately selecting certain messages you can restrict the display on the
configured operating unit to certain display classes, in other words, to very
particular messages. Other messages can then be displayed on another device,
such as a control desk.
The lefthand column of the dialog box shows you a list of all the PLCs on your
system. For each PLC you can cause the operating unit to display no messages, a
selection of messages or all messages.
When you select the Details button, the Display Classes dialog box opens.
Display classes will have been defined when the PLC was being programmed in
STEP 7. At the same time each message will have been assigned to one or other
of these display classes.
You can now select individual display classes and define which messages will be
displayed on the operating unit.
Note
Messages of the Reporting system errors type are always displayed on the
operating unit, however many display classes are selected.
Note
Graphics display devices do not support tags with text lists which you can
configure in STEP 7 under Reporting system errors.
You can find detailed reference information about the procedure in the online Help
on STEP 7 and in the relevant option packages.
When configuring messages in STEP 7 the message text and attributes entered
are stored in the database shared with ProTool. During the process of compiling
the project, ProTool automatically imports the necessary data and subsequently
downloads it to the operating unit.
shared
database
COROS OP25
It is therefore important that the shared database is always up to date during the
compilation process and that data synchronization is active.
The S7-CPU only stores information about pending messages, which means that
once all events (arrival, departure, acknowledgement) have occurred, the
message is deleted from the S7-CPU.
A network operating unit which lost its connection to the S7-CPU can log on to the
S7-CPU again and get an update on currently pending messages.
When obtaining an update, therefore, the operating unit processes any missing
events automatically if a message is not known to the S7-CPU but the arrival and
acknowledgement events are not entered on the operating unit.
The events are entered and labeled in the message buffer on the operating unit.
If a message contains process values, then those values that were available when
the message event arrived or departed are stored in the message buffer. In the
case of the Acknowledged message status, the operating unit does not acquire any
current process values. The characters ### stand for the value.
As the message is no longer stored in the S7-CPU, the operating unit will not be
able to read its process values. These are replaced by ### characters.
Note
In STEP 7 there are restrictions regarding the number and size of tags that can be
used within a message. For more precise details, please consult your STEP 7
documentation.
S7 S7
CPU CPU
OP TP PU
MPI network
Time stamp
With the ALARM_S procedure, the time stamp is not issued by the operating unit
but by the CPU. The messages are stored in chronological order on the basis of
their time stamp in the message buffer on the operating unit – even if they
originate from different CPUs.
Information stored
The CPU stores not only the time of the message but also the status (arrived,
departed, acknowledged) and any process parameters. That information is
retained until a message has been completely processed, i.e. until it has arrived,
departed and been acknowledged. On the operating unit, the information in the
message buffer is kept even longer.
Note
The CPU issues a time stamp for the acknowledgement event but does not store
it. When a subsequent update is made, therefore, it is no longer possible to
establish whether and when a message was acknowledged (see Updating the
operating unit).
You specify which messages are to be output to a printer in the usual way in
ProTool by choosing the menu option System → Messages → Settings.
Message Logging
If you do not specify any device-specific message settings in STEP 7 (refer to
Configuring ALARM_S messages), all message events are automatically logged
directly to the connected printer.
If you configure device-specific messages, you can specify separately for each
message whether it is to be logged or not.
Messages are always printed in the order in which they are sent by the CPUs. This
is also the case with every synchronisation.
Remark
If there are several CPUs in a network, this means that messages need not always
be received in chronological order by the operating unit.
Overview
Functions are a central element of configuration with ProTool. This section
explains what functions are and how to use them in practice.
Basic principle
In ProTool, you can link events (e. g. "Key pressed") with predefined functions. If
the event occurs during operation, the function executes a specific action on the
operating unit or the PLC.
For example, the "Select Screen" function on the operating unit opens a particular
configuration screen.
Event
Press key
Function:
Select Screen
A B
Action:
Screen is switched
Triggering a function
Areas of application
In general, you can use functions to:
• Set up the configuration process-specifically
(e.g. to switch from one screen to another)
• Control the process
(e.g. to set a bit in order to switch on a motor with it)
In most cases, you can configure the behavior of the functions precisely by means
of parameters. If you want to trigger several actions, you can also combine
different functions.
Configuration
You configure functions on the Functions tab in the properties dialog box of the
relevant object.
For some operating units you can also define global entry points by choosing the
System → Functions menu command.
Necessity
The execution of a function is always linked to a specific event. The function is
only triggered when this event occurs.
The events that can be linked to a function depend on the type of the function.
Many functions are only effective with certain specific events.
Examples
Examples of events that can trigger functions are the events "press key" and
"release key". In the case of the former, the function is executed the moment a
particular function key is pressed; in the latter case, it is executed the moment the
function key is released again.
Object-linked functions
Functions and events are generally linked to a specific object. For example, a
function linked to the event "press key" is to be triggered when a specific key is
pressed, not just any key.
The following objects can be linked to functions, for example:
• Function keys, soft keys and buttons
• Screen objects
• Screens
• Tags
Depending on the operating unit, it may not be possible to configure functions for
all these objects.
Tip
Functions with tags are triggered only if the Read Options Continuously tab is
selected or the tag is displayed on the screen.
Global functions
You can also link some functions to global, object-independent events. These can
be triggered in cases such as the following:
• when a tag is initialized or upon system startup
• when a value is entered
• when a screen shot is printed (Print Screen)
• when the message buffer overflows or is deleted
• when a data record of a recipe is read or written
Depending on the operating unit, it may not be possible to configure all events.
You will find a detailed description of all the permissible events in the
ProTool online Help under the topic Configurable events.
Necessity
Many functions can only execute one particular action. These functions are unique
on account of their names alone. For example, the Events - Delete Buffer
function empties the buffer for event messages.
However, the situation is not always this clear. Many functions can work in several
ways.
Input parameters
Imagine that you want to open another screen using a key on the operating unit. To
do this, you configure the Select Screen function. However, your project will
generally have several screens. Which of these screens should ProTool open?
You therefore have to give the function more information. This is done using
parameters. For the Select Screen function, you specify as a parameter the
name of the screen to be opened, for example.
Another example is the Language function. In this case, the parameter you specify
is the language to be set.
General principle
The following figure illustrates the principle of how a function works:
Tag
Function Tag
Constant
An input parameter is specified for the function. This can be either constant or read
from a tag. The tag may be local or it may have a connection to the PLC. If there
is a connection to the PLC, the value is set by the process. The result of the
function is written to a tag, which itself can either be local or have a connection to
the PLC.
Sequence
The list of functions is processed from the top down.
You will find guidance for this in the ProTool online Help.
Note
On account of the differing runtimes of the functions, the start of the next function
in the list is not linked to the completion of the function preceding it in the list.
Thus, it can happen that several functions are being executed concurrently and the
result of a previous function is not yet available.
The ProTool functions make it easy for you to configure process data
archiving(Chapter 5.12.1).
Special tasks
If you want to execute an action or calculation for which there is no predefined
function in ProTool, you can use VisualBasic Script to define your own functions
and then integrate them and use them just like ProTool functions.
For more information on VisualBasic Script, see the section entitled Creating VB
scripts g(Chapter 5.15).
Function blocks
You can also use scripts to create easily reusable function blocks that you can call
several times in your project without having to reconfigure all the functions each
time.
Conversion possibilities
In Windows systems you have two alternatives for converting values between the
PLC and the operating unit:
• For one tag, you can configure a simple linear conversion between different
scale ranges in the Tag dialog box on the Conversion tab.
An example of this would be conversion between two units of measurement,
such as degrees centigrade and degrees Fahrenheit.
• For all other kinds of linear conversion with several tags, use the Scaling
Linear 1 and Scaling Linear 2 functions and scripts.
VAR_1 VAR_2
Event
without PLC Value change with PLC
connection connection
Function/
Script
Scaling 1
Function/
Script
Scaling 2
Reciprocal conversion
When an entry is made in the input/output field, the following takes place:
1. The value of the VAR_1 tag changes.
2. The function or script for converting from VAR_1 to VAR_2 is triggered by the
event "Value Change".
3. Since VAR_2 has a connection to the PLC, the changed value is available on
the PLC.
When a value changes on the PLC, the calculation of the reverse function takes
place:
1. Since VAR_2 has a connection to the PLC, the value of VAR_2 changes.
2. The function or script for converting from VAR_2 to VAR_1 is triggered by the
event "Value Change".
3. The changed value of VAR_1 appears in the input/output field on the operating
unit.
Tip
In order to avoid any recursions, functions are not executed at the event "Value
Change" when the value of the tag changes as a result of another function. The
change to the VAR_2 tag thus does not cause an immediate change to VAR_1,
which would result in an endless loop.
The following example using the Mode function illustrates How to configure
functions with parameters. You also see how the result appears on the operating
unit.
Objective
You want to set the Online and Offline operating modes by means of two
function keys. The text "Online Mode" or "Offline Mode" is to appear on the
operating unit.
10. Configure Set Bit as the second function. Specify a local tag of the Bool type
as the parameter. You can create the tag during the assignment by clicking the
arrow pointing to the right under the list in the Parameters dialog box.
Configure the tag with the following data:
Name: Operating Mode
Type: Bool
Both functions, including the configured parameters, appear in the list in the
Function Key dialog box.
11. Repeat steps 2 to 10 for the second function key. In step 8, however, you use
the parameter 1 this time. In step 10, unlike before, you configure the Reset
Bit function. You use the Operating Mode tag created in step 10 during
configuration of the first function.
In the next step you create an output field whose contents change dynamically
depending on the Operating Mode tag. The user can thus read on the operating
unit at any time which operating mode is currently set.
At runtime, the operator can use the two configured function keys to set the
operating mode and read the current operating mode on the display.
You can define how the project is to behave at runtime and which options will be
available to the operator.
Warning
If you have activated Inhibit Task Switching, it is essential to
configure a key with the function Exit_Runtime in the
configuration. Otherwise you will not be able to exit ProTool/Pro
RT or Windows. The key combination CTRL + ALT + DEL has no
effect either.
Of course, depending on the project requirements, you can combine settings for
runtime. This allows you, for example, to ensure that a system is only available to
a specific ProTool project.
Overview
Windows-based systems offer you the opportunity to archive process data (i.e.
store it permanently and analyze it).
The following types of process data can be archived:
• Tags
In the Tags dialog box you define a trigger condition and the range of values for
archiving the tag.
• Messages
By choosing System → Messages → Settings you can define which messages
are to be archived.
• Trends
Use the Data Source tab in the Trend dialog box to set the archive from which
the tags for displaying the trend will be read.
The properties of an archive, such as the storage location and so on, are defined
in the Archives dialog box.
Archiving model
The following diagram shows the archiving model:
Tag 1
Tag 3 File
Tag 4 Tag archive 2
Message event 1
Database
Message event 2 Mess. archive 1
Message event 3
Trend 1
Tag archive 3
Trend 2
Database
Archiving model
Storage media
The data can be archived on different storage media:
• File: each archive is saved as a separate file. You must specify a path under
Storage Location.
If you are creating an archive but you either enter nothing under Path Name on
the Settings tab or you specify only a drive, such as C:\, an archive will not be
created.
• Database (except for MP270): the database is addressed by its data source
name. Select the database you want to use in ProTool from the Start menu at
Settings → Control Panel → ODBC Data Sources. Basically, any database
featuring OLE DB Interface 1.1 can be used.
Note
The maximum number of archives that can be created is 40 (see also System
limits (Chapter A.1)).
Note
In the case of the MP270, the internal FLASH cannot be specified as a storage
location.
Task
You want to create archives for messages each having a size of 300 entries.
Procedure:
Proceed as follows:
1. Double-click the Archives object type in the project window to open the Archive
dialog box.
2. On the General tab, select Messages.
3. Under Behavior at Restart, select Reset Archive. This means that in the event
of a restart, the archive will be written from the beginning again.
4. On the Settings tab, specify File as the Storage Location.
5. For Size, enter 300 entries.
6. Under Behavior When Archive Full, select Automatically Create Sequence
Archive and enter 7 as the number (i.e. 8 archives will be created). When these
have all been filled, the first one is then overwritten.
"Time_ms";"MsgProc";"StateAfter";"MsgClass";"MsgNumber";"Var1
";"Var2";"Var3";"Var4";"Var5";"Var6";"Var7";"Var8";"TimeStrin
g"
36341550590,27;1;1;3;110001;"";"";"";"";"";"";"";"";"30.06.99
13:12:51"
36341550682,87;1;1;3;140010;"";"";"";"";"";"";"";"";"30.06.99
13:12:59"
36341550682,87;1;1;3;140001;"2";"0";"0";"";"";"";"";"";"30.06
.99 13:12:59"
36341550682,87;1;1;3;170003;"PLC_1:";"0x80000104";"";"";"";""
;"";"";
"30.06.99 13:12:59"
36341601759,25;1;1;3;190011;"";"";"";"";"";"";"";"";"30.06.99
14:26:32"
0 = active/cleared
1 = active
2 = active/acknowledged/cleared
3 = active/acknowledged
4 = active/cleared/acknowledged
Msg_Class Message class:
0 = no message class
1 = alarm message
2 = event message
3 = system message
4 = S7 diagnostic event
MsgNumber Message number
Var1 ... Var8 Value of the message tag as a string
TimeString Time stamp as a string, that is, in a readable date format
You can display archive data (i.e. tags and messages) on the operating unit, in the
form of trends (for tags) or a message display (for messages).
If you want to quickly and easily display archive data from a particular moment
onward, you can enter the required date and time in an input field.
• Messages from the selected date and time onward are then shown in the
message display.
• For this purpose create a time window above the trend display on the screen
and display the archived trend data from the set point in time onward.
25.06.99 11:30:00
Time window in
trend display
Auxiliary line
11:30:00
25.06.99
07:00:00 18:59:06
25.06.99 25.06.99
Objective
On the operating unit you wish to display a trend showing the archive data from a
certain point in time onward. You also want to be able to access the particular point
in time quickly and easily without having to spend a great deal of time scrolling
through the screen.
Procedure:
How to configure an input field for an archive trend:
1. Configure an input field in which to enter the starting time for displaying the
archive data:
Display: Date
Decimal places: 0
Field Length: 15
2. Select a tag without PLC connection in date/time format:
Name: VAR_15
PLC: <No PLC>
Type: DATETIME
3. In the trend display, go to the Axis Scaling tab page and select the tag VAR_15.
Result:
If you enter a date and time on the operating unit in this input field, the archive
data for the specified moment in time onward will be displayed.
Note
For a message display, go to the General tab page and select a tag with the
starting time.
Windows-based systems give you the ability to archive process data, i.e. to save
it permanently and to evaluate it.
The properties of an archive, such as the memory location, are defined in the
Archive dialog box.
An archiving model for a project can be found under Archiving process data.
You will find a description of how to proceed when configuring in the ProTool online
Help.
Note
The maximum number of archives that can be created is 40 (20 with MP270) (see
also System limits (Chapter A.1)).
Overview
In this chapter, you learn how to configure recipes. You are given the following
information:
• What is a recipe? (Chapter 5.13.1)
• Configuring recipes (Chapter 5.13.5)
• What is a recipe view? (Chapter 5.13.2)
• What is a recipe screen? (Chapter 5.13.4)
• Requirements for editing data records (Chapter 5.13.8)
• Example: How to create a recipe (Chapter 5.13.10)
• Synchronization with the PLC (Chapter 5.13.6)
Purpose
The purpose of recipes is the transfer of amounts of related data together and
synchronously from the operating unit to the PLC and back again.
Principle
The terms recipe and data record should be defined using the example of a filing
cabinet, as they are important for later understanding:
Grapefruit
Lemon
Nectar
Juice
Drink
Orange
Apple
• Recipe
Recipes correspond to the drawers of the filing cabinet shown (for example,
Orange or Lemon). The reference value fields (tags) belonging to the particular
recipe are defined in each drawer. You use the recipe to define the data
structure in your ProTool project.
You cannot change this structure subsequently on the operating unit.
• Data record
Data records correspond to the filing cards in the drawers of the cabinet (Drink,
Juice and Nectar). A data record contains the values for a recipe.
You edit data records on the operating unit, for example, creating, saving and
deleting data records.
The Import/Export function gives you the additional option of using external
tools to edit exported data records and then reimporting them on the operating
unit.
Example of a recipe
An example of a recipe is the filling station of a fruit juice system. The filling
station is used to produce orange drink, orange juice and orange nectar. The
mixing proportions for each of these are different. The ingredients are always the
same.
Let us assume that a recipe called Mixture is created, containing the following
data structure:
Tag Designation
Var_2 l orange
Var_3 l water
Var_4 kg sugar
Var_5 g flavor
The tag designations l orange, g flavor etc., are known as entry names. The
entry names are displayed as well on the operating unit. Tag Var_2, for example,
can thus be identifed as the tag designating the mixture component orange.
The data records contain the values for the different drink types. The data records
could be as follows, for example:
Purpose
The recipe view is a compact screen object which enables you to handle recipes
and data records quickly and straightforwardly, with minimal configuration.
Typically, you will use it to edit data records of smaller recipes in tabular form. You
can use the recipe view to create, save and transfer data records on the operating
unit.
If you want to customize the user interface for editing data records, for example,
by simulating the visual appearance of your system, you can also use recipe
screens.
Detailed guidance on configuring the recipe view can be found in the ProTool
online Help.
Note
Use SHIFT + double-click to activate the recipe view (with zoom factor 100% ).
In active mode, you can move a column to the required position and set the
column width, even at the configuration stage.
Button Purpose
Create new data record
Use this button to create a new data record on the operating
New unit. The setpoints are given as defaults the values you set in
ProTool as the start value for the particular tag.
Save data record
Use this button to save on the data medium the current values
Save of the data record displayed on the operating unit. Set the
storage location when you configure the recipe in the recipe
editor (Properties button, Storage tab).
Delete data record
Use this button to delete from the data medium the data record
Delete displayed on the operating unit for the currently set recipe.
Write data record to PLC
Use this button to write the current data record to the PLC.
To PLC
Read data record from PLC
Use this button to read the data record for the currently set
From PLC recipe from the PLC and display the values on the operating
unit.
Below are three scenarios with typical configurations and applications for recipes.
The illustration shows the basic differences when editing the data records and the
effect of the options Synchronize and Offline.
Yes
No
Synchronize
2 Tags
No
Offline
Yes
3 PLC
Configuring in ProTool
• Create a recipe without the options Synchronize Tags and Tags Offline.
• Create a screen and insert the screen object recipe view. Configure the recipe
view with maximum functionality, so that you can both select and edit data
records on the operating unit.
– Assign the functions for editing data records to function keys or soft keys
or, if you can operate the destination device by mouse or touch screen, to
buttons.
– Assign the functions for editing data records to function keys or soft keys
or, if you can operate the destination device by mouse or touch screen, to
buttons.
• The data of the data record is written to the tags and thus also to the PLC.
• Edit the tags using the configured input/output fields. This will simultaneously
change the values in the PLC as well.
• Save the modified tags.
– With recipe view:
Operate the Save button. If necessary, you must first specify a new name.
Note
If you edit data records online, the entered values will be transferred to the PLC
without synchronization. So you must make sure that when individual values are
changed, this does not result in illegal operating modes in your machine/system.
Purpose
You need recipe screens if you want to be able to create, save and transfer data
records on the operating unit. Unlike the recipe view, with recipe screens, you can
configure individual masks for entering data records.
Basic procedure
The basic steps to configuring a recipe are listed below:
1. Defining the structure of the recipe:
Assign the structure of the recipe with tags. These tags are provided with
entries from the data records.
Define a name for the recipe. You will use this name to select the recipe in your
project and on the operating unit.
Setting the recipe tag properties:
In recipe properties, you can control the recipe tag properties on the Options
tab. By selecting the Synchronize Tags option, you specify that the data of a
data record which has been read from the PLC or data medium has been
written to the tags or has been read from the tags you configured for the recipe.
This establishes a connection between the tags configured in the recipe and the
tags in the screens. When a data record is loaded, the values are written to the
tags you are using in the screens.
If the Tags Offline option is also set, values you enter are only saved in the
tags, but not transferred to the PLC. If this option is not set, the values you
enter are transferred directly to the PLC.
2. Setting data record storage to the operating unit:
You can configure the storage path for the data records. The following settings
are possible, depending on the destination device:
− any path and drive
− internal FLASH (path name: \FLASH\)
− storage card (PC card, path name: \Storage Card\ )
3. Setting transfer synchronization:
You can set whether data records will be transferred with or without
synchronization with the PLC. For transfer with synchronization, you need the
communication area Data Mailbox.
4. Creating the recipe view/recipe screens:
Configure one or more screens, if you want to be able to create, save and
transfer data records on the operating unit. Depending on the application, you
can either use the recipe view or create, for example, an image of your system
using input/output fields in recipe screens.
– Recipe view:
The recipe view enables you to handle recipes and data records quickly
and straightforwardly, with minimal configuration. Typically, you will use it
to edit data records of smaller recipes in tabular form.
– Recipe screens:
You can use recipe screens to customize the user interface for editing
data records and simulate the visual appearance of your system by using
graphics and individual masks for entering the data records. Recipe
screens are particularly recommended for data records with a relatively
high number of entries.
You decide whether to use recipe view or recipe screen editing options in
Recipe Properties, by setting the Synchronize Tags option on the Options tab.
Synchronizing tags:
The data of a data record which has been read is written to the tags or read
from the tags you configured for the recipe. If you want to be able to enter and
change data records via a recipe screen, position the tags defined in the recipe
in screens, by using input fields, for example.
Not synchronizing tags:
The data of a data record which has been read is only displayed in the recipe
view table and can only be edited in the recipe view. If you use the same tags
in screens as well, this does not affect their values.
Note
Please take into consideration the requirements for editing data records
(Chapter 5.13.8).
Tags in recipes
The following special features apply to tags used in recipes:
• Unevaluated properties with non-synchronized recipes
− functions triggered by set events
− data entry cycle and update (Read Continuously)
− tag limit values
− archiving
• String tags
In string tags, the hexadecimal value 00h is interpreted as an identifier for the
end of the string. Subsequent characters in the string are neither read nor
displayed. When written to the PLC and when saved to the data medium,
subsequent characters are padded with 0.
• Timer/Counter
For tags of the Timer and Counter type, the range of values is not checked on
the operating unit for input in the recipe view. Configure fixed limit values for
the tags, for the range of values to be checked on input.
Purpose
With synchronous transfer, both communication peers set status bits in the data
mailbox used by them both. In this way, you can prevent uncontrolled, mutual
overwriting of data in your PLC program.
Usage
Synchronous data record transfer is then always available, for example, if
• the PLC is the "active partner" in the transfer of data records,
• information about the recipe number and the data record number is to be
evaluated on the PLC,
• the transfer of data records is triggered by a PLC job.
Requirements
If you want data records to be transferred between the operating unit and the PLC
with synchronization, the following requirements must be met during configuration:
• The data mailbox is set up under System → Area Pointers.
• The PLC, with which the operating unit synchronizes the transfer of data
records is specified in the recipe properties.
You set the PLC in the recipe editor under Properties → Transfer.
Note
Communication with the PLC is described in the Communication for Windows-
based systems manual.
The communication area Data Mailbox is required in the PLC for the transfer of
data records with synchronization.
The data records are then written to this PLC address area or read from there. A
check is made to establish whether the transfer is allowed and a system message
is output to tell you whether the transfer has been completed with or without errors.
You create the Data Mailbox under System → Area Pointers.
The data mailbox is created with a length of 5 words and has the following
structure:
Please take into consideration the following notes on copying recipes via the
clipboard:
• Windows-based system → Windows-based system
When you copy, all the fields and their properties are assigned the values used
in the source project.
• Device having a graphics display → Windows-based system
Properties not available in the source project (for example, storage location)
are given the default setting in the destination project. Settings no longer
available in the destination project are discarded.
The standard screens and data record functions of the devices having a
graphics display are not converted.
If you are using the same PLC, take into consideration that the tag addresses
may be discarded even when changing the connection type.
You can prevent this by taking an intermediate step, for example:
Task
In this example you create a recipe for the mixing station of a fruit juice system.
Different fruit juices are to be mixed using the same system. The ingredients are
the same; only the mixing proportions are different.
Quantity in Valve 4
mixer (l)
to bottling machine
Help ESC
off on
Example of a Screen: Mixing Station
You begin by creating a recipe called Mixture and then a data record with the
name Juice. This data record contains the mixing proportions for orange juice.
The data record is transferred to the PLC with synchronization, in other words, you
need a data mailbox. During transfer of the data record, the operating unit sets bits
in the status word of the data mailbox. You then have to set the status word to zero
in the PLC program in order to enable the data mailbox again.
The task involves the following steps:
• Creating a recipe
• Configuring the recipe view
• Transferring a project file to the operating unit
• Creating a data record on the operating unit
• Transferring a data record to the PLC
Procedure
You are going to create the example recipe for an OP37Pro linked to the SIMATIC
S7-300/400 PLC via MPI.
Creating a recipe:
1. Create a new project and save it under a name of your choice.
2. In the project window, double-click Recipes to create the recipe described
below.
3. Create four REAL tags - Var_2, Var_3, Var_4 and Var_5 - for the mixture
ingredients orange (in liters), water (in liters), sugar (in kilograms) and flavor (in
grams) and assign the following addresses:
Var_2 DB 120, DBD 0
Var_3 DB 120, DBD 4
Var_4 DB 120, DBD 8
Var_5 DB 120, DBD 12
In the Recipe dialog box, give the tags the entry names shown and add the
entries to the recipe structure. You define the structure of the recipe by means
of the order of the tags.
Note
The length entry represents the length in bytes. The value for Offset (in bytes)
sets the position in the structure. If you add its length to the offset of the last
entry, you get the total length of the data record.
4. Click the Properties button in the Recipe dialog box. On the General tab,
change the name of the recipe in Mixture. Set the recipe number to 1.
5. Select your PLC on the Transfer tab.
6. On the Options tab, deselect the Synchronize Tags check box. This will mean
that the data of a data record which has been read is only displayed in the
recipe view table and can only be edited in the recipe view. If you use the same
tags in screens as well, this does not affect their values.
7. Choose System → Area Pointers from the menu and create the Data Mailbox
communication area. Click the add button and set the address:
The length is fixed at 5 words.
Area: DB100, DBW 0
Note
Make sure that you create data block 100 with a length of at least 5 data words
in your PLC program as well.
8. On the Storage tab under path name, enter C:\TEMP\REC.
Purpose
In addition to the option of customizing the user interface of your operating unit to
make it easier for you to use, ProTool features other options for supporting and
prompting you on your operating unit as a function of the situation. This means
you can implement mechanisms and decision-making aids that can effectively
prevent incorrect operations on the operating unit.
Overview
ProTool makes the following methods available for the implementation of operator
prompting:
• Providing Help text (Chapter 5.14.1)
• Configuring tab sequences (Chapter 5.14.6)
• Assigning icons to local function keys (Chapter 5.14.2)
• Showing/hiding operating and display elements (Chapter 5.14.3)
• Applying dynamic attributes (Chapter 5.14.4)
• Driving light-emitting diodes (Chapter 5.14.5)
Icons are fixed-size pixel graphics that are placed in the immediate vicinity of
screen-specific function keys (soft keys). This means that you can illustrate the
function of a locally assigned function key.
You can prevent inadvertent, incorrect operation of a key to a large extent by
means of an informative symbol.
Note
Not possible on a standard PC.
Purpose
ProTool features an option of displaying and hiding control and display elements in
runtime. For example, you can hide an output field on the operating unit when the
actual value is within the specified setpoint range.
Alternatively, display an input field only when an operator input is expected for the
control in a specific situation – for example, during startup. The user interface of
your operating unit remains neat and tidy in this manner.
Index tag
You can either link display and hiding to a constant range of values or to the tag of
an input/output field, for instance. You can influence several input/output fields
simultaneously by using a separate tag.
If you assign a password level to the tag, you can display control or display
elements only for a specifically defined group of users.
Purpose
To draw the operator's attention on the operating unit to specific situations –
for example, specified limit values have been reached or exceeded – you can
configure attributes for input and output elements. This means that you can
dynamically modify the foreground and background colors, for example, of an
input/output field at runtime as a function of the value of a tag, or you can enable
or disable flashing for the text that is being displayed.
Index tag
You can either link the specified attributed directly to the tag of an input/output
field, for instance, or you can define a separate index tag for it. You can influence
several input/output fields simultaneously with a separate index tag.
Purpose
The light-emitting diodes (LEDs) on the function keys of the operator panel can be
driven on the PLC. By means of a light-emitting or flashing LED, you can indicate
to the operator that, for example, the operating panel is expecting a certain
function key to be operated.
Requirements
For the PLC to be able to drive the LEDs, you have to create the LED assignment
data area on the PLC and in your project by choosing System → Area Pointers
from the menu. Set the assignment of the individual LEDs to the bits in the LED
assignment when you configure the function keys.
You will find a description of the LED assignment and the LED functions for the
different operating units in the Communication Manual.
Tab sequence
To make it possible for a keyboard device without a mouse to access and operate
each operated screen object (such as a trend display or output field), the operated
screen objects can be accessed with the TAB key. You can see which screen object
has been made active, because it may be highlighted with a color or surrounded
by a border.
The expression Tab sequence means the order in which the operated screen
objects are made active when the TAB key is pressed.
In Tab Sequence mode a number is displayed upper left of each operated screen
object; this is the tab sequence number. Using the mouse, you can now freely
edit how these numbers are allocated. Press ESC or use the context menu to exit
Tab Sequence mode.
Purpose
ProTool allows you to use a password to prevent controls such as input fields and
function keys from being used by those unauthorized to do so. This means that
when you are creating your project you can restrict the use of functions that relate
to security to specific people or groups of operators. Important parameters and
settings can thus only be changed by authorized personnel.
The access protection that you configure allows you to guard against incorrect
usage and increase the security of the system or machine.
Password hierarchy
During the configuration phase you can assign operator authorization to specific
groups. At runtime, individuals can be allocated to one of these groups, as
appropriate, and they thus automatically receive the access rights of that group.
ProTool provides hierarchically organized password levels from level 0 to 9. If a
user is assigned password level 4, for example, this user is authorized to execute
the functions of password levels 0 to 4.
• Password level 0
Password level 0 is the default in ProTool. Use this lowest level in the hierarchy
for functions that have little or no effect on the operational sequence. These are
generally functions that do not required any input, such as the display of
messages. You do not have to enter a password on the operating unit in order
to execute functions with password level 0.
• Password levels 1 to 8
Assign functions to password levels 1 to 8 according to their importance.
Before you execute these functions, the operating unit prompts you to enter a
password.
• Password level 9
The authorization to execute functions at password level 9 is granted only to
the System Administrator or service engineer. This provides access to all the
functions of the operating unit, including password administration.
You define the password of the System Administrator by choosing System →
Settings. The default setting is 100. You can change this setting on the
operating unit at runtime.
You will find a list of all the possible PLC jobs with job numbers and parameters in
the ProTool online help system.
Purpose
So that you can use the operating unit to input and change passwords and their
associated password levels for operators, you configure a password list.
In runtime, confirm each input with the ENTER KEY to ensure that it is accepted.
Note
Use SHIFT + double-click to activate the password list (with zoom factor 100% ).
In active mode, you can move a column to the required position and set the
column width, even at the configuration stage.
You can use a password to protect control elements such as input fields or function
keys from unauthorized operation. This prevents operator error and improves the
security of the system or machine.
As well as using the password to log in and log out at the operating unit, the user
also has the following functions available:
• The user can write a password to a tag and evaluate the tag in the PLC.
• The user can export a list of passwords.
• The user can import a list of passwords.
Overview
With its scripts, ProTool features an interface to scripting with Microsoft® Visual
Basic® Script (VBScript). VBScript enables you to add your own functions to the
ProTool configuration software. All the data types, operators and functions offered
by VBScript are available. You use VB scripts in ProTool like functions.
Note
Scripts can be used with all Windows-based systems with the exception of
Windows CE systems (for example, MP270).
Note
You should read the Microsoft documentation before programming with VBScript
and be clear about the consequences in ProTool. VBScript not only enhances the
functionality of ProTool; it can also lead to unwanted errors in online operation.
Constructs of VBScript
VBScript is a simple script language in which the following constructs are used:
• Tags: these can be either ProTool tags or internal VBScript tags.
• VBScript operators such as +, -, *, or, and
• Conditional statements such as If...then...else, Select Case
• Looping through code such as Do...Loop, While...Wend, For ... Next, For
each ... Next.
• VBScript procedures such as Sub and Function
• Built-in VBScript procedures such as Date, Sin, Sqr.
A VBScript recognizes two types of procedure. These are offered to you on the
General tab:
• Subroutine
• Function
In contrast to a function, a subroutine does not have a return value. Parameters
can be passed with both types of procedure.
Limits
The number and scope of the scripts is dependent on the operating unit you are
using (see System limits (Chapter A.1)).
ProTool objects can be used and edited when programming scripts. These objects
are:
• Tags
• Functions
• Scripts
Tags are placeholders that occupy memory locations on the OP/PC and to which
values can be written or from which they can be read during the processing of a
script. There are two types of tag:
• ProTool tags
ProTool tags appear red in the script. When a ProTool tag is used in a script,
the tag must already be created in ProTool. Otherwise, an error message
appears at compilation.
• Internal script tags
Internal script tags must be defined with the DIM statement and only apply
within the VBScript procedure.
When you click the Compile button, the script is examined for syntax errors. Since
the VB debugging tool is not available in ProTool, we recommend that you test
complex scripts directly in Visual Basic or VBA. Bear in mind that VBScript does
not offer the full scope of Visual Basic as a language. In addition, ProTool tags
must be simulated by local VBScript tags.
As in any other program, however, programming errors may not appear until
runtime. These are displayed as system errors at script runtime, preceded by
VBScript Error:. The name of the script and the line number in which the error
occurs are displayed.
To avoid errors, you should check your scripts for the following:
• Are direct or indirect recursions used correctly?
• Are there any continuous loops?
• Are the function parameters correct?
• Are the tag types used for the parameters correct?
• Is the number of parameters in a script correct?
• Are you using time-consuming routines?
• Do you call the scripts very often?
Note
Only one script can be executed at any particular time.
A value in Fahrenheit is read from the PLC via the ProTool tag Var_1. The value
is converted to Celsius by means of the TempConvert script and written to the
internal ProTool tag Var_2. You can associate the tag Var_2 with an output field
and display it in a screen.
The figure below shows you the Script Text dialog box with the edited and
compiled script.
3. Configure an output field in a screen. Assign the output field the tag Var_2.
Every time the tag Var_1 changes, the script is executed and the result written
to the tag Var_2. The current value is displayed in the output field.
A value in Fahrenheit is read from the PLC via the ProTool tag Var_1. The value
is converted to Celsius by the script DegreesCelsius(Fahrenheit) and
written to the internal ProTool tag Var_2. You can associate the tag Var_2 with an
output field and display it in a screen.
7. Enter Fahrenheit in the parameter field, and click the Add button.
8. Select the Script Text tab.
9. Now edit the script.
DegreesCelsius = (Fahrenheit -32)*5/9
10. Click the Compile button to compile the script.
The figure below shows you the Script Text dialog box with the edited and
compiled script.
6. Configure an output field in a screen. Assign the output field the tag Var_2.
Every time the tag Var_1 changes, the script is executed and the result written
to the tag Var_2. The current value is displayed in the output field.
5.16 Networking
Overview
In this chapter, you learn how to display the data of other network nodes on the
operating unit as a function of the network configuration through the OPC
interface.
Purpose
Windows-based systems, such as the industry-standard PCs FI25 and FI45 for
instance, are used for machine- and process-oriented tasks and can communicate
Ethernet with TCP/IP and OPC.
In this way, visualization and data processing are equally as possible as calling
system-wide information or archiving process data. Universal information flows
guarantee an overview of the status of all processes.
What is OPC ?
OPC stands for “OLE for Process Control” and is an open systems interface
standard. It is based on OLE/COM and DCOM technology and allows simple
standardized data exchange between automation/PLC applications, field devices
and office applications.
Data can be exchanged between devices and applications of different providers
via a common interface:
• OPC simplifies the connection of automation components from different
manufacturers to PC applications such as visualization systems and office
applications.
• OPC standardizes communication to the extent that any OPC server and
applications can work together without problems.
Note
Leading industrial automation companies have combined to found the
OPC Foundation.
You can discover more information about the OPC Foundation at the following
address on the Internet: http://www.opcfoundation.org
Requirements
Since data exchange with OPC is executed with DCOM (Distributed Component
Object Model), only operating units having one of the following operating systems
can be used:
• Windows 2000
• Windows NT 4.0 with Service Pack 5
OPC must be installed on the runtime system and selected from the
communication components.
The OPC server must be located on the same network as the OPC client or be
accessible via RAS (Remote Access Service).
For the OPC client channel to be able to start the OPC server automatically and
successfully establish the process communication connection, the startup and
access permissions of the OPC server must be set accordingly.
Data exchange
To display or evaluate data on the operating unit, you can fetch them through the
OPC interface as an OPC client from any OPC server on the network.
The data exchanged are tags. They are addressed by their symbolic name, which
you assign in the Tag dialog box.
You can edit tags throughout the network in the following manner, for instance:
• Trend tags can be displayed on a trend.
• Tags are archived in a tag archive and then evaluated.
More information
• on the structure can be found in Possible Configurations (Chapter 5.16.2)
• can be found in the Communication for Windows-Based Systems user’s guide.
For communication over the OPC channel, ProTool/Pro RT has a suitable COM
interface to establish the exchange of data between programmable controllers or
automation systems.
An operating unit can be used either as an OPC server or as an OPC client. As an
OPC client, the operating unit can connect to as many as eight OPC servers.
ProTool RT
( Client )
ProTool RT
WinCC ( Server 1 ) WinCC ( Server 2 )
( Server )
WinCC ( Client )
ProTool RT ProTool RT
( Server ) ( Server )
SIMATIC S7-300
SIMATIC S5
SIMATIC S7-400
Structure/configuration
The operating unit is an FI25 and is used as an OPC client.
In the OPC Connection parameter dialog box, select the associated OPC server,
OPC.SimaticNET, and specify the name of the computer on the network.
FI25: ProTool RT
( Client )
Example configuration
Configuring tags
Configure the following tags:
1. Use VAR_4 as the trend variable:
Type: FLOAT
Item Name: S7:[CPU416-2DP|S7-OPC-
Server|CP_L2_1:]DB100,REAL0,1
2. Use VAR_5 as the tag in an output field:
Type: SHORT
Item Name: S7:[CPU416-2DP|S7-OPC-Server|CP_L2_1:]MB0
Overview
This chapter shows you what you need to know in order to create a project with a
user interface in a foreign language.
You can create a monolingual or a multilingual project. In a multilingual project you
can decide:
• whether to make several languages available on an OP and provide the user
with a key for switching between them
• whether to download only one language to a specific OP
Depending on your Windows language, you can configure nearly all foreign
languages without having to perform changes to you Windows configuration.
The exceptions are languages with special character sets such as Greek, Polish,
Russian, Slovenian, Czech and Hungarian. To be able to use these languages, you
have to enable language support under Windows 95 (Control Panel → Software →
Windows Setup → Language Support → Details). This is not necessary in
Windows NT.
Note
If the runtime software is running on a different computer from the configuration
software, i.e. if the computer used for operating is not the same one that is used
for configuring, you may have to reload the language support on both computers.
Note
The ProTool installation CD-ROM contains support for other languages not
supplied as standard with Windows such as Albanian, Bulgarian, Romanian,
Turkish, etc. in the directory WINLANGS. More detailed information is provided in
the file MULLANGO.INF.
up to
3 project
languages
Editing language
Editing language
The project language in which you edit text at any given time on the configuration
computer is the editing language.
The toolbar and the status bar show the current editing language setting.
Reference language
One of the project languages can be used as the reference language. You can
create all the different pieces of text in the reference language first and then use it
as a basis for translations into other languages.
Basic requirements
With ProTool you can configure all languages using Latin characters, as well as
Russian and some of the Asiatic languages.
You first have to load many of the languages in Windows, however, or you have to
install Windows in a different language (refer to System requirements for foreign
languages (Chapter 5.17.1)).
System messages
System messages for your operating unit are available in the following languages:
• Chinese (PRC)
• Chinese (Taiwan)
• Czech
• Danish
• English
• Finnish
• Flemish
• French
• German
• Greek
• Hungarian
• Italian
• Korean
• Norwegian
• Polish
• Portuguese
• Russian
• Spanish
• Swedish
• Turkish
When you configure another language, all the system messages appear in
English. You cannot edit system messages in ProTool.
Language dependence
The characters on a PC keyboard are language dependent. For example, no
German or French special characters are available on an English keyboard.
Further, the letters are arranged somewhat differently.
As soon as you change the editing language in ProTool, it modifies the assignment
of your keyboard to the layout of the foreign language concerned.
When you create a project for several languages, you normally configure all the
pieces of text in your native tongue first. If you then change the editing language
to enter text in a foreign language, all the text fields appear blank again.
ProTool features a user-friendly reference text function so that you have a basis
for your translations. In dialog boxes, you can view the original text in the
reference language by clicking a special button. You can display an additional
window with reference text in the screen editors by means of the toolbar or by
choosing View → Reference Text.
Reference text
In the editor you can translate the pieces of text displayed in the window reference
text without having to change from one language to another to do so.
Scenarios
The basic approach is identical no matter whether:
• you configure in a different language from that installed in ProTool.
(Example: you have ProTool in German and would like to create a French
project.)
• you want to sell a project to several countries, in the language of the countries
concerned.
(Example: you are sending a machine to Germany, England and France. You
want all pieces of text to be displayed on the operating unit in the language of
the countries concerned.)
• you supply a project to a multilingual country.
(Example: you are selling a machine to Switzerland. You want the operator to
be able to choose between German, French and Italian on the operating unit.)
In any case, you should always attempt to create and test the project in one
language first. This language then acts as your reference language for the
translations.
Steps
Configuring in foreign languages consists of the following specific work steps:
1. Comply with the requisite system requirements.
2. Define the languages you want to configure (choose System → Language
Assignment from the menu).
3. Select a language as the first editing language (choose Edit → Languages from
the menu). Create and test the complete project in this language first before
proceeding to translate all the pieces of text later together.
4. Setting up the character set (menu item System → Fonts)
5. Configure a language change (only when you want to offer several languages
simultaneously on one operating unit).
6. Translate the pieces of text. To translate them, change the editing language
(choose Edit → Languages). Select the language in which you created the
project as the reference language (likewise choose Edit → Languages from the
menu).
Detailed descriptions of the different steps will be found in ProTool online Help.
Note
Avoid moving fields in event messages and alarm messages when you modify a
configuration that has been created in several languages. Since there is no
permanent assignment between the field and its position within the text, you
should move the pieces of text – if necessary – instead of the fields.
Tip
Many projects are multilingual and use, for example, English in addition to an
Asiatic language. In such cases you can first create and test your project on a non-
Asiatic Windows system. Not until it is completed do you change to an Asiatic
system, on which you configure and compile the Asiatic text and perform the
download operation.
The languages Chinese (PRC), Chinese (Taiwan) and Korean are currently
supported.
Configuration memory
Use different character sets as sparingly as possible in a project. Every character
set you use reduces the amount of memory available for projects. Every font size
you load is a separate character set.
64 kB of configuration memory are available per character set, which
approximates to 1900 different Chinese characters, for example. If you configure
more Chinese characters, you obtain an error message during compilation to the
effect that the maximum number of characters has been exceeded. At the same
time, a list of the most infrequently used characters in the configuration is output.
Special characters
Special characters are ASCII characters > 127, for example, ã, ±, ä, è, ó.
If you use a non-Chinese character set in text under an Asiatic Windows system,
you should not configure any special characters, because they are not displayed
correctly in the following cases:
• in text, input or output fields for the display of which on screens a non-Chinese
character set has been chosen
• for symbolic object names that are displayed, for example, in title bars
Warning
This modification may affect other applications and for that reason you should
reset the codes in the Registry to their previous values upon completing your
project.
Messages
All system messages are also available in Asiatic languages.
The message number, message status (Active, Cleared, Acknowledged), date/time
and acknowledgement group remain single-byte characters in Asiatic
configurations.
Messages created with Asiatic characters cannot be exported or imported with
ProTool.
Field length
Field lengths depend on the width of the characters used. With Asiatic character
sets, the number of configurable characters in fields can be reduced as a result of
the double character width.
Once you have completed your entire project or self-contained parts within it, the
test phase comes.
The following steps must be taken:
1. Compile the project - in other words, a file that can be run on the operating unit
is created from the project.
2. You download the project. In other words, the project is copied to the directory
from where it is started. This directory may be on the configuration computer or
on the operating unit.
The method you use to download the executable project file to the operating
unit is highly dependent upon the operating unit concerned with Windows-
based systems:
− Download options with operating units having Windows CE -
for example, MP270.
− Download options with PC systems such as OP37/Pro, FI45, for
example.
3. To test the project without a PLC, you need the ProTool/Pro runtime software
that includes the simulation program.
Start the simulator and specify suitable test values.
4. To start the project, choose File → Test → Start Runtime from the menu or click
this symbol:
5. You test the project; If you find any errors, correct them and begin again with
step 1.
Note
If the PLC you are using is a SIMATIC S5 or S7, configure Status/Force in order to
test certain tags in the PLC program, for example.
Note
This procedure applies in particular to PCs such as the FI25 or OP37/Pro.
Download options
You can download the project file from the configuration computer to the operating
unit as follows:
• Direct connection (on systems with Windows 95/98 only)
The direct connection is to be preferred in the commissioning and test phases.
It has already been installed on the Start menu on the OP37/Pro at Programs
→ Accessories→ PC Direct Connection. If it is not available yet on the
configuration computer, it can be installed on the Start menu at Control Panel
→ Network from the Windows CD.
• Disk download
The standard method with the OP37/Pro is disk download.
On the menu, choose File → Settings → Download... from the menu and select
drive A:\ in the Destination Directory dialog box. The executable project file is
the compressed and packed onto one or more disks which you unpack again on
the destination device with the disk download.
• Network connection
If the destination device (a PC, for instance) and the configuration computer
are located on the same network, you can also download the executable project
file by establishing a network connection to the destination device.
Note
This approach applies in particular to Windows CE systems such as MP270.
Basic procedure
A requirement for Windows CE systems is for the operating unit to be in
Download mode. In the case of initial commissioning, the operating unit runs up
automatically in Download mode. You can restart the operating unit for every
further download operation or configure the Change_mode function.
The following settings have to be performed before starting a download operation:
1. Define download settings:
Choose between serial download (RS232) and MPI.
2. Press the Edit button to open a dialog box for selecting the interface on the
configuration computer.
3. In the case of the MP270, select whether you want to have the source file
(*.pdz) downloaded as well.
4. Choose File → Download from the menu.
As soon as the connection to the operating unit has been established, select the
storage medium. The available storage media depend on the operating unit
concerned.
Result: the project file is downloaded.
Purpose
The simulation program simulates the PLC if it is not yet available or connected.
The simulation program is a stand-alone program that is installed together with the
runtime software.
Basic procedure
In the simulation program, the tags that are going to be simulated and/or area
pointers are assigned parameters and activated.
1. Create a project first, in the way you want it to run later with a connection to the
PLC.
2. Save and compile your project.
3. Start the simulator by choosing File → Test → Start Simulator from the menu or
click this symbol:
Note
If you start the simulator without compiling the project beforehand, compilation
is initiated automatically.
4. When you simulate the project for the first time, the simulator starts with a new,
blank simulation table. If you have already created a simulation table for this
project, this is opened.
5. You can save to a file all the settings you performed for a project in the
simulation table (*.sim). Choose File → Save on the simulator and specify a
file name for the simulation table.
This means that you can open this file again later and simulate your project
again, if the project has not been modified in the meantime.
6. Start Runtime by choosing File → Test → Start Runtime from the menu or click
this button:
Switch tasks from the simulator to the current project if you wish to observe the
variation in the value.
More information
You will find more information on running the simulation program in its online Help
and in the ProTool/Pro Runtime User’s Guide.
Usage
As a result of a download operation, the executable project is normally
downloaded to the operating unit. If you want to use the original project data for
developing the project further or for error analysis, they must remain on the
configuration device.
On an MP270 (or on Windows CE devices with a suitable memory capacity or
option of a memory upgrade with a CF card), you can store not only the compiled
project but also the source code of the project so that subsequent retrieval
(uploading) of the project from the operating unit is possible.
Advantage: in this way you can later perform analyses and changes to an existing
configuration even if the original programming device cannot be reached or the
source file (*.pdb) for the project is no longer available on the configuration
device.
Requirements
• Sufficient storage space must be available on the operating unit.
• The storage location for the source file must have been set on the operating
unit. Different storage locations can be set for the project file and source file:
internal flash memory or PC card (refer to equipment manual).
• The project file must be downloaded with the source file.
Note
The uploaded and decompressed project file (*.pdb) can only be opened in a
version ProTool whose version number is higher than or equal to the version
number of the program with which the project was created.
Warning
ProTool cannot check whether the source file on the operating unit really does
belong to the configuration operated on it. If you have performed a download
without simultaneously downloading the source file at some time or other, old
project data may still be on the operating unit. It is possible that the data no longer
belong to the current project.
Purpose
In runtime you can have direct read-write access from the operating unit to the
connected PLC (SIMATIC S5 and SIMATIC S7) and its peripherals.
This means you can easily use the operating unit to monitor and control the
operands of the PLC program without also having to connect a programming
device or PC to the PLC.
This is very advantageous particularly during the testing and commissioning phase
of your project.
Requirements:
In order to be able to access values on the PLC directly at runtime, the following
requirements must be met:
• The connected PLC must be a SIMATIC S5 or SIMATIC S7
• You must have configured Status/Force in a screen.
Status/Force Tag
The figure shows an example of Status/Force on the operating unit:
Status In the Status Value column you can read the current values of
the displayed operands from the PLC.
Control In the Control Value column enter a value which will be written
(Force Tag) into the operand address.
In your project, you should provide controls to make service work easier on startup
and during operation.
It is advisable to configure these controls in a separate screen, with their selection
protected by a password. In this way, you prevent operators who are not service
personnel changing basic settings by mistake.
Print function
ProTool provides a comprehensive printout function that can be accessed via
menu item File → Print. It provides detailed lists for documenting all project-
relevant data such as screens, messages, tags, symbol tables, etc.
In this way it provides the facility for documenting your complete project. An up-to-
date printout can also be very helpful while you are configuring.
Tip
When configuring, as an alternative to the printout function, there is also the
convenient cross-reference function offered by ProTool (see Retrieving project
information (Chapter 4.8)).
Chapter
ProTool subdivides printouts into chapters arranged by subject according to object
types. For example, one chapter contains all the definitions on the subject of
screens, another contains a list of all the tags and yet another a list of all the
defined text or graphic lists.
You can print several chapters at once or just print single chapters.
Reports
ProTool offers you the facility of customizing printouts to suit your individual
requirements.
• You can limit a printout to single chapters or single pages.
• You can set the order in which the chapters appear.
• You can decide which data you want to output within a chapter.
• You can set margins, define your own headers and footers and embed your
own graphic in the cover.
These definitions are stored in a report. Frequently required reports have been
defined in ProTool in advance. But you can also create your own reports, as you
wish. All reports are common to all projects.
Every time you want to print, you choose the report with which you would like your
output to conform.
Printer drivers
Note the following constraints with certain printer drivers:
• It may not be possible to print the configuration with CANON drivers. Printing
will be discontinued in this case.
• With the Apple laser printer, the first line is not printed. This problem does not
occur with drivers for the HP LaserJet III, PostScript or PostScript printers.
Objective
You wish to print all the data in your project. Unlike the default setting, you do not
want the ProTool graphic but your company logo, which you have already used in
your project under the name of LOGO, to be printed on the cover. You want to leave
a margin for handwritten comments on the right side of the printout.
4. Click the Preview button. The print preview shows you how your printout will
look later. You want to replace the graphic on the first page (cover) with your
company logo. You want the right border to be much wider.
9. Confirm your input by clicking OK. You a re now back in the Reports dialog box.
10. To modify the definition for the cover, select the entry Cover on the Contents
list and click the Parameters button.
11. In the Cover dialog box, select the graphic called LOGO with your company logo
at Graphic.
12. Click OK twice until you are back in the Print dialog box.
You have now modified the definitions for the report called Complete. The
changes will be available in future when you print other projects.
13. Finally, click the OK button to activate the printing process.
If you integrated ProTool into STEP 7 when you installed it, use "SIMATIC
Manager" to manage your projects. You can then copy, move, back up and restore
your projects in the same way as you have been used to from STEP 7. For further
information refer to the documentation on SIMATIC Manager.
Note
ProTool’s Project Manager is not available to you in the event of integrated
operation. ProTool data can no longer be viewed independently in this event, since
the data is always linked to a STEP 7 project. It therefore has to be managed and
backed up using this application.
Project Manager
If you installed ProTool as a stand-alone version – in other words, if you are not
operating it under STEP 7 – there is a user-friendly Project Manager incorporated
into ProTool in place of the SIMATIC Manager. You can use it to manage your
projects in a user-friendly way.
Usage
With Project Manager, it is simple for you to:
• back up projects, even on more than one floppy disk
• restore projects that you have backed up
• open projects
• delete projects
Call
You start Project Manager by choosing File→ Project Manager from the menu.
When you call Project Manager for the first time, the Find dialog box is displayed
initially. Here you choose the drives and directories which have to be searched for
ProTool files. Only those projects that are located within these directories are
displayed by Project Manager.
After you have selected the appropriate directories, or when you call Project
Manager later again, the Project Manager window proper appears.
Display
Project Manager
In the left segment of the Project Manager you will see a hierarchical structure of
all the projects located in the directories in which Project Manager searched. Here
you can select a project in order to open it, delete it or back it up.
In the center segment of the window you will find detailed information on the
project highlighted on the list.
With the help of the buttons in the right segment, you can add directories to the list
of directories in which you want Project Manager to search (Find button), you can
search the directories again (Update button) and you can have the list searched in
accordance with different project data, such as project name, device type, creation
date, etc. (Sort button).
The following list of system limits helps you estimate whether your project is still
within the system limits of the operating unit.
The specified maximum values are not additive - in other words, you can
configure 4000 messages if you do not use any other objects. However, 4000
messages and 200 screens, each with 40 graphic objects, are not possible
simultaneously.
In addition to the specified limits, the limitation due to the available configuration
and RAM memory has to be taken into account.
If the limits are violated, a warning is issued while the project is being compiled. In
addition, information about the current system limits of the project during
compilation.
Note
The internal flash memory can store up to 64 kB.
The SIMATIC HMI device family is a complete family of text displays, operator
panels, touch panels and Windows-based systems for efficient machine operation
and monitoring. The performance and convenience of the devices are finely tuned
to suit the individual demands made of them.
The great advantage is that you configure all the devices with the same
configuration software.
Example: OP37/Pro
The ProTool - Configuring Graphics Displays manual tells you how to configure
the following graphics-based operating units and touch panels:
• Operator panel
− OP25
− OP27
− OP35
− OP37
• Touch panels
− TP27
− TP37
• C7 devices
− C7-626 (OP25 with integrated S7 CPU)
Example: TP37
Example: OP7
This manual is part of the SIMATIC HMI documentation. The table below shows
where to find what information.
• a change of screen,
• and a message
• Windows-based systems:
for example: TP170A, MP270,
OP37/Pro, FI25, FI45
• detailed description of
configurable objects and
functions.
• detailed description of
configurable objects and
functions.
• detailed description of
configurable objects and
functions.
• context-sensitive Help
• detailed information
• SIMATIC S5,
• SIMATIC S7,
• SIMATIC 500/505,
• SIMATIC S7,
• SIMATIC WinAC,
• SIMATIC 505,
• OPC,
• Allen-Bradley,
• Mitsubishi,
• Telemecanique.
• Allen-Bradley,
• GE Fanuc
• Mitsubishi,
• Modicon,
• Omron,
• Telemecanique.
• configuring installation-specific
process diagnosis,
• configuring installation-specific
process diagnosis,
MP Multi-panel
OP Operator panel
PC Personal Computer
TP Touch Panel
Acknowledge
By acknowledging an alarm message, you confirm that you have taken notice of it.
Thereafter the message is no longer displayed on the operating unit. You can
acknowledge alarm messages on the operating unit or you can have then
acknowledged by the PLC.
If you assign alarm messages to acknowledgement groups, you can acknowledge
several messages simultaneously.
Acknowledgement groups
You can assign several alarm messages to an acknowledgement group when you
are configuring. When the first message is acknowledged, all the other messages
in the same acknowledgement group are acknowledged simultaneously. This
means, for example, that you can acknowledge alarm messages referring to the
cause of a malfunction and to all consequential malfunctions together (group
acknowledgement).
Acquisition cycle
The acquisition cycle determines the time interval in which the value of a tag is
updated by the PLC. With a zero acquisition time, the tag is updated only when
screens, messages and recipes containing that tag are displayed on the operating
unit.
The acquisition cycle is a multiple of the standard clock pulse.
Actions
Actions are components of a unit. Their purpose within the process is to control a
single actuator.
In program terms, an action is
• a network in a LAD/CSF/STL program
• a step in a S7-GRAPH program
• a state in a S7-HiGraph program
Address multiplexing
With address multiplexing, the address parameters of a tag are modified as a
function of the value of a multiplex tag. In this way you can address a number of
memory locations in the address area of the PLC (S7 CPU) with a single tag
without having to define a tag for each address.
Alarm message
Alarm messages provide information on the operating unit on malfunctions of the
machine or system connected to the PLC. Message text may include current
samples.
Since alarm messages display extraordinary operating states, they have to be
acknowledged.
Archive
An archive is a memory area on a medium. You set the size of the archive in
ProTool. You can store messages or tags in an archive.
Area pointers
An area pointer is a memory area defined by the user on the PLC. The area is
used for exchanging data between the PLC and the operating unit.
Synonym: user data area
Background color
You can assign a permanent color to the background of an output field,
for example, or dynamically modify the color as a function of the value of a tag.
Backup
You use the "Backup" function to archive projects created on your operating unit.
Archived data can be read back in by means of the "Restore" function.
Bar graph
A bar graph displays a value from the PLC as a rectangular area. You can use it to
display fill levels or numbers of items produced, for example, on the operating
unit.
Baud rate
The baud rate is a criterion for the speed with which data are transferred. The baud
rate is specified in bits per second.
Button
A button is a control element that is displayed on the screen. Buttons are touch-
sensitive on touch panels.
Clipboard
The Clipboard is a memory area on the configuration computer and is accessed by
ProTool when you cut, copy and paste objects.
Compile
Compile means you create an executable file from your project. You can download
the file to the operating unit. During the compilation process, a consistency check
is performed on the project.
Coordination
This data area can be used by the PLC to query the status of the operating unit,
for example
• Startup of the operating unit
• Current operating mode
• Ready for communication
CPU
CPU is the abbreviation for central processing unit.
Cross-reference
Cross-references provide information on which objects refer to each other in the
project. If, for example, you wish to delete a variable, you will learn via the cross-
reference the points at which the variable is used in your project.
Download
You use the "Download" function to transfer an executable project file to the
operating unit. Before you can do so, connect the operating unit to the
configuration computer by means of a standard cable.
Dynamic attributes
Dynamic attributes control, for example, the colors of an input or output field as a
function of the value of a tag and enable or disable flashing for displaying the
contents of that field.
Editing language
The editing language is the language in which you create text for your project.
Event message
Event messages provide information on the operating unit on operating states of
the machine or system connected to the PLC. Message text may include current
samples.
Event
Functions are triggered upon the occurrence of defined events - for example, upon
pressing or releasing a key. Events can be configured as a function of an object.
Export
You can export configured messages as a text file to translate them into a different
language with an external editor, for example.
Using the ProTool’s import function, you can reimport the text file into your project.
Field type
The object type specifies whether values or symbols can be entered in or output to
an object on the operating unit.
Fixed window
The fixed window is a window that is always located at the top border of the
operating unit screen. You can adjust its height. Since the contents of the fixed
window do not depend on the current screen, you can output important process
tags or the date and time to it, for example.
Flash memory
A flash memory is a programmable memory that can be erased and then rewritten.
Foreground color
The foreground color of an output field, for example, determines the color of the
value or text output to it. You can either permanently configure this color or
dynamically modify it as a function of the value of a tag.
Function key
A function key is a key on the operating unit for configuring a function assignment.
A function key with a global function assignment always triggers the same
function irrespective of the screen that is currently open.
A function key with a local function assignment (soft key) can trigger a different
function on every screen.
Global function
Global functions are not assigned to any particular objects but are linked to
specific events. If, for example, you configure the Set Bit function as a global
function with the condition Enter Value, a bit is set every time a value is entered.
Irrespective of the field selected.
Global tag
Global tags (process variables) establish the connection to the PLC. You have a
set address on the PLC. The operating unit reads and writes to and from that
address.
Graphic list
A graphic list assigns a graphic to every value of a tag. This means, for example,
that you can display the assigned graphic on the operating unit in an output field
instead of a value.
Group acknowledgement
You can assign any alarm message to an acknowledgement group when you are
configuring. When the alarm message is acknowledged, all the other messages in
the same acknowledgement group are acknowledged simultaneously too.
Guide line
You can define a horizontal guide line in a trend graphic for each of the two Y axes
in order to gain a quick overview of the deviation of the actual values from their
setpoint.
Help text
Help text is supplementary information that can be configured for messages,
screens and fields. You can provide the operator with information, for example, on
the cause and how to eliminate the malfunction by means of Help text on an alarm
message.
Icon
An icon is a fixed-size pixel graphic. You can assign icons to soft keys,
for example, in order to illustrate their function.
Import
You reimport text files back into your project that you exported with ProTool’s
export function in order, for example to translate then into another language with
an external editor.
Input field
An input field is where you enter values on the operating unit that are transferred
to the PLC.
Invisible button
An invisible button is a control element that is visible while you are programming
but not at runtime. If you place invisible buttons over a component on your process
screen, you can operate that component by clicking it with your mouse (Windows
system) or by touching it (touch panels).
Job mailbox
The PLC uses this data area to pass PLC jobs to the operating unit to initiate
specific functions for example, display a screen.
LED assignment
This area pointer can be used by the PLC to drive the light-emitting diodes on the
function keys of the operating unit.
Limit value
You can set for tags an upper and a lower limit value that is determined by a
constant or by a tag. The effects of the specified limit values being exceeded are
as follows:
• Input field:
input is rejected on the operating unit.
• Output field:
Values are output in the color configured.
• Trends:
Trend values are displayed in the color configured.
• Bar graph:
The bar graph is displayed in the color configured.
Local tag
Local tags are not connected to the PLC. They are available only on the operating
unit.
Message arrival
The arrival of a message denotes the time at which the message is initiated by the
PLC or operating unit.
Message buffer
A message buffer is a memory area on the operating unit in which message events
(Event messages and Alarms) are stored in chronological order when they arrive.
Message departure
The departure of a message indicates the time at which a message is withdrawn
by the PLC.
Message event
Message events are the:
• Message arrival
• Acknowledgement of a message
• Message departure
Message events are stored in chronological order in the message archive on the
operating unit.
Message indicator
The message indicator is a graphic symbol that is displayed on the operating unit
while at least one alarm message is queued.
Message logging
With message logging, messages are output to the printer in addition to being
displayed on the operating unit.
Movements
Movements relate to sequences in the process that can be monitored with the aid
of error definitions in the process diagnosis. There can be several error definitions
for each movement. A movement can be contained within a unit and represents an
actual movement on the part of a physical object within the process (e.g. a die
moves up and down).
Movements are defined in S7-PDIAG by the "movement" UDT being used in a
block.
Object
An object is an integral part of a screen or a message. Depending on the object
type, objects are used to display or enter text and values on the operating unit.
Online Help
ProTool’s online Help provides you with context-dependent information on your
screen while you are configuring.
OP Acknowledgement
This area pointer is used by the operating unit to inform the PLC which alarm
messages have been acknowledged on the operating unit.
OP
OP is the abbreviation for operator panel.
Operator panel
An operator panel (OP) is a configurable operating unit for operating and
monitoring machines and systems.
Output field
An output field displays current values from the PLC on the operating unit.
Overflow warning
The overflow warning is a message that is output to the operating unit as soon as
the configured size of the remaining buffer is reached or exceeded.
Password level
You can specifically restrict the privileges of operating the operating unit to certain
users or groups of users. To do this, you assign hierarchically ascending password
levels to individual functions, function keys and input fields.
The password level is linked to the password. It entitles you execute functions at
that or a lower password level on the operating unit.
Password
A password is a string of characters that you have to enter on the operating unit
before you are able to execute a protected function. A defined password level is
assigned to every password.
Pattern trend
With a pattern trend, all trend values are read simultaneously from the PLC and
displayed as a trend on the operating unit by setting a trigger bit.
Pattern trends are suitable for displaying rapid changes if the trend variation, seen
in its entirety, (profile) is more interesting than individual values.
PLC Acknowledgement
This area pointer is used by the PLC to inform the operating unit which alarm
messages have been acknowledged by the PLC.
PLC job
You can trigger functions on the operating unit by means of PLC jobs by the PLC
program - for example, Display Screen.
PLC
PLC is the abbreviation for programmable logic control.
Print Screen
Print Screen prints a copy of the contents of the operating unit screen. Open
windows are not printed.
ProTool/Pro
ProTool/Pro is
• a full-graphics configuration software package for the whole SIMATIC HMI
family and for standard PCs.
• runtime software for Windows-based systems.
Realtime trend
With a realtime trend only one trend value at a time is read from the PLC for each
clock pulse or trigger and added to the trend displayed on the operating unit. If the
configured number of samples has been reached, the oldest value is overwritten
by every new one.
Realtime trends are suitable for displaying continuous patterns.
Reference language
With multi-lingual projects, the reference language (reference text) serves as a
basis for translations into other languages.
Reference text
With multi-lingual projects, the reference text serves as a basis for translations into
other languages. Reference texts cannot be edited.
Remaining buffer
The remaining buffer is the configurable size of the message buffer at which an
overflow warning is issued when it is exceeded.
Restore
With the "Restore“ function you read data back in which you had previously
archived using the "Backup“ function.
Screen
A screen is a group of logically related process data that can be displayed
collectively on the operating unit and modified individually. Screens consist of
static and dynamic components.
Static components are text and graphics, dynamic components are, for example,
input and output fields.
Soft key
A soft key is a function key with a locally assigned function on the operating unit.
Depending on the current screen, a soft key can trigger different functions.
Start value
The initial value is the value with which a tag preset following downloading of a
new project or following deletion of the buffer. You can configure the start value.
Supervisor
The supervisor is the user who is entitled to execute functions at the highest
password level. He therefore has access to all the functions of the operating unit.
Switch buffer
A switch buffer is a second buffer which you can create for a pattern trend. While
the operating unit is reading the trend values from buffer 1, the PLC is already
writing the new values to buffer 2. When the operating unit is reading buffer 2, the
PLC is writing to buffer 1. The switch buffer prevents the PLC from overwriting
values while the operating unit is reading the trend.
System
The system is the hardware platform for the executable project file. It includes the
• programmable logic control
• operating unit
• printer
Tag
A tag is a defined memory address to and from which values are written and read,
respectively. This can be done by the PLC or by means of the operating unit. A
distinction is made between global tags (process tags) and local tags, depending
on whether a tag is linked to the PLC or not.
Text list
A text list assigns text to every value of a tag. This means, for example, that you
can display the assigned text on the operating unit in an output field instead of a
value.
Transitions
A transition describes a condition for progressing from one step to the next within a
sequence of steps.
Transitions occur only with S7-GRAPH and S7-HiGraph.
Trend request
This area pointer can be used by the PLC to evaluate which trend is currently
being displayed on the operating unit.
Trend
A trend continuously displays a value from the PLC as a line or a bar graph on the
operating unit. Depending on the type of trend value acquisition, a distinction is
made between realtime trends and pattern trends.
Units
A unit is a block in S7-PDIAG, a sequence of steps in S7-GRAPH and a state
graph in S7-HiGraph.
Units are objects of the process diagnosis that are monitored with the aid of error
definitions. There can be several error definitions for each unit. Units can be
physical objects in the process (e.g. a press or die) which in turn can incorporate
movements (e.g. forward/backwards, up/down).
Units are logical hierarchical criteria and structure the view of the process They
may store data that is shared by all hierarchically subordinate objects.
Hierarchically subordinate objects can in turn be other units or movements, for
example.
Each unit can incorporate one or more actions.
Update time
The update time is the sum of the polling time, download time and processing
time.
X axis
The X axis is the horizontal coordinate axis on a trend graphic. It can be labeled,
for example, with the time or with the number of trend values that can be
displayed.
Y axis
The Y axis is the vertical coordinate axis on a trend graphic. You can assign up to
two Y axes to any single trend graphic.
Zoom
You use Zoom to zoom in or out of a screen displayed on the configuration
computer.
A Area pointer
data mailbox 5-112
Abbreviations C-1 Area pointers 5-63
Access protection configuration ASCII C-1
overview 5-122
Acknowledge messages 5-52
Acknowledgement 5-77
Acknowledging messages 5-53 B
Acknowledgment group 5-51
Acquisition cycle 5-31 Bar graphs
overview 5-18
Action
canceling 4-15 Bit trigger 5-39
Address multiplexing 5-33 Button 5-19
Alarm message area configuration 5-54
ALARM_S 5-66
acknowledgement 5-77
communication sequence 5-76 C
display classes 5-68 Canceling 4-15; 4-16
message printing 5-77
Changing positions dynamically
message text configuration 5-72
overview 5-122
setting 5-70
Update 5-74 Changing tags
functions 5-36
Analog clock 5-27
Chapter Summary 1-2
Analog display 5-25
Clipboard 4-13
ANSI C-1
copy 4-13
Archive 5-36; 5-41; 5-96; 5-97
Clock 5-27
displaying archive data 5-96
displaying archive data (example) 5-41; Clock pulse trigger 5-39
5-97 Color category 5-9
properties 5-93 Colors 5-9
Archive tags 5-36 Columns of a message view 5-59
Archiving 5-91 Combining multiple functions 5-82
functions 5-98 Communication areas for messages 5-63
messages (example) 5-94 optional 5-64
tags (example) 5-96 Complete devices B-2
Archiving messages 5-53 Configuration 5-137
Archiving process data 5-91 ALARM_S messages 5-72
F
Fields 5-2
I
Filtering messages 5-53
Fixed window 5-2 Information on project 4-19
Flashing Input field
fields (overview) 5-119 Overview 5-15
LED (Overview) 5-120 Installing ProTool 3-2
Force Tag 6-8 Instance DB 3-5
Foreign languages 5-142 Invisible button
system requirements 5-141 overview 5-19
Function (example) 5-133
Function key 5-16
assign icon (overview) 5-118
Function parameters 5-80 K
Functions 5-62; 5-112; 5-125
Keyboard assignment
archiving 5-98
language-dependency 5-144
changing tags 5-36
display messages 5-62
for messages 5-51
for service work 6-9
password 5-125 L
Labeling function keys (overview) 5-118
Language-dependency
keyboard assignment 5-144
G
Languages 5-142; 5-148
Getting Started 2-6 configurable 5-143
Global function key 5-16 creating a multilingual project 5-146
requirements for Asiatic languages 5-
Graphic
147
bar graphs 5-18
standard screens 5-143
Graphic lists 5-37 system messages 5-143
Graphics LED C-1
overview 5-13; 5-38
Libraries 5-7
trends 5-18
in ProTool 5-7
Graphics displays B-2
Limitations 7-3
Guide to the Manual 1-2
Limitations of VBScript 5-130
M
Managing projects in stand-alone operation O
7-7
Memory requirement 4-19 Object dynamic positioning
Message acknowledgement 5-52 overview 5-122
Message buffer 5-46; 5-60 Object types in the project window 4-4
printing in report 5-46 Objects in the project window 4-4
Message class display 5-59 ODBC 5-91
Message display on the operating unit 5- OLE C-1
58; 5-61 OP C-1
Message event 5-59 OPC
Message indicator 5-62 trend data display (example) 5-139
Message line 5-61 OPC network configuration 5-137
Message number 5-50 Operation state reporting 5-49
Message procedure Operator authorization assignment
ALARM_S 5-66 overview 5-122
setting 5-70 Operator Panel B-2
Message text 5-50 Other Sources of Assistance 1-5
Message view Output alphanumeric values 5-15
overview 5-59 Output field
Message window 5-61 overview 5-15
Messages 5-62 Output numerical values 5-15
acknowledgement 5-77 Output values 5-15
alarm message area configuration 5-54
archiving 5-94
communication areas 5-63
editing alarm messages 5-51 P
overflow 5-49
properties 5-51 Page number (screen object) 5-46
structure 5-50 Password
use of resources 5-75 functions 5-125
Minutes 5-27 Password hierarchy 5-122
More information 1 5-58 Password level 5-122
Moving objects Pattern trend 5-18; 5-39