Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 577 -
int_vga_ser Series of the VGA graphics internal firmware.
int_vga_ver Edition of the VGA graphics internal firmware.
out_vga_ser Series of the VGA graphics external firmware.
out_vga_ver Edition of the VGA graphics external firmware.
reserve_ser (reserved)
reserve_ver (reserved)
([P]: Path depending informatin.)
The above series & editions are stored with ASCII code format
(4-byte + null-char.). If no software is present, null-character
is stored in the first byte.
This function is available for only FS16/18 Model C or later.
[Example]
The following program displays the series and edtions of each
system softwares.
#include <data.h>
#include <fwindow.h>
#include <stdio.h>
void example( void )
{
static struct odbsftc buf ;
static struct { char *str ; char *series ; char *edition ; }
softtbl[] = {
{ "CNC System SOFT", buf.soft_series[0], buf.soft_version[0] },
{ "BOOT SOFT", buf.boot_ser, buf.boot_ver },
{ "SERVO SOFT", buf.servo_ser, buf.servo_ver },
{ "PMC System SOFT", buf.pmc_ser, buf.pmc_ver },
{ "PMC Ladder SOFT", buf.ladder_ser, buf.ladder_ver },
{ "MACRO Library", buf.mcrlib_ser, buf.mcrlib_ver },
{ "MACRO Application", buf.mcrapl_ser, buf.mcrapl_ver },
{ "SPINDLE SOFT #1", buf.spl1_ser, buf.spl1_ver },
{ "SPINDLE SOFT #2", buf.spl2_ser, buf.spl2_ver },
{ "SPINDLE SOFT #3", buf.spl3_ser, buf.spl3_ver },
{ "C-EXE Library", buf.c_exelib_ser, buf.c_exelib_ver },
{ "C-EXE Application", buf.c_exeapl_ser, buf.c_exeapl_ver },
{ "GRAPHIC Firmware (Int)", buf.int_vga_ser, buf.int_vga_ver },
{ "GRAPHIC Firmware (Ext)", buf.out_vga_ser, buf.out_vga_ver } } ;
#define SOFTTBLSIZE ( sizeof softtbl / sizeof softtbl[0] )
int idx ;
cnc_rdsyssoft( &buf ) ;
for ( idx = 0 ; idx < SOFTTBLSIZE ; idx++ )
printf( "%-24s%4s-%4s\n", softtbl[idx].str,
softtbl[idx].series, softtbl[idx].edition ) ;
}