IValueSymbol Interface

Interface for a ISymbol that supports values.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public interface IValueSymbol : IValueRawSymbol, 
    ISymbol, IAttributedInstance, IInstance, IBitSize

VB

Public Interface IValueSymbol
    Inherits IValueRawSymbol, ISymbol, IAttributedInstance, IInstance, 
    IBitSize

The IValueSymbol type exposes the following members.

Properties

 

Name

Description

IValueSymbol Interface 1:

AccessRights

Gets the access rights.

IValueSymbol Interface 2:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IValueSymbol Interface 3:

BitSize

Gets the size of the IDataType in bits. (Inherited from IBitSize.)

IValueSymbol Interface 4:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from IBitSize.)

IValueSymbol Interface 5:

Category

Gets the Symbol/Datatype Category (Inherited from ISymbol.)

IValueSymbol Interface 6:

Comment

Gets the comment of the IInstance (Inherited from IInstance.)

IValueSymbol Interface 7:

DataType

Gets the IDataType of the IInstance. (Inherited from IInstance.)

IValueSymbol Interface 8:

HasValue

Gets a value indicating whether this IValueSymbol has a value. (Inherited from IValueRawSymbol.)

IValueSymbol Interface 9:

InstanceName

Gets the name of the instance (without periods (.) (Inherited from IInstance.)

IValueSymbol Interface 10:

InstancePath

Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from IInstance.)

IValueSymbol Interface 11:

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping (Inherited from IBitSize.)

IValueSymbol Interface 12:

IsByteAligned

Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from IBitSize.)

IValueSymbol Interface 13:

IsContainerType

Gets a value indicating whether this Symbol is a container type. (Inherited from ISymbol.)

IValueSymbol Interface 14:

IsPersistent

Gets a value indicating whether this ISymbol is persistent. (Inherited from ISymbol.)

IValueSymbol Interface 15:

IsPointer

Indicates that the IInstance represents a Pointer type (Pointer TO) (Inherited from IInstance.)

IValueSymbol Interface 16:

IsPrimitiveType

Gets a value indicating whether this instance is a primitive type. (Inherited from ISymbol.)

IValueSymbol Interface 17:

IsReadOnly

Gets a value indicating whether this ISymbol is read only. (Inherited from ISymbol.)

IValueSymbol Interface 18:

IsRecursive

Gets a value indicating whether this instance is recursive. (Inherited from ISymbol.)

IValueSymbol Interface 19:

IsReference

Indicates that the IInstance represents a Reference type (REFERENCE TO) (Inherited from IInstance.)

IValueSymbol Interface 20:

IsStatic

Gets a value indicating whether this IInstance is static. (Inherited from IInstance.)

IValueSymbol Interface 21:

NotificationSettings

Gets or sets the notification settings.

IValueSymbol Interface 22:

Parent

Gets the parent Symbol (Inherited from ISymbol.)

IValueSymbol Interface 23:

Size

Gets the size of the object in bytes or Bits dependant on IsBitType (Inherited from IBitSize.)

IValueSymbol Interface 24:

SubSymbols

Gets the SubSymbols of the ISymbol (Inherited from ISymbol.)

IValueSymbol Interface 25:

TypeName

Gets the name of the DataType that is used for this IInstance. (Inherited from IInstance.)

Methods

 

Name

Description

IValueSymbol Interface 26:

ReadRawValue.

Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from IValueRawSymbol.)

IValueSymbol Interface 27:

ReadRawValue(Int32)

Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from IValueRawSymbol.)

IValueSymbol Interface 28:

ReadValue.

Reads the Value of the IValueSymbol

IValueSymbol Interface 29:

ReadValue(Int32)

Reads the Value of the IValueSymbol

IValueSymbol Interface 30:

WriteRawValue(.Byte.)

Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from IValueRawSymbol.)

IValueSymbol Interface 31:

WriteRawValue(.Byte., Int32)

Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from IValueRawSymbol.)

IValueSymbol Interface 32:

WriteValue(Object)

Writes the Value of the IValueSymbol

IValueSymbol Interface 33:

WriteValue(Object, Int32)

Writes the Value of the IValueSymbol

Events

 

Name

Description

IValueSymbol Interface 34:

RawValueChanged

Occurs when the RawValue of the IValueSymbol has changed. (Inherited from IValueRawSymbol.)

IValueSymbol Interface 35:

ValueChanged

Occurs when the (Primitive) value of the IValueSymbol has changed.

Extension Methods

 

Name

Description

IValueSymbol Interface 36:

PollValuesAnnotated(IObservable.Unit.)

Overloaded.

Polls the values as ValueChangedArgs sequence annotated value on trigger sequence (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 37:

PollValuesAnnotated(TimeSpan)

Overloaded.

Polls the values as ValueChangedArgs sequence with a specified period time. (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 38:

IValueSymbol Interface 39:

WhenValueChanged

Gets an observable sequence when the value of the IValueSymbol has changed. (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 40:

IValueSymbol Interface 41:

WriteValues(IObservable.Object.)

Overloaded.

Subscribes the IValueSymbol to an observable sequence of values and writes them to the IValueSymbol. (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 42:

WriteValues(IObservable.Object., Action.Exception.)

Overloaded.

Subscribes the IValueSymbol to an observable sequence of values and writes them to the IValueSymbol. (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 43:

WriteValues(IObservable.Object., CancellationToken)

Overloaded.

Subscribes the IValueSymbol to an observable sequence of values and writes them to the IValueSymbol. (Defined by ValueSymbolExtensions.)

IValueSymbol Interface 44:

WriteValues(IObservable.Object., Action.Exception., CancellationToken)

Overloaded.

Subscribes the IValueSymbol to an observable sequence of values and writes them to the IValueSymbol. (Defined by ValueSymbolExtensions.)

Reference

TwinCAT.TypeSystem Namespace

TwinCAT.TypeSystem.IValueRawSymbol