Description
When the O number of file name in the DATA SERVER and the O number in contents of file is different, O number is registered according to the ONS(No.900#1) of CNC parameter.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle. See "Library handle" for details.
Specify the pointer to the string where the file name(file name in the DATA SERVER) which wants to be inputted to the NC is stored. The format of file name is as follows.
- In case of O 4 digits
- "O" + string(program number) of 4 digits + NULL
- In case of O 8 digits
- "O" + string(program number) of 7 digits + NULL
So, the NC program registered by the file names other than the above-format cannot be input. The wild-card("*", "?") cannot be used to specify the name.
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) |
Process is canceled by [RESET]. |
(-1) |
The CNC state is as follows. |
(3) |
The file name(file_name) is wrong. Specify the following format. |
(5) |
|
(6) |
|
(7) |
|
(8) |
|
(14) |
Error occurred in DATA SERVER. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
For HSSB connection,
CNC parameter
This function is related to the following CNC parameter.
See the manual of CNC parameter for details.
Parameter No.0900#1(ONS) = 0
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