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

AVEVA™ Plant SCADA

Creating a Function Outline

  • Last UpdatedJul 18, 2023
  • 1 minute read

First, define the purpose of the function group, and create an outline of the tasks to be performed. The following example shows an outline for a group of functions that change the threshold values of analog alarms during runtime. The outline describes the workings of the function group, and is written in pseudocode (also called Program Design Language).

/*
This file contains functions to allow the operator to make runtime
changes to Analog Alarm thresholds.
This file has 4 functions. The master function calls the other
functions.
ChangeAnalogAlarmThresholds ( )
This calls in turn:
1:GetVariableTag ( )
Argument: cursor position
Displays threshold values in prompt line
Return: success or error code
*/

See Also

Writing Functions

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