Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 566 -
------------------------------------------------------------------------------
1.104 Read CNC system configuration information. <Main,Alarm>
------------------------------------------------------------------------------
[Name]
cnc_sysconfig
[Syntax]
#include <data.h>
#include <fwindow.h>
int cnc_sysconfig( struct odbsysc *buf ) ;
struct odbsysc {
char slot_no_p[16]; /* Physical slot number. */
char slot_no_l[16]; /* Logical slot number. */
int mod_id[16]; /* Module ID. */
int soft_id[16]; /* Software ID. */
char s_series[16][5];/* Software series. */
char s_version[16][5]; /* Software edition. */
char dummy[16]; /* Not used. */
int m_rom; /* Existence of the CNC software
option module. */
int s_rom; /* Existence of the SUB CPU's CNC
software option module. */
char svo_soft[8]; /* Series & edition of the servo
software. */
char pmc_soft[6]; /* Series & edition of the PMC system
software. */
char lad_soft[6]; /* Series & edition of the ladder
software. */
char mcr_soft[8]; /* Series & edition of the macro
executor & order-made macro. */
char spl1_soft[6]; /* Software series & edition of the
1st spindle. */
char spl2_soft[6]; /* Software series & edition of the
2nd spindle. */
int frmmin; /* Memory size of the FROM module (MAIN). */
int drmmin; /* Memory size of the DRAM module (MAIN). */
int srmmin; /* Memory size of the additional SRAM module
(MAIN). */
int pmcmin; /* Kind of the PMC module (MAIN). */
int crtmin; /* Kind of the CRTC module (MAIN). */
int sv1min; /* Existence of the servo module (1,2-axis)
(MAIN). */
int sv3min; /* Existence of the servo module (3,4-axis)
(MAIN). */
int sicmin; /* Existence of the SIC (MAIN). */
int posmin; /* Existence of the the POSITION LSI (MAIN). */
int drmmrc; /* Existence of the extended DRAM for the
system software (PMC-RC). */
int drmarc; /* Memory size of DRAM for the application
(PMC-RC). */
int pmcmrc; /* Kind of the PMC module (PMC-RC). */
int dmaarc; /* Existence of the additional board for DMA
(PMC-RC). */