Symbol Class
Symbol class
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TypeSystem.Instance
TwinCAT.Ads.TypeSystem.Symbol
TwinCAT.Ads.TypeSystem.UnionInstance
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.
See Also
Reference
TwinCAT.Ads.TypeSystem Namespace Instance IValueSymbol IValueAnySymbol IValueAccessorProvider ISymbolFactoryServicesProvider IHierarchicalSymbolISymbolValueChangeNotifyIContextMaskProviderIInstanceInternalISymbolInternalIAdsSymbol
Beckhoff Automation GmbH & Co. KG 2001-2026