Description
Commands CNC to tune up the tuning data for high-speed and high-precision machining automatically.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the fine level which is used at automatic tuning-up.
0 | : | fine |
1 | : | medium |
2 | : | rough |
Result status at automatic tuning-up will be set(only Series 15).
The meaning of each bit is as follows.
All bits are always zeros for Series 15i.
bit 0 | : | Time constant for after IPL has been set to maximum value. |
bit 1 | : | Time constant for after IPL has been set to minimum value. |
bit 2 | : | Coefficient of feed forward has been set to maximum value. |
bit 3 | : | Coefficient of feed forward has been set to minimum value. |
bit 4,..,15 | : | (not used) |
* When a bit is on, it means CNC has set the tuning data as the corresponding state.
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 |
---|---|
(1) |
This function cannot be used at T Series. |
(5) |
Fine level(fine) is wrong. |
(6) |
The extended driver/library function is necessary. |
(7) |
- Protection KEY(DI/KEY2) is off. - CNC parameter is a state of write-protection. |
(9) |
Setting data cannot be tuned up automatically. |
(12) |
The mode is not in MDI. |
(13) |
Setting data(fine level, max. feedrate, time constant before interpolation) are not set.
Setting data(finish level, acceleration for acceleration/deceleration before interpolation(Acc for BIPL), parameter No.1825 for servo loop gain) are not set.
|
As for the other return codes or the details, see "Return status of Data window function"
CNC option
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.
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_hpccatset cnc_hpccactfine cnc_hpccselfine