Description
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
0 | : | Parameter switch on | (SW) |
1 | : | Power off parameter set | (PW) |
2 | : | I/O error | (IO) |
3 | : | Foreground P/S | (PS) |
4 | : | Overtravel,External data | (OT) |
5 | : | Overheat alarm | (OH) |
6 | : | Servo alarm | (SV) |
7 | : | Data I/O error | (SR) |
8 | : | Macro alarm | (MC) |
9 | : | Spindle alarm | (SP) |
10 | : | Other alarm(DS) | (DS) |
11 | : | Alarm concerning Malfunction prevent functions | (IE) |
12 | : | Background P/S | (BG) |
13 | : | Syncronized error | (SN) |
14 | : | (reserved) | |
15 | : | External alarm message | (EX) |
16 | : | (reserved) | |
17 | : | (reserved) | |
18 | : | (reserved) | |
19 | : | PMC error | (PC) |
20-31 | : | (not used) | |
-1 | : | All type |
typedef struct odbalmmsg2 {
long alm_no ; /* alarm number */
short type ; /* alarm type */
short axis ; /* axis number */
short dummy ; /* reserved */
short msg_len ; /* message length */
char alm_msg[64]; /* alarm message */
} ODBALMMSG2;
English | : | ASCII |
Japanese | : | Shift-JIS |
Simplified Chinese | : | Shift-JIS |
Traditional Chinese | : | GB2312 |
Korean | : | Code Page 949 |
Cyrillic | : | Code Page 1251 |
Turkish | : | Code Page 1254 |
Others European | : | Western Europe |
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) |
The alarm message number (*num) is 0 or less. |
(4) |
The specification of alarm type (type) is wrong. |
As for the other return codes or 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, 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 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
cnc_alarm cnc_alarm2 cnc_rdalminfo cnc_rdalmmsg