proceedWith
Short summary
This method changes the current step in the cycle manager to the given step. If any evaluate or other call is still busy it will ignore them and move to the next step.
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| step | DINT | step to move to | input |
Code
Declaration
METHOD proceedWith
VAR_INPUT
(* step to move to *)
step :DINT;
END_VAR
Implementation
RETURN (THIS^.state = CNM_ReturnTypes.SingleExecutionState.SUCCESS);
THIS^.step.next := step;
THIS^.proceed();