Symbol Class
Symbol class
Inheritance Hierarchy
SystemObject
TwinCAT.Ads.TypeSystemInstance
TwinCAT.Ads.TypeSystemSymbol
TwinCAT.Ads.TypeSystemUnionInstance
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class Symbol : Instance, IEquatable<Symbol>,
IValueSymbol, IValueRawSymbol, IHierarchicalSymbol, ISymbol, IAttributedInstance,
IInstance, IBitSize, IValueAnySymbol, IValueAccessorProvider, ISymbolFactoryServicesProvider,
IAdsSymbol, IProcessImageAddress, IContextMaskProviderThe Symbol type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the access rights. | |
|
|
Gets the Type Attributes. | |
|
|
Gets the size of this Instance in
bits. | |
|
|
Gets the (aligned) size of of the Type/Instance in Bytes | |
|
|
Gets the the DataTypeCategory of
the Instance. | |
|
|
Gets the comment. | |
|
|
Gets the connection that produces values for this IValueSymbol | |
|
|
Gets the context mask of this instance. | |
|
|
Gets the IDataType of the
IInstance. | |
|
|
Gets a value indicating whether this instance has a
value. | |
|
|
Gets the AmsAddress of the Process Image | |
|
|
Gets the index group of the Symbol | |
|
|
Gets the index offset of the Symbol | |
|
|
Gets the name of the instance (without periods (.) | |
|
|
Gets the relative / absolute access path to the instance (with
periods (.)) | |
|
|
Gets a value indicating whether this instance is not basing on
a full DataType but instead of some sort of bit mapping | |
|
|
Indicates that the Size of the Object is Byte aligned (BitSize
% 8 == 0) | |
|
|
Gets a value indicating whether the Symbols datatype is a Container type. | |
|
|
Gets or sets a value indicating whether an ancestor is a dereferenced Pointer | |
|
|
Gets or sets a value indicating whether an ancestor is a dereferenced Reference | |
|
|
Indicates that this instance is persistent. | |
|
|
Gets a value indicating whether this instance is
reference. | |
|
|
Gets a value indicating whether this instance is primitive. | |
|
|
Gets a value indicating whether IInstance is a
property. | |
|
|
Indicates that this instance is read only. | |
|
|
Gets a value indicating whether this instance is recursive. | |
|
|
Gets a value indicating whether this instance is
reference. | |
|
|
Gets a value indicating whether this IInstance is
static. | |
|
|
Indicates that this instance is a TcComInterfacePointer. | |
|
|
Indicates that this instance has set TypeGuid flag. | |
|
|
Gets a value indicating whether this instance is virtual. | |
|
|
Gets the namespace name. | |
|
|
Gets or sets the notification settings. | |
|
|
Gets the parent Symbol | |
|
|
Gets the size of the IDataType in bytes
or Bits dependant on IsBitType | |
|
|
Gets the number of SubSymbols | |
|
|
Gets the SubSymbols of the ISymbol | |
|
|
Gets the name of the DataType that is
used for this IInstance. | |
|
|
Gets the value encoding. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Ensures that the AccessRights are matched. | |
|
|
Equalses the specified inst. | |
|
|
Equals | |
|
|
Equalses the specified inst. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Gets the HashCode of the Address | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Handler function getting the size of the Instance | |
|
|
Handler function for reading the raw value | |
|
|
Handler function for reading the raw value | |
|
|
Handler function for reading the dynamic value. | |
|
|
Handler function for reading the dynamic value. | |
|
|
Sets a new InstanceName InstancePath | |
|
|
Handler function for reading the dynamic value. | |
|
|
Handler function for writing the dynamic value | |
|
|
Handler function for writing the RawValue | |
|
|
Handler function Writing the raw value asynchronously. | |
|
|
Handler function for writing the dynamic value | |
|
|
Handler function for writing the dynamic value | |
|
|
Reads the value of this Value into a new created instance of the managed type | |
|
|
Reads the value of this Value into a new created instance of the managed type | |
|
|
Reads the value of this Value into a new created instance of the managed type | |
|
|
Reads the value of this Value into a new created instance of the managed type | |
|
|
Reads the (AnyType) value asynchronously. | |
|
|
Read any value as an asynchronous operation. | |
|
|
Reads the raw value of the IValueSymbol (Ads Read / Write) | |
|
|
Reads the raw value of the IValueSymbol (Ads Read / Write) | |
|
|
Reads the raw value of the IValueSymbol (Ads Read / Write) asynchronously. | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Reads the Value of the IValueSymbol asynchronously. | |
|
|
Sets the type attributes | |
|
|
Sets the context mask. | |
|
|
Sets the parent symbol. | |
|
|
Returns a String that represents this
instance. | |
|
|
Reads the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Reads the value of this Value into the specified managed value. | |
|
|
Reads the value of this Value into the specified managed value. | |
|
|
Writes the raw value of the IValueSymbol (Ads Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads Read / Write) | |
|
|
Writes the raw value of the IValueSymbol (Ads Read / Write) | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol | |
|
|
Writes the Value of the IValueSymbol |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when the RawValue of the IValueSymbol has changed. | |
|
|
Occurs when the value of the IValueSymbol has changed. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Operator== | |
|
|
Implements the != operator. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Indicates, that the Instance value includes process memory
data, that cannot be read in one memory block. | |
|
|
Indicates, that the field is static or is not part of the
parents processimage memory location | |
|
|
Poll symbol values on trigger signals. | |
|
|
Polls the symbol as value sequence of object values with a
specified period time. | |
|
|
Polls symbol values on trigger signals. | |
|
|
Polls the symbol as value sequence of object values with a
specified period time. | |
|
|
Poll symbol values as a value sequence on trigger signals
(typed) | |
|
|
Polls the symbol as value sequence of object values with a
specified period time (typed) | |
|
|
Poll symbol values on trigger signals (typed) | |
|
|
Poll symbol values on trigger signals (typed) | |
|
|
Polls the symbol as value sequence of object values with a
specified period time (typed) | |
|
|
Poll symbol values as a sequence of annotated results (Value +
ErrorCode) | |
|
|
Poll symbol values with communication return codes. | |
|
|
Gets the Unwrapped Symbol | |
|
|
Gets an observable sequence when the value of the IValueSymbol has
changed. | |
|
|
Subscribes the IValueSymbol to an
observable sequence of values and writes them to the IValueSymbol. | |
|
|
Subscribes the IValueSymbol to an
observable sequence of values and writes them to the IValueSymbol. | |
|
|
Subscribes the IValueSymbol to an
observable sequence of values and writes them to the IValueSymbol. | |
|
|
Subscribes the IValueSymbol to an
observable sequence of values and writes them to the IValueSymbol. |
Remarks
A Symbol is a (named) memory object within the Process Image with a fixed address indicated by Index Group and Index Offset. Symbols can optionally be addressed by instance path and are bound to a specific DataType.
Reference
TwinCAT.Ads.TypeSystem Namespace Instance IValueSymbol IValueAnySymbol IValueAccessorProvider ISymbolFactoryServicesProvider IHierarchicalSymbolISymbolValueChangeNotifyIContextMaskProviderIInstanceInternalISymbolInternalIAdsSymbol
Beckhoff Automation GmbH & Co. KG 2001-2026
- Symbol.AccessRights Property
- Instance.Attributes Property
- Instance.BitSize Property
- Instance.ByteSize Property
- Instance.Category Property
- Instance.Comment Property
- Symbol.Connection Property
- Instance.ContextMask Property
- Instance.DataType Property
- Instance.HasValue Property
- Symbol.ImageBaseAddress Property
- Symbol.IndexGroup Property
- Symbol.IndexOffset Property
- Instance.InstanceName Property
- Symbol.InstancePath Property
- Instance.InstancePath Property
- Instance.IsBitType Property
- Instance.IsByteAligned Property
- Symbol.IsContainerType Property
- Symbol.IsDereferencedPointer Property
- Symbol.IsDereferencedReference Property
- Instance.IsPersistent Property
- Instance.IsPointer Property
- Symbol.IsPrimitiveType Property
- Instance.IsReadOnly Property
- Symbol.IsRecursive Property
- Instance.IsReference Property
- Instance.IsStatic Property
- Instance.IsTcComInterfacePointer Property
- Instance.IsTypeGuid Property
- Symbol.IsVirtual Property
- Instance.Namespace Property
- Symbol.NotificationSettings Property
- Symbol.Parent Property
- Instance.Size Property
- Symbol.SubSymbolCount Property
- Symbol.SubSymbols Property
- Instance.TypeName Property
- Symbol.ValueEncoding Property
- Symbol.EnsureRights Method
- Symbol.Equals Method
- Symbol.GetHashCode Method
- Instance.OnGetSize Method
- Symbol.OnReadRawValue Method
- Symbol.OnReadRawValueAsync Method
- Symbol.OnReadValue Method
- Symbol.OnReadValueAsync Method
- Symbol.OnSetInstanceName Method
- Instance.OnSetInstanceName Method
- Symbol.OnTryReadValue Method
- Symbol.OnTryWriteValue Method
- Symbol.OnWriteRawValue Method
- Symbol.OnWriteRawValueAsync Method
- Symbol.OnWriteValue Method
- Symbol.OnWriteValueAsync Method
- Symbol.ReadAnyValue Method (Type)
- Symbol.ReadAnyValue Method (Type, Int32)
- Symbol.ReadAnyValueAsync Method
- Symbol.ReadRawValue Method
- Symbol.ReadRawValue Method (Int32)
- Symbol.ReadRawValueAsync Method
- Symbol.ReadValue Method
- Symbol.ReadValue Method (Int32)
- Symbol.ReadValueAsync Method
- Instance.SetAttributes Method
- Instance.SetContextMask Method
- Symbol.SetParent Method
- Symbol.ToString Method
- Instance.ToString Method
- Symbol.TryReadValue Method
- Symbol.TryWriteValue Method
- Symbol.UpdateAnyValue Method (Object.)
- Symbol.UpdateAnyValue Method (Object., Int32)
- Symbol.WriteRawValue Method (.Byte.)
- Symbol.WriteRawValue Method (.Byte., Int32)
- Symbol.WriteRawValueAsync Method
- Symbol.WriteValue Method (Object)
- Symbol.WriteValue Method (Object, Int32)
- Symbol.WriteValueAsync Method
- Symbol.Equals Method (ISymbol)
- Symbol.Equals Method (Object)
- Symbol.Equals Method (Symbol)
- Symbol.ReadAnyValue.T. Method
- Symbol.ReadAnyValue.T. Method (Int32)
- Symbol.ReadAnyValueAsync Method (Type, CancellationToken)
- Symbol.ReadAnyValueAsync.T. Method (CancellationToken)
- Symbol.RawValueChanged Event
- Symbol.ValueChanged Event
- Symbol.Equality Operator
- Symbol.Inequality Operator
- Symbol.syncObject Field