Description
Get the error message which occurred in the Ethernet board. This function acquires the error message of the Ethernet board with the unit of a screen(38 characters * 10 lines). The total of error message screen can be acquired by etb_rdparam. The following message information can be acquired.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle. See "Library handle" for details.
Specify the screen number for error message. Specify from 1 to number of total for screen number.
Specify the pointer to ODBTMSG structure to store the message which is acquired. The ODBETMSG structure is as follows.
typedef struct _odbetmsg {
char title[33];
char message[10][39];
} ODBETMSG;
- err_msg.title[39]
- Title of error message screen.
- The Ascii string less than 32 characters which included NULL is set.
- err_msg.message[10][39]
- Error message of message screen.
- The information of 10 lines is set. (The one line is the Ascii string less than 39 characters which included NULL.)
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) |
The screen number(page_no) is wrong. |
(6) |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
For HSSB connection,
The DATA SERVER function and the extended driver/library function are necessary.
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 | X |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.