Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 749 -
------------------------------------------------------------------------------
3.3 Get CG pattern. <Main>
------------------------------------------------------------------------------
[Name]
crt_getcgpttn
[Syntax]
#include <crt.h>
int crt_getcgpttn( unsigned int code, unsigned char *buf ) ;
[Arguments]
code the FANUC code for the character of which the
character pattern is to be get
buf buffer area where character pattern is stored
50 bytes for 9inch CRT, or 16 bytes for 14inch CRT
[Return]
0 normal completion
1 reading the character pattern is not supported by this version
of CRT module
[Description]
Read the character pattern data stored in the character generator.
This function does not check the validity of the specified character
code. Care should be taken not to specify wrong character codes.
When 9 inch CRT is equipped, be sure to call this function in 40
columns x 16 line mode.