
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
196/226
DRAW.NO.
3.12.23
End Registration of the CNC Program
[Name]
pl_nc_dwnend
[Syntax]
#include <pmclib.h>
short pl_nc_dwnend(void);
[Arguments]
Input
---
Output
---
[Return]
0: Normal completion.
-11: The function pl_nc_dwnstart() is not called.
5: The CNC program is invalid. This error happens when following
cases.
- The duplicate number program has been registered.
- An illegal character is found in the CNC program.
- When a TV check is enabled, a block that includes odd
number of characters is detected.
- The maximum number of programs is exceeded.
8: No space in the CNC tape memory
[Description]
This function ends a registration of the CNC program.
You should call the pl_nc_dwnend() after the calling of the
pl_nc_dwnload().
The error code of the pl_nc_download(), which is previously called, may
be sometimes returned in this function.
When you use this function, you cannot use the conventional function
related to the CNC program operation in "C library for C executor"
together.
[Related Function]
cnc_dwnstart(), cnc_download(), cnc_dwnend()