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:
- SerialLineControlADS : The function block only returns possible error values from its specific error list.
- P3964R : The function block only returns possible error values from its specific error list.
- RK512 : The function block only returns possible error values from its specific error list.