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

AVEVA™ Plant SCADA

Using String Arguments

  • Last UpdatedJul 18, 2023
  • 1 minute read

Functions can require several arguments or, as in the following example, a single argument:

Command

PageDisplay("Boiler 1");

This function displays the graphics page called "Boiler 1". Be aware that when you pass a string to a function, you need to always enclose the string in double quotes.

You can use the PageDisplay() function to display any graphics page in your system - in each case, only the argument changes. For example, the following command displays the graphics page "Boiler 2":

Command

PageDisplay("Boiler 2");

You can use the Report() function to run a report (for example, the "Shift" report) when the command executes:

Command

Report("Shift");

The following example uses the Prompt() function to display the message "Press F1 for Help" on the screen when the command executes:

Command

Prompt("Press F1 for Help");

See Also

Using Cicode Functions

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