NewsCNCnetPDMAbout usSupport
  

CNC_SYSCONFIG | MISC

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.

MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h"

FWLIBAPI short WINAPI cnc_sysconfig(unsigned short FlibHndl, ODBSYSC *sysinfo);

Arguments : HSSB

FlibHndl   [ in ]

Specify the library handle. See "Library handle" for details.

syssoft   [ out ]

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.

  • The ODBSYSC structure for Series 15 is as follows.
  • 
    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

    The data from 's_series' to 'sral4_ver' are stored in ASCII code, and the last data of each member is 'NULL' code.

    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
      • pcb_note[0][0] --- Capacity of program memory module (F-ROM)
        -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
      • pcb_note[1][0] --- Capacity of SUB CPU memory module 1 (D-RAM)
        -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
      • pcb_note[2][0] --- 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[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
      • pcb_note[3][0] --- Type of axis control module (9th, 10th)
        -1 : Not exist
        0 : Others
        1 : Piston lathe
        2 : Analog servo
        3 : Digital servo

    • PMC-NA
      • pcb_note[4][0] --- Existence of CPU module
        -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
      • pcb_note[5][0] --- Existence of CPU module
        -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
      • pcb_note[6][0] --- Existence of CPU module
        -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
      • pcb_note[7][0] --- Existence of communication module
        -1 : Not exist
        0 : (reserve)
        1 : Exists

    • DNC1
      • pcb_note[8][0] --- Existence of communication module
        -1 : Not exist
        0 : (reserve)
        1 : Exists

    • CAP/FAPT
      • pcb_note[9][0] --- Existence of CPU module
        -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
      • pcb_note[10][0] --- Capacity of EPROM module
        -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
      • pcb_note[14][0] --- Capacity of axis CPU memory module (D-RAM)
        -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
      • pcb_note[15][0] --- Capacity of axis CPU memory module (D-RAM)
        -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
      • pcb_note[16][0] --- Capacity of axis CPU memory module (D-RAM)
        -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
      • pcb_note[17][0] --- Capacity of axis CPU memory module (D-RAM)
        -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[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 ODBSYSC structure for Series 16/18/21, 0i-A is as follows.
  • 
    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
    • bit0 to 3 : BASIC
      bit4 to 7 : OPTION-A1
      bit8 to 11 : OPTION-A2
      Other bits : Not used
      - 0000FH ? BASIC
      - 000FFH ? BASIC + OPTION-A1
      - 00F0FH ? BASIC + OPTION-A2
      - 00FFFH ? BASIC + OPTION-A1 + OPTION-A2

    • Series 21
    • bit0 : BASIC
      bit1 : OPTION-A1
      bit2 : Macro library/application
      bit3 : Servo software
      Other bits : Not used
      - 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 : 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
    • -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)

    • Series 21
    • 0 : 128KB + 4MB
      1 : (reserve)
      2 : 128KB + 6MB
      3 : 128KB + 2MB
      4 : 256KB + 4MB
      5 : (reserve)
      6 : 256KB + 6MB
      7 : 256KB + 2MB

    • Series 0i-A
    • 0 : 4MB
      1 : (reserve)
      2 : 6MB
      3 : 2MB
    drmmin
    • Series 16/18
    • Capacity of DRAM 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)

    • Series 21
    • Capacity of SRAM module and SPINDLE TYPE (MAIN)
      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)

    • Series 0i-A
    • Capacity of additional SRAM module (MAIN)
      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)
      -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)

    • Series 21
    • Existence of MATRIX DI/DO (MAIN)
      -1 : Not exist
      0 : Exists

    • Series 0i-A
    • Not used.
    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
    • -1 : Not exist
      0 : 14"CRT
      1 : 9"CRT
      2 : VGA
      3 : HSSB-VGA
      4 : (reserve)
      5 : 9"VGA

    • Series 21
    • 0 : 14"VGA
      1 : 14"CRT
      2 : 7.2"VGA
      3 : 9"CRT

    • Series 0i-A
    • Not used.
    sv1min
    Existence of servo module (axis 1,2) (MAIN)
    • Series 16/18
    • -1 : Not exist
      0 : Exists

    • Series 21, 0i-A
    • Not used.
    sv3min
    • Series 16/18
    • Existence of servo module (axis 3,4) (MAIN)
      -1 : Not exist
      0 : Exists

    • Series 21, 0i-A
    • Existence of servo module (axis 1+2,3+4) (MAIN)
      0 : both axis 1+2 and 3+4
      1 : only axis 1+2
    sicmin
    • Series 16/18
    • Existence of SIC (MAIN)
      -1 : Not exist
      0 : Exists

    • Series 21
    • Existence of high-speed skip & analog I/O(MAIN)
      -1 : Not exist
      0 : Exists

    • Series 0i-A
    • Existence of high-speed skip LSI (MAIN)
      -1 : Not exist
      0 : Exists
    posmin
    • Series 16/18
    • Existence of position LSI (MAIN)
      -1 : Not exist
      0 : Exists

    • Series 21, 0i-A
    • Existence of graphic module (MAIN)
      -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
    • -1 : Not exist
      0 : 144/112
      1 : 40/ 40
      2 : 80/ 56
      3 : 104/ 72
      4 : 156/120

    • Series 21T
    • -1 : Not exist
      0 : 96/ 64
      1 : (reserve)
      2 : 48/ 32

    • Series 21M
    • -1 : Not exist

    • Series 0i-A
    • Not used.
    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
    EW_NOOPT
    (6)
    No option
    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,

      The extended driver/library function is necessary.

    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)H X X X H X H H H X X X X X X X X
    T (Turning) H X X X H - H H H X X X X X X X X
    LC (Loader) - - - - - - X X X X X X X X X - -

    0i-D0i-F16i18i30i-A30i-B
    P (Punch press)X X X X - X
    L (Laser) - - X - - X
    W (Wire) - - X X X X


    Power Mate i-DX
    Power Mate i-HX
    Power Motion i-AX

    "O" : Both Ethernet and HSSB
    "E" : Ethernet
    "H" : HSSB
    "X" : Cannot be used
    "-" : None

    Note) 0i-C does not support the HSSB function.

    Privacy notice

    This website uses cookies. By continuing to use it you agree to our privacy policy. 

    https://www.inventcom.net/fanuc-focas-library/misc/cnc_sysconfig

    Fanuc Focas Library | Misc | cnc_adcnv

    Reads the A/D conversion data. The A/D conversion data is stored in data of ODBAD.... [read more]
    Fanuc Focas Library | Misc | cnc_adcnv

    Fanuc Focas Library | Misc | cnc_alarm

    Reads the alarm status of CNC. Various information is stored in data of ODBALM. This function is used for watching CNC's alarm... [read more]
    Fanuc Focas Library | Misc | cnc_alarm

    Fanuc Focas Library | Misc | cnc_alarm2

    Reads the alarm status of CNC. This function is the improved version of the... [read more]
    Fanuc Focas Library | Misc | cnc_alarm2

    Fanuc Focas Library | Misc | cnc_cexesramsize

    Reads the maximum size of the SRAM variable area for C language executor. The maximum size is read by the unit of byte.... [read more]
    Fanuc Focas Library | Misc | cnc_cexesramsize

    Fanuc Focas Library | Misc | cnc_chgprotbit

    Sets the state of various NC data protection (protection pattern data). The protection pattern data is bit pattern data which collects flags corresponding to... [read more]
    Fanuc Focas Library | Misc | cnc_chgprotbit

    Fanuc Focas Library | Misc | cnc_clralm

    Clears the CNC alarm state specified by id.... [read more]
    Fanuc Focas Library | Misc | cnc_clralm

    Fanuc Focas Library | Misc | cnc_diagnosr

    Reads the diagnosis data specified by s_number,e_number,axis(only for the diagnosis data with axis). The data format depends on each diagnosis data. The... [read more]
    Fanuc Focas Library | Misc | cnc_diagnosr

    Fanuc Focas Library | Misc | cnc_diagnoss

    Reads the diagnosis specified by number,axis (only for the diagnosis with axis). The data format depends on each diagnosis. The format of Byte/Word/2-Word... [read more]
    Fanuc Focas Library | Misc | cnc_diagnoss

    Fanuc Focas Library | Misc | cnc_fromget

    Reads the F-ROM data from CNC. After F-ROM data reading, execute... [read more]
    Fanuc Focas Library | Misc | cnc_fromget

    Fanuc Focas Library | Misc | cnc_fromgetend

    Indicates the termination of reading the F-ROM data from CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_fromgetend

    Fanuc Focas Library | Misc | cnc_fromgetstart

    Indicates the start of reading the F-ROM data from CNC. However, the system control software cannot be... [read more]
    Fanuc Focas Library | Misc | cnc_fromgetstart

    Fanuc Focas Library | Misc | cnc_fromput

    Writes the F-ROM data to CNC. After F-ROM data writing, execute... [read more]
    Fanuc Focas Library | Misc | cnc_fromput

    Fanuc Focas Library | Misc | cnc_fromputend

    Indicates the termination of writing the F-ROM data to CNC. This function waits until the termination of writing process of the F-ROM data on CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_fromputend

    Fanuc Focas Library | Misc | cnc_fromputstart

    Indicates the start of writing the F-ROM data to CNC. The data which can be written in F-ROM is system data (CNC Control software... [read more]
    Fanuc Focas Library | Misc | cnc_fromputstart

    Fanuc Focas Library | Misc | cnc_fromremove

    Deletes the System data from F-ROM on CNC. However, the system control software cannot be deleted in the Ethernet version.... [read more]
    Fanuc Focas Library | Misc | cnc_fromremove

    Fanuc Focas Library | Misc | cnc_getdtailerr

    Gets the detailed error information after the function has been executed. The detailed error information is stored in err_no, err_dtno of... [read more]
    Fanuc Focas Library | Misc | cnc_getdtailerr

    Fanuc Focas Library | Misc | cnc_getfigure

    Reads the maximum valid figures and the number of decimal places under the input/output unit, which is related to various data of CNC. The... [read more]
    Fanuc Focas Library | Misc | cnc_getfigure

    Fanuc Focas Library | Misc | cnc_getfrominfo

    Reads the various information of F-ROM on CNC. The various information is stored in each member of ODBFINFORM.... [read more]
    Fanuc Focas Library | Misc | cnc_getfrominfo

    Fanuc Focas Library | Misc | cnc_getlanguage

    The display language of NC is acquired.... [read more]
    Fanuc Focas Library | Misc | cnc_getlanguage

    Fanuc Focas Library | Misc | cnc_getlockstat

    Gets the present state of various NC data protection.... [read more]
    Fanuc Focas Library | Misc | cnc_getlockstat

    Fanuc Focas Library | Misc | cnc_getpath

    Reads the current selected path number which is the target path of the Data window functions.... [read more]
    Fanuc Focas Library | Misc | cnc_getpath

    Fanuc Focas Library | Misc | cnc_getsraminfo

    Reads the various information of S-RAM on CNC. The various information is stored in each member of ODBSINFO.... [read more]
    Fanuc Focas Library | Misc | cnc_getsraminfo

    Fanuc Focas Library | Misc | cnc_gettimer

    Gets the date or time data from the calendar timer device of the CNC unit.... [read more]
    Fanuc Focas Library | Misc | cnc_gettimer

    Fanuc Focas Library | Misc | cnc_modal

    Reads the modal information of CNC. Various information is stored in each member of ODBMDL. The readable modal data are modal G code or commanded data... [read more]
    Fanuc Focas Library | Misc | cnc_modal

    Fanuc Focas Library | Misc | cnc_rd3dcdcnv

    Reads the mode and data of the 3-dimensional coordinate conversion. These are stored in each member of ODB3DCD structure. The... [read more]
    Fanuc Focas Library | Misc | cnc_rd3dcdcnv

    Fanuc Focas Library | Misc | cnc_rd3dtofs

    Reads the mode and vector of the 3-dimensional tool compensation. These are stored in each member of ODB3DTO structure. The places of decimal... [read more]
    Fanuc Focas Library | Misc | cnc_rd3dtofs

    Fanuc Focas Library | Misc | cnc_rdalminfo

    Reads the detailed information of currently arising CNC alarms. Various information is stored in data of ALMINFO. This function is... [read more]
    Fanuc Focas Library | Misc | cnc_rdalminfo

    Fanuc Focas Library | Misc | cnc_rdalmmsg

    Reads the currently arising CNC alarm messages. All alarm messages can be read at once. Differing from... [read more]
    Fanuc Focas Library | Misc | cnc_rdalmmsg

    Fanuc Focas Library | Misc | cnc_rdalmmsg2

    Reads the currently arising CNC alarm messages. All alarm messages can be read at once. Differing from... [read more]
    Fanuc Focas Library | Misc | cnc_rdalmmsg2

    Fanuc Focas Library | Misc | cnc_rdbrstrinfo

    Reads the data of block restart. These are stored in each member of ODBBRS structure. The destination and the distance to go of block restart are valid... [read more]
    Fanuc Focas Library | Misc | cnc_rdbrstrinfo

    Fanuc Focas Library | Misc | cnc_rdcdrotate

    Reads the mode and data of the coordinate rotation. These are stored in each member of ODBROT structure. The places of decimal points can be got by... [read more]
    Fanuc Focas Library | Misc | cnc_rdcdrotate

    Fanuc Focas Library | Misc | cnc_rdcexesram

    Reads the SRAM variable area for C language executor specified by offset, length. When this function accesses this area, exclusive control with the C... [read more]
    Fanuc Focas Library | Misc | cnc_rdcexesram

    Fanuc Focas Library | Misc | cnc_rdcncid

    Reads the CNC ID number. The CNC ID numbers are stored in cncid with unsigned binary format.... [read more]
    Fanuc Focas Library | Misc | cnc_rdcncid

    Fanuc Focas Library | Misc | cnc_rdcommand

    Reads the commanded data of CNC. Various information is stored in each member of ODBCMD. The readable data are the modal data except G code, and the... [read more]
    Fanuc Focas Library | Misc | cnc_rdcommand

    Fanuc Focas Library | Misc | cnc_rdcoordnum

    Reads the number of the additional workpiece coordinate systems of the workpiece coordinate systems.... [read more]
    Fanuc Focas Library | Misc | cnc_rdcoordnum

    Fanuc Focas Library | Misc | cnc_rddiaginfo

    Reads the CNC diagnosis data information specified by s_number and read_no. The CNC diagnosis data is basically non-continuous, and the attribute like... [read more]
    Fanuc Focas Library | Misc | cnc_rddiaginfo

    Fanuc Focas Library | Misc | cnc_rddiagnum

    Reads minimum, maximum, total number of the CNC diagnosis data. The distribution of the diagnosis data is different in each CNC model, and the new diagnosis... [read more]
    Fanuc Focas Library | Misc | cnc_rddiagnum

    Fanuc Focas Library | Misc | cnc_rddiag_ext

    Reads the random number diagnosis data. The diagnosis data numbers are specified by the array of long type (prm_no[]). And the number of the array is specified... [read more]
    Fanuc Focas Library | Misc | cnc_rddiag_ext

    Fanuc Focas Library | Misc | cnc_rdetherinfo

    Reads the Ethernet board inforamtion in CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_rdetherinfo

    Fanuc Focas Library | Misc | cnc_rdfixcycle

    Reads the mode and data of the canned cycle. These are stored in each member of ODBFIX structure. The places of decimal points can be got by... [read more]
    Fanuc Focas Library | Misc | cnc_rdfixcycle

    Fanuc Focas Library | Misc | cnc_rdgcode

    Reads the information of CNC about the commanded G code. Various information is stored in each member of ODBGCD. The readable data are modal G code and one... [read more]
    Fanuc Focas Library | Misc | cnc_rdgcode

    Fanuc Focas Library | Misc | cnc_rdlenofs

    Reads the mode and vector of the tool length compensation. These are stored in each member of ODBLOFS structure. The places of decimal... [read more]
    Fanuc Focas Library | Misc | cnc_rdlenofs

    Fanuc Focas Library | Misc | cnc_rdmdlconfig

    Reads the module configuration of CNC system. These information are stored in each member of ODBMDLC. Reading the data which depends on the path... [read more]
    Fanuc Focas Library | Misc | cnc_rdmdlconfig

    Fanuc Focas Library | Misc | cnc_rdmdlconfig2

    Reads the module configuration of CNC system.... [read more]
    Fanuc Focas Library | Misc | cnc_rdmdlconfig2

    Fanuc Focas Library | Misc | cnc_rdmenuswitch

    Reads the menu switch signals.... [read more]
    Fanuc Focas Library | Misc | cnc_rdmenuswitch

    Fanuc Focas Library | Misc | cnc_rdmirimage

    Reads the mode of the programmable mirror image and the absolute position of center of mirror image. These are stored in each member of ODBMIR... [read more]
    Fanuc Focas Library | Misc | cnc_rdmirimage

    Fanuc Focas Library | Misc | cnc_rdopmsg

    Reads the contents of the operator's message in CNC. The operator's message is stored in data of OPMSG.... [read more]
    Fanuc Focas Library | Misc | cnc_rdopmsg

    Fanuc Focas Library | Misc | cnc_rdopmsg2

    Reads the contents of the operator's message in CNC. The operator's message is stored in data of OPMSG2. This function can be used in... [read more]
    Fanuc Focas Library | Misc | cnc_rdopmsg2

    Fanuc Focas Library | Misc | cnc_rdopmsg3

    Reads the contents of the operator's message in CNC. The operator's message is stored in data of opmsg.... [read more]
    Fanuc Focas Library | Misc | cnc_rdopmsg3

    Fanuc Focas Library | Misc | cnc_rdopnlgnrl

    Reads the general output signal image of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_rdopnlgnrl

    Fanuc Focas Library | Misc | cnc_rdopnlgsname

    Reads the general signal name of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_rdopnlgsname

    Fanuc Focas Library | Misc | cnc_rdopnlsgnl

    Reads the output signal image of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_rdopnlsgnl

    Fanuc Focas Library | Misc | cnc_rdpm_cncitem

    Reads the item name relating the cnc specified by the item index.... [read more]
    Fanuc Focas Library | Misc | cnc_rdpm_cncitem

    Fanuc Focas Library | Misc | cnc_rdpm_item

    Reads all data specified by the item index. The acquired data is as follows. - Name - Life count... [read more]
    Fanuc Focas Library | Misc | cnc_rdpm_item

    Fanuc Focas Library | Misc | cnc_rdpm_mcnitem

    Reads the item name relating the machine specified by the item index.... [read more]
    Fanuc Focas Library | Misc | cnc_rdpm_mcnitem

    Fanuc Focas Library | Misc | cnc_rdposofs

    Reads the mode and vector of the tool position compensation. These are stored in each member of ODBPOFS structure. The... [read more]
    Fanuc Focas Library | Misc | cnc_rdposofs

    Fanuc Focas Library | Misc | cnc_rdprstrinfo

    Reads the program restart information. The program restart information is stored in each member of ODBPRS.... [read more]
    Fanuc Focas Library | Misc | cnc_rdprstrinfo

    Fanuc Focas Library | Misc | cnc_rdradofs

    Reads the mode and vector of the cutter compensation(tool nose radius compensation). These are stored in each member of... [read more]
    Fanuc Focas Library | Misc | cnc_rdradofs

    Fanuc Focas Library | Misc | cnc_rdrepeatval

    Get the counter of the subprogram call and the repeat for fixed cycle. In case of subprogram call, the remainder counter is acquired.... [read more]
    Fanuc Focas Library | Misc | cnc_rdrepeatval

    Fanuc Focas Library | Misc | cnc_rdrepeatval_ext

    Get the counter of the subprogram call and the repeat for fixed cycle. The total repetition number and the remainder counter are... [read more]
    Fanuc Focas Library | Misc | cnc_rdrepeatval_ext

    Fanuc Focas Library | Misc | cnc_rdscaling

    Reads the mode and data of the scaling. These are stored in each member of ODBSCL structure. The places of... [read more]
    Fanuc Focas Library | Misc | cnc_rdscaling

    Fanuc Focas Library | Misc | cnc_rdsyshard

    Reads the hardware configuration of CNC. These information are stored in each member of ODBSYSH. The 25... [read more]
    Fanuc Focas Library | Misc | cnc_rdsyshard

    Fanuc Focas Library | Misc | cnc_rdsyssoft

    Reads the series/version of CNC system software. These information are stored in each member of ODBSYSS. Reading the data which depends on the path needs... [read more]
    Fanuc Focas Library | Misc | cnc_rdsyssoft

    Fanuc Focas Library | Misc | cnc_rdsyssoft2

    Reads the series/version of CNC system software. These information are stored in each member of ODBSYSS2. This function can read data which... [read more]
    Fanuc Focas Library | Misc | cnc_rdsyssoft2

    Fanuc Focas Library | Misc | cnc_rdsyssoft3

    Reads the series/version of CNC system software. These information are stored in each member of ODBSYSS3. This function can read the series/version... [read more]
    Fanuc Focas Library | Misc | cnc_rdsyssoft3

    Fanuc Focas Library | Misc | cnc_rdtimer

    Gets cutting time, cycle time, and other timer data of CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_rdtimer

    Fanuc Focas Library | Misc | cnc_reset

    Executes the external reset of CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_reset

    Fanuc Focas Library | Misc | cnc_reset2

    CNC is reset. When this function is executed, reset is executed to all paths or the path selected bt CNC... [read more]
    Fanuc Focas Library | Misc | cnc_reset2

    Fanuc Focas Library | Misc | cnc_rstrseqsrch

    Searches the sequence number for program restart.... [read more]
    Fanuc Focas Library | Misc | cnc_rstrseqsrch

    Fanuc Focas Library | Misc | cnc_rstrseqsrch2

    Searches the sequence number for program restart.... [read more]
    Fanuc Focas Library | Misc | cnc_rstrseqsrch2

    Fanuc Focas Library | Misc | cnc_setpath

    Selects the path number which is the target path in the multi-path system or system with loader control. All Data window library functions input... [read more]
    Fanuc Focas Library | Misc | cnc_setpath

    Fanuc Focas Library | Misc | cnc_settimer

    Sets the date or time data to the calendar timer device of the CNC unit.... [read more]
    Fanuc Focas Library | Misc | cnc_settimer

    Fanuc Focas Library | Misc | cnc_sramget

    Reads the S-RAM data from CNC. The SRAM data which was read by this function should be restored by using the Boot function.(The SRAM... [read more]
    Fanuc Focas Library | Misc | cnc_sramget

    Fanuc Focas Library | Misc | cnc_sramgetend

    Indicates the termination of reading the S-RAM data from CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_sramgetend

    Fanuc Focas Library | Misc | cnc_sramgetstart

    Indicates the start of reading the S-RAM data from CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_sramgetstart

    Fanuc Focas Library | Misc | cnc_statinfo

    Reads the status information of CNC. The various information is stored in each member of ODBST.... [read more]
    Fanuc Focas Library | Misc | cnc_statinfo

    Fanuc Focas Library | Misc | cnc_statinfo2

    Reads the status information of CNC. The various information is stored in each member of ODBST2.... [read more]
    Fanuc Focas Library | Misc | cnc_statinfo2

    Fanuc Focas Library | Misc | cnc_sysinfo

    Reads system information such as kind of CNC system, Machining(M) or Turning(T), series and version of CNC system software and number of the controlled axes.... [read more]
    Fanuc Focas Library | Misc | cnc_sysinfo

    Fanuc Focas Library | Misc | cnc_sysinfo_ex

    Reads system information such as distinction of Machining(M) or Turning(T), number of path and number of the controlled axes.... [read more]
    Fanuc Focas Library | Misc | cnc_sysinfo_ex

    Fanuc Focas Library | Misc | cnc_wrcexesram

    Writes the SRAM variable area for C language executor specified by offset, length. When this function accesses this area, exclusive control with the... [read more]
    Fanuc Focas Library | Misc | cnc_wrcexesram

    Fanuc Focas Library | Misc | cnc_wrmenuswitch

    Writes the menu switch signals.... [read more]
    Fanuc Focas Library | Misc | cnc_wrmenuswitch

    Fanuc Focas Library | Misc | cnc_wropnlgnrl

    Writes the general output signal of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_wropnlgnrl

    Fanuc Focas Library | Misc | cnc_wropnlgsname

    Writes the general signal name of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_wropnlgsname

    Fanuc Focas Library | Misc | cnc_wropnlsgnl

    Writes the output signal of software operator's panel.... [read more]
    Fanuc Focas Library | Misc | cnc_wropnlsgnl

    Fanuc Focas Library | Misc | cnc_wrpm_item

    Writes all data specified by the item index. The acquired data is as follows. - Name - Life count... [read more]
    Fanuc Focas Library | Misc | cnc_wrpm_item

    Fanuc Focas Library | Misc | cnc_wrpm_mcnitem

    Writes the item name relating the machine specified by the item index.... [read more]
    Fanuc Focas Library | Misc | cnc_wrpm_mcnitem

    Fanuc Focas Library | Misc | cnc_wrtimer

    Sets cutting time, cycle time, and other timer data of CNC.... [read more]
    Fanuc Focas Library | Misc | cnc_wrtimer

    Fanuc Focas Library | Misc | flist_Misc

    CNC: Function related to others... [read more]
    Fanuc Focas Library | Misc | flist_Misc
    Modified: 2023-12-05