Description
Reads the movement amount (generally for 5 axes, in case of parallel axis, 5 + 5 = 10 axes) about 3-dimensional handle feed.
The number of each axis and the movement amount are stored respectively in "axes" and "data" of "ODB3DHDL".
The places of decimal points can be got by cnc_getfigure function.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Pointer to the ODB3DHDL structure including the movement amount of each axis. The ODB3DHDL structure is as follows.
typedef struct odb3dhdl {
short axes[5] ; /* Axis number(0 -) */
long data[5] ; /* Movement amount */
} ODB3DHDL ;
ODB3DHDL hdlmove[2] ;
/* hdlmove[0] : for general and first parallel axis */
/* hdlmove[1] : for second parallel axis */
- axes
- Axis number(0 -) is set.
- data
- Handle interrupt move amount is set.
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_rd3dpulse cnc_rd3dofschg cnc_clr3dplsmov