PLC runtime upload info

Contains information about symbols, data types and target system.

interface AdsUploadInfo {
    dataTypeCount?: number;
    dataTypeLength?: number;
    dynamicSymbolCount?: number;
    encodingCodePage?: number;
    flags?: number;
    flagsStr?: string[];
    invalidDynamicSymbolCount?: number;
    maxDynamicSymbolCount?: number;
    reserved?: Buffer;
    symbolCount: number;
    symbolLength: number;
    version: 1 | 2 | 3;
}

Properties

dataTypeCount?: number

Number of datatypes in the target runtime (version >= 2)

dataTypeLength?: number

Length of downloadable data type description data (bytes) (version >= 2)

dynamicSymbolCount?: number

Number of dynamic symbols used (version >= 2)

encodingCodePage?: number

Encoding code page used for STRING encoding (version >= 3)

flags?: number

Upload info flags as bit-notation (see ADS.ADS_SYMBOL_FLAGS) (version >= 3)

flagsStr?: string[]

Upload info flags as string array (see ADS.ADS_SYMBOL_FLAGS) (version >= 3)

invalidDynamicSymbolCount?: number

Invalid dynamic symbol count (version >= 3)

maxDynamicSymbolCount?: number

Max. allowed dynamic symbol count (version >= 2)

reserved?: Buffer

Reserved bytes (version >= 3)

symbolCount: number

Number of symbols in the target runtime (version >= 1)

symbolLength: number

Length of downloadable symbol description data (bytes) (version >= 1)

version: 1 | 2 | 3

Upload info version - depends on target TwinCAT version (1 = 8 bytes, 2 = 24 bytes, 3 = 64 bytes of data)