disable
short summary
This method disables a node. It can take mutliple cycles. It has to be implemented for every node/device. The intention is to stop all movements here, e.g. axes should perform a quickstop, cylinders should be turned off, etc. The execute input needs a rising edge to execute the method. If there is nothing to stop, 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>
- Return type: CNM_ReturnTypes.SingleExecutionState
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| execute | BOOL | - | input |
Code
Declaration
METHOD disable : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute :BOOL;
END_VAR