Error codes overview

Not all function blocks of the TwinCAT PLC library Tc2_SerialCom return the same error codes. Three function blocks have their own error lists.

Most function blocks indicate a possible error via a ComError_t return value.

The following three function blocks are exceptions: