F_IolGetErrorTxt

F_IolGetErrorTxt 1:

Returns the IO-Link error as string format in text form.

F_IolGetErrorTxt 2:Inputs

Name

Type

Description

hresult

HRESULT

Return value

F_IolGetErrorTxt 3:Outputs

Name

Type

Description

F_IolGetErrorTxt

String(255)

Shows the IO-Link error as a string

Example

VAR
  hr          :HRESULT;
  sErrorText  :STRING;
END_VAR
sErrorText := F_IolGetErrorTxt(hr);

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.25

Tc3_IoLink from v3.3.4.0