FANUC FOCAS 1/2 LIBRARY CD,Version 4.15 (2018) Fanuc Part No. A02B-0207-K737: Enables you to develop customized applications for Fanuc FOCAS enabled controllers connected to a PC via Ethernet or HSSB. Supports a wide range of Operating Systems and compilers. Includes examples for different development environments.
This document provides information about "FANUC Drivers and Libraries. (FOCAS1/2). Please read this document information before using the software from the disk.
*FOCAS1/2 = FANUC Open CNC API Specifications version 1 or 2
Note: Microsoft, MS, MS-DOS, Visual Basic, Visual C++, Windows, Win32, Win32s, Windows NT, Windows Vista are registered trademarks of Microsoft Corporation, USA. Company names and product names mentioned in this manual may be registered company names or trademarks of each company.
Note: The software for HSSB on this CD-ROM can be used on a PC connected with the High Speed Serial Bus (HSSB), FS160i / 180i / 210i, FANUC PANEL i and CNC Display Unit with PC Function. The software on this disk is not designed for MMC-IV, PC connected with the HSSB type 1, Intelligent Terminal.
Development Environment
This disk contains the libraries which can be used by the following development environment:
Windows 32 bit Version
Visual C++ 2.x / 4.x / 5.x / 6.x or later
Visual Studio 2002 / 2003 / 2005 / 2008 / 2010 or later
Visual Basic 4.x / 5.x / 6.x or later
Windows 64 bit Version
Windows 7 Professional, Windows 8/8.1 Professional, Windows 10 Pro/IoT (64-bit Edition only)
Visual Studio 2010 or later
Linux
Ubuntu 12.04 LTS or later, Fedora 17, CentOS 6.3 only
GNU Compiler Collection (Version 4.6.3 or later)
Android
Android, iAndroid 4.1(32bit), 5(32/64bit), 6(32/64bit), 7(32/64bit) ARM CPU only
Android Studio version 2.2 or later
iOS
iOSiiOS 9(32bit), 10(64bit)
Xcodeversion 8 or later
Contents of the CD-ROM
This CD has the following folder structure. Please copy the necessary files to your hard disk. See the "Installation" for detailed description.
Root directory
README.TXT
This file
READMEJ.TXT
Japanese documentation
SETUP.EXE
File for expanding CNC/PMC Data window library files (Refer to "CNC/PMC Data window library")
HSSB driver (32/64 bit version)
HSSB \ README2.TXT
English documentation for HSSB driver
HSSB \ README2J.TXT
Japanese documentation for HSSB driver
HSSB \ NCBOOT32.DOC
English documentation of NCBOOT32.EXE(32/64 bit common)
HSSB \ NCBOOT32J.DOC
Japanese documentation of NCBOOT32.EXE(32/64 bit common)
HSSB \ UPDATE.EXE
HSSB driver update utility program
HSSB \ WIN95 \ *.*
Windows 95/98 HSSB driver
HSSB \ NT40 \ *.*
Windows NT 4.0 HSSB driver
HSSB \ WIN2K \ *.*
Windows 2000 HSSB driver
HSSB \ WINXP \ *.*
Windows XP HSSB driver
HSSB \ COMMON \ *.*
Common files for Windows 95/98/NT/2000 and XP
HSSB \ VISTA \ *.*
Windows Vista/7/10 32-bit Edition HSSB driver
HSSB \ WIN7_64 \ *.*
Windows 7/10 64-bit Edition HSSB driver
Note: Please use the Microsoft Word 2000 or later for the documentations.
MDI key driver(32 bit version only)
The MDI key driver is not included in this CD-R. The MDI key driver exist in A02B-0207-K793 and A08B-0084-K790 of Drivers Disk. When MDI key driver is used on Windows Vista Business or, Windows 7 Professional, A08B-0084-K790 version 01.8 or later is necessary.
Documentation
DOCUMENT \ SPECE \ *.*
English documentation of data window library specification
DOCUMENT \ SPECJ \ *.*
Japanese documentation of data window library specification
DOCUMENT \ PM \ FWLIBPM.TXT
English documentation of Power Mate library specification
DOCUMENT \ PM \ FWLIBPMJ.TXT
Japanese documentation of Power Mate library specification
DOCUMENT \ NCG \ (Japanese file name).pdf.
Japanese documentation of NCGuidePro FOCAS2 Function OPERATOR’s MANUAL
DOCUMENT \ NCG \ NCGuidePro FOCAS2 Function.pdf
English documentation of NCGuidePro FOCAS2 Function OPERATOR’s MANUAL
DOCUMENT \ LINUX \ FOCAS2_Linuxj.pdf
Japanese documentation of FOCAS2/Ethernet for Linux OPERATOR’s MANUAL
DOCUMENT \ LINUX \ FOCAS2_Linux.pdf
English documentation of FOCAS2/Ethernet for Linux OPERATOR’s MANUAL
DOCUMENT \ Android_iOS \ FOCAS2_Android_iOSj.pdf
Japanese documentation of FOCAS2/Ethernet for Android and iOS OPERATOR’s MANUAL
DOCUMENT \ Android_iOS \ FOCAS2_Android_iOS.pdf
English documentation of FOCAS2/Ethernet for Android and iOS OPERATOR’s MANUAL
Utility
UTILITY \ CONTMEM.EXE
The CNC memory dump utility program
UTILITY \ READMEC.TXT
English documentation of CNC memory dump utility
UTILITY \ READMECJ.TXT
Japanese documentation of CNC memory dump utility
UTILITY \ OPTSET.EXE
The CNC option setting utility
UTILITY \ README4.TXT
English documentation of option setting utility
UTILITY \ README4J.TXT
Japanese documentation of option setting utility
UTILITY \ NUMLOCK.EXE
This tool enables change of the state of NumLock
UTILITY \ NUMLOCK.TXT
English documentation of NUMLOCK.EXE
UTILITY \ NUMLOCKJ.TXT
Japanese documentation of NUMLOCK.EXE
Log output
LOG \ FWLOG.EXE
Communication log output display utility for Data Window Library
LOG \ LOGLEVEL.EXE
Communication log output control utility for Data Window Library
Program operation on large capacity memory
NCPROG \ FBINBUILD \ FBINBUILD.EXE
Program storage file editing tool
NCPROG \ NCPROGCTRL \ NCPROGCTRL.EXE
Program operation control software
NCPROG \ NCPROGDLL \ WIN32 \
Program storage file edit library (32 bit version)
NCPROG \ NCPROGDLL \ X64 \
Program storage file edit library (64 bit version)
NCPROG \ (Japanese file name).pdf
Program operation on large capacity memory Specifications(Japanese)
NCPROG \ LargeCapacityMemory(A-60161EN).pdf
Program operation on large capacity memory Specifications(English)
Serial/FCA communication
SERIAL \ FCA32.DLL
Serial/FCA communication dynamic link library
SERIAL \ FCA32.LIB
Serial/FCA communication import library
SERIAL \ FCA32.H
C/C++ header file for serial/FCA communication functions and structures
SERIAL \ FCA32.BAS
Visual basic header file for serial/FCA communication functions and structures
SERIAL \ SERIAL.TXT
English documentation of serial/FCA communication library specification
SERIAL \ SERIALJ.TXT
Japanese documentation of serial/FCA communication library specification
Unsolicited Messaging Function
UNMSG \ UMSGSERV.EXE
Server for Unsolicited Messaging Function
CNC/PMC Data window library
Execute SETUP.EXE and expand the library files. After expanding files, copy the necessary files.
Processing library for FS31i / 32i / 35i NCGuidePro
FWLIB64 \ FWLIB0DN64.DLL
Processing library for FS0i-D NCGuidePro
FWLIB64 \ FWLIB64.LIB
Import library
* The 64 bit version supports FOCAS2 (for FS30i / 31i / 32i / 35i / 0i-F, PMi-A, FS0i-D) only.
Header files (64 bit version)
Header files for C/C++ and Visual Basic for CNC/PMC Data window functions
FWLIB64 \ FWSYMBOL.H
Symbol definition file (Common)
FWLIB64 \ e1 \ FWLIB64.H
C/C++/ header file for CNC/PMC Data window functions and structures for TCP/IP. (For FS30i / 31i / 32i / 35i / 0i-D/0i-F, PMi-A, FS31i / 32i / 35i / 0i-D NCGuidePro)
FWLIB64 \ 30i \ FWLIB64.H
C/C++ header file for CNC/PMC Data window functions and structures for FS30i / 31i / 32i / 35i / 0i-F, PMi-A, FS31i / 32i / 35i NCGuidePro
FWLIB64 \ 0iD \ FWLIB64.H
C/C++ header file for CNC/PMC Data window functions and structures for FS0i-D,FS0i-D NCGuidePro
CNC/PMC Data window library for Linux
LINUX \ ARM \ libfwlib32.so.1.0.*
Processing library (For armhf)
LINUX \ X86 \ libfwlib32.so.1.0.*
Processing library (For X86)
LINUX \ X64 \ libfwlib32.so.1.0.*
Processing library (For X86_64)
LINUX \ FWLIB32.H
C/C++ header file for CNC/PMC Data window functions and structures (For FS30i / 31i / 32i / 35i-A/B, 0i-D/F, PMi-A)
CNC/PMC Data window library for Android
Android \ library \ fwlibe1.aar
Processing library for Android
Android \ library \ reference-java.zip
FOCAS2 functions and structure definition file for JAVA. It is compressed in zip format. Expand and use.
Android \ focas2Sample \ *.*
Sample Application for Android
* About FOCAS2/Ethernet for Android, please refer to FOCAS2/Ethernet for Android and iOS OPERATOR’s MANUAL
CNC/PMC Data window library for iOS
iOS \ library \ fwlibios.framework
Processing library for iOS
iOS \ library \ fwlib64.h
C/C++ header file for CNC/PMC Data window functions and structures for iOS
iOS \ focas2Sample \ *.*
Sample Application for iOS
* About FOCAS2/Ethernet for iOS, please refer to FOCAS2/Ethernet for Android and iOS OPERATOR’s MANUAL
File summary
Please refer to README2.TXT on the CD for the explanation of the files contained in HSSB folder, respectively.
32 bit version FOCAS1/2 library.
FWLIB32.DLL
This is a library of data exchange functions between CNC/PMC and HSSB and Ethernet. This is a dynamic link library, which is required at run-time by HSSB and Ethernet.
FWLIBE1.DLL
This is the DLL for TCP/IP, which is called by FWLIB32.DLL at run-time. This library is available to FOCAS2/Ethernet for NCGuidePro.
FWLIB30i.DLL
This is the DLL for FS30i / 31i / 32i / 35i / 0i-F and PMi-A, which is called by FWLIB32.DLL at run-time.
FWLIB150.DLL
This is the DLL for FS150-B, which is called by FWLIB32.DLL at run-time.
FWLIB15i.DLL
This is the DLL for FS150i, which is called by FWLIB32.DLL at run-time.
FWLIB160.DLL
This is the DLL for FS160/180-B/C, FS210-B, FS160i / 180i / 210i, which is called by FWLIB32.DLL at run-time.
FWLIB16W.DLL
This is the DLL for FS160i / 180i-W, which is called by FWLIB32.DLL at run-time.
FWLIB0i.DLL
This is the DLL for FS0i-A, which is called by FWLIB32.DLL at run-time.
FWLIB0iB.DLL
This is the DLL for FS0i-B, which is called by FWLIB32.DLL at run-time.
FWLIB0iD.DLL
This is the DLL for FS0i-D, which is called by FWLIB32.DLL at run-time.
FWLIBPM.DLL
This is the DLL for Power Mate-H and Power Mate-D, which is called by FWLIB32.DLL at run-time.
FWLIBPMI.DLL
This is the DLL for Power Mate i-H and Power Mate i-D, which is called by FWLIB32.DLL at run-time.
FWLIBNCG.DLL
This is the DLL for FOCAS2/HSSB of FS31i / 32i / 35i NCGuidePro, which is called by FWLIB32.DLL at run-time.
FWLIB0DN.DLL
This is the DLL for FOCAS2/HSSB of FS0i-D NCGuidePro, which is called by FWLIB32.DLL at run-time.
FWLIB32.LIB
The import library to link with CNC/PMC Data window library (FWLIB32.DLL) in C/C++ language.
FWPMCALM.INI
The alarm message file for PMC which is used by pmc_rdalmmsg() function.
FWLIB32.H
C/C++ header file for CNC/PMC Data window functions and structures. This file is different for each CNC model.
FWSYMBOL.H
In this file, the symbols which are used in the CNC/PMC data window function is defined. This file is not different for each CNC model.
FWLIB32.BAS
Visual Basic header file for CNC/PMC Data window functions and structures. This file is different for each CNC model.
FWLIB32.CS
Visual C# .NET header file for CNC/PMC Data window functions and structures.
FWLIB32.VB
Visual Basic .NET header file for CNC/PMC Data window functions and structures.
64 bit version FOCAS2 library
FWLIB64.DLL
This is a library of data exchange functions between CNC/PMC and HSSB and Ethernet. This is a dynamic link library, which is required at run-time by HSSB and Ethernet.
FWLIBE64.DLL
This is the DLL for TCP/IP, which is called by FWLIB64.DLL at run-time.
FWLIB30i64.DLL
This is the DLL for FS30i / 31i / 32i / 35i / 0i-F and PMi-A, which is called by FWLIB64.DLL at run-time.
FWLIB0iD64.DLL
This is the DLL for FS0i-D, which is called by FWLIB64.DLL at run-time.
FWLIBNCG64.DLL
This is the DLL for FOCAS2/HSSB of FS31i-A/B NCGuidePro, which is called by FWLIB64.DLL at run-time.
FWLIB0DN64.DLL
This is the DLL for FOCAS2/HSSB of FS0i-D NCGuidePro, which is called by FWLIB64.DLL at run-time.
FWLIB64.LIB
The import library to link with CNC/PMC Data window library (FWLIB64.DLL) in C/C++ language.
FWLIB64.H
C/C++ header file for CNC/PMC Data window functions and structures. This file is different for each CNC model.
FOCAS2 library for Linux
libfwlib32.so.*.*.*
This is a library of data exchange functions between CNC/PMC and Ethernet.
Other files
DOCUMENT \ SPECE \ FWLIB32.HTM
Top page of English documentation of data window library specification. *The browser of Internet Explorer 6.0 or later is necessary to see this specifications.
DOCUMENT \ SPECJ \ FWLIB32.HTM
Top page of Japanese documentation of data window library specification. *The browser of Internet Explorer 6.0 or later is necessary to see this specifications.
FWLIBPM.TXT
English documentation of Power Mate library specification
FWLIBPMJ.TXT
Japanese documentation of Power Mate library specification
FCA32.DLL
The library for use of serial port and FCA( FANUC Cassette Adapter ).
FCA32.LIB
The import library to link with serial/FCA communication library (FCA32.DLL) in C/C++ language.
FCA32.H
C/C++ header file for serial/FCA communication functions and structures.
FCA32.BAS
Visual basic header file for serial/FCA communication functions and structures.
CONTMEM.EXE
The CNC memory dump utility program for maintenance. Please copy this file onto the backup floppy disk which is shipped with your machine.
OPTSET.EXE
The CNC option setting utility program for maintenance. Please copy this file onto the backup floppy disk which is shipped with your machine.
FWLOG.EXE
Communication log output display utility for Data Window Library.
LOGLEVEL.EXE
This is a utility to control the output level of the communication log for Data window library.
NUMLOCK.EXE
An application program that enables to change the state of NumLock without a full-keyboard.
UMSGSERV.EXE
It is a server on the PC side to use the Unsolicited Messaging Function. Please refer to the data window library specifications to use the Unsolicited Messaging Function. This function is only for "Fast Ethernet board".
Environment
All software in the disk is for Windows 95/98, Windows NT 4.0, Windows 2000 Professional, Windows XP Professional, Windows Vista Business, Windows 7 Professional, Windows 10 Pro/IoT and Linux (Ubuntu 12.04 LTS, Fedora 17, CentOS 6.3) and IOs.
They cannot be used on Win32S of Windows 3.1.
SETUP.EXE to expand CNC/PMC Data window library files supports Windows XP Professional, Windows 7 Professional, Windows 8 Pro and Windows 10 Pro/IoT.
HSSB driver and FOCAS2 library support Windows 7 Professional and 10 Pro/IoT 64-bit Edition.
Before using the TCP/IP software in this disk, see the manual "FANUC Ethernet Board Operating Manual (B-63354EN)", "FANUC Fast Ethernet Board/Fast Data Server Operating Manual (B-63644EN)" or "FANUC 16i / 18i / 21i-MODEL B Connection Manual(B-63523-1EN)", and confirm the following items.
* Settings of TCP/IP in your PC side.
* Settings of the Ethernet Board and Embedded Ethernet function in the CNC side.
* Physical network connection between your PC and the CNC.
Following system/version supports Punch press and Laser functions.
Ethernet Board16i / 18i / 21i 6561/06 or later
Fast Ethernet Board 16i / 18i / 21i 6567/01 or later
Following system/version supports FS150i.
Ethernet Board15i 6563/05 or later
Fast Ethernet Board 15i-B 6568/01 or later
Following system/version supports FS0i-B.
Fast Ethernet Board 0i-B6567/07 or later
The following version of FS31i / 32i-A NCGuidePro supports FOCAS2/HSSB and FOCAS2/Ethernet function.
NCGuidePro A08B-9010-J735#ZZ11 3.00 or later
The following version of FS31i / 32i / 35i-B NCGuidePro supports FOCAS2/HSSB and FOCAS2/Ethernet function.
NCGuidePro A08B-9010-J735#ZZ12 5.00 or later
The following version of FS0i-D NCGuidePro supports FOCAS2/HSSB function.
NCGuidePro A08B-9010-J735#ZZ11 4.30 or later
The following version of FS0i-D NCGuidePro supports FOCAS2/Ethernet function.
NCGuidePro A08B-9010-J735#ZZ11 4.00 or later
Installation
About the detailed description for install procedure for drivers, please refer to README2.TXT on the CD.
Install the HSSB driver for the PC connected with the High Speed Serial Bus(HSSB), FS160i / 180i / 210i, FANUC PANEL i and CNC Display Unit with PC Function.
The administrator privilege is required to expand CNC/PMC Data window library files. When you run SETUP.EXE, the setup wizard starts. Follow the instructions which are displayed in PC.
In order to expand files, you need to agree to the license agreement.
Copy to the appropriate folder of your application development.
FWPMCALM.INI
Copy to the application folder or the Windows system folder.
FCA32.DLL
Copy to the appropriate folder of your application can access at run-time.
FCA32.LIB FCA32.H FCA32.BAS
Copy to the appropriate folder of your application development.
Redistributable software
You can redistribute the required drivers and run-time modules with your application. The drivers and run-time modules which you can redistribute have the following extensions in the file names.