Error Codes
Every function in the Ec API returns ErrorCode::None on success or another error code on failure. The error code explains what caused the function to fail.
The ErrorToString function will return the string representation of an library error code returned by one of the functions in Ec API.
In addition, the EtherCAT platform can signal module failures by error codes on the console screen.
The following sections contain information of the library error codes and error codes on the console screen.