Description
Reads the name of controlled axis and spindle name from 1st by the specified (*num), with supporting "extended axis name".
After execution, "(*num)" will have the actual number of axes in case that "(*num)" is specified with the number that is larger than the current effective number of axes. In case that "(*num)" is specified with the number that is smaller than the current effective number of axes, this function reads only the number of data specified by "(*num)".
The acquisition method(absolute axis or relative axis) of name can specify by argument(absolute).
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the kind of axis name to be read.
0 | : | Controlled axis name |
1 | : | Spindle name |
Specify whether to acquire by a relative axis or an absolute axis.
0 | : | Relative axis |
1 | : | Absolute axis |
Specify the pointer for the variable that stores the number of axes to be read. This function will return the actual read number of axes after the execution.
Specify the pointer for the array of char[4] type data. 4 byte area is required for each axis name. The acquired axis name is ASCII string and the string is NULL terminated. The array of this char[4] is required by specified (*num).
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 |
---|---|
(2) |
Number of axis(*num) is less or equal 0. |
(4) |
Kind of data(type) is wrong. |
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.
The spindle serial output function is necessary for spindle name. And, This function is related to the multi spindle function.
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 0i-F, 30i and PMi-A, 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.
1020,1025,1026 (influenced by setting)
3131 (influenced by setting)
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 | O |
"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