
------------------------------------------------------------------------------
1.7 Stop output NC program to be compared. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
cnc_vrfend
[Syntax]
#include <data.h>
#include <fwindow.h>
short cnc_vrfend( void ) ;
[Arguments]
------
[Return]
EW_OK( 0) Successful.
EW_FUNC( 1) The start-up procedure of CNC for comparing NC program
has not been completed, or no start-up command has been
commanded.
EW_DATA( 5) The previously output NC program data is incorrect. This
code is returned under one of following conditions.
- Any difference has been detected during comparing
process.
- A CNC-side program to be compared has been selected in
foreground processing.
- A character which is unavailable for NC program is
detected.
- When TV check is effective, a block which includes
odd characters (including 'LF' at the end of the
block) is detected.
[Description]
Notices the end of comparison of NC program to CNC.
'%' must be output as NC program data before calling this function.
5 or 8 which has been issued during processing of "Output NC program
to be compared" may be returned.
This function doesn't return until the comparing process of CNC is
completed.
The comparing process is completed even if the return code is not "0".
[Example]
See example of "Output NC program to be compared(cnc_verify)".