Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 706 -
------------------------------------------------------------------------------
1.16 Set accessing method to Super CAP M. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
crt_capmaccess
[Syntax]
#include <crt.h>
unsigned int crt_capmaccess( unsigned int flag ) ;
[Arguments]
flag Access method to Super CAP M
[Return]
Current setting value.
[Description]
Enable or Disable access to the Super CAP M screen.
Select following access method by bit "0" of the argument "flag".
bit0 0: Disable Super CAP M screen selection
1: Enable Super CAP M screen selection
(CAPM_SCRN)
Setting this bit to "1" enables the function
"crt_capmscrn" to be used.
The access method set by this function is valid until it is changed by
another call of this function.
[Example]
Following program enables the selection of the Super CAP M screen.
#include <crt.h>
void example( void )
{
crt_capmsccess( CAPM_SCRN) ;
}