Skip to main content

disable

Short summary

Disables stepping mode for the current cycle manager step.

Purpose and usage

This method disables the stepping mode functionality for the current step only, overriding the sequence default. When stepping is disabled for a step, it runs continuously without requiring manual step triggers, even if the sequence has stepping enabled.

Disabling stepping at the step level is useful for:

  • Automated calculations or operations within a stepped sequence
  • Time-critical steps that should not wait for triggers
  • Background operations that run automatically
  • Steps that should always complete without manual intervention

typical usage patterns

  1. Auto steps: Steps that run automatically in stepped sequences
  2. Calculations: Automated computation steps
  3. Fast operations: Quick steps that don't need manual control
  4. Override sequence: Disable stepping for specific steps only

When to use

  • For automated steps within a manually stepped sequence
  • When specific steps should run without manual triggers
  • For calculation or processing steps
  • To skip stepping on non-interactive steps

Example

// Disable stepping for calculation step
CASE cycleManager.steps.current OF
MySteps.MANUAL_SETUP:
// This step uses sequence stepping settings
IF setupComplete THEN
cycleManager.steps.next := MySteps.AUTO_CALCULATION;
END_IF;

MySteps.AUTO_CALCULATION:
// Disable stepping for this automated step
cycleManager.configuration.configuration.step
.stepping.disable();
performCalculations();
IF calculationsComplete THEN
// Re-enable stepping for next manual step
cycleManager.configuration.configuration.step
.stepping.enable();
cycleManager.steps.next := MySteps.VERIFY_RESULTS;
END_IF;
END_CASE

// Skip stepping for fast operations
IF isQuickOperation(currentStep) THEN
cycleManager.configuration.configuration.step
.stepping.disable();
END_IF;

Parameters

none

Code

Declaration

METHOD disable

Implementation

THIS^.cycleManager.currentSteppingEnabled := FALSE;