Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 694 -
------------------------------------------------------------------------------
1.9 Set switching method between CNC's screen and user's. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
crt_setswt
[Syntax]
#include <crt.h>
unsigned int crt_setswt( unsigned int mode ) ;
[Arguments]
mode Screen switching mode.
[Return]
Returns the old setting value.
[Description]
Set switching method such as,
disable/enable to switch to the CNC screen from the user's,
disable/enable to output video signal at switching to the user
screen from the CNC's.
Specify the following setting value in each bits of "mode".
It is possible to specify the multiple bits simultaneously.
bit0 0: Enables switching to the CNC screen from the
user's. (default)
1: Disable switching to the CNC screen from the
user's. (CRT_SWT_DIS)
bit1 0: Video beam is ON at switching to the user screen
from the CNC's (default)
1: Video beam is OFF at switching to the user screen
from the CNC's. (CRT_SWT_VOFF)
bit2 0: Disable switching screen during graphic drawing.
(default)
1: Enable switching screen during graphic drawing.
(CRT_SWT_GREN)
bit3 When any CNC alarm occurred in the CNC screen, the
screen is switched to the CNC's alarm screen
automatically or not
0: according to the ordinary CNC setting.
(Parameter No.3111#7)
1: according to the user screen's setting.
(Parameter No.8650#1) (CRT_SWT_ACNC)
bit4 The function keys on MDI panel are
0: read by the CNC software. (default)
1: not read by the CNC software. (The CNC software
can't switch the screen.)