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 TcoContext

Root construction container, provides context information for TcoObjects declared within its scope. This function block is abstract and cannot be instantiated. Use Run() to run this context, Run method must be called only once per PLC Task cycle. Several 'TcoContext' instances can be declared and called inside one TwinCAT PlcTask, but only once per PLC cycle. The instance should not be accessed from several Twincat PlcTasks. Default implemenation of the 'TcoContext' allows its child members access properties StartCycleCount and EndCycleCount, messenger settings, rtc and other information related to the context of the running logic.

tip

A TcoContext can contain objects, components and PLC logic of one independent station of the machine, while the another one can cover the same for another station.

tip

TwinCAT PlcTask and TcoTask() refer to two different concepts.

Inheritance
System.Object
TcoContext
_internals_TcoContext
TcoContextCompatibility
Inherited Members
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 TcoContext
Examples

Declaration part of the 'TcoContext' example.

(*

    THIS EXAMPLE AIMS TO EXPLAIN WHAT CONTEXT AND IDENITY ARE IN A 'TcoOpen' APPLICATION.
    SEE Main() method of this block.	

*)
FUNCTION_BLOCK VitoCorleone_Context EXTENDS TcoCore.TcoContext
VAR
(*	
    Each context member object has it 'context' and assigned when instantiated (at birth)
    This is typically done by instantiating the objects with FB_init(ITcoObject) as follows
    These are Don Corleone's children. When you look inside definitions you' find 
    Don Corleone's grand-childrend (whole family shares the same context).
*)
    _santino : Santino_Object(THIS^);
    _thomas : Thomas_Object(THIS^);
    _frederico : Frederico_Object(THIS^);
    _michael : Michael_Object(THIS^);
    _costanzia : Constanzia_Object(THIS^);
END_VAR

VAR
    _donCorleoneContext : ITcoContext;
    _isSameContext : BOOL;
    
    _donCorleoneIdentity : ULINT;
    _isDifferentIndentity : BOOL;
END_VAR

Implementation part of the 'TcoContext' example.

(*

                    CONTEXT vs IDENTITY

*)

// In Corleone family they all share the same context that is that of Don Vito Corleone


// Here is the tree of family Corleone

// https://godfather.fandom.com/wiki/Corleone_family

_donCorleoneContext := THIS^.Context;
_isSameContext :=
                // Santino
                    _donCorleoneContext = THIS^._santino.Context
                // Santino's kids
                    AND (THIS^._santino.Context = THIS^._santino._francesca.Context 
                    AND THIS^._santino.Context = THIS^._santino._frank.Context 
                    AND THIS^._santino.Context = THIS^._santino._kathryn.Context 
                    AND THIS^._santino.Context = THIS^._santino._santino.Context)
                // Thomas
                    AND THIS^._santino.Context = THIS^._thomas.Context
                // Thomas' kids
                    AND (THIS^._thomas.Context = THIS^._thomas._andrew.Context 
                    AND THIS^._thomas.Context = THIS^._thomas._christina.Context 
                    AND THIS^._thomas.Context = THIS^._thomas._frank.Context 
                    AND THIS^._thomas.Context = THIS^._thomas._gianna.Context)
                // Frederico
                    AND THIS^._thomas.Context = THIS^._frederico.Context
                // Frederico's kids
                    AND (THIS^._frederico.Context = THIS^._frederico._fredo.Context) 
                // Michael
                    AND THIS^._frederico.Context = THIS^._michael.Context
                // Michael's kids
                    AND (THIS^._michael.Context = THIS^._michael._anthony.Context 
                    AND THIS^._michael.Context = THIS^._michael._mary.Context)
                // Constanzia
                    AND THIS^._michael.Context = THIS^._costanzia.Context
                // Constanzia's kids
                    AND (THIS^._costanzia.Context = THIS^._costanzia._michael.Context 
                    AND THIS^._costanzia.Context = THIS^._costanzia._victor.Context);

// However each member of the family has different personal identity and that might 
// be source of trouble

_donCorleoneIdentity := THIS^.Identity;
_isDifferentIndentity := 
                    // Santino
                        _donCorleoneIdentity <> THIS^._santino.Identity 					
                    // Santino's kids
                        AND (THIS^._santino.Identity <> THIS^._santino._francesca.Identity 
                        AND THIS^._santino.Identity <> THIS^._santino._frank.Identity 
                        AND THIS^._santino.Identity <> THIS^._santino._kathryn.Identity 
                        AND THIS^._santino.Identity <> THIS^._santino._santino.Identity)
                    // Thomas
                        AND THIS^._santino.Identity <> THIS^._thomas.Identity
                    // Thomas' kids
                        AND (THIS^._thomas.Identity <> THIS^._thomas._andrew.Identity 
                        AND THIS^._thomas.Identity <> THIS^._thomas._christina.Identity 
                        AND THIS^._thomas.Identity <> THIS^._thomas._frank.Identity 
                        AND THIS^._thomas.Identity <> THIS^._thomas._gianna.Identity)
                    // Frederico
                        AND THIS^._thomas.Identity <> THIS^._frederico.Identity
                    // Frederico's kids
                        AND (THIS^._frederico.Identity <> THIS^._frederico._fredo.Identity) 
                    // Michael
                        AND THIS^._frederico.Identity <> THIS^._michael.Identity
                    // Michael's kids
                        AND (THIS^._michael.Identity <> THIS^._michael._anthony.Identity 
                        AND THIS^._michael.Identity <> THIS^._michael._mary.Identity)
                    // Constanzia
                        AND THIS^._michael.Identity <> THIS^._costanzia.Identity
                    // Constanzia's kids
                        AND (THIS^._costanzia.Identity <> THIS^._costanzia._michael.Identity 
                        AND THIS^._costanzia.Identity <> THIS^._costanzia._victor.Identity);
 

// Once the context is asigned (at birth [instantiated]) it cannot be changed, 
// an attempt to change the context will result in vendetta.

Constructors

| Improve this Doc View Source

TcoContext()

Prevents creating instance of this class via public constructor

Declaration
public TcoContext()

Fields

| Improve this Doc View Source

_endCycleCount

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

_Identity

Identity of this TcoContext. This variable is used in the higher level applications, it allows to identify the context in SCADA like applications.

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

_logger

Declaration
public TcoLogger _logger
Field Value
Type Description
TcoLogger
| Improve this Doc View Source

_messagingLevel

Declaration
public short _messagingLevel
Field Value
Type Description
System.Int16
| Improve this Doc View Source

_rtc

Declaration
public TcoRtc _rtc
Field Value
Type Description
TcoRtc
| Improve this Doc View Source

_settings

Declaration
public TcoContextEnvironment _settings
Field Value
Type Description
TcoContextEnvironment
| Improve this Doc View Source

_startCycleCount

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

_timeSychnMessenger

Declaration
public TcoMessenger _timeSychnMessenger
Field Value
Type Description
TcoMessenger

Properties

| Improve this Doc View Source

Context

Returns reference to this instance of the TcoContext().

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

Plc type ITcoContext; Twin type:

| Improve this Doc View Source

EndCycleCount

Gets the value of the counter incrememented by '1' at the end of each execution of this TcoContext().

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

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

| Improve this Doc View Source

Identity

Returns the identity of this TcoContext(). This value is assigned when instantiated and cannot be changed at runtime. This member 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

Logger

Gets logger for this context.

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

Plc type ITcoLogger; Twin type:

| Improve this Doc View Source

StartCycleCount

Gets number of executions of this context. Value of this property is incremented by '1' at the beginning of the TcoContext().

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

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

Methods

| Improve this Doc View Source

Close()

This method is called implicitly at the entry point of this context (Run()).

important

Do not call this method explicitly!

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

Main()

Main method of the TcoContext. This is the entry point of any control logic that belongs to this context. The call of this method is ensured by calling the InstanceName.Run() method, and it must not be called explicitly. This method is abstract, and it must be overridden in derived block.

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

OnEntry()

Called on entry into context. When overridden in derived class allows to execute an arbitrary logic prior to opening the context cycle.

important

The method executes prior to opening the context. The context might not be properly initialized on first call. Any information contained in the context at this point are from the last execution.

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

OnExit()

Called upon exit from the context. When overridden in derived class allows to execute an arbitrary logic after closing the context cycle.

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

Open()

This method is called implicitly at the entry point of this context (Run()).

important

Do not call this method explicitly.

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

RtcSynchronize(Object, Object, Object)

Syncronizes the Real Time Clock (RTC) from given source.

important

There is single RTC source for entire application. All context share the same RTC source.

Declaration
[IgnoreReflection]
public dynamic RtcSynchronize(dynamic inDoSynch, dynamic inSyncAmsId, dynamic inSyncPeriod)
Parameters
Type Name Description
System.Object inDoSynch

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

When called with true the synchronization mechanism executes.

System.Object inSyncAmsId

Plc type : STRING [VAR_INPUT]; Twin type : Vortex.Connector.ValueTypes.OnlinerString

```AMS ID``` of the system against which RTC of this application will synchronize.

System.Object inSyncPeriod

Plc type : UINT [VAR_INPUT]; Twin type : Vortex.Connector.ValueTypes.OnlinerUInt

Set the synchronisation period.

Returns
Type Description
System.Object

Plc type TcoContext; Twin type: TcoContext

| Improve this Doc View Source

Run()

This method executes of this context. It provided correct order of execution order of inner methods. Any logic of this context must be called within Main() method. This method is final, so it cannot be overriden. The InstanceName.Run() needs to be called cyclically.

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

Generated by DocFX | Delivered by TcOpenGroup contributors