Description
Reads the handle interrupt pulse amount about 3-dimensional handle feed.
The handle interrupt pulse amount in special handle feed mode(G156#0, #1,#2/DI) is stored in each member of "ODB3DPLS".
Special handle feed mode | Interrupt pulse amount stored |
---|---|
Tool axis perpendicular direction mode X axis direction | right_angle_x |
Tool axis perpendicular direction mode Y axis direction | right_angle_y |
Tool axis direction mode | tool_axis |
Tool tip center rotation mode A, B axis | tool_tip_a_b |
Tool tip center rotation mode C axis | tool_tip_c |
The places of decimal points can be got by cnc_getfigure function specified tool offset.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Pointer to the ODB3DPLS structure including the handle interrupt pulse amount of each mode. The ODB3DPLS structure is as follows.
typedef struct odb3dpls {
long right_angle_x ; /* Tool axis perpendicular
direction mode X axis direction */
long right_angle_y ; /* Tool axis perpendicular
direction mode Y axis direction */
long tool_axis ; /* Tool axis direction mode */
long tool_tip_a_b ;
/* Tool tip center rotation mode A, B axis */
long tool_tip_c ;
/* Tool tip center rotation mode C axis */
} ODB3DPLS ;
ODB3DPLS hdlpulse[2] ;
/* hdlpulse[0] : for general and first parallel axis */
/* hdlpulse[1] : for second parallel axis */
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 3-dimensional handle feed function and the extended driver/library function are necessary. Besides, either the manual handle feed function or the manual handle interrupt function is necessary. |
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.
This function needs either the manual handle feed function or the manual handle interrupt function.
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
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_rd3dtooltip cnc_rd3dmovrlap cnc_rd3dofschg cnc_clr3dplsmov