Skip to main content

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

NameTypeCommentKind
selectedModeUDINTuse the enum ''OpMode'', e.g. OpMode.AUTOMATICinput

Code

Declaration

METHOD PROTECTED ABSTRACT getMode :CNM_OpModeHandlingInterfaces.IModeBehaviour
VAR_INPUT
(* use the enum ''OpMode'', e.g. OpMode.AUTOMATIC *)
selectedMode :UDINT;
END_VAR