F_IolGetPortError

Function returns the state channel as E_IolPortError.
Example
VAR
nStateCh1 AT%I* :USINT;
nIolPortError :E_IolPortError;
END_VAR
nIolPortError := F_IolGetPortError(nStateCh1);

Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.25 | Tc3_IoLink from v3.3.4.0 |