23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

4.8.3.3 Application Possibilities<br />

This section contains a few examples concerning the use of status bits. It is not possible to completely cover all<br />

of the details of such an implementation in this section. Applications and concrete examples in C and<br />

Automation Basic can be found in the Tips and Tricks section.<br />

• Synchronized Data Acquisition Over a Network<br />

Transporting variables from remote stations can be coordinated using the EditAction bit (15). By default,<br />

active variables are read cyclically and then displayed.<br />

If the variable's EditActive bit changes from 0 to 1, then this field was opened to be edited on the<br />

visualization unit. Cyclic reading for the respective variable must be disabled until the input is complete.<br />

This is indicated when the bit switches back to 0. This means that this variable can be written back to<br />

the remote station. As an option, the value can be checked to make sure it is within permitted<br />

boundaries.<br />

When completed, the variable is activated again for cyclic reading.<br />

• Configurable <strong>Visual</strong>ization<br />

By default, <strong>Visual</strong> <strong>Components</strong> does not support a dynamic visualization arrangement on the runtime<br />

system. Such behavior can be partially reproduced using the Invisible bit. In this way, options on the<br />

machine which either are either not available or not paid for are hidden from the visualization user.<br />

Although the layout cannot be changed in this way, certain option controls can be taken from the screen<br />

as well as appropriate pages from the page switching system.<br />

This allows extensive configurations to be implemented by integrating the <strong>Visual</strong> <strong>Components</strong><br />

visualization into the control application.<br />

• User−Defined Input Locking<br />

If input field password levels are not sufficient, or if status variables for visibility control are already being<br />

used in the application, then it is easier to control input locking in the application.<br />

If these conditions are not met, then using password levels is usually easier and less complicated when<br />

handled and maintained in the visualization.<br />

• User−Dependent Information Display<br />

With its password management system for input fields, <strong>Visual</strong> <strong>Components</strong> supports the simple<br />

administration of Write abilities (rights) in the visualization, depending on the current user level.<br />

In some visualization applications, certain information should only be displayed to privileged users. By<br />

default, this is not directly supported by <strong>Visual</strong> <strong>Components</strong>.<br />

However, this behavior may now be implemented in the application with the Invisible bit which can<br />

switch fields visible or invisible.<br />

• Context−Sensitive Help<br />

Using the HasFocus bit (14), the control application can determine which input field is activated (has the<br />

input focus). This may allow an appropriate help text to be very easily displayed in a status bar or other<br />

suitable field.<br />

4.8.4 Advanced Text Group Options − Formatted Texts<br />

Alarm texts and texts from text groups can be linked with so−called tags (formatted variables) and can output<br />

strings and numeric values which are generated during runtime. Using these tags, flexible texts and texts<br />

adjustable at runtime can be defined. However, alarm texts are limited to 4 numeric variables.<br />

4.8.3.3 Application Possibilities 363

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!