• No results found

Other Input Objects

In document C For WinCC (Page 104-109)

In addition to the typical analog input fields, Windows applications offer other input options. These particular objects can be found in the Object Palette under Windows Objects

• Check-Box

• Radio-Button

The individual selection fields of the check-box or radio-button are set via the spacebar and by moving over the individual components in the box using the Up/Down keys (e.g. arrow keys). This is the key assignment already set by default.

Another input object is the text list object. You can make a selection via a list opened that is dependent on the entries configured:

This object can likewise be controlled by means of the standard keyboard. There is no need to store a special configuration for the keyboard control action.

The list is opened by pressing ENTER, moving around in the list performed by means of the Up/Down keys and confirmation of the current selection by pressing ENTER.

Further input objects could be used by means of the OCX elements in WinCC. Control and configuration of these objects depends, however, on the events and properties available which have been defined specific to the object. This must be clarified in each individual case.

3.3.10.3 Alarm Logging Function Keys for the Toolbar Buttons

In the message windows, different control buttons are set in the toolbar, which are controlled by means of the mouse (standard).

The most frequent control actions in a message window are

• selecting a message for acknowledgment

• moving up/down through the message list scrolling in the message list

When opening the message window or through a further control action, the control must lie in the message window and not in the main window. Depending on the current

controllability, the button controls (or function keys) effect the function key bar of the main window or the stored button controls of the message window. This can be achieved, for example, by setting the current focus of control in this section of the window. The focus of control is normally set by clicking with the mouse.

Using the keyboard, the focus can be set in message windows by means of the following configurable routes:

• changing the window by means of a hot key

• setting the focus by means of a control button or

setting the focus directly to a defined element in the message window on opening the picture.

Changing (switching) to the message window by means of a quick control action (hot key) which can be used in the same way for all window changes, i.e. in trend windows too, is defined in the startup parameters of the Graphics Runtime. The key combination (e.g.

CTRL+W) is entered under Computer Properties Graphics Runtime Hotkeys Window On Top.

WinCC Configuration Manual 3-85 C79000-G8276-C157-01

Once the message window has been opened, the buttons in the toolbar can be activated directly by means of this key sequence.

Direct setting of the focus of control in the message window is, however, achieved by means of the internal function Set_Focus. A C-Action for a button control or open picture command (Picture Object Events Miscellaneous Open Picture) can therefore influence the activation of the message window control.

The functions pertaining to the picture focus are available from Internal Functions graphics set focus. For example, for setting the control focus, the following function is called:

As the parameters, the name of the main window (picture name) as well as the Alarm Control (object name) must be specified.

A message in the message window is selected by choosing the message line. When the message window is opened, the cursor is positioned in the youngest message (the last message in the message picture). Selecting a message or scrolling in the message window depends on the activation of the scroll mechanism.

The picture scroll mechanism can be turned on/off either via a button in the toolbar or be set directly in the configuration of the WinCC Alarm Control.

If scrolling and the control focus are active in the message window, movements can be performed as follows:

Movement Standard Keys Key Settings

Up, Down in the Message List

Arrow Keys Individual message lines

Beginning, End in the Message List

Pos1 Key, End Key To the beginning or end of the message list

Scrolling Scroll keys (Page Up/Page

Down)

Several message lines

3-86 WinCC Configuration Manual C79000-G8276-C157-01 In addition to being able to activate the buttons on the toolbar (such as acknowledgment of the selected message) by means of standard mouse action, you can also define control actions by means of function keys.

For each button displayed in the toolbar, a corresponding keyboard control can be configured in the properties.

For Example:

These configuration steps enable you to assign a key combination to each and every one of the buttons used for the message window.

WinCC Configuration Manual 3-87 C79000-G8276-C157-01

3.3.10.4 Alarm Logging - Toolbar Buttons designed specifically for a Plant

All the toolbar buttons are specified by WinCC and they cannot be changed. If a given button layout is specified for the plant to be configured, you must deactivate the WinCC toolbar (i.e. no toolbar) and design the relevant buttons yourself. All of these new button objects can be designed to satisfy the wishes of the customer, e.g. given icons.

The functionality assigned to a particular button must, however, still be configured as an associated action. In the C-Action of the associated event (e.g. Press button), the corresponding Standard Function must be selected from the function tree.

The functions provided for the button control are located at Standard Functions

alarm. For each button in the toolbar, the list contains a function which corresponds to it.

For example, the Single Acknowledgment button is called by means of the following function:

As the parameter, the window title of the Alarm Logging Control must be entered.

These actions can also be used for buttons you have designed yourself by means of mouse control.

A number of examples of such buttons can be found in the optional packages for the alarm system (e.g. Basic Process Control - Horn acknowledgment, etc.).

3.3.10.5 Tag Logging Function Keys for the Toolbar Buttons

In the Tag Logging trend or table controls (trend and table windows) used for displaying measured values, various control buttons are configured for the toolbar, which can be operated by mouse.

• The most frequent control actions in a trend window are

• scrolling through the measured values (time axis)

• selecting a time range

• selecting trends

• using the read ruler

After opening the trend window, the current trend curve is displayed depending on the configuration.

When opening the trend window, the control must lie in the trend window and not in the main window. Depending on the current controllability, the button controls (or function keys) effect the function key bar of the main window or the stored button controls of the trend or table window. This can be achieved, for example, by setting the current focus of control in this section of the window. The focus of control is normally set by clicking with the mouse.

Using the keyboard, the focus can be set in trend or table window using the following configuration approaches:

• changing the window by means of a hot key

• setting the focus by means of a control button or

setting the focus directly to a defined element in the trend window upon opening the picture Implementation of these different variants can be found in this chapter under the description of Alarm Logging.

3-88 WinCC Configuration Manual C79000-G8276-C157-01 In addition to being able to activate the buttons on the toolbar (such as selection of a time frame) by means of standard mouse action, you can also define control actions by means of function keys. By default, the individual buttons are occupied by the function keys F1 through F10.

For each button displayed in the toolbar, a corresponding keyboard control can be configured in the properties. For example:

These configuration steps enable you to assign a key combination to each and every one of the buttons used for the trend or table window. A button control for the trend or table windows must therefore be defined in addition.

The following standard keys can be used in the trend window once the respective function key has been activated:

WinCC Configuration Manual 3-89 C79000-G8276-C157-01

Movement Standard Keys Key Settings

Read Ruler Arrow Keys For moving the read line left or

right

Zooming For selecting section to

be zoomed

For setting and activating substitute input aid for mouse (see system settings)

INS and arrow keys enable you to define the zoomed window Dialog Boxes, e.g.

Archive Tag Selection

Tab key For moving between the input

fields

Arrow Keys For moving within the tag or tab selection

+ Key (- Key) For displaying or closing the tree of the archive tags

Spacebar Selection or deselection

ENTER Key For confirming and exiting a dialog box

ESC Key For canceling a dialog box

In document C For WinCC (Page 104-109)