
Sheet
Title
Draw
11/12
FANUC Series16i/18i-MODEL B
Description
2.
Libraries to which are added for Multi C-Executor
------------------------------------------------------------------------------
Switch of main Task<Main>
------------------------------------------------------------------------------
[Name]
os_resm_slv
[Format]
unsigned short os_resm_slv( void );
[Argument]
------
[Return]
0 Normal End
[Details]
The task switch can be done to the main task of the slave application program
without doing the screen switch by calling this function by the main task of
the master application.
------------------------------------------------------------------------------
Acquisition of presence of slave application <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
os_repo_tsk
[Format]
#include <oscall.h>
unsigned short os_repo_tsk( unsigned char tid, unsigned long *stat );
[Argument]
tid Task ID ( =6 )
stat Task state
[Return]
0 Normal return
[Details]
The presence of the slave application can be judged by calling this function specifying
6 for "tid".
stat Except 0 Slave application is effective
0 Slave application is not effective