Skip to main content

current

Short summary

This property returns the current step of the cycle manager. Proposed use is as CASE control.

Example

CASE cyclemanager.steps.current OF
DefaultSteps.STEP.IDLE:
;
DefaultSteps.STEP.INIT:
;
2:
;
3:
;
4:
;
DefaultSteps.STEP.SUCCESS:
;
DefaultSteps.STEP.ERROR:
;
DefaultSteps.STEP.ABORT:
;
ELSE ;
END_CASE
  • Type: DINT
  • Getter: public
  • Setter: private

Code

Declaration

{attribute 'hide'}
PROPERTY current : DINT