Description
The data for troubleshooting is acquired as maintenance information for the file transfer between the DATA SERVER and CNC.
The maximum channel number for the file transfer between the data server and CNC is 8. Which channel is used for each path of CNC can be set in CNC parameter No.941-948.
The following maintenance information on each channel can be acquired.Number of data delay
Number of transferring total bytes
Read pointer
Write pointer
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle. See "Library handle" for details.
Specify the channel number of maintenance information which wants to be acquired. For this data, the number from 1 to number of channel can specify. The number of channels can be acquired by etb_rdparam.
Specify the pointer to DSMNTINFO structure to store the maintenance information which is acquired. The DSMNTINFO structure is as follows.
typedef struct _dsmntinfo {
unsigned short empty_cnt;
unsigned long total_size;
unsigned short ReadPtr;
unsigned short WritePtr;
} DSMNTINFO;
- mnt_info.empty_cnt
-
Number of data delay
The counter to which the data transfer from the DATA SERVER to CNC was delayed is set. When the power supply is turned on this value is initialized to 0. And when the requirement is filled, the counter is incremented. - mnt_info.total_size
-
Number of transferring total bytes
The number of total bytes of one NC program transferred from the DATA SERVER to CNC is set. - mnt_info.ReadPtr
-
Read pointer
The read pointer is set. - mnt_info.WritePtr
-
Write pointer
The write pointer is set.
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) |
Channel number(ch_no) is wrong. |
(6) |
|
(13) |
The DATA SERVER is doing another processing. |
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 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.