Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

AdsGetLocalAddress

Returns the local NetId and port number.

LONG AdsGetLocalAddress(
  PAmsAddr  pAddr
);

Parameter

pAddr

[out] Pointer to the structure of type AmsAddr.

Return value

Returns the function's error state.

Sample

See Sample 2: Write synchronously to the PLC.

See also