Skip to main content

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

NameTypeCommentKind
stepDINTstep to move toinput

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();