ServerSymbolFactory.CreateSymbol Method (String, String, IDataType, UInt32, UInt32)
Creates the symbol.
Namespace: TwinCAT.Ads.Server.TypeSystem
Assembly: TwinCAT.Ads.SymbolicServer (in
TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229
Syntax
C#
public Symbol CreateSymbol(
string instanceName,
string instancePath,
IDataType dataType,
uint indexGroup,
uint indexOffset
)
Parameters
instanceName |
Type: System.String |
instancePath |
Type: System.String |
dataType |
Type: TwinCAT.TypeSystem.IDataType |
indexGroup |
Type: System.UInt32 |
indexOffset |
Type: System.UInt32 |
Exceptions
Exception |
Condition |
---|---|
instanceName | |
dataType | |
DataType is not supported! |