TcOpen

  • Articles
  • API reference
Show / Hide Table of Contents
  • TcoCore
    • PlcDocu.TcoCore
      • _internals_TcoContext
      • _internals_TcoSequence
      • _internals_TcoSequencer
      • F_AnyToUnionValue
      • MAIN
      • NO
      • RtcPrg
      • RtcSynchParams
      • StepDetails
      • StringBuilder
      • TcoComponent
      • TcoContext
      • TcoContextCompatibility
      • TcoContextEnvironment
      • TcoContextNfCompatibility
      • TcoDialog
      • TcoDialogBase
      • TcoLogger
      • TcoLogItem
      • TcoMessage
      • TcoMessageDigest
      • TcoMessenger
      • TcoMessengerEnv
      • TcoMomentaryTask
      • TcoObject
      • TcoParentedStructure
      • TcoRemoteTask
      • TcoRtc
      • TcoSequence
      • TcoSequencer
      • TcoSequencerBase
      • TcoSequencerModeController
      • TcoSequencerObserver
      • TcoSignalInfo
      • TcoState
      • TcoStateBase
      • TcoStateExtendible
      • TcoStruct
      • TcoTask
      • TcoTaskResult
      • TcoTcoSequencerObserverDummy
      • TcoTier
      • TcoToggleTask
    • TcoCore
      • _internals_TcoContext
      • _internals_TcoSequence
      • _internals_TcoSequencer
      • eDialogAnswer
      • eDialogType
      • eMessageCategory
      • eMessageCondition
      • eMessageDigestMethod
      • eMessengerLogMethod
      • eRestoreMode
      • eSequencerError
      • eSequencerMode
      • eStepIdUniquenessControlState
      • eStepStatus
      • eTaskState
      • ExcludeFromApiDocumentationAttribute
      • F_AnyToUnionValue
      • I_internals_TcoContext
      • I_internals_TcoSequence
      • I_internals_TcoSequencer
      • IF_AnyToUnionValue
      • IMAIN
      • INO
      • IRtcPrg
      • IRtcSynchParams
      • IShadow_internals_TcoContext
      • IShadow_internals_TcoSequence
      • IShadow_internals_TcoSequencer
      • IShadowF_AnyToUnionValue
      • IShadowMAIN
      • IShadowNO
      • IShadowRtcPrg
      • IShadowRtcSynchParams
      • IShadowStepDetails
      • IShadowStringBuilder
      • IShadowTcoComponent
      • IShadowTcoContext
      • IShadowTcoContextCompatibility
      • IShadowTcoContextEnvironment
      • IShadowTcoContextNfCompatibility
      • IShadowTcoCoreTwinController
      • IShadowTcoDialog
      • IShadowTcoDialogBase
      • IShadowTcoLogger
      • IShadowTcoLogItem
      • IShadowTcoMessage
      • IShadowTcoMessageDigest
      • IShadowTcoMessenger
      • IShadowTcoMessengerEnv
      • IShadowTcoMomentaryTask
      • IShadowTcoObject
      • IShadowTcoParentedStructure
      • IShadowTcoRemoteTask
      • IShadowTcoRtc
      • IShadowTcoSequence
      • IShadowTcoSequencer
      • IShadowTcoSequencerBase
      • IShadowTcoSequencerModeController
      • IShadowTcoSequencerObserver
      • IShadowTcoSignalInfo
      • IShadowTcoState
      • IShadowTcoStateBase
      • IShadowTcoStateExtendible
      • IShadowTcoStruct
      • IShadowTcoTask
      • IShadowTcoTaskResult
      • IShadowTcoTcoSequencerObserverDummy
      • IShadowTcoTier
      • IShadowTcoToggleTask
      • IsTcoContext
      • IsTcoObject
      • IStepDetails
      • IStringBuilder
      • ITcoComponent
      • ITcoContext
      • ITcoContextCompatibility
      • ITcoContextEnvironment
      • ITcoContextNfCompatibility
      • ITcoCoreTwinController
      • ITcoDialog
      • ITcoDialogBase
      • ITcoLogger
      • ITcoLogItem
      • ITcoMessage
      • ITcoMessageDigest
      • ITcoMessenger
      • ITcoMessengerEnv
      • ITcoMomentaryTask
      • ITcoObject
      • ITcoParentedStructure
      • ITcoRemoteTask
      • ITcoRtc
      • ITcoSequence
      • ITcoSequencer
      • ITcoSequencerBase
      • ITcoSequencerModeController
      • ITcoSequencerObserver
      • ITcoSignalInfo
      • ITcoState
      • ITcoStateBase
      • ITcoStateExtendible
      • ITcoStruct
      • ITcoTask
      • ITcoTaskResult
      • ITcoTcoSequencerObserverDummy
      • ITcoTier
      • ITcoToggleTask
      • MAIN
      • MultipleRemoteCallInitializationException
      • NO
      • Plain_internals_TcoContext
      • Plain_internals_TcoSequence
      • Plain_internals_TcoSequencer
      • PlainF_AnyToUnionValue
      • PlainMAIN
      • PlainNO
      • PlainRtcPrg
      • PlainRtcSynchParams
      • PlainStepDetails
      • PlainStringBuilder
      • PlainTcoComponent
      • PlainTcoContext
      • PlainTcoContextCompatibility
      • PlainTcoContextEnvironment
      • PlainTcoContextNfCompatibility
      • PlainTcoCoreTwinController
      • PlainTcoDialog
      • PlainTcoDialogBase
      • PlainTcoLogger
      • PlainTcoLogItem
      • PlainTcoMessage
      • PlainTcoMessageDigest
      • PlainTcoMessenger
      • PlainTcoMessengerEnv
      • PlainTcoMomentaryTask
      • PlainTcoObject
      • PlainTcoParentedStructure
      • PlainTcoRemoteTask
      • PlainTcoRtc
      • PlainTcoSequence
      • PlainTcoSequencer
      • PlainTcoSequencerBase
      • PlainTcoSequencerModeController
      • PlainTcoSequencerObserver
      • PlainTcoSignalInfo
      • PlainTcoState
      • PlainTcoStateBase
      • PlainTcoStateExtendible
      • PlainTcoStruct
      • PlainTcoTask
      • PlainTcoTaskResult
      • PlainTcoTcoSequencerObserverDummy
      • PlainTcoTier
      • PlainTcoToggleTask
      • RtcPrg
      • RtcSynchParams
      • StepDetails
      • StringBuilder
      • TcoComponent
      • TcoContext
      • TcoContextCompatibility
      • TcoContextEnvironment
      • TcoContextNfCompatibility
      • TcoCoreTwinController
      • TcoDialog
      • TcoDialogBase
      • TcoLogger
      • TcoLogItem
      • TcoMessage
      • TcoMessageDigest
      • TcoMessenger
      • TcoMessengerEnv
      • TcoMomentaryTask
      • TcoObject
      • TcoObjectMessageHandler
      • TcoParentedStructure
      • TcoRemoteTask
      • TcoRtc
      • TcoSequence
      • TcoSequencer
      • TcoSequencerBase
      • TcoSequencerModeController
      • TcoSequencerObserver
      • TcoSignalInfo
      • TcoState
      • TcoStateBase
      • TcoStateExtendible
      • TcoStruct
      • TcoTask
      • TcoTask.ExecuteDialogDelegate
      • TcoTaskResult
      • TcoTcoSequencerObserverDummy
      • TcoTier
      • TcoToggleTask
    • TcoCore.Logging
      • IDecorateLog
      • LogInfo
    • TcoCore.Swift
      • TcoMomentaryTaskDefaultCodeProvider
      • TcoTaskDefaultCodeProvider
      • TcoToggleTaskDefaultCodeProvider
    • TcoCore.Testing
      • ITestContext
      • TcoContextTestRunners
  • TcoIo
    • PlcDocu.TcoIo
      • DiagnosticsMessenger
      • DiagnosticsMessengers
      • EtcMasterBase_62654B43
      • EtcSlaveBase_82538BE2
      • EtcSlaveBoxBase_77A0E4A7
      • EtcSlaveEndTerminalBase_866C7F0C
      • EtcSlaveTerminalBase_947E5A46
      • InfoData_23CBA837
      • InfoData_6F19DB2B
      • InfoData_84133AC9
      • InfoData_8649EEEB
      • InputBase_8311D824
      • Inputs_A65FACA4
      • MAIN
      • OutputBase_10CEE7DE
      • Outputs_23C0ED1D
      • SyncUnitsBase_AD6C35CE
      • SyncUnitState
      • SyncUnitTask_AB2F5079
      • SyncUnitTaskBase_FCD3CBF3
      • SyncUnitTasksBase_7C8711EB
      • TcoAmsAddr
      • TcoAmsNetId
      • TcoEthercat
      • TcoEthercatDiagnosticsTask
      • TcoEthercatMasterDevice
      • TcoSyncUnit
      • WcState_0B2B16F9
      • WcState_9091E0EB
    • TcoIo
      • DiagnosticsMessenger
      • DiagnosticsMessengers
      • Entry
      • EtcMasterBase_62654B43
      • EtcSlaveBase_82538BE2
      • EtcSlaveBoxBase_77A0E4A7
      • EtcSlaveEndTerminalBase_866C7F0C
      • EtcSlaveTerminalBase_947E5A46
      • IDiagnosticsMessenger
      • IDiagnosticsMessengers
      • IEtcMasterBase_62654B43
      • IEtcSlaveBase_82538BE2
      • IEtcSlaveBoxBase_77A0E4A7
      • IEtcSlaveEndTerminalBase_866C7F0C
      • IEtcSlaveTerminalBase_947E5A46
      • IInfoData_23CBA837
      • IInfoData_6F19DB2B
      • IInfoData_84133AC9
      • IInfoData_8649EEEB
      • IInputBase_8311D824
      • IInputs_A65FACA4
      • IMAIN
      • InfoData_23CBA837
      • InfoData_6F19DB2B
      • InfoData_84133AC9
      • InfoData_8649EEEB
      • InputBase_8311D824
      • Inputs_A65FACA4
      • IOutputBase_10CEE7DE
      • IOutputs_23C0ED1D
      • IShadowDiagnosticsMessenger
      • IShadowDiagnosticsMessengers
      • IShadowEtcMasterBase_62654B43
      • IShadowEtcSlaveBase_82538BE2
      • IShadowEtcSlaveBoxBase_77A0E4A7
      • IShadowEtcSlaveEndTerminalBase_866C7F0C
      • IShadowEtcSlaveTerminalBase_947E5A46
      • IShadowInfoData_23CBA837
      • IShadowInfoData_6F19DB2B
      • IShadowInfoData_84133AC9
      • IShadowInfoData_8649EEEB
      • IShadowInputBase_8311D824
      • IShadowInputs_A65FACA4
      • IShadowMAIN
      • IShadowOutputBase_10CEE7DE
      • IShadowOutputs_23C0ED1D
      • IShadowSyncUnitsBase_AD6C35CE
      • IShadowSyncUnitState
      • IShadowSyncUnitTask_AB2F5079
      • IShadowSyncUnitTaskBase_FCD3CBF3
      • IShadowSyncUnitTasksBase_7C8711EB
      • IShadowTcoAmsAddr
      • IShadowTcoAmsNetId
      • IShadowTcoEthercat
      • IShadowTcoEthercatDiagnosticsTask
      • IShadowTcoEthercatMasterDevice
      • IShadowTcoIoTwinController
      • IShadowTcoSyncUnit
      • IShadowWcState_0B2B16F9
      • IShadowWcState_9091E0EB
      • ISyncUnitsBase_AD6C35CE
      • ISyncUnitState
      • ISyncUnitTask_AB2F5079
      • ISyncUnitTaskBase_FCD3CBF3
      • ISyncUnitTasksBase_7C8711EB
      • ITcoAmsAddr
      • ITcoAmsNetId
      • ITcoEthercat
      • ITcoEthercatDiagnosticsTask
      • ITcoEthercatMasterDevice
      • ITcoIoTwinController
      • ITcoSyncUnit
      • IWcState_0B2B16F9
      • IWcState_9091E0EB
      • MAIN
      • OutputBase_10CEE7DE
      • Outputs_23C0ED1D
      • PlainDiagnosticsMessenger
      • PlainDiagnosticsMessengers
      • PlainEtcMasterBase_62654B43
      • PlainEtcSlaveBase_82538BE2
      • PlainEtcSlaveBoxBase_77A0E4A7
      • PlainEtcSlaveEndTerminalBase_866C7F0C
      • PlainEtcSlaveTerminalBase_947E5A46
      • PlainInfoData_23CBA837
      • PlainInfoData_6F19DB2B
      • PlainInfoData_84133AC9
      • PlainInfoData_8649EEEB
      • PlainInputBase_8311D824
      • PlainInputs_A65FACA4
      • PlainMAIN
      • PlainOutputBase_10CEE7DE
      • PlainOutputs_23C0ED1D
      • PlainSyncUnitsBase_AD6C35CE
      • PlainSyncUnitState
      • PlainSyncUnitTask_AB2F5079
      • PlainSyncUnitTaskBase_FCD3CBF3
      • PlainSyncUnitTasksBase_7C8711EB
      • PlainTcoAmsAddr
      • PlainTcoAmsNetId
      • PlainTcoEthercat
      • PlainTcoEthercatDiagnosticsTask
      • PlainTcoEthercatMasterDevice
      • PlainTcoIoTwinController
      • PlainTcoSyncUnit
      • PlainWcState_0B2B16F9
      • PlainWcState_9091E0EB
      • SyncUnitsBase_AD6C35CE
      • SyncUnitState
      • SyncUnitTask_AB2F5079
      • SyncUnitTaskBase_FCD3CBF3
      • SyncUnitTasksBase_7C8711EB
      • TcoAmsAddr
      • TcoAmsNetId
      • TcoEthercat
      • TcoEthercatDiagnosticsTask
      • TcoEthercatMasterDevice
      • TcoIoTwinController
      • TcoSyncUnit
      • WcState_0B2B16F9
      • WcState_9091E0EB
  • TcoElements
    • PlcDocu.TcoElements
      • MAIN
      • TcoAi
      • TcoAiConfig
      • TcoAiStatus
      • TcoAo
      • TcoAoConfig
      • TcoAoStatus
      • TcoDi
      • TcoDiConfig
      • TcoDo
    • TcoElements
      • Entry
      • IMAIN
      • IShadowMAIN
      • IShadowTcoAi
      • IShadowTcoAiConfig
      • IShadowTcoAiStatus
      • IShadowTcoAo
      • IShadowTcoAoConfig
      • IShadowTcoAoStatus
      • IShadowTcoDi
      • IShadowTcoDiConfig
      • IShadowTcoDo
      • IShadowTcoElementsTwinController
      • ITcoAi
      • ITcoAiConfig
      • ITcoAiStatus
      • ITcoAo
      • ITcoAoConfig
      • ITcoAoStatus
      • ITcoDi
      • ITcoDiConfig
      • ITcoDo
      • ITcoElementsTwinController
      • MAIN
      • PlainMAIN
      • PlainTcoAi
      • PlainTcoAiConfig
      • PlainTcoAiStatus
      • PlainTcoAo
      • PlainTcoAoConfig
      • PlainTcoAoStatus
      • PlainTcoDi
      • PlainTcoDiConfig
      • PlainTcoDo
      • PlainTcoElementsTwinController
      • TcoAi
      • TcoAiConfig
      • TcoAiStatus
      • TcoAo
      • TcoAoConfig
      • TcoAoStatus
      • TcoDi
      • TcoDiConfig
      • TcoDo
      • TcoElementsTwinController
  • TcoPneumatics
    • PlcDocu.TcoPneumatics
      • Global_Version
      • TcoCylinder
      • TcoCylinderBase
      • TcoCylinderConfig
      • TcoCylinderMoveTask
      • TcoCylinderStatus
    • TcoPneumatics
      • Global_Version
      • IGlobal_Version
      • IShadowGlobal_Version
      • IShadowTcoCylinder
      • IShadowTcoCylinderBase
      • IShadowTcoCylinderConfig
      • IShadowTcoCylinderMoveTask
      • IShadowTcoCylinderStatus
      • IShadowTcoPneumaticsTwinController
      • ITcoCylinder
      • ITcoCylinderBase
      • ITcoCylinderConfig
      • ITcoCylinderMoveTask
      • ITcoCylinderStatus
      • ITcoPneumaticsTwinController
      • PlainGlobal_Version
      • PlainTcoCylinder
      • PlainTcoCylinderBase
      • PlainTcoCylinderConfig
      • PlainTcoCylinderMoveTask
      • PlainTcoCylinderStatus
      • PlainTcoPneumaticsTwinController
      • TcoCylinder
      • TcoCylinderBase
      • TcoCylinderConfig
      • TcoCylinderMoveTask
      • TcoCylinderStatus
      • TcoPneumaticsTwinController
  • TcoDrivesBeckhoff
    • PlcDocu.TcoDrivesBeckhoff
      • HaltTask
      • HomeTask
      • Jog
      • MAIN
      • MoveAbsoluteTask
      • MoveModuloTask
      • MoveRelativeTask
      • MoveVelocityTask
      • Power
      • ResetTask
      • SetPositionTask
      • SoEResetTask
      • StopTask
      • TcoAxisOpModes
      • TcoAxisRef
      • TcoAxisStatus
      • TcoDriveSimple
      • TcoMovementState
    • TcoDrivesBeckhoff
      • eAxisEncoderReferenceSystem
      • eAxisParameter
      • eAxisStates
      • eDirection
      • eEncoderReferenceMode
      • eHomingMode
      • eJogMode
      • Entry
      • ePowerOverride
      • eSetPositionMode
      • eTcoMovementState
      • HaltTask
      • HomeTask
      • IHaltTask
      • IHomeTask
      • IJog
      • IMAIN
      • IMoveAbsoluteTask
      • IMoveModuloTask
      • IMoveRelativeTask
      • IMoveVelocityTask
      • IPower
      • IResetTask
      • ISetPositionTask
      • IShadowHaltTask
      • IShadowHomeTask
      • IShadowJog
      • IShadowMAIN
      • IShadowMoveAbsoluteTask
      • IShadowMoveModuloTask
      • IShadowMoveRelativeTask
      • IShadowMoveVelocityTask
      • IShadowPower
      • IShadowResetTask
      • IShadowSetPositionTask
      • IShadowSoEResetTask
      • IShadowStopTask
      • IShadowTcoAxisOpModes
      • IShadowTcoAxisRef
      • IShadowTcoAxisStatus
      • IShadowTcoDrivesBeckhoffTwinController
      • IShadowTcoDriveSimple
      • IShadowTcoMovementState
      • ISoEResetTask
      • IStopTask
      • ITcoAxisOpModes
      • ITcoAxisRef
      • ITcoAxisStatus
      • ITcoDrivesBeckhoffTwinController
      • ITcoDriveSimple
      • ITcoMovementState
      • Jog
      • MAIN
      • MoveAbsoluteTask
      • MoveAbsoluteTaskCodeProvider
      • MoveModuloTask
      • MoveModuloTaskCodeProvider
      • MoveRelativeTask
      • MoveRelativeTaskCodeProvider
      • MoveVelocityTask
      • MoveVelocityTaskCodeProvider
      • PlainHaltTask
      • PlainHomeTask
      • PlainJog
      • PlainMAIN
      • PlainMoveAbsoluteTask
      • PlainMoveModuloTask
      • PlainMoveRelativeTask
      • PlainMoveVelocityTask
      • PlainPower
      • PlainResetTask
      • PlainSetPositionTask
      • PlainSoEResetTask
      • PlainStopTask
      • PlainTcoAxisOpModes
      • PlainTcoAxisRef
      • PlainTcoAxisStatus
      • PlainTcoDrivesBeckhoffTwinController
      • PlainTcoDriveSimple
      • PlainTcoMovementState
      • Power
      • ResetTask
      • SetPositionTask
      • SoEResetTask
      • StopTask
      • TcoAxisOpModes
      • TcoAxisRef
      • TcoAxisStatus
      • TcoDrivesBeckhoffTwinController
      • TcoDriveSimple
      • TcoMovementState
  • TcoData
    • PlcDocu.TcoData
      • MAIN
      • MainContext
      • TcoDataExchange
      • TcoDataTask
      • TcoEntity
      • TcoExistsTask
    • TcoData
      • BrowsableObjectCreationException
      • DataView
      • DataViewModel
      • DataViewModel<T>
      • Entry
      • FunctionAvailability
      • HumanizeDateConverter
      • ICrudDataObject
      • IMAIN
      • IMainContext
      • IPlainTcoEntity
      • IShadowMAIN
      • IShadowMainContext
      • IShadowTcoDataExchange
      • IShadowTcoDataTask
      • IShadowTcoDataTwinController
      • IShadowTcoEntity
      • IShadowTcoExistsTask
      • ITcoDataExchange
      • ITcoDataTask
      • ITcoDataTwinController
      • ITcoEntity
      • ITcoExistsTask
      • MAIN
      • MainContext
      • ModeConverter
      • MultipleRemoteCallInitializationException
      • NullToVisibilityConverter
      • PercentageConverter
      • PlainMAIN
      • PlainMainContext
      • PlainTcoDataExchange
      • PlainTcoDataTask
      • PlainTcoDataTwinController
      • PlainTcoEntity
      • PlainTcoExistsTask
      • SelectedItemConverter
      • TcoDataExchange
      • TcoDataExchangeControlView
      • TcoDataExchangeControlViewModel
      • TcoDataExchangeDisplayView
      • TcoDataExchangeDisplayViewModel
      • TcoDataExchangeSimpleSelectorView
      • TcoDataExchangeSimpleSelectorViewModel
      • TcoDataExchangeView
      • TcoDataExchangeViewModel
      • TcoDataTask
      • TcoDataTwinController
      • TcoEntity
      • TcoExistsTask
      • ValueChangeItem
      • ValueChangeTracker
      • ValueItemDescriptor
      • ViewMode
    • TcoData.Repository.Json
      • Repository
    • TcOpen.Inxton.Data
      • DataBrowser
      • DataBrowser<T>
      • DataBrowser<T>.ImportItems
      • DataHelpers
      • DelegateAlreadySetException
      • IDataBrowser
      • RepositoryBase<T>
      • RepositoryNotInitializedException
      • RepositorySettings
    • TcOpen.Inxton.Data.InMemory
      • InMemoryRepository<T>
      • InMemoryRepositorySettings<T>
      • Repository
      • SameObjectReferenceException
    • TcOpen.Inxton.Data.Json
      • JsonRepository<T>
      • JsonRepositorySettings<T>
    • TcOpen.Inxton.Data.MongoDb
      • FloatTruncationSerializer
      • MongoDbCredentials
      • MongoDbRepository<T>
      • MongoDbRepositorySettings<T>
      • Repository
  • TcoInspectors
    • PlcDocu.TcoInspectors
      • MAIN
      • TcoAnalogueInspector
      • TcoAnalogueInspectorData
      • TcoComprehensiveResult
      • TcoDataInspector
      • TcoDataInspectorData
      • TcoDigitalInspector
      • TcoDigitalInspectorData
      • TcoInspectionGroup
      • TcoInspector
      • TcoInspectorData
      • TcoInspectorDialog
      • TcoInspectorTask
    • TcoInspectors
      • eInspectorResult
      • eOverallResult
      • GenericTcoInspectorDataView
      • ICloseable
      • IMAIN
      • IShadowMAIN
      • IShadowTcoAnalogueInspector
      • IShadowTcoAnalogueInspectorData
      • IShadowTcoComprehensiveResult
      • IShadowTcoDataInspector
      • IShadowTcoDataInspectorData
      • IShadowTcoDigitalInspector
      • IShadowTcoDigitalInspectorData
      • IShadowTcoInspectionGroup
      • IShadowTcoInspector
      • IShadowTcoInspectorData
      • IShadowTcoInspectorDialog
      • IShadowTcoInspectorsTwinController
      • IShadowTcoInspectorTask
      • IsInspector
      • IsInspectorData
      • ITcoAnalogueInspector
      • ITcoAnalogueInspectorData
      • ITcoComprehensiveResult
      • ITcoDataInspector
      • ITcoDataInspectorData
      • ITcoDigitalInspector
      • ITcoDigitalInspectorData
      • ITcoInspectionGroup
      • ITcoInspector
      • ITcoInspectorData
      • ITcoInspectorDialog
      • ITcoInspectorsTwinController
      • ITcoInspectorTask
      • MAIN
      • PlainMAIN
      • PlainTcoAnalogueInspector
      • PlainTcoAnalogueInspectorData
      • PlainTcoComprehensiveResult
      • PlainTcoDataInspector
      • PlainTcoDataInspectorData
      • PlainTcoDigitalInspector
      • PlainTcoDigitalInspectorData
      • PlainTcoInspectionGroup
      • PlainTcoInspector
      • PlainTcoInspectorData
      • PlainTcoInspectorDialog
      • PlainTcoInspectorsTwinController
      • PlainTcoInspectorTask
      • TcoAnalogueInspector
      • TcoAnalogueInspectorControlView
      • TcoAnalogueInspectorData
      • TcoAnalogueInspectorDisplayView
      • TcoAnalogueInspectorShadowControlView
      • TcoAnalogueInspectorShadowDisplayView
      • TcoComprehensiveResult
      • TcoDataInspector
      • TcoDataInspectorControlView
      • TcoDataInspectorData
      • TcoDataInspectorDisplayView
      • TcoDataInspectorShadowControlView
      • TcoDataInspectorShadowDisplayView
      • TcoDigitalInspector
      • TcoDigitalInspectorControlView
      • TcoDigitalInspectorData
      • TcoDigitalInspectorDisplayView
      • TcoDigitalInspectorShadowControlView
      • TcoDigitalInspectorShadowDisplayView
      • TcoInspectionGroup
      • TcoInspector
      • TcoInspectorData
      • TcoInspectorDialog
      • TcoInspectorDialogDialogView
      • TcoInspectorDialogDialogViewModel
      • TcoInspectorsTwinController
      • TcoInspectorTask
    • TcoInspectorsPlc
      • Entry
    • TcOpen.Inxton.TcoInspectors.Wpf
      • InspectorsIconConverter
      • InspectorsResultColorConverter
      • InspectorsResultDescriptionConverter
  • TcOpen.Inxton.Abstractions
    • TcoCore
      • IsTask
      • IVortexObjectExtensions
    • TcOpen.Inxton.Abstractions.Input
      • ITcoCommand
    • TcOpen.Inxton.Data
      • DataItemValidation
      • DateTimeProviderBase
      • DateTimeProviders
      • DuplicateIdException
      • eSearchMode
      • IBrowsableDataObject
      • IdentifierValueMismatchedException
      • IRepository
      • IRepository<T>
      • OnCreateDelegate<T>
      • OnCreateDoneDelegate<T>
      • OnCreateFailedDelegate<T>
      • OnDeleteDelegate
      • OnDeleteDoneDelegate
      • OnDeleteFailedDelegate
      • OnReadDelegate
      • OnReadDoneDelegate<T>
      • OnReadFailedDelegate
      • OnUpdateDelegate<T>
      • OnUpdateDoneDelegate<T>
      • OnUpdateFailedDelegate<T>
      • SearchOptions
      • StandardDateTimeProvider
      • UnableToLocateRecordId
      • UnableToUpdateRecord
      • ValidateDataDelegate<T>
    • TcOpen.Inxton.Dialogs
      • IsDialog
    • TcOpen.Inxton.Input
      • RelayCommand
    • TcOpen.Inxton.Logging
      • ILogger
    • TcOpen.Inxton.Security
      • AuthenticationServiceNotActiveException
      • AuthorizationRequestDelegate
      • AuthorizationTokenChangeRequestDelegate
      • IAuthenticationService
      • IExternalAuthorization
      • ISecurityManager
      • ISecurityManagerUserInfo
      • ISecurityProvider
      • IUser
      • OnTimedLogoutRequestDelegate
      • OnUserAuthentication
      • Role
    • TcOpen.Inxton.Swift
      • ICodeProvider
      • ICodeRecorder
      • RecordTaskActionDelegate
    • TcOpen.Inxton.Threading
      • Dispatcher
      • IDispatcher
  • TcOpen.Inxton.App
    • TcOpen.Inxton
      • DialogProxyServiceBase
      • TcoAppBuilder
      • TcoAppDomain
    • TcOpen.Inxton.App.Logging
      • LoggingHelpers
  • TcOpen.Inxton.Logging
    • Serilog.Sinks
      • MQTTLoggerConfigurationExtensions
      • MQTTSink
    • TcOpen.Inxton.Logging
      • DummyLoggerAdapter
      • SerilogAdapter
      • SerilogUserLogEnricher
  • Serilog.Sinks.MQTT

Class TcoTask

Provides basic task execution. Task is started by calling the Invoke() method. The Execute() method returns true, until the task is Done.

To get the actual state of the task, Ready, Busy, Error and Done properties are available.

Inheritance
System.Object
TcoObject
TcoTask
TcoRemoteTask
Inherited Members
TcoObject.EqualsTo(Object)
TcoObject.Messenger
TcoObject._Identity
TcoObject._messenger
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PlcDocu.TcoCore
Assembly: TcoCoreConnector.dll
Syntax
public abstract class TcoTask : TcoObject
Examples

Declaration part of the 'TcoTask' example.

(*

    This example shows using the 'Tcotask' application. 'TcoTask' is the simplest 
    'TcoOpen' coordination primitive.	 
    In general the body of the task could be devided into the three section: 
        1.)	Action		
        2.)	Termination condition for the expected behavior.	
        3.)	Termination condition for the non-expected behavior.	
    The body of the 'Tcotask' needs to be called cyclically. The 'Tcotask' could be then 
    invoked from 'outside'. The task of this 'Tcotask' is to ask for the favor
    (in the name of the 'TcoContext' in this example Don Corleone) and offer the return favor. 
    Task could end up the expected way in the 'DONE' state if the requested person grant 	 
    the favor or it could end up in the 'ERROR' state if the requested person refuses to grant 
    the favor. Each task could be invoked only from the 'READY' state. So if the task enters 
    the 'ERROR' state, it cannot be invoked again and has to be restored before. Anyway in this 
    example this task is never restored and invoked again as Don Corleone never asks for the 
    next favor if the first one was refused.	

*)
FUNCTION_BLOCK AskForTheFavor_Task EXTENDS TcoCore.TcoTask
VAR_INPUT
(*
    'Parameters' of this task are assigned in this example from 'outside' from the 
    'upper level' of the hierarchy, where Invoke() method is triggered.
*)
    _Person_Requested 		:	REFERENCE TO Person_Object;
    _RequestedFavor			:	STRING;
    _ReturnFavor			:	STRING;	
END_VAR

Implementation part of the 'TcoTask' example.

// THIS part needs to be called cyclically.
IF Execute() THEN
    // First section: Action.
        // Meet the right person and interpret the requirements so as a possible return favor.
        _Person_Requested.RequestForTheFavor(_RequestedFavor,_ReturnFavor);
        // Let the person requested to think carefully about the proposition.
        _Person_Requested.ThinkCarefully();
    // Second section: Termination condition for the expected behavior.
        // In the case that the requested person is "smart" and "show the respect" to the 
        // 'TcoContext', task finishes in the 'DONE' state and process of the granted the 
        // return favor should be started.  
        DoneWhen(_Person_Requested.FavorIsGranted());
    // Third section: Termination condition for the non-expected behavior.
        // In the case that the requested person is so self-confident and refuse to grant 
        // the favor, task finishes in the 'ERROR' state and automatically the OnTaskError() 
        // method is triggered. In this method normally the value of the ReturnFavor is 
        // drammatically decreased OR changed to 'Nothing'. Anyway the requested person still 
        // have the possibility to grant the favor but under different condition, as he
        // "had to do it the hard way".  
        ThrowWhen(_Person_Requested.FavorIsRefused());
END_IF

Example of the invoking this example 'TcoTask' instance 'outside' of the instance and wait if it ends-up in 'DONE' state or in 'ERROR' state.

    //Starting the execution of the 'TcoTask' instance extended by input parameters from 'outside' of the instance. 
    Thomas.AskForTheFavor(Jack_Woltz,'Grant movie role to Johny Fontane.','No future problems with unions.').Invoke();

// Checking from the 'outside' of the instance, if the task has already finished in expected way. 
    _FirstOfferAccepted := Thomas._AskForTheFavor.Done;

// Checking from the 'outside' of the instance, if the task has finished in non-expected way. 
    _FirstOfferRefused 	:= Thomas._AskForTheFavor.Error;

Constructors

| Improve this Doc View Source

TcoTask()

Prevents creating instance of this class via public constructor

Declaration
public TcoTask()

Fields

| Improve this Doc View Source

_abortRequest

Use to abort the executing task and set this instance back to the Ready state. The value is than set to FALSE.

Declaration
public object _abortRequest
Field Value
Type Description
System.Object
| Improve this Doc View Source

_elapsedTime

Declaration
public object _elapsedTime
Field Value
Type Description
System.Object
| Improve this Doc View Source

_enabled

Use to determine if the task execution is enabled for example from the HMI application. This value is read only, to modify it use the property Enabled

Declaration
public object _enabled
Field Value
Type Description
System.Object
| Improve this Doc View Source

_invokeRequest

Use to start the execution of the task from Ready state or from Done state by performing the rising edge.

Analogously to the xExecute signal of the PLCopen motion function blocks.

Declaration
public object _invokeRequest
Field Value
Type Description
System.Object
| Improve this Doc View Source

_isServiceable

Indicates whether the task is in serviceable state. The default state 'serviceable' that means that the task can be invoked from the higher-level application. The serviceable state is cancelled when the immediate parent is ITcoServiceable and at the same time the parent is not in servicebable state. TcoComponent is serviceable, in order for the component's task to be invokable from higher-level application component must call Service method to induce the component into serviceable state.

Declaration
public object _isServiceable
Field Value
Type Description
System.Object
| Improve this Doc View Source

_restoreRequest

Use to restore this instance to the Ready state. The value is than set to FALSE.

Declaration
public object _restoreRequest
Field Value
Type Description
System.Object
| Improve this Doc View Source

_taskState

Declaration
public short _taskState
Field Value
Type Description
System.Int16

Properties

| Improve this Doc View Source

AutoRestorable

Gets whether this instance is auto restorable. This is depends on the parent's settings; the value of this property is given by the parent of this object. This value is assigned after download by calling the implicit method FB_init() of the parent object and cannot be changed during runtime. The AutoRestorable property of this objects is retrieved from the EnableAutoRestore property of the parent object. This is done by calling the CheckIfAutoRestoreEnabledByParent() method inside the implicit method FB_init() after download. If this instance is the auto restorable it will call the Restore() method if:

1.) The Invoke() method has not been called for one or more cycles and starts to be called again.

2.) Parent object of this instance changes its state.

See also

Declaration
[IgnoreReflection]
public dynamic AutoRestorable { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Busy

Gets whether the task is executing.

Declaration
[IgnoreReflection]
public dynamic Busy { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Context

Gets the context of this object. This context is given by declaration, its value is assigned after download by calling the implicit method FB_init() and cannot be changed during runtime.

Declaration
[IgnoreReflection]
public dynamic Context { get; }
Property Value
Type Description
System.Object

Plc type ITcoContext; Twin type:

| Improve this Doc View Source

Done

Gets whether the task has succesfully completed the execution and did not enter into the Error state.

Declaration
[IgnoreReflection]
public dynamic Done { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

ElapsedTime

Gets the elapsed time of the execution of this task.

important

Uses `TIME` type. It might be not sutable for tasks running longer than 49 days.

Declaration
[IgnoreReflection]
public dynamic ElapsedTime { get; }
Property Value
Type Description
System.Object

Plc type TIME; Twin type: Vortex.Connector.ValueTypes.OnlinerTime

| Improve this Doc View Source

Enabled

Gets whether the task execution is enabled. The task can start with Invoke() method call only when this property si TRUE. If the task is Busy and this property transitions to FALSE, the task stops execution and enters Error state.

Declaration
[IgnoreReflection]
public dynamic Enabled { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Error

Returns true if the task has is in error state. To be able to start the the task again, Restore() method needs to be called before restarting it again calling Invoke() method.

Declaration
[IgnoreReflection]
public dynamic Error { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Identity

Gets identity of this TcoTask(). This value is assigned after download by calling the implicit method FB_init() and cannot be changed during runtime. This variable is used in the higher level applications.

Declaration
[IgnoreReflection]
public dynamic Identity { get; }
Property Value
Type Description
System.Object

Plc type ULINT; Twin type: Vortex.Connector.ValueTypes.OnlinerULInt

| Improve this Doc View Source

Ready

Gets whether the task is ready to be started (Tasks start by calling the Invoke() method).

Declaration
[IgnoreReflection]
public dynamic Ready { get; }
Property Value
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

State

Gets the actual state of this instance.

See for more details.

Declaration
[IgnoreReflection]
public dynamic State { get; }
Property Value
Type Description
System.Object

Plc type eTaskState; Twin type:

Methods

| Improve this Doc View Source

Abort()

Aborts the execution of this task and restores the ready state.

Declaration
[IgnoreReflection]
public void Abort()
| Improve this Doc View Source

AutoRestore()

Private method called each time that the Execute() method is called. If this instance is auto restorable, this method ensures calling the Restore() method if:

1.) Parent object of this instance changes its state in this Plc cycle.

2.) Parent object of this instance changes its state no mather when and this instance has not yet process this change.

3.) The Invoke() method has not been called for one or more cycles and starts to be called again.

See also AutoRestorable

See also

Declaration
[IgnoreReflection]
void AutoRestore()
| Improve this Doc View Source

CheckIfAutoRestoreEnabledByParent()

Declaration
[IgnoreReflection]
void CheckIfAutoRestoreEnabledByParent()
| Improve this Doc View Source

CheckIfCalledCyclically()

Private method called inside the Execute() method checking the cyclicall calling of this method. If this instance is auto restorable, this method ensures calling the Restore() method if the Execute() method has not been called for one or more cycles and starts to be called again.

See also AutoRestorable

See also

Declaration
[IgnoreReflection]
void CheckIfCalledCyclically()
| Improve this Doc View Source

DoneWhen(Object)

Completes the execution of this task when inCondition is true; the task transitions into Done state.

Declaration
[IgnoreReflection]
public void DoneWhen(dynamic inCondition)
Parameters
Type Name Description
System.Object inCondition

Plc type : BOOL [VAR_INPUT]; Twin type : Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Execute()

Returns true if the task is Busy, otherwise false. This method needs to be called cyclically.

Declaration
[IgnoreReflection]
public dynamic Execute()
Returns
Type Description
System.Object

Plc type BOOL; Twin type: Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

Invoke()

Use to start the execution of the task. The starting is possible from Ready state.

Moreover it is also possible to start the task again from Done state by performing the '''rising edge''' of the calling of the Invoke() method.

Analogously to the xExecute signal of the PLCopen motion function blocks.

Declaration
[IgnoreReflection]
public dynamic Invoke()
Returns
Type Description
System.Object

Plc type ITcoTaskStatus; Twin type:

| Improve this Doc View Source

OnAbort()

Executes when task is aborted.

Declaration
[IgnoreReflection]
protected void OnAbort()
| Improve this Doc View Source

OnDone()

Executes when task reaches the Done state .

Declaration
[IgnoreReflection]
protected void OnDone()
| Improve this Doc View Source

OnError()

Executes when task reaches the Error state.

Do not confuse with WhileError(), that is called cyclically until '''Error''' state is left.

Declaration
[IgnoreReflection]
protected void OnError()
| Improve this Doc View Source

Restore()

Restores this instance to the Ready state. Can be called explicitly or from within one of the restore mechanisms.

See also AutoRestorable

Declaration
[IgnoreReflection]
public dynamic Restore()
Returns
Type Description
System.Object

Plc type ITcoRestorable; Twin type:

| Improve this Doc View Source

ThrowWhen(Object)

When called with inCondition TRUE causes transition of the task into the Error state.

Declaration
[IgnoreReflection]
public void ThrowWhen(dynamic inCondition)
Parameters
Type Name Description
System.Object inCondition

Plc type : BOOL [VAR_INPUT]; Twin type : Vortex.Connector.ValueTypes.OnlinerBool

| Improve this Doc View Source

WhileError()

Executes until task is in Error state .

Do not confuse with OnError(), that is called just ones when '''Error''' state is entered.

Declaration
[IgnoreReflection]
protected void WhileError()
  • Improve this Doc
  • View Source
In This Article
Back to top

Generated by DocFX | Delivered by TcOpenGroup contributors