Skip to main content

ignore

Short summary

Sets the stop request behavior to ignore all stop requests.

Purpose and usage

This method configures the cycle manager to completely ignore all stop requests. When this mode is active, stop requests will not be processed at all, and the cycle will continue running until completion or until an error occurs.

This mode should be used with caution as it prevents normal stopping mechanisms from working.

typical usage patterns

  1. Critical sequences: Operations that must not be interrupted
  2. Atomic operations: Multi-step processes that must complete
  3. Safety sequences: Emergency procedures that must finish
  4. Calibration routines: Procedures that cannot be stopped

When to use

  • For critical operations that must complete without interruption
  • During safety-critical sequences
  • For atomic multi-step operations
  • When implementing non-interruptible calibration routines
  • Use with extreme caution - limits operator control

Example

// Configure to ignore stop requests
cycleManager.configuration.configuration.sequence
.stopRequest
.ignore();

// Usage in critical sequence
CASE cycleManager.steps.current OF
MySteps.CRITICAL_SEQUENCE_START:
// Configure to ignore stops for critical sequence
cycleManager.configuration.configuration.sequence
.stopRequest.ignore();
cycleManager.steps.next := MySteps.CRITICAL_STEP_1;

MySteps.CRITICAL_SEQUENCE_END:
// Re-enable stop handling after critical sequence
cycleManager.configuration.configuration.sequence
.stopRequest.afterSuccess();
cycleManager.steps.next := MySteps.NORMAL_OPERATION;
END_CASE

// Stop requests during critical sequence will be ignored
IF stopButton THEN
cycleManager.requestStop(); // Has no effect when ignore is active
END_IF;

Parameters

none

Code

Declaration

METHOD ignore

Implementation

THIS^.cycleManager.defaultStopRequestMode := CNM_CycleManagerInterfaces.StepStopRequestMode.IGNORE;