cycleManager
Short summary
Gets or sets the cycle manager step parameters interface used for pause configuration.
Purpose and usage
This property provides access to the underlying cycle manager step parameters interface that this pause configurator operates on. It allows getting the current cycle manager instance and setting a new one if needed for step-specific pause configuration.
The property is primarily used internally but can be accessed for direct parameter manipulation or when switching between different cycle manager instances at the step level.
typical usage patterns
- Internal initialization: Set during configurator setup
- Runtime switching: Change cycle manager instances
- Direct access: Get parameters for advanced step configuration
- Dependency injection: Inject different implementations
When to use
- During initialization to connect to a cycle manager
- When switching between different cycle manager implementations
- For direct access to step-specific pause parameters
- In advanced configuration scenarios for individual steps
Example
// Get current cycle manager
VAR
currentManager : ICycleManagerStepParameters;
END_VAR
currentManager := stepPauseConfig.cycleManager;
// Check current step pause state
IF currentManager.currentPauseEnabled THEN
// Pause is enabled for current step
END_IF;
// Set new cycle manager
VAR
newManager : MyCycleManagerStepImplementation;
END_VAR
stepPauseConfig.cycleManager := newManager;
- Type: ICycleManagerStepParameters
- Getter:
public - Setter:
public
Code
Declaration
PROPERTY cycleManager : ICycleManagerStepParameters