Skip to main content

evaluate

Short summary

This method evaluates an execution state to calculate the next step.

Parameters

NameTypeCommentKind
stateCNM_ReturnTypes.SingleExecutionStatethe state which is to be evaluatedinput
errorStepDINTstep to proceed with in case of errorinput

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