
------------------------------------------------------------------------------
1.13 Stop input NC program. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
cnc_upend
[Syntax]
#include <data.h>
#include <fwindow.h>
short cnc_upend( void ) ;
[Arguments]
------
[Return]
EW_OK( 0) Successful.
EW_FUNC( 1) The start-up procedure of CNC for reading NC program
has not been completed, or no start-up command has been
commanded.
[Description]
Notices the end of NC program uploading to CNC.
Confirm that a '%' character is added at the end of the input NC
program before calling this function.
The uploading process is completed in CNC even if the return code is
not "0".
[Example]
See example of "Input NC program(cnc_upload)".