Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Execution attributes

  • Last UpdatedJul 20, 2024
  • 3 minute read

The following table lists the Sequencer object attributes associated with the Sequencer execution at run time.

Attribute

Description

Run-time access

.ExecutionState

The execution state of the Sequencer can be:

  • "Running" (1)

  • "Stopped" (2)

  • "RunningHeld" (3)

  • "RunningSingleStep" (4)

  • "SingleStepTransitionReady" (5)

  • "StoppedComplete" (6)

  • "StoppedError" (7)

  • "Initializing" (8)

    Note: Depending on the current ExecutionState, certain ExecutionStateCmds are allowed while others are not.

Read-Only

.ExecutionStateCmd

Set the mode at run time to control the operation mode of the Sequencer Object:

"Start". Start the Sequencer (switch to running mode)

"Stop". Stop the Sequencer (switch to stopped mode)

"Reset". Start the Sequencer from the InitialStep in the state specified in by the InitialCommand. If InitialStep is blank, start from Step Number 1.

"Advance". Advance unconditionally to the next step (manually forced step transition)

Set at run time to force the value of StepNum to the next step without evaluating step conditions or timers or jump conditions or jump timers. If StepNum = StepCnt and StepNum < > FinalStep then StepNum advances to the first step (1). If the OnExit condition have not been set yet (step current step is in the step body) the OnExit outputs of the step transition is written if configured in the step condition.

"SingleStep". Run Sequencer in Single Step Mode.

Supervisory, User

.ExecutionStateCmd (continued)

"Confirm". Confirm a pending single step transition. Set at run time to confirm the transition to the next step or jump destination in the state: "SingleStepTransitionReady"

"Hold" Switch to RunningHeld

"Resume" Resume to running from HOLD state

Note: When in "SingleStepTransitionReady" or "RunningHeld" state, the operator can still move to new steps using the "Advance", "Reset" commands or the StepNumCmd or StepNameCmd attributes.

Supervisory, User

.ExecutionHalted.Condition

Shows that the Sequencer is abnormally halted when:

  • a condition error occurs and HaltOnConditionError is true

  • an output error occurs and HaltOnConditionError is true

  • a failover occurs (without resume) and AutoResume is false

  • the object is switched OffScan and then OnScan and AutoResume is false

  • the hosting AppEnging is shutdown and restarted OnScan and AutoResume is false

    TRUE: The program execution was abnormally halted by the Sequencer.

    FALSE: The program execution is running as controlled by the user.

Read-Only

.ExecutionHaltedDesc

Warning description to indicate why the execution is halted.

Read-Only

.ConditionTriggerFailure.Condition

Monitors the ConditionTrigger of the CurrentStep and is set to True when a problem is detected.

TRUE: Failed to evaluate condition trigger of the current step because

  • either the trigger attribute quality is not Good

  • or the reference to the trigger cannot be resolved, coerced or made available.

    FALSE: No Condition Error detected in the current step.

Read-Only

.ConditionTriggerFailureDesc

Warning description that indicates a possible reason for the ConditionTriggerFailure.

Read-Only

.OnEntryOutputFailure.Condition

TRUE: Failed to evaluate condition trigger of the current step because

  • the output Alias reference cannot be resolved

  • or the output value cannot be coerced or the output Alias reference is unavailable.

    TRUE: In case of an On Entry Output error detected in the current step.

    FALSE: No OnEntry Output error detected in the current step.

Read-Only

.OnEntryOutputFailureDesc

Warning description for the OnEntryOutputFailure attribute.

Read-Only

.OnExitOutputFailure.Condition

TRUE: In case of an On Exit Output error detected in the current step because

  • the output Alias reference cannot be resolved

  • or the output value cannot be coerced or the output Alias reference is unavailable.

    FALSE: No OnExit Output error detected in the current step.

Read-Only

.OnExitOutputFailureDesc

Warning description for the OnExitOutputFailure attribute.

Read-Only

.StepNameCmd

Set to desired step name at run time to force the Sequencer Object to go unconditionally to this step without evaluating step conditions or timers or jump conditions or jump timers (manually forced jump transition). If the OnExit outputs of the current step have not been set yet, the OnExit values are written if JumpWriteOnExit is true before going to the new step location where the OnEntry output values are set. As soon as the new step position is reached all Current.xxx values are updated.

Run time: Forces the Sequencer Object to set the target step as the current step executing all OnExit and OnEntry output value settings.

Supervisory, User

.StepNumCmd

Set to desired step number at run time to force the Sequencer Object to go unconditionally to this step without evaluating step conditions or timers or jump conditions or jump timers (manually forced jump transition). If the OnExit outputs of the current step have not been set yet, the OnExit values are written if the JumpWriteOnExit is true before going to the new step location where the OnEntry output values are set. As soon as the new step position is reached all Current.xxx values are updated.

Run time: Forces Sequencer Object to set the target step as the current step executing all OnExit and OnEntry output value settings.

Supervisory, User

TitleResults for “How to create a CRG?”Also Available in