Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 606 -
------------------------------------------------------------------------------
3.2 Write tool data file. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
capm_wrtool
[Syntax]
#include <data.h>
#include <fwindow.h>
int capm_wrtool( struct iodbcapm_tool *buf ) ;
Definition of "struct iodbcapm_tool" is same as "Read tool data file
(capm_rdtool)".
[Arguments]
buf Buffer in which the tool data are stored.
[Return]
0 Successful.
3 Incorrect index number of tool list "buf.index", other than
1,..,160.
6 Super CAP M is not installed.
[Description]
Writes contents of the tool data file of Super CAP M.
Store required values in the each items of "buf".
These values are written to the data file of Super CAP M.
Store "0" in "buf.dummy".