WinCC flexible Engineering System 2
2.7 Working with WinCC flexible
2.7.11 Graphics list
Introduction
In a graphics list, the values of a tag are assigned to various screens or graphics. The graphics lists are created in the "Graphics lists" editor. The attachment of the graphics list to a tag is configured on the used object, for example on a symbolic graphic field. These are the following application areas for the graphics list:
● For the configuration of a drop-down list box with a graphic IO field.
● For configuring a status-dependent representation of a button
The graphics in a graphics list can be configured as multilingual. In runtime the graphics are displayed in the set runtime language.
Configuring the graphics list
Open the "Graphics lists" editor by double-clicking the entry "Graphics lists" in the project view. By double-clicking the first empty line in the editor a new graphics list is created.
Click the column "Selection" and open the drop-down list box.
2.7 Working with WinCC flexible
Select the corresponding field for the required graphics list. The following fields are available:
● Range (... - ...) With this setting the integer or value range of a tag is assigned to the graphics from the graphics list. The number of graphics may be selected freely. The maximum number of entries depends on the HMI device.
You establish a default value that is then displayed if the value of the tags lies outside the defined area.
● Bit (0, 1) With this setting, the graphics from the graphics list are assigned to the two statuses of a binary tag. You can create a text entry for every status of a binary tag.
● Bit number (0 - 31) With this entry a graphic from the graphics list is assigned to every bit of a tag. The maximum number of the graphics entries is 32. This type of graphics list may, for example, be used in a sequential control when executing a sequencer wherever only one bit of the used tag is allowed to be set.
The least significant bit set and a default value determine the behavior of the bit number (0 to 31).
In the work area in the table "List entries" create the graphics of the graphics list.
Double-click the first line of the table. The first graphic entry is created.
In the column "Value" either set a binary value or a range value for the assigned tag to be used for the bit number.
In the column "Entry" enter the desired graphic for the output.
2.7 Working with WinCC flexible
In order to create the next entry, double-click the next empty line in the table.
The entry in the column "Value" is uniquely assigned by the system. In order to change the value, click the corresponding entry. Open the drop-down list box and enter the desired value and range value.
Note
The availability of the graphics list is determined by the HMI device used.
Behavior of bit number (0 to 31)
If "Bit selection in text and graphics lists" in the device settings is deactivated and no default value is set, the following standard response applies: If only one of all set bits is configured the image saved at the configured bit is displayed.
Example
Significance 7 6 5 4 3 2 1 0
Bits set 0 0 1 1 0 1 0 0
Configured - Image 3 - Image 2 Image 1 - - -
Only the bit with significance "4" is configured. Image 2 is displayed.
The cactus image is displayed in all other cases:
● No bit is set, for example.
● Several bits are set, for example.
2.7 Working with WinCC flexible
Default value
In order to prevent an the cactus graphic from being displayed in such a case, you establish a default value. A graphic configured for a default value is displayed in the following scenarios:
● "Bit selection in text and graphics lists" is deactivated and in the tags there is not precisely 1 bit set that is also configured.
Example
Significance 7 6 5 4 3 2 1 0
Bits set 0 0 1 1 0 1 0 0
Configured - Image 3 Image 2 Image 1 - - - Image 0
Two bits are set and configured. The configured default value is displayed.
● "Bit selection in text and graphics lists" is enabled and no bit is set or if a bit with the smallest value is set then no graphic is configured.
Click on an entry in the "Default" column of the "List entries" table to display a default value.
You can also enter "Default" as "Value", or activate the "Default" check box at the "General"
category in the "Settings" area of the Properties window.
Least significant bit set
If "Bit selection in text and graphics lists" is activated, the displayed graphic is that which was configured for the set bit with the smallest value.
Example
Significance 7 6 5 4 3 2 1 0
Bits set 0 0 1 1 0 1 0 0
Configured - Image 3 - Image 2 - Image 1 - -
The set bit with the least significance is "2". "Image 1" is displayed.
The cactus image is displayed if neither an image, nor a default value is configured for the least significant bit. Any configured default value is configured the image configured for this default value is displayed.
Enable the "Bit selection in text and graphics lists" in the "Runtime settings" area of the device settings in order to visualize only the text that is assigned to the least significant bit.
For reasons of downward compatibility, the setting is disabled as standard. The setting applies to all graphics lists of the HMI device.
2.7 Working with WinCC flexible