Error Codes
The Tc3_FTP library outputs extended error and diagnostic information based on the TwinCAT 3 EventLogger. Different event classes are output depending on the situation.
Online Watch:
The Tc3_FTP library returns one instance of an I_TcMessage at each function block. For ADS events there is the TcGeneralAdsEventClass and for internal events there is the TcFtpClientEventClass
The Tc2_FTP library returns simple return codes for ADS and internal errors as UDINT.