IAddSymbolicInformation.AddSymbol Method (String, IDataType, DataArea)
Adds and registers a symbol
Namespace: TwinCAT.Ads.Server.TypeSystem
Assembly: TwinCAT.Ads.SymbolicServer (in
TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229
Syntax
C#
IAddSymbolicInformation AddSymbol(
string instancePath,
IDataType dataType,
DataArea dataArea
)
Parameters
instancePath |
Type: System.String |
dataType |
Type: TwinCAT.TypeSystem.IDataType |
dataArea |
Type: TwinCAT.Ads.Server.TypeSystem.DataArea |
Return Value
Type: IAddSymbolicInformation
The self-referential IAddSymbolicInformationobject
to support method chaining/cascading.
Remarks
The address in the DataArea will be calculated automatically (indexGroup, indexOffset).