• Articles
  • API reference
  • Previous Versions
Show / Hide Table of Contents
  • Connector
    • Vortex.Adapters.Connector.Tc3
      • AdsConnector
      • AdsConnector.OnAdsStateChangeDelegate
      • LiveClient
      • OnlineSymbolRetriever
      • OnlineVariableInfo
      • OnlineVariableInfo.SymbolLoaderSettings
      • ReportingConsole
      • ReportingConsole.UpdateStartUpDelegate
    • Vortex.Adapters.Connector.Tc3.Adapter
      • ConnectorFactory
      • SymbolLoadingMode
      • SymbolLoadMethod
      • Tc3ConnectorAdapter
    • Vortex.Adapters.Connector.Tc3.AdsExceptionsHandling
      • ExceptionHandler
    • Vortex.Adapters.Connector.Tc3.AdsValueTypes
      • AdsBit
      • AdsBool
      • AdsByte
      • AdsDate
      • AdsDateTime
      • AdsDInt
      • AdsDWord
      • AdsInt
      • AdsLInt
      • AdsLReal
      • AdsLTime
      • AdsLWord
      • AdsReal
      • AdsSInt
      • AdsString
      • AdsTime
      • AdsTimeOfDay
      • AdsUDInt
      • AdsUInt
      • AdsULInt
      • AdsUSInt
      • AdsWord
      • AdsWString
      • ClientSymbol
      • IAdsBaseType
    • Vortex.Adapters.Connector.Tc3Adapter.Adapter
      • NamespaceDoc
    • Vortex.Connector
      • CommStateEnum
      • ConnectorAdapter
      • DataExchangeStatusEnum
      • DummyConnector
      • DummyConnectorFactory
      • EnumeratorDiscriminatorAttribute
      • IConnector
      • IConnectorFactory
      • IgnoreReflectionAttribute
      • InterpolatedAncestor
      • InvalidLicenseConnector
      • InvalidLicenseConnectorAdapter
      • InvalidLicenseConnectorFactory
      • IPlain
      • ITwinController
      • ITwinObject
      • ITwinPrimitive
      • IValueTag
      • IValueTagExtensions
      • IValueTagInfo
      • IVortexElement
      • IVortexObject
      • IVortexObjectExtensions
      • IVortexOnlineObject
      • IVortexShadowObject
      • NamespaceDoc
      • RootVortexerObject
      • StringInterpolator
      • TypeComplexityEnum
    • Vortex.Connector.Attributes
      • AssemblyPlcCounterPart
      • CompilerOmissionGroups
      • CompilerOmitsAttribute
      • ReadOnlyAttribute
      • TypeMetaDescriptorAttribute
    • Vortex.Connector.Identity
      • IVortexIdentity
      • MemberByIdentityAttribute
      • NullVortexIdentity
      • VortexIdentityProvider
    • Vortex.Connector.LibraryDescriptors
      • TypeMetaData
    • Vortex.Connector.ValueTypes
      • NamespaceDoc
      • OnlinerBaseType
      • OnlinerBaseType.ValueChangeDelegate
      • OnlinerBaseType<T>
      • OnlinerBit
      • OnlinerBool
      • OnlinerByte
      • OnlinerDate
      • OnlinerDateTime
      • OnlinerDInt
      • OnlinerDWord
      • OnlinerInt
      • OnlinerLInt
      • OnlinerLReal
      • OnlinerLTime
      • OnlinerLWord
      • OnlinerReal
      • OnlinerSInt
      • OnlinerString
      • OnlinerTime
      • OnlinerTimeOfDay
      • OnlinerUDInt
      • OnlinerUInt
      • OnlinerULInt
      • OnlinerUSInt
      • OnlinerWord
      • OnlinerWString
      • ReadWriteAccess
      • ValueChangedEventArgs
      • ValueChangedEventHandlerDelegate
    • Vortex.Connector.ValueTypes.Online
      • IOnline<T>
      • IOnlineBit
      • IOnlineBool
      • IOnlineByte
      • IOnlineDate
      • IOnlineDateTime
      • IOnlineDInt
      • IOnlineDWord
      • IOnlineInt
      • IOnlineLInt
      • IOnlineLReal
      • IOnlineLTime
      • IOnlineLWord
      • IOnlineReal
      • IOnlineSInt
      • IOnlineString
      • IOnlineTime
      • IOnlineTimeOfDay
      • IOnlineUDInt
      • IOnlineUInt
      • IOnlineULInt
      • IOnlineUSInt
      • IOnlineWord
      • IOnlineWString
      • NamespaceDoc
    • Vortex.Connector.ValueTypes.Shadows
      • IShadow<T>
      • IShadowBit
      • IShadowBool
      • IShadowByte
      • IShadowDate
      • IShadowDateTime
      • IShadowDInt
      • IShadowDWord
      • IShadowInt
      • IShadowLInt
      • IShadowLReal
      • IShadowLTime
      • IShadowLWord
      • IShadowReal
      • IShadowSInt
      • IShadowString
      • IShadowTime
      • IShadowTimeOfDay
      • IShadowUDInt
      • IShadowUInt
      • IShadowULInt
      • IShadowUSInt
      • IShadowWord
      • IShadowWString
      • NamespaceDoc
    • Vortex.Connector.ValueValidation
      • BitValueValidationRule
      • BoolValueValidationRule
      • ByteValueValidationRule
      • DateTimeValueValidationRule
      • DateValueValidationRule
      • DintValueValidationRule
      • DWordValueValidationRule
      • IntValueValidationRule
      • IValueBoundaries<T>
      • LIntValueValidationRule
      • LRealValueValidationRule
      • LTimeValueValidationRule
      • LWordValueValidationRule
      • NamespaceDoc
      • OnlinerValidationRule<T>
      • RealValueValidationRule
      • SIntValueValidationRule
      • StringValueValidationRule
      • TimeOfDayValueValidationRule
      • TimeValueValidationRule
      • UDIntValueValidationRule
      • UIntValueValidationRule
      • ULIntValueValidationRule
      • USintValueValidationRule
      • ValidationResult
      • WordValueValidationRule
      • WStringValueValidationRule
    • Vortex.Localizations
      • IdentifierValidator
      • LocalizableItem
      • Localizables
      • LocalizationHelper
      • LocalizerDictionary
  • Presentation
    • Vortex.Presentation.Controls.Wpf
      • DateTimePickerBox
      • MultiConverter
      • TimePickerBaseBox
      • TimeTextBoxBaseBox
    • Vortex.Presentation.Controls.Wpf.Enumerators
      • EnumeratorContainer
      • EnumeratorContainerControlSlimView
      • EnumeratorContainerControlSlimViewModel
      • EnumeratorContainerControlView
      • EnumeratorContainerControlViewModel
      • EnumeratorContainerDisplaySlimView
      • EnumeratorContainerDisplaySlimViewModel
      • EnumeratorContainerDisplayView
      • EnumeratorContainerDisplayViewModel
      • EnumeratorContainerShadowControlSlimView
      • EnumeratorContainerShadowControlSlimViewModel
      • EnumeratorContainerShadowControlView
      • EnumeratorContainerShadowControlViewModel
      • EnumeratorContainerShadowDisplaySlimView
      • EnumeratorContainerShadowDisplaySlimViewModel
      • EnumeratorContainerShadowDisplayView
      • EnumeratorContainerShadowDisplayViewModel
      • EnumeratorContainerViewModel
      • EnumToIntConverter
    • Vortex.Presentation.Controls.Wpf.Extension
      • AttributeStringFormatExtensions
      • DateTimePicker
    • Vortex.Presentation.Controls.Wpf.OnlineControl
      • OnlineControlCheckBox
      • OnlineControlCheckBoxValue
      • OnlineControlDate
      • OnlineControlDateTime
      • OnlineControlLTime
      • OnlineControlTextBox
      • OnlineControlTextBoxValue
      • OnlineControlTime
      • OnlineControlTimeOfDay
      • OnlineControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.OnlineControls
      • OnlineControlSlimCheckBox
      • OnlineControlSlimCheckBoxValue
      • OnlineControlSlimDate
      • OnlineControlSlimDateTime
      • OnlineControlSlimLTime
      • OnlineControlSlimTextBox
      • OnlineControlSlimTextBoxValue
      • OnlineControlSlimTime
      • OnlineControlSlimTimeOfDay
    • Vortex.Presentation.Controls.Wpf.OnlineDisplay
      • OnlineDisplayCheckBox
      • OnlineDisplayTextBox
      • OnlineDisplayTextBoxValue
      • OnlineDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowControl
      • ShadowControlCheckBox
      • ShadowControlCheckBoxValue
      • ShadowControlDate
      • ShadowControlDateTime
      • ShadowControlLTime
      • ShadowControlTextBox
      • ShadowControlTextBoxValue
      • ShadowControlTime
      • ShadowControlTimeOfDay
      • ShadowControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowDisplay
      • ShadowDisplayCheckBox
      • ShadowDisplayTextBox
      • ShadowDisplayTextBoxValue
      • ShadowDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.Shared.Base
      • TimeAndDateConverterFactory
    • Vortex.Presentation.ControlSlims.Wpf
      • MultiConverter
    • Vortex.Presentation.ControlSlims.Wpf.OnlineDisplaySlim
      • OnlineDisplaySlimCheckBox
      • OnlineDisplaySlimTextBox
      • OnlineDisplaySlimTextBoxValue
      • OnlineDisplaySlimTimeTextBox
    • Vortex.Presentation.ControlSlims.Wpf.ShadowControlSlim
      • ShadowControlSlimCheckBox
      • ShadowControlSlimCheckBoxValue
      • ShadowControlSlimDate
      • ShadowControlSlimDateTime
      • ShadowControlSlimLTime
      • ShadowControlSlimTextBox
      • ShadowControlSlimTextBoxValue
      • ShadowControlSlimTime
      • ShadowControlSlimTimeOfDay
    • Vortex.Presentation.ControlSlims.Wpf.ShadowDisplaySlim
      • ShadowDisplaySlimCheckBox
      • ShadowDisplaySlimTextBox
      • ShadowDisplaySlimTextBoxValue
      • ShadowDisplaySlimTimeTextBox
    • Vortex.Presentation.Styling.Wpf
      • VortexResources
    • Vortex.Presentation.Styling.Wpf.Assist
      • DataGridAssist
    • Vortex.Presentation.Wpf
      • ActionRunner
      • ActionRunner.UserApprovedActionDelegate
      • BindableBase
      • ConsoleWriter
      • ConsoleWriterEventArgs
      • ContentOpeningMode
      • CreatorFailureDisplayBox
      • DateFormatConverter
      • DateTimeFormatConverter
      • EnumeratorHelper
      • EnumHelper
      • EnumToCollectionConverter
      • INavigable
      • LazyRenderer
      • MenuControlsHelper
      • MenuControlView
      • MenuControlViewModel
      • MenuControlViewTestViewModel
      • MenuRenderableControlViewModel
      • MvvmVisualState
      • NavCommand
      • NavigableRenderableViewModelBase
      • NavigableViewModelBase
      • PresentationHelper
      • RelayCommand
      • RelayCommand<T>
      • RenderableAssemblyAttribute
      • RenderableContentControl
      • RenderableContentDelayedControl
      • RenderableViewModel
      • RenderContentConverter
      • RenderContentDelayedConverter
      • Renderer
      • Renderer.BaseTypeProperies
      • Renderer.ComponentsCacheItem
      • ReportingLevel
      • SelectedButtonConverter
      • StartUpWindow
      • TestView
      • TimeFormatConverter
      • TooManyObjectsToRenderException
      • ValueDescription
      • WpfLayoutProvider
    • Vortex.Presentation.Wpf.Converters
      • BaseConverter
      • BaseMultiConverter
      • CapitalizeConverter

Class OnlineVariableInfo

Online variable information class.

Inheritance
System.Object
OnlineVariableInfo
Implements
IValueTagInfo
Namespace: Vortex.Adapters.Connector.Tc3
Assembly: Vortex.Adapters.Connector.Tc3.dll
Syntax
sealed class OnlineVariableInfo : IValueTagInfo

Constructors

OnlineVariableInfo(String, AdsClient)

Declaration
OnlineVariableInfo(string symbol, AdsClient client)
Parameters
Type Name Description
System.String symbol
TwinCAT.Ads.AdsClient client

Fields

_client

Declaration
AdsClient _client
Field Value
Type Description
TwinCAT.Ads.AdsClient

_handle

Declaration
uint _handle
Field Value
Type Description
System.UInt32

_symbols

Declaration
static Dictionary<string, ISymbol> _symbols
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, TwinCAT.TypeSystem.ISymbol>

reservedGroups

Declaration
static IEnumerable<uint> reservedGroups
Field Value
Type Description
System.Collections.Generic.IEnumerable<System.UInt32>

Properties

AdsSymbol

Declaration
public ISymbol AdsSymbol { get; }
Property Value
Type Description
TwinCAT.TypeSystem.ISymbol

BitSize

Gets the length of the variable.

Declaration
public int BitSize { get; }
Property Value
Type Description
System.Int32

Handle

Declaration
public uint Handle { get; }
Property Value
Type Description
System.UInt32

IndexGroup

Declaration
uint IndexGroup
{
}
Property Value
Type Description
System.UInt32

IndexOffset

Gets index offset of the variable.

Declaration
uint IndexOffset
{
}
Property Value
Type Description
System.UInt32

IsAvailableInController

Gets a value indicating whether the variable is available in the controller.

Declaration
bool IsAvailableInController
{
}
Property Value
Type Description
System.Boolean

IsValid

Declaration
bool IsValid
{
}
Property Value
Type Description
System.Boolean

Length

Gets the length of the variable.

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32

Name

Gets or sets variables name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

ReservedGroups

Declaration
static IEnumerable<uint> ReservedGroups
{
}
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.UInt32>

Size

Gets the length of the variable.

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32

Symbol

Gets the symbol of the variable.

Declaration
public string Symbol { get; }
Property Value
Type Description
System.String

Methods

CreateSymbolTable(ISymbolCollection<ISymbol>, AdsConnector)

Declaration
static void CreateSymbolTable(ISymbolCollection<ISymbol> symbols, AdsConnector connector)
Parameters
Type Name Description
TwinCAT.TypeSystem.ISymbolCollection<TwinCAT.TypeSystem.ISymbol> symbols
AdsConnector connector

InvalidateSymbol()

Declaration
void InvalidateSymbol()

IsSymbolExpectedToBeAvailable(OnlineVariableInfo)

Gets true when online variable is expected to be is available in the controller and accessible to .Net environment.

Declaration
static bool IsSymbolExpectedToBeAvailable(OnlineVariableInfo onlineSymbolInfo)
Parameters
Type Name Description
OnlineVariableInfo onlineSymbolInfo

Online variable symbol information.

Returns
Type Description
System.Boolean

The System.Boolean.

Link(String, AdsConnector, OnlineVariableInfo)

Declaration
void Link(string symbol, AdsConnector connector, OnlineVariableInfo varInfo)
Parameters
Type Name Description
System.String symbol
AdsConnector connector
OnlineVariableInfo varInfo

LinkOnlineVariableSymbolInfo(String, AdsConnector)

Declaration
void LinkOnlineVariableSymbolInfo(string symbol, AdsConnector connector)
Parameters
Type Name Description
System.String symbol
AdsConnector connector

LinkOnlineVariableSymbolInfo(OnlineVariableInfo, AdsConnector)

Declaration
void LinkOnlineVariableSymbolInfo(OnlineVariableInfo symbol, AdsConnector connector)
Parameters
Type Name Description
OnlineVariableInfo symbol
AdsConnector connector

LoadSymbolOnTheFly(AdsConnector)

Declaration
void LoadSymbolOnTheFly(AdsConnector connector)
Parameters
Type Name Description
AdsConnector connector

LoadSymbolOnTheFlyFromPreLoadedSymbols(AdsConnector)

Declaration
void LoadSymbolOnTheFlyFromPreLoadedSymbols(AdsConnector connector)
Parameters
Type Name Description
AdsConnector connector

LoadSymbolOnTheFlyUseSymbolLoader(AdsConnector)

Declaration
void LoadSymbolOnTheFlyUseSymbolLoader(AdsConnector connector)
Parameters
Type Name Description
AdsConnector connector

LoadSymbolOnTheFlyUseSymbolReader(AdsConnector)

Declaration
void LoadSymbolOnTheFlyUseSymbolReader(AdsConnector connector)
Parameters
Type Name Description
AdsConnector connector

SymbolInfoFactory(IAdsSymbol, String, AdsClient)

Declaration
public static OnlineVariableInfo SymbolInfoFactory(IAdsSymbol adsSymbolInfo, string symbol, AdsClient client)
Parameters
Type Name Description
TwinCAT.Ads.TypeSystem.IAdsSymbol adsSymbolInfo
System.String symbol
TwinCAT.Ads.AdsClient client
Returns
Type Description
OnlineVariableInfo

Explicit Interface Implementations

IValueTagInfo.Group

Declaration
uint IValueTagInfo.Group { get; }
Returns
Type Description
System.UInt32

IValueTagInfo.IsAvailable

Declaration
bool IValueTagInfo.IsAvailable { get; }
Returns
Type Description
System.Boolean

IValueTagInfo.Length

Declaration
int IValueTagInfo.Length { get; }
Returns
Type Description
System.Int32

IValueTagInfo.Offset

Declaration
uint IValueTagInfo.Offset { get; }
Returns
Type Description
System.UInt32

IValueTagInfo.Size

Declaration
int IValueTagInfo.Size { get; }
Returns
Type Description
System.Int32

Implements

IValueTagInfo

Extension Methods

IValueTagExtensions.Cast<T>(T, Object)
In This Article
Back to top

Generated by DocFX | Developed with ❤ at MTS - putting the heart into manufacturing.