Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 610 -
------------------------------------------------------------------------------
3.6 Write machining condition file. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
capm_wrmcncond
[Syntax]
#include <data.h>
#include <fwindow.h>
int capm_wrmcncond( int length, struct iodbcapm_cond *buf ) ;
Definition of "struct iodbcapm_cond" is same as "Read machining
condition file(capm_rdmcncond)".
[Arguments]
length Data block length ( =6 ).
buf Buffer in which the machining condition data are
stored.
[Return]
0 Successful.
3 Incorrect index number of machining condition file
"buf.index", other than 1,..,512.
6 Super CAP M is not installed.
[Description]
Writes contents of the machining condition file (F.S.FILE) of
Super CAP M.
Store required values in the each items of "buf".
These values are written to the machining condition file of
Super CAP M.
Store "0" in "buf.dummy".