
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
197/226
DRAW.NO.
3.12.24
Start DNC running of the CNC Program
[Name]
pl_nc_dncstart
[Syntax]
#include <pmclib.h>
short pl_nc_dncstart(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)
- Alarm state
- The "Automatic operation signal OP (F000#7)" is on.
- The "DMMC signal (G42#7)" is off.
[Description]
This function starts a DNC running of the CNC program.
You should call the pl_nc_dncstart() before the calling of the
pl_nc_dnc(). You should call the pl_nc_dncend() after the calling of the
pl_nc_dnc().
The procedure of the DNC running is shown below.
(1) Set the CNC to MEM mode.
(2) Turn the "DMMC signal (G42#7)" on.
(3) Execute the pl_nc_dncstart().
(4) Turn the "ST signal (G7#2)" off and on and off to start program.
(5) Transfer the CNC program using the pl_nc_dnc().
(6) Execute the pl_nc_dncend().
(7) Reset the CNC after the completion of the CNC program.
(8) Turn the "DMMC signal (G42#7)" off.
When you use this function, you cannot use the conventional function
related to the CNC program operation in "C library for C executor"
together.