Skip to main content

disable

Short summary

Disables stepping mode for the cycle manager sequence.

Purpose and usage

This method disables the stepping mode functionality for the entire cycle manager sequence. When stepping is disabled, the cycle runs continuously without requiring manual step triggers, executing each step automatically as conditions are met.

Disabling stepping mode is the normal production configuration where sequences run automatically from start to finish.

typical usage patterns

  1. Production mode: Disable stepping for automatic execution
  2. Normal operation: Run sequences without manual intervention
  3. Automated testing: Execute full sequences automatically
  4. Performance mode: Remove stepping overhead

When to use

  • In production environments for automatic operation
  • When commissioning is complete and manual control not needed
  • For automated test sequences
  • When maximum performance is required
  • As the default mode for normal operation

Example

// Disable stepping for production
cycleManager.configuration.configuration.sequence
.stepping
.disable();

// Switch modes based on operation
IF productionMode THEN
cycleManager.configuration.configuration.sequence
.stepping.disable();
ELSE
cycleManager.configuration.configuration.sequence
.stepping.enable();
END_IF;

// Ensure stepping is disabled for critical sequences
CASE cycleManager.steps.current OF
MySteps.CRITICAL_SEQUENCE_START:
cycleManager.configuration.configuration.sequence
.stepping.disable(); // No manual stepping allowed
cycleManager.steps.next := MySteps.CRITICAL_OPERATION;
END_CASE

// Update HMI based on stepping mode
IF NOT cycleManager.steppingEnabled THEN
HMI.StepButton.Visible := FALSE;
HMI.AutoStepCheckbox.Visible := FALSE;
END_IF;

Parameters

none

Code

Declaration

METHOD disable

Implementation

THIS^.cycleManager.defaultSteppingEnabled := FALSE;