F_IolGetIolErrorTxt
The function returns the IO-Link error code as a string
Sample
VAR
hr :HRESULT;
nIolError :E_IolErr := E_IolErr.NOERR;
sIolErrorText :STRING;
END_VAR
nIolError := F_IolGetIolError(hr);
sIolErrorText := F_IolGetIolErrorTxt(nIolError);
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.25 | Tc3_IoLink from v3.3.4.0 |