runChangeOver
Short Summary
This method contains instructions and sequences for product type/variant changeover. This mode is intended for loading recipe data and / or change type/variant specific production tools. If the node should do nothing, return a 'SUCCESS'. If the changeove is finished, return 'SUCCESS'.
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!
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| execute | BOOL | - | input |
| pause | BOOL | - | input |
Code
Declaration
METHOD runChangeOver : CNM_OpModeHandlingInterfaces.CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute : BOOL;
pause : BOOL;
END_VAR
Implementation
runChangeOver := CNM_ReturnTypes.SingleExecutionState.SUCCESS;