Skip to main content

pause

Short summary

Provides access to the pause configuration for the cycle manager sequence.

Purpose and usage

This property returns the pause configuration interface that allows setting pause-related parameters for the entire sequence. It provides a fluent interface for configuring how the cycle manager handles pause requests.

The pause configuration controls:

  • Whether pausing is allowed
  • Pause timeout behavior
  • Resume conditions
  • Pause state handling

typical usage patterns

  1. Enable/disable pausing: Control if sequence can be paused
  2. Set pause timeouts: Define maximum pause duration
  3. Configure resume: Set conditions for resuming
  4. Pause behavior: Define what happens during pause

When to use

  • To enable or disable pause functionality
  • When setting pause timeout limits
  • For configuring pause/resume behavior
  • To implement operator-controlled pausing

Example

// Enable pausing with timeout
cycleManager.configuration.configuration.sequence
.pause
.enabled(TRUE)
.timeout(T#30S);

// Disable pausing for critical operations
cycleManager.configuration.configuration.sequence
.pause
.enabled(FALSE);

// Configure pause with auto-resume
cycleManager.configuration.configuration.sequence
.pause
.enabled(TRUE)
.autoResume(TRUE)
.autoResumeDelay(T#5S);

Code

Declaration

PROPERTY pause : CNM_CycleManagerInterfaces.IPauseConfiguration