ResolveInterface (FB)ΒΆ

FUNCTION_BLOCK ResolveInterface

Resolves the label of an interface to its mac address.

InOut:

Scope

Name

Type

Comment

Input

xEnable

BOOL

sInterfaceName

STRING

Name of interface to be resolved

Output

xReady

BOOL

xError

BOOL

eError

ERROR

abyMACAddress

ARRAY [0..5] OF BYTE

MAC Address of the interface

diAdapterNumber

DINT