News CNCnetPDM About us Support  
         
  

CNC_RDPARAINFO3 | NCDATA

Description

Reads the CNC parameter information specified by "s_number" and "*read_no".

The CNC parameter is basically non-continuous, and the attribute like the type and the size, etc. is different in each number.

Use this function for such as displaying the parameter.


This function can read the information of path type and machine group type of the parameter.

MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h" or "fwlib64.h"

FWLIBAPI short WINAPI cnc_rdparainfo3( unsigned short FlibHndl, short s_number, short* read_no, short* prev_no, short* next_no, ODBPARAIF2 info[] );

Arguments

FlibHndl   [ in ]

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

s_number   [ in ]

Specify the start parameter number.

read_no   [ in/out ]

Specify the number of parameter information to be read.

The number which was read actually is returned.

prev_no   [ out ]

Pointer to valiable of the previous parameter number to read.

After the function returns, parameter number which exists before the number indicated as s_number is set.

next_no   [ out ]

Pointer to valiable of the next parameter number to read.

After the function returns, parameter number which exists after the number to read is set.

info   [ out ]

Pointer to the ODBPARAIF2 structure including the parameter information. The ODBPARAIF2 structure is as follows.

typedef struct odbparaif2 {
    short   prm_no;         /* number of parameter */
    short   size;           /* parameter size */
    short   array;          /* arrange type */
    short   unit;           /* unit */
    short   dim;            /* dimension */
    short   input;          /* inout type */
    short   display;        /* display information */
    short   others;         /* other information */
} ODBPARAIF2 ;
info[N].prm_no
number of parameter
info[N].size
parameter size
0:bit type
1:byte type
2:word type
3:2 word type
4:real number type
info[N].array
arrange type
0:independent type
1:axes type
2:spindle type
3:paths type
4:machine gorup type
info[N].unit
unit
0:except real number
1:input unit
2:output unit
3:offset unit
info[N].dim
dimension
0:except real number
1:length unit
2:angle unit
3:length + angle unit
4:velocity unit
info[N].input
input type
0:normal
1:setting parameter
2:input prohibit
info[N].display
display information
bit 0:symbol exist
bit 1:top of group
bit 2:bottom of group
bit 3:gap required
info[N].others
other information
bit 0:unsigned
bit 1:power off required
bit 2:not output
bit 3:not compared
bit 4:loader attribute

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_NUMBER
(3)
Data number error
Start parameter number (s_number) is wrong.

As for the other return codes or the details, see "Return status of Data window function"

CNC option

For HSSB connection,

For Ethernet 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)X X X O X X X X X X X X X X X O O
T (Turning) X X X O X - X X X X X X X X X O O
LC (Loader) - - - - - - X X X X X X X X X - -

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


Power Mate i-DX
Power Mate i-HX
Power Motion i-AO

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

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

See Also

cnc_rdparam   cnc_wrparam   cnc_rdparar   cnc_wrparas   cnc_rdparam_ext   cnc_rdparanum  

Privacy notice

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

https://www.inventcom.net/fanuc-focas-library/ncdata/cnc_rdparainfo3Fanuc Focas Library | Ncdata | cnc_getmactype
Description Gets the type of custom macro variable which is used by... [read more]cnc_getmactypeFanuc Focas Library | Ncdata | cnc_getpmactype
Description Gets the type of P code macro variable which is used by... [read more]cnc_getpmactypeFanuc Focas Library | Ncdata | cnc_hpccactfine
Description Reads fine level for high-speed and high-precision machining.... [read more]cnc_hpccactfineFanuc Focas Library | Ncdata | cnc_hpccatset
Description Commands CNC to set the setting data for high-speed and high-precision machining automatically.... [read more]cnc_hpccatsetFanuc Focas Library | Ncdata | cnc_hpccattune
Description Commands CNC to tune up the tuning data for high-speed and high-precision machining automatically.... [read more]cnc_hpccattuneFanuc Focas Library | Ncdata | cnc_hpccselfine
Description Selects fine level for high-speed and high-precision machining.... [read more]cnc_hpccselfineFanuc Focas Library | Ncdata | cnc_rdactfixofs
Description Reads the active fixture offset number and the active fixture offset value specified by "axis". The offset number is stored in "type" of "IODBZOFS" with binary... [read more]cnc_rdactfixofsFanuc Focas Library | Ncdata | cnc_rdbaxis
Description Reads the command data for B axis(current command, next command). The unit of command data is as follows. Series 16/18/21, 16i/18i/21i... [read more]cnc_rdbaxisFanuc Focas Library | Ncdata | cnc_rdbtofsinfo
Description Reads the memory type of tool offset for B axis, the available number and the auxiliary function number which means offset cancel.... [read more]cnc_rdbtofsinfoFanuc Focas Library | Ncdata | cnc_rdbtofsr
Description Reads the tool offset value for B axis specified by "s_number", "e_number", "type". The offset value is stored in "IODBBTO" with signed binary format.... [read more]cnc_rdbtofsrFanuc Focas Library | Ncdata | cnc_rdexecmcode
Description Reads specified number of executing or executed M codes, starting from the M code group with specified number.... [read more]cnc_rdexecmcodeFanuc Focas Library | Ncdata | cnc_rdfixofs
Description Reads the fixture offset value specified by "s_number", "e_number", "axis". The offset value is stored in "data" array of "IODBZOR" with signed binary format.... [read more]cnc_rdfixofsFanuc Focas Library | Ncdata | cnc_rdhpccset
Description Reads setting data for High-speed and high-precision machining. The data is stored in each member of "IODBHPST". This function is not... [read more]cnc_rdhpccsetFanuc Focas Library | Ncdata | cnc_rdhpcctuac
Description Reads tuning data(acc./dec. input) for high-speed and high-precision machining. The data is stored in each member of "IODBHPAC". This... [read more]cnc_rdhpcctuacFanuc Focas Library | Ncdata | cnc_rdhpcctupr
Description Reads tuning data(parameter input) for high-speed and high-precision machining. The data is stored in each member of "IODBHPPR". This function is not... [read more]cnc_rdhpcctuprFanuc Focas Library | Ncdata | cnc_rdhsparam
Description The CNC parameter shown by parameter information is read at high speed. The parameter can be read according to parameter information acquired... [read more]cnc_rdhsparamFanuc Focas Library | Ncdata | cnc_rdhsprminfo
Description Get information for high-speed read of parameter. Got parameter information is effective until the reboot of CNC. Moreover, got... [read more]cnc_rdhsprminfoFanuc Focas Library | Ncdata | cnc_rdintchk
Description Reads the coordinate value of interference check area specified by "s_number", "e_number", "type". The coordinate value is stored in "data"... [read more]cnc_rdintchkFanuc Focas Library | Ncdata | cnc_rdintinfo
Description Reads the available number of interference check data. It is stored in (*intinf) with binary format.... [read more]cnc_rdintinfoFanuc Focas Library | Ncdata | cnc_rdmacro
Description Reads the custom macro variable specified by "number". The data is stored in "ODBM" with signed binary format. The kinds of custom macro variable are as... [read more]cnc_rdmacroFanuc Focas Library | Ncdata | cnc_rdmacroinfo
Description Reads the available number of the local macro variable and the common macro variable. Those are stored in "use_no1", "use_no2" of "ODBMVINF" with signed binary... [read more]cnc_rdmacroinfoFanuc Focas Library | Ncdata | cnc_rdmacror
Description Reads the custom macro variable specified by "datano_s", "datano_e". The data is stored in "IODBMR" with signed binary format. The kinds of custom macro... [read more]cnc_rdmacrorFanuc Focas Library | Ncdata | cnc_rdmacror2
Description Reads the custom macro variables specified by the starting number, "s_no", and number of variables, "*num". The data is stored in "data" with double format. It... [read more]cnc_rdmacror2Fanuc Focas Library | Ncdata | cnc_rdmacror3
Description Reads the custom macro variables specified by the starting number, "s_no", and number of variables, "*num". In this function, when you read the... [read more]cnc_rdmacror3Fanuc Focas Library | Ncdata | cnc_rdmgrpdata
Description Reads specified number of M code group data starting from the specified number.... [read more]cnc_rdmgrpdataFanuc Focas Library | Ncdata | cnc_rdparainfo
Description Reads the CNC parameter information specified by "s_number" and "read_no". The CNC parameter is basically non-continuous, and the attribute like the... [read more]cnc_rdparainfoFanuc Focas Library | Ncdata | cnc_rdparam
Description Reads the parameter specified by "number","axis"(only for the parameter with axis). The data format depends on each parameter. The format of... [read more]cnc_rdparamFanuc Focas Library | Ncdata | cnc_rdparam3
Description Reads the parameter specified by "number","axis"(only for the parameter with axis). In this function, the acquired... [read more]cnc_rdparam3Fanuc Focas Library | Ncdata | cnc_rdparam_ext
Description Reads the random number parameters. The parameter numbers are specified by the array of long type ("prm_no[]"). And the number of the array is specified by... [read more]cnc_rdparam_extFanuc Focas Library | Ncdata | cnc_rdparanum
Description Reads minimum, maximum, total number of the CNC parameter. The distribution of the parameter is different in each CNC model, and the new parameter may be... [read more]cnc_rdparanumFanuc Focas Library | Ncdata | cnc_rdparar
Description Reads the parameter specified by "*s_number","*e_number","axis"(only for the parameter with axis). The data format depends on each parameter. The format of... [read more]cnc_rdpararFanuc Focas Library | Ncdata | cnc_rdpitchinfo
Description Reads the available number of pitch error compensation data. It is stored in "*use_no" with signed binary format. In case of Series 16i/18i-W, the data... [read more]cnc_rdpitchinfoFanuc Focas Library | Ncdata | cnc_rdpitchr
Description Reads the pitch error compensation data specified by "s_number", "e_number". The data is stored in "data" array of "IODBPI" with signed binary format.... [read more]cnc_rdpitchrFanuc Focas Library | Ncdata | cnc_rdpmacro
Description Reads the P code macro variable (variable for the macro-executor) specified by "number". The data is stored in "ODBPM" with signed binary format. It is... [read more]cnc_rdpmacroFanuc Focas Library | Ncdata | cnc_rdpmacroinfo
Description Reads the available number of the P code macro variables (variable for the macro-executor) and the type of it. Those are stored in "ODBPMINF" with signed binary... [read more]cnc_rdpmacroinfoFanuc Focas Library | Ncdata | cnc_rdpmacroinfo2
Description Reads the available number of the P code macro variables (variable for the macro-executor) and the type of it. Those are stored in "ODBPMINF2" with signed binary... [read more]cnc_rdpmacroinfo2Fanuc Focas Library | Ncdata | cnc_rdpmacror
Description Reads the P code macro variables(variable for the macro-executor) specified by "s_number", "e_number". The data is stored in "IODBPR"... [read more]cnc_rdpmacrorFanuc Focas Library | Ncdata | cnc_rdpmacror2
Description Reads the P code macro variables(variables for the macro-executor) specified by the starting number, "stnum", and number of variables, "*num". The data is... [read more]cnc_rdpmacror2Fanuc Focas Library | Ncdata | cnc_rdrotvolc
Description Read the 3-dimensional rotary error compensation data by specified range.... [read more]cnc_rdrotvolcFanuc Focas Library | Ncdata | cnc_rdrstrmcode
Description Reads specified number of executing or executed M codes, starting from the M code group with specified number.... [read more]cnc_rdrstrmcodeFanuc Focas Library | Ncdata | cnc_rdset
Description Reads the setting data specified by "number","axis"(only for the setting data with axis). The data format depends on each setting data. The format of... [read more]cnc_rdsetFanuc Focas Library | Ncdata | cnc_rdsetinfo
Description Reads the CNC setting data information specified by "s_number" and "read_no". The CNC setting data is basically non-continuous, and the attribute like... [read more]cnc_rdsetinfoFanuc Focas Library | Ncdata | cnc_rdsetnum
Description Reads minimum, maximum, total number of the CNC setting data. The distribution of the setting data is different in each CNC model, and the new setting... [read more]cnc_rdsetnumFanuc Focas Library | Ncdata | cnc_rdsetr
Description Reads the setting data specified by "s_number","e_number","axis"(only for the setting data with axis). The data format depends on each... [read more]cnc_rdsetrFanuc Focas Library | Ncdata | cnc_rdtofs
Description Reads the tool offset value specified by "number", "type". The offset value is stored in "data" of "ODBTOFS" with signed binary format.... [read more]cnc_rdtofsFanuc Focas Library | Ncdata | cnc_rdtofsinfo
Description Reads the memory type of tool offset, and the available number of it. Those are stored in "ofs_type" and "use_no" of "ODBTLINF" with signed binary format.... [read more]cnc_rdtofsinfoFanuc Focas Library | Ncdata | cnc_rdtofsinfo2
Description Reads the memory type of tool offset, the available number of it and available type of tool offset. Those are stored in "ofs_type", "use_no" and... [read more]cnc_rdtofsinfo2Fanuc Focas Library | Ncdata | cnc_rdtofsr
Description Reads the tool offset value specified by "s_number","e_number","type". The offset value is stored in "IODBTO" with signed binary format.... [read more]cnc_rdtofsrFanuc Focas Library | Ncdata | cnc_rdvolc
Description Reads the 3-dimensional error compensation data by specified range.... [read more]cnc_rdvolcFanuc Focas Library | Ncdata | cnc_rdvolccomp
Description The compensation amount at the current position of 3-dimensional error compensation axis is acquired.... [read more]cnc_rdvolccompFanuc Focas Library | Ncdata | cnc_rdwkcdsfms
Description Reads the work coordinate shift measured value specified by "axis". The work coordinate shift measured value are stored in "data" array of "IODBWCSF" with signed... [read more]cnc_rdwkcdsfmsFanuc Focas Library | Ncdata | cnc_rdwkcdshft
Description Reads the work coordinate shift value specified by "axis". The work coordinate shift value are stored in "data" array of "IODBWCSF" with signed binary format.... [read more]cnc_rdwkcdshftFanuc Focas Library | Ncdata | cnc_rdzofs
Description Reads the work zero offset value specified by "number", "axis". The offset value is stored in "data[0]" of "IODBZOFS" with signed binary... [read more]cnc_rdzofsFanuc Focas Library | Ncdata | cnc_rdzofsinfo
Description Reads the available number of work zero offset. It is stored in "*use_no" with signed binary format.... [read more]cnc_rdzofsinfoFanuc Focas Library | Ncdata | cnc_rdzofsr
Description Reads the work zero offset value specified by "s_number", "e_number", "axis". The offset value is stored in "data" array of "IODBZOR" with signed binary... [read more]cnc_rdzofsrFanuc Focas Library | Ncdata | cnc_setmactype
Description Changes the type of custom macro variable which is used by... [read more]cnc_setmactypeFanuc Focas Library | Ncdata | cnc_setpmactype
Description Changes the type of P code macro variable which is used by... [read more]cnc_setpmactypeFanuc Focas Library | Ncdata | cnc_tofs_rnge
Description Reads the effective setting range of tool offset value specified by "number", "type". The effective setting range is stored in... [read more]cnc_tofs_rngeFanuc Focas Library | Ncdata | cnc_wksft_rnge
Description Reads the effective setting range of work coordinate shift value specified by "axis". The effective setting range is stored in "data_min", "data_max"... [read more]cnc_wksft_rngeFanuc Focas Library | Ncdata | cnc_wrbtofsr
Description Writes the tool offset value for B axis specified by "datano_s", "datano_e","type". The offset value must be stored in "IODBBTO" with signed binary format.... [read more]cnc_wrbtofsrFanuc Focas Library | Ncdata | cnc_wrfixofs
Description Writes the fixture offset value specified by "datano_s", "datano_e", "type". The offset value must be stored in "data" array of "IODBZOR"... [read more]cnc_wrfixofsFanuc Focas Library | Ncdata | cnc_wrhpccset
Description Writes setting data for high-speed and high-precision machining. This function is not supported on Series 15i. The function which writes CNC... [read more]cnc_wrhpccsetFanuc Focas Library | Ncdata | cnc_wrhpcctuac
Description Writes tuning data(acc./dec. input) for high-speed and high-precision machining. This function is not supported on Series 15i. The function which writes... [read more]cnc_wrhpcctuacFanuc Focas Library | Ncdata | cnc_wrhpcctupr
Description Writes tuning data(parameter input) for high-speed and high-precision machining. This function is not supported on Series 15i. The function... [read more]cnc_wrhpcctuprFanuc Focas Library | Ncdata | cnc_wrintchk
Description Writes the coordinate value of interference check area specified by "datano_s","datano_e","type". The coordinate value... [read more]cnc_wrintchkFanuc Focas Library | Ncdata | cnc_wrmacro
Description Writes the custom macro variable specified by "number". The data must be stored in "mcr_val", "dec_val" with signed binary format. The kind of custom... [read more]cnc_wrmacroFanuc Focas Library | Ncdata | cnc_wrmacror
Description Writes the custom macro variable specified by "datano_s", "datano_e". The data must be stored in "IODBMR" with signed binary format. The kind of custom... [read more]cnc_wrmacrorFanuc Focas Library | Ncdata | cnc_wrmacror2
Description Writes the custom macro variables specified by the starting number, "s_no", and number of variables, "*num". The data is stored in "data" with double format. It... [read more]cnc_wrmacror2Fanuc Focas Library | Ncdata | cnc_wrmgrpdata
Description Writes specified number of M code group data starting from the specified number.... [read more]cnc_wrmgrpdataFanuc Focas Library | Ncdata | cnc_wrparam
Description Writes the parameter specified by "datano","type"(only for the parameter with axis). The data format depends on each parameter. The format of Byte/Word/2-Word... [read more]cnc_wrparamFanuc Focas Library | Ncdata | cnc_wrparas
Description Writes all parameters stored in "param". The data format depends on each parameter. The format of Byte/Word/2-Word parameter is generally signed binary.... [read more]cnc_wrparasFanuc Focas Library | Ncdata | cnc_wrpitchr
Description Writes the pitch error compensation data specified by "datano_s", "datano_e". The data must be stored in "data" array of "IODBPI" with signed binary format.... [read more]cnc_wrpitchrFanuc Focas Library | Ncdata | cnc_wrpmacro
Description Writes the P code macro variable (variable for the macro-executor) specified by "number". The data must be stored in "mcr_val","dec_val" with signed binary... [read more]cnc_wrpmacroFanuc Focas Library | Ncdata | cnc_wrpmacror
Description Writes the P code macro variable (variable for the macro-executor) specified by "datano_s", "datano_e". The data must be stored in "IODBPR" with signed binary... [read more]cnc_wrpmacrorFanuc Focas Library | Ncdata | cnc_wrpmacror2
Description Writes the P code macro variables(variables for the macro-executor) specified by the starting number, "stnum", and number of variables, "*num". The data is... [read more]cnc_wrpmacror2Fanuc Focas Library | Ncdata | cnc_wrrotvolc
Description Write the 3-dimensional rotary error compensation data by specified range.... [read more]cnc_wrrotvolcFanuc Focas Library | Ncdata | cnc_wrset
Description Writes the setting data specified by "datano","type"(only for the setting data with axis). The data format depends on each setting data. The format of... [read more]cnc_wrsetFanuc Focas Library | Ncdata | cnc_wrsets
Description Writes all setting data stored in "set". The data format depends on each setting data. The format of Byte/Word/2-Word setting data is generally signed binary.... [read more]cnc_wrsetsFanuc Focas Library | Ncdata | cnc_wrtofs
Description Writes the tool offset value specified by "number", "type". The offset value must be stored in "data" with signed binary format. The unit of offset... [read more]cnc_wrtofsFanuc Focas Library | Ncdata | cnc_wrtofsr
Description Writes the tool offset value specified by "datano_s","datano_e","type". The offset value must be stored in "IODBTO" with signed binary format.... [read more]cnc_wrtofsrFanuc Focas Library | Ncdata | cnc_wrvolc
Description Writes the 3-dimensional error compensation data by specified range.... [read more]cnc_wrvolcFanuc Focas Library | Ncdata | cnc_wrwkcdsfms
Description Writes the work coordinate shift measured value specified by "type". The work coordinate shift measured value must be stored in "data"... [read more]cnc_wrwkcdsfmsFanuc Focas Library | Ncdata | cnc_wrwkcdshft
Description Writes the work coordinate shift value specified by "type". The work coordinate shift value must be stored in "data" array of... [read more]cnc_wrwkcdshftFanuc Focas Library | Ncdata | cnc_wrzofs
Description Writes the work zero offset value specified by "datano", "type". The offset value must be stored in "data[0]" of "IODBZOFS" with signed binary format.... [read more]cnc_wrzofsFanuc Focas Library | Ncdata | cnc_wrzofsr
Description Writes the work zero offset value specified by "datano_s", "datano_e", "type". The offset value must be stored in "data" array of "IODBZOR"... [read more]cnc_wrzofsrFanuc Focas Library | Ncdata | cnc_zofs_rnge
Description Reads the effective setting range of work zero offset value specified by "number", "axis". The effective setting range is stored in... [read more]cnc_zofs_rngeFanuc Focas Library | Ncdata | flist_Ncdata
CNC: Function related to CNC file data... [read more]flist_NcdataModified: 2018-06-11