RPC method entry for a data type

interface AdsRpcMethodEntry {
    attributes: AdsAttributeEntry[];
    comment: string;
    flags: number;
    flagsStr: string[];
    name: string;
    parameters: AdsRpcMethodParameterEntry[];
    reserved: number;
    retunDataType: string;
    returnAdsDataType: number;
    returnAdsDataTypeStr: string;
    returnAlignSize: number;
    returnTypeGuid: string;
    returnTypeSize: number;
    version: number;
    vTableIndex: number;
}

Properties

attributes: AdsAttributeEntry[]

Method attributes

comment: string

RPC method comment (comment in the PLC code)

flags: number

PRC method flags as bit-notation (see ADS.ADS_RCP_METHOD_FLAGS)

flagsStr: string[]

RPC method flags as string array (see ADS.ADS_RCP_METHOD_FLAGS)

name: string

RPC method name

Parameters (inputs and outputs)

reserved: number

Reserved

retunDataType: string

RPC method return data type

returnAdsDataType: number

Return value ADS data type as number (see ADS.ADS_DATA_TYPES)

returnAdsDataTypeStr: string

Return value ADS data type as string (see ADS.ADS_DATA_TYPES)

returnAlignSize: number

Size of the biggest element for alignment (bytes)

returnTypeGuid: string

Unique identifier (GUID) of the return type

returnTypeSize: number

Size of the return type (bytes)

version: number

Structure version

vTableIndex: number

vTable index for this method