getMode
Short Summary
This Abstract method should return the corresponding mode behaviour depending on the selected operation mode form the HMI.
- Return type:
CNM_OpModeHandlingInterfaces.IModeBehaviour
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| selectedMode | UDINT | use the enum ''OpMode'', e.g. OpMode.AUTOMATIC | input |
Code
Declaration
METHOD PROTECTED ABSTRACT getMode :CNM_OpModeHandlingInterfaces.IModeBehaviour
VAR_INPUT
(* use the enum ''OpMode'', e.g. OpMode.AUTOMATIC *)
selectedMode :UDINT;
END_VAR