IoDrvEtherCAT.LastError (PROP)

PROPERTY LastError : ETC_LASTERROR

returns the last detected error as defined in the enumeration ETC_LASTERROR