Skip to main content

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.

Parameters

NameTypeCommentKind
executeBOOL-input

Code

Declaration

METHOD ABSTRACT disable : CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute : BOOL;
END_VAR