CreateSymbolic

Syntax

METHOD CreateSymbolic : BOOL
VAR_INPUT
    pSymbol: PVOID;
    nSymbolSize: UDINT;
    sDataType: STRING;
END_VAR
VAR_OUTPUT
    sLayout: GUID;
END_VAR

CreateSymbolic 1: Inputs

Name

Type

Description

pSymbol

PVOID

Pointer to ADS Symbol

nSymbolSize

UDINT

Size of ADS Symbol

sDataType

STRING

Name of ADS Symbol Datatype

CreateSymbolic 2:Outputs

Name

Type

Description

sLayout

GUID

Layout hash of symbol description

CreateSymbolic 3: Return value

Name

Type

Description

CreateSymbolic

BOOL

TRUE if done