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

AVEVA™ Plant SCADA

Getting Runtime Operator Input

  • Last UpdatedJul 18, 2023
  • 2 minute read

You can define a keyboard command as a key sequence, to perform a specific task each time the key sequence is pressed, for example:

  • Key sequence: F2 ENTER

  • Command: B1_TIC_101_SP = 10;

A key sequence can include provision for the operator to enter data. In the following example, the operator can set the value of the variable B1_TIC_101_SP:

The operator sends out the command by pressing the F2 key, up to three characters, and the Enter key. The three character sequence (identified by the three hash (#) characters) is called an argument. The argument is passed into the command (as Arg1) when the command is completed (when the operator presses the Enter key).

The operator might type:

The value 123 is passed to the command, and B1_TIC_101_SP is set to 123.

It is recommended that you use a specific key (for example, Enter) to signal the end of a key sequence. If, for example, you use the key sequence F2 ####, the operator needs to enter 4 characters for the command to be executed - Plant SCADA waits for the fourth character. But if you use F2 #### Enter, the operator can enter between one and four characters as necessary. The command executes as soon as the Enter key is pressed.

To use more than one argument in a command, separate the arguments with commas ( , ):

  • Key sequence: F2 ###,## Enter

  • Command: B1_TIC_101_SP = Arg1; B1_TIC_101_PV = Arg2;

To set both variables, the operator can type:

The values 123 and 18 are passed to the command. B1_TIC_101_SP is set to 123 and B1_TIC_101_PV is set to 18.

See Also

Using Cicode Commands

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