Professional Documents
Culture Documents
WinCC Graphics Designer
WinCC Graphics Designer
Graphics Designer
Manual
C79000-G8276-C107-01
C79000-G8276-C107-01
Printed in the Federal Republic of Germany
Siemens Aktiengesellschaft
08.97
Graphics Designer
Table of Contents
1
Functionality ..............................................................................
1-1
Structure ....................................................................................
2-1
2.1
2.1.1
2.1.2
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.4
2.4.1
2.5
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8
2.7
2.8
2.8.1
2.8.2
2.8.3
2.8.4
2.9
2.10
WinCC Manual
C79000-G8276-C107-01
2-2
2-2
2-3
2-3
2-9
2-10
2-10
2-11
2-11
2-11
2-12
2-13
2-13
2-14
2-14
2-15
2-16
2-17
2-17
2-18
2-21
2-26
2-30
2-30
2-32
2-33
2-34
2-35
2-37
2-37
2-37
2-37
2-37
2-38
2-38
Graphics Designer
2.11
2.11.1
2.11.2
2.11.3
2.11.4
2.11.5
2.11.6
2.11.7
2.11.7.1
2.11.7.2
2.11.7.3
2-39
2-39
2-39
2-40
2-40
2-40
2-50
2-52
2-55
2-56
2-57
3-1
3.1
3.2
3.2.1
3.2.1.1
3.2.1.2
3.2.1.2.1
3.2.1.2.2
3.2.1.2.3
3.2.1.2.4
3.2.1.2.5
3.2.1.2.6
3.2.1.2.7
3.2.1.3
3.2.1.4
3.2.2
Introduction .................................................................................
Linking Actions with Graphic Objects...........................................
Making Object Properties Dynamic..............................................
Setting Dynamics Using the Dynamics Dialog..............................
Adding Dynamics with the Dynamic-Wizard.................................
System Functions........................................................................
Miscellaneous Functions .............................................................
Standard Dynamics.....................................................................
Import Functions .........................................................................
Picture Functions ........................................................................
User Archive Functions ...............................................................
Example of a configured Dynamic ...............................................
Setting Dynamics with a C Action................................................
Setting Dynamics with a Tag Value .............................................
Reacting to Events ......................................................................
3-1
3-2
3-2
3-3
3-15
3-16
3-16
3-16
3-17
3-17
3-18
3-19
3-21
3-32
3-35
Appendix ....................................................................................
4-1
4.1
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.8
4.1.9
4.1.10
4.1.11
4.1.12
4.1.13
4.1.14
ii
08.97
4-1
4-1
4-2
4-3
4-4
4-5
4-6
4-7
4-8
4-9
4-10
4-11
4-12
4-14
4-15
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
4.1.15
4.1.16
4.1.17
4.1.18
4.1.19
4.1.20
4.1.21
4.1.22
4.1.23
4.1.24
4.1.25
4.1.26
4.1.27
4.1.28
4.2
4.3
4.4
WinCC Manual
C79000-G8276-C107-01
4-16
4-17
4-18
4-20
4-23
4-24
4-25
4-27
4-29
4-31
4-33
4-35
4-37
4-38
4-39
4-72
4-76
iii
Graphics Designer
iv
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Preface
Purpose of the
Manual
This manual introduces you to the functions of each software component and
their operation in a reference manual format. You can find the information
you need quickly by using the table of contents or the index. Naturally, the
information is also available to you in the on-line help in either a
context-sensitive fashion or in the on-line help contents.
The "Getting Started" manual, which is part of the WinCC package, contains
a total overview of WinCC and a configuration example in which the most
significant functions of the individual components are followed through in a
practical application.
Additional Support
If you have technical questions, please address them to your Siemens contact
partner, located in the businesses responsible for your location. You can find
the addresses in the attachment entitled Siemens Worldwide, in "S7-300
Automation System Structure in an S7-300," in catalogs, and on CompuServe
(go.autforum). In addition, you may call our Hotline at 011-49-911-895-7000
(Fax 7001).
You can find additional information on the Internet under the address
www.aut.siemens.de/coros/html_00/coros.htm.
Information about
SIMATIC products
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
vi
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
1 Functionality
Graphics Designer is used to create process pictures. It offers the following
features:
WinCC Manual
C79000-G8276-C107-01
1-1
Graphics Designer
1-2
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
2 Structure
Graphics Designer contains the following items:
Color Palette
Object Palette
Style Palette
Alignment Palette
Zoom Palette
Font Palette
Menu Bar
Standard Palette
Status Bar
Layer Bar
Object Properties
When you start Graphics Designer, the "Tips & Tricks" window appears.
Context Sensitive
Help
WinCC Manual
C79000-G8276-C107-01
By switching the context sensitive help on, you receive help text about
palettes, menu commands, and buttons. It also assists you in finding
additional information in on-line help .
2-1
Graphics Designer
08.97
button.
Changing the Palette In order to have a better overview of the entries in the palettes, especially
those in the object and style palettes, you can change the size of the palettes.
Size
2-2
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
3. Click on the color you want in the "Basic Colors" or the user-defined
colors.
or
Click on the "Define Color >>" button to create another color
combination.
WinCC Manual
C79000-G8276-C107-01
2-3
Graphics Designer
08.97
Standard Objects
Line
Polygon
Polyline
Ellipse
Circle
Ellipse Segment
Pie Segment
Ellipse Arc
Circular Arc
Rectangle
Rounded Rectangle
Graphic Objects are used primarily to draw system pictures. The look of the
objects can by changed at run time by making them dynamic (for example, by
linking them to the process).
Static Text
Static Text is implemented to represent text. Static means that the text is
within a text object (no dynamic reference). You can change the look,
location, and contents of the text box during run time.
If a static text is to extend for multiple lines, a line return can be inserted via
the key combinations <Shift Return> or <Ctrl m>.
Smart Objects
Application Window
Application Windows are objects managed by the message system (Alarm
Logging), the archive system (Tag Logging), the report system (Print Jobs),
and also by applications (Global Scripts). In Graphics Designer, the outside
properties (position, size, and other attributes) are configured and transferred
to the application at run time. The application opens the application window
and manages it for display and operation.
2-4
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Picture Window
Picture Windows are objects that accept pictures created with the Graphics
Designer. They are configured according to position, size, and their other
dynamic properties. For example, one important property is a reference to the
picture (picture name) to be displayed in the picture window. By changing the
"Picture Name" attribute dynamically at run time, the contents of the window
can be changed dynamically.
OLE Control
Use an OLE Control to implement Windows elements (like a button or a
selection box). An OLE control has attributes which are displayed in the
"Object Properties" window "Event" tab and can be edited there.
OLE Object
Graphics Designer offers the opportunity to insert OLE Objects in a graphic.
In the CONFIGURATION mode, you can edit a few objects with the
appropriate OLE application by double clicking; others are activated by
double clicking.
After you have made changes to a linked OLE object in an attached object
box, you must update the link manually in order to display the changes.
You cannot edit in the RUNTIME mode.
I/O Field
You can use the I/O Field as an input field, an output field, or a combined
I/O field. The binary, hexadecimal, decimal, or string data formats are
possible. You can also specify limit values, hidden input, or acceptance on
full.
Bar
The Bar is assigned to the Smart Objects group. Its properties (attributes)
influence its appearance and functionality. It displays values graphically
relative to a high and a low limit, either as a purely graphic overview or as a
combined representation of the values with a scale that you can define.
Graphic Object (External Format)
Use the Graphic Object (External Format) to accept a picture that was
created in an external graphic format into a Graphics Designer picture.
WinCC Manual
C79000-G8276-C107-01
2-5
Graphics Designer
08.97
Status Display
Use the Status Display to display any number of different states of an object.
You can make the display dynamic by connecting it to a tag whose value
corresponds to the status. You can assign any number from 0 to 2 32 -1 (bit
combination).
The states can accommodate gaps (1, 2, 5, 6, etc.). It is possible to have states
without assigned pictures, which can, if necessary, be removed with the
Clear List command.
Text List
Use the text list to assign text to values. It can be used as an input list (text
input --> value output), output list (value input --> text output), or combined
text list. The decimal, binary, or bit data formats are possible.
The "decimal" list type displays the text assigned to the output value. When
you enter a text, the assigned value is transferred as an input value to the data
manager. If a value range is assigned to the text, the bottom range limit is
transferred. This also applies to "top open" value ranges (for example,
>=100). With "bottom open" value ranges (for example, <=0), the top range
limit is transferred.
The "binary" list type displays a text that is assigned to a bit of the output
value if that bit is set. In this case, only one bit may be set in the output value
(one text is displayed). The text assigned to that bit number is output. If more
than one bit is set in the output value, the text "***" is output. When you
enter a text, the data manager receives the input value of the value in which
exactly that bit is set whose number corresponds to the text entered.
The "bit" list type displays a text that relates to the status of a defined bit in
the output value. Exactly two texts can be configured. One text is configured
if the bit is set, and another text if the bit is not set. When you enter a text, the
appropriate bit is set or deleted in the available output value and the new
value is used as the input value. The relevant bit is determined by a unique
property (bit number).
When you use a text list object, the configured list of text assignments is
opened. In the case of the "decimal" and "binary" list types, the text that
corresponds to the current output value is selected. In the case of the "bit" list
type, the opposing text to the current status is selected because use of this list
type normally serves to "turn" a bit and therefore make further operation
unnecessary.
The text list object can be connected to the text library via the Language
Switch attribute. During the configuration, entered text is automatically
written to the text library. In the text library, the texts to be displayed can be
translated. If you switch data languages, the system will read the
corresponding translations from the text library.
2-6
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
3D Bar
The 3D Bar is assigned to the smart objects group. Its properties (attributes)
influence its appearance and functionality.
It displays values graphically relative to a high and low limit. You can
configure the type of the 3D display in any way you wish.
The 3D Bar is part of the Basic Process Control option package.
Group Display
The Group Display object provides a hierarchically concentrated display of
the current states of certain message types. Although, there is no connection
to the message system within WinCC.
Use the group display in RUNTIME mode to execute a picture change to the
picture in which the error source is displayed. This opportunity for rapid
navigation to an error source is a very significant function for the user.
Note: The group display cannot be configured "on line" (in RUNTIME mode)
because this can lead to an incorrect display in RUNTIME mode.
The Group Display is part of the Basic Process Control option package.
WinCC Manual
C79000-G8276-C107-01
2-7
Graphics Designer
08.97
Windows Objects
Button
The Button is used to control process events (like acknowledging messages or
warnings). It recognizes two states ("pressed" and "not pressed"). The link to
the process is achieved by making the corresponding attributes dynamic.
Check-Box
The Check Box is used when you need a multiple selection. You can select
one or multiple boxes in the check box by clicking on it. A very flexible link
to the process can also be achieved here by making the corresponding
attributes dynamic.
Option Group
The Option Group is similar to the check box but only allows a single
selection. The process link from the option group can be created at run time
by making the attribute dynamic.
Round Button
The Round Button is implemented like the button for operating process
events. However, in contrast to that button, the round button also has a latch
down setting for both the "pressed" and "not pressed" states. The process link
is achieved by making the appropriate attributes dynamic.
Slider
The Slider is implemented as a movement regulator for controlling a process
(for example, temperature control). The control range lies between the
minimum and maximum values. You can establish a link to the process by
making the appropriate attributes dynamic.
2-8
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
All objects are drawn with the default object properties in the first visible
layer of the graphic workspace. Layer 0 is assigned for this purpose in
Graphics Designer. You can change all of these default settings (see
"Changing Object Properties").
WinCC Manual
C79000-G8276-C107-01
functions,
2-9
Graphics Designer
08.97
You can set default object properties for each object type. These defaults are
used each time a new object is created.
2-10
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
4. When you exit Graphics Designer, you can save the presettings by means
of the "Options" - "Settings" menu in the "Default Objects" tab.
Note: You can change some properties directly, like line and border style, or
background color, by using the style or color palettes.
Example:
2. Click on one of these handles and hold down the left mouse button.
3. Drag the object to the desired size.
You can change the size of the object diagonally with one of the four corner
handles. Change the size horizontally or vertically with one of the handles in
the middle of the border.
WinCC Manual
C79000-G8276-C107-01
2-11
Graphics Designer
08.97
Example:
2. Click on one of the larger handles and hold down the mouse button. The
pointer changes to a crosshair with an S (Start Angle) or an E (End
Angle) attached.
3. Drag the object to the desired size.
Example:
You can change the size of the object diagonally with one of the four corner
handles. Change the size horizontally or vertically with one of the handles in
the middle of the border.
Line/Border Styles
Line/Border Weights
Line End Styles for line objects
Fill Patterns
Note:
The settings that are currently selected are displayed in a bold typeface.
You can also operate the style palette with the keystroke combination "Alt +
S" and the arrow keys.
You can place the style palette anywhere in the workspace or anchor it to a
border.
The style palette can be turned on or off via the
ToolbarsToolbars>procedure entry from the View menu.
2-12
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
or
Click on the
3. Click on the line you want to use from the selection available.
or
1. Activate the style palette using the keystroke combination "Alt + S."
2. Select the line style you want using the arrow keys.
3. Accept the setting by hitting the "Enter" key.
Note: If you select the line/border styles "dash," "dot," "dash dot," and "dash
dot dot," a weight of 1 pixel is always displayed regardless of the selected line
weight.
or
Click on the
3. Click on the weight you want to use from the selection available.
or
1. Activate the style palette using the keystroke combination "Alt + S."
2. Select the line weight you want using the arrow keys.
3. Accept the setting by hitting the "Enter" key.
Note: The weight can only be enlarged for the "solid" line/border style. A line
weight of 1 pixel is always displayed for all other line/border styles even if
you select a larger line weight.
WinCC Manual
C79000-G8276-C107-01
2-13
Graphics Designer
08.97
How to Change the Line End Styles Using the Style Palette:
1. Click on a line object with the mouse.
2. Double click on the
or
Click on the
3. Click on the line end style you want to use from the selection available.
or
1. Activate the style palette using the keystroke combination "Alt + S."
2. Select the line end style you want using the arrow keys.
3. Accept the setting by hitting the "Enter" key.
Note: The "Line End Style" property is not available for borders around
surface objects.
or
Click on the
3. Click on the fill pattern you want to use from the selection available.
or
1. Activate the style palette using the keystroke combination "Alt + S."
2. Select the fill pattern you want using the arrow keys.
3. Accept the setting by hitting the "Enter" key.
2-14
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
2-15
Graphics Designer
08.97
Note: The type of selection determines, which object will be used as reference
for the alignment.
If the objects have been selected via a selection frame (lasso), the object
located the furthest out will be used as reference.
If the objects have been selected via the mouse and the Shift key, the object
selected first will be used as reference for the alignment.
Note: The type of selection determines, which object will be used as reference
for the alignment.
If the objects have been selected via a selection frame (lasso), the object
located the furthest out will be used as reference.
If the objects have been selected via the mouse and the Shift key, the object
selected first will be used as reference for the alignment.
Note: The type of selection determines, which object will be used as reference
for the alignment.
If the objects have been selected via a selection frame (lasso), the object
located the furthest out will be used as reference.
If the objects have been selected via the mouse and the Shift key, the object
selected first will be used as reference for the alignment.
Note: The type of selection determines, which object will be used as reference
for the alignment.
If the objects have been selected via a selection frame (lasso), the object
located the furthest out will be used as reference.
If the objects have been selected via the mouse and the Shift key, the object
selected first will be used as reference for the alignment.
2-16
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
2-17
Graphics Designer
08.97
Create an empty window with the "New" command. You can draw a new
picture in this window.
Graphics Designer provides an empty workspace with a default name
NewPdlx. The x is incremented every time a new picture is created. When you
save, you can change the name.
Open ...
Load an existing file to the workspace with the "Open ..." command.
The project-specific files for Graphics Designer (file name extension .PDL)
are listed as defaults.
For further information about the process of file selection, see the Windows
95 description or the Windows NT description.
Note: With a "Multi-User System" project type, another user may already
have the picture file open that you want to open. In this case, the system opens
a copy of the file with write protection. If you make changes, this file must be
saved under another name.
Close
Remove the opened file from the screen with the "Close" command.
If you have not yet saved a change to the file, Graphics Designer asks if you
want to save the file. If you answer with "Yes," the file is saved. If the file is a
new picture, you open the "File" - "Save As ..." dialog.
Activate RUNTIME
Save
Save the current version of your work with the "Save" command. Use
this command when a file is saved for the first time and does not have a
permanent name, or when you want to save a change to the file under the
same path and name.
The program-specific file name extension .PDL is attached to the file name as
a default.
Note: With a "Multi-User System" project type, the picture file to be saved
may have been opened "write protected." In this case, the "Save" function is
not possible. You must save the file under another name.
2-18
WinCC Manual
C79000-G8276-C107-01
08.97
Save As ...
Graphics Designer
Save the current version of your work with the "Save As ..." command. Use
this command if you want to change the name or the path of the file. The
dialog box is like the one for the "Save" command.
For conventions and procedures about assigning a file name and path, see the
Windows 95 description or the Windows NT description.
The program-specific file name extension .PDL is attached to the file name as
a default.
Save All
Print ...
Save the current version of all open work windows under already existing
names with the "Save All" command. If a window has not been named, the
system automatically switches to the "Save As ..." dialog.
Print the open picture to the preset printer with the "Print ..." command.
Print to File
This routes the print output of a picture to a new file in a drive you specify
instead of sending the output directly to a printer. This is useful if you want to
print a picture on a printer which is not available on your system.
Collate
Sorts the pages by sets when you are making multiple sets of a picture.
Graphics Designer prints out the first set completely before it begins printing
the next set.
Print Preview
Use the "Print Preview" command to check the page layout in the print view
before you print it out.
This gives you a view of the print picture with the following Toolbar:
Print
Start the printout.
Next/Previous
View the next/previous page in the print view.
Two Pages
View two pages beside each other on the screen.
One Page
Switch from the two page view back to the single page view.
Zoom In/Zoom Out
Zoom the print preview display with "Zoom In"/"Zoom Out."
Close
Exit the print preview and return to the normal editing view of Graphics
Designer.
WinCC Manual
C79000-G8276-C107-01
2-19
Graphics Designer
08.97
Print Feedback
Documentation ...
Print the current picture and all of the objects contained therein along with
their properties with the "Print Feedback Documentation ..." command by
means of the report system in WinCC (Report Designer).
Note: The feedback documentation is sent to the printer that is set in the
Report Designer. You can change the print layout by means of the Report
Designer.
Feedback
Documentation
Preview
Print
Start the printout.
Next/Previous
View the next/previous page in the print view.
Two Pages
View two pages beside each other on the screen.
One Page
Switch from the two page view back to the single page view.
Zoom In/Zoom Out
Zoom the print preview display with "Zoom In"/"Zoom Out."
Close
Exit the feedback documentation preview.
Export ...
2-20
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
File List
The file list displays the file names of the four most recently edited pictures.
This area offers you rapid access to the files without having to use the "File" "Open ..." dialog.
Exit
Redo
Cut
Copy
Duplicate
Paste
Take back the last command used in processing the picture (Undo).
Remove objects from the picture and place them on the Clipboard. The
picture is stored on the Clipboard until a new "Cut" or "Copy" replaces it.
Create a copy of an object directly in the picture. Objects duplicated this way
are not stored on the Clipboard.
Copy the contents of the Clipboard and insert them in the picture. The
contents of the Clipboard do not change.
Delete
Remove all of the highlighted objects from the picture without overwriting the
Clipboard. The objects can only be returned to the picture using the "Undo"
command.
Select All
WinCC Manual
C79000-G8276-C107-01
2-21
Graphics Designer
Group
08.97
You can change the properties of all of the group elements globally or edit the
properties of each individual element using the "Object Properties" window.
Sample
2-22
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Ungroup
Ungroup a group of objects so that you can edit each object individually.
TAB Sequence
WinCC Manual
C79000-G8276-C107-01
2-23
Graphics Designer
08.97
2-24
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
How to Change the Selection of Object Types for the Tab Order:
1. Click on "TAB Sequence" - "Tab Order" - "Settings ..." in the "Edit"
menu.
2. In the dialog box, click on the object types which should be included in the
TAB sequence of the Tab Order.
WinCC Manual
C79000-G8276-C107-01
2-25
Graphics Designer
08.97
Properties
Copy Properties
Assign Properties
Copy Properties
Copies the properties from an object (except for the object name and the
properties belonging to the "Geometry" area) in order to transfer them to
another object.
Assign Properties
After you take properties from one object with the "Properties" - "Copy"
command, transfer them to a selected object with the "Properties" - "Assign"
command. Only the properties (attributes) which both objects contain (like
color, line weight, and border weight) are assigned.
Library
Opens the Graphics Designer picture library. You can store objects
created in Graphics Designer as icons under any name you select in this
library. Then you can paste them into other pictures if necessary.
The pictures can be stored in either a global library (path is provided in the
MCP.INI file) or a project-related library (\LIBRARY in project path).
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
3. Select whether the object should be stored in the "Global Library" or in the
"Project Library."
4. Select a folder in which to store the object.
5. Using the mouse, move the object to the file list. The object receives the
default name Objectx (x = 1, 2, 3 ...). The name remains highlighted.
6. Assign a picture-related name to the object. You can also change the name
of a picture later.
You can also use the pop-up commands "Copy" and "Paste" as well as the
Toolbar icons or the keystroke combination "Ctrl + C" and "Ctrl + V" to
move the object.
Note: Pictures with tag links and actions should not be stored in the "Global
Library" since this could lead to errors when they are linked to other projects.
WinCC Manual
C79000-G8276-C107-01
Turn the palettes and toolbars on and off depending on your need.
2-27
Graphics Designer
08.97
Full Screen
Enlarge the workspace to the full screen size. This hides all palettes and bars.
Switch back to the normal view by pressing any given key or any mouse
button.
Grid ...
You can insert a grid into the workspace in order to make your work
there more precise. If you also switch on the "Snap to Grid" function, all
newly drawn objects are automatically aligned with the grid points.
Note: The minimum grid space displayed on the screen is 10 pixels. If you set
a smaller value (for example, 4 pixels), you can align your objects to that
smaller grid value. However the screen display will show the next evennumbered multiple of that value greater than 10 pixels (in case of a setting of
4 pixels, the screen will display 12).
2-28
WinCC Manual
C79000-G8276-C107-01
08.97
Zoom
Graphics Designer
Change the size of the picture shown on the screen. The view can be
changed according to the following increments:
With the "Zoom" - "Zoom Area" command, you can select a segment of the
screen with a lasso and enlarge the segment.
Layers ...
Switch layers to active or inactive. This displays or hides the objects in those
different layers. An object is assigned to a layer through its object properties.
Notes:
Objects are created in the first visible layer of the graphic workspace. Layer 0
is set as the default for this in Graphics Designer.
The system does not allow you to switch off all of the layers.
WinCC Manual
C79000-G8276-C107-01
2-29
Graphics Designer
Language ...
08.97
An object can receive different inputs for different languages. Use the
"Language ..." command to select the language with which the object input is
linked.
Example:
2.6.4 Insert
Import ...
2.6.5 Align
Rotate
Mirror
Align
2-30
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
You can influence the location of an object with the "Within the Layer"
command. The following functions are available:
Place On Top
Place On Bottom
Move Up One Layer
Move Down One Layer
Place On Top
Move an object to the foreground within a layer using the "Within the
Layer" - "Place On Top" command.
Place On Bottom
Move an object to the background within a layer using the "Within the Layer"
- "Place On Bottom" command.
WinCC Manual
C79000-G8276-C107-01
2-31
Graphics Designer
08.97
Settings ...
The "Settings ..." command opens a dialog window with the following tabs:
"Grid" Tab
"Options" Tab
"Visible Layers" Tab
"Grid" Tab
"Options" Tab
Decide if you want to save the configuration settings when you exit.
Decide if the objects must be completely surrounded by the lasso when
they are selected or if they only have to be touched.
Decide if, after an object is created in the object palette, the object type
continues to be highlighted in the object palette or if it is reset.
Decide if you want to use the configuration dialog. It makes it easier to
configure the objects for the "I/O Field," "Bar," "Button," "Slider," and
"Status Display" objects types.
You can make the picture layers 0 to 15 visible or invisible in the "Visible
"Visible Layers" Tab Layers" tab.
Note: The system will not allow you to switch off all the layers.
2-32
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
"Default Objects" Tab Set the parameters for saving the presettings in the "Default Objects" tab .
Decide if you want to save the presettings when exiting.
Select the file in which the presetttings are to be stored. Use the
button to search through the available paths and set a different path.
Use the "Save Now" or "Load Now" button to save or load the presettings
of the objects now.
Create a copy of the current picture in another window. This means you can
display different segments of a picture at the same time.
Cascade
Display all of the windows in the workspace by overlapping them in the upper
left corner.
Tile Vertically
Arrange the workspace so that all open windows are visible and each window
has a maximum height. The width of the individual windows is determined by
the number of windows. This action fills up the entire configuration window.
Tile Horizontally
Arrange the workspace so that all open windows are visible and each window
has a maximum width. The height of the individual windows is determined by
the number of windows. This action fills up the entire configuration window.
Arrange Icons
Arrange all of the pictures which are reduced to icons in the workspace in the
left lower half of the picture.
Close All
Window List
Lists all of the windows which are currently open. Any number of windows
can be opened.
The selected window becomes the current window and is placed in the
foreground of the picture. The name of the current window is marked with a
check mark.
WinCC Manual
C79000-G8276-C107-01
2-33
Graphics Designer
08.97
Find ...
Index
Glossary
Using Help
Tutorial
About Graphics
Designer
2-34
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
2-35
Graphics Designer
08.97
Enlarge View
(Menu View - Zoom - Zoom In)
Reduce View
(Menu View - Zoom - Zoom Out)
Enlarge Segment
(Menu View - Zoom - Area)
Copy Static Properties of the Selected Object
(Menu Edit - Properties)
Assign Static Properties
(Menu Edit - Properties)
Mirror Object Vertically
(Menu Arrange - Mirror - Vertically)
Mirror Object Horizontally
(Menu Arrange - Mirror - Horizontally)
Rotate Object
(Menu Arrange - Rotate)
Display Object Properties
(Menu View - Properties)
Open Library
(Menu View - Library)
Turn on Context Sensitive Help
(Menu ? - Find).
Note:
You can place the standard toolbar anywhere in the workspace or anchor it to
a border.
The toolbar can be turned on or off via the
ToolbarsToolbars>procedure entry from the View menu.
2-36
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
2-37
Graphics Designer
08.97
2-38
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
or
Open the pop-up menu with the right mouse button and click on
"Properties."
2.11.2 Pin
The pin gives you the opportunity to affix the "Object Properties" window to a
specific location on the screen. The window can be moved to a desired
position and remains open even when other objects are being processed. Its
contents conform to each object selected.
2. Click on the title bar of the window and, holding down the left mouse
button, move the bar to the desired position.
3. By clicking on the pin
WinCC Manual
C79000-G8276-C107-01
2-39
Graphics Designer
08.97
4. In the object list or in the workspace, select the object to which you want
to transfer the copied properties.
5. Click on the right pipette icon
2. Click on the desired object. The name of the active object is displayed to
the left of the selection list.
Note: Objects that contains at least one dynamic attribute or one configured
event are highlighted in a "bold" font in the object list.
2-40
The object properties are arranged in groups in a subject tree in the left half of
the "Properties" tab. When you select a group from the subject tree, the
corresponding attributes are displayed in the right half of the window.
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
The following are examples of subjects which are possible depending on the
object:
Geometry
Colors
Styles
Flashing
Filling
Font
Limits
Axis
Miscellaneous
Output/Input
Note: Subjects that contains at least one dynamic attribute are highlighted in
a "bold" font in the subject tree in the "Properties" tab.
Attributes
You can change the attributes using either value inputs, palettes, or pop-up
menus, depending on the type of attribute.
You can make the attributes dynamic by using either a tag or the return value
of an action.
Attribute Settings
The attributes are dependent on the object type and subject you select in the
subject tree. Four settings are assigned to each attribute:
WinCC Manual
C79000-G8276-C107-01
2-41
Graphics Designer
Static Attribute
08.97
You can set certain properties for each attribute. These properties are set in
the defaults and can be changed statically as well as dynamically for each
attribute.
Note: With multiple selection, all of the attributes of the selected objects are
listed in the "Properties" tab. However, only attribute values that are identical
in all of the objects are displayed. If you change an attribute, the new attribute
value is displayed regardless of whether the attribute was changed in one,
multiple, or all objects.
Various procedures are described in more detail in the following:
Example:
or
Click the right mouse button on the property which is set in the "Static"
column. This opens the pop-up menu. Select the "Edit" menu item and
then select the desired property for the attribute.
2-42
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Example:
or
Click the right mouse button on the value displayed in the "Static"
column. This opens the pop-up menu. Select the "Edit" menu item which
then opens the input dialog box.
3. Enter the new value for the attribute.
Example:
or
Click the right mouse button on the text displayed in the "Static" column.
This opens the pop-up menu. Select the "Edit" menu item which then
opens the input dialog box.
3. Enter the new text for the attribute.
Note: If the text input contains control characters, they are also displayed in
the object properties (for example, \r\n corresponds to CR/LF).
2-43
Graphics Designer
08.97
Example:
or
Click the right mouse button on the color displayed in the "Static" column.
This opens the pop-up menu. Select the "Edit" menu item which then
opens the color palette.
3 Select the new color for the attribute.
or
Select another color using the "Other ..." button.
Example:
or
Click the right mouse button on the pattern displayed in the "Static"
column. This opens the pop-up menu. Select the "Edit" menu item which
then opens the pattern palette.
3 Select the new pattern for the attribute.
2-44
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Example:
or
Click the right mouse button on the line style displayed in the "Sta tic"
column. This opens the pop-up menu. Select the "Edit" menu item which
then opens the selection dialog box for lines.
3 Select the new line style/border style for the attribute.
Note: If you select the line styles/border styles "dash," "dot," "dash dot," or
"dash dot dot," a weight of 1 pixel is displayed independent of the selected
line weight/border weight.
Example:
WinCC Manual
C79000-G8276-C107-01
2-45
Graphics Designer
08.97
or
Click the right mouse button on the line displayed in the "Static" column.
This opens the pop-up menu. Select the "Edit" menu item which opens the
line weight selection dialog box.
3. Select the new line weight/border weight for the attribute using the
larger/smaller buttons.
or
Input the new value directly.
Note: If you select the line styles/border styles "dash," "dot," "dash dot," or
"dash dot dot," a weight of 1 pixel is displayed independent of the selected
line weight/border weight.
Example:
or
Click the right mouse button on the line displayed in the "Static" column.
This opens the pop-up menu. Select the "Edit" menu item which opens
the line end style selection dialog box.
3. Select the new line end styles (left and right) for the attribute.
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Example:
or
Click the right mouse button on the font displayed in the "Static" column.
This opens the pop-up menu. Select the "Edit" menu item which opens the
font selection dialog box.
3. Select the new font for the attribute.
How to Change an Attribute through Picture Selection:
1. Depending on the object, select the "Picture," "Pictures" or "Status"
subject in the subject tree. The corresponding attributes are displayed in
the right half of the window.
2. Double click on the name of the corresponding attribute or on the property
set in the "Static" column (for example, Object: Round button; Subject:
Pictures; Attributes: Picture Status Off; or Object: Status display; Subject:
Status; Attribute: Flash picture).
or
Click the right mouse button on the graphic that is displayed in the
"Static" column. This opens the pop-up menu. Select the "Edit" menu item
to open the dialog window for picture selection.
3. In both cases, the selection dialog for picture selection opens.
Example:
WinCC Manual
C79000-G8276-C107-01
2-47
Graphics Designer
08.97
Example:
or
Click the right mouse button on the language displayed in the "Static"
column. This opens the pop-up menu. Select the "Edit" menu item which
opens the language selection dialog box.
3. Delete the language entry assigned to the object by selecting a new
language.
2-48
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Making an Attribute You can make an attribute dynamic by linking it with a tag or an action.
Dynamic
How to Link an Object with an Existing Tag:
1. Click on the object.
2. Open the pop-up menu using the r ight mouse button. Select the
"Properties" menu item.
3. Select the subject and the corresponding attribute from the "Properties"
tab, for example "Flashing" - "Background Flash Color On."
4. Click on the light bulb with the right mouse button and select the "Tag"
menu item from the pop-up menu.
5. In the tag dialog box, select the tags needed.
The light bulb turns green.
WinCC Manual
C79000-G8276-C107-01
2-49
Graphics Designer
08.97
The update cycle determines how up-to-date the object attributes are, and thus
determines how current the dynamic object is.
You can select one of the standard cycles for the dynamic TAB sequence, or
you can set your own cycle time.
Indirect addressing is not possible with actions.
Object events are divided into groups in the subject tree in the left half of the
"Event" tab. If you select a group from the subject tree, the corresponding
events are displayed in the right half of the window. You can link each event
with a hot key that also triggers the action.
You can select the following subjects depending on the object:
Mouse
Keyboard
Miscellaneous
Property Subjects with the Attributes of the Object
Note: Subjects that contain at least one configured event are highlighted in a
"bold" font in the "Properties" tab subject tree.
2-50
WinCC Manual
C79000-G8276-C107-01
08.97
Events
Graphics Designer
Object Event
Keystroke event:
Press or release a key.
Triggering Events
Event Mouse - Release Left/Right: Releasing the mouse key triggers the
event for the object over which the mouse pointer was located when the mouse
key was pressed.
Triggering events is dependent on the object you select from the subject tree.
The following setting is assigned to every triggering event:
Action (A ...) to display an assigned action or direct connection
WinCC Manual
C79000-G8276-C107-01
2-51
Graphics Designer
08.97
The following two entirely different possibilities are available for further
processing events:
C Action
A "C Action" occurs by linking an event with a function which is
formulated in ANSI-C programming language and is triggered cyclically
or by the event.
You can find information about linking an event with a function to an
action under Connecting an Event with a Function .
The lightning bolt in the object properties window turns green, if the event
is linked to a function.
Direct Connection
To establish a direct connection, select a source element (constant,
dynamic object, or tag) and a target element (current dialog, object, or tag)
from the Direct Connection dialog.
How to configure a direct connection, is described in "Making a Direct
Connection Dynamic ".
The lightning bolt in the object properties window will turn blue, if a
direct connection has been configured for an event.
WinCC Manual
C79000-G8276-C107-01
08.97
Basic Elements
Graphics Designer
Operating Element
Description
Selects a configured picture that is to be
displayed during a picture change.
Opens the Tag Selection dialog.
Object List
Property List
Direct/Indirect Tag
Note:
If an entry is incomplete, a message will be displayed.
WinCC can not check, if your input is logically correct or makes sense.
Assignment errors made can only be noticed in the runtime mode .
WinCC Manual
C79000-G8276-C107-01
2-53
Graphics Designer
08.97
(digits
2-54
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Target
Explanation
"picture1.pdl"
"picture1"
Button1 / Text
50
Rectangle1 / Width
50
WinCC Manual
C79000-G8276-C107-01
2-55
Graphics Designer
08.97
Target
Explanation
Circle1 / Width
Circle1 / Fill
Pattern
Bar1 / Height
Direct Tag
Note:
The object list contains the entry this object. This entry should be used, if
you want to use the properties of the currently selected object as the source or
the target of a direct connection. If an object is copies, its dynamics will be
copied as well. The direct connection of the object that has been created by the
copy procedure will therefore point to this object. The newly created object
will therefore be used as the source or target of the direct connection.
2-56
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
The following table explains the effects of various direct connections, if a tag
is used as a source:
WinCC Manual
C79000-G8276-C107-01
Source
Target
Explanation
Tag1, direct
Circle1 / Radius
Tag1, direct
2-57
Graphics Designer
2-58
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
3 Configuring Actions
3.1 Introduction
"Actions" are functions which are formulated in ANSI -C programming
language and are executed cyclically or because of an event. Examples of
events are keystrokes, changes in object properties, or changes in the value of
tags.
Actions may be linked with any of the following:
Graphical objects
Process value archives (see Volume 3, Tag Logging, Section
3.3.2.2)
User archives (see Volume 3, Tag Logging, Section 3.3.4.2)
Compressed archives (see Volume 3, Tag Logging, Section 3.3.3.2)
Archive tags (see Volume 3, Tag Logging, Section 3.4.3)
Loop in Alarm functionality of the message system (Alarm
Logging)
The return value of a function can control a property of the object with which
the action is linked.
Functions and actions which may be used throughout a project or across
projects are called "global scripts". They are not linked to an object.
In addition to the project functions, you may use "internal functions" and
default functions unique to the system, as well as all of the C standard library
functions (contained in the internal functions).
Note:
Actions are processed interpretatively. When implementing numerous or
extensive actions, you should plan for a higher system load. It is therefore
better to replace extensive actions by implementing separate DLLs (Dynamic
Link Libraries).
WinCC Manual
C79000-G8276-C107-01
3-1
Graphics Designer
08.97
You can now utilize the dynamic-wizard, which will support you in
formulating your action.
If you want to formulate the action yourself, the following additional steps are
required:
3-2
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Click the right mouse button on the white light bulb in the "Dynamic" column
in the "Position X" row. This opens a pop-up menu with the following options
for making a property dynamic:
Use the Dynamic Dialog
Use a C Action
Use a tag value
Delete a dynamic creation which is already present
Here you can formulate the dynamic function by using tags, functions, and
arithmetic operations in an expression.
The value of the expression and the status of the tags used in the expression
work together to create the attribute value. You determine how this occurs by
setting the following options in the box:
Select the data type of the expressing result.
The data type determines the ways in which the value ranges are
defined.
Set the value ranges and assign attribute values.
Start a status evaluation of the tags used in the expression.
WinCC Manual
C79000-G8276-C107-01
3-3
Graphics Designer
08.97
Finally, you must determine the trigger to be used to update the attribute value
using the value of the expression.
Note:
If you do not set an update event and the expression does not contain any tags,
the system uses the default cycle with a default cycle time as the update event.
If the expression contains tags, "Tag" is used as the update event with a
default cycle time.
As a final step, the formula for setting dynamics is changed to an action.
You have now made the selected object attribute dynamic.
Note:
When you copy the object whose attribute you just made dynamic in the
Graphics Designer, the action that is connected to that attribute is copied
along with it.
At run time, the attribute value is determined according to specific Rules
using the value of the formulated expression and the states of the tags used in
the expression.
Select the tag either by double clicking the left mouse button on the tag name,
or single clicking the left mouse button on the tag name and then clicking the
"OK" button. The "Select Tag" box is then closed.
3-4
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Note:
A tag name can also be entered directly in the "Expression/Formula" field of
the "Dynamic Value Ranges" dialog.
Observe the following:
Tag names must always be enclosed by single quotation marks ()
Tag names must not contain the symbols +, -, *, or /.
Select the desired function by opening folders with the mouse. You may do
this in any of the following ways:
Double click the left mouse button on the function name.
This opens the dialog for assigning parameters to this function.
After you assign the current parameters to the function, you return
to the "Dynamic Value Ranges" box. The function is entered in the
"Expression/Formula" column at the insertion mark.
WinCC Manual
C79000-G8276-C107-01
3-5
Graphics Designer
08.97
Mark the function and click the "OK" button. The "Function
Browser" box is closed and the function and its formal parameters
are inserted in the "Dynamic Value Ranges" box in the
"Expression/Formula" column at the insertion mark.
Click the right mouse button on the function name:
This opens a pop-up menu.
Select the menu item "Parameter Assignment" which will place you
in the dialog for assigning parameters within this function.
After assigning the current parameters to the function, you return
to the "Dynamic Value Ranges" box. The function, with its current
parameters, is now entered in the "Expression/Formula" row at the
insertion mark.
Click the right mouse button on the function name:
This opens a pop-up menu.
Select the menu item "Apply." The function and its formal
parameters are then entered in the "Dynamic Value Ranges" box in
the "Expression/Formula" box at the insertion mark. The "Function
Browser" box remains open.
If you marked text in the "Expression/Formula" text row, that selected text
was replaced by the formula. If necessary, enter the current parameters in the
set of parentheses following the function name.
For assigning parameters, see Section 3.2.1.2, Making a Function Dynamic
Using a C Action, "How to Assign Parameters to a Function"
Description
Addition
Subtraction
Multiplication
Division
Note:
You can also use the keyboard to enter operators. In that case, however, use
only the operators listed in the table above. Other operators will lead to errors
because all of the tests executed in the generated C functions are in
floating-point format.
3-6
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
The data type of the expression determines the type of value ranges which you
may need to set.
In the above example, the value range reaches from the minimum value that
the expression can carry to a value of 100.
You can establish an additional value range in the same way.
The default high limit for a value range is 100 for "Value Range1." The
default increment to the high limit for the next value range is 100.
You can change the values for the high limits and attributes by double
clicking the left mouse button on the value to be changed (or click the right
mouse button on the value and then click "Edit..."). This opens a box in which
you can change the value.
WinCC Manual
C79000-G8276-C107-01
3-7
Graphics Designer
08.97
Note:
After a tag has been selected, the "Tag" value is entered in the "Event Name"
box. The selected tag is automatically used as a trigger tag and is scanned for
changes during run time at a default cycle time of two seconds.
Selected Data Type "BOOL":
You can define the value of an object attribute for the cases "yes/TRUE"
(value of the expression <> 0) and "no/FALSE" (value of the expression = 0)
in the "Result of the Expression/Formula" list.
You cannot set other valid ranges. You can change the attribute value by
double clicking the left mouse button on the value to be changed (or click the
right mouse button on the value and then click "Edit..."). This opens a box in
which you can change the attribute value.
Note:
After a tag has been selected, the "Tag" value is entered in the "Event Name"
box. The selected tag is automatically used as a trigger tag and is scanned for
changes during run time at a default cycle time of two seconds.
Selected Data Type "BIT":
You define the value of the object attribute in the "Result of the
Expression/Formula" list for either case in which a selected bit of a tag is set
or not set.
3-8
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
You cannot set other valid ranges. You can change the attribute value by
double clicking the left mouse button on the value to be changed (or click the
right mouse button on the value and then click "Edit..."). This opens a box in
which you can change the attribute value.
Use the "Select Tags" box to select the tags that contain the bits to be scanned.
Open the box by clicking on the left button
button.
You can set the bit of the previously selected tag by clicking on the right
. This opens the "Bit Selection" box in which you can click on the
button
desired bit to select it.
Note:
After a tag has been selected, the "Tag" value is entered in the "Event Name"
box. The selected tag is automatically used as a trigger tag and is scanned for
changes during run time at a default cycle time of two seconds.
Selected Data Type "DIRECT":
The value of the expression is directly assigned to the object attribute. You
cannot set a value range.
Note:
After a tag has been selected, the "Tag" value is entered in the "Event Name"
box. The selected tag is automatically used as a trigger tag and is scanned for
changes during run time at a default cycle time of two seconds.
WinCC Manual
C79000-G8276-C107-01
3-9
Graphics Designer
08.97
The tag names (without quotation marks) used in the expression are located
in the left part of the window under Status. Click the left mouse button on a
tag name. All of the states which a tag can assume appear in the right part of
the window.
You can set the appropriate attribute value for each state by clicking the left
mouse button on the attribute value to be changed (or click the right mouse
button on the value and then click "Edit"). This opens the "Value Input" box
in which you can change the value. Close the "Value Input" box by clicking
on "OK." The value you entered is then accepted as the attribute value.
3-10
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Note:
The system presets the trigger event with a default entry. The default depends
on the contents of your formulated expression in the "Dynamic Value Ranges"
box. If the expression contains one or more tags, the default entry for the
trigger event is "Tag" and all of the tags that are in the expression are
transferred to the tag list . If the expression does not contain tags, the default
entry for the trigger event is "Default Cycle." The entry for the cycle is set
with a default value.
You select an event by opening the "Event" list with the left mouse button and
marking the desired event by clicking on it with the left mouse button.
You can select from the following events:
Tag
Default Cycle
Picture Cycle
Window Cycle
3-11
Graphics Designer
08.97
If you selected "Default Cycle" or "Tag," you may need to change the cycle
time. Do this by opening the "Cycle" list with the left mouse button and
marking the desired time by clicking on it with the left mouse button. You
can select from the following cycle times:
At change
250 ms
500 ms
1s
2s
5s
10 s
1 min
5 min
10 min
1 hr
User cycle 1
User cycle 2
User cycle 3
User cycle 4
User cycle 5
The "At change" entry is only available if you selected "Tag" as the event. If
you selected "Tag" as the event, the contents of the "Change Trigger" box
change:
Here you can input one or more tags which serve as a trigger for the action
when their value changes from one cycle to the next. If more than one tag is
input, the action is triggered when the value of one of these tags changes from
one cycle to the next.
3-12
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Select the tag either by double clicking the left mouse button on the tag name,
or single clicking the left mouse button on the tag name and then clicking the
"OK" button. The "Select Tag" box is then closed.
You then return to the "Change Trigger" box. The selected tag is now entered
in the "Trigger Name" column in the tag list.
The system assigns a cycle time to the entered tags in the "Default Cycle"
column. This is the time span between two sequential scans of the tags for
value change.
If you want to change the cycle time of a tag at a later time, use the following
steps:
Click the right mouse button on the cycle time to be changed to
open the pop-up menu.
Select the new cycle time from the pop-up menu.
WinCC Manual
C79000-G8276-C107-01
3-13
Graphics Designer
08.97
Delete entered tags by marking them in the tag list and then clicking the
"Remove" button.
Mark a connected range of tags by marking the first tag in the range and then
marking the last tag with the "Shift" key depressed. Mark individual multiple
tags by marking the first tag and then marking all others with the "Ctrl" key
depressed.
Attention:
In the case of the "Tag" trigger event, the entry "At Change" is available as a
cycle. This means that the action is triggered as soon as the value of one of
the tags in the tag list changes. This type of trigger causes a heavy system
load.
If the update event has been set, close the "Change Trigger" box by clicking
on the "OK" button.
In order to find the causes of the errors, click the "Details" button. The box is
then enlarged and displays a description of the errors.
If the action was generated without errors, the "Dynamic Value Ranges" box
closes and you are returned to the "Object Properties" box. The white light
bulb in the "Dynamic" column is now a red lightning bolt . It shows that an
action created with the dynamic dialog is linked to this attribute.
3-14
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Notes:
If you wish to test your entries in the "Dynamic Value Ranges" box
for errors without creating an action, click on the "Test" button.
When you click the "Test" or "OK" button, the "Result of the
Expression/Formula" list of value ranges is sorted according to
increasing range high limits.
You may view and edit the created action by clicking the right mouse button
on the red lightning bolt and opening the corresponding pop-up menu. Select
"C Action..." from the pop-up menu.
Attention! A box will notify you that this action was created using the
"simplified script configuration," that is, with the help of the dynamic dialog.
This is significant because once an action has been loaded as a "C Action," it
can no longer be processed using the dynamic dialog.
Note:
For C-actions, tag names used in the expression are enclosed by double
quotation marks (").
If a tag name contains the symbol ", the symbol \ will be placed in front of it
in the C-action.
Example: Motor"M"1 will be changed to Motor\"M\"1.
3-15
Graphics Designer
08.97
Note: The display of the dynamic wizard can be turned on or off via the
"Toolbars..." entry from the "View" menu.
With this function, an action for creating a hardcopy of the display can be
configured.
With this function, an action can be created that exits the runtime mode of
WinCC.
Exit WinCC or
Windows
With this function, an action can be created that exits WinCC or the operating
system. You can determine how the operating system is exited (Shut down,
Restart, or Log on as a different user).
Language Switch
With this function, an action can be created that switches the data language.
Exit WinCC
Start another
application
With this function, an action can be created that starts another application. In
the course of the wizard, you will indicate the path and name of the
application to be started.
This function creates the framework of a wizard script. The wizard script can
be edited with the program "DynWizEdit.exe" and be run with the program
"Dynwiz.exe".
With this function, an action can be created that checks the operator
authorization of an user.
This function allows you to copy the value of one tag to another tag. You will
be asked to indicate the source and target tag.
3-16
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Link a prototype to a This function allows you to link an object property, that has been edited via
structure
Add dynamics to a prototype function, to a tag of the data type Structure
Tag.
Make a property
dynamic
This function allows you to link a object property to a tag, and make that
object property dynamic via the tag value. You will be asked to indicate the
object property and tag in the course of the wizard.
Add dynamics to the This function allows you to add dynamics to an object property via an element
prototype
of a structure tag.
Set tag value
This function allows you to set the value of a tag. You will be asked to
indicate the tag to be changed and the value.
Move Object
The object properties Position X" and "Position Y" can be linked to tags,
which will male the position of the object dynamic.
Fill Object
With this function, an action can be created that that makes the fill level of an
object dynamic via a tag. In the course of the wizard, you can define, in
addition to the tags, the upper and lower limits for the fill levels 0% and
100%.
With this function, the Text attribute of an object can be linked to a text tag.
This C-action is only available for objects containing the Text attribute.
This wizard allows you to read an assignment list of Step 5 or Step 7 into
WinCC. Additional information can be found in "Hantzuli.doc" file on the
WinCC CD-ROM.
Import Messages
This wizard allows you to accept a COROS LS-B message list into WinCC.
Additional information can be found in "Hantmigr.doc" file on the WinCC
CD-ROM.
Import S5L Only Tag This wizard allows you to accept a COROS LS-B tag list into WinCC.
Additional information can be found in "Hantmigr.doc" file on the WinCC
CD-ROM.
With this function, an action can be created that sets multiple bits of a tag.
You will be asked to indicate the tag to be changed and the bit number by the
wizard.
Rcksetzen/Ausmaskieren?
Display WinCC Dialog This function allows you to display any picture of the Graphics Designer in a
Box
picture window. Indicate the name of the picture to be displayed and set the
appearance of the picture window in the course of the wizard.
WinCC Manual
C79000-G8276-C107-01
3-17
Graphics Designer
08.97
Picture Change in the This function allows you to change the content of a window object in a
Window
Graphics Designer picture.
Set/Reset Bit
With this function, an action can be created that sets a bits of a tag. You will
be asked to indicate the tag to be changed and the bit number by the wizard.
Rcksetzen? ausmaskieren?
Display Instruction
Box
With this function, an action can be created that displays an instruction box.
You will be asked to indicate the type of instruction (information, question, or
emergency box), as well as the title and text of the message, by the wizard.
ohne Abbruchknopf?
Single Picture Change With this function, an action for a picture change can be created. You will be
asked to indicate the name of the new picture to be displayed.
Display Error Box
With this function, an action can be created to display an error box. You will
be asked to indicate the type of instruction (information, question, or
emergency box), as well as the title and text of the message, by the wizard.
3-18
For the processing of an user archive, the wizard creates objects (buttons, I/O
fields, etc.) in the selected picture. The wizard will ask you to select an user
archive created in Tag Logging.
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
4. In the wizard window Select Trigger, select Left mouse key as the
trigger event and click on the Next button.
WinCC Manual
C79000-G8276-C107-01
3-19
Graphics Designer
08.97
5. In the wizard window "Set options, determine the content of the title line
and instruction text, as well as the appearance of the message window.
Afterwards, click on the Next button.
9. In runtime, if you position the mouse pointer above the button, the mouse
pointer will be displayed with a green lightning bolt. If you click the left
mouse button, a message window, displaying the configured texts, will
open.
3-20
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
3-21
Graphics Designer
08.97
Formulate the function in the right half of the window. The first row contains
the header file to be linked. The second row already contains the function
name followed by parentheses containing the formal parameters, as well as
the left (open) parenthesis. The last row contains the right (close) parenthesis.
The parameters are:
Parameter
lpszPictureName
lpszObjectName
lpszPropertyName
Meaning
Picture name of the active picture
Object name of the selected object
Attribute name of the attribute with
which the action is to be linked
Type
char pointer
char pointer
char pointer
3-22
Keyboard
Enter
Delete
Backspace
Home
End
Ctrl+Home
Ctrl+End
with the cursor keys
Ctrl+X
Ctrl+C
Ctrl+V
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Function
Mark text
Mark a word
Move the insertion point
Mouse
with left mouse button
Double click with left mouse
button
with left mouse button
You can place fully programmed functions within your function at the cursor
location. This function replaces selected text. Open the folders in the left half
of the window and select the desired function by clicking on it with the right
mouse button.
This opens a pop-up menu in which you select the menu item "Parameter
Assignment." This opens the "Assign Parameters " dialog box where you can
assign parameters to the selected function. Once the parameter assignment is
successfully carried out, the selected function with its current parameters is
inserted at the insertion mark. If you selected text, it is replaced by the
function.
Note:
You can also open the "Assign Parameters" box by double clicking the left
mouse button on the desired function.
If you want to edit the parameter assignment yourself, select "OK" from the
pop-up menu. The selected function is inserted at the cursor location as
"Prototype." This means it contains a declaration of the data types and the
formal parameters. If you selected text, it is replaced by the function.
You can insert tag names by clicking on the
button. This opens the
"Select Tag" box from which you select the desired tag.
You can shift the split bar right or left using the mouse.
See also Volume 2, Global Script, Section 3, Standard Functions, and Volume
2, Global Script, Section 4, Internal Functions.
WinCC Manual
C79000-G8276-C107-01
3-23
Graphics Designer
08.97
The entries in the "Description" and "Data Type" columns are informational.
You can enter parameters in the following ways:
Once all of the parameters have been entered, close the "Assigning
Parameters" box by clicking on the "OK" button. The selected function and its
parameters are placed at the insertion mark in the "Edit Action" box.
3-24
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Select the tag either by double clicking the left mouse button on the tag name,
or single clicking the left mouse button on the tag name and then clicking the
"OK" button. The "Select Tag" box is then closed.
You then return to the "Assign Parameters" box and the selected tag is
entered as a parameter.
The left third of the box contains a list of pictures available in the project.
Click on a picture to select it. The "Object" list includes the objects that are
contained in the selected picture. If you want to use the picture name as a
parameter, highlight the object name of the picture in the "Objects" list by
clicking on it ("NewPdl1" in the example above) and then click "OK".
If you want to use the object name of an object contained in a picture as a
parameter, click on the desired object name in the "Objects" list. The
"Properties" list is filled with the attribute names owned by the selected
object. Click on "OK".
If you want to use an attribute name as a parameter, click on the desired
attribute name in the "Properties" list and then on "OK".
This closes the "Select Picture" box. You return to the "Assign Parameters"
box and the selected name is entered as a parameter.
WinCC Manual
C79000-G8276-C107-01
3-25
Graphics Designer
08.97
Note:
The system presets the trigger event with a default entry. The default depends
on the contents of your formulated expression in the "Dynamic Value Ranges"
box. If the expression contains one or more tags, the default entry for the
trigger event is "Tag" and all of the tags that are in the expression are
transferred to the tag list . If the expression does not contain tags, the default
entry for the trigger event is "Default Cycle." The entry for the cycle is set
with a default value.
You select an event by opening the "Event" list with the left mouse button and
marking the desired event by clicking on it with the left mouse button.
You can select from the following events:
Tag
Default Cycle
Picture Cycle
Window Cycle
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
If you selected "Default Cycle" or "Tag," you may need to change the cycle
time. Do this by opening the "Cycle" list with the left mouse button and
marking the desired time by clicking on it with the left mouse button. You
can select from the following cycle times:
At change
250 ms
500 ms
1s
2s
5s
10 s
1 min
5 min
10 min
1 hr
User cycle 1
User cycle 2
User cycle 3
User cycle 4
User cycle 5
The "At change" entry is only available if you selected "Tag" as the event. If
you selected "Tag" as the event, the contents of the "Change Trigger" box
change:
Here you can input one or more tags which serve as a trigger for the action
when their value changes from one cycle to the next. If more than one tag is
input, the action is triggered when the value of one of these tags changes from
one cycle to the next.
WinCC Manual
C79000-G8276-C107-01
3-27
Graphics Designer
08.97
Select the tag either by double clicking the left mouse button on the tag name,
or single clicking the left mouse button on the tag name and then clicking the
"OK" button. The "Select Tag" box is then closed.
You then return to the "Change Trigger" box. The selected tag is now entered
in the "Trigger Name" column in the tag list.
The system assigns a cycle time to the entered tags in the "Default Cycle"
column. This is the time span between two sequential scans of the tags for
value change.
If you want to change the cycle time of a tag at a later time, use the following
steps:
Click the right mouse button on the cycle time to be changed to
open the pop-up menu.
Select the new cycle time from the pop-up menu.
3-28
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Delete entered tags by marking them in the tag list and then clicking the
"Remove" button.
Mark a connected range of tags by marking the first tag in the range and then
marking the last tag with the "Shift" key depressed. Mark individual multiple
tags by marking the first tag and then marking all others with the "Ctrl" key
depressed.
If the update event has been set, close the "Change Trigger" box by clicking
on the "OK" button. This returns you to the "Edit Action" box.
Click the right mouse button on the light bulb icon for the appropriate
attribute that you want to make dynamic, for example, on the light bulb icon
in the row with the "background color" attribute.
WinCC Manual
C79000-G8276-C107-01
3-29
Graphics Designer
08.97
From the pop-up menu that opens, select "C-Action...". The "Edit Action"
window opens. In the right half of the window, it already contains the
completed structure of a C function.
Formulate your function and set the trigger that will call your C function
during run time.
The function consists of the definition of both local tags xvar and result. The
GetTagDWord ("var") function assigns the value of the process tags var to the
local tags xvar.
The if-else construct assigns the result tags result a value of CO_RED (value
for the color red) if the value of the xvar tags is greater than 128, otherwise it
receives the value CO_BLUE (value for the color blue).
The last row ensures that the function value of the C function main receives
the value of the event tags.
A change of the value of the var process tags was selected as the trigger event
and the value of the tags is checked every two seconds by the Control Center.
3-30
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
The errors and warnings appear in the lower part of the edit window , dividing
the window. You can shift this split bar up and down using the mouse.
After a successful compilation, close the "Edit Action" box by clicking on
"OK." This returns you to the "Object Properties" box. The attribute linked to
the action is marked with a green lightning bolt in the "Dynamic" column.
This shows that this attribute is linked to a compiled C action.
Note:
If you close the box without compiling the action, you are notified of this in a
dialog box. You then have the choice of compiling or returning to the "Object
Properties" box without compiling. If you decide not to compile the action, it
is marked with a yellow lightning bolt in the "Dynamic" column in the
"Object Properties" box.
Here you select the storage location and the name of the export file. The
extension "act" is added by the system.
Clicking the "Save" button exports the action and loads it in the file you
selected.
The "Save As" box is closed.
WinCC Manual
C79000-G8276-C107-01
3-31
Graphics Designer
08.97
Here you select the desired import file. Import files are files which were
previously created by exporting an action, and which have an extension "act."
Clicking the "Open" button imports the action and then closes the "Open"
box.
Note:
The imported action completely replaces an action that was previously
created.
3-32
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Select the tag either by double clicking the left mouse button on the tag name,
or single clicking the left mouse button on the tag name and then clicking the
"OK" button. The "Select Tag" box is then closed.
You then return to the "Object Properties" box. The tag name is now entered
in the object attribute row in the "Dynamic" column. The white light bulb is
colored green.
3-33
Graphics Designer
08.97
Using the left or right mouse button, select the desired update cycle from the
pop-up menu. This closes the menu and enters the selected value in the
"Update" column in the "Object Properties" box.
You can also set the update cycle by double clicking the left mouse button to
open the "Update" box. The box is located in the "Update" column on the row
containing the appropriate object attribute.
Open the list here by clicking the left mouse button on the list window or on
the button to the right of the list window. Position the entries using the slider
and select the update cycle you want by clicking on it with the left mouse
button.
Clicking on the "OK" button returns you to the "Object Properties" box. The
update cycle is now entered.
3-34
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Click the right mouse button on the white lightning bolt in the "Action"
column, for example, on the "Press Left" row. Now the function to be
formulated is triggered when the left mouse button is clicked on the
"Rectangle1" object. With keystroke events, the function is executed when the
event occurs and the "Rectangle1" object is selected.
A pop-up menu opens in which you can select any one of the following
options:
Create the function or edit an existing function (C Action...)
Create a direct connection
Delete the function (Delete)
3-35
Graphics Designer
3-36
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
4 Appendix
This chapter describes the object types (standard objects, smart objects,
Windows objects,group objects, and picture objects) of the Graphics Designer
with their specific properties (attributes).
Then the attributes of the objects are explained (in alphabetical order).
The conclusion explains the output formats of the I/O-Field and the
assignments of the Text List.
Note: The Smart Objects "3D Bar" and "Group Display" are parts of the
"Basic Process Control" option package. They are described along with their
properties and specific attributes in the WinCC Options Manual.
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Rotation Reference X
Rotation Reference Y
Rotation Angle
Colors
Line Color
Line Background Color
Styles
Line Weight
Line Style
Line End Style
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
4-1
Graphics Designer
08.97
4-2
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Rotation Reference X
Rotation Reference Y
Rotation Angle
Number of Corners
Current Value X
Current Value Y
Index
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Rotation Reference X
Rotation Reference Y
Rotation Angle
Number of Corners
Current Value X
Current Value Y
Index
Colors
Line Color
Line Background Color
Styles
Line Weight
Line Style
Line End Style
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
4-3
Graphics Designer
08.97
4-4
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Radius X
Radius Y
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Radius
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
4-5
Graphics Designer
08.97
4-6
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Start Angle
End Angle
Radius X
Radius Y
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Start Angle
End Angle
Radius
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
4-7
Graphics Designer
08.97
4-8
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Start Angle
End Angle
Radius X
Radius Y
Colors
Line Color
Line Background Color
Styles
Line Weight
Line Style
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Start Angle
End Angle
Radius
Colors
Line Color
Line Background Color
Styles
Line Weight
Line Style
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
4-9
Graphics Designer
08.97
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Dynamic Filling
Fill Level
Filling
4-10
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Corner Radius X
Corner Radius Y
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Dynamic Filling
Fill Level
Filling
WinCC Manual
C79000-G8276-C107-01
4-11
Graphics Designer
08.97
4-12
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
Styles
Border Weight
Border Style
Fill Pattern
Font
Text
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
Flashing
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Adapt Border
Configured Languages
Filling
Dynamic Filling
Fill Level
Note: If the text contains control characters, they are also displayed in the
object properties window in the tab labeled "Properties" - Subject "Text" Attribute "Text" - "Static" (for example, \r\n equals CR/LF).
WinCC Manual
C79000-G8276-C107-01
4-13
Graphics Designer
08.97
4-14
Base
Object Name
Layer
Window Contents
Template
Geometry
Position X
Position Y
Window Width
Window Height
Miscellaneous
Display
Sizable
Moveable
Border
Title
Can Be Maximized
Can Be Closed
Foreground
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Window Width
Window Height
Miscellaneous
Display
Update Cycle
Sizable
Moveable
Border
Title
Can Be Maximized
Can Be Closed
Foreground
Scroll Bar
Adapt Size
Adapt Picture
Picture Name
Picture Offset X
Picture Offset Y
Scaling Factor
4-15
Graphics Designer
08.97
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Miscellaneous
Display
Operator-Control Enable
Server Name
Notes:
The properties "Position X," "Position Y," "Width," "Height," and "View" are
determined by the container and are no longer separate in OLE Control.
Properties like "Operator-Control Enable," "Password," and "Operator
Activities Report" cannot be configured in the container since WinCC does
not influence which operation the OLE control passes to its container.
Structures cannot be made dynamic. The OLE control object properties must
be used for configuration. If you select that kind of attribute in the WinCC
object properties, it is triggered by the OLE control and displayed. The
changes are accepted as long as the reporting mechanism is implemented in
the OLE control.
4-16
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Miscellaneous
Display
Operator-Control Enable
Server Name
Notes:
Windows uses a registration database to manage all of the OLE tasks installed
on your computer. This database contains all of the information about each
OLE task, such as the file name and path of the OLE task. Each time an OLE
task is installed, it is automatically registered in the database.
If you move or copy an OLE task to another folder manually, it is possible for
the entries in the registration database to not be current. In this case, you must
process the database with the registration editor.
You can receive information about using the registration database from the
Help functions of the registration editor.
WinCC Manual
C79000-G8276-C107-01
4-17
Graphics Designer
08.97
4-18
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
Styles
Border Weight
Border Style
Fill Pattern
Font
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
Flashing
WinCC Manual
C79000-G8276-C107-01
08.97
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Operator Activities Report
Operator Input Message
Adapt Border
Cursor Control
Immediate Input
Limits
Output/Input
Field Type
Output Value
Data Format
Output Format
Apply on Full
Apply on Exit
Clear on New Input
Clear on Invalid Input
Hidden Input
4-19
Graphics Designer
08.97
4-20
Base
Object Name
Layer
Geometry
Position X
Position Y
Bar Width
Bar Height
Bar Direction
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Bar Color
Scale Color
Bar Background Color
Trend Color
Styles
Border Weight
Border Style
Fill Pattern
Bar Pattern
Font
Font
Font Size
Bold
Flashing
WinCC Manual
C79000-G8276-C107-01
08.97
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Change Color
Maximum Value
Zero Point Value
Minimum Value
Hysteresis
Hysteresis Range
Trend
Average Value
Process Driver Connection
Axis
Scale
Alignment
Long Axis Sections
Label Each
Only Long Axis Sections
Length of Axis Section
Exponent Display
Bar Scaling
Zero Point
Axis Section
Scale Marks
Digits to the Left of the Decimal Point
Digits to the Right of the Decimal Point
Limits
Limit Marker
Monitoring AL
Limit AL
Bar Color AL
Type AL
Monitoring WL
Limit WL
Bar Color WL
Type WL
Monitoring TL
Limit TL
Bar Color TL
Type TL
Monitoring RL4
Limit RL4
Bar Color RL4
Type RL4
Monitoring RL5
Limit RL5
Bar Color RL5
Type RL5
Monitoring AH
Limit AH
Bar Color AH
Type AH
4-21
Graphics Designer
08.97
Monitoring WH
Limit WH
Bar Color WH
Type WH
Monitoring TH
Limit TH
Bar Color TH
Type TH
Monitoring RH4
Limit RH4
Bar Color RH4
Type RH4
Monitoring RH5
Limit RH5
Bar Color RH5
Type RH5
4-22
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Styles
Border Weight
Border Style
Fill Pattern
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Filling
Dynamic Filling
Fill Level
Picture
Picture
Picture Referenced
Picture Transparent Color
Picture Transparent Color On
Note:
The graphic files (.bmp, .dip, .emf, and .wmf) for the attribute "Picture" must
be located in the GraCS folder of the project path.
WinCC Manual
C79000-G8276-C107-01
4-23
Graphics Designer
08.97
4-24
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Styles
Border Weight
Border Style
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Status
Current Status
Basic Picture
Basic Picture Referenced
Basic Picture Transparent Color
Basic Picture Transparent Color On
Flash Picture
Flash Picture Referenced
Flash Picture Transparent Color
Flash Picture Transparent Color On
Flash Picture Flash Frequency
Flashing Flash Picture Active
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
Selection Font Color
Select Text Color
Selection Background Color
Select Background Color
Separation Line Color
Separation Line Background Color
Styles
Border Weight
Border Style
Fill Pattern
Separation Line Weight
Separation Line Style
Font
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
4-25
Graphics Designer
4-26
08.97
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Operator Activities Report
Operator Input Message
Adapt Border
Cursor Control
Immediate Input
Language Switch
Output/Input
Field Type
Output Value
List Type
Assignments
Bit Number
Apply on Exit
Number of Visible Lines
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
3D Border Color
3D Shadow Color
Styles
Line Weight
Line Style
Fill Pattern
3D Border Weight
Windows Style
Font
Text
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
Flashing
Graphics Designer
08.97
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Configured Languages
Adapt Border
Hot Key
Picture Status On
Picture Status Off
Filling
Dynamic Filling
Fill Level
Notes:
The graphic files (.bmp) for the attributes "Picture Status On" and "Picture
Status Off" must be located in the GraCS folder of the project path.
If you need to use a label with more than one line on a button, use the
following trick:
1. Create a "Static Text" object (
2. Create the button (
).
).
3. Select "Static Text" and "Button" (multiple selection) and open the
"Object Properties" window (
).
4. In the "Properties" tab, select the "Text" attribute under the "Font" area
and double click on the attribute to open the "Text Input" dialog window.
5. Enter the multiple line text. Use the "Shift" + "Enter" keystroke
combination to move the cursor to the beginning of the next line.
6. Close the "Text Input" dialog window.
7. Delete the "Static Text" object.
4-28
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Number of Boxes
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
Styles
Border Weight
Border Style
Fill Pattern
Box Alignment
Font
Index
Text
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
Flashing
4-29
Graphics Designer
4-30
08.97
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Configured Languages
Operator Activities Report
Operator Input Message
Adapt Border
Filling
Dynamic Filling
Fill Level
Output/Input
Selected Boxes
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Number of Boxes
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
Font Color
Styles
Border Weight
Border Style
Fill Pattern
Box Alignment
Font
Index
Text
Font
Font Size
Bold
Italic
Underline
Text Orientation
X Alignment
Y Alignment
Flashing
4-31
Graphics Designer
4-32
08.97
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Configured Languages
Operator Activities Report
Operator Input Message
Adapt Border
Filling
Dynamic Filling
Fill Level
Output/Input
Selected Box
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Radius
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
3D Border Color
3D Shadow Color
Styles
Border Weight
Border Style
Fill Pattern
3D Border Weight
Latch Down
Switch Setting
Flashing
Miscellaneous
Operator-Control Enable
Password
Display
Filling
Dynamic Filling
Fill Level
4-33
Graphics Designer
08.97
Pictures
Note:
The graphic files (.bmp, .dip, .emf, and .wmf) for the attributes "Picture
Status Off", "Picture Status On" and "Picture Status Deactivated" must be
located in the GraCS folder of the project path.
4-34
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Alignment
Colors
Border Color
Border Background Color
Background Color
Fill Pattern Color
High Limit Background Color
Low Limit Background Color
Button Color
High Limit Color
Low Limit Color
Styles
Border Weight
Border Style
Fill Pattern
Border Weight
Windows Style
Flashing
4-35
Graphics Designer
08.97
Miscellaneous
Operator-Control Enable
Password
Display
Tool Tip Text
Operator Activities Report
Operator Input Message
Extended Operation
Maximum Value
Minimum Value
Operation Steps
Process Driver Connection
Filling
Dynamic Filling
Fill Level
Note: You can configure an outline for the slider ("Border Weight" and
"Background Color" attributes). The size of the object remains the same and
the slider is reduced appropriately. In addition, you can configure another
border inside the border ("Border Weight" and "Border Color"). The border
is displayed at the maximum width of the outline even if you configured a
larger value.
4-36
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
Base
Object Name
Layer
Geometry
Position X
Position Y
Width
Height
Miscellaneous
Operator-Control Enable
Password
Display
User-Defined
4-37
Graphics Designer
08.97
4-38
Geometry
Picture Width
Picture Height
Grid On
Grid Width
Grid Height
Colors
Background Color
Fill Pattern Color
Grid Color
Styles
Fill Pattern
Miscellaneous
Operator-Control Enable
Password
Display
Update Cycle
Date of Last Change
Cursor Mode
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
3D Border Color
BorderColorTop
Set the color for the left and top part of the 3D border.
The 3D Border Color can be made dynamic with the name
BorderColorTop.
3D Border Weight
BackBorderWidth
3D Shadow Color
BorderColorBottom
Set the color for the right and bottom part of the 3D border.
Adapt Border
AdaptBorder
The 3D Border Weight attribute can be made dynamic with the name
BackBorderWidth.
The 3D Shadow Color attribute can be made dynamic with the name
BorderColorBottom.
Select whether the border should be dynamically fitted to the text size in
objects that contain text.
If the contents of the box are changed dynamically, the size of the box
changes.
The Adapt Border attribute cannot be made dynamic.
Adapt Picture
AdaptPicture
Adapt Size
AdaptSize
WinCC Manual
C79000-G8276-C107-01
4-39
Graphics Designer
Alignment
Alignment
Direction
08.97
Bar:
Set the alignment of the scale (left/right or top/bottom) with a bar.
With bars, bar scaling is only visible when scaling is active.
The Alignment attribute can be made dynamic with the name Alignment.
Slider:
Set the location of the slider (horizontal/vertical) with a slider object.
The Alignment attribute can be made dynamic with the name Direction.
Apply on Exit
AssumeOnExit
Set the system to accept the input as soon as the field is exited (using the Tab
key or a mouse click).
This attribute is only relevant for input fields and for combined I/O fields.
The Apply on Exit attribute can be made dynamic with the name
AssumeOnExit.
Apply on Full
AssumeOnFull
Set the system to automatically (without Tab or Return key) exit the input
field and accept the input as soon as the input has been completed (the
specified number of characters were entered).
This attribute is only relevant for input fields and for combined I/O fields.
The Apply on Full attribute can be made dynamic with the name
AssumeOnFull.
Assignments
Assignments
Set the connections between the output value and the text that is to be actually
output. The assignments depend on the list type that is set.
The Assignments attribute cannot be made dynamic.
Average Value
Average
Axis Section
AxisSection
The Average Value attribute can be made dynamic with the name Average.
The size of the units depends on the "Long Axis Sections" attribute.
The Axis Section attribute can be made dynamic with the name AxisSection.
Background Color
BackColor
4-40
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Background
Set the flash frequency for the background.
Flash Frequency
You can set the frequency to slow (approximately 0.5 Hz), medium
FlashRateBackColor
(approximately 2 Hz), and fast (approximately 8 Hz).
Since flashing is implemented by means of software, the frequency is systemand hardware-dependent (number of objects, processor, memory, update
cycle, and more).
The Background Flash Frequency attribute can be made dynamic with the
name FlashRateBackColor.
Bar Color
BackColor2
Set the color of the bar for displaying the current value.
Bar Color AH
ColorAlarmHigh
The Bar Color attribute can be made dynamic with the name BackColor2.
If the monitor function for the limit value is active, the bar will take on the
color specified in this attribute when the limit value is reached.
The Bar Color AH attribute can be made dynamic with the name
ColorAlarmHigh.
Bar Color AL
ColorAlarmLow
Set the color for the limit value for "alarm low."
If the monitor function for the limit value is active, the bar will take on the
color specified in this attribute when the limit value is reached.
The Bar Color AL attribute can be made dynamic with the name
ColorAlarmLow.
Set the color for the high limit value of "reserve 4."
If the monitor function for the limit value is active, the bar will take on the
color specified in this attribute when the limit value is reached.
The Bar Color RH4 attribute can be made dynamic with the name
ColorLimitHigh4.
WinCC Manual
C79000-G8276-C107-01
4-41
Graphics Designer
08.97
Set the color for the low limit value of "reserve 4."
If the monitor function for the limit value is active, the bar will take on the
color specified in this attribute when the limit value is reached.
The Bar Color RL4 attribute can be made dynamic with the name
ColorLimitLow4.
Set the color for the low limit value of "reserve 5."
If the monitor function for the limit value is active, the bar will take on the
color specified in this attribute when the limit value is reached.
The Bar Color RL5 attribute can be made dynamic with the name
ColorLimitLow5.
Bar Color TH
ColorToleranceHigh
Bar Color TL
ColorToleranceLow
Bar Color WH
ColorWarningHigh
Bar Color WL
ColorWarningLow
Bar Direction
Direction
4-42
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Bar Height
Height
Bar Pattern
FillStyle2
Set the fill pattern of the bar. You can select a pattern from the selection
dialog box.
The Bar Height attribute can be made dynamic with the name Height.
The Bar Pattern attribute can be made dynamic with the name FillStyle2.
Bar Scaling
ScalingType
Bar Width
Width
Basic Picture
BasePicture
Set the basic picture for the status display. Depending on the "Basic Picture
Referenced" attribute, the entire object or only the object reference is stored.
The Bar Width attribute can be made dynamic with the name Width.
Basic Picture
Referenced
BasePicReferenced
Determine whether the assigned picture is stored in the status display object
or only the corresponding object reference is stored.
Basic Picture
Transparent Color
BasePicTransColor
Determine which color of the assigned bitmap object (.bmp, .dib) should be
set to "transparent".
The attribute is analyzed only if the "Basic Picture Transparent Color On"
attribute is activated.
The Basic Picture Transparent Color attribute can be made dynamic with
the name BasePicTransColor.
Basic Picture
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
BasePicUseTransColor
The Basic Picture Transparent Color On attribute can be made dynamic
with the name BasePicUseTransColor.
WinCC Manual
C79000-G8276-C107-01
4-43
Graphics Designer
Bit Number
BitNumber
08.97
Bold
FontBold
Set the text attribute Bold for the text in the object.
Border
WindowBorder
Border
Background Color
BorderBackColor
The Bold attribute can be made dynamic with the name FontBold.
The background color is only visible when the border is not a solid line
("Border Style" attribute).
The Border Background Color attribute can be made dynamic with the
name BorderBackColor.
Border Color
BorderColor
Border
Set the flash frequency for the border.
Flash Frequency
You can set the frequency to slow (approximately 0.5 Hz), medium
FlashRateBorderColor
(approximately 2 Hz), and fast (approximately 8 Hz).
Since flashing is implemented by means of software, the frequency is systemand hardware-dependent (number of objects, processor, memory, update
cycle, and more).
The Border Flash Frequency attribute can be made dynamic with the name
FlashRateBorderColor.
Border Style
BorderStyle
4-44
WinCC Manual
C79000-G8276-C107-01
08.97
Border Weight
BorderWidth
Graphics Designer
Border Weight
BackBorderWidth
Box Alignment
BoxAlignment
Set whether the boxes (for example, in the option group or check box) should
be aligned left or aligned right.
The Box Alignment attribute can be made dynamic with the name
BoxAlignment.
Button Color
ButtonColor
Can Be Closed
CloseButton
Can Be Maximized
MaximizeButton
Change Color
ColorChangeType
Set whether a color change (for example, when a limit is reached) is carried
out in individual segments or in the entire bar.
The Change Color attribute can be made dynamic with the name
ColorChangeType.
WinCC Manual
C79000-G8276-C107-01
4-45
Graphics Designer
08.97
Clear on Invalid Input Set the field entry in the input field to be deleted automatically when there is
ClearOnError
an invalid input.
This attribute is only relevant for input fields and for combined I/O fields.
The Clear on Invalid Input attribute can be made dynamic with the name
ClearOnError.
Configured
Languages
DataLanguage
Corner Radius X
RoundCornerWidth
Set the corner radius for a rounded rectangle. This value is a percentage of
half the width of the object.
The Corner Radius X attribute can be made dynamic with the name
RoundCornerWidth.
Corner Radius Y
RoundCornerHeight
Set the corner radius for a rounded rectangle. This value is a percentage of
half the height of the object.
The Corner Radius Y attribute can be made dynamic with the name
RoundCornerHeight.
Current Status
Index
Select the status (0 to 232 -1) for the status display object type for which you
want to set the associated attributes for displaying the "Basic Picture" and the
"Flash Picture."
The Current Status attribute can be made dynamic with the name Index.
Current Value X
ActualPointLeft
Set the current horizontal position of the corner point for polygon and
polyline object types in relation to the origin of the picture. The corner is set
by the index.
Changing this setting also affects the "Position X" and "Width" attributes.
The Current Value X attribute can be made dynamic with the name
ActualPointLeft.
4-46
WinCC Manual
C79000-G8276-C107-01
08.97
Current Value Y
ActualPointTop
Graphics Designer
Set the current vertical position of the corner point for polygon and polyline
object types in relation to the origin of the picture. The corner is set by the
index.
Changing this setting also affects the "Position Y" and "Height" attributes.
The Current Value Y attribute can be made dynamic with the name
ActualPointTop.
Cursor Control
CursorControl
Set an alpha cursor to jump to the next box in the tab sequence after exiting
the current box.
Use the "Cursor Mode" attribute to determine whether a tab order or an alpha
cursor sequence should be active.
The Cursor Control attribute can be made dynamic with the name
CursorControl.
Cursor Mode
CursorMode
Data Format
DataFormat
Set the data type (binary, decimal, hexadecimal, or string) of the contents of
the box.
Set the number of digits to the left of the decimal point (0 to 20).
Set the number of digits to the right of the decimal point (0 to 20).
The Digits to the Left of the Decimal Point attribute can be made dynamic
with the name LeftComma.
The Digits to the Right of the Decimal Point attribute can be made dynamic
with the name RightComma.
Display
Visible
Dynamic Filling
Filling
The Display attribute can be made dynamic with the name Visible.
The Dynamic Filling attribute can be made dynamic with the name Filling.
WinCC Manual
C79000-G8276-C107-01
4-47
Graphics Designer
End Angle
EndAngle
08.97
Set the ending point for the segment and arc object types. The input is
clockwise in degrees, starting with 12 oclock.
The End Angle attribute can be made dynamic with the name EndAngle.
Exponent Display
Exponent
Extended Operation
ExtendedOperation
The Exponent Display attribute can be made dynamic with the name
Exponent.
The Extended Operation attribute can be made dynamic with the name
ExtendedOperation.
Field Type
BoxType
Fill Level
FillingIndex
Set the percentage value (relative to the height of the object) to which an
object with a solid border (rectangle, rounded rectangle, circle, ellipse,
polygon, text, I/O field, and others) can be filled.
The Field Type attribute can be made dynamic with the name BoxType.
Fill Pattern
FillStyle
Set the fill pattern of the object. You can select a fill pattern from the style
palette or the selection dialog box.
The Fill Pattern attribute can be made dynamic with the name FillStyle.
Flash Picture
FlashPicture
Set the flash picture for the status display. Depending on the "Flash Picture
Referenced" attribute, the entire object or only the object reference is stored.
The corresponding status is selected by means of the "Current Status"
attribute.
The Flash Picture attribute cannot be made dynamic.
4-48
WinCC Manual
C79000-G8276-C107-01
08.97
Flash Picture
Flash Frequency
FlashRateFlashPic
Graphics Designer
Flash Picture
Referenced
FlashPicReferenced
Determine whether the assigned picture is stored in the status display object
or only the corresponding object reference is stored.
Flash Picture
Transparent Color
FlashPicTransColor
Determine which color of the assigned bitmap object (.bmp, .dib) should be
set to "transparent".
The attribute is analyzed only if the "Flash Picture Transparent Color On"
attribute is activated.
The Flash Picture Transparent Color can be made dynamic with the name
FlashPicTransColor.
Flash Picture
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
FlashPicUseTransColor
The Flash Picture Transparent Color On attribute can be made dynamic
with the name FlashPicUseTransColor.
Flashing Background Set the background color when flashing is switched off.
Color Off
The Flashing Background Color Off attribute can be made dynamic with the
BackFlashColorOff
name BackFlashColorOff.
Flashing Background Set the background color when flashing is switched on.
Color On
The Flashing Background Color On attribute can be made dynamic with the
BackFlashColorOn
name BackFlashColorOn.
Flashing Border
Active
FlashBorderColor
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
08.97
Flashing Border
Set the color for the border when flashing is switched off.
Color Off
The Flashing Border Color Off attribute can be made dynamic with the
BorderFlashColorOff
name BorderFlashColorOff.
Flashing Border
Set the color of the border when flashing is switched on.
Color On
The Flashing Border Color On attribute can be made dynamic with the
BorderFlashColorOn
name BorderFlashColorOn.
Flashing Line
Active
FlashBorderColor
Flashing Line
Set the color for the line when flashing is switched off.
Color Off
The Flashing Line Color Off attribute can be made dynamic with the name
BorderFlashColorOff
BorderFlashColorOff.
Flashing Line
Set the color for the line when flashing is switched on.
Color On
The Flashing Line Color On attribute can be made dynamic with the name
BorderFlashColorOn
BorderFlashColorOn.
Flashing Text
Active
FlashForeColor
Flashing Text
Color Off
ForeFlashColorOff
Flashing Text
Color On
ForeFlashColorOn
Font
FontName
The Flashing Text Active attribute can be made dynamic with the name
FlashForeColor.
The Flashing Text Color Off attribute can be made dynamic with the name
ForeFlashColorOff.
Set the type style of the text in the object. All of the fonts installed in
Windows are available to you for this selection.
The Font attribute can be made dynamic with the name FontName.
4-50
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Font Color
ForeColor
Font Size
FontSize
Set the font size for the text in the object. The input is in point size (pt.), and
you can enter any given value.
The Font Color attribute can be made dynamic with the name ForeColor.
The Font Size attribute can be made dynamic with the name FontSize.
Foreground
OnTop
Grid Color
GridColor
Grid Height
GridHeight
Set the grid height (in pixels) in the picture for the configuration phase.
The grid is only displayed during the configuration phase.
The Grid Height attribute cannot be made dynamic.
Grid On
Grid
Set whether the grid is displayed in the picture for the configuration phase.
The grid is only displayed during the configuration phase.
The Grid On attribute cannot be made dynamic.
Grid Width
GridWidth
Set the grid width (in pixels) in the picture for the configuration phase.
The grid is only displayed during the configuration phase.
The Grid Width attribute cannot be made dynamic.
Height
Height
Hidden Input
HiddenInput
Hide the input value during input. An asterisk (*) is displayed for each
character.
The Height attribute can be made dynamic with the name Height.
This attribute is only relevant for input fields and for combined I/O fields.
The Hidden Input attribute can be made dynamic with the name
HiddenInput.
WinCC Manual
C79000-G8276-C107-01
4-51
Graphics Designer
High Limit
Background Color
BackColorTop
08.97
Set the high limit value for I/O fields as an absolute value dependent on the
data format.
The High Limit Color attribute can be made dynamic with the name
ColorTop.
Hot Key
Hotkey
Hysteresis
Hysteresis
Hysteresis Range
HysteresisRange
Immediate Input
EditAtOnce
Set the ability to make an input immediately upon accessing the I/O field with
the Tab key, without having to carry out any further action.
The Immediate Input attribute can be made dynamic with the name
EditAtOnce.
4-52
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Index
Index
Italic
FontItalic
Set the text attribute Italic for the text in the object.
The Italic attribute can be made dynamic with the name FontItalic.
Label Each
Determine which sections of the scale representation should be labeled (each
LongStrokesTextEach one, every other one, every third, etc.).
The Label Each attribute cannot be made dynamic.
Language Switch
LanguageSwitch
Latch Down
Toggle
Ensure that the "pressed" and "not pressed" switch settings for round button
object types can be latched down.
The Latch Down attribute can be made dynamic with the name Toggle.
Layer
Layer
Length of Axis Section Set the length (in pixels) of the axis sections ("Long Strokes" attribute).
LongStrokesSize
The Length of Axis Section attribute can be made dynamic with the name
LongStrokesSize.
WinCC Manual
C79000-G8276-C107-01
4-53
Graphics Designer
Limit AH
AlarmHigh
08.97
Limit AL
AlarmLow
Limit Marker
Marker
Determine whether the limit value should be displayed as a scale value in the
bar representation.
The Limit Marker attribute can be made dynamic with the name Marker.
Limit RH4
LimitHigh4
Limit RH5
LimitHigh5
Limit RL4
LimitLow4
4-54
WinCC Manual
C79000-G8276-C107-01
08.97
Limit RL5
LimitLow5
Graphics Designer
Limit TH
ToleranceHigh
Limit TL
ToleranceLow
Limit WH
WarningHigh
Limit WL
WarningLow
Line
Background Color
BorderBackColor
WinCC Manual
C79000-G8276-C107-01
4-55
Graphics Designer
08.97
Line Color
BorderColor
Select the line end style (rounded, start arrow, angled arrow, etc.) for the
object.
The Line Color attribute can be made dynamic with the name BorderColor.
The Line End Style attribute can be made dynamic with the name
BorderEndStyle.
Line
Set the flash frequency for the line.
Flash Frequency
You can set the frequency to slow (approximately 0.5 Hz), medium
FlashRateBorderColor
(approximately 2 Hz), and fast (approximately 8 Hz).
Since flashing is implemented by means of software, the frequency is systemand hardware-dependent (number of objects, processor, memory, update
cycle, and more).
The Line Flash Frequency attribute can be made dynamic with the name
FlashRateBorderColor.
Line Style
BorderStyle
Line Weight
BorderWidth
List Type
ListType
Set whether the long axis sections in the scale representation should be
displayed as bold or normal.
The Long Axis Sections attribute can be made dynamic with the name
LongStrokesBold.
Low Limit
Background Color
BackColorBottom
4-56
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Set the low limit value for I/O fields as an absolute value dependent on the
data format.
If the value to be displayed is lower than the low limit value, it is
identified with a sequence of ***, showing that it cannot be displayed.
The Low Limit Value attribute can be made dynamic with the name
LimitMin.
Maximum Value
Max
Minimum Value
Min
Monitoring AH
CheckAlarmHigh
Determine whether the limit value for "alarm high" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit AH", "Bar Color
AH", and "Type AH").
The Monitoring AH attribute can be made dynamic with the name
CheckAlarmHigh.
Monitoring AL
CheckAlarmLow
Determine whether the limit value for "alarm low" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit AL", "Bar Color
AL", and "Type AL").
The Monitoring AL attribute can be made dynamic with the name
CheckAlarmLow.
Monitoring RH4
CheckLimitHigh4
Determine whether the high limit value for "reserve 4" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit RH4", "Bar Color
RH4", and "Type RH4").
The Monitoring RH4 attribute can be made dynamic with the name
CheckLimitHigh4.
WinCC Manual
C79000-G8276-C107-01
4-57
Graphics Designer
Monitoring RH5
CheckLimitHigh5
08.97
Determine whether the high limit value for "reserve 5" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit RH5", "Bar Color
RH5", and "Type RH5").
The Monitoring RH5 attribute can be made dynamic with the name
CheckLimitHigh5.
Monitoring RL4
CheckLimitLow4
Determine whether the low limit value for "reserve 4" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit RL4", "Bar Color
RL4", and "Type RL4").
The Monitoring RL4 attribute can be made dynamic with the name
CheckLimitLow4.
Monitoring RL5
CheckLimitLow5
Determine whether the low limit value for "reserve 5" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes (("Limit RL5", "Bar Color
RL5", and "Type RL5").
The Monitoring RL5 attribute can be made dynamic with the name
CheckLimitLow5.
Monitoring TH
Determine whether the limit value for "tolerance high" should be monitored.
CheckToleranceHigh
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit TH", "Bar Color
TH", and "Type TH").
The Monitoring TH attribute can be made dynamic with the name
CheckToleranceHigh.
Monitoring TL
Determine whether the limit value for "tolerance low" should be monitored.
CheckToleranceLow
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit TL", "Bar Color
TL", and "Type TL").
The Monitoring TL attribute can be made dynamic with the name
CheckToleranceLow.
Monitoring WH
CheckWarningHigh
Determine whether the limit value for "warning high" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit WH", "Bar Color
WH", and "Type WH").
The Monitoring WH attribute can be made dynamic with the name
CheckWarningHigh.
4-58
WinCC Manual
C79000-G8276-C107-01
08.97
Monitoring WL
CheckWarningLow
Graphics Designer
Determine whether the limit value for "warning low" should be monitored.
The limit value, the representation upon reaching the limit value, and the type
of analysis are set in three supplemental attributes ("Limit WL", "Bar Color
WL", and "Type WL").
The Monitoring WL attribute can be made dynamic with the name
CheckWarningLow.
Moveable
Moveable
Number of Boxes
BoxCount
Determine how many boxes are available for multiple or single selection in
the Windows objects check box and option group.
The Number of Boxes attribute can be made dynamic with the name
BoxCount.
Number of Corners
PointCount
Set the number of corners for the polygon and polyline object types.
Number of Visible
Lines
NumberLines
Set the number of lines the selection list of a text list object should contain. If
the amount of configured text is larger than this value, the selection list
receives a vertical scroll bar.
The Number of Visible Lines attribute can be made dynamic with the name
NumberLines.
Object Name
ObjectName
Only Long
Axis Sections
LongStrokesOnly
Set whether the long axis sections alone or both sections should be displayed
in the scale representation.
Operation Steps
SmallChange
Set the number of steps the slider can be moved with a mouse click.
WinCC Manual
C79000-G8276-C107-01
The Only Long Axis Sections attribute can be made dynamic with the name
LongStrokesOnly.
The Operation Steps attribute can be made dynamic with the name
SmallChange.
4-59
Graphics Designer
Operator Activities
Report
OperationReport
08.97
This attribute determines whether the reason for operator activity needs to be
reported.
When you select the Yes option, a dialog box appears when there is operator
activity in an object. The user can input the reason for the activity as text in
the dialog box. The operator activity is then sent to the diagnostics system and
archived by it.
The Operator Activities Report attribute can be made dynamic with the
name OperationReport.
Operator-Control
Enable
Operation
Operator Input
Message
OperationMessage
Output Format
OutputFormat
Set the way in which the output value is represented. The representation is
dependent on the data format.
The Output Format attribute cannot be made dynamic.
Output Value
OutputValue
Password
PasswordLevel
Set the authorization level for controlling this object (no input = no triggering
of actions).
You can set an authorization level (password) for each controllable object.
The operator-control authorizations for each user are stored in a user-specific
system entry.
If 0 is entered as the value for the Password Attribute, there are no user
limits set.
The Password attribute can be made dynamic with the name PasswordLevel.
4-60
WinCC Manual
C79000-G8276-C107-01
08.97
Picture
PictureName
Graphics Designer
Picture Deact.
Referenced
PicDeactReferenced
Picture Deact.
Determine which color of the assigned bitmap object (.bmp, .dib) should be
Transparent Color
set to "transparent."
PicDeactTransparent
The attribute is analyzed only if the "Picture Deact. Transparent Color On"
attribute is activated.
The Picture Deact. Transparent Color attribute can be made dynamic with
the name PicDeactTransparent.
Picture Deact.
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
PicDeactUseTransColor
The Picture Deact. Transparent Color On attribute can be made dynamic
with the name PicDeactUseTransColor.
Picture Height
Height
Picture Name
PictureName
Picture Off
Referenced
PicUpReferenced
Determine whether the picture assigned to the Off state is stored in the object
or only the corresponding object reference is stored.
Picture Off
Transparent Color
PicUpTransparent
Determine which color of the assigned bitmap object (.bmp, .dib) should be
set to "transparent".
The attribute is analyzed only if the "Picture Off Transparent Color On"
attribute is activated.
The Picture Off Transparent Color attribute can be made dynamic with the
name PicUpTransparent.
WinCC Manual
C79000-G8276-C107-01
4-61
Graphics Designer
08.97
Picture Off
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
PicUpUseTransColor
The Picture Off Transparent Color On attribute can be made dynamic with
the name PicUpUseTransColor.
Picture Offset X
OffsetLeft
Picture Offset Y
OffsetTop
Picture On
Referenced
PicDownReferenced
Set the horizontal distance of the picture from the left edge of the window.
The Picture Offset X attribute can be made dynamic with the name
OffsetLeft.
Set the vertical distance of the picture from the top edge of the window.
The Picture Offset Y attribute can be made dynamic with the name
OffsetTop.
Determine whether the picture assigned to the On state is stored in the object
or only the corresponding object reference is stored.
The Picture On Referenced attribute cannot be made dynamic.
Picture On
Determine which color of the assigned bitmap object (.bmp, .dib) should be
Transparent Color
set to "transparent".
PicDownTransparent
The attribute is analyzed only if the "Picture On Transparent Color On"
attribute is activated.
The Picture On Transparent Color attribute can be made dynamic with the
name PicDownTransparent.
Picture On
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
PicDownUseTransColor
The Picture On Transparent Color On attribute can be made dynamic with
the name PicDownUseTransColor.
Picture Referenced
PicReferenced
Determine whether the assigned picture is stored in the object or only the
corresponding object reference is stored.
The Picture Referenced attribute cannot be made dynamic.
Picture Status
Deactivated
PictureDeactivated
4-62
Set the image (bitmap) that is displayed on a button for the deactivated state.
The Picture Status Deactivated attribute can be made dynamic with the
name PictureDeactivated.
WinCC Manual
C79000-G8276-C107-01
08.97
Picture Status
Off
PictureUp
Graphics Designer
Button:
Set the image (bitmap) that is displayed on a button for the off state (button
not depressed).
The Picture Status Off attribute cannot be made dynamic.
Round Button:
Set the image (bitmap) that is displayed for a round button for the off state
(button not depressed).
The Picture Status Off attribute can be made dynamic with the name
PictureUp.
Picture Status
On
PictureDown
Button:
Set the image (bitmap) that is displayed on a button for the on state (button
depressed).
The Picture Status On attribute cannot be made dynamic.
Round Button:
Set the image (bitmap) that is displayed for a round button for the on state
(button not depressed).
The Picture Status On attribute can be made dynamic with the name
PictureDown.
Picture
Transparent Color
PicTransColor
Determine which color of the assigned bitmap object (.bmp, .dib) should be
set to "transparent".
The attribute is analyzed only if the "Picture Transparent Color On" attribute
is activated.
The Picture Transparent Color attribute can be made dynamic with the
name PicTransColor.
Picture
Use this attribute to specify whether the "Transparent Color" function should
Transparent Color On be used. This function is only available for bitmap objects (.bmp, .dib).
PicUseTransColor
The Picture Transparent Color On attribute can be made dynamic with the
name PicUseTransColor.
Picture Width
Width
Position X
Left
WinCC Manual
C79000-G8276-C107-01
Set (in pixels) the horizontal distance of the starting point of the object (left
upper corner of the rectangle surrounding the object) from the starting point
of the picture (left upper corner of the picture).
4-63
Graphics Designer
Position Y
Top
08.97
Set (in pixels) the vertical distance of the starting point of the object (left
upper corner of the rectangle surrounding the object) from the starting point
of the picture (left upper corner of the picture).
The Position Y attribute can be made dynamic with the name Top.
Process Driver
Connection
Process
Radius
Radius
Radius X
RadiusWidth
Radius Y
RadiusHeight
Rotation Angle
RotationAngle
Set the clockwise rotation angle (in degrees) of the object around the rotation
point. The starting point (zero) is the configured start position.
The Radius attribute can be made dynamic with the name Radius.
The Radius X attribute can be made dynamic with the name RadiusWidth.
The Radius Y attribute can be made dynamic with the name RadiusHeight.
The Rotation Angle attribute can be made dynamic with the name
RotationAngle.
Rotation Reference X Set the reference point around which the line, polygon, and polyline object
ReferenceRotationLeft types are rotated. The input is relative to the width of the object, starting with
the left edge of the rectangle surrounding the object.
The Rotation Reference X attribute can be made dynamic with the name
ReferenceRotationLeft.
Rotation Reference Y Set the reference point around which the line, polygon, and polyline object
ReferenceRotationTop types are rotated. The input is relative to the object height, starting with the
top edge of the rectangle surrounding the object.
The Rotation Reference Y attribute can be made dynamic with the name
ReferenceRotationTop.
4-64
WinCC Manual
C79000-G8276-C107-01
08.97
Scale
Scaling
Graphics Designer
Set whether an additional scale should be used to represent the values within
the bar representation.
Use the "Bar Scaling" attribute to set the type of scale.
The Scale attribute can be made dynamic with the name Scaling.
Scale Color
ScaleColor
Scale Marks
ScaleTicks
Scaling Factor
Zoom
Scroll Bars
ScrollBars
Determine whether scroll bars are available in the window when needed.
Select Background
Color
UnselBGColor
Set the color of the background for the unselected entries in the browser list
for "Text List" objects.
The Scaling Factor attribute can be made dynamic with the name Zoom.
The Select Background Color attribute can be made dynamic with the name
UnselBGColor.
Set the color of the text for the unselected entries in the browser list for "Text
List" objects.
The Select Text Color attribute can be made dynamic with the name
UnselTextColor.
Selected Box
Process
This attribute informs the system which box the user selected with a single
selection (option group).
In a 32-bit value, each box is represented by a bit (box 1 corresponds to the bit
value of 0). The selected box is indicated by a set bit (1). Boxes which are not
available are indicated by 0.
If more than 1 bit is set, an error has occurred. The input is then
discarded in this case.
The Selected Box attribute can be made dynamic with the name Process.
WinCC Manual
C79000-G8276-C107-01
4-65
Graphics Designer
Selected Boxes
Process
08.97
This attribute informs the system which boxes the user selected with multiple
selection (check box).
In a 32-bit value, each box is represented by a bit (box 1 corresponds to the bit
value of 0). The selected box is indicated by a set bit (1). Boxes which are not
available are indicated by 0.
The Selected Boxes attribute can be made dynamic with the name Process.
Selection Background Set the color of the background in the selected entry of the browser list for
Color
"Text List" objects.
SelBGColor
The Selection Background Color attribute can be made dynamic with the
name SelBGColor.
Set the color of the text in the selected entry of the browser list for "Text List"
objects.
The Selection Text Color attribute can be made dynamic with the name
SelTextColor.
Separation Line
Set the background color of the separation lines in the browser list for "Text
Background Color
List" objects.
ItemBorderBackColor
The Separation Line Background Color attribute can be made dynamic with
the name ItemBorderBackColor.
Separation Line Color Set the color of the separation lines in the browser list for "Text List" objects.
ItemBorderColor
The Separation Line Color attribute can be made dynamic with the name
ItemBorderColor.
Separation Line Style Set the style of the separation lines in the browser list for "Text List" objects.
ItemBorderStyle
The Separation Line Style attribute can be made dynamic with the name
ItemBorderStyle.
Separation Line
Weight
ItemBorderWidth
Server Name
ServerName
Set the separation line weight in the browser list for "Text List" objects.
The Separation Line Weight attribute can be made dynamic with the name
ItemBorderWidth.
Displays the name under which the embedded object (OLE control or OLE
object) is registered in Windows.
The Server Name attribute cannot be made dynamic.
Sizeable
Sizeable
4-66
08.97
Start Angle
StartAngle
Graphics Designer
Set the beginning point for the segment and arc object types. The input is
clockwise in degrees, starting with 12 oclock.
The Start Angle attribute can be made dynamic with the name StartAngle.
Switch Setting
Pressed
Template
Template
Text
Text
Set the text to be displayed in the object. For check- and radio-boxes, the
object property "Index" determines, to which element the text change is
referring.
The text properties are set with other attributes.
If the text entered contains control characters, they are also displayed in
the "Object Properties" window (for example, \r\n equals CR/LF).
The Text attribute can be made dynamic with the name Text.
Text
Flash Frequency
FlashRateForeColor
Text Orientation
Orientation
Title
Caption
In the case of window objects, determine whether the window has a title bar.
The "Can Be Maximized" and "Can Be Closed" attributes are analyzed
only when the "Title" attribute is active.
The Title attribute cannot be made dynamic.
WinCC Manual
C79000-G8276-C107-01
4-67
Graphics Designer
08.97
The attribute tool tip text determines the text that will be displayed in runtime
as a "Tool Tip", if the mouse pointer is positioned above the object.
The attribute Tool Tip Text can be made dynamic with the name
ToolTipText.
Trend
Trend
Set whether the trend should be displayed. The trend view shows the
directional trend of the measured value when there are small changes to that
value.
The trend is represented with a small arrow beneath the bar. Depending on
the tendency of the measured value, it points up or down.
The Trend attribute can be made dynamic with the name Trend.
Trend Color
TrendColor
Type AH
TypeAlarmHigh
Determine whether the limit value for "alarm high" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type AH attribute can be made dynamic with the name
TypeAlarmHigh.
Type AL
TypeAlarmLow
Determine whether the limit value for "alarm low" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type AL attribute can be made dynamic with the name
TypeAlarmLow.
Type RH4
TypeLimitHigh4
Determine whether the high limit value for "reserve 4" should be provided as
a percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type RH4 attribute can be made dynamic with the name
TypeLimitHigh4.
Type RH5
TypeLimitHigh5
Determine whether the high limit value for "reserve 5" should be provided as
a percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type RH5 attribute can be made dynamic with the name
TypeLimitHigh5.
4-68
WinCC Manual
C79000-G8276-C107-01
08.97
Type RL4
TypeLimitLow4
Graphics Designer
Determine whether the low limit value for "reserve 4" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type RL4 attribute can be made dynamic with the name
TypeLimitLow4.
TypeRL5
TypeLimitLow5
Determine whether the low limit value for "reserve 5" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type RL5 attribute can be made dynamic with the name
TypeLimitLow5.
Type TH
TypeToleranceHigh
Determine whether the limit value for "tolerance high" should be provided as
a percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type TH attribute can be made dynamic with the name
TypeToleranceHigh.
Type TL
TypeToleranceLow
Determine whether the limit value for "tolerance low" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type TL attribute can be made dynamic with the name
TypeToleranceLow.
Type WH
TypeWarningHigh
Determine whether the limit value for "warning high" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type WH attribute can be made dynamic with the name
TypeWarningHigh.
Type WL
TypeWarningLow
Determine whether the limit value for "warning low" should be provided as a
percentage or absolute. The default is absolute.
The limit value is monitored only when the value is active.
The Type WL attribute can be made dynamic with the name
TypeWarningLow.
Underline
FontUnderline
WinCC Manual
C79000-G8276-C107-01
Set the text attribute Underline for the text in the object.
The Underline attribute can be made dynamic with the name FontUnderline.
4-69
Graphics Designer
08.97
Update Cycle
UpdateCycle
Width
Width
Window Contents
Application
The Width attribute can be made dynamic with the name Width.
Window Height
Height
Window Width
Width
Windows Style
WindowsStyle
Determine whether the object should correspond to the general Windows style
(gray buttons without borders).
The Window Height attribute can be made dynamic with the name Height.
The Window Width attribute can be made dynamic with the name Width.
X Alignment
AlignmentLeft
Y Alignment
AlignmentTop
Zero Point
ZeroPoint
Set the horizontal alignment (aligned left, centered, aligned right) of the text.
The X Alignment attribute can be made dynamic with the name
AlignmentLeft.
4-70
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
WinCC Manual
C79000-G8276-C107-01
4-71
Graphics Designer
08.97
You may select the predefined output format "Binary" from the selection list.
Example:
You can define your own output format in the "Enter Format" input field. The
following characters are allowed:
Character
"1"
Definition
Binary values "0" or "1"
4-72
WinCC Manual
C79000-G8276-C107-01
08.97
Data Format
Decimal
Graphics Designer
You may select the predefined output format "Decimal" from the selection
list.
Example:
You can define your own output format in the "Enter Format" input field. The
following characters are allowed:
Character
"s"
"e"
"9"
"0"
"."
Definition
Sign provided
Exponent representation
Number between 0 and 9
Leading zero accompanies output
Decimal point
Examples:
WinCC Manual
C79000-G8276-C107-01
4-73
Graphics Designer
Data Format
String
08.97
You may select the predefined output format "String" from the selection list.
Example:
You can define your own output format in the "Enter Format" input field. The
following characters are allowed:
Character
*
?
a
A
b
B
d
t
1
2
3
4
5
6
7
8
9
h
4-74
Definition
Any string in any length
Any string with a length of "Number ?"
(for example, ???? any string with 4 characters)
Lower- or uppercase letters or number "0 ... 9"
Uppercase letters or number "0 ... 9"
Lower- or uppercase letters
Uppercase letters
Sign ("+" or "-"), decimal point, blank, or number "0 ... 9"
Separator "/", ":", ".", "," or blank
Number 0 ... 1
Number 0 ... 2
Number 0 ... 3
Number 0 ... 4
Number 0 ... 5
Number 0 ... 6
Number 0 ... 7
Number 0 ... 8
Number 0 ... 9
Hexacharacter 0 ...9, A ... F, or a ... f
WinCC Manual
C79000-G8276-C107-01
08.97
Data Format
Hexadecimal
Graphics Designer
You may select the predefined output format "Hexadecimal" from the
selection list.
Example:
You can define your own output format in the "Enter Format" input field. The
following characters are allowed:
Character
"f"
Definition
Hexadecimal value "0" to "f"
WinCC Manual
C79000-G8276-C107-01
4-75
Graphics Designer
08.97
Use the "Assignments" attribute to assign the values for the text list .
Four range types ("To Value," "Single Value," "From-To Value," and "From
Value") are provided for the assignment in the "Decimal" list type . Depending
on the range type that is set, the value range (relative to the value to be
displayed) can be defined. Exactly one value can be assigned to a text for the
"Single Value" range type. The "From-To Value" range type allows you to
enter two values that define a value range (including the values you enter).
The "To Value" range type defines a value range that is open on the bottom
and reaches to include the value you entered. The "From Value" range is
analogous to this and defines a value range that is open on the top.
If there is no text assigned to the value to be displayed, the text "***" is
output in CONFIGURATION mode and in RUNTIME mode.
Use the "Append" button to add a new list entry to the end of the list. Use the
"Remove," "Up," and "Down" buttons to remove a list entry or shift it up or
down within the sequence of the list.
4-76
WinCC Manual
C79000-G8276-C107-01
08.97
List Type
Binary
Graphics Designer
Use the "Assignments" attribute to assign the values for the text list .
One text can be assigned to each bit number (relative to the value to be
displayed) for the "Binary" list type. The bit number has a value range of 0 to
31.
If there is no text configured for the bit number and if the corresponding bit is
set as the only one in the output value, the text "***" is displayed in
CONFIGURATION mode and in RUNTIME mode.
Use the "Append" button to add a new list entry to the end of the list. Use the
"Remove," "Up," and "Down" buttons to remove a list entry or shift it up or
down within the sequence of the list.
WinCC Manual
C79000-G8276-C107-01
4-77
Graphics Designer
List Type
Bit
4-78
08.97
Use the "Assignments" attribute to assign the value for the text list .
Exactly two texts can be configured for assignment to the "Bit" list type. One
is for the case in which the bit that is observed has a value of 0, and one is for
the case in which the bit has a value of 1. Use the "Bit Number" attribute
(value range 0 to 31) to specify which bit of the value to be displayed is
observed.
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
Index
3
3D Bar 2-7
3D Border Color 4-39
3D Border Weight 4-39
3D Shadow Color 4-39
A
Action 2-51; 3-1; 3-2; 3-14
Action configuration 3-1
ActualPointLeft 4-46
ActualPointTop 4-47
Adapt Border 4-39
Adapt Picture 4-39
Adapt Size 4-39
Addressing 3-33
Addressing method 3-33
AlarmHigh 4-54
AlarmLow 4-54
Alignment 4-40
Alignment palette 2-15
AlignmentLeft 4-70
AlignmentTop 4-70
Alpha Cursor 2-23
Application Window 2-4; 4-14
Apply on Exit 4-40
Apply on Full 4-40
Assignments 4-40
AssumeOnExit 4-40
AssumeOnFull 4-40
Attribute name 3-25
Attributes 2-41; 4-39
Average 4-40
Average Value 4-40
Axis Section 4-40
AxisSection 4-40
B
BackBorderWidth 4-39; 4-45
BackColor 4-40
BackColor2 4-41
BackColor3 4-41
BackColorBottom 4-56
BackColorTop 4-52
BackFlashColorOff 4-49
BackFlashColorOn 4-49
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
C
C Action 2-49; 2-52; 3-21
C Function 3-22; 3-30
Can Be Closed 4-45
Can Be Maximized 4-45
Change 3-1
Change Color 4-45
Changing the palette size 2-2
Check Box 2-8; 4-29
CheckAlarmHigh 4-57
CheckAlarmLow 4-57
CheckLimitHigh4 4-57
CheckLimitHigh5 4-58
CheckLimitLow4 4-58
CheckLimitLow5 4-58
CheckToleranceHigh 4-58
CheckToleranceLow 4-58
CheckWarningHigh 4-58
CheckWarningLow 4-59
Circle 2-4; 4-5
Circular Arc 2-4; 4-9
Clear on Invalid Input 4-46
Clear on New Input 4-46
ClearOnError 4-46
ClearOnNew 4-46
Color palette 2-2
ColorAlarmHigh 4-41
ColorAlarmLow 4-41
ColorBottom 4-57
ColorChangeType 4-45
ColorLimitHigh4 4-41
ColorLimitHigh5 4-41
ColorLimitLow4 4-42
ColorLimitLow5 4-42
ColorToleranceHigh 4-42
ColorToleranceLow 4-42
ColorTop 4-52
ColorWarningHigh 4-42
ColorWarningLow 4-42
Configured Languages 4-46
Context sensitive help 2-1
Corner Radius X 4-46
Corner Radius Y 4-46
Ctrl+C 3-22
Ctrl+End 3-22
Ctrl+Home 3-22
Ctrl+V 3-22
Ctrl+X 3-22
Index-2
08.97
D
Data Format 4-47
Data type 3-3; 3-7; 3-8; 3-9
Date of Last Change 4-47
Default addressing 3-33
Default cycle 3-4; 3-11; 3-21; 3-26
Default cycle time 3-4; 3-21
Default entry 3-11; 3-26
Default value 3-11; 3-26; 3-33
Digits to the Left of the Decimal Point 4-47
Digits to the Right of the Decimal Point 4-47
Direct connection 2-51; 2-52; 2-53
Direction 4-40; 4-42
Display 4-47
Drawing an Object 2-9
Dynamic 2-41; 2-49
Make dynamic 3-2; 3-3; 3-4; 3-21; 3-32
Dynamic dialog 2-49
Dynamic Filling 4-47
E
Edit functions 3-22; 3-23
Edit window 3-31
EditAtOnce 4-52
Ellipse 2-4
Ellipse Arc 2-4; 4-8
Ellipse Segment 2-4; 4-6
End Angle 4-48
EndAngle 4-48
Event 2-50; 2-51; 3-1; 3-2; 3-11; 3-26; 3-30;
3-35
Event category 3-35
Events 3-35
Exponent 4-48
Exponent Display 4-48
Export 2-20; 3-31; 3-32
Export file 3-31
Expression 3-5
Extended Operation 4-48
ExtendedOperation 4-48
WinCC Manual
C79000-G8276-C107-01
08.97
F
Feedback Documentation 2-20
Field Type 4-48
Fill Level 4-48
Fill Pattern 4-48
Fill Pattern Color 4-48
FillColor 4-48
Filling 4-47
FillingIndex 4-48
FillStyle 4-48
FillStyle2 4-43
Flash Picture 4-48
Flash Picture Flash Frequency 4-49
Flash Picture Referenced 4-49
Flash Picture Transparent Color 4-49
Flash Picture Transparent Color On 4-49
FlashBackColor 4-49
FlashBorderColor 4-49; 4-50
FlashFlashPicture 4-50
FlashForeColor 4-50
Flashing Background Active 4-49
Flashing Background Color Off 4-49
Flashing Background Color On 4-49
Flashing Border Active 4-49
Flashing Border Color Off 4-50
Flashing Border Color On 4-50
Flashing Flash Picture Active 4-50
Flashing Line Active 4-50
Flashing Line Color Off 4-50
Flashing Line Color On 4-50
Flashing Text Active 4-50
Flashing Text Color Off 4-50
Flashing Text Color On 4-50
FlashPicTransColor 4-49
FlashPicUseTransColor 4-49
FlashRateBackColor 4-41
FlashRateBorderColor 4-44; 4-56
FlashRateFlashPic 4-49
FlashRateForeColor 4-67
Font 4-50
Font Color 4-51
Font palette 2-37
Font Size 4-51
FontBold 4-44
FontItalic 4-53
FontName 4-50
FontSize 4-51
FontUnderline 4-69
ForeColor 4-51
ForeFlashColorOff 4-50
ForeFlashColorOn 4-50
Foreground 4-51
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
Formula 3-5
Function 3-5
Function name 3-5; 3-22
Function value 3-30
G
Graphic Object (External Format) 2-5; 4-23
Grid Color 4-51
Grid Height 4-51
Grid On 4-51
Grid Width 4-51
Group 2-22; 4-37
Group Display 2-7
Group object 2-22; 4-37
H
Height 4-43; 4-51; 4-61; 4-70
Hidden Input 4-51
HiddenInput 4-51
High limit 3-7
High Limit Background Color 4-52
High Limit Color 4-52
High Limit Value 4-52
Home 3-22
Hot Key 4-52
Hysteresis 4-52
Hysteresis Range 4-52
HysteresisRange 4-52
I
I/O Field 2-5; 4-18
Immediate Input 4-52
Import 2-30; 3-32
Import file 3-32
Increment 3-7
Index 4-46; 4-53
Indir 3-33
Indirect addressing 2-41; 2-50
Italic 4-53
ItemBorderBackColor 4-66
ItemBorderColor 4-66
ItemBorderStyle 4-66
ItemBorderWidth 4-66
K
Keystroke 3-1
Index-3
Graphics Designer
08.97
Marker 4-54
Max 4-57
Maximum Value 4-57
Menu bar 2-17
Menu commands 2-17
Min 4-57
Minimum value 3-7; 4-57
Monitoring AH 4-57
Monitoring AL 4-57
Monitoring RH4 4-57
Monitoring RH5 4-58
Monitoring RL4 4-58
Monitoring RL5 4-58
Monitoring TH 4-58
Monitoring TL 4-58
Monitoring WH 4-58
Monitoring WL 4-59
Mouse event 3-35
Moveable 4-59
Multiple selection 2-42; 4-28
Index-4
N
Number of Boxes 4-59
Number of Corners 4-59
Number of Visible Lines 4-59
NumberLines 4-59
O
Object 3-2
Object attribute 3-4; 3-33
Object list 2-40
Object name 3-25; 4-59
Object palette 2-3
Object properties 2-10; 2-26; 2-39
OffsetLeft 4-62
OffsetTop 4-62
OLE automation name 4-39
OLE Control 2-5; 4-16
OLE links 2-32
OLE Object 2-5; 4-17
On-line help 2-1
Only Long Axis Sections 4-59
Operation 4-60
Operation Steps 4-59
OperationMessage 4-60
OperationReport 4-60
Operator 3-6
Operator Activities Report 4-60
WinCC Manual
C79000-G8276-C107-01
08.97
P
Palette 2-27
Parameter
Set parameters 3-23; 3-24
Parameter assignment 3-5; 3-23; 3-24
Parameter parentheses 3-22
Parameters 3-5; 3-22; 3-23; 3-24; 3-25
Password 4-60
PasswordLevel 4-60
PicDeactTransparent 4-61
PicDeactUseTransColor 4-61
PicDownTransparent 4-62
PicDownUseTransColor 4-62
PicTransColor 4-63
Picture 4-38; 4-61
Picture Browser 3-25
Picture cycle 3-11; 3-26; 3-34
Picture Deact. Referenced 4-61
Picture Deact. Transparent Color 4-61
Picture Deact. Transparent Color On 4-61
Picture Height 4-61
Picture name 3-25; 4-61
Picture Off Referenced 4-61
Picture Off Transparent Color 4-61
Picture Off Transparent Color On 4-62
Picture Offset X 4-62
Picture Offset Y 4-62
Picture On Referenced 4-62
Picture On Transparent Color 4-62
Picture On Transparent Color On 4-62
Picture Referenced 4-62
Picture Status Deactivated 4-62
Picture Status Off 4-63
Picture Status On 4-63
Picture Transparent Color 4-63
Picture Transparent Color On 4-63
Picture Width 4-63
Picture Window 2-5; 4-15
WinCC Manual
C79000-G8276-C107-01
Graphics Designer
PictureDeactivated 4-62
PictureDown 4-63
PictureName 4-61
PictureUp 4-63
PicUpTransparent 4-61
PicUpUseTransColor 4-62
PicUseTransColor 4-63
Pie Segment 2-4; 4-7
Polygon 2-4; 4-2
Polyline 2-4; 4-3
Position Y 4-64
Presetting 3-11; 3-26
Pressed 4-67
Print Preview 2-19
Priority 3-10
Process 4-64; 4-65; 4-66
Process Driver Connection 4-64
Process tag 3-30
Properties 3-25
Property 3-1; 3-2
R
Radius 4-64
Radius X 4-64
Radius Y 4-64
RadiusHeight 4-64
RadiusWidth 4-64
Range 3-23
Range high limit 3-15
Rectangle 2-4; 4-10
ReferenceRotationLeft 4-64
ReferenceRotationTop 4-64
Result of expression 3-3
Result tags 3-30
Return value 3-1; 3-2; 3-21; 3-29
RightComma 4-47
Rotation Angle 4-64
Rotation Reference X 4-64
Rotation Reference Y 4-64
RotationAngle 4-64
Round Button 2-8; 4-33
RoundCornerHeight 4-46
RoundCornerWidth 4-46
Rounded Rectangle 2-4; 4-11
Runtim mode 2-53
Run-Time Behavior 2-51
Runtime Mode 2-7; 2-18; 2-23
Index-5
Graphics Designer
S
Scale 4-65
Scale Color 4-65
Scale Marks 4-65
ScaleColor 4-65
ScaleTicks 4-65
Scaling 4-65
Scaling Factor 4-65
ScalingType 4-43
Scroll Bars 4-65
SelBGColor 4-66
Select Background Color 4-65
Select Text Color 4-65
Selected Box 4-65
Selected Boxes 4-66
Selecting an Object 2-10
Selection Background Color 4-66
Selection Text Color 4-66
SelTextColor 4-66
Separation Line Background Color 4-66
Separation Line Color 4-66
Separation Line Style 4-66
Separation Line Weight 4-66
Server Name 4-66
Sizeable 4-66
Slider 2-8; 4-35
SmallChange 4-59
Smart Objects 2-4
Split bar 3-23; 3-31
Standard Objects 2-4
Standard toolbar 2-35
Start Angle 4-67
StartAngle 4-67
Static 2-41; 2-42
Static Text 2-4; 4-12
Status 3-3; 3-4; 3-10
Status bar 2-38; 3-30
Status Display 2-6; 4-24
Status evaluation 3-10
Status list 3-10
Style palette 2-12
Subject tree 2-40; 2-50
Switch Setting 4-67
System load 3-1
T
Tab "Default Objects" 2-33
Tab "Event" 2-50
Tab "Grid" 2-32
Tab "Options" 2-32
Tab "Properties" 2-40
Index-6
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Graphics Designer
U
Underline 4-69
UnselBGColor 4-65
UnselTextColor 4-65
Update cycle 2-41; 2-50; 3-33; 3-34; 4-70
Update event 3-4; 3-11; 3-26
User cycle 3-12; 3-27; 3-34
V
Valid range 3-8; 3-9
Value assignment 3-10
Value change 3-1; 3-12; 3-13; 3-27; 3-28
Value range 3-3; 3-5; 3-7; 3-10
Visible 4-47
W
WarningHigh 4-55
WarningLow 4-55
Width 4-43; 4-63; 4-70
Window Contents 4-70
Window cycle 3-11; 3-26
Window Height 4-70
Window Width 4-70
Windows Objects 2-8
Windows Style 4-70
WindowsStyle 4-70
X
X Alignment 4-70
Y
Y Alignment 4-70
Z
Zero Point 4-70
Zero Point Value 4-71
ZeroPoint 4-70
ZeroPointValue 4-71
Zoom 4-65
Zoom palette 2-17
WinCC Manual
C79000-G8276-C107-01
Index-7
Graphics Designer
Index-8
08.97
WinCC Manual
C79000-G8276-C107-01
WinCC
Global Scripts
Manual
C79000-G8276-C107-01
C79000-G8276-C107-01
Printed in the Federal Republic of Germany
Siemens Aktiengesellschaft
Table of Contents
1
Introduction ...............................................................................
1-1
2-1
Standard Functions...................................................................
3-1
3.1
3.2
3.3
3.3.1
3.3.2
3.4
3.5
3.6
3.7
3.8
3-3
3-9
3-9
3-9
3-13
3-20
3-22
3-22
3-24
3-25
4-1
4.1
4.2
4.3
4.4
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6
4.4.7
4.4.8
4.4.9
4.4.10
4.4.11
4.4.12
4.4.13
4.4.14
4.4.15
4.4.16
4.4.17
4.4.18
4.4.19
4.4.20
4.4.21
4.4.22
4.4.23
4.4.24
WinCC Manual
C79000-G8276-C107-01
4-2
4-3
4-4
4-5
4-7
4-10
4-14
4-15
4-17
4-17
4-19
4-19
4-23
4-26
4-34
4-35
4-42
4-43
4-46
4-47
4-49
4-51
4-55
4-61
4-62
4-65
4-65
4-68
Global Scripts
4.4.25
4.4.26
4.4.27
4.4.28
4.4.29
4.4.30
4.4.31
4.4.32
4.4.33
4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.5.7
4.5.8
4.6
4.6.1
08.97
graphics-set-i_o Functions..............................................................
graphics-set-limits Functions ..........................................................
graphics-set-link Functions.............................................................
graphics-set-misc Functions...........................................................
graphics-set-ole_control Functions.................................................
graphics-set-pictures Functions......................................................
graphics-set-property-Funktionen...................................................
graphics-set-state Functions...........................................................
graphics-set-style Functions...........................................................
Tag ................................................................................................
tag-get-Functions ...........................................................................
tag-get-state Functions...................................................................
tag-get-wait Functions....................................................................
tag-get-state-wait Functions ...........................................................
Tag-set Functions ..........................................................................
tag-set-state Functions...................................................................
tag-set-wait Functions ....................................................................
tag-set-state-wait Functions ...........................................................
wincc..............................................................................................
wincc system..................................................................................
4-73
4-76
4-88
4-89
4-96
4-97
4-101
4-103
4-106
4-110
4-111
4-114
4-117
4-121
4-125
4-128
4-132
4-136
4-140
4-140
Actions .......................................................................................
5-1
6-1
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6-2
6-3
6-3
6-4
6-4
6-4
6-4
6-4
6-5
6-5
ii
Language Identifiers.......................................................................
Colors ............................................................................................
Line End Styles ..............................................................................
Line Styles .....................................................................................
Flash Frequencies..........................................................................
Text Orientation .............................................................................
Bar Orientation...............................................................................
I/O-Field, Field Type.......................................................................
I/O-Field, Data Type of the Field Content .......................................
Element Orientation in Check- and Radio Boxes ............................
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Preface
Purpose of the
Manual
This manual introduces you to the functions of each software component and
their operation in a reference manual format. You can find the information
you need quickly by using the table of contents or the index. Naturally, the
information is also available to you in the on-line help in either a
context-sensitive fashion or in the on-line help contents.
The "Getting Started" manual, which is part of the WinCC package, contains
a total overview of WinCC and a configuration example in which the most
significant functions of the individual components are followed through in a
practical application.
Additional Support
If you have technical questions, please address them to your Siemens contact
partner, located in the businesses responsible for your location. You can find
the addresses in the attachment entitled Siemens Worldwide, in "S7-300
Automation System Structure in an S7-300," in catalogs, and on CompuServe
(go.autforum). In addition, you may call our Hotline at 011-49-911-895-7000
(Fax 7001).
You can find additional information on the Internet under the address
www.aut.siemens.de/coros/html_00/coros.htm.
Information about
SIMATIC products
WinCC Manual
C79000-G8276-C107-01
iii
Global Scripts
iv
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
1 Introduction
Global Scripts is the general term for C functions and actions that can be used
throughout a project or across projects depending on their type.
You can differentiate among the following types:
Project Functions
You can create new project functions and change existing project
functions. The project functions are unique to the project in which they
were created.
Standard Functions
You can create new standard functions and change existing standard
functions. The standard functions are recognized across projects.
Internal Functions
You cannot create or change internal functions. They are recognized
across projects.
Actions
You can create and change actions as global scripts. These actions are
unique to the project in which they were created.
Use project functions, standard functions, and internal functions in the
following areas:
In object-related C actions
In object-related actions that you create in the dynamic dialog
WinCC Manual
C79000-G8276-C107-01
1-1
Global Scripts
08.97
Note: If you define your own structures in connection with project or standard
functions, the following construction will cause translation errors:
struct MyOwnStruct;
{
....
}
void MyFunction (struct MyOwnStruct...);
{
...
}
Correspondingly also:
#pragma code ("pdlcsapi.dll")
#include "pldcsapi.h"
#prgma code()
#include "ap_pbib.h"
The structure of MyOwnStruct and the structure of the call back function will
therefore be known to the object, while the prototype of the project function is
transferred.
In the project function itself, write only the following
#include "apdefap.h"
1-2
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
2 Project Functions
Project functions are C functions that you program and change yourself. They
are unique to the current project in which they were created. You can use
project functions to make graphic objects and archives dynamic. You can also
use them in other project functions and Global Script actions. Create a project
function by means of the Global Script editor. Start the editor in the Control
Center.
Use the following steps in creating a project function:
1. Formulate the function
2. Add function information
3. Compile the function
4. Save the function and, if necessary, rename it.
5. If necessary, generate header files.
You have now created your project function.
The first time you create a project function, the header file apdefap.h is loaded
in the project folder ...\<Projectname>\LIBRARY. The file contains the
header file from the project library ap_plib.h which contains the header file
ap_glob.h.
The header file ap_plib.h contains the definitions of the project functions. If a
project function is loaded and other default or project functions are used there,
you must integrate the header file apdefap.h or ap_glob.h.
WinCC Manual
C79000-G8276-C107-01
2-1
Global Scripts
08.97
2. Open the pop-up menu by clicking the right mouse button on the function
type (project function, standard function, or action) in the function
browser. Open the submenu by placing the cursor or clicking on "New"
and select the "Function" submenu item.
or
Use one of the
2-2
Key Stroke
Enter
Delete
Backspace
Home
End
Ctrl+Home
Ctrl+End
Cursor keys
Ctrl+X
Ctrl+C
Ctrl+V
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Function
Highlight text
Highlight a word
Move the insertion point
Mouse
With the left mouse button
Double click with the left
mouse button
With the left mouse button
Highlight an area:
Place the cursor at the beginning of the area you want to highlight. Hold
down the Shift key and place the cursor at the end of the area you want to
highlight.
Expand a highlighted selection:
Hold down the Shift key and move the cursor to the end of the area you
want to highlight.
You can place fully programmed project functions, standard functions, and
internal functions within your function at the cursor location or you can
replace selected text with such functions. Proceed as follows:
1. Position the cursor or highlight the text you want to replace.
2. In the function browser, open the appropriate folder and click the right
mouse button on the desired function to open the pop-up menu.
3. Select the "Send to..." menu item in the pop -up menu.
4. Select the appropriate editing window from the submenu listing. If you
have multiple editing windows open, the submenu contains an entry for
each one.
5. If necessary, update the parameters of the function you pasted.
Enter tag names by clicking on the
button. This action opens the "Select
a Tag" dialog in which you can select the desired tag. If you need to, open
folders.
WinCC Manual
C79000-G8276-C107-01
2-3
Global Scripts
08.97
Date created, date changed, and version are already entered. The date
created and date changed formats are (left to right) "Day," "Month,"
"Year."
2. Enter or change the "Created by" and "Changed by" boxes.
3. Enter a comment, for example, a brief description of the function, in the
"Comment" box.
4. If you want to assign a password to your function to protect it from
changes, click on the "Password" button to activate the "Change" button.
Click on the "Change" button and enter your password in the "Enter
Password" box.
Retype your password to confirm it.
Click on the "OK" button to close the box. You have now protected your
function with a password.
5. Click the "OK" button to close the "Description" box. The entries are
applied.
2-4
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
The active editing window is divided into two areas. The top portion contains
your function/action and the bottom displays the messages from the compiler.
1. Click on the
2. Select the "Save" command in the "File" menu. The editing window stays
open.
3. Click on the "Close" box in the editing window. This action opens a box
that tells you that there are changes that have not been saved. You can
then choose to save the function/action, reject the changes, or cancel the
procedure. If you cancel the procedure, the editing window stays open,
otherwise it closes.
If you want to save your function/action under another name select "Save
As" in the "File" menu. This selection opens a box in which you can set the
name and the storage location.
Generally, the storage area is set as follows:
For project functions:
In the "Library" subfolder in the project folder
For actions:
In the "Pas" subfolder in the project folder
For standard functions:
In the WinCC system folder in the "Aplib" subfolder.
WinCC Manual
C79000-G8276-C107-01
2-5
Global Scripts
08.97
2-6
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
3 Standard Functions
The system makes standard functions available. These functions can be
changed to adapt to your needs. In addition, you can also create standard
functions yourself.
Standard functions are recognized across projects.
Use standard functions to make graphic objects and archives dynamic. You
can also use them in project functions, other standard functions, and Global
Script actions.
Create a standard function with the Global Script editor. Start this editor in
the Control Center.
You must follow these steps to create a standard function:
WinCC Manual
C79000-G8276-C107-01
3-1
Global Scripts
08.97
3-2
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-3
Global Scripts
08.97
3-4
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
This function will not be supported anymore starting with WinCC V4.0.
WinCC Manual
C79000-G8276-C107-01
3-5
Global Scripts
08.97
3-6
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Parameters:
pszMsgWin = Pointer to the message window name (OnBtnMsgWin)
pszMsgWin = Pointer on the name of the OLE-Control-Element
(AXC_OnBtnMsgWin)
WinCC Manual
C79000-G8276-C107-01
3-7
Global Scripts
08.97
3-8
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
3.3.1 TEMPLATE
int TlgGetColumnPosition(char* lpszTemplate)
Return Value:
Current position of the column pointer in a table window.
Function:
Gives the current position of the column pointer in a table window. The name
of the table window is transferred with the parameter lpszTemplate.
Parameters:
lpszTemplate
WinCC Manual
C79000-G8276-C107-01
3-9
Global Scripts
08.97
lpszTemplate
3-10
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-11
Global Scripts
08.97
08.97
Global Scripts
BOOL TlgTableWindowPressInsertRecordButton(char*
lpszTemplateName)
Function:
Inserts a data record
Parameter:
lpszTemplateName
Global Scripts
08.97
BOOL
TlgTableWindowPressOpenArchiveVariableSelectionDlgButton(char*
lpszWindowName)
Function:
Opens a dialog for connecting table columns to one archive name and one tag
each.
Parameter:
lpszWindowName
3-14
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
BOOL TlgTableWindowPressOpenItemSelectDlgButton(char*
lpszWindowName)
Function:
Opens a dialog for selecting the visible columns.
Parameter:
lpszWindowName
BOOL TlgTableWindowPressOpenTimeSelectDlgButton(char*
lpszWindowName)
Function:
Opens a dialog for connecting table columns to one time range each, in which
the values are displayed.
Parameter:
lpszWindowName
WinCC Manual
C79000-G8276-C107-01
3-15
Global Scripts
08.97
BOOL TlgTableWindowPressRemoveRecordButton(char*
lpszTemplateName)
Function:
Deletes a data record
Parameter:
lpszTemplateName
3-16
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-17
Global Scripts
08.97
BOOL TlgTrendWindowPressOpenArchiveTagSelectionDlgButton(char*
lpszWindowName)
Function:
Opens a dialog for connecting trends in a trend window to one archive name
and one tag each.
Parameter:
lpszWindowName
BOOL TlgTrendWindowPressOpenItemSelectDlgButton(char*
lpszWindowNumber)
Function:
Opens a dialog for selecting the visible trends and the trend that is to be
displayed at the front.
Parameter:
lpszWindowName
BOOL TlgTrendWindowPressOpenTimeSelectDlgButton(char*
lpszWindowNumber)
Function:
Opens a dialog for connecting trends to one time range each, in which the
values are displayed.
Parameter:
lpszWindowName
3-18
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-19
Global Scripts
08.97
Structure Definition:
typedef struckt {
DWORD dwCurrentThreadID;
thread
DWORD dwErrorCode1;
DWORD dwErrorCode2;
BOOL bCycle;
char* szApplicationName;
char* szFunctionName;
char* szTagName;
LPVOID lpParam;
DWORD dwParamSize;
DWORD dwCycle;
CMN_ERROR* pError;
} CCAPErrorExecute;
3-20
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
The meaning of the individual error markings and the transferred structure
elements depending on them, is described in the following table:
WinCC Manual
C79000-G8276-C107-01
1007001
1007001
0
1
x x x
x x x
x x
x x
1007001
4097
x x x
x x
1007001
1007001
4098
4099
x x x
x x x
x x
x x
1007001
4100
x x x
x x
1007004
1007005
0
1
x x x
x x
1007005
1007005
1007005
2
4
32768ff
x x
x x x
x x x
1007006
1007006
1007006
0
1
2
x x x x x x x
x x x x x x x
x x x x x x x x
1007006
x x x x x x x x
1007007
1007007
1007007
1
2
3
x x x
x x x
x x x
x x
x x
x x
x x
x x
x
x
x
3-21
Global Scripts
08.97
3-22
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-23
Global Scripts
08.97
3-24
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
3-25
Global Scripts
08.97
BOOL PTMUnload()
This function is a part of the BASIC PROCESS CONTROL option package.
Function:
This function unloads the Picture Tree Manager.
For internal use only.
void reset_hoer(Tag var)
This function is a part of the BASIC PROCESS CONTROL option package.
For internal use only.
void SetASVarIndex(int nVarIndex, int nClassIndex, BOOL bActive, BOOL
bQuit)
This function is a part of the BASIC PROCESS CONTROL option package.
For internal use only.
void SetMessageClassToVar(TCHAR* VarName, int nClassIndex, BOOL
bActive, BOOL bQuit)
This function is a part of the BASIC PROCESS CONTROL option package.
For internal use only.
BOOL SFCLoopInAlarm(TCHAR* TagInfo)
This function is a part of the ADVANCED PROCESS CONTROL option
package.
Return Value:
Error code
TRUE = Function was executed
FALSE = Function was not executed or incorrect parameter input
Function:
This function opens a view to the SFC plan that triggered the message at the
measurement point provided.
Parameters:
TagInfo
3-26
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Parameters:
Screen
PictureName
WinCC Manual
C79000-G8276-C107-01
3-27
Global Scripts
08.97
Store
3-28
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-29
Global Scripts
08.97
3-30
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-31
Global Scripts
08.97
3-32
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-33
Global Scripts
08.97
BOOL SSMGetAutoLoadSettings()
This function is a part of the BASIC PROCESS CONTROL option package.
Return Value:
Error code
TRUE = Automatic load activated
FALSE = Error
Function:
This function determines whether the user -specific settings should be loaded
automatically in the run -time system after a user has logged on.
BOOL SSMGetContainerToPicture(char* PictureName, char*
ReturnContainer, int len)
This function is a part of the BASIC PROCESS CONTROL option package.
Return Value:
Error code
TRUE = Got container
FALSE = Error
Function:
This function uses the Picture Tree Manager to get the container that is
appropriate for the picture specified.
Parameters:
PictureName
= Name of the picture
ReturnContainer = Pointer to a buffer on which the container name
should be stored
len
= maximum length of the ReturnContainer buffer
3-34
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= System number
= Subsystem number
= Pointer to a buffer on which the picture name
should be stored.
WinCC Manual
C79000-G8276-C107-01
= System number
= Subsystem number
= Pointer to a buffer on which the container
name should be stored.
3-35
Global Scripts
08.97
= Picture name
= Pointer to a buffer on which the system
container name should be stored
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-37
Global Scripts
08.97
lpctUserName
3-38
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-39
Global Scripts
08.97
3-40
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-41
Global Scripts
08.97
3-42
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-43
Global Scripts
08.97
3-44
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-45
Global Scripts
08.97
lpctUserName
3-46
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
3-47
Global Scripts
3-48
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4 Internal Functions
Use internal functions to make graphic objects and archives dynamic. You
can also use them in project functions, standard functions, and Global Script
actions.
Internal functions are divided into the following categories:
alarm
contains functions for starting and stopping the reception of single
messages and for specifying filters.
allocate
Contains functions for reserving and enabling working memory.
c_bib
Contains functions from the C standard library .
graphics
Contains functions for reading and setting properties of graphic objects.
tag
Contains functions for writing and reading process tags.
winCC
contains functions for language switching, for deactivating runtime, and
for exiting WinCC.
WinCC Manual
C79000-G8276-C107-01
4-1
Global Scripts
08.97
4-2
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.2 allocate
The "allocate" function category contains functions for reserving and enabling
work memory.
void SysFree(void* lpFree);
Function:
Releases memory that was reserved with the "SysMalloc" function.
Parameters:
lpFree = Pointer
WinCC Manual
C79000-G8276-C107-01
4-3
Global Scripts
08.97
4.3 c_bib
The functions category c_bib contains C functions from the C library and is
divided into the following areas:
ctype
math
memory
stdio
stdlib
string
time
4-4
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.4 graphics
The Graphics function category is divided into the following functions:
get Functions
Functions for transmitting attribute values. The get functions themselves
are divided into the following function groups:
axes
color
fill
flash
focus
font
general
geometry
i_o
limits
link
miscs
ole_control
pictures
property
state
style
WinCC Manual
C79000-G8276-C107-01
4-5
Global Scripts
08.97
set Functions
Functions for setting attribute values. The set functions themselves are
divided into the following function groups:
axes
color
fill
flash
focus
font
geometry
i_o
limits
link
miscs
ole_control
pictures
property
state
style
4-6
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-7
Global Scripts
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-9
Global Scripts
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-11
Global Scripts
08.97
4-12
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-13
Global Scripts
08.97
4-14
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-15
Global Scripts
08.97
4-16
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.4.5 graphics-get-focus-Functions
char* Get_Focus();
Return Value:
Name of the object the focus is placed on or has been placed on last
WinCC Manual
C79000-G8276-C107-01
4-17
Global Scripts
08.97
4-18
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-19
Global Scripts
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-21
Global Scripts
08.97
4-22
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-23
Global Scripts
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-25
Global Scripts
08.97
4-26
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-27
Global Scripts
08.97
4-28
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-29
Global Scripts
08.97
4-30
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-31
Global Scripts
08.97
4-32
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-33
Global Scripts
08.97
dwCycle:
0
1
2
3
4
5
6
7
8
9
10
11
12
13-17
Picture cycle
Window cycle
Upon change
250 ms
500 ms
1s
2s
5s
10 s
1 min
5 min
10 min
1 hr
User cycle 1 to 5
szLinkName:
If there is of a direct or indirect tag connection, the tag name is transferred.
Example:
{
LINKINFO linkinfo;
GetLink( ......., &linkinfo);
printf(%d, %d, %s, linkinfo.LinkType, linkinfo.dwCycle,
linkinfo.szLinkName);
}
4-34
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-35
Global Scripts
08.97
4-36
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-37
Global Scripts
08.97
4-38
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-39
Global Scripts
08.97
4-40
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-41
Global Scripts
08.97
4-42
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-43
Global Scripts
08.97
4-44
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-45
Global Scripts
08.97
4.4.15 graphics-get-property-Funktionen
BOOL GetPropBOOL(LPCTSTR lpszPictureName, LPCTSTR
lpszObjectName, LPCTSTR lpszPropertyName)
Return Value:
Attribute value of the type BOOL.
Parameter:
lpszPropertyName
4-46
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-47
Global Scripts
08.97
No flash frequency
Flash frequency slow (approximately 0.5 Hz)
Flash frequence medium (approximately 2 Hz)
Flash frequency fast (approximately 8 Hz)
Note:
Since flashing is a software implementation, the frequency depends on the
system and the hardware (number of objects, processor, memory, update time,
etc.).
4-48
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-49
Global Scripts
08.97
4-50
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= Axis section
WinCC Manual
C79000-G8276-C107-01
4-51
Global Scripts
08.97
4-52
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= Scale on/off
WinCC Manual
C79000-G8276-C107-01
4-53
Global Scripts
08.97
4-54
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
WinCC Manual
C79000-G8276-C107-01
4-55
Global Scripts
08.97
4-56
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-57
Global Scripts
08.97
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
4-58
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-59
Global Scripts
08.97
4-60
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-61
Global Scripts
08.97
4-62
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-63
Global Scripts
08.97
4-64
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.4.22 graphics-set-focus-Functions
BOOL Set_Focus(LPCTSTR lpszPictureName, LPCTSTR lpszObjectName);
Function:
Places the focus on the specified object
= "Bold" on/off
WinCC Manual
C79000-G8276-C107-01
4-65
Global Scripts
08.97
= "Italic" on/off
= Font size
4-66
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-67
Global Scripts
08.97
08.97
Global Scripts
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
WinCC Manual
C79000-G8276-C107-01
= Number of corners
4-69
Global Scripts
08.97
= Radius
= Vertical radius
= Horizontal radius
4-70
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= Rotation angle
= Vertical radius
WinCC Manual
C79000-G8276-C107-01
4-71
Global Scripts
08.97
= Beginning angle
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
4-72
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
TRUE means the system accepts the input as soon as the field is exited.
FALSE means the system does not accept the input as soon as the field is
exited.
TRUE means the system automatically accepts the input as soon as the input
has been completed.
FALSE means the system does not automatically accept the input as soon as
the input has been completed.
WinCC Manual
C79000-G8276-C107-01
4-73
Global Scripts
08.97
TRUE means the field entry is deleted automatically when there is an invalid
input.
FALSE means the field entry is not deleted automatically when there is an
invalid input.
TRUE means the system deletes the field entry when there is a new entry.
FALSE means the system does not delete the field entry when there is a new
entry.
4-74
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
= Output value
4-75
Global Scripts
08.97
BOOL SetCheckAlarmHigh
(LPCTSTR lpszPictureName, LPCTSTR lpszObjectName, BOOL
bCheckAlarmHigh);
Function:
Set the monitoring function for the limit value for "alarm high."
Parameters:
bCheckAlarmHigh = Monitor: yes/no
TRUE means the limit value for "alarm high" is monitored.
FALSE means the limit value for "alarm high" is not monitored.
= Monitor: yes/no
4-76
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= Monitor: yes/no
TRUE means the low limit value for "reserve 4" is monitored.
FALSE means the low limit value for "reserve 4" is not monitored.
WinCC Manual
C79000-G8276-C107-01
4-77
Global Scripts
08.97
= Monitor: yes/no
TRUE means the low limit value for "reserve 5" is monitored.
FALSE means the low limit value for "reserve 5" is not monitored.
= Monitor: yes/no
TRUE means that the limit value for "tolerance high" is monitored.
FALSE means that the limit value for "tolerance high" is not monitored.
= Monitor: yes/no
TRUE means that the limit value for "tolerance low" is monitored.
FALSE means that the limit value for "tolerance low" is not monitored.
4-78
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
= Monitor: yes/no
TRUE means that the limit value for "warning high" is monitored.
FALSE means that the limit value for "warning high" is not monitored.
= Monitor: yes/no
TRUE means that the limit value for "warning low" is monitored.
FALSE means that the limit value for "warning low" is not monitored.
WinCC Manual
C79000-G8276-C107-01
4-79
Global Scripts
08.97
4-80
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-81
Global Scripts
08.97
08.97
Global Scripts
TRUE means the limit value is displayed as a scale value in bar objects.
FALSE means the limit value is not displayed in bar objects.
WinCC Manual
C79000-G8276-C107-01
4-83
Global Scripts
08.97
TRUE means the limit value for "alarm low" is provided as a percentage.
FALSE means the limit value for "alarm low" is provided as an absolute.
4-84
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-85
Global Scripts
08.97
TRUE means the limit value for "tolerance high" is provided as a percentage.
FALSE means the limit value for "tolerance high" is provided as an absolute.
TRUE means the limit value for "tolerance low" is provided as a percentage.
FALSE means the limit value for "tolerance low" is provided as an absolute.
TRUE means the limit value for "warning high" is provided as a percentage.
FALSE means the limit value for "warning high" is provided as an absolute.
4-86
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
TRUE means the limit value for "warning low" is provided as a percentage.
FALSE means the limit value for "warning low" is provided as an absolute.
WinCC Manual
C79000-G8276-C107-01
4-87
Global Scripts
08.97
LINKINFO linkinfo;
linkinfo.lLinkType = 1;
linkinfo.cwCycle = 3;
strcpy(linkinfo.szLinkName, Tag1);
SetLink( ...., &linkinfo);
4-88
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-89
Global Scripts
08.97
TRUE means that the cursor control is turned on in I/O field s (an alpha
cursor jumps to the next field in the TAB sequence after exiting the current
field).
FALSE means that the cursor control is turned off in I/O fields.
TRUE means that the cursor mode for the picture is an alpha cursor sequence.
FALSE means that the cursor mode for the picture is a tab order sequence.
TRUE means that the immediate input attribute is set to "yes" for I/O field s
(you can make an input immediately upon accessing the I/O field with the
Tab key, without having to carry out any further action).
FALSE means that the immediate input attribute is set to "no" for I/O fields.
4-90
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
TRUE means that the extended operation attribute is set to "yes" for sliders
(the slider is set to a new appropriate minimum/maximum limit value by
clicking on the area outside of the current slider setting)
FALSE means that the extended operation attribute is set to "no" for sliders.
WinCC Manual
C79000-G8276-C107-01
= Maximum value
4-91
Global Scripts
08.97
= Minium value
= Picture offset
= Picture offset
4-92
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-93
Global Scripts
08.97
= Authorization level
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
BOOL SetPictureName (LPCTSTR lpszPictureName, LPCTSTR
lpszObjectName, char* szPictureName);
Function:
Set a pointer to the name of a picture contained in a picture object.
Parameters:
szPictureName
4-94
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
= Zoom factor
4-95
Global Scripts
08.97
4-96
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-97
Global Scripts
08.97
4-98
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-99
Global Scripts
08.97
TRUE Use the transparent color for the "off/not pressed" status.
FALSE Do not use the transparent color for the "off/not pressed" status.
4-100
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.4.31 graphics-set-property-Funktionen
BOOL SetPropBOOL(LPCTSTR lpszPictureName, LPCTSTR
lpszObjectName, LPCTSTR lpszPropertyName, BOOL bValue)
Function:
Sets the attribute with the value bValue.
Parameters:
lpszPropertyName = OLE-Automation-Name of the attribute
bValue
= Value (TRUE, FALSE)
Example:
SetPropBOOL("Picture1","CustomizedObject1","Visible1",FALSE);
//ReturnType BOOL
WinCC Manual
C79000-G8276-C107-01
4-101
Global Scripts
08.97
4-102
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-103
Global Scripts
08.97
4-104
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
No flash frequency
Flash frequency slow (approximately 0.5 Hz)
Flash frequency medium (approximately 2 Hz)
Flash frequency fast (approximately 8 Hz)
Note:
Since flashing is a software implementation, the frequency depends on the
system and the hardware (number of objects, processor, memory, update time,
etc.).
WinCC Manual
C79000-G8276-C107-01
= Index value
4-105
Global Scripts
08.97
4-106
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Note:
If the call of the function relates to the entire picture, the lpszObjectName
parameter must be = NULL.
WinCC Manual
C79000-G8276-C107-01
4-107
Global Scripts
08.97
4-108
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-109
Global Scripts
08.97
4.5 Tag
The Tag function category is divided into the following functions:
get functions
General get functions
get state functions
get wait functions
get state wait functions
set Functions
General set functions
set state functions
set wait functions
set state wait functions
The wait functions differ from the other functions in that the tag values are
accessed directly at the process. The tags are not logged into the Control
Center.
You can reduce the communication network load significantly by
implementing the appropriate get-wait or get-state-wait functions instead of
the get or get-state functions because the tags are then no longer scanned
cyclically for changes in this case.
Since the system waits until the wait functions are eectured, the processes can
be better synchronized.
The return value of the set functions is the error code
TRUE: no errors
FALSE: an error occurred
4-110
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
4.5.1 tag-get-Functions
short int GetTagBit (Tag Tag_Name);
Return Value:
Value of the process tag in the "short int" data type
Parameters:
Tag_Name
WinCC Manual
C79000-G8276-C107-01
4-111
Global Scripts
08.97
4-112
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-113
Global Scripts
08.97
4-114
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-115
Global Scripts
08.97
4-116
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-117
Global Scripts
08.97
Example:
DWORD dwTag1Value;
char* szTag2Value; //Storage for the tag value is created by
the function with SysMalloc
BOOL ok;
ok=GetTagMultiWait ("%d %s, "Tag1", &dwTag1Value, "Tag2",
&szTag2Value);
4-118
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-119
Global Scripts
08.97
4-120
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-121
Global Scripts
08.97
Example:
DWORD dwSate[2];
DWORD dwTag1Value;
char* szTag2Value; //Storage for the tag value is created by
the function with SysMalloc
BOOL ok;
ok=GetTagMultiStateWait ("%d %s, &dwSate, "Tag1",
&dwTag1Value, "Tag2", &szTag2Value);
4-122
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-123
Global Scripts
08.97
4-124
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-125
Global Scripts
08.97
4-126
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-127
Global Scripts
08.97
4-128
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-129
Global Scripts
08.97
4-130
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-131
Global Scripts
08.97
4-132
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Example:
BOOL ok;
ok=SetTagMultiWait ("%d %s, "Tag1", 34,
"Tag2", "newValue");
WinCC Manual
C79000-G8276-C107-01
4-133
Global Scripts
08.97
4-134
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-135
Global Scripts
08.97
4-136
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-137
Global Scripts
08.97
Example:
DWORD dwState[3];
BOOL ok;
ok=SetTagMultiStateWait ("%d %s %f, &dwState[0], "Tag1", 34,
"Tag2", "newValue",
"Tag3", 4.67);
4-138
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-139
Global Scripts
08.97
4.6 wincc
The "WinCC" function category is divided into the following functions:
system
The return value of the functions is one of the following error codes:
TRUE: The function was executed without errors.
FALSE: An error occurred.
DWORD GetLanguage();
Return Value:
Language identifier for the language set at run time.
Function:
Transmits the language that is set.
The following assignments apply (Language identifier hexadecimal):
German (Germany) = 0x407
English (USA) = 0x409
French (France) = 0x40C
For additional language identifier s see section 6.1.
4-140
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
4-141
Global Scripts
4-142
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
5 Actions
Global Script actions are actions you can create and change yourself. They are
only valid in the actual project in which they were created.
Use Global Script actions at run time to control the process. They are
executed by means of a trigger.
Create a Global Script action with the Global Script editor. Start this editor in
the Control Center.
Use the following steps to create a Global Script action:
WinCC Manual
C79000-G8276-C107-01
5-1
Global Scripts
08.97
5-2
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
WinCC Manual
C79000-G8276-C107-01
5-3
Global Scripts
08.97
All of the triggers entered in the trigger browser are effective. Each single
trigger event will start the action.
Examples:
In the "Tag" trigger type, you entered multiple tags as the trigger. The
action starts as soon as the value of one of these tags changes.
In the "Cyclic" trigger type, you entered multiple cyclic triggers. Each of
these triggers starts the action itself. If several trigger events are
concurrent, the action starts as many times as there are trigger events at
that point in time.
Note: Since you can assign multiple trigger events to an action, the
interaction of the individual triggers and the run time of the action can lead to
undesirable effects. You should take this into consideration when assigning
triggers.
Change one of your entered triggers by marking it in the trigger browser and
clicking the "Change" button (or use the "Change" menu item in the pop -up
menu).
Delete an entered trigger by marking it in the trigger browser and clicking
the "Delete" button (or use the "Delete" menu item in the pop-up menu).
Once you have set the trigger, close the "Description" box by clicking on the
"OK" button.
3. From the list of authorization levels, select the desired authorization level.
4. Click the "OK" button to close the dialog box.
You have now set the operator authorization for your action.
5-4
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Language identifiers
Colors
Line styles
Flash frequencies
Text orientation
Bar orientation
WinCC Manual
C79000-G8276-C107-01
6-1
Global Scripts
08.97
6-2
Value (hexadecimal)
0x0401
0x0436
0x041C
0x042D
0x0402
0x0423
0x0403
0x0404
0x041A
0x0405
0x0406
0x0413
0x0409
0x0425
0x0438
0x0429
0x040B
0x040C
0x0407
0x0408
0x040D
0x040E
0x040F
0x0421
0x0410
0x0411
0x0412
0x0426
0x0427
0x0414
0x0415
0x0416
0x0418
0x0419
0x041B
0x0424
0x042E
0x040A
0x041D
0x041E
0x041F
0x0422
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
6.2 Colors
Color
black
white
red
dark red
green
dark green
blue
dark blue
yellow
dark yellow
cyan
dark cyan
magenta
dark magenta
light gray
dark gray
Symbolic Name
CO_BLACK
CO_WHITE
CO_RED
CO_DKRED
CO_GREEN
CO_DKGREEN
CO_BLUE
CO_DKBLUE
CO_YELLOW
CO_DKYELLOW
CO_CYAN
CO_DKCYAN
CO_MAGENTA
CO_DKMAGENTA
CO_LTGRAY
CO_DKGRAY
Value (hexadecimal)
00000000
00FFFFFF
000000FF
00000080
0000FF00
00008000
00FF0000
00800000
0000FFFF
00008080
00FFFF00
00808000
00FF00FF
00800080
00C0C0C0
00808080
Symbolic Name
Value
rounded
LE_NO
LE_HOLLOW_ARROW
0
1
LE_FULL_ARROW
LE_CFULL_ARROW
LE_LINE
LE_HOLLOW_CIRCLE
LE_FULL_CIRCLE
2
3
4
5
6
Example:
long value;
value = LE_HOLLOW_ARROW;
value <<= 16;
value += LE_HOLLOW_CIRCLE;
WinCC Manual
C79000-G8276-C107-01
6-3
Global Scripts
08.97
Symbolic Name
Value
hidden
LS_SOLID
LS_DASH
LS_DOT
LS_DASHDOT
LS_DASHDOTDOT
LS_INVISIBLE
0
1
2
3
4
5
Flash frequency
Flashing off
0,5 Hz
2 Hz
8 Hz
Since flashing is realized software-technologically, the frequency is systemand hardware-dependent (number of objects, CPU, memory, update cycles,
etc.). The values in the above table are therefore only for reference.
Number value
0
1
2
Number value
0
1
2
3
6-4
Number value
0
1
2
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Number value
0
1
2
3
WinCC Manual
C79000-G8276-C107-01
Number value
0
1
6-5
Global Scripts
6-6
08.97
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
Index
3
A
AcknowledgeAllPicture 3-25
Activate/deactivate 4-61
Acyclic 5-2; 5-3
Alarm 3-3; 3-5; 4-26; 4-76
Align 4-107
authorization level 3-23; 4-94; 5-4
AXC_OnBtnArcLong 3-3
AXC_OnBtnArcShort 3-3
AXC_OnBtnHornAckn 3-4
AXC_OnBtnLoop 3-5
AXC_OnBtnMsgFirst 3-5
AXC_OnBtnMsgNext 3-6
AXC_OnBtnMsgPrev 3-6
AXC_OnBtnMsgWin 3-7
AXC_OnBtnPrint 3-7
AXC_OnBtnScroll 3-7
AXC_OnBtnVisibleAckn 3-8
axis 4-7; 4-8; 4-19; 4-20; 4-22; 4-51; 4-52;
4-53; 4-69; 4-72
B
Background 4-15; 4-16; 4-59; 4-60; 4-63
bar direction 4-19; 4-68
bar scale 4-7; 4-8; 4-52; 4-53
bar segment 4-36; 4-89
Base 4-47
base picture 4-47; 4-103
BLACK 6-3
BLUE 6-3
border 4-10; 4-11; 4-14; 4-15; 4-16; 4-35;
4-41; 4-49; 4-56; 4-57; 4-62; 4-63; 4-64; 4-106
border color 4-10; 4-15; 4-56; 4-57
BorderStyle 4-107
BorderWidth 4-108
WinCC Manual
C79000-G8276-C107-01
D
DASH 6-4
DASHDOT 6-4
DASHDOTDOT 6-4
DeactivateRTProject 4-140
DKBLUE 6-3
DKCYAN 6-3
DKGRAY 6-3
DKGREEN 6-3
DKMAGENTA 6-3
DKRED 6-3
DKYELLOW 6-3
DLLs 1-1
DM_VARKEY structure 4-113; 4-119; 4-135
DOT 6-4
Index-1
Global Scripts
E
ellipse 4-14; 4-19; 4-21; 4-22; 4-69; 4-70; 4-72
ellipse arc 4-21; 4-22; 4-69; 4-70; 4-72
ellipse segment 4-14; 4-19; 4-21; 4-22; 4-69;
4-70; 4-72
empty arrow 6-3
error 3-20; 3-21; 3-22; 3-23; 3-25; 3-26; 3-27;
3-28; 3-29; 3-30; 3-31; 3-32; 3-33; 3-34; 3-35;
3-36; 3-37; 3-38; 3-39; 3-40; 3-41; 3-42; 3-43;
3-44; 3-45; 3-46; 3-47; 4-2; 4-112; 4-113;
4-115; 4-119; 4-127; 4-135
error message 4-2
ExitWinCC 4-140
extended 4-91
F
FieldName 3-39
fill pattern 4-11; 4-49; 4-50; 4-58; 4-107
fill pattern color 4-58
filling index 4-61
FILTER 4-2
flash frequency 4-16; 4-48; 4-63; 4-64; 4-105
flash picture 4-47; 4-48; 4-103; 4-104; 4-105
flashing 4-15; 4-16; 4-48; 4-62; 4-63; 4-64;
4-103; 4-105; 6-4
font 4-5; 4-6; 4-12; 4-17; 4-18; 4-65; 4-66
font color 4-12
font size 4-18; 4-66
foreground 4-38
FULL 6-3
G
Get 3-25; 4-17; 4-40; 4-42; 4-43; 4-118; 4-119
GetActualPointLeft 4-19
GetActualPointTop 4-19
GetAdaptBorder 4-35
GetAdaptPicture 4-35
GetAdaptSize 4-35
GetAlarmHigh 4-26
GetAlarmLow 4-26
GetAlignment 4-7
GetAlignmentLeft 4-17
GetAlignmentTop 4-17
GetAssignments 4-23
GetAssumeOnExit 4-23
GetAssumeOnFull 4-23
GetASVarIndex 3-25
GetAverage 4-35
GetAxisSection 4-7
Index-2
08.97
GetBackBorderWidth 4-49
GetBackColor 4-10
GetBackColor2 4-10
GetBackColor3 4-10
GetBackColorBottom 4-10
GetBackColorTop 4-10
GetBackFlashColorOff 4-15
GetBackFlashColorOn 4-15
GetBasePicReferenced 4-47
GetBasePicTransColor 4-47
GetBasePicture 4-47
GetBasePicUseTransColor 4-47
GetBitNumber 4-23
GetBorderBackColor 4-10
GetBorderColor 4-10
GetBorderColorBottom 4-11
GetBorderColorTop 4-11
GetBorderEndStyle 4-49
GetBorderFlashColorOff 4-15
GetBorderFlashColorOn 4-15
GetBorderStyle 4-49
GetBorderWidth 4-49
GetBoxAlignment 4-49
GetBoxCount 4-19
GetBoxType 4-35
GetButtonColor 4-11
GetCaption 4-35
GetCheckAlarmHigh 4-26
GetCheckAlarmLow 4-26
GetCheckLimitHigh4 4-26
GetCheckLimitHigh5 4-26
GetCheckLimitLow4 4-27
GetCheckLimitLow5 4-27
GetCheckToleranceHigh 4-27
GetCheckToleranceLow 4-27
GetCheckWarningHigh 4-27
GetCheckWarningLow 4-28
GetClearOnError 4-23
GetClearOnNew 4-24
GetCloseButton 4-36
GetColorAlarmHigh 4-28
GetColorAlarmLow 4-28
GetColorBottom 4-11
GetColorChangeType 4-36
GetColorLimitHigh4 4-28
GetColorLimitHigh5 4-28
GetColorLimitLow4 4-28
GetColorLimitLow5 4-29
GetColorToleranceHigh 4-29
GetColorToleranceLow 4-29
GetColorTop 4-11
GetColorWarningHigh 4-29
GetColorWarningLow 4-29
WinCC Manual
C79000-G8276-C107-01
08.97
GetCountPicture 3-25
GetCSigPicture 3-22
GetCursorControl 4-36
GetCursorMode 4-36
GetDataFormat 4-24
GetDirection 4-19
GetEditAtOnce 4-36
GetEndAngle 4-19
GetExponent 4-7
GetExtendedOperation 4-37
GetFillColor 4-11
GetFilling 4-14
GetFillingIndex 4-14
GetFillStyle 4-49
GetFillStyle2 4-50
GetFlashBackColor 4-15
GetFlashBorderColor 4-15
GetFlashFlashPicture 4-47
GetFlashForeColor 4-16
GetFlashPicReferenced 4-48
GetFlashPicTransColor 4-48
GetFlashPicture 4-47
GetFlashPicUseTransColor 4-48
GetFlashRateBackColor 4-16
GetFlashRateBorderColor 4-16
GetFlashRateFlashPic 4-48
GetFlashRateForeColor 4-16
GetFontBold 4-17
GetFontItalic 4-17
GetFontName 4-17
GetFontSize 4-18
GetFontUnderline 4-18
GetForeColor 4-11
GetForeFlashColorOff 4-16
GetForeFlashColorOn 4-16
GetGrid 4-20
GetGridColor 4-12
GetGridHeight 4-20
GetGridWidth 4-20
GetHeight 4-20
GetHiddenInput 4-24
GetHotkey 4-37
GetHysteresis 4-37
GetHysteresisRange 4-37
GetIndexFromMask 3-25
GetInputValueChar 4-24
GetInputValueDouble 4-24
GetItemBorderBackColor 4-12
GetItemBorderColor 4-12
GetItemBorderStyle 4-50
GetItemBorderWidth 4-50
GetLanguage 4-140
GetLanguageSwitch 4-37
WinCC Manual
C79000-G8276-C107-01
Global Scripts
GetLastChange 4-37
GetLayer 4-19
GetLeft 4-20
GetLeftComma 4-7
GetLimitHigh4 4-29
GetLimitHigh5 4-29
GetLimitLow4 4-30
GetLimitLow5 4-30
GetLimitMax 4-30
GetLimitMin 4-30
GetLink 4-34
GetListType 4-24
GetLongStrokesBold 4-7
GetLongStrokesOnly 4-8
GetLongStrokesSize 4-8
GetLongStrokesTextEach 4-8
GetMarker 4-30
GetMax 4-38
GetMaximizeButton 4-38
GetMessageClassFromVar 3-25
GetMin 4-38
GetMoveable 4-38
GetNumberLines 4-25
GetOffsetLeft 4-38
GetOffsetTop 4-38
GetOnTop 4-38
GetOperation 4-39
GetOperationMessage 4-39
GetOperationReport 4-39
GetOrientation 4-18
GetOutputFormat 4-25
GetOutputValueChar 4-25
GetOutputValueDouble 4-25
GetPasswordLevel 4-39
GetPicDeactReferenced 4-43
GetPicDeactTransparent 4-43
GetPicDeactUseTransColor 4-43
GetPicDownReferenced 4-44
GetPicDownTransparent 4-44
GetPicDownUseTransColor 4-44
GetPicReferenced 4-44
GetPicTransColor 4-44
GetPictureDeactivated 4-43
GetPictureDown 4-43
GetPictureName 4-40
GetPictureUp 4-43
GetPicUpReferenced 4-44
GetPicUpTransparent 4-45
GetPicUpUseTransColor 4-45
GetPicUseTransColor 4-45
GetPointCount 4-20
GetPosition 4-42
GetPressed 4-50
Index-3
Global Scripts
GetProcess 4-40
GetPropBOOL 4-46
GetPropChar 4-46
GetPropDouble 4-46
GetPropWord 4-46
GetRadius 4-20
GetRadiusHeight 4-21
GetRadiusWidth 4-21
GetRangeMax 4-42
GetRangeMin 4-42
GetReferenceRotationLeft 4-21
GetReferenceRotationTop 4-21
GetRightComma 4-8
GetRotationAngle 4-21
GetRoundCornerHeight 4-21
GetScaleColor 4-12
GetScaleTicks 4-8
GetScaling 4-8
GetScalingType 4-9
GetScrollBars 4-40
GetSelBGColor 4-12
GetSelTextColor 4-12
GetServerName 4-40
GetSignificantMask 3-22
GetSizeable 4-40
GetSmallChange 4-40
GetStartAngle 4-22
GetTagBit 4-111
GetTagBitState 4-114
GetTagBitStateWait 4-121
GetTagBitWait 4-117
GetTagByte 4-111
GetTagByteState 4-114
GetTagByteStateWait 4-121
GetTagByteWait 4-117
GetTagChar 4-111
GetTagCharState 4-114
GetTagCharStateWait 4-121
GetTagCharWait 4-117
GetTagDouble 4-111
GetTagDoubleState 4-114
GetTagDoubleStateWait 4-121
GetTagDoubleWait 4-117
GetTagDWord 4-111
GetTagDWordState 4-115
GetTagDWordStateWait 4-122
GetTagDWordWait 4-117
GetTagFloat 4-112
GetTagFloatState 4-115
GetTagFloatStateWait 4-122
GetTagFloatWait 4-118
GetTagMultiStateWait 4-122
GetTagMultiWait 4-118
Index-4
08.97
GetTagRaw 4-112
GetTagRawState 4-115
GetTagRawStateWait 4-123
GetTagRawWait 4-118
GetTagSByte 4-112
GetTagSByteState 4-115
GetTagSByteStateWait 4-123
GetTagSByteWait 4-119
GetTagSDWord 4-112
GetTagSDWordState 4-116
GetTagSDWordStateWait 4-123
GetTagSDWordWait 4-119
GetTagSWord 4-113
GetTagSWordState 4-116
GetTagSWordStateWait 4-124
GetTagSWordWait 4-119
GetTagValue 4-113
GetTagValueWait 4-119
GetTagWord 4-113
GetTagWordState 4-116
GetTagWordStateWait 4-124
GetTagWordWait 4-120
GetText 4-18
GetToggle 4-50
GetToleranceHigh 4-30
GetToleranceLow 4-30
GetTop 4-22
GetTrend 4-41
GetTrendColor 4-12
GetTypeAlarmHigh 4-31
GetTypeAlarmLow 4-31
GetTypeLimitHigh4 4-31
GetTypeLimitHigh5 4-31
GetTypeLimitLow4 4-31
GetTypeLimitLow5 4-32
GetTypeToleranceHigh 4-32
GetTypeToleranceLow 4-32
GetTypeWarningHigh 4-32
GetTypeWarningLow 4-33
GetUnselBGColor 4-13
GetUnselTextColor 4-13
GetUpdateCycle 4-41
GetVisible 4-41
GetWarningHigh 4-33
GetWarningLow 4-33
GetWidth 4-22
GetWindowBorder 4-41
GetWindowsStyle 4-50
GetZeroPoint 4-22
GetZeroPointValue 4-41
GetZoom 4-41
GMsgFunction 3-3
GREEN 6-3
WinCC Manual
C79000-G8276-C107-01
08.97
Global Scripts
header 2-6
header file ap_glob 2-1
header file ap_plib 2-1
header file apdefap 2-1
height 3-38; 3-39; 3-46; 3-47; 4-20; 4-69
hidden 4-74
hide 4-74
HOLLOW 6-3
horizontal alignment 4-17; 4-65
hysteresis 4-37; 4-91
I
I/O field 4-14; 4-23; 4-24; 4-25; 4-30; 4-35;
4-36; 4-39; 4-73; 4-74; 4-75; 4-82; 4-83; 4-90;
4-93
InquireLanguage 4-141
INVISIBLE 6-4
L
language identifier 4-140; 4-141
Length 3-36; 3-37; 3-41; 3-43; 3-44; 4-53;
4-130; 4-138
Library 1-1; 2-5; 5-1
line 4-16; 4-49; 4-64; 6-1; 6-3; 6-4
line end style 4-49; 4-106
line style 4-49; 6-4
Link 1-1
LINKINFO 4-34; 4-88
LinkTyp 4-34; 4-88
LoopInAlarm 3-25
LTGRAY 6-3
M
MAGENTA 6-3
MSRTSetMsgFilter 4-2
MSRTStartMsgService 4-2
MSRTStopMsgService 4-2
P
PASSCheckAreaLevelPermission 3-23
PASSCheckAreaPermission 3-22
PASSLoginDialog 3-23
password 2-4
Process 1-1; 3-2
process control 1-1
process message window 3-7
ProgramExecute 3-22
project function 1-1; 1-2; 2-1; 2-2; 2-3; 2-5;
3-1
PTMUnload 3-26
N
new header files 2-6
new standard function 1-1
notification 4-2
NOTIFY 4-2
WinCC Manual
C79000-G8276-C107-01
Index-5
Global Scripts
R
Radius 4-20; 4-70
raw data type 4-112; 4-115; 4-118; 4-123
RED 6-3
Report 3-2; 3-7; 3-24
ReportJob 3-24
return value 3-3; 3-9; 4-3; 4-6; 4-110; 4-140
ReturnBaseName 3-37
ReturnContainer 3-34
ReturnName 3-35
ReturnPictureName 3-35; 3-36
ReturnRootContainer 3-36
RPTJobPreview 3-24
RPTJobPrint 3-24
S
SetActualPointLeft 4-68
SetActualPointTop 4-68
SetAlarmHigh 4-76
SetAlarmLow 4-76
SetAlignment 4-51
SetAlignmentLeft 4-65
SetAlignmentTop 4-65
SetAssumeOnExit 4-73
SetAssumeOnFull 4-73
SetASVarIndex 3-26
SetAverage 4-89
SetAxisSection 4-51
SetBackBorderWidth 4-106
SetBackColor 4-55
SetBackColor2 4-55
SetBackColor3 4-55
SetBackColorBottom 4-55
SetBackColorTop 4-56
SetBackFlashColorOff 4-62
SetBackFlashColorOn 4-62
SetBasePicTransColor 4-103
SetBasePicUseTransColor 4-103
SetBitNumber 4-73
SetBorderBackColor 4-56
SetBorderColor 4-56
SetBorderColorBottom 4-56
SetBorderColorTop 4-57
SetBorderEndStyle 4-106
SetBorderFlashColorOff 4-62
SetBorderFlashColorOn 4-62
SetBorderStyle 4-106
SetBorderWidth 4-106
SetBoxAlignment 4-107
SetBoxCount 4-68
SetBoxType 4-89
Index-6
08.97
SetButtonColor 4-57
SetCheckAlarmHigh 4-76
SetCheckAlarmLow 4-76
SetCheckLimitHigh4 4-77
SetCheckLimitHigh5 4-77
SetCheckLimitLow4 4-77
SetCheckLimitLow5 4-78
SetCheckToleranceHigh 4-78
SetCheckToleranceLow 4-78
SetCheckWarningHigh 4-79
SetCheckWarningLow 4-79
SetClearOnError 4-74
SetClearOnNew 4-74
SetColorAlarmHigh 4-79
SetColorAlarmLow 4-79
SetColorBottom 4-57
SetColorChangeType 4-89
SetColorLimitHigh4 4-80
SetColorLimitHigh5 4-80
SetColorLimitLow4 4-80
SetColorLimitLow5 4-80
SetColorToleranceHigh 4-81
SetColorToleranceLow 4-81
SetColorTop 4-57
SetColorWarningHigh 4-81
SetColorWarningLow 4-81
SetCursorControl 4-90
SetCursorMode 4-90
SetDirection 4-68
SetEditAtOnce 4-90
SetEndAngle 4-69
SetExponent 4-51
SetExtendedOperation 4-91
SetFillColor 4-58
SetFilling 4-61
SetFillingIndex 4-61
SetFillStyle 4-107
SetFillStyle2 4-107
SetFlashBackColor 4-63
SetFlashBorderColor 4-63
SetFlashFlashPicture 4-103
SetFlashForeColor 4-63
SetFlashPicTransColor 4-104
SetFlashPicUseTransColor 4-104
SetFlashRateBackColor 4-63
SetFlashRateBorderColor 4-64
SetFlashRateFlashPic 4-105
SetFlashRateForeColor 4-64
SetFontBold 4-65
SetFontItalic 4-66
SetFontName 4-66
SetFontSize 4-66
SetFontUnderline 4-66
WinCC Manual
C79000-G8276-C107-01
08.97
SetForeColor 4-58
SetForeFlashColorOff 4-64
SetForeFlashColorOn 4-64
SetHeight 4-69
SetHiddenInput 4-74
SetHysteresis 4-91
SetHysteresisRange 4-91
SetIndex 4-18; 4-19; 4-67; 4-68; 4-105
SetItem 4-107; 4-108
SetItemBorderBackColor 4-58
SetItemBorderColor 4-58
SetLanguage 4-141
SetLeft 4-69
SetLeftComma 4-52
SetLimitHigh4 4-82
SetLimitHigh5 4-82
SetLimitLow4 4-82
SetLimitLow5 4-82
SetLimitMax 4-82
SetLimitMin 4-83
SetLink 4-88
SetLongStrokesBold 4-52
SetLongStrokesOnly 4-52
SetLongStrokesSize 4-53
SetMarker 4-83
SetMax 4-91
SetMessageClassToVar 3-26
SetMin 4-92
SetNumberLines 4-75
SetOffsetLeft 4-92
SetOffsetTop 4-92
SetOperation 4-92
SetOperationMessage 4-93
SetOperationReport 4-93
SetOrientation 4-67
SetOutputValueChar 4-75
SetOutputValueDouble 4-75
SetPasswordLevel 4-94
SetPicDeactTransparent 4-97
SetPicDeactUseTransColor 4-98
SetPicDownTransparent 4-98
SetPicDownUseTransColor 4-98
SetPicTransColor 4-99
SetPictureDeactivated 4-97
SetPictureDown 4-97
SetPictureName 4-94
SetPictureUp 4-97
SetPicUpTransparent 4-99
SetPicUpUseTransColor 4-100
SetPicUseTransColor 4-100
SetPointCount 4-69
SetPosition 4-96
SetPressed 4-108
WinCC Manual
C79000-G8276-C107-01
Global Scripts
SetProcess 4-94
SetPropBOOL 4-101
SetPropChar 4-101
SetPropDouble 4-102
SetPropWord 4-102
SetRadius 4-70
SetRadiusHeight 4-70
SetRadiusWidth 4-70
SetRangeMax 4-96
SetRangeMin 4-96
SetReferenceRotationLeft 4-70
SetReferenceRotationTop 4-71
SetRightComma 4-53
SetRotationAngle 4-71
SetRoundCornerHeight 4-71
SetRoundCornerWidth 4-71
SetScaleColor 4-59
SetScaleTicks 4-53
SetScaling 4-53
SetScalingType 4-54
SetSelBGColor 4-59
SetSelTextColor 4-59
SetSmallChange 4-94
SetStartAngle 4-72
SetTagBit 4-125
SetTagBitState 4-128
SetTagBitStateWait 4-136
SetTagBitWait 4-132
SetTagByte 4-125
SetTagByteState 4-128
SetTagByteStateWait 4-136
SetTagByteWait 4-132
SetTagChar 4-125
SetTagCharState 4-128
SetTagCharStateWait 4-136
SetTagCharWait 4-132
SetTagDouble 4-125
SetTagDoubleState 4-129
SetTagDoubleStateWait 4-137
SetTagDoubleWait 4-132
SetTagDWord 4-126
SetTagDWordState 4-129
SetTagDWordStateWait 4-137
SetTagDWordWait 4-133
SetTagFloat 4-126
SetTagFloatState 4-129
SetTagFloatStateWait 4-137
SetTagFloatWait 4-133
SetTagMultiStateWait 4-138
SetTagMultiWait 4-133
SetTagRaw 4-126
SetTagRawState 4-130
SetTagRawStateWait 4-138
Index-7
Global Scripts
SetTagRawWait 4-134
SetTagSByte 4-126
SetTagSByteState 4-130
SetTagSByteStateWait 4-138
SetTagSByteWait 4-134
SetTagSDWord 4-127
SetTagSDWordState 4-130
SetTagSDWordStateWait 4-139
SetTagSDWordWait 4-134
SetTagSWord 4-127
SetTagSWordState 4-131
SetTagSWordStateWait 4-139
SetTagSWordWait 4-134
SetTagValue 4-127
SetTagValueWait 4-135
SetTagWord 4-127
SetTagWordState 4-131
SetTagWordStateWait 4-139
SetTagWordWait 4-135
SetText 4-67
SetToggle 4-109
SetToleranceHigh 4-83
SetToleranceLow 4-83
SetTop 4-72
SetTrend 4-95
SetTrendColor 4-59
SetTypeAlarmHigh 4-84
SetTypeAlarmLow 4-84
SetTypeLimitHigh4 4-84
SetTypeLimitHigh5 4-85
SetTypeLimitLow4 4-85
SetTypeLimitLow5 4-85
SetTypeToleranceHigh 4-86
SetTypeToleranceLow 4-86
SetTypeWarningHigh 4-86
SetTypeWarningLow 4-87
SetUnselBGColor 4-60
SetUnselTextColor 4-60
SetVisible 4-95
SetWarningHigh 4-87
SetWarningLow 4-87
SetWidth 4-72
SetWindowsStyle 4-109
SetZeroPoint 4-72
SetZeroPointValue 4-95
SetZoom 4-95
SFCLoopInAlarm 3-26
slider 4-10; 4-11; 4-37; 4-38; 4-39; 4-40; 4-42;
4-49; 4-55; 4-56; 4-57; 4-91; 4-92; 4-93; 4-94;
4-96; 4-106
SOLID 6-4
SSMChangeButtonField 3-27
SSMChangeOverviewField 3-27
Index-8
08.97
SSMChangeWorkField 3-28
SSMCheckWorkFieldDown 3-28
SSMCheckWorkFieldLeft 3-29
SSMCheckWorkFieldRight 3-29; 3-31
SSMCheckWorkFieldUp 3-30; 3-32
SSMChgWorkFieldDown 3-30
SSMChgWorkFieldLeft 3-31
SSMDeleteUserSettings 3-32
SSMGetAreaFromPath 3-33
SSMGetAreaFromPicturePath 3-28
SSMGetAreaFromWorkField 3-33
SSMGetAutoLoadSettings 3-34
SSMGetContainer 3-35
SSMGetContainerToPicture 3-34
SSMGetContPict 3-35
SSMGetRootToPicture 3-36
SSMGetScreen 3-36
SSMGetWorkFieldCoordinates 3-37
SSMGetWorkFieldPath 3-37
SSMGetWorkFieldPicture 3-36
SSMLoadCurrentFields 3-38
SSMLoadSettings 3-39
SSMOpenSpecField 3-39
SSMOpenTopField 3-40
SSMOpenTopFieldFixedSize 3-40
SSMPictureMemoryInquire 3-43
SSMPictureMemoryNum 3-43
SSMPictureMemoryRestore 3-44
SSMPictureMemoryStore 3-44
SSMPictureStoreGet 3-41
SSMPictureStoreNum 3-41
SSMPictureStoreSet 3-42
SSMProgramExecute 3-42
SSMRTSetAreaToPicturePath 3-28
SSMSetAreaNameToPicture 3-45
SSMSetLanguage 3-45
SSMStoreCurrentFields 3-46
SSMStoreSettings 3-47
SSMUnload 3-47
style 4-50; 4-109; 6-3; 6-4
SysFree 4-3
SysMalloc 4-3; 4-118; 4-122
WinCC Manual
C79000-G8276-C107-01
08.97
T
Tag function category 4-110
TagInfo 3-26
TAGLOG 3-9
TagName 3-25
TEMPLATE 3-9
Timer 5-3
TlgGetColumnPosition 3-9
TlgGetNumberOfColumns 3-10
TlgGetNumberOfRows 3-10
TlgGetNumberOfTrends 3-10
TlgGetRowPosition 3-11
TlgGetRulerArchivNameTrend 3-11
TlgGetRulerTimeTrend 3-11
TlgGetRulerValueTrend 3-12
TlgGetRulerVariableNameTrend 3-12
TlgGetTextAtPos 3-12
TlgTableWindowPressEditRecordButton 3-13
TlgTableWindowPressFirstButton 3-13
TlgTableWindowPressHelpButton 3-13
TlgTableWindowPressInsertRecordButton
3-13
TlgTableWindowPressLastButton 3-13
TlgTableWindowPressNextButton 3-14
TlgTableWindowPressNextItemButton 3-14
TlgTableWindowPressOpenArchiveVariable
SelectionDlgButton 3-14
TlgTableWindowPressOpenDlgButton 3-14
TlgTableWindowPressOpenItemSelectDlg
Button 3-15
TlgTableWindowPressOpenTimeSelectDlg
Button 3-15
TlgTableWindowPressPrevButton 3-15
TlgTableWindowPressPrevItemButton 3-15
TlgTableWindowPressRemoveRecordButton
3-16
TlgTableWindowPressStartStopButton 3-16
TlgTrendWindowPressFirstButton 3-16
TlgTrendWindowPressHelpButton 3-16
TlgTrendWindowPressLastButton 3-16
TlgTrendWindowPressLinealButton 3-17
TlgTrendWindowPressNextButton 3-17
TlgTrendWindowPressNextItemButton 3-17
TlgTrendWindowPressOneToOneButton 3-17
TlgTrendWindowPressOpenDlgButton 3-18
TlgTrendWindowPressOpenItemSelectDlg
Button 3-18
TlgTrendWindowPressOpenTimeSelectDlg
Button 3-18
TlgTrendWindowPressPrevButton 3-19
TlgTrendWindowPressPrevItemButton 3-19
TlgTrendWindowPressStartStopButton 3-19
WinCC Manual
C79000-G8276-C107-01
Global Scripts
TlgTrendWindowPressZoomInButton 3-17;
3-19
trigger 3-3; 5-1; 5-2; 5-3; 5-4
U
update cycle 4-41; 6-4
V
vertical alignment 4-17; 4-65
vertical distance 4-92
vertical radius 4-21; 4-70; 4-71
W
weight 4-50
WHITE 6-3
width 3-38; 3-39; 3-46; 3-47; 4-20; 4-22; 4-72
X
X axis 4-19; 4-20; 4-69
X value of 4-21; 4-70
Y
Y axis 4-19; 4-22; 4-72
Y value 4-21; 4-68; 4-71
YELLOW 6-3
Z
zero point 4-41; 4-72; 4-95
Index-9
Global Scripts
Index-10
08.97
WinCC Manual
C79000-G8276-C107-01