SysEthernetGetMediaCounters (FUN)ΒΆ

FUNCTION SysEthernetGetMediaCounters : SysTypes.RTS_IEC_RESULT

Get EIP Media Counters of an adapter identified by its MAC address.

InOut:

Scope

Name

Type

Comment

Return

SysEthernetGetMediaCounters

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

pSysEthernetMediaCounters

POINTER TO SysEthernetMediaCounters

EIP Media Counters structure

xGetAndClear

BOOL

Set the counters to zero after the response is built.