Client connection metadata

interface ConnectionMetaData {
    adsSymbolsUseUtf8: boolean;
    allPlcDataTypesCached: boolean;
    allPlcSymbolsCached: boolean;
    plcDataTypes: AdsDataTypeContainer;
    plcDeviceInfo?: AdsDeviceInfo;
    plcRuntimeState?: AdsState;
    plcSymbols: AdsSymbolContainer;
    plcSymbolVersion?: number;
    plcUploadInfo?: AdsUploadInfo;
    routerState?: AmsRouterState;
    tcSystemState?: AdsState;
}

Properties

adsSymbolsUseUtf8: boolean

Set to true if target ADS symbols/datatypes are UTF-8 encoded (always in TwinCAT 4026->)

allPlcDataTypesCached: boolean

Set to true if client has cached all data types

allPlcSymbolsCached: boolean

Set to true if client has cached all symbols

plcDataTypes: AdsDataTypeContainer

Cached target PLC runtime data types without subitems (if available)

plcDeviceInfo?: AdsDeviceInfo

Target PLC device information (if available)

plcRuntimeState?: AdsState

Target PLC runtime state (if available)

plcSymbols: AdsSymbolContainer

Cached target PLC runtime symbols (if available)

plcSymbolVersion?: number

Target PLC runtime symbol version (if available)

plcUploadInfo?: AdsUploadInfo

Target PLC runtime symbol and datatype count/size information (if available)

routerState?: AmsRouterState

Local AMS router state (if available)

tcSystemState?: AdsState

Target TwinCAT system state (if available)