CNC Dynamic Link Library Error Codes and Messages

Error codes:

Error Number



Protocol error, bad data from CNC.


Socket error, investigate CNC.




Bus error.


System 2 error.


HSSB communications error.


FOCAS DLL allocation error.


FOCAS DLL and CNC/PMC version error.


Unexpected FOCAS DLL error.


System error.


Shared RAM parity error.


No FOCAS HSSB drivers.


Reset or stop button pressed.


CNC is busy.


Function not executed or not available.


PMC does not exist.


Function data length or data amount error.


Function data number error.


Function address range error.


Function data attribute error.


Function address type or data type error.


Data error or specified program not found.


CNC option not enabled or found.


Write operation prohibited.


CNC tape memory overflow.


CNc parameter not set correctly.


Buffer is empty or full.


Incorrect path number.


Incorrect CNC mode.


CNC execution rejected.


Data server error.


Function not executed due to CNC alarm.


CNC status is stop or emergency.


CNc data password is enabled.

Error messages:


File open failed.

Bad program.

Bad program number/invalid range.


CNC edit in progress.

Program already selected.

Disk error.

CNC is not in EDIT mode.

CNC is not in EDIT or MEMORY mode.

Error getting directory.

No Programs found.

Bad directory info from CNC.


Unable to open CSV file.

Bad CSV file format.

Unable to open LOG file.

Bad input number or invalid range.

CNC type in file does not match control.

Model type different than CNC.

Memory type different than CNC.

Unknown memory type (A B C).

Number of values greater than number of axes.

Initiation of Windows Sockets DLL failed.

More information

CNC DLL Application Script

CNC DLL CimEdit/CimView examples

CNC Dynamic Link Library