ServerSymbolFactoryCreateSymbol(String, String, IDataType, UInt32, UInt32) Method

Creates the symbol.


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

Syntax

C#

public Symbol CreateSymbol(
    string instanceName,
    string instancePath,
    IDataType dataType,
    uint indexGroup,
    uint indexOffset
)

Parameters

instanceName  String

Name of the instance.

instancePath  String

The instance path.

dataType  IDataType

Type of the data.

indexGroup  UInt32

The index group.

indexOffset  UInt32

The index offset.

Return Value

Symbol
Symbol.

Exceptions

Exception

Condition

ArgumentNullException

instanceName

ArgumentNullException

dataType

NotSupportedException

DataType is not supported!

Reference

ServerSymbolFactory Class CreateSymbol Overload TwinCAT.Ads.Server.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026