
6. SYSTEM CALLS B-63322EN-2/01
- 30 -
6.7 DEBUG DISPLAY (SCREEN CLEAR)
[Function name] sc_screen_clr
[Function] Clears the entire debug display screen.
[Format] void sc_screen_clr();
[Input] None.
[Output] None.
[Result] The output message can be viewed on the CNC-side message function
screen.
[Note] See the attached figure for explanations about the configuration of the
screen.
The display pointer is moved to (0, 0).
6.8 DEBUG DISPLAY (DISPLAY POINTER MOVE)
[Function name] sc_screen_move
[Function] Moves the display pointer on the debug display screen.
[Format] int sc_screen_move (int x, int y, int inc);
[Input] int x : Specifies the X-coordinate direction.
int y : Specifies the Y-coordinate direction.
int inc : Specifies whether the display position is specified in absolute
or incremental format (0 = absolute and 1 = incremental).
[Output] 0 : Normal end.
Nonzero : Abnormal end (the specified X-/Y-coordinate or the
absolute/incremental specification is invalid).
[Result] ----
[Note] If "absolute" is specified, the display pointer is equal to the coordinates
specified in the arguments. If "incremental" is specified, the display
pointer is obtained by adding the coordinates specified in the
arguments to the current display pointer.
If "absolute" is specified, the ranges of X- and Y-coordinate values that
can be specified are between 0 and 75 and between 0 and 16,
respectively.
If "incremental" is specified, the ranges of X- and Y-coordinate values
that can be specified are between -75 and +75 and between -16 and +16,
respectively. It is impossible to specify a value that would cause the
coordinates to fall outside the edges of the screen.