F_IolGetIolError

F_IolGetIolError 1:

Funktion gibt einen IO-Link-Fehlercode als E_IolError wieder.

F_IolGetIolError 2:Eingänge

Name

Typ

Beschreibung

hresult

HRESULT

Rückgabewert

F_IolGetIolError 3:Ausgänge

Name

Typ

Beschreibung

F_IolGetIolError

E_IolError

IO-Link-Fehlercode als Enum

Beispiel

VAR
  hr         :HRESULT;
  nIOLError  :E_IolErr := E_IolErr.NOERR;
END_VAR
nIOLError := F_IolGetIolError(hr);

Voraussetzungen

Entwicklungsumgebung

Erforderliche SPS-Bibliothek

TwinCAT ab v3.1.4024.25

Tc3_IoLink ab v3.3.4.0