Description
Storage position of magazine number and pot number is registered or released to tool management data.
By specifying the storage position of magazine/pot for the tool, tool can be return the original position after moving to spindle position or stand by position.
Magazine/pot which is specified as storage position cannot attach other tool.
Specify the registration with attaching the tool to storage position.
Specify the release with attaching the tool to storage position.
It is possible to register storage position for all tools in a magazine.
It is possible to register storage position for all tools in all magazines.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the Registration or Release of Tool storage position of specified magazine/pot.
0 | : | Registration |
1 | : | Release |
Specify the pointer to IODBTLMAG structure including the Tool management data number to be registered/released. The IODBTLMAG structure is as follows.
typedef struct iodbtlmag {
short magazine; /* magazine number */
short pot; /* pot number */
short tool_index; /* tool management data number */
} IODBTLMAG;
- magazine
- specifies magazine number.
- (Setting range : 1,..,4, 11,..,14, 21,..,24)
- pot
- specifies pot number.
- (Setting range: According to CNC option and CNC parameter)
- tool_index
- specifies tool management data number
- magazine
- specifies magazine number.
- When all magazine and pot to which tool is attached is specified, set '-1' to magazine number.
- When all magazine or all pots in magazine is specified, the following items are ignored.
- - Magazine/pot to which tool is not attached.
- - Specify of arguments and tool management number.
- pot
- Specify pot number
- When all pot in a magazine is specified, set '-1' to pot number.
- tool_index
- Specify the tool management number of Tool storage position for specified magazine/pot.
- When Tool storage position is released, this argument need not be specified.
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(5) |
In order to get more information for this err_no return value, execute cnc_getdtailerr function. The following detail status will be set onto the member, err_no of OBDERR structure.
|
||||||||||||
(6) |
Tool pair for tool management function: 64 pairs, 240pair or 1000pair and tool management expansion B is necessary. |
||||||||||||
(7) |
Tool management data table is write protected. |
||||||||||||
(13) |
The storage position of magazine and pot cannot be registered. There is no tool in specified pot. |
||||||||||||
(8) |
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.
For HSSB connection,
The extended driver/library function are necessary.
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 16i/18i/21i-B, 0i-F and 30i, 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.
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.