Skip to main content

initialize

short summary

This method contains instructions and sequences for the init mode. This mode is intended for initializing a machine, e.g. set references and parameters, establish a connection to global production systems (MES). If the node should do nothing, return a 'SUCCESS'. It should run until all initializations are done or the mode is stopped immedtiately or a stop request is raised. This method is called automatically by the operation mode handler after PLC startup.

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 initialize : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute :BOOL;
END_VAR