evaluate
Short summary
This method evaluates an execution state to calculate the next step.
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| state | CNM_ReturnTypes.SingleExecutionState | the state which is to be evaluated | input |
| errorStep | DINT | step to proceed with in case of error | input |
Code
Declaration
METHOD evaluate
VAR_INPUT
(* the state which is to be evaluated *)
state :CNM_ReturnTypes.SingleExecutionState;
(* step to proceed with in case of error *)
errorStep :DINT := CNM_ReturnTypes.DefaultSteps.STEP.ERROR;
END_VAR