Description
Reads the CNC system configuration information.
Various information is stored in each member of ODBSYSC.
This function cannot be used on Series 15i, 16i/18i/21i, 0i-B and 30i.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle. See "Library handle" for details.
Pointer to the ODBSYSC structure including the CNC configuration information.
There is difference at the structure between Series 15, Series 16/18/21, 0i-A.
typedef struct odbsysc {
char slot_no_p[16]; /* Physical slot number */
char slot_no_l[16]; /* Logical slot number */
short mod_id[16]; /* Module ID */
short soft_id[16]; /* Software ID */
char s_series[16][5]; /* Software series */
char s_version[16][5]; /* Software version */
char sys_id[16]; /* System ID of CNC(CNC series name)*/
char sys_ser[5]; /* System series of CNC */
char sys_ver[5]; /* System version of CNC */
char basic_ver[5]; /* Version of CNC basic software */
char opta1_ver[5]; /* Version of CNC option 1 software */
char opta2_ver[5]; /* Version of CNC option 2 software */
char opta3_ver[5]; /* Version of CNC option 3 software */
char opta4_ver[5]; /* Version of CNC option 4 software */
char sub_ver[5]; /* Version of CNC sub software */
char opts1_ver[5]; /* Version of CNC sub option 1 soft.*/
char tcopt_ver[5]; /* Version of TC option software */
char axis_ser[5]; /* Series of axis software */
char axis_ver[5]; /* Version of axis software */
char help_ser[5]; /* Series of HELP ROM */
char help_ver[5]; /* Version of HELP ROM */
char boot_ser[5]; /* Series of BOOT ROM */
char boot_ver[5]; /* Version of BOOT ROM */
char servo_ser[5]; /* Series of servo software */
char servo_ver[5]; /* Version of servo software */
char cmpl_ser[5]; /* Series of macro compiler */
char cmpl_ver[5]; /* Version of macro compiler */
char sral1_ser[5]; /* Series of 1st serial spindle */
char sral1_ver[5]; /* Version of 1st serial spindle */
char sral2_ser[5]; /* Series of 2nd serial spindle */
char sral2_ver[5]; /* Version of 2nd serial spindle */
char sral3_ser[5]; /* Series of 3rd serial spindle */
char sral3_ver[5]; /* Version of 3rd serial spindle */
char sral4_ser[5]; /* Series of 4th serial spindle */
char sral4_ver[5]; /* Version of 4th serial spindle */
short pcb_info[20]; /* Information of each board */
short pcb_note[20][16]; /* Modules built in each board */
} ODBSYSC ;
- slot_no_p
- Physical slot number
The physical slot numbers of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.The data subsequent to FFH are invalid. 00H to 0FH : Primary slot number 80H to 8FH : Secondary slot number - slot_no_l
- Logical slot number
The logical slot numbers of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH. The data subsequent to FFH are invalid. 00H to 0FH : logical slot number - mod_id
- Module ID
The module IDs of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.
The data subsequent to FFH are invalid. 'XX' is internal information. XX3FH : Remote buffer XX45H : Graphic XX62H : CNC MAIN (High speed) XX63H : Additional axis/CNC SUB XX6BH : PMC-NB XX6CH : FAPT/CAP XX71H : CNC MAIN (Standard) XX74H : ROM cassette adapter XX77H : PMC-NA XX94H : MMC-IV - soft_id
- Software ID
The software IDs of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.
The data subsequent to FFH are invalid. 37H : CNC MAIN 39H : Additional axis 3AH : CNC SUB 3CH : Remote buffer/DNC11 3DH : PMC-NA 40H : Graphic 41H : ROM cassette adapter 42H : PMC-NB 44H : DNC1#2 45H : FAPT 4CH : TC 4DH : CAP 5EH : MMC-IV - s_series
- Software series
The software series of the modules which are built in the slots are stored in ASCII code in order of their position. - s_version
- Software version
The software version of the modules which are built in the slots are stored in ASCII code in order of their position. - sys_id
- CNCSystem ID of CNC (CNC series name)
- sys_ser
- System series of CNC
- sys_ver
- System version of CNC
- basic_ver
- Version of CNC basic software
- opta1_ver
- Version of CNC option 1 software
- opta2_ver
- Version of CNC option 2 software
- opta3_ver
- Version of CNC option 3 software
- opta4_ver
- Version of CNC option 4 software
- sub_ver
- Version of CNC sub software
- opts1_ver
- Version of CNC sub option 1 software
- tcopt_ver
- Version of TC option software
- axis_ser
- Series of axis software
- axis_ver
- Version of axis software
- help_ser
- Series of HELP ROM
- help_ver
- Version of HELP ROM
- boot_ser
- Series of BOOT ROM
- boot_ver
- Version of BOOT ROM
- servo_ser
- Series of servo software
- servo_ver
- Version of servo software
- cmpl_ser
- Series of macro compiler
- cmpl_ver
- Version of macro compiler
- sral1_ser
- Series of 1st serial spindle
- sral1_ver
- Version of 1st serial spindle
- sral2_ser
- Series of 2nd serial spindle
- sral2_ver
- Version of 2nd serial spindle
- sral3_ser
- Series of 3rd serial spindle
- sral3_ver
- Version of 3rd serial spindle
- sral4_ser
- Series of 4th serial spindle
- sral4_ver
- Version of 4th serial spindle
- pcb_info
- The information of each board
-
pcb_info[0] (MAIN)
#0 : F-ROM #1 : D-RAM #2 : High Speed S-RAM #3 : File S-RAM #4 : Peripheral #5 : CRTC #6 : Spindle #7 : 1st,2nd axis Servo #8 : 3rd,4th axis Servo
pcb_info[1] (SUB)
#0 : D-RAM #1 : High Speed S-RAM #2 : File S-RAM #3 : Spindle #4 : 5th,6th axis Servo #5 : 7th,8th axis Servo #6 : Analog I/O
pcb_info[2] (ADDITIONAL AXIS 1)
#0 : Spindle #1 : 5th,6th axis Servo #2 : 7th,8th axis Servo #3 : Analog I/O
pcb_info[3] (ADDITIONAL AXIS 2)
#0 : 9th,10th axis Servo
pcb_info[4] (PMC-NA)
#0 : PMC CPU #1 : PMC Engine #2 : Option D-RAM #3 : F-ROM
pcb_info[5] (PMC-NB)
#0 : PMC CPU #1 : PMC Engine #2 : Option D-RAM #3 : F-ROM #4 : EPROM
pcb_info[6] (GRAPHIC)
#0 : Graphic CPU #1 : CRTC #2 : Graphic Engine 1 #3 : Graphic Engine 2
pcb_info[7] (REMOTE BUFFER/DNC2)
#0 : Communication
pcb_info[8] (DNC1)
#0 : Communication
pcb_info[9] (CAP/FAPT)
#0 : CAP/FAPT CPU #1 : EPROM #2 : S-RAM #3 : D-RAM
pcb_info[10] (RISC R4000)
#0 : EPROM #1 : S-RAM #2 : D-RAM1 #3 : D-RAM2
pcb_info[11] (reserve)
pcb_info[12] (reserve)
pcb_info[13] (reserve)
pcb_info[14] (AXIS CPU 1)
#0 : D-RAM #1 : Spindle #2 : 1st,2nd axis Servo #3 : 3rd,4th axis Servo #4 : DBL 1 #5 : DBL 2
pcb_info[15] (AXIS CPU 2)
#0 : D-RAM #1 : Spindle #2 : 5th,6th axis Servo #3 : 7th,8th axis Servo #4 : DBL 1 #5 : DBL 2
pcb_info[16] (AXIS CPU 3)
#0 : D-RAM #1 : Spindle #2 : 9th,10th axis Servo #3 : 11th,12th axis Servo #4 : DBL 1 #5 : DBL 2
pcb_info[17] (AXIS CPU 4)
#0 : D-RAM #1 : Spindle #2 : 13th,14th axis Servo #3 : 15th,16th axis Servo #4 : DBL 1 #5 : DBL 2
pcb_info[18] (reserve)
pcb_info[19] (reserve)
- pcb_note
- Modules built in each board
- CNC MAIN
-1 : Not exist 0 : Others 1 : 2MB 2 : 4MB 3 : 6MB 4 : 8MB 5 : 10MB 6 : 12MB 7 : 14MB
pcb_note[0][1] --- Capacity of main memory module (D-RAM)
-1 : Not exist 0 : Others 1 : 2MB 2 : 4MB 3 : 6MB 4 : 8MB
pcb_note[0][2] --- Capacity of main memory module (HS-RAM)
-1 : Not exist 0 : Others 1 : TYPE-A 2 : TYPE-B 3 : TYPE-C 4 : TYPE-D 5 : TYPE-E 6 : TYPE-F 7 : TYPE-G
pcb_note[0][3] --- Capacity of TAPE memory module (S-RAM)
-1 : Not exist 0 : Others 1 : 64K 2 : 128K 3 : 256K 4 : 320K 5 : 512K 6 : 1M 7 : 2M
pcb_note[0][4] --- Existence of peripheral module
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[0][5] --- Type of CRTC module
-1 : Not exist 0 : Others 1 : 14" 2 : 9" 3 : 10"
pcb_note[0][6] --- Type of spindle control module
-1 : Not exist 0 : Others 1 : Serial 2 : Serial+High speed DI/DO 3 : Analog 4 : Analog+High speed DI/DO
pcb_note[0][7] --- Type of axis control module
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[0][8] --- Type of axis control module
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo - CNC SUB
-1 : Not exist 0 : Others 1 : 1MB 2 : 1.25MB 3 : 2MB 4 : 4MB 5 : 6MB 6 : 8MB
pcb_note[1][1] --- Capacity of SUB CPU memory module 1 (HS-RAM)
-1 : Not exist 0 : Others 1 : TYPE-A 2 : TYPE-B 3 : TYPE-C 4 : TYPE-D 5 : TYPE-E 6 : TYPE-F 7 : TYPE-G
pcb_note[1][2] --- Capacity of SUB CPU memory module 2 (S-RAM)
-1 : Not exist 0 : Others 1 : 64K 2 : 128K 3 : 256K 4 : 320K 5 : 512K 6 : 1M 7 : 2M
pcb_note[1][3] --- Type of spindle control module
-1 : Not exist 0 : Others 1 : Serial 2 : Serial+High speed DI/DO 3 : Analog 4 : Analog+High speed DI/DO
pcb_note[1][4] --- Type of axis control module (5th, 6th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[1][5] --- Type of axis control module (7th, 8th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[1][6] --- Type of analog I/O module
-1 : Not exist 0 : Others 1 : Port-B+I/O 2 : I/O 3 : Port-B+Out 4 : Out 5 : Port-B+In 6 : In 7 : Port-B - Additional axis 1
-1 : Not exist 0 : Others 1 : Serial 2 : Serial+High speed DI/DO 3 : Analog 4 : Analog+High speed DI/DO
pcb_note[2][1] --- Type of axis control module (5th, 6th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[2][2] --- Type of axis control module (7th, 8th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[2][3] --- Type of analog I/O module
-1 : Not exist 0 : Others 1 : Port-B+I/O 2 : I/O 3 : Port-B+Out 4 : Out 5 : Port-B+In 6 : In 7 : Port-B - Additional axis 2
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo - PMC-NA
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[4][1] --- Type of PMC engine module
-1 : Not exist 0 : Others 1 : BOC2
pcb_note[4][2] --- Option D-RAM module
-1 : Not exist 0 : Others 1 : 512K 2 : 1M 3 : 2M
pcb_note[4][3] --- Capacity of program memory module (F-ROM)
-1 : Not exist 0 : Others 1 : 1M 2 : 1.5M 3 : 2M - PMC-NB
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[5][1] --- Type of PMC engine module
-1 : Not exist 0 : Others 1 : PMP
pcb_note[5][2] --- Option D-RAM module
-1 : Not exist 0 : Others 1 : 512K 2 : 1M 3 : 2M
pcb_note[5][3] --- Capacity of program memory module (F-ROM)
-1 : Not exist 0 : Others 1 : 1M 2 : 1.5M 3 : 2M
pcb_note[5][4] --- Capacity of EPROM module
-1 : Not exist 0 : Others 1 : 512K 2 : 768K 3 : 1M - GRAPHIC
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[6][1] --- Type of character control module
-1 : Not exist 0 : (reserve) 1 : 14" 2 : 9" 3 : 10"
pcb_note[6][2] --- Existence of graphic engine module 1
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[6][3] --- Existence of graphic engine module 2
-1 : Not exist 0 : (reserve) 1 : Exists - REMORT BUFFER/DNC2
-1 : Not exist 0 : (reserve) 1 : Exists - DNC1
-1 : Not exist 0 : (reserve) 1 : Exists - CAP/FAPT
-1 : Not exist 0 : (reserve) 1 : Exists
pcb_note[9][1] --- Capacity of EPROM module
-1 : Not exist 0 : Others 1 : 128K 2 : 256K 3 : 512K 4 : 576K 5 : 1M
pcb_note[9][2] --- Capacity of S-RAM module
-1 : Not exist 0 : Others 1 : 128K 2 : 256K 3 : 512K 4 : 576K 5 : 1M
pcb_note[9][3] --- Capacity of D-RAM module
-1 : Not exist 0 : Others 1 : 128K 2 : 256K 3 : 512K 4 : 1M - RISC
-1 : Not exist 0 : Others 1 : 512K 2 : 1M
pcb_note[10][1] --- Capacity of S-RAM module
-1 : Not exist 0 : Others 1 : 512K 2 : 1M
pcb_note[10][2] --- Capacity of D-RAM module 1
-1 : Not exist 0 : Others 1 : 1M 2 : 2M
pcb_note[10][3] --- Capacity of D-RAM module 2
-1 : Not exist 0 : Others 1 : 1M 2 : 2M - AXIS CPU 1
-1 : Not exist 0 : Others 1 : 1M 2 : 1.25M 3 : 2M 4 : 4M
pcb_note[14][1] --- Type of spindle control module
-1 : Not exist 0 : Others 1 : Selial 2 : Serial+NZ 3 : Analog 4 : Analog+NZ
pcb_note[14][2] --- Type of axis control module (1st, 2nd axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[14][3] --- Type of axis control module (3rd, 4th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[14][4] --- Type of error motion check module 1
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos
pcb_note[14][5] --- Type of error motion check module 2
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos - AXIS CPU 2
-1 : Not exist 0 : Others 1 : 1M 2 : 1.25M 3 : 2M 4 : 4M
pcb_note[15][1] --- Type of spindle control module
-1 : Not exist 0 : Others 1 : Selial 2 : Serial+NZ 3 : Analog 4 : Analog+NZ
pcb_note[15][2] --- Type of axis control module (1st, 2nd axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[15][3] --- Type of axis control module (3rd, 4th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[15][4] --- Type of error motion check module 1
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos
pcb_note[15][5] --- Type of error motion check module 2
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos - AXIS CPU 3
-1 : Not exist 0 : Others 1 : 1M 2 : 1.25M 3 : 2M 4 : 4M
pcb_note[16][1] --- Type of spindle control module
-1 : Not exist 0 : Others 1 : Selial 2 : Serial+NZ 3 : Analog 4 : Analog+NZ
pcb_note[16][2] --- Type of axis control module (1st, 2nd axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[16][3] --- Type of axis control module (3rd, 4th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[16][4] --- Type of error motion check module 1
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos
pcb_note[16][5] --- Type of error motion check module 2
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos - AXIS CPU 4
-1 : Not exist 0 : Others 1 : 1M 2 : 1.25M 3 : 2M 4 : 4M
pcb_note[17][1] --- Type of axis control module
-1 : Not exist 0 : Others 1 : Selial 2 : Serial+NZ 3 : Analog 4 : Analog+NZ
pcb_note[17][2] --- Type of axis control module (1st, 2nd axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[17][3] --- Type of axis control module (3rd, 4th axis)
-1 : Not exist 0 : Others 1 : Piston lathe 2 : Analog servo 3 : Digital servo
pcb_note[17][4] --- Type of error motion check module 1
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos
pcb_note[17][5] --- Type of error motion check module 2
-1 : Not exist 0 : Others 1 : 2 Pos 2 : 4 Pos - Reserved
-
pcb_note[0][0] --- Capacity of program memory module (F-ROM)
-
pcb_note[1][0] --- Capacity of SUB CPU memory module 1 (D-RAM)
-
pcb_note[2][0] --- Type of spindle control module
-
pcb_note[3][0] --- Type of axis control module (9th, 10th)
-
pcb_note[4][0] --- Existence of CPU module
-
pcb_note[5][0] --- Existence of CPU module
-
pcb_note[6][0] --- Existence of CPU module
-
pcb_note[7][0] --- Existence of communication module
-
pcb_note[8][0] --- Existence of communication module
-
pcb_note[9][0] --- Existence of CPU module
-
pcb_note[10][0] --- Capacity of EPROM module
-
pcb_note[14][0] --- Capacity of axis CPU memory module (D-RAM)
-
pcb_note[15][0] --- Capacity of axis CPU memory module (D-RAM)
-
pcb_note[16][0] --- Capacity of axis CPU memory module (D-RAM)
-
pcb_note[17][0] --- Capacity of axis CPU memory module (D-RAM)
-
'pcb_note[11][0]' to 'pcb_note[11][15]',
'pcb_note[12][0]' to 'pcb_note[12][15]',
'pcb_note[13][0]' to 'pcb_note[13][15]',
'pcb_note[18][0]' to 'pcb_note[18][15]',
'pcb_note[19][0]' to 'pcb_note[19][15]' are reserved.
The data from 's_series' to 'sral4_ver' are stored in ASCII code, and the last data of each member is 'NULL' code.
typedef struct odbsysc {
char slot_no_p[16]; /* Physical slot number */
char slot_no_l[16]; /* Logical slot number */
short mod_id[16]; /* Module ID */
short soft_id[16]; /* Software ID */
char s_series[16][5]; /* Software series */
char s_version[16][5]; /* Software version */
char dummy[16]; /* Not used */
short m_rom; /* Main-CPU CNC software installation status */
short s_rom; /* Sub-CPU CNC software installation status */
char svo_soft[8]; /* Series and version of servo software */
char pmc_soft[6]; /* Series and version of PMC management software */
char lad_soft[6]; /* Series and version of Ladder software */
char mcr_soft[8]; /* Series and version of macro executor */
char spl1_soft[6]; /* Series and version of spindle software(1st spindle) */
char spl2_soft[6]; /* Series and version of spindle software(2nd spindle) */
short frmmin; /* Capacity of FROM module (MAIN) */
short drmmin; /* Capacity of DRAM module (MAIN) */
short srmmin; /* Capacity of additional SRAM module (MAIN) */
short pmcmin; /* Type of PMC module (MAIN) */
short crtmin; /* Type of CRTC module (MAIN) */
short sv1min; /* Existence of servo module (axis 1,2) (MAIN) */
short sv3min; /* Existence of servo module (axis 3,4) (MAIN) */
short sicmin; /* Existence of SIC (MAIN) */
short posmin; /* Existence of position LSI (MAIN) */
short drmmrc; /* Extended DRAM for management software (PMC-SC) */
short drmarc; /* Capacity of DRAM for applications (PMC-SC) */
short pmcmrc; /* Type of PMC module (PMC-SC) */
short dmaarc; /* Existence of additional board for DMA (PMC-SC) */
short iopt; /* Number of DI/DO points (I/O card) */
short hdiio; /* Existence of LSI for high-speed skip (I/O card) */
short frmsub; /* Capacity of FROM module (SUB) */
short drmsub; /* Capacity of DRAM module (SUB) */
short srmsub; /* Capacity of added SRAM module (SUB) */
short sv5sub; /* Existence of servo module (axis 5,6) (SUB) */
short sv7sub; /* Existence of servo module (axis 7,8) (SUB) */
short sicsub; /* Existence of SIC (SUB) */
short possub; /* Existence of position LSI (SUB) */
short hamsub; /* Existence of high-speed skip and analog I/O (SUB) */
short gm2gr1; /* Existence of graphic engine 2 */
short crtgr2; /* Existence of CRTC module type (OPT-1)*/
short gm1gr2; /* Existence of graphic module 1 (OPT-1)*/
short gm2gr2; /* Existence of graphic module 2 (OPT-1)*/
short cmmrb; /* Existence of communication module (OPT-1)*/
short sv5axs; /* Existence of servo module (axis 5,6) (Axis card) */
short sv7axs; /* Existence of servo module (axis 7,8) (Axis card) */
short sicaxs; /* Existence of SIC (Axis card) */
short posaxs; /* Existence of position LSI (Axis card)*/
short hanaxs; /* Existence of high-speed skip and analog I/O (Axis card)*/
short romr64; /* Capacity of the system EPROM (64bitRISC)*/
short srmr64; /* Capacity of SRAM module (64bitRISC)*/
short dr1r64; /* Capacity of DRAM module 1 (64bitRISC)*/
short dr2r64; /* Capacity of DRAM module 2 (64bitRISC)*/
short iopio2; /* Number of DI/DO points (I/O card #2) */
short hdiio2; /* Existence of LSI for high-speed skip (I/O card #2) */
short cmmrb2; /* Existence of communication module (OPT-1 #2) */
short romfap; /* Capacity of EPROM module (CAP2) */
short srmfap; /* Capacity of SRAM module (CAP2) */
short drmfap; /* Capacity of DRAM module (CAP2) */
} ODBSYSC ;
- slot_no_p
- Physical slot number
The physical slot numbers of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.The data subsequent to FFH are invalid. 00H to 0FH : Primary slot number 80H to 8FH : Secondary slot number - slot_no_l
- Logical slot number
The logical slot numbers of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH. The data subsequent to FFH are invalid. 00H to 0FH : logical slot number - mod_id
- Module ID
The module IDs of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.
The data subsequent to FFH are invalid. 'XX' is internal information. XX3FH : Remote buffer XX45H : Graphic(CAP-II) XX46H : I/O card XX6DH : CAP-III XX7FH : RISC(64bit) XX94H : MMC-IVV XX9AH : Graphic(standard) XX9DH : PMC-SC XXA7H : FS16B/Main(6 axes) XXC4H : I/O Link-2 XXDDH : Power Mate i XXADH : FS18B/Main(4 axes) XXAEH : FS18B/Main(6 axes) XXB0H : FS16B/SUB XXB2H : FS16B/Main(4 axes) XXB4H : PMC-SB5/SB6 XXB7H : FS18B/SUB XXB9H : FS16C/Main(6 axes) XXBAH : FS16C,18C/SUB XXBDH : FS18C/Main(6 axes) - soft_id
- Software ID
The software IDs of the modules which are built in the slots are stored in binary in order of their position. This array is terminated with FFH.
The data subsequent to FFH are invalid. 40H : CNC 41H : PMC-SC 42H : Internal I/O card 43H : CNC SUB 45H : Graphic(standard) 46H : Graphic(CAP-II) 49H : CAP-II 4AH : Remote buffer 4FH : PMC-SE 5EH : MMC-IV,HSSB I/F 67H : PMC-SB5/SB6 - s_series
- Software series
Software series information is stored in ASCII code in order of slot numbers, first four bytes being used for each slot number, and next one byte is NULL. - s_version
- Software version
Software version information is stored in ASCII code in order of slot numbers, four bytes being used for each slot number, and next one byte is NULL. - m_rom
- The relation between stored value and software installation is as follows.
-
- Series 16/18
- - 0000FH ? BASIC
- - 000FFH ? BASIC + OPTION-A1
- - 00F0FH ? BASIC + OPTION-A2
- - 00FFFH ? BASIC + OPTION-A1 + OPTION-A2
- Series 21
- - 00009H ? BASIC + Servo software
- - 0000BH ? BASIC + Servo software + OPTION-A1
- - 0000DH ? BASIC + Servo software + Macro library/application
- - 0000FH ? BASIC + Servo software + OPTION-A1 + Macro library/application
- Series 0i-A
bit0 to 3 : BASIC bit4 to 7 : OPTION-A1 bit8 to 11 : OPTION-A2 Other bits : Not used bit0 : BASIC bit1 : OPTION-A1 bit2 : Macro library/application bit3 : Servo software Other bits : Not used bit0 : BASIC bit1 : OPTION-A1 - s_rom
- Sub-CPU CNC software installation status
For contents, see m_rom above. - svo_soft
- Series and version of servo software
This information item is stored in ASCII code. The first four bytes indicate the series, and the remaining four bytes indicate the version. It is impossible that this software is absent. - pmc_soft
- Series and version of PMC management software
This information item is stored in ASCII code. The first four bytes indicate the series, and the remaining two bytes indicate the version. It is impossible that this software is absent. - lad_soft
- Series and version of Ladder software
This information item is stored in ASCII code. The first four bytes indicate the series, and the remaining two bytes indicate the version. If this software does not exist, all of the 6 bytes are space(20H). - mcr_soft
- Series and version of macro executor
This information item is stored in ASCII. The four bytes from second byte indicate the series, and the subsequent two bytes indicate the version. If this software exists, the first byte is 5AH. The last byte is not used. - spl1_soft
- Series and version of spindle software (1st spindle)
This information item is stored in ASCII code. The first four bytes indicate the series, and the remaining two bytes indicate the version. If this software does not exist, all of the 6 bytes are space(20H). - spl2_soft
- Series and version of spindle software (2nd sp.)
This information item is stored in ASCII code. The first four bytes indicate the series, and the remaining two bytes indicate the version. If this software does not exist, all of the 6 bytes are space(20H). - frmmin
Capacity of FROM module (MAIN)-
- Series 16/18
- Series 21
- Series 0i-A
-1 : Not exist 0 : (reserve) 1 : 2 (MB) 2 : 4 (MB) 3 : 6 (MB) 4 : 8 (MB) 5 : 10 (MB) 6 : 12 (MB) 7 : 4 (MB) 8 : 3 (MB) 9 : 2 (MB) 10 : 6 (MB) 11 : 8 (MB) 12 : 10 (MB) 13 : 12 (MB) 14 : 14 (MB) 15 : 1 (MB) 16 : 1 (MB) 17 : (reserve) 18 : 4 (MB) 19 : 8 (MB) 0 : 128KB + 4MB 1 : (reserve) 2 : 128KB + 6MB 3 : 128KB + 2MB 4 : 256KB + 4MB 5 : (reserve) 6 : 256KB + 6MB 7 : 256KB + 2MB 0 : 4MB 1 : (reserve) 2 : 6MB 3 : 2MB - drmmin
-
- Series 16/18 Capacity of DRAM module (MAIN)
- Series 21 Capacity of SRAM module and SPINDLE TYPE (MAIN)
- Series 0i-A Capacity of additional SRAM module (MAIN)
-1 : Not exist 0 : 4 (MB) 1 : 2 (MB) 2 : 1 (MB) 3 : 6 (MB) 4 : 16 (MB) 5 : 8 (MB) 6 : 4 (MB) 7 : 24 (MB) 0 : SRAM 256KB + SIC 1 : SRAM 256KB + POSITION LSI 2 : SRAM 512KB + SIC 3 : SRAM 512KB + POSITION LSI 4 : SRAM 256KB + SIC + POSITION LSI 5 : (reserve) 6 : SRAM 512KB + SIC + POSITION LSI 7 : (reserve) 0 : SRAM 256KB + SIC 1 : SRAM 256KB + POSITION LSI 2 : SRAM 512KB + SIC 3 : SRAM 512KB + POSITION LSI 4 to 7 : (reserve) - srmmin
-
- Series 16/18 Capacity of additional SRAM module (MAIN)
- Series 21 Existence of MATRIX DI/DO (MAIN)
- Series 0i-A
- Not used.
-1 : Not exist 0 : 1 (MB) 1 : 512 (KB) 2 : 2 (MB) 3 : (reserve) 4 : (reserve) 5 : 768 (KB) 6 : (reserve) 7 : 2.25(MB) 5 : (reserve) 6 : 256 (KB) -1 : Not exist 0 : Exists - pmcmin
- Existence of MATRIX DI/DO (MAIN)
-
- Series 16/18
-1 : Not exist 0 : BOC2 1 : BSI+SLC 2 : PMP2+SLC 3 : BSI 4 : PMP2 - Series 21, 0i-A
-1 : Not exist 0 : BOC2 1 : BIT+SLC 2 : PMP+SLC 3 : BIT 4 : PMP
- crtmin
- Type of CRTC module (MAIN)
-
- Series 16/18
- Series 21
- Series 0i-A
- Not used.
-1 : Not exist 0 : 14"CRT 1 : 9"CRT 2 : VGA 3 : HSSB-VGA 4 : (reserve) 5 : 9"VGA 0 : 14"VGA 1 : 14"CRT 2 : 7.2"VGA 3 : 9"CRT - sv1min
- Existence of servo module (axis 1,2) (MAIN)
-
- Series 16/18
- Series 21, 0i-A
- Not used.
-1 : Not exist 0 : Exists - sv3min
-
- Series 16/18 Existence of servo module (axis 3,4) (MAIN)
- Series 21, 0i-A Existence of servo module (axis 1+2,3+4) (MAIN)
-1 : Not exist 0 : Exists 0 : both axis 1+2 and 3+4 1 : only axis 1+2 - sicmin
-
- Series 16/18 Existence of SIC (MAIN)
- Series 21 Existence of high-speed skip & analog I/O(MAIN)
- Series 0i-A Existence of high-speed skip LSI (MAIN)
-1 : Not exist 0 : Exists -1 : Not exist 0 : Exists -1 : Not exist 0 : Exists - posmin
-
- Series 16/18 Existence of position LSI (MAIN)
- Series 21, 0i-A Existence of graphic module (MAIN)
-1 : Not exist 0 : Exists -1 : Not exist 0 : Exists - drmmrc
- Extended DRAM for management software (PMC-SC)
-1 : Not exist 0 : Exists - drmarc
- Capacity of DRAM for applications (PMC-SC)
-1 : Not exist 0 : 2(MB) 1 : (reserve) 2 : 512(KB) 3 : 1(MB) - pmcmrc
- Type of PMC module (PMC-SC)
-1 : Not exist 0 : 2(MB) 1 : (reserve) 2 : 512(KB) 3 : 1(MB) - dmaarc
- Existence of additional board for DMA (PMC-SC)
-1 : Not exist 0 : Exists - iopt
- Number of DI/DO points (I/O card)
-
- Series 16/18
- Series 21T
- Series 21M
- Series 0i-A
- Not used.
-1 : Not exist 0 : 144/112 1 : 40/ 40 2 : 80/ 56 3 : 104/ 72 4 : 156/120 -1 : Not exist 0 : 96/ 64 1 : (reserve) 2 : 48/ 32 -1 : Not exist - hdiio
- Existence of LSI for high-speed skip (I/O card)
-
-1 : Not exist 0 : Exists - frmsub
- Capacity of FROM module (SUB)
-
-1 : Not exist 0 : (reserve) 1 : 2 (MB) 2 : 4 (MB) 3 : 6 (MB) 4 : 8 (MB) 5 : 10 (MB) 6 : 12 (MB) 7 : 4 (MB) 8 : 3 (MB) 9 : 2 (MB) 10 : 6 (MB) 11 : 8 (MB) 12 : 10 (MB) 13 : 12 (MB) 14 : 14 (MB) 15 : 1 (MB) 16 : 1 (MB) 17 : (reserve) 18 : 4 (MB) 19 : 8 (MB) - drmsub
- Capacity of DRAM module (SUB)
-
-1 : Not exist 0 : 1 (MB) 1 : 512 (KB) 2 : 2 (MB) 3 : (reserve) 4 : (reserve) 5 : 768 (KB) 6 : (reserve) 7 : 2.25(MB) 8 : (reserve) 9 : 256 (KB) - srmsub
- Capacity of additional SRAM module (SUB)
-
-1 : Not exist 0 : 1 (MB) 1 : 512 (KB) 2 : 2 (MB) 3 : (reserve) 4 : (reserve) 5 : 768 (KB) 6 : (reserve) 7 : 2.25(MB) 8 : (reserve) 9 : 256 (KB) - sv5sub
- Existence of servo module (axis 5,6) (SUB)
-
-1 : Not exist 0 : Exists - sv7sub
- Existence of servo module (axis 7,8) (SUB)
-
-1 : Not exist 0 : Exists - sicsub
- Existence of SIC (SUB)
-
-1 : Not exist 0 : Exists - possub
- Existence of position LSI (SUB)
-
-1 : Not exist 0 : Exists - hamsub
- Existence of high-speed skip & analog I/O (SUB)
-
-1 : Not exist 0 : Both exist 1 : only high-speed skip 2 : only analog I/O - gm2gr1
- Existence of graphic engine 2
-
-1 : Not exist 0 : Exists - crtgr2
- Existence of CRTC module type (OPT-1)
-
-1 : Not exist 0 : 14" CRT 1 : 9" CRT 2 : VGA MAIN 3 : (reserve) 4 : 14" CRT GRPH 5 : 9" CRT GRPH 6 : VGA GRPH - gm1gr2
- Existence of graphic module 1 (OPT-1)
-
-1 : Not exist 0 : Exists - gm2gr2
- Existence of graphic module 2 (OPT-1)
-
-1 : Not exist 0 : Exists - cmmrb
- Existence of communication module (OPT-1)
-
-1 : Not exist 0 : Exists - sv5axs
- Existence of servo module (axis 5,6) (Axis card)
-
-1 : Not exist 0 : Exists - sv7axs
- Existence of servo module (axis 7,8) (Axis card)
-
-1 : Not exist 0 : Exists - sicaxs
- Existence of SIC (Axis card)
-
-1 : Not exist 0 : Exists - posaxs
- Existence of a position LSI (Axis card)
-
-1 : Not exist 0 : Exists - hanaxs
- Existence of high-speed skip & analog I/O
-
-1 : Not exist 0 : Both exist 1 : only high-speed skip 2 : only analog I/O - romr64
- Capacity of system EPROM (64bitRISC)
-
-1 : Not exist 0 : 4 (MB) 1 : 2 (MB) 2 : 1 (MB) 3 : 512 (KB) 4 : 256 (KB) 5 : 128 (KB) 6 : 768 (KB) - srmr64
- Capacity of SRAM module (64bitRISC)
-
-1 : Not exist 0 : 4 (MB) 1 : 2 (MB) 2 : 1 (MB) 3 : 512 (KB) 4 : 256 (KB) 5 : 128 (KB) 6 : 768 (KB) - dr1r64
- Capacity of DRAM module 1 (64bitRISC)
-
-1 : Not exist 0 : (reserve) 1 : (reserve) 2 : 2 (MB) 3 : 4 (MB) - dr2r64
- Capacity of DRAM module 2 (64bitRISC)
-
-1 : Not exist 0 : (reserve) 1 : (reserve) 2 : 2 (MB) 3 : 4 (MB) - iopio2
- Number of DI/DO points (I/O card #2)
-
-1 : Not exist 0 : 144/112 1 : 40/ 40 2 : 80/ 56 3 : 104/ 72 4 : 156/120 - hdiio2
- Existence of LSI for high-speed skip
-
-1 : Not exist 0 : Exists - cmmrb2
- Existence of communication module (OPT-1 #2)
-
-1 : Not exist 0 : Exists - romfap
- Capacity of EPROM module (CAP2)
-
-1 : Not exist 0 : (reserve) 1 : (reserve) 2 : 1 (MB) 3 : 512 (KB) 4 : 256 (KB) 5 : 128 (KB) 6 : 768 (KB) - srmfap
- Capacity of DRAM module (CAP2)
-
-1 : Not exist 0 : (reserve) 1 : (reserve) 2 : 1 (MB) 3 : 512 (KB) 4 : 256 (KB) 5 : 128 (KB) 6 : 768 (KB) - drmfap
- Capacity of DRAM module (CAP2)
-
-1 : Not exist 0 : 2 (MB) 1 : 1.5(MB) 2 : 1 (MB) 3 : 512 (KB) 4 : 256 (KB) 5 : 128 (KB) 6 : (reserve)
Return
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.
The major error codes are as follows.
Return code | Meaning/Error handling |
---|---|
(6) |
The extended driver/library function is necessary. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
For HSSB connection,
CNC parameter
This function is not related to CNC parameter.
CNC mode
This function can be used in any CNC mode.
Available CNC
0i-A | 0i-B/C(Note) | 0i-D | 0i-F | 15 | 15i | 16 | 18 | 21 | 16i-A | 18i-A | 21i-A | 16i-B | 18i-B | 21i-B | 30i-A | 30i-B | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
M (Machining) | |||||||||||||||||
T (Turning) | - | ||||||||||||||||
LC (Loader) | - | - | - | - | - | - | - | - |
0i-D | 0i-F | 16i | 18i | 30i-A | 30i-B | |
---|---|---|---|---|---|---|
P (Punch press) | - | |||||
L (Laser) | - | - | - | - | ||
W (Wire) | - | - |
Power Mate i-D | |
Power Mate i-H | |
Power Motion i-A | X |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.