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.
- Return type: CNM_ReturnTypes.SingleExecutionState
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| execute | BOOL | - | input |
Code
Declaration
METHOD ABSTRACT disable : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute : BOOL;
END_VAR