Description
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
The maximum number of PMC paths is 4, and the actual number of PMC paths can be got by pmc_get_number_of_pmc. Each element of the array shows the "Unit Type" of the PMC path as following values.
Value | Unit type |
---|---|
0 | PMC not exists |
PMCUNIT_PMC1 (1) | 1st PMC |
PMCUNIT_PMC2 (2) | 2nd PMC |
PMCUNIT_PMC3 (3) | 3rd PMC |
PMCUNIT_DCS (9) | Dual-check safety PMC |
The PMC unit type can be got from this array by using the PMC path number as the index.
Before calling this function, set the element number of the array, unittypes[], where this pointer shows. This function returns the number of elements (number of PMC paths) that is actually got, storing to this pointer.
Return
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.
As for the details, see "Return status of Data window function"
CNC option
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, Series 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 not related to CNC parameter.
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
pmc_select_pmc_unit pmc_get_current_pmc_unit pmc_get_number_of_pmc