News CNCnetPDM About us Support  



Changes timeout value, which is specified at allocating the library handle.

MTConnect Fanuc Adapter

Universal Fanuc Driver

Fanuc Focas Library CD


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

FWLIBAPI short WINAPI cnc_settimeout(unsigned short FlibHndl, long timeout);


FlibHndl   [ in ]

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

timeout   [ in ]

Specify seconds for timeout. If specify 0, timeout process is ignored and the library functions wait infinity.


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

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

CNC option

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)X E E E X E X X X E E E E E E E E
T (Turning) X E E E X - X X X E E E E E E E E
LC (Loader) - - - - - - X X X X X X X X X - -

P (Punch press)E E E E - E
L (Laser) - - E - - E
W (Wire) - - E E E E

Power Mate i-DE
Power Mate i-HE
Power Motion i-AE

"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


Privacy notice

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

Fanuc Focas Library | Handle | cnc_allclibhndl

Allocates the library handle which is used by the Data window library.... [read more]

Fanuc Focas Library | Handle | cnc_allclibhndl2

Allocates the library handle to the specified node number.... [read more]

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_freelibhndl

Frees the library handle which was used by the Data window library.... [read more]

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_rdnodeinfo

Reads the specified node information of the HSSB.... [read more]

Fanuc Focas Library | Handle | cnc_rdnodenum

Reads the number of node of the HSSB.... [read more]

Fanuc Focas Library | Handle | cnc_setdefnode

Sets the default node number which is allocated by... [read more]

Fanuc Focas Library | Handle | cnc_setlibopt

Changes FOCAS2 library's optional specifications dynamically. The changeable options are... [read more]

Fanuc Focas Library | Handle | flist_Handle

CNC: Function Reference related to library handle, node... [read more]
Modified: 2018-06-11