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 "ofs_enable" of "ODBTLINF2" with signed binary format.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Pointer to the ODBTLINF2 structure for the tool offset information. The ODBTLINF2 structure is as follows.
typedef struct odbtlinf2 {
short ofs_type; /* memory type */
short use_no; /* available number */
short ofs_enable ; /* available type of tool offset */
} ODBTLINF2 ;
- ofs_type
- Memory type of tool offset
When the tool offset for milling and turning function is valid, "10" is always read.
- M series (Tool Offset(for Machining Center System) is valid.)
0 : memory type A 1 : memory type B 2 : memory type C
- T series or M series(Tool Offset(for Machining Center System) is invalid.)
0 : without tool geometry/wear compensation 1 : with tool geometry/wear compensation - use_no
- Available number of tool offset
32/64/99/200/400/499/999/2000 sets
- ofs_enable
- Available type of tool offset
Bit 0 : X-axis offset availableness=1/invalidation=0 Bit 1 : Y-axis offset availableness=1/invalidation=0 Bit 2 : Z-axis offset availableness=1/invalidation=0 Bit 3 : Nose radius offset availableness=1/invalidation=0 Bit 4 : imaginary tool nose availableness=1/invalidation=0 Bit 5 : Second geometry offset availableness=1/invalidation=0 Bit 7 : No.4 axis offset availableness=1/invalidation=0 Bit 8 : No.5 axis offset availableness=1/invalidation=0 Bit 6,9,..,15 : (not used)
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) |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
And this function is related to the following CNC option.
- Series 30i
- Series 0i-D/F
- Power Motion i
M series
Tool offset extension
(32)/64/99/200/400/499/999/2000 sets
Tool offset memory
(A)/B/C
Cutter radius / tool nose radius compensation
Tool Offset(for Machining Center System)
Tool offset for Milling and Turning function
T series
Tool offset extension
(32)/64/99/200/400/499/999/2000 sets
Geometry/wear offset
Cutter radius / tool nose radius compensation
Y-axis offset
Second geometry offset
Tool offset for Milling and Turning function
M
Tool offset extension
32/(400) sets
Tool offset memory
A/(C)
T
Tool offset extension
32/(99) sets
Geometry/wear offset
Cutter radius compensation
Y axis offset
Tool offset extension
(32)/99/200 sets
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 0i-D/F, Series 30i and PMi-A, the required CNC option is as follows. When Embedded Ethernet is used,above two optional functions are not required.
When Ethernet board is used,
- only Ethernet function is required.
CNC parameter
This function is related to the following CNC parameter.
See the manual of CNC parameter for details.
5024
5024
8132#1=1 (must be set)
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 | O |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.