Skip to main content

sequence

Short summary

Provides access to sequence-level configuration for all cycle manager steps.

Purpose and usage

This property returns the sequence configuration interface that allows setting default parameters for all steps in the cycle manager. It provides a fluent interface for configuring sequence-wide settings that apply to the entire cycle execution.

The sequence configuration affects all steps uniformly and provides default values for:

  • Pause behavior
  • Stepping mode settings
  • Stop request handling
  • Other sequence-wide parameters

typical usage patterns

  1. Setting default timeouts: Configure default timeout for all steps
  2. Pause configuration: Set pause behavior for the entire sequence
  3. Stepping mode: Configure stepping mode defaults
  4. Stop handling: Define how stop requests are handled globally

When to use

  • When you need to configure default behavior for all steps
  • To set sequence-wide parameters that apply uniformly
  • For configuring global cycle manager behavior
  • When implementing consistent behavior across all steps

Example

// Configure sequence defaults
cycleManager.configuration.configuration.sequence
.pauseConfiguration
.pauseAllowed(TRUE)
.pauseTimeout(T#5S);

// Set stepping mode for entire sequence
cycleManager.configuration.configuration.sequence
.steppingConfiguration
.steppingEnabled(debugMode)
.autoStepDelay(T#100MS);

// Configure stop request handling
cycleManager.configuration.configuration.sequence
.stopRequestConfiguration
.stopAllowed(TRUE)
.immediateStop(FALSE);

Code

Declaration

PROPERTY sequence : CNM_CycleManagerInterfaces.ISequenceConfiguration