Skip to main content

getMode

short summary

A method that returns an interface to an instance of a mode behaviour. It can be used to trabnslate the operation mode enum to a mode delegate. Overwrite this method for custom modes.

legal notes

| SPDX-FileCopyrightText: © 2024 ekvip automation GmbH <info@ekvip.de> | SPDX-License-Identifier: Apache-2.0 | For details check: Apache-2.0_

.. _Apache-2.0: https://www.apache.org/licenses/LICENSE-2.0

.. </legal notes>

Parameters

NameTypeCommentKind
modeUDINT-input

Code

Declaration

METHOD getMode : IModeBehaviour
VAR_INPUT
mode :UDINT;
END_VAR