Skip to main content

enable

short summary

This method enables a node. It can take mutliple cycles. It has to be implemented for every node/device. The intention is to enable devices here, e.g. axes, laser, dispenser etc. The execute input needs a rising edge to execute the method. If there is nothing to enable, just return a 'SUCCESS' state.

This method is called automatically by the operation mode handler.

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
executeBOOL-input

Code

Declaration

METHOD enable : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute :BOOL;
END_VAR