News CNCnetPDM About us Support  
         
  

CNC_FREELIBHNDL | HANDLE

Description

Frees the library handle which was used by the Data window library.

MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD

Declaration

#include "fwlib32.h" or "fwlib64.h"

FWLIBAPI short WINAPI cnc_freelibhndl(unsigned short FlibHndl);

Arguments

FlibHndl   [ in ]

Specify the library handle. See "Library handle" for details.

Return

EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.

In case of except EW_HANDLE error, the library handle already has been freed and so it is not necessary to call this function again.

As for the details, see "Return status of Data window function"

CNC option

For HSSB connection,

    The extended driver/library function is necessary.

For Ethernet connection,

    The Ethernet function and the extended driver/library function are necessary.

    However, in case of Series 16i/18i/21i-B, 0i-B/C/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)H O O O H O H H H O O O O O O O O
T (Turning) H O O O H - H H H O O O O O O O O
LC (Loader) - - - - - - H H X H H H H H H - -

0i-D0i-F16i18i30i-A30i-B
P (Punch press)O O O O - O
L (Laser) - - O - - O
W (Wire) - - O O O O


Power Mate i-DO
Power Mate i-HO
Power Motion i-AO

"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_allclibhndl   cnc_allclibhndl2   cnc_allclibhndl3  

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/fanuc-focas-library/handle/cnc_freelibhndl
Fanuc Focas Library | Handle | cnc_allclibhndl
Description Allocates the library handle which is used by the Data window library.... [read more]
cnc_allclibhndl
Fanuc Focas Library | Handle | cnc_allclibhndl2
Description Allocates the library handle to the specified node number.... [read more]
cnc_allclibhndl2
Fanuc Focas Library | Handle | cnc_allclibhndl3
Description Allocates the library handle and connects to CNC that has the specified IP address or the Host Name. Before executing this function,... [read more]
cnc_allclibhndl3
Fanuc Focas Library | Handle | cnc_getlibopt
Description Reads the current status of FOCAS2 library's optional specifications. The readable... [read more]
cnc_getlibopt
Fanuc Focas Library | Handle | cnc_rdnodeinfo
Description Reads the specified node information of the HSSB.... [read more]
cnc_rdnodeinfo
Fanuc Focas Library | Handle | cnc_rdnodenum
Description Reads the number of node of the HSSB.... [read more]
cnc_rdnodenum
Fanuc Focas Library | Handle | cnc_setdefnode
Description Sets the default node number which is allocated by... [read more]
cnc_setdefnode
Fanuc Focas Library | Handle | cnc_setlibopt
Description Changes FOCAS2 library's optional specifications dynamically. The changeable options are... [read more]
cnc_setlibopt
Fanuc Focas Library | Handle | cnc_settimeout
Description Changes timeout value, which is specified at allocating the library handle.... [read more]
cnc_settimeout
Fanuc Focas Library | Handle | flist_Handle
CNC: Function Reference related to library handle, node... [read more]
flist_Handle
Modified: 2018-06-11