Skip to main content

runHoming

short summary

This method contains instructions and sequences for the homing mode. It has to be overwritten for every node. If the node should do nothing, return a 'SUCCESS'. It should stop (return 'SUCCESS') if the node is in home state or a stop request is raised (THIS^.modeControl.stopRequest). This method is called automatically by the operation mode handler.

attention: If this method returns the state 'ERROR', the operation mode handler automatically disables the whole machine!

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

Code

Declaration

METHOD runHoming : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute :BOOL;
pause :BOOL;
END_VAR