Skip to main content

CycleManagerDefaultConfigurator

Short summary

A class to provide fluent access to the default sequence configuration of a cycle manager.

AccessAbstractFinalExtendsImplements
INTERNALNoNo-CNM_CycleManagerInterfaces.ISequenceConfiguration, CNM_CycleManagerInterfaces.IStopRequestConfiguration

UML Diagram

Parameters

none

Properties

cycleManager

Type: CNM_CycleManagerInterfaces.ICycleManagerDefaultParameters

Gets or sets the cycle manager default parameters interface used by this configurator.

errorStep

Type: DINT

This property sets the next step in case of an error.

pause

Type: CNM_CycleManagerInterfaces.IPauseConfiguration

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

requireSuccessStep

Type: BOOL

Specifies whether the SUCCESS step of the state machine can be skipped when the transition condition to SUCCESS is already fulfilled.

stepping

Type: CNM_CycleManagerInterfaces.ISteppingConfiguration

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

stepWidth

Type: DINT

Sets the default step width for automatic step increments in the sequence.

stopRequest

Type: CNM_CycleManagerInterfaces.IStopRequestConfiguration

Provides access to the stop request configuration interface.

timeout

Type: TIME

This property sets the maximum execution time for the current step.

timeoutStep

Type: DINT

This property sets the step that will be set if the current step reaches a timeout.

Methods

afterSuccessfulStep

  • Return type: VOID

Sets the stop request behavior to execute after successful step completion.

FB_Init

  • Parameters:
    • bInitRetains (BOOL): TRUE: the retain variables are initialized (reset warm / reset cold)
    • bInCopyCode (BOOL): TRUE: the instance will be copied to the copy code afterward (online change)
  • Return type: BOOL

code. You can evaluate the return value.methods explicitly and provide additional code there with the standard initializationThe return value is not evaluated. For a specific influence, you can also declare theFB_Init is always available implicitly and it is used primarily for initialization.## Short summary

ignore

  • Return type: VOID

Sets the stop request behavior to ignore all stop requests.

immediate

  • Return type: VOID

Sets the stop request behavior to always process stop requests immediately.

onBusy

  • Return type: VOID

This method sets the stop request behaviour to StepStopRequestMode.AFTER_NOT_SUCCESS.

Code

Declaration

FUNCTION_BLOCK INTERNAL CycleManagerDefaultConfigurator IMPLEMENTS CNM_CycleManagerInterfaces.ISequenceConfiguration, CNM_CycleManagerInterfaces.IStopRequestConfiguration
VAR
parameters :CNM_CycleManagerInterfaces.ICycleManagerDefaultParameters;
steperator :CycleManagerDefaultStepping();
pauserator :CycleManagerDefaultPausing();
END_VAR