NewsCNCnetPDMAbout usSupport
  

CNC_ALLCLIBHNDL | HANDLE

Description

Allocates the library handle which is 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_allclibhndl(unsigned short *FlibHndl);

Arguments

FlibHndl   [ out ]

Pointer to the variable to which the library handle will be stored.
See "Library handle" for details.

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
EW_HSSB
(-9)
Communication error on HSSB
Check the power supply of CNC, HSSB I/F board, HSSB connection cable.
EW_HANDLE
(-8)
Acquiring of handle is faild.
EW_BUSY
(-1)
Initialization between MMC function and CNC/PMC is in progress
Retry this function until the initialization completes.

As for the other return codes or the details, see "Return status of Data window function"

CNC option

The extended driver/library function is 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)H H H H H H H H H H H H H H H H H
T (Turning) H H H H H - H H H H H H H H H H H
LC (Loader) - - - - - - H H X H H H H H H - -

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


Power Mate i-DH
Power Mate i-HH
Power Motion i-AH

"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_allclibhndl2   cnc_allclibhndl3   cnc_freelibhndl  

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_allclibhndl

Fanuc Focas Library | Handle | cnc_allclibhndl2

Allocates the library handle to the specified node number.... [read more]
Fanuc Focas Library | Handle | cnc_allclibhndl2

Fanuc Focas Library | Handle | cnc_allclibhndl3

Allocates the library handle and connects to CNC that has the specified IP address or the Host Name. Before executing this function,... [read more]
Fanuc Focas Library | Handle | cnc_allclibhndl3

Fanuc Focas Library | Handle | cnc_freelibhndl

Frees the library handle which was used by the Data window library.... [read more]
Fanuc Focas Library | Handle | cnc_freelibhndl

Fanuc Focas Library | Handle | cnc_getlibopt

Reads the current status of FOCAS2 library's optional specifications. The readable... [read more]
Fanuc Focas Library | Handle | cnc_getlibopt

Fanuc Focas Library | Handle | cnc_rdnodeinfo

Reads the specified node information of the HSSB.... [read more]
Fanuc Focas Library | Handle | cnc_rdnodeinfo

Fanuc Focas Library | Handle | cnc_rdnodenum

Reads the number of node of the HSSB.... [read more]
Fanuc Focas Library | Handle | cnc_rdnodenum

Fanuc Focas Library | Handle | cnc_setdefnode

Sets the default node number which is allocated by... [read more]
Fanuc Focas Library | Handle | cnc_setdefnode

Fanuc Focas Library | Handle | cnc_setlibopt

Changes FOCAS2 library's optional specifications dynamically. The changeable options are... [read more]
Fanuc Focas Library | Handle | cnc_setlibopt

Fanuc Focas Library | Handle | cnc_settimeout

Changes timeout value, which is specified at allocating the library handle.... [read more]
Fanuc Focas Library | Handle | cnc_settimeout

Fanuc Focas Library | Handle | flist_Handle

CNC: Function Reference related to library handle, node... [read more]
Fanuc Focas Library | Handle | flist_Handle
Modified: 2023-12-05