Description
Reads the data for the manual feed for 5-axis machining.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the pointer to the ODB5AXMAN structure to store the information of the tool tip coordinates of the manual feed for 5-axis machining.
The ODB5AXMAN structure is as follows.
typedef struct odb5axman {
short type1; /* axis number of 1st linear axis */
short type2; /* axis number of 2nd linear axis */
short type3; /* axis number of 3rd linear axis */
long data1; /* Tip position of 1st linear axis */
long data2; /* Tip position of 2nd linear axis */
long data3; /* Tip position of 3rd linear axis */
long c1; /* Tip center C1 */
long c2; /* Tip center C2 */
long dummy; /* unused */
long td; /* Tool axis TD */
long r1; /* Tool axis R1 */
long r2; /* Tool axis R2 */
long vr; /* Table VR */
long h1; /* Table H1 */
long h2; /* Table H2 */
} ODB5AXMAN ;
- type1
- Axis number of 1st linear axis
- type2
- Axis number of 2nd linear axis
- type3
- Axis number of 3rd linear axis
- data1
- Tip position of 1st linear axis
Tip position is stored.
The unit is the same as the axis of absolute coordinate which was set for type1. - data2
- Tip position of 2nd linear axis
Tip position is stored.
The unit is the same as the axis of absolute coordinate which was set for type2. - data3
- Tip position of 3rd linear axis
Tip position is stored.
The unit is the same as the axis of absolute coordinate which was set for type3. - c1
- Pulse amount of tip center(C1) is stored.
The unit is the same as the axis of absolute coordinate which was set in parameter No.19681. - c2
- Pulse amount of tip center(C2) is stored.
The unit is the same as the axis of absolute coordinate which was set in parameter No.19686. - dummy
- unused
- td
- Pulse amount of tool axis(TD) is stored.
- r1
- Pulse amount of tool axis(R1) is stored.
- r2
- Pulse amount of tool axis(R2) is stored.
- vr
- Pulse amount of table(VR) is stored.
- h1
- Pulse amount of table(H1) is stored.
- h2
- Pulse amount of table(H2) is stored.
The unit of td, r1, r2, vr, h1, and h2 are different according to the value of parameter No.19697.
The unit is the same as the axis of absolute coordinate which was set for the corresponding type1, type2, and type3.
The value of parameter No.19697 | td and vr | r1 and h1 | r2 and h2 |
1 | type1 | type2 | type3 |
2 | type2 | type3 | type1 |
3 | type3 | type1 | type2 |
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 extended driver/library function and the manual feed for 5-axis machining are necessary. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
For HSSB connection,
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.
See Also