Description
Reads the effective setting range of work zero offset value specified
by "number", "axis".
The effective setting range is stored in "data_min", "data_max" of
ODBDATRNG with signed binary format.
The unit of offset value is as follows.
- Series 30i
- Series 0i-D/F
1013#3 (ISE) |
1013#2 (ISD) |
1013#1 (ISC) |
1013#0 (ISA) |
Linear axis mm input [mm] |
Linear axis inch input [inch] |
|
---|---|---|---|---|---|---|
IS-A | 0 | 0 | 0 | 1 | 0.01 | 0.001 |
IS-B | 0 | 0 | 0 | 0 | 0.001 | 0.0001 |
IS-C | 0 | 0 | 1 | 0 | 0.0001 | 0.00001 |
IS-D | 0 | 1 | 0 | 0 | 0.00001 | 0.000001 |
IS-E | 1 | 0 | 0 | 0 | 0.000001 | 0.0000001 |
1013#1 (ISC) |
1013#0 (ISA) |
Linear axis mm input [mm] |
Linear axis inch input [inch] |
|
---|---|---|---|---|
IS-A | 0 | 1 | 0.01 | 0.001 |
IS-B | 0 | 0 | 0.001 | 0.0001 |
IS-C | 1 | 0 | 0.0001 | 0.00001 |
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the work zero offset number.
- Series 0i-F, 30i
0 | : | External work zero offset value |
1,..,6 | : | Work zero offset value of G54 through G59 |
7,..,306 | : | Work zero offset value of G54.1P1 through G54.1P300 |
- Series 0i-D
0 | : | External work zero offset value |
1,..,6 | : | Work zero offset value of G54 through G59 |
7,..,54 | : | Work zero offset value of G54.1P1 through G54.1P48 |
Specify the axis number to be read.
1,..,m | : | assigns 1 axis(m=current controlled axes) |
Specify the pointer of the ODBDATRNG structure that stores the upper and lower limit of work zero offset value. The ODBDATRNG structure is as follows.
typedef struct odbdatrng {
long data_min ; /* lower limit */
long data_max ; /* upper limit */
long status; /* status of setting value */
} ODBDATRNG ;
- data_min
- lower limit of effective setting range
- data_max
- upper limit of effective setting range
- status
- status of setting value
0 : in-range of effective setting range 1 : out-range of effective setting range
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(3) |
Offset number(number) is wrong. |
||||||||||||
(4) |
Axis number(axis) is wrong. |
||||||||||||
(6) |
This function needs the work zero offset option. |
||||||||||||
(5) |
In order to get more information for this return value, execute cnc_getdtailerr function. The following detail status will be set onto the member, err_no of ODBERR structure.
|
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.
- Series 0i-F
- Series 30i
Work zero offset 300 sets
Work zero offset
Work zero offset 48 sets
Work zero offset 300 sets
IS-C,IS-D,IS-E
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 0i-D/F and Series 30i, the required CNC option is as follows. When Embedded Ethernet is used,above two optional functions are not required.
When Ethernet board is used,
- only Ethernet function is required.
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.