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>
- Return type: IModeBehaviour
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| mode | UDINT | - | input |
Code
Declaration
METHOD getMode : IModeBehaviour
VAR_INPUT
mode :UDINT;
END_VAR