Class TcoSequencerModeController
Provides switching between sequencer modes so as handling stepping tasks in the step mode.
Inherited Members
Namespace: PlcDocu.TcoCore
Assembly: TcoCoreConnector.dll
Syntax
public abstract class TcoSequencerModeController : TcoObject
Constructors
| Improve this Doc View SourceTcoSequencerModeController()
Prevents creating instance of this class via public constructor
Declaration
public TcoSequencerModeController()
Fields
| Improve this Doc View Source_changeMode
Toggles between cyclic mode and step mode if not disabled.
See DisableModeChanging for detailed description.
Declaration
public TcoTask _changeMode
Field Value
Type | Description |
---|---|
TcoTask |
_DisableModeChanging
When TRUE
, disables changing between the modes of the sequencer.
Declaration
public object _DisableModeChanging
Field Value
Type | Description |
---|---|
System.Object |
_DisableStepSkipping
When TRUE
skipping steps of the sequencer using methods StepBackward()
and StepForward()
is disabled.
Declaration
public object _DisableStepSkipping
Field Value
Type | Description |
---|---|
System.Object |
_mode
Current mode of the sequencer.
Declaration
public short _mode
Field Value
Type | Description |
---|---|
System.Int16 |
_stepBackward
Triggers StepBackward task, that decrements current step (variable: TcoSequencer._theOrderOfTheCurrentlyExecutedStep
), in case the sequencer is in step mode, and the current step is greather than zero.
Declaration
public TcoTask _stepBackward
Field Value
Type | Description |
---|---|
TcoTask |
_stepForward
Triggers StepForward task, that increment current step (variable: TcoSequencer._theOrderOfTheCurrentlyExecutedStep
),
in case the sequencer is in step mode, and the current step is lower than number of steps in th sequence (variable: TcoSequencer._numberOfStepsInSequence
).
Declaration
public TcoTask _stepForward
Field Value
Type | Description |
---|---|
TcoTask |
_stepIn
Triggers StepIn task, that changes the current step status from ReadyToRun to Running. This causes starting the execution of the body of the current step.
Declaration
public TcoTask _stepIn
Field Value
Type | Description |
---|---|
TcoTask |
inCurrentStepRunning
Declaration
public object inCurrentStepRunning
Field Value
Type | Description |
---|---|
System.Object |
Properties
| Improve this Doc View SourceDisableModeChanging
When TRUE
, disables mode change.
Declaration
[IgnoreReflection]
public dynamic DisableModeChanging { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool |
DisableStepSkipping
When TRUE
disables step skipping (StepBackward()
and StepForward()
).
Declaration
[IgnoreReflection]
public dynamic DisableStepSkipping { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool |
Mode
Gets or sets the mode of the sequencer.
Declaration
[IgnoreReflection]
public dynamic Mode { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type eSequencerMode; Twin type: |
Methods
| Improve this Doc View SourceOnModeChange(Object, Object)
Executes when mode of the sequencer changes.
Declaration
[IgnoreReflection]
protected void OnModeChange(dynamic PreviousMode, dynamic NewMode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | PreviousMode | Plc type : eSequencerMode [VAR_INPUT]; Twin type :
|
System.Object | NewMode | Plc type : eSequencerMode [VAR_INPUT]; Twin type :
|
StepBackward()
Moves the sequencers pointer to the previous step.
Declaration
[IgnoreReflection]
public void StepBackward()
StepForward()
Moves the sequencers pointer to the next step.
Declaration
[IgnoreReflection]
public void StepForward()
StepIn()
Executes the step at the current sequencer's pointer.
Declaration
[IgnoreReflection]
public void StepIn()