F_IolGetIolError

F_IolGetIolError 1:

Function returns an IO-Link error code as E_IolError.

F_IolGetIolError 2:Inputs

Name

Type

Description

hresult

HRESULT

Return value

F_IolGetIolError 3:Outputs

Name

Type

Description

F_IolGetIolError

E_IolError

IO-Link error code as enum

Sample

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

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.25

Tc3_IoLink from v3.3.4.0