Description
Reads setting data for High-speed and high-precision machining. The data is stored in each member of "IODBHPST".
This function is not supported on Series 15i. The function which reads
CNC parameter ( cnc_rdparam or cnc_rdparar ) can be substituted for this function.
Refer to CNC operator's manual and CNC parameter manual in order to
know CNC parameters which correspond to the data which are read by this
function.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle. See "Library handle" for details.
Pointer to the IODBHPST structure for the setting data for High-speed and high-precision machining. The IODBHPST structure is as follows.
typedef struct iodbhpst {
short slct; /* flag of valid data */
short hpcc; /* high precision contour control */
short multi; /* multi buffer */
short ovr1; /* override by Z-axis down */
short ign_f; /* ignore feed at program */
short foward; /* feed forward */
long max_f; /* maximum feed of high precision */
/* contour control */
short ovr2; /* override at area 2 */
short ovr3; /* override at area 3 */
short ovr4; /* override at area 4 */
long reserve[7]; /* (not used) */
} IODBHPST ;
- slct
- Flag of valid data is set.
bit 0 : high precision contour control bit 1 : multi buffer bit 2 : override by Z-axis down bit 3 : ignore feed at program bit 4 : feed forward bit 5 : maximum feed of high precision contour control bit 6 : override at area 2 bit 7 : override at area 3 bit 8 : override at area 4 bit 9,..,15 : (not used)
* When a bit is 0, it means the CNC does not have the related option, then the corresponding data has no meaning. - hpcc
- Valid/invalid of high precision contour control is set.
0 : invalid 1 : valid - multi
- Valid/invalid of multi buffer is set.
0 : invalid 1 : valid - ovr1
- Valid/invalid of override by Z-axis down is set.
0 : invalid 1 : valid - ign_f
- Valid/invalid of ignore feed at program is set.
0 : invalid 1 : valid? - foward
- Valid/invalid of feed forward is set.
0 : invalid 1 : valid - max_f
- Maximum feed of high precision contour control is set.
- ovr2
- Override at area 2 is set.
- ovr3
- Override at area 3 is set.
- ovr4
- Override at area 4 is set.
- reserve[7]
- (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 |
---|---|
(1) |
This function cannot be used at T Series |
(6) |
The extended driver/library function is necessary. |
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.
It is influenced by the high precision contour control option
and the RISC option.
For HSSB 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) | |||||||||||||||||
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_wrhpccset cnc_rdhpcctupr cnc_wrhpcctupr cnc_rdhpcctuac cnc_wrhpcctuac