Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Pass Keyboard Arguments to Functions

  • Last UpdatedSep 11, 2025
  • 1 minute read

You can also pass arguments directly to functions at run time, as in the following example:

Key Sequence

F4 ######## Enter

Command

PageDisplay(Arg1);

In this example, an operator can select any graphics page (defined in the project) with a single command, for example:

Embedded Image (65% Scaling) (LIVE)

This selects the "Mimic" page.

Note: Keyboard arguments are passed as string values. If the command (or function) requires a numeric value, Cicode converts the string to a numeric value before it is used.

If you use variable data, the operator can only enter alphanumeric characters (A - Z, a-z, and 0 - 9) for the data. Avoid using variable data input as the last item in a key sequence, as ambiguity could occur; use a delimiter.

TitleResults for “How to create a CRG?”Also Available in