cycleManager
Short summary
Gets or sets the cycle manager default parameters interface used for stepping configuration.
Purpose and usage
This property provides access to the underlying cycle manager default parameters interface that this stepping configurator operates on. It allows getting the current cycle manager instance and setting a new one if needed.
The property is primarily used internally but can be accessed for direct parameter manipulation or when switching between different cycle manager instances.
typical usage patterns
- Internal initialization: Set during configurator setup
- Runtime switching: Change cycle manager instances
- Direct access: Get parameters for advanced 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 stepping-related parameters
- In advanced configuration scenarios
Example
// Get current cycle manager
VAR
currentManager : ICycleManagerDefaultParameters;
END_VAR
currentManager := steppingConfig.cycleManager;
// Check current stepping state
IF currentManager.defaultSteppingEnabled THEN
// Stepping is enabled
END_IF;
// Set new cycle manager
VAR
newManager : MyCycleManagerImplementation;
END_VAR
steppingConfig.cycleManager := newManager;
- Type: CNM_CycleManagerInterfaces.ICycleManagerDefaultParameters
- Getter:
public - Setter:
public
Code
Declaration
PROPERTY cycleManager : CNM_CycleManagerInterfaces.ICycleManagerDefaultParameters