An Operator Action is a sequence of IEC 61131-3 Structured Text (ST) Statements that run when an operator interacts with a graphic page.
The graphic editor allows you to assign different Operator Actions to each of these events:
Defines the code to execute when one of the following occurs:
The ActionButtonDown operator action will not run if:
Defines the code to execute when one of the following occurs:
The ActionButtonUp operator action will not run if:
Defines the code to execute when one of the following occurs:
For touch devices if ActionContextMenu is defined, ActionButtonWhileDown does not run.
The property WhileDownInterval sets the interval between each execution of the script.
The ActionButtonWhileDown operator action will not run if:
Defines the code to execute when one of the following occurs:
The ActionDoubleClick operator action will not run if:
Defines the code to execute when one of the following occurs:
For touch devices if ActionContextMenu is defined, ActionButtonWhileDown does not run.
The ActionContextMenu operator action will not run if:
Defines the code to execute when one of the following occurs:
The ActionListClickRow operator action will not run if:
Code actions can access contextual information about the event that triggered the action using the CurrentAction variable.
The CurrentAction variable is declared as:
TYPE ActionType : ( ATNone, ATButtonDown, ATButtonMove, ATButtonUp, ATContextMenu, ATDoubleClick, ATKeyDown, ATKeyUp ); ActionContext : STRUCT (* The type of event that triggered the action *) OperatorActionType : ActionType; (* For mouse pointer events, the pointer position in canvas coordinates *) PointerX : REAL; PointerY : REAL; (* For keyboard events, the keycode that triggered the action *) KeyCode : UINT; END_STRUCT; END_TYPE VAR_GLOBAL CONSTANT VOLATILE CurrentAction : ActionContext; END_VAR
For how to edit Operator Actions for items on graphic pages.
For the different tools available to edit graphic pages.
For information about editing graphic pages in Fernhill SCADA.
For the meaning of terms used in Fernhill SCADA.