Description
Reads the absolute position of the tool tip coordinates about 3-dimensional handle feed.
The number of each axis and the tool tip coordinates are stored respectively in "axes" and "data" of "ODB3DHDL".The places of decimal points can be got by cnc_getfigure function.
The relation to the read tool tip coordinates, amount of Tool Length Compensation and Cutter Radius Compensation, and amount of servo delay and acceleration/deceleration delay follows setting the CNC parameter of the following description.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Pointer to the ODB3DHDL structure including the tool tip coordinates of the controlled axes. The ODB3DHDL structure is as follows.
typedef struct odb3dhdl {
short axes[5] ; /* Axis number(0 -) */
long data[5] ; /* Tool tip coordinates */
} ODB3DHDL ;
ODB3DHDL tooltip[2] ;
/* tooltip[0] : for general and first parallel axis */
/* tooltip[1] : for second parallel axis */
- axes
- Axis number(0 -) is set.
- data
- Tool tip coordinates is set.
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 3-dimensional handle feed function and the extended driver/library function are necessary. Besides, either the manual handle feed function or the manual handle interrupt function is necessary. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
This function need the following CNC option.
This function needs either the manual handle feed function or the manual
handle interrupt function.
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary.
CNC parameter
This function is related to the following CNC parameter.
See the manual of CNC parameter for details.
1022, 2202#2,#3,#4,#5 (influenced by setting)
Parameters concerning the 3-dimensional handle feed function. (influenced by setting)
Parameters concerning the 3-dimensional handle feed function. (influenced by setting)
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.
See Also
cnc_rd3dpulse cnc_rd3dmovrlap cnc_rd3dofschg cnc_clr3dplsmov