stepping
Short summary
Provides access to the stepping configuration for the current cycle manager step.
Purpose and usage
This property returns the stepping configuration interface that allows setting stepping-related parameters for the current step. It provides a fluent interface for configuring step-by-step execution mode for this specific step, overriding sequence defaults.
The stepping configuration controls:
- Whether stepping mode is enabled for this step
- Step-specific auto-step delays
- Step trigger conditions
- Single-step behavior for this step
typical usage patterns
- Skip stepping: Disable stepping for automated steps
- Force stepping: Require manual confirmation for critical steps
- Custom delays: Set step-specific auto-step timing
- Debug control: Enable stepping only for complex steps
When to use
- To skip stepping mode for simple or automated steps
- To force stepping on critical steps even in auto mode
- When specific steps need different stepping behavior
- For debugging specific steps in a sequence
Example
// Disable stepping for automated steps
CASE cycleManager.steps.current OF
MySteps.AUTO_CALCULATION:
// This step runs without stepping even in debug mode
cycleManager.configuration.configuration.step
.stepping.disable();
performCalculations();
cycleManager.steps.next := MySteps.VERIFY_RESULTS;
MySteps.VERIFY_RESULTS:
// Force stepping for verification
cycleManager.configuration.configuration.step
.stepping.enable();
IF resultsValid THEN
cycleManager.steps.next := MySteps.CONTINUE;
END_IF;
END_CASE
// Configure step with specific stepping settings
cycleManager.configuration.configuration.step
.stepping
.enable()
.autoStep(TRUE)
.autoStepDelay(T#5S); // Slower auto-step for this step
- Type: CNM_CycleManagerInterfaces.ISteppingConfiguration
- Getter:
public
Code
Declaration
PROPERTY stepping : CNM_CycleManagerInterfaces.ISteppingConfiguration