IAddSymbolicInformationAddSymbol(String, IDataType, DataArea) Method

Adds and registers a symbol


Namespace: TwinCAT.Ads.Server.TypeSystem
Assembly: TwinCAT.Ads.SymbolicServer (in TwinCAT.Ads.SymbolicServer.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

IAddSymbolicInformation AddSymbol(
    string instancePath,
    IDataType dataType,
    DataArea dataArea
)

Parameters

instancePath  String

The InstancePath (FullPath) to the symbol.

dataType  IDataType

The (already registered) DataType

dataArea  DataArea

The data area.

Return Value

IAddSymbolicInformation
The self-referential IAddSymbolicInformationobject to support method chaining/cascading.

Remarks

The address in the DataArea will be calculated automatically (indexGroup, indexOffset).

Reference

IAddSymbolicInformation Interface AddSymbol Overload TwinCAT.Ads.Server.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026