SysEthernetGetPortConfigAndStatus (FUN)ΒΆ

FUNCTION SysEthernetGetPortConfigAndStatus : SysTypes.RTS_IEC_RESULT

Get Ethernet port configuration and status of an adapter identified by its MAC address.

InOut:

Scope

Name

Type

Comment

Return

SysEthernetGetPortConfigAndStatus

SysTypes.RTS_IEC_RESULT

Runtime system error code (see CmpErrors.library).

Input

macAddress

ARRAY [0..5] OF BYTE

MAC address of the adapter to get information from

pPortConfigAndStatus

POINTER TO SysEthernetPortConfigAndStatus

Port configuration and status structure

puxiPortConfigAndDataSize

POINTER TO __UXINT

Size in bytes of SysEthernetPortConfigAndStatus; returns structure size from external implementation