
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
193/226
DRAW.NO.
3.12.21
Start Registration of the CNC Program
[Name]
pl_nc_dwnstart
[Syntax]
#include <pmclib.h>
short pl_nc_dwnstart(void);
[Arguments]
Input
---
Output
---
[Return]
0: Normal completion.
-1: Rejected
When the CNC is following status, this function cannot be
executed.
- Another command is executing. (Downloading, Verifying,
Uploading, listing program)
- The CNC is in background editing mode.
- The CNC is in MDI mode.
- P/S 000 or P/S101 alarm status
7: Write protect
[Description]
This function starts a registration of the CNC program.
You should call the pl_nc_dwnstart() before the calling of the
pl_nc_download(). You should call the pl_nc_dwnend() after the
pl_nc_download().
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()