Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 351 -
------------------------------------------------------------------------------
1.11 Stop output NC program to be compared. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
cnc_vrfend
[Syntax]
#include <data.h>
#include <fwindow.h>
int cnc_vrfend( void ) ;
[Arguments]
------
[Return]
0 Successful.
1 The start-up procedure of CNC for comparing NC program has not
been completed, or no start-up command has been commanded.
5 Incorrect NC program data in previous output. This code is
returned under one of following conditions.
- Any difference has been detected during comparing process.
- The target program to be compared is selected in foreground.
- 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.
ERROR 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)".