
------------------------------------------------------------------------------
1.65 Set path index (multi-path system). <Main,Alarm>
------------------------------------------------------------------------------
[Name]
cnc_setpath
[Syntax]
#include <data.h>
#include <fwindow.h>
short cnc_setpath( int path_no ) ;
[Arguments]
path_no Path number.
[Return]
EW_OK( 0) Successful.
EW_PATH(11) Incorrect path number "path_no".
[Description]
Selects the path number which is objective path of the CNC window
functions in the multi-path system.
All CNC window functions inputs from/outputs to the CNC's path
selected by this function.
Specify the path number in "path_no" with binary format.
path_no Objective path
---------------+-----------------
0 or 1 The 1st path
The 1st path is selected during this function has never been called
since power-on.