Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 633 -
------------------------------------------------------------------------------
2. Put MDI key matrix. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
aux_mdi_putmatrix
[Syntax]
#include <bios.h>
int aux_mdi_putmatrix( void *matrix_ptr, int matrix_len,
int module_id ) ;
[Arguments]
matrix_ptr Buffer in which key matrix is stored.
matrix_len Byte size of key matrix buffer.
module_id Class of matrix.
[Return]
0 Successful.
-1 Incorrect byte size of key matrix buffer "matrix_len". Or
incorrect class of matrix "module_id".
[Description]
Registers the specified key matrix as the new matrix.
This function is used to restore the modified key matrix.
Specify pointer to the matrix buffer area in "matrix_ptr".
Specify byte size of key matrix area buffer.
Specify one of following matrix class.
module_id Matrix class
-----------------------+--------------------------------
MAIN_MDI_MATRIX Matrix of CNC software
MMC_MDI_MATRIX Matrix of application program
This function is very dangerous. If there are any mistakes in the
specified key matrix, the key inputting process may not work correctly.
Take care to use this function.
All keys can be customized by this function. But you should not
customize the important key for CNC operation such as RESET key.