Skip to main content

IModeBehaviour

short summary

This interface defines the methods needed for the mode delegates.

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>

AccessAbstractFinalExtendsImplements
-NoNoCNM_AbstractObject.IObject-

UML Diagram

Properties

enableManCmds

Type: BOOL

This property is intended to inform cyclic nodes (devices) that manual commands are allowed to be executed.

id

Type: UDINT

This property returns the id that was used to request the mode delegate.

Methods

enterMode

  • Parameters:
  • Return type: VOID

This method is called once for every node when a new oepration mode is started.

exitMode

  • Parameters:
  • Return type: VOID

This method is called once for every node when the current operation mode is stopped.

run

This method is calling the operation mode methods for every node depending on the current behaviour.

Code

Declaration

INTERFACE IModeBehaviour EXTENDS CNM_AbstractObject.IObject