The client writes tool wear offsets automatically based on measured part dimensions from an external gauge. It also reads tool life counters to trigger a tool change request.
Exact function names vary by SDK language; consult the FOCAS2 API reference.
| Error Code | Symbolic Name | Meaning & Fix |
|------------|---------------|----------------|
| -8 | EW_SOCKET | Network unreachable – check firewall, port, IP address. |
| -12 | EW_MAX_CONNECT | Max number of FOCAS clients already connected – close idle connections or increase CNC option limit. |
| -15 | EW_PROT | FOCAS protocol mismatch – update CNC firmware or FOCAS library version. |
| -106 | EW_FUNC | Requested function not available on this CNC – may need additional option license. |