RPC method parameter entry for a RPC method

interface AdsRpcMethodParameterEntry {
    adsDataType: number;
    adsDataTypeStr: string;
    alignSize: number;
    attributes: AdsAttributeEntry[];
    comment: string;
    flags: number;
    flagsStr: string[];
    lengthIsParameterIndex: number;
    name: string;
    reserved: number;
    reserved2: Buffer;
    size: number;
    type: string;
    typeGuid: string;
}

Properties

adsDataType: number

ADS data type as number (see ADS.ADS_DATA_TYPES)

adsDataTypeStr: string

ADS data type as string (see ADS.ADS_DATA_TYPES)

alignSize: number

Size for alignment (bytes)

attributes: AdsAttributeEntry[]

Attributes

comment: string

Parameter comment (comment in the PLC code)

flags: number

RPC method parameter flags as bit-notation (see ADS.RCP_METHOD_PARAM_FLAGS)

flagsStr: string[]

RPC method parameter flags as string array (see ADS.RCP_METHOD_PARAM_FLAGS)

lengthIsParameterIndex: number

Index-1 of corresponding parameter with length info (not relevant)

name: string

Parameter name

reserved: number

Reserved

reserved2: Buffer

Reserved data in the end of entry (if any)

size: number

Size (bytes)

type: string

Parameter data type

typeGuid: string

GUID of data type