05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CONFIGURING THE MONOCHROME VIRTUAL HMI<br />

CHANGING THE LANGUAGE<br />

CHANGING THE LANGUAGE<br />

To configure a key to change the language displayed by the virtual HMI, select User Defined<br />

mode and enter SetLanguage(n) as the On Pressed property, where n is a number between 1<br />

and 8, according to the language to be displayed. The display page will be redrawn in the<br />

selected language, with any text for which translations have been entered—including fixed<br />

text, tag labels and tag formatting information—adjusted as appropriate. Pages that are<br />

subsequently displayed will also be drawn in the selected language.<br />

ADVANCED TOPICS<br />

The following sections deal with more advanced issues relating to keyboard actions.<br />

ACTION PROCESSING<br />

When a key is pressed or released, Crimson goes through a defined sequence when deciding<br />

what to do with the event. If any stage results in some action being performed, the sequence is<br />

stopped, and the later stages do not get a chance to process the key.<br />

The sequence is as follows…<br />

1. If a display primitive is selected for user interaction, it is given a chance to<br />

process the key. Active data entry fields will consume the Raise, Lower, Exit<br />

and Enter keys, plus whatever other keys are appropriate to the operation being<br />

performed. For example, integer entry fields will also consume the numeric keys.<br />

2. If a display primitive is selected for user interaction and the Next or Prev keys<br />

are pressed, Crimson will attempt to find the next or previous display primitive<br />

that also desires user interaction. If any such field exists, the key will be<br />

consumed, and that primitive will be activated.<br />

3. If a local action is defined, the action is performed and the key consumed.<br />

4. If a global action is defined, the action is performed and the key consumed.<br />

5. If the key remains unconsumed, the default actions are implemented…<br />

EVENT<br />

Next Key Pressed<br />

Prev Key Pressed<br />

Exit Key Pressed<br />

Menu Key Pressed<br />

Mute Key Pressed<br />

ACTION<br />

Displays the page’s Next Page, if one is defined.<br />

Displays the page’s Previous Page, if one is defined.<br />

Displays the page’s Parent Page, if one is defined.<br />

Displays the fist page in the page list.<br />

Silences the Master’s internal alarm sounder.<br />

As mentioned above, configuring a key for any global or local action—even one that does<br />

nothing, such as Block Default Action—prevents this sequence from proceeding. It should be<br />

obvious, then, why such an action is useful, even though at first sight it serves no purpose!<br />

REVISION 6 PAGE 155

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

Saved successfully!

Ooh no, something went wrong!