EmptyMode
Short Summary
This function block is just an delegate that does nothing. It is the default mode for the operation mode handler when no mode is selected.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.Object | CNM_OpModeHandlingInterfaces.IModeBehaviour |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
enableManCmds
Type: BOOL
This property is intended to inform cyclic nodes (devices) that manual commands are allowed to be executed. …
id
Type: UDINT
This property returns the id that was used to request the mode delegate.…
Methods
enterMode
- Parameters:
node(CNM_OpModeHandlingInterfaces.IOpModes)
- Return type:
VOID
This method is called once for every node when a new oepration mode is started.…
exitMode
- Parameters:
node(CNM_OpModeHandlingInterfaces.IOpModes)
- Return type:
VOID
This method is called once for every node when the current operation mode is stopped.…
run
- Parameters:
execute(BOOL)pause(BOOL)node(CNM_OpModeHandlingInterfaces.IOpModes)
- Return type: CNM_ReturnTypes.SingleExecutionState
This method is calling the operation mode methods for every node depending on the current behaviour.…
Code
Declaration
FUNCTION_BLOCK EmptyMode EXTENDS CNM_AbstractObject.Object IMPLEMENTS CNM_OpModeHandlingInterfaces.IModeBehaviour
VAR
modeId :UDINT;
END_VAR