Page 2– No part of this manual may be reproduced in any form. – All specifications and designs are subject to change without notice. In this manual we have tried as much as possible to describe all the various matters. However, we cannot describe all the matters which must not be done, or which cannot be
Page 3SAFETY PRECAUTIONS This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warnings and Cautions according to their bearing on safety. Also, supplementary information is described as Notes. Read the Warnings, Cautions, and
Page 4SAFETY PRECAUTIONS B-75044EN/02 Precautions to Operate NC Machine When you control an actual NC machine with the NC programs transferred by this software, please observe the following precautions for safety. WARNING 1 Before attempting to use an NC program to control NC machines, ensure that those m
Page 5B-75044EN/02 SAFETY PRECAUTIONS Precautions to Operate FA SYSTEM for PC Precautions about FA SYSTEM for PC are described after the next chapter of this manual and near below. Before you use the software, please read the contents of WARNING, CAUTION, and NOTE carefully. - Precaution to DNC Operation
Page 6B-75044EN/02 PREFACE Preface This manual describes FANUC FA SYSTEM for PC (from here on referred to as FA SYSTEM for PC) that runs on a personal computer. The software of FA SYSTEM for PC supports three communications produced by FANUC; DNC1, DNC2 and Reader/Puncher interface. And data, such as NC p
Page 7PREFACE B-75044EN/02 Content of This Manual FA SYSTEM for PC is the software package to connect a computer to NCs, and controls them from a computer. FA SYSTEM for PC has the two software series numbers as follows: K FA LIBRARY for Windows NT / A08B-9510-J510 (from here on referred to as FA LIBRARY)
Page 8B-75044EN/02 PREFACE Chapter 5. Observation of FA SYSTEM for PC Describes a logging information of FA SYSTEM for PC. This Chapter must be read by the customer who uses either NC PROGRAM MANAGEMENT or FA LIBRARY. Chapter 6. FILE LIST MANAGEMENT Describes how to manage List Files by the FA SYSTEM for
Page 9B-75044EN/02 CONTENTS SAFETY PRECAUTIONS PREFACE 1. ABOUT FA SYSTEM FOR PC ................................................................ 1 1.1 OVERVIEW ................................................................................................................ 2 1.2 RELATION BETWEEN FA SYSTEM
Page 10CONTENTS B-75044EN/02 3.2.3 Work with the Directory List ......................................................................................................... 54 3.2.4 Copying, Moving, Deleting and Renaming Files ........................................................................... 56 3.2.
Page 14B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1 ABOUT FA SYSTEM FOR PC -1-
Page 151. ABOUT FA SYSTEM FOR PC B-75044EN/02 1.1 OVERVIEW FA LIBRARY provides library functions and machine settings. The library functions can be used for developing a user-application. NC PROGRAM MANAGEMENT is the software package that combines FA LIBRARY with the management of NC programs supplied by F
Page 16B-75044EN/02 1. ABOUT FA SYSTEM FOR PC DNC1 is a private network developed by FANUC. FA SYSTEM for PC is compatible with "Mode1" of DNC1 protocol. Mode1 enables multi-point communication where a computer acts as the primary station and controls multiple NCs. A computer can be connected with a maximu
Page 171. ABOUT FA SYSTEM FOR PC B-75044EN/02 The adapter board is used for Reader/Puncher. RS232C Adapter Computer NC NC NC Maximum of 8 NCs (NOTE) NOTE In the above figures, the maximum numbers are the number of NCs connected to one computer by using the RS-232-C adapter board. It is the sum of NCs
Page 18B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1.2 RELATION BETWEEN FA SYSTEM FOR PC AND PROTOCOLS FA SYSTEM for PC supports the protocols of DNC1, DNC2, Reader/Puncher and DNC1/Ethernet. And the available functions of NC PROGRAM MANAGEMENT and FA LIBRARY depend upon the capability of each protocol as follo
Page 191. ABOUT FA SYSTEM FOR PC B-75044EN/02 Functions of NC PROGRAM MANAGEMENT (A08B-9510-J511) (1) For DNC1 or DNC2 NC PROGRAM MANAGEMENT can handle the following functions by operating a computer. K A computer can download an NC program to an NC memory. K A computer can upload an NC program from an NC
Page 20B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1.3 TRANSMITTING NC PROGRAM A main feature of FA SYSTEM for PC is its ability to transmit an NC program. This section describes the way to transmit an NC program of NC PROGRAM MANAGEMENT and FA LIBRARY. 1.3.1 Transmitting by Operating NC PROGRAM MANAGEMENT When
Page 211. ABOUT FA SYSTEM FOR PC B-75044EN/02 Both of “default-directory” and the list of NC programs saved in the NC memory are displayed on NC PROGRAM MANAGEMENT screen. A NC program can be transmitted by operating this screen. Files that are stored in “default-directory The list of NC programs stored in
Page 22B-75044EN/02 1. ABOUT FA SYSTEM FOR PC The Way to Decide the Downloading Program Used Key Selected Program File Name The file of the same name is selected in the default-directory. NC program number The file named “OXXXX.DAT” is selected from the default-directory. Where, “XXXX” is equal to an NC pr
Page 231. ABOUT FA SYSTEM FOR PC B-75044EN/02 The Way to Store the Uploaded Program Used Key The Way to Store the Program NC program number The uploaded NC Program is named “OXXXX.DAT” which is composed of the key and the default-extension ”DAT”, and is saved in the default-directory. Full-Path The uploade
Page 24B-75044EN/02 1. ABOUT FA SYSTEM FOR PC The following table shows the effective keys according to the protocol. Relation between Key and Protocol Protocol The Requirement for Usable Key Transmitting Program File Name NC program File Number number DNC1, Downloading Program by Operating NC ´ ´ DNC2 Upl
Page 251. ABOUT FA SYSTEM FOR PC B-75044EN/02 Default-directory for Machine 1 in Computer 1. FILE_A.TXT When the file name “FILE_B.TXT” is entered by 2. FILE_B.TXT operating an NC, this file is downloaded. 3. O0001.DAT Machine 1 4. O0003.DAT When the NC program number “0003” is entered by 5. WORK1.DOC oper
Page 26B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1.4 ABOUT NC PROGRAM FORMAT FA SYSTEM for PC manages NC programs in a computer as follows. Sample 1 : Main program terminated by the M30 code % ; OXXXX ; Part Program ; M30 ; % Sample 2 : Main program terminated by the M02 code % ; OXXXX ; Par
Page 271. ABOUT FA SYSTEM FOR PC B-75044EN/02 1.5 SUBPROGRAM TRANSFER FUNCTION What Is The Subprogram Transfer Function? The “subprogram transfer function” downloads the subprogram together with the NC program if the NC program contains a subprogram call when the NC program is downloaded. NOTE This functio
Page 28B-75044EN/02 1. ABOUT FA SYSTEM FOR PC Subprogram File Names Subprogram file names must be specified in the following format: “O” + 4-digit number + “.” + 3-letter extension Example: O0001.DAT Register the extension in the [Subprogram Extension] in the [General] panel in the Machine Setup menu. Subp
Page 291. ABOUT FA SYSTEM FOR PC B-75044EN/02 1.5.1 Details of Subprogram Separate Transfer Function Subprogram Call Formats The following four subprogram call formats can be used in the main program: (1) M98PxxxxLyy (2) M98Pyyxxxx (3) G65PxxxxLyy (4) G66PxxxxLyy where, xxxx: program number yy: call repeat
Page 30B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1.5.2 Details of Subprogram Extended Transfer Function Subprogram Call Formats The following four subprogram call formats can be used in the main program: (1) M98PxxxxLyy (2) M98Pyyxxxx (3) G65PxxxxLyy (4) G66PxxxxLyy where, xxxx: program number yy: call repeat
Page 311. ABOUT FA SYSTEM FOR PC B-75044EN/02 1.6 LIST FILE TRANSFER FUNCTION What Is The "List File Transfer Function?" The “List File transfer function” sends two or more NC programs described in the “List File” to the NC. Create the List File in the Edit List File screen in FA SYSTEM for PC. Up to 9999
Page 32B-75044EN/02 1. ABOUT FA SYSTEM FOR PC O0001.DAT % % O0001 O0001 (O0001 DATA) Create List File (O0001 DATA) M30 menu M30 % Separate transfer O0002 of list (O0002 DATA) O0002.DAT List File M30 O0001.LST % O0002 O0001.DAT O0003 O0002.DAT (O0003 DATA) (O0002 DATA) M30 O0003.DAT M30 % % O0003.DAT Exte
Page 331. ABOUT FA SYSTEM FOR PC B-75044EN/02 Combinations of List File Transfer and Subprogram Transfer Functions The following table shows the possible combinations of List File transfer and subprogram transfer functions: Subprogram Transfer Mode Separate Extended List File Separate Transfer Mode Extende
Page 34B-75044EN/02 1. ABOUT FA SYSTEM FOR PC 1.6.2 Details of List File Extended Transfer Function Two or more main programs registered to the List File are sent linked as they were a single NC program. The O number and M30 or M02 codes in the registered NC program files are not sent. The O number that is
Page 351. ABOUT FA SYSTEM FOR PC B-75044EN/02 NOTE 1 To use this function, check the [Wait for send buffer to reach 0 before proceeding to next record in extended transfer mode] check box in the [Download] panel in the Machine Setup menu. 2 When you actually send data, transfer is influenced by your comput
Page 372. SETUP B-75044EN/02 2.1 SYSTEM REQUIREMENTS Your system must suit the following minimum requirements in order to run FA SYSTEM for PC. (1) Body of Computer K Type of PC: PC/AT compatible machine K CPU: Pentium (75MHz) or higher recommended K Memory: 32MB RAM or more recommended K Floppy Disk: one
Page 38B-75044EN/02 2. SETUP (8) RS-232-C Communication Board (In the case that your system uses DNC2 or Reader/Puncher) Use the following boards made by Digi International as the RS-232-C communication boards: K AccelePort 4r-ISA (for 4 ports, DTE/DB25 male) K AccelePort 8r-ISA (for 8 ports, DTE/DB25 male
Page 392. SETUP B-75044EN/02 2.2 DNC1 The DNC1 board must be installed according to the next procedure. DNC1 Board Installation Please insert the DNC1 board into your computer. For more information about installing the DNC1 board, refer to “D.1 System Requirements for Installing DNC1 Board”, “D.2 Condition
Page 40B-75044EN/02 2. SETUP 2.3 DNC2, READER/PUNCHER When a computer communicates to NCs with DNC2 or Reader/Puncher, RS- 232-C ports are used. Setting a RS232C Adapter Board The RS-232-C adapter boards described in item(8) of “2.1. System Requirements” can be used. When using the RS-232-C adapter board,
Page 412. SETUP B-75044EN/02 NOTE 1 The shape of the connector in the figure may be different from ones in your system. Please prepare the RS-232-C cable after checking it with your own eyes. 2 Don’t use the standard ports attached to your computer when you use the Reader/Puncher. 3 For details on how to m
Page 42B-75044EN/02 2. SETUP 2.4 SETTING FA SYSTEM FOR PC NOTE Setting up TCP/IP in "2.4.1 Setting Up TCP/IP" and installing FA SYSTEM for PC in "2.4.3 For Setting FA SYSTEM for PC" must be carried out by a user having administrator privileges. 2.4.1 Setting up TCP/IP FA SYSTEM for PC utilizes the TCP/IP (
Page 432. SETUP B-75044EN/02 Open this file using the Note Pad or other editor, and make cure that the following line is described in the file. (Normally, this line is located near the top of the file.) 127.0.0.1 localhost Add this line if it is not described in the file. 2.4.2 Adding Internet Service When
Page 44B-75044EN/02 2. SETUP The services file will be at the following directory assuming that “c: winnt” is the directory in which directory WindowsNT is set up. (The directory in which WindowsNT is set up is registered to system setup variable “windir” after [System] in the [Control Panel] is started.)
Page 452. SETUP B-75044EN/02 5 The following disk information screen will appear. Confirm that the disk space of [Space Available] is lager than one of [Space Required], and click the button. If [Space Available] is not enough, click the button and stop the installation. Try to install int
Page 46B-75044EN/02 2. SETUP When NC PROGRAM MANAGEMENT is installed, the FANUC FA System for PC group dialog and its programs are created as follows. (1) (2) (3) (4) (5) (6) (7) (8) (9) When FA LIBRARY is installed, the [FANUC FA System for PC] group dialog and its programs are created as follows. (1) (2)
Page 472. SETUP B-75044EN/02 2.5 STARTING AND STOPPING THE COMMUNICATION PROCESS Starting the Communication Process 1 Double-click [FA System] in the [FANUC FA System for PC] group dialog. 2 The communication process is started in the state of an icon, and the [FANUC FA System for PC] icon appears at the l
Page 48B-75044EN/02 2. SETUP 2.6 SYSTEM CONFIGURATION To use FA SYSTEM for PC, you must give a distinctive information to each machine. By using the Machine Configuration screen, please set up the information such as a machine number, a machine name, a device port and communication protocol for connecting
Page 492. SETUP B-75044EN/02 4 Select the NC type from the [ Kind of Machine] list box according to the NC machine. If the type of NC you are using is not displayed, select “OTHERS”. 5 Click the button. 2.6.2 General Settings for Machine Selecting the Default directory 1 Select the [General] panel i
Page 50B-75044EN/02 2. SETUP Setting the Subprogram Extension and List File Extension NOTE The subprogram extension and List File extension can be set only when the Reader/Puncher interface protocol is used. Do not change this value when other protocols are used. 1 Select the [General] panel in the [Machin
Page 512. SETUP B-75044EN/02 2.6.3 Communication Settings for Machine DNC1 Settings 1 Select the [Communication] panel in the [Machine Configuration] dialog box. 2 Select the machine number you want to setup from the [Machine] list box.. 3 Select “DNC1” from the [Protocol] list box. 4 Press the
Page 52B-75044EN/02 2. SETUP K To transfer the tool offsets, select either of “Milling system” or “Turning system” matched to the machine from the [Tool Offset Type] list box. K To transfer PMC data, select one of “Type FS15B/16/18”, “Type FS15A” or “Type FS0” matched to the machine from the [PMC Address S
Page 532. SETUP B-75044EN/02 4 Press the button and set the default. When you communicate with the NC using this default, first check that the NC parameters are at the value described in “A.1 Sample of NC Parameter Settings.” If communication is carried out using a value different from the se
Page 54B-75044EN/02 2. SETUP Settings of Reader/Puncher 1 Select the [Communication] panel in the [Machine Configuration] dialog box. 2 Select the machine number you want to setup from the [Machine] list box. 3 Select “Reader/Puncher” from the [Protocol] list box. 4 Press the button and set t
Page 552. SETUP B-75044EN/02 Settings of DNC1/Ethernet 1 Select the [Communication] panel in the [Machine Configuration] dialog box. 2 Select the machine number you want to set up from the [Machine] list box. 3 Select "DNC1/Ethernet" from the [Protocol] list box. 4 Press the button and set th
Page 56B-75044EN/02 2. SETUP 2.6.4 Download Settings for Machine You can set the subprogram transfer method and List File transfer method. For details on the subprogram transfer function, see “1.5 Subprogram Transfer Function,” and for details on the List File transfer function, see “1.6 List File Transfer
Page 572. SETUP B-75044EN/02 1st to 3rd Directory Searching Sub Program You can set up to three directories for storing the subprograms. 1 to 3 indicate the search order. That is, when a subprogram having the same number is located in [1st Directory Searching Sub Program] and [2nd Directory Searching Sub
Page 58B-75044EN/02 2. SETUP 2.6.6 Saving and Restoring Settings The FA SYSTEM for PC settings that are set in the Machine Setup screen are written to a data file on your computer by pressing the button. The installation floppy disk holds the FA SYSTEM for PC communication program and various operat
Page 592. SETUP B-75044EN/02 Select the button to return to the Machine Setup screen. Saving Settings 1 Insert the floppy disk that you want to save the settings to into the floppy disk drive. Before you insert the floppy disk, make sure that it is not write-protected. 2 The “Insert the floppy dis
Page 60B-75044EN/02 3. NC PROGRAM MANAGEMENT 3 NC PROGRAM MANAGEMENT -47-
Page 613. NC PROGRAM MANAGEMENT B-75044EN/02 3.1 OUTLINE NC PROGRAM MANAGEMENT is the software package that allows a computer to function as an NC program file sever to connect multiple NCs. NC PROGRAM MANAGEMENT has the following functions according to the communicating capability. (1) For DNC1 or DNC2 Th
Page 62B-75044EN/02 3. NC PROGRAM MANAGEMENT 3.2 USING NC PROGRAM MANAGEMENT Double-click [NC Program Management] in the [FA System for PC] group dialog. The NC PROGRAM MANAGEMENT screen will appear. 3.2.1 About The NC PROGRAM MANAGEMENT Window The NC PROGRAM MANAGEMENT screen looks like this: Menu Bar Too
Page 633. NC PROGRAM MANAGEMENT B-75044EN/02 (2) Directory List The list indicates work directories. The work directory is the directory of WindowsNT. When a directory is registered as the work directory in the NC PROGRAM MANAGEMENT screen, a file can be transferred between the default- directory and the o
Page 64B-75044EN/02 3. NC PROGRAM MANAGEMENT Split Bar The split bar separates the Management Group List and File List. You can move to change the width of the lists by using the mouse to point to the bar and dragging it to its new position. 3.2.2 Work with the File List Changing the Current Management Gro
Page 653. NC PROGRAM MANAGEMENT B-75044EN/02 Changing the View Form of the File List - To display large icons of files, choose the [Large Icons] from the [View] menu, or click the [Large Icons] button on the tool bar. - To display only names of files, click the [List] command from the [View] menu, or click
Page 66B-75044EN/02 3. NC PROGRAM MANAGEMENT K When complete information of files are displayed, you can sort files by clicking one of the [Name], [Type], [Size], [Last modification date] column in the top of the File List. Refreshing the File List 1 Choose the [Refresh] command from the [View] menu. The F
Page 673. NC PROGRAM MANAGEMENT B-75044EN/02 3.2.3 Work with the Directory List Adding a Work Directory to the Directory List 1 Choose the [Add Directory] command from the [Directory] of [File] menu. The [Add Directory] dialog box will open. 2 Double-click the directory you want to add to the work director
Page 68B-75044EN/02 3. NC PROGRAM MANAGEMENT Freeing the Work Directory from the Directory List 1 Click the work directory you want to cancel in the Directory List of the Management Group List 2 Choose the [Free Directory] command from the [Directory] of [File] menu. Replacing a Work Directory with the New
Page 693. NC PROGRAM MANAGEMENT B-75044EN/02 3.2.4 Copying, Moving, Deleting and Renaming Files Copying Files 1 Choose the file you want to copy from the File List. You can select more than one file by clicking files while pushing the Ctrl key 2 Click the [Copy] command in the [File] menu. The [Copy File]
Page 70B-75044EN/02 3. NC PROGRAM MANAGEMENT Moving Files 1 Choose the file you want to move from the File List. You can select more than one file by clicking files while pushing the Ctrl key. 2 Click the [Move] command in the [File] menu. The [Move File] dialog box will open. 3 Choose the Management Group
Page 713. NC PROGRAM MANAGEMENT B-75044EN/02 3.2.5 Browsing, Editing and Creating New Files Browsing Files 1 Choose the file you want to browse in the File List. 2 Click the [Browse] command in the [File] menu to start the viewer for the file you selected. When the file is selected in the File List, the
Page 72B-75044EN/02 3. NC PROGRAM MANAGEMENT NOTE 1 File Viewer allows you to view only one file at once. If you browse another file while you are browsing the current file, the File Viewer displays the contents of the newly selected file. 2 File Viewer is a text viewer. It does not allow you to view binar
Page 733. NC PROGRAM MANAGEMENT B-75044EN/02 Creating New Files NOTE 1 If you have selected the "Disable Editor" option in the Options menu, the [New File] menu is not displayed. 2 Files cannot be created in the work directory. 3 The File List display in NC PROGRAM MANAGEMENT is not automatically updated b
Page 74B-75044EN/02 3. NC PROGRAM MANAGEMENT When the file is selected outside of the File List, the Edit File List screen is started. Use this screen for creating the File List. Refer to 6. FILE LIST MANAGEMENT for details of operations in the Edit File List screen. 3.2.6 Transmitting an NC Program NOTE
Page 753. NC PROGRAM MANAGEMENT B-75044EN/02 NC programs stored in the NC memory of “Machine02” are shown. K When the [File List] command of the [Communication] menu is clicked, the File List of the NC memory is updated. 4 Choose the [End of communication] command from the [Communication] menu, the followi
Page 76B-75044EN/02 3. NC PROGRAM MANAGEMENT Downloading an NC Program 1 Select the file you want to download from the File List in the Current Management Group. You can select more than one file by clicking files while pushing the Ctrl key. 2 Click the [Download] command of the [communication] menu. 3 The
Page 773. NC PROGRAM MANAGEMENT B-75044EN/02 4 The selected NC programs are downloaded to NC, and the File List of NC memory is updated automatically. Uploading a NC Program 1 Select the file you want to upload from the File List of the NC memory. You can select more than one file by clicking files while p
Page 78B-75044EN/02 3. NC PROGRAM MANAGEMENT Deleting the NC Program in the Memory of a NC 1 Select the file you want to delete from the File List of the NC memory. You can select more than one file by clicking files while pushing the Ctrl key. 2 Click the [Delete] command of the [communication] menu, the
Page 793. NC PROGRAM MANAGEMENT B-75044EN/02 Switching Path Control Systems You can communicate with multiple paths CNC systems by checking the [Connect to multiple paths CNC] check box in the [Options] dialog box. 1 Point at the [Change Path] command in the [Communication] menu. This displays a list of av
Page 80B-75044EN/02 3. NC PROGRAM MANAGEMENT Selecting the Transfer File 1 Select the file you want to download from the File List. 2 Choose the [Select Transfer File] command from the [File] menu. The [Select Transfer File] dialog box and [Change Transfer File] dialog box will open. 3 Confirm that the dir
Page 813. NC PROGRAM MANAGEMENT B-75044EN/02 4 Confirm that the directory specified by the above item 3 is shown in the [File] label of the [ The Current Selecting File] group list of the [Select Transfer File] dialog box. And click the button. 5 The above selected file is downloaded when you request
Page 82B-75044EN/02 3. NC PROGRAM MANAGEMENT This space is cleared by the Backspace key 4 Confirm that the contents of the [File] label of the [The Current Selecting File] group list in the [Select Transfer File] dialog box is clear. And click the button. 5 The [Selecting the Transfer File] function i
Page 833. NC PROGRAM MANAGEMENT B-75044EN/02 2 In the [File List] frame, make settings relating to File List display on your computer. K When the [Reflesh File List before sorting] check box is checked, the latest file list information is acquired before the File List display order is changed. If this chec
Page 84B-75044EN/02 4. FA LIBRARY 4 FA LIBRARY -71-
Page 854. FA LIBRARY B-75044EN/02 4.1 OUTLINE This chapter describes the user interface of the functions supported by FA LIBRARY of FA SYSTEM for PC. 4.1.1 Service Type FA LIBRARY is composed of “System service”, “Request service”, and “Diagnosis and other services”. “System service” is the function group
Page 86B-75044EN/02 4. FA LIBRARY 4.1.2 How to Read the Library Function The functions are classified according to the service group explained in “4.2 System service”, “4.3 Request service”, and “4.4 Diagnosis and other services” and “4.5 Log Service”. As for “System service”, the most application program
Page 874. FA LIBRARY B-75044EN/02 4.1.3 About the Development Language of the Application Program The functions can be called from both of Microsoft Visual Basic Ver4.0(VB) and Microsoft Visual C++ Ver4.0(VC++). (For details on VB and VC++ versions, refer to "2.1 Computer Operating Environment.") In case o
Page 88B-75044EN/02 4. FA LIBRARY K The DLL files which are referred while an application program is running BIN FComLib.dll (for release) BIN FComLibD.dll (for debug) BIN LogLib.dll (for release) BIN LogLibD.dll (for debug) The above relative directories are continued from the directory where FA LIBRARY i
Page 894. FA LIBRARY B-75044EN/02 4.1.5 About Sample Program Sample programs are appended in the package of FA LIBRARY. These sample programs are made up of the FA LIBRARY functions described in Section 4.2 to 4.5. Files and Directories There are two sample programs made by using VC++(version 4.0) and VB (
Page 90B-75044EN/02 4. FA LIBRARY Relationship between the functions of FA LIBRARY and the sample program files Function Communication Protocol Compatibility DNC1/ DNC1 DNC2 Ethernet VB VC++ 4.2.1. Start of Communication Process frmCreateComm.frm fCreateManager.cpp 4.2.2. End of Communication Process frmTe
Page 914. FA LIBRARY B-75044EN/02 Using Sample Program - Starting Sample Program 1 Confirm the next notes before starting the sample program. K A computer must be connected to NC correctly, and the settings of the Machine Configuration screen must correspond with the communication parameters in NC. The sam
Page 92B-75044EN/02 4. FA LIBRARY The points for staring the VC++ sample program In case of C++, the user interface is provided with “DLL”. The functions are not “Class” of C++. Therefore, each function is called directly. About the CFComTstDoc::CFComTstDoc() function in the “CFComTstDoc.cpp” file ::F_Invo
Page 934. FA LIBRARY B-75044EN/02 Point in the VB sample program for starting the communication process About the cmdDoit_Click () function in the ”frmCreateComm.frm” file Rtn = FALib.CreateCommunication() Point in the VC++ sample program for starting the communication process About the CfCreateManager::On
Page 94B-75044EN/02 4. FA LIBRARY NC Program Number: The file named “Oxxxx.yyy” in the default-directory is downloaded. Where, “xxxx” is the NC program number specified in the above screen. “yyy” is the file extension specified in [Default Extension] of [General] of the Machine Configuration screen. File N
Page 954. FA LIBRARY B-75044EN/02 ElseIf optFileName.Value = True Then If chkSynchro.Value = 1 Then Rtn = FALib.DownloadFileName( _ MachineNumber, ToolPostNumber, _ FileName _ ) Else ID = FALib.DownloadFileNameEx( _ MachineNumber, ToolPostNumber, _ FileName _ ) End If ElseIf optONumber.Value = True Then If
Page 96B-75044EN/02 4. FA LIBRARY The points for the download in the VC++ sample program About the OnOK() function in the “fDownload.cpp” file switch(m_iFileType){ case 0: // File Number if(TRUE == m_bSynchro){ bRtn = ::F_DownloadFileNumber( m_lMachineNumber, m_lToolPostNumber, lFileNumber ); }else{ lID =
Page 974. FA LIBRARY B-75044EN/02 case 2: // O Number if(TRUE == m_bSynchro){ bRtn = ::F_DownloadONumber( m_lMachineNumber, m_lToolPostNumber, lONumber ); }else{ lID = ::F_DownloadONumberEx( m_lMachineNumber, m_lToolPostNumber, lONumber ); } break; case 3: // File Path if(TRUE == m_bSynchro){ bRtn = ::F_Do
Page 98B-75044EN/02 4. FA LIBRARY An NC program is selected by the file name, and it is downloaded with a synchronous treatment. The arguments are the machine number, the tool post number, and the file name specified in the screen. An NC program is selected by the NC file name, and it is downloaded with an
Page 994. FA LIBRARY B-75044EN/02 The points for getting the result when an NC program is downloaded with an asynchronous treatment in the VB sample program. About the Response_Click() function in the “frmAsync.frm” file Rtn = FALib.Response(ID, Result, ErrorCode) If Rtn = True Then Select Case Result Case
Page 100B-75044EN/02 4. FA LIBRARY Gets the result of the asynchronous treatment. The m_IID argument is the descriptor ID entered in the screen. If the return value is TRUE, the function succeeded in getting the result. If the result is “0”, the download is in progress. If the result is “1”, the download is
Page 1014. FA LIBRARY B-75044EN/02 - Reading PMC data 8 Try to read the PMC data. Click the [Read PMC Data] command of the [Request Service 2] menu. 9 Enter the machine number and the tool post number. When you want to read the PMC address “R0003” to “R0007”, enter “R” in the [Address of PMC data] text box,
Page 102B-75044EN/02 4. FA LIBRARY Note that the value of [Order] is not a PMC number. In the above case, a “1” of [Order] corresponds with “R0003”. And a “5” does “R0007”. The points for reading the PMC data in the VB sample program About the cmdDoit_Click() function in the “frmReadPMC.frm” file If chkSync
Page 1034. FA LIBRARY B-75044EN/02 The points for reading the PMC data in the VC++ sample program About the OnBtnReadpmcRead() function in the “fReadPMC.cpp” file CfPMCDisplay PMCDisplay; if(TRUE == m_bSynchro){ lID = ::F_ReadPMCData( m_lMachineNumber, m_lToolPostNumber, (LPCTSTR)m_strPMCAddress, m_lPMCNumb
Page 104B-75044EN/02 4. FA LIBRARY Reads the PMC data with a synchronous treatment. The arguments are the machine number, the tool post number, the PMC address, the PMC number, and the count of the PMC data entered in the screen. Copies PMC data by using the descriptor ID. (The step to are executed.) The de
Page 1054. FA LIBRARY B-75044EN/02 - Exiting the Communication Process 11 Select the [Exit Communication Process] command from the [System Service] menu in the sample program's main menu. The dialog box below appears. 12 Press the button. Communication was started if [Success] is displayed at [Resu
Page 106B-75044EN/02 4. FA LIBRARY - Finishing the sample program 13 Click the [End] command of the [File] menu in the sample program. The sample program is finished. The points for finishing the VB sample program About the Form_Unload() function in the “frmMain.frm” file FALib.End Set FALib = Nothing LogLi
Page 1074. FA LIBRARY B-75044EN/02 14 The above describes how to operate the typical services in the sample program. In addition, the sample program includes the following services. For more information on each function in FA LIBRARY, refer to the explanation of each function described later. -94-
Page 108B-75044EN/02 4. FA LIBRARY 4.2 SYSTEM SERVICE System service functions are used for starting and terminating FA SYSTEM for PC, acquiring setting information, getting operating status and controlling notice messages. To start and terminate FA SYSTEM for PC, use the F_CreateCommunication, F_Open, F_Cl
Page 1094. FA LIBRARY B-75044EN/02 To start FA SYSTEM for PC manually, click the [FA System] icon as described in "2.5 Starting and Stopping FA SYSTEM for PC." Follow the procedure below to communicate with an NC by FA SYSTEM for PC. First start a level 1 program. Start the LogServer by F_InvokeLogServer. N
Page 110B-75044EN/02 4. FA LIBRARY RETURN VALUE TRUE is returned if F_CreateCommunication succeeds, FALSE is returned if it fails. In failure, an error code can be acquired by calling F_GetLastError. 4.2.2 End of Communication Process < F_TerminateCommunication > * SYNOPSIS VB Function TerminateCommunicatio
Page 1114. FA LIBRARY B-75044EN/02 4.2.3 Start of Communication < F_Open > SYNOPSIS VB Function Open(ByVal MachineNumber As Long) As Boolean C++ BOOL F_Open(LONG MachineNumber); DESCRIPTION F_Open starts communicating with the NC of the machine number specified by MachineNumber. NOTE 1 This function is used
Page 112B-75044EN/02 4. FA LIBRARY 4.2.4 Stop of Communication < F_Close > SYNOPSIS VB Function Close(ByVal MachineNumber As Long) As Boolean C++ BOOL F_Close(LONG MachineNumber); DESCRIPTION F_Close stops communicating with the NC of the machine number specified by MachineNumber. F_Close is applied to leve
Page 1134. FA LIBRARY B-75044EN/02 4.2.6 Getting List of Registered Machine Numbers SYNOPSIS VB Function GetAllMachineNumber (ByVal ComputerName As String) As Long C++ LONG F_GetAllMachineNumber (LPCTSTR ComputerName); VB Function CopyMachineNumber (ByVal ID As Long, MachineList As
Page 114B-75044EN/02 4. FA LIBRARY MachineList Count Four-byte integer CopiedCount points to the buffer of four-byte integer for placing the number of the actual copied machines F_CopyMachineNumber takes out the machine numbers from the internal information associated with the descriptor ID, and copi
Page 1154. FA LIBRARY B-75044EN/02 4.2.7 Getting List of Communicating Machines < F_GetOpenMachineNumber > SYNOPSIS VB Function GetOpenMachineNumber(ByVal ComputerName As String) As Long C++ LONG F_GetOpenMachineNumber(LPCTSTR ComputerName); DESCRIPTION The following describes the procedure for getting the
Page 116B-75044EN/02 4. FA LIBRARY 4.2.8 Start of Receiving Notice Message < F_StartNotice > SYNOPSIS VB Function StartNotice (ByVal ComputerName As String) As Boolean C++ BOOL F_StartNotice(LPCTSTR ComputerName); DESCRIPTION When an application program calls F_StartNotice, the communication process starts
Page 1174. FA LIBRARY B-75044EN/02 4.2.9 End of Receiving Notice Message < F_StopNotice > SYNOPSIS VB Function StopNotice(ByVal ComputerName As String) As Boolean C++ BOOL F_StopNotice(LPCTSTR ComputerName); DESCRIPTION When an application program calls F_StopNotice, the communication process stops sending
Page 118B-75044EN/02 4. FA LIBRARY 4.2.11 Getting the Notice Message of the File Transfer < F_CopyNoticeFileTransfer > SYNOPSIS VB Function CopyNoticeFileTransfer (ByVal ID As Long, Type As Long, ToolPostNumber As Long, Key As String) As Boolean C++ BOOL F_CopyNoticeFileTransfer (LONG ID, LONG* Type, LONG*
Page 1194. FA LIBRARY B-75044EN/02 4.2.12 Getting Information about Machine < F_GetMachineInfo > SYNOPSIS VB Function GetMachineInfo (ByVal MachineNumber As Long, ByVal Name As String, ByVal Protocol As String) As Boolean C++ BOOL F_GetMachineInfo (LONG MachineNumber, LPCTSTR Name, LPCTSTR Protocol); DESCRI
Page 120B-75044EN/02 4. FA LIBRARY 4.3 REQUEST SERVICE 4.3.1 Downloading NC Program requested by Computer < F_Download... > FA LIBRARY provides the four functions which can download an NC program by using one of “file number”, “NC program number”, “file name”, and “full path”, explained in Section 1.3. The
Page 1214. FA LIBRARY B-75044EN/02 C++ LONG F_DownloadFileNumberEx (LONG MachineNumber, LONG ToolPostNumber, LONG FileNumber); In case of the synchronous treatment VB Function DownloadFileName (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long,
Page 122B-75044EN/02 4. FA LIBRARY In case of the synchronous treatment VB Function DownloadFilePath (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal FilePath As String) As Boolean C++ BOOL F_DownloadFileName (LONG MachineNumber, LONG
Page 1234. FA LIBRARY B-75044EN/02 The four functions have the common arguments of MachineNumber and ToolPostNumber. MachineNumber specifies a machine number. ToolPostNumber specifies a tool post number. If DNC2 is used, “0” must be set. A file number is specified by FileNumber of F_DownloadFileNumber(Ex).
Page 124B-75044EN/02 4. FA LIBRARY 4.3.2 Uploading NC Program Requested by Computer < F_Upload... > FA LIBRARY provides the two functions which can upload an NC program by using either of “NC program number” and “full path” explained in Section 1.3. The two functions can be called with a synchronous and an
Page 1254. FA LIBRARY B-75044EN/02 In case of the synchronous treatment VB Function UploadFilePath (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal ONumber As Long, ByVal FilePath As String) As Boolean
Page 126B-75044EN/02 4. FA LIBRARY ONumber specifies NC program number you want to upload from the NC. F_UploadONumber(Ex) uploads the NC program specified by ONumber , and stores it in the file specified by the same ONumber argument. Section 1.3 explains the way to store the file created from “NC program n
Page 1274. FA LIBRARY B-75044EN/02 4.3.3 External Reset < F_Reset > SYNOPSIS In case of the synchronous treatment VB Function Reset (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long) As Boolean C++ BOOL F_Reset (LONG MachineNumber, LONG ToolPostNumber); In case of the asynchronous treatment VB Func
Page 128B-75044EN/02 4. FA LIBRARY NOTE This function cannot be used on DNC1/Ethernet. (It is scheduled to be supported in the future.) Use the PMC data write function to execute a reset via the ladder program. 4.3.4 Cycle Start < F_Start > SYNOPSIS In case of the synchronous treatment VB Function Start (By
Page 1294. FA LIBRARY B-75044EN/02 RETURN VALUE TRUE is returned if F_Start succeeds, FALSE is returned if it fails. F_StartEx returns the positive integer of the descriptor ID for pointing the result, if it succeeds. The value of 0 is returned if it fails. In failure, an error code can be acquired by using
Page 130B-75044EN/02 4. FA LIBRARY DESCRIPTION Proceed to the following procedure 1,2 in case of the synchronous treatment. Proceed to the following procedure 1,3,4 in case of the asynchronous treatment. 1 F_Select(Ex) selects the NC program in the NC specified by MachineNumber and ToolPostNumber. ONumber s
Page 1314. FA LIBRARY B-75044EN/02 In case of the asynchronous treatment VB Function DeleteEx (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal ONumber As Long) As Long C++ LONG F_DeleteEx (LONG MachineNumber, LONG ToolPostNumber, LONG ONumber); F_Delete(Ex) indicates both of the synchronous
Page 132B-75044EN/02 4. FA LIBRARY 4.3.7 Reading NC Identification < F_Identify > SYNOPSIS In case of the synchronous treatment VB Function Identify (ByVal MachineNumber As Long, ByVal Identify As String) As Boolean C++ BOOL F_Identify (LONG MachineNumber, LPCTSTR Identify); In case of the asynchronous trea
Page 1334. FA LIBRARY B-75044EN/02 3 F_IdentifyEx requests the system to read the NC identification, and returns at once. The return value is the descriptor ID for pointing the result. You must check whether the request is finished or not, and whether its result is success or not by calling F_Response. When
Page 134B-75044EN/02 4. FA LIBRARY DESCRIPTION Proceed to the following procedure 1,2,4,5,6,7, and 8 in case of the synchronous treatment. Proceed to the following procedure 1,3,4,5,6,7, and 8 in case of the asynchronous treatment. 1 F_AllFileDirectory(Ex) reads the list of NC programs in the NC specified b
Page 1354. FA LIBRARY B-75044EN/02 CopiedCount points to the four-byte integral buffer for placing the actual copied number. F_CopyFileDirectory takes out the NC programs from the descriptor ID, and copies them to the array specified by ONumber. Count specifies the number of NC programs you want to copy. Th
Page 136B-75044EN/02 4. FA LIBRARY 4.3.9 Establishing DNC1 Connection < F_EstablishDnc1 > SYNOPSIS In case of the synchronous treatment VB Function EstablishDnc1 (ByVal MachineNumber As Long) As Boolean C++ BOOL F_EstablishDnc1(LONG MachineNumber); In case of the asynchronous treatment VB Function Establish
Page 1374. FA LIBRARY B-75044EN/02 4.3.10 Confirmation of DNC1 Connection < F_ConfirmDnc1 > SYNOPSIS In case of the synchronous treatment VB Function ConfirmDnc1 (ByVal ComputerName As String, Linked As Long, CopiedCount As Long) As Boolean C++ BOOL F_ConfirmDnc1 (LPCTSTR ComputerName, LONG* Linked, LONG* C
Page 138B-75044EN/02 4. FA LIBRARY List 0 1 2 29 30 31 Four-bye integer CoiedCount points to the four-byte integral buffer for placing the actual copied number. F_ConfirmDnc1 doesn’t return until the treatment is finished. You can know whether the function has succeeded or not by the return value. 3
Page 1394. FA LIBRARY B-75044EN/02 4.3.11 Reading Alarm Information < F_ReadAlarm > SYNOPSIS In case of the synchronous treatment VB Funciton ReadAlarm (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, Alarm As Long) As Boolean C++ BOOL F_ReadAlarm (LONG MachineNumber, LONG ToolPostNumber, LONG* A
Page 140B-75044EN/02 4. FA LIBRARY The following table shows the alarm information in Alarm. List of Alarms Description Bit FS15 FS0 FS16/FS18 0 Background PS alarm P/S100 P/S100 1 Foreground PS alarm P/S000 P/S000 2 Overheat alarm P/S101 P/S101 3 Sub CPU error Other PS Other PS 4 Excessive synchronize erro
Page 1414. FA LIBRARY B-75044EN/02 4.3.12 Reading Tool Offset < F_ReadToolOffset > SYNOPSIS VB Function ReadToolOffset (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal OffsetType As Long, ByVal OffsetNumber As Long, ByVal Count As Long) As Long C++ LONG F_ReadToolOffset (LONG MachineNumber,
Page 142B-75044EN/02 4. FA LIBRARY OffsetType values are constructed by OR-ing flags from the following table. Bit Type of Tool Offset Type of NC 0 Wear Offset D(Cutter Offset M 1 Geometric Offset K(Cutter Offset M 2 Wear Offset X(X-axis Tool Offset Value T 3 Wear Offset Z(Z-axis Tool Offset Value T 4
Page 1434. FA LIBRARY B-75044EN/02 5 F_CopyToolOffset copies the tool offset to the specified arrays. ID specifies the descriptor ID returned by F_ReadToolOffset(Ex). ToolOffsetValue points to the array for placing the tool offset value. ToolOffsetExponent points to the array for placing the exponent of the
Page 144B-75044EN/02 4. FA LIBRARY Where, “ N” is 0 to 15, and “^ “ indicates the power operation. OffsetNumber ToolOffset ToolOffset Value 0 Exponent 0 Wear Offset D 1 1 Geometric Offset 2 2 Geometric Offset 13 13 Geometric Offset 14 14 Geometric Offset 15 15 Not used Four-byte integer
Page 1454. FA LIBRARY B-75044EN/02 4.3.13 Writing Tool Offset < F_WriteToolOffset > SYNOPSIS VB Function CreateToolOffsetID (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal OffsetType As Long, ByVal OffsetNumber As Long, ByVal Count As Long) As Long C++ LONG F_CreateToolOffsetID (LONG Machi
Page 146B-75044EN/02 4. FA LIBRARY 1 F_CreateToolOffsetID creates the area for setting the tool offset data , and returns the descriptor ID. MachineNumber specifies a machine number. ToolPostNumber specifies a tool post number. OffsetType specifies the type of the tool offset you want to write. Refer to “4.
Page 1474. FA LIBRARY B-75044EN/02 5 F_WriteToolOffset doesn’t return until the treatment is finished. You can know whether the function has succeeded or not by the return value. You don’t need to free the descriptor ID returned by F_CreateToolOffset. 6 F_WriteToolOffsetEx requests the system to write the t
Page 148B-75044EN/02 4. FA LIBRARY 4.3.14 Reading Custom Macro Variable < F_ReadCustomMacroVariable > SYNOPSIS VB Function F_ReadCustomMacroVariable (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal VariableNumber As Long, ByVal Count As Long) As Long C++ LONG F_ReadCustomMacroVariable (LONG
Page 1494. FA LIBRARY B-75044EN/02 2 F_ReadCustomMacroVariable doesn’t return until the request is finished. You can know whether the function has succeeded or not by the return value. On success, the return value indicates the descriptor ID for pointing the custom macro variable. 3 F_ReadCustomMacroVariabl
Page 150B-75044EN/02 4. FA LIBRARY F_CopyCustomMacroVariable takes out the custom macro variables from the descriptor ID, and places them in the array pointed to by VariableValue and VariableExponent. Count specifies the number of the custom macro variables you want to copy at a time. The actual copied numb
Page 1514. FA LIBRARY B-75044EN/02 4.3.15 Writing Custom Macro Variable < F_WriteCustomMacroVariable > SYNOPSIS In case of the synchronous treatment VB Function F_WriteCustomMacroVariable (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal VariableNumber As Long, ByVal Count As Long, VariableV
Page 152B-75044EN/02 4. FA LIBRARY each array must be composed of the four-byte integral elements of the same number as Count specifies. You set the custom macro variable to the arrays. Refer to the “4.3.14 Reading Custom Macro Variable” for the way to write data to VariableValue and VariableExponent. 2 F_W
Page 1534. FA LIBRARY B-75044EN/02 4.3.16 Reading Tool Life Management Information < F_ReadToolLife > SYNOPSIS VB Function F_ReadToolLife (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal ToolGroupNumber As Long, ByVal Count As Long) As Long C++ LONG F_ReadToolLife (LONG MachineNumber, LONG
Page 154B-75044EN/02 4. FA LIBRARY DESCRIPTION Proceed to the following procedure 1,2,4,5,6,7,8 and 9 in case of the synchronous treatment. Proceed to the following procedure 1,3,4,5,6,7,8 and 9 in case of the asynchronous treatment. 1 F_ReadToolLife(Ex) reads the tool life data from the NC specified by Mac
Page 1554. FA LIBRARY B-75044EN/02 6 F_CopyToolLifeParameter takes out the information of the tool group number specified by F_Seek. ID specifies the descriptor ID returned by F_ReadToolLife(Ex). ToolGroupNumber points to the buffer for placing the tool group number. ToolUsed points to the buffer for placin
Page 1574. FA LIBRARY B-75044EN/02 NOTE This function cannot be used on DNC1/Ethernet. (It is scheduled to be supported in the future.) 4.3.17 Reading PMC Data < F_ReadPMCData > SYNOPSIS VB Function F_ReadPMCData (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal PMCAddress As String, ByVal P
Page 158B-75044EN/02 4. FA LIBRARY 2 F_ReadPMC doesn’t return until the request is finished. You can know whether the function has succeeded or not by the return value. On success, the return value indicates the descriptor ID for pointing the PMC data. 3 F_ReadPMCEx requests the system to read the PMC data,
Page 1594. FA LIBRARY B-75044EN/02 7 F_Seek can move the copy offset to the PMC data you want to copy by using F_CopyPMCData. 8 Call F_FreeID to free the descriptor ID returned by F_ReadPMCData (Ex) when you finish taking out PMC data. RETURN VALUE F_ReadPMCData(Ex) returns a descriptor ID for pointing the
Page 160B-75044EN/02 4. FA LIBRARY DESCRIPTION Proceed to the following procedure 1 and 2 in case of the synchronous treatment. Proceed to the following procedure 1,3 and 4 in case of the asynchronous treatment. 1 F_WritePMCData(Ex) writes the PMC data to the NC specified by MachineNumber and ToolPostNumber
Page 1614. FA LIBRARY B-75044EN/02 4.3.19 Reading NC Parameters < F_ReadParameter > SYNOPSIS VB Function ReadParameter (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal ParameterNumber As Long, ByVal DataFormat As Long, ByVal ParameterAxis As Long) As Long VC++ LONG F_ReadParameter (LONG Mac
Page 162B-75044EN/02 4. FA LIBRARY If the parameter to be read is not an axis type, specify ParameterAxis as "0". If the parameter to be read is an axis type, set an OR-ed value of the following bit flags to ParameterAxis. Bit Axis Whose Parameter Is To be Read 0 1st axis 1 2nd axis 2 3rd axis 3 4th axis 4
Page 1634. FA LIBRARY B-75044EN/02 F-CopyParameter extracts the parameter from the information specified by the descriptor ID and copies it to Parameter. Parameter Always 16 elements 4-byte integer 6 If the parameter is not an axis type, the value is copied to element 0 of the parameter. If the param
Page 164B-75044EN/02 4. FA LIBRARY 4.3.20 Writing NC Parameters < F_WriteParameter > SYNOPSIS In the case of synchronous processing VB Function WriteParameter (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal ParameterNumber As Long, ByVal DataFormat As Long, ByVal ParameterAxis As Long, Par
Page 1654. FA LIBRARY B-75044EN/02 2 F_WriteParameter is a synchronous process. So, there is no return value from the function until processing ends. The return value is used for judging whether processing succeeded or failed. 3 F_WriteParameteEx is an asynchronous process. So, there is a return value from
Page 166B-75044EN/02 4. FA LIBRARY 4.3.21 Computer Start DNC Operation < F_Dnc... > This function is valid only for machines connected by DNC1/Ethernet. There are four ways of specifying the file for DNC operation as described in section 1.3: by "file number," "file name," "NC program number" and "full path
Page 1674. FA LIBRARY B-75044EN/02 In the case of synchronous processing VB Function DncFileName (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal FileName As String) As Boolean VC++ BOOL F_DncFileName (LONG MachineNumber, LONG ToolPos
Page 168B-75044EN/02 4. FA LIBRARY In the case of synchronous processing VB Function DncFilePath (ByVal MachineNumber As Long, ByVal ToolPostNumber As Long, ByVal FilePath As String) As Boolean VC++ BOOL F_DncFileName (LONG MachineNumber, LONG ToolPos
Page 1694. FA LIBRARY B-75044EN/02 At F_DncFileNumber(Ex), specify the file number by FileNumber. Any value from 1 to 9999 can be specified. At F_DncFileName(Ex), specify the file name by FileName. At F_DncONumber(Ex), specify the NC program by ONumber. At D_DncFilePath(Ex), specify the full path of the fil
Page 170B-75044EN/02 4. FA LIBRARY 4.3.22 Canceling Computer Start Download < F_DownloadCancel > This function is valid only for machines connected by DNC1/Ethernet. This function cancels the download that is started by starting up your computer. NOTE 1 To use this function, you must execute the download of
Page 1714. FA LIBRARY B-75044EN/02 4.3.23 Canceling Computer Start Upload < F_UploadCancel > This function is valid only for machines connected by DNC1/Ethernet. This function cancels the upload that is started by starting up your computer. NOTE 1 To use this function, you must execute the upload of the NC
Page 172B-75044EN/02 4. FA LIBRARY 4.4 DIAGNOSIS AND OTHER SERVICES 4.4.1 Initialization Processing < F_Begin > SYNOPSIS VB Function Begin() As Boolean VC++ BOOL F_Begin(void); DESCRIPTION F_ Begin executes initialization processing of this library. Execute this function before you use this library. RETURN
Page 1734. FA LIBRARY B-75044EN/02 4.4.3 Moving Offset Location of Data < F_Seek > SYNOPSIS VB Function Seek (ByVal ID As Long, ByVal Offset As Long) As Boolean C++ BOOL F_Seek(LONG ID, LONG Offset); DESCRIPTION F_Seek movies the offset location of the data to Offset. The data is different according to the
Page 174B-75044EN/02 4. FA LIBRARY 4.4.5 Getting Result of Asynchronous Treatment < F_Response > SYNOPSIS VB Function Response (ByVal ID As Long, Result As Long, ErrorCode As Long) As Boolean C++ BOOL F_Response(LONG ID, LONG* Result, LONG* ErrorCode); DESCRIPTION F_Response places the result of a treatment
Page 1754. FA LIBRARY B-75044EN/02 4.4.7 End of FA LIBRARY < F_End > SYNOPSIS VB Sub End() C++ void F_End(void); DESCRIPTION F_End terminates FA LIBRARY. Call this function when an application program is finished. After this function is carried out, an application program can’t call the functions of FA LIBR
Page 176B-75044EN/02 4. FA LIBRARY 4.5 LOG LIBRARY This section describes the interface specifications relating to the functions provided by the log library of FA SYSTEM for PC. FA SYSTEM for PC creates various logs for monitoring operation. (Details of these logs are described in “5. Monitoring FA SYSTEM f
Page 1774. FA LIBRARY B-75044EN/02 Starting the LogServer by the log library Set LogLib = CreateObject("LogClient.Library") Rtn = LogLib.InvokeLogServer("") 'FA library start processing Set FALib = CreateObject("FanucCom.Library") Rtn = FALib.Begin() 'Initialization Rtn = FALib.CreateCommunication() 'Start
Page 178B-75044EN/02 4. FA LIBRARY 4.5.1 Starting LogServer < F_InvokeLogServer > SYNOPSIS VB Function InvokeLogServer(ByVal LogServerDir As String) As Long VC++ LONG F_InvokeLogServer(LPCTSTR LogServerDir); DESCRIPTION F_InvokeLogServer starts the LogServer (LogSvr.exe). Set "" to LogServeDir when FA SYSTE
Page 1795. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 5 OBSERVATION OF FA SYSTEM FOR PC FA SYSTEM for PC reports the status of itself. When an event is occurred and an operator needs to handle it immediately, the message appears in the computer display. When the operator doesn’t need to handle the event a
Page 180B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC 5.1 LOG VIEWER 5.1.1 About Log Message The log messages are classified according to the source and the type of messages as follows. (1) Source of Messages K FA LIBRARY Messages related to FA LIBRARY. The information of NC PROGRAM MANAGE-MENT is include
Page 1815. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 Therefore, there are the ten log files. (File names are put in parentheses.) K Transmission log (TransLog) K Error log of FA LIBRARY (FComLibErrLog) K Internal log of FA LIBRARY (FComLibDetailLog) K Error log of DNC1 (DNC1ErrLog) K Internal log of DNC1
Page 182B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC 5.1.2 The Contents of Transmission Log File The following shows the display of the transmission log. K START The time when the transfer of NC program is started. K END The time when the transfer of NC program is finished. K FUNCTION Indicates the type
Page 1835. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 5.1.3 The Contents of Log File All log files are shown as the same display format by using the Log Viewer screen. The following example shows the display of the “DNC2ErrLog” file. K NO The machine number which the event is occurred in. K LEVEL ”00” ind
Page 184B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC 5.1.4 About Log Viewer By giving the example of the transmission log, this section describes how to use Log Viewer. Menu Bar Tool Bar Title Bar Form Status Bar Title Bar The title of log file is displayed in Title Bar. When the search function is used,
Page 1855. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 Status Bar Status Bar usually displays the latest updated time and the number of displayed messages. While the Log Viewer is updating the display, the progress bar is displayed. The latest updated time and monitoring message is displayed while the moni
Page 186B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC Cleaning up the Log File - Click the [Clear] command of the menu. The contents of the log file are cleaned up. NOTE The cleared contents cannot be undone. Printing the Log Messages The way that the messages are selected by using a record number 1 Click
Page 1875. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 Selecting a Font 1 Click the [Print] command in the [File] menu. The [Print] dialog will appear. 2 Click the button. The [Font setting] dialog will appear. 3 Select the font you want to use. Please select a small font size if possible. 4
Page 188B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC NOTE 1 When the monitor is executed, you can not use the function except for the [End], [ Stop the monitor], and [Change the monitor interval] command. The horizontal scroll bar can be used in monitoring, but the vertical scroll bar can not be used. 2
Page 1895. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 NOTE The search command can search the log information displayed in the Log Viewer. Note that all contents of the log file are not searched. Updating the Log Message The way that the message is updated by using the menu 1 Click the [Renewal Log] comman
Page 190B-75044EN/02 5. OBSERVATION OF FA SYSTEM FOR PC 5.2 LogServer The LogServer receives the various log writing requests on the FA SYSTEM for PC and creates a log file. 5.2.1 Setting log creation ON/OFF LogServer allows you to set whether or not to create log files for each log. If you execute FA LIBRA
Page 1915. OBSERVATION OF FA SYSTEM FOR PC B-75044EN/02 The following example disables creation of the following detailed logs to read data at a short cycle using DNCI/Ethernet: Communication manager (MngDetailLog) FA LIBRARY (FComlibDetailLog) DNC1/Ethernet (D1EDetailLog) For details on the log displ
Page 192B-75044EN/02 6. LIST FILE MANAGEMENT 6 LIST FILE MANAGEMENT NOTE Transfer by List File can be used only when the Reader/Puncher interface protocol is in use. Two or more NC programs can be registered to a List File and transferred. (For details on the List File transfer function, refer to “1.6 List
Page 1936. LIST FILE MANAGEMENT B-75044EN/02 6.1 EDIT LIST FILE SCREEN OPERATIONS The Edit List File screen is where you create and edit List Files. To display the Edit List File screen, start [Edit List Files] in the [FANUC FA System for PC] group dialog box. You can also start [Edit List Files] from the N
Page 194B-75044EN/02 6. LIST FILE MANAGEMENT Directory O number used for Registration file directory Directory name Menu bar extended transfer selection combo box List File name Contents of List File Registration file name List Box List Box Number of records Buttons for changing Buttons for File type to be
Page 1956. LIST FILE MANAGEMENT B-75044EN/02 Registration File Directory Selection Combo Box This combo box is for selecting the directory to be displayed in the [Register File Name] list box. When you select “Same directory as List File”, a list of files in the directory currently displayed at [Directory N
Page 196B-75044EN/02 6. LIST FILE MANAGEMENT O Number Used for Extended Transfer In the extended transfer mode, the O number in the registered NC programs is not transferred. If you check the [Specify O Number at Extended Transfer] check box, the [O Number] text box is enabled, and the O number entered here
Page 1976. LIST FILE MANAGEMENT B-75044EN/02 2 Enter the name of the new List File in the [List File] text box, and press the button. The file name does not need a file extension. The List File extension set in the Machine Setup screen is added to the file name according to the machine selected in t
Page 198B-75044EN/02 6. LIST FILE MANAGEMENT Registering NC Programs to Transfer to List Files Use the or buttons. 1 Select the file to register in the [Register File Name] list box. 2 The button is enabled when you select the file currently displayed in the [Register File Name] list bo
Page 1996. LIST FILE MANAGEMENT B-75044EN/02 Deleting Records in List Files Use the or buttons. 1 Select the record you want to delete in the [List File Details] list box. 2 The button deletes the selected records. The button deletes all records. Setting the Trans
Page 200B-75044EN/02 6. LIST FILE MANAGEMENT NOTE The meanings [Cancel] in Edit List File screen and [Cancel] in List File Monitor screen are different. K [Cancel] in Edit List File screen [Skip] and [Pause] are canceled by all transmission using specified List Files. K [Cancel] in List File Monitor screen
Page 2016. LIST FILE MANAGEMENT B-75044EN/02 In the List Files registered by only a file name, only the file name is displayed even in the [List File Details] list box. Overwriting List Files To save the file currently being edited under the same name, click the [Overwrite] command in the [File] menu. Savin
Page 202B-75044EN/02 6. LIST FILE MANAGEMENT 6.2 LIST FILE MONITOR SCREEN OPERATIONS The List File Monitor screen automatically displays the transfer status according to the List File at each monitor cycle. 6.2.1 Structure of List File Monitor Screen The List File Monitor screen is as follows: Monitor machi
Page 2036. LIST FILE MANAGEMENT B-75044EN/02 Original List File Name The List File name created in the Edit List File screen is displayed. Nothing is displayed if a List File is not being transferred. Details of List Files Currently Being Transferred This screen monitors and displays the status of List File
Page 204B-75044EN/02 6. LIST FILE MANAGEMENT Pausing Monitor Display To pause monitor display without exiting the screen, press the button. Each press of this button toggles between and . Whether or not monitor is in progress is displayed on the screen's title
Page 2056. LIST FILE MANAGEMENT B-75044EN/02 Changing the Order, Adding and Deleting NC Programs to be Transferred For all records following a paused record, you can change the order of NC programs to be transferred, add and register new NC programs or delete NC programs. When you execute the [Edit List] co
Page 207B-75044EN/02 APPENDIX A. SAMPLE OF NC PARAMETER SETTINGS A SAMPLE OF NC PARAMETER SETTINGS The following tables show the sample NC parameters. When you set these parameters to the NC unit actually, refer to the NC Operator’s manual. Sample Parameters (DNC1) Parameter Series 16/18 Series 15 Series 0
Page 208A. SAMPLE OF NC PARAMETER SETTINGS APPENDIX B-75044EN/02 Sample Parameters (DNC2) Parameters Series 16/18 Series 15 Series 0-MC Series0-TC Default Value Input/output device 0020=10 0020=4 I/O=10 I/O=10 0021=4 0022=4 0023=4 RS232C stop bit 00131.0=1 5082=2 0051.0=1 0051.0=1 (2) The ISO code conta
Page 209B-75044EN/02 APPENDIX A. SAMPLE OF NC PARAMETER SETTINGS Sample Parameters (Reader/Puncher) Parameters Series 16/18 Series Series 0 Default Value 10/11/12/15 Input/output device 0020=0 0020=1 I/O=0 (1) 0021=1 Stop bit 0101.0=1 5111=2 0002.0=1 (2) ISO code contains a parity bit or not 0101.3=0 00
Page 210A. SAMPLE OF NC PARAMETER SETTINGS APPENDIX B-75044EN/02 Sample parameters When DNC1/Ethernet Is Used As Communication Protocol Parameters Series 16i/18i (Default Value) Input/output device number 0020=6 Required only during DNC operation IP address Set the IP address assigned to the NC to be connec
Page 211B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC B SAMPLE OPERATION FOR NC The following shows the sample operations of NC. When you operate an NC unit, refer to the NC Operator’s manual. -199-
Page 212B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 B.1 DNC1, DNC2 Sample operations for FS16/18 Procedure for Downloading an NC Program (NC Program Number) The NC program to be downloaded is selected by “NC Program Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [OP
Page 213B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC Procedure for DNC Operation (NC Program Number) The NC program is selected by “NC Program Number”. 1 Change the NC mode to “MDI”. 2 Push the function key. 3 Push the [+] soft key twice. 4 Push the [C-OPER] soft key. The following display will
Page 214B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Sample Operations for FS15 Procedure for Downloading an NC Program (NC Program Number) The NC program to be downloaded is selected by “NC Program Number”. 1 Change the NC mode to “Edit”. 2 To select the PROGRAM(MEMORY) display, push the [PROGRAM] soft
Page 215B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC Procedure for DNC Operation (NC Program Number) The NC program is selected by “NC Program Number”. 1 Change the NC mode to “TAPE”. 2 Push the [SETTING] soft key. 3 Push the [CHAPTER] soft key twice. 4 Push the [COMMU.OPERAT] soft key. The following di
Page 216B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Procedure for Uploading an NC Program (NC Program Number) The uploaded NC program is saved by using “NC Program Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [I/O] soft key. 4 Input “O????”. Where, the “????” ind
Page 217B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC B.2 READER/PUNCHER Sample Operation for FS16/18 Procedure for Downloading an NC Program (File Number) The NC program to be downloaded is selected by “File Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [READ] soft
Page 218B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Procedure for Uploading an NC Program (NC Program Number) The uploaded NC program is saved by using “NC Program Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [PUNCH] soft key. 4 Input “????”. Where, the “????” ind
Page 219B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC Procedure for DNC Operation (File Number) The NC program is selected by “File Number”. 1 Change the NC mode to “RMT”. 2 Push the function key. 3 Push the [FL.SDL] soft key. 4 Push the [OPRT] soft key. 5 Push the [SELECT] soft key. 6 Input “??”.
Page 220B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Procedure for Uploading an NC Program (File Name) The uploaded NC program is saved by using “File Name”. 1 Change the NC mode to “Edit”. 2 To select the PROGRAM(MEMORY) display, push the [PROGRAM] soft key. 3 Push the [PUNCH] soft key. 4 Push the [PRO
Page 221B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC Procedure for Deleting an NC Program 1 Change the NC mode to “Edit”. 2 Push the [PROG] soft key. 4 Push the [DELETE] soft key. 5 Push the [FILE#] soft key. 6 Input “??”. Where, the “??” indicates the NC program number you want to delete. 7 Push the [E
Page 222B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Sample Operation for FS0-C Procedure for Downloading an NC Program (File Number) The NC program to be downloaded is selected by “File Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [READ]soft key. 4 Input “??”. Wh
Page 223B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC Procedure for displaying the List 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Push the [FLOPPY] soft key. 4 Push the and key. The pages are turned. Procedure for Deleting an NC Program 1 Change the NC mode to “Ed
Page 224B. SAMPLE OPERATION FOR NC APPENDIX B-75044EN/02 Sample Operation for FS0-A/0-B Procedure for Downloading an NC Program (File Number) The downloading NC program is selected by “File Number”. 1 Change the NC mode to “Edit”. 2 Push the function key. 3 Input “N??”. Where, the “??” indicates the
Page 225B-75044EN/02 APPENDIX B. SAMPLE OPERATION FOR NC B.3 DNC1/ETHERNET NOTE 1 NC start cannot be downloaded, uploaded or deleted on DNC1/Ethernet. (These scheduled to be supported in the future.) 2 When DNC operation is carried out on DNC1/Ethernet, download from your computer after executing a cycle st
Page 226C. ERROR CODE APPENDIX B-75044EN/02 C ERROR CODE The following error codes are returned by the F_GetLastError function of FA LIBRARY. Error Codes about General of Communication Process (0x00010000 ~ 0x0001ffff) 0x00010000 The system cannot terminate the communication process because more than one ma
Page 227B-75044EN/02 APPENDIX C. ERROR CODE Error Codes about DNC2 of Communication Process (0x00030000 ~ 0x0003ffff) 0x00030103 The system cannot read the initial data stored in the registry of the computer. It is possible that the system is not set up correctly. 0x00030201 The system cannot open the seria
Page 228C. ERROR CODE APPENDIX B-75044EN/02 0x00030601 During the execution of a DNC2 command, the error was occurred. Though the error is occurred in the NC side, the NC parameter “Error code for negative response” is inactive. Set up the “Error code for negative response” parameter in the NC side. 0x00030
Page 229B-75044EN/02 APPENDIX C. ERROR CODE 0x00030f03 The application program attempts to press the unsupported request to the system. Check the argument of the function. 0x00030f04 The invalid argument is specified in the function which requests the system to read the NC data. Check the argument of the fu
Page 230C. ERROR CODE APPENDIX B-75044EN/02 0x00041010 The system received the invalid command which is composed of 32 or more characters from the NC. Check that the NC supports the Reader/Puncher protocol. 0x00041018 While receiving the NC program, the system got a DC4 code before a ER code. It is possible
Page 231B-75044EN/02 APPENDIX C. ERROR CODE Communication Process Errors Relating to FA SYSTEM for PC DNC1/Ethernet (0x00060000 ~ 0x0006ffff) 0x00060102 The specified machine number is illegal. Check the machine number currently registered to the Machine Setup screen. 0x00060103 An invalid service was reque
Page 232C. ERROR CODE APPENDIX B-75044EN/02 0x00060121 An error occurred during reading and writing of NC parameters. Make sure that the correct NC name is set to on the [Machine Information] tab in the Machine Setup menu, and check on the [Communication Tab]. 0x00060123
Page 233B-75044EN/02 APPENDIX C. ERROR CODE 0x000604fe (1) A reset or emergency stop was executed on the NC during DNC operation by start up from the computer. Check the NC status and execute DNC operation again. 0x000604fe (2) A non-executable program was executed by DNC operation. Check the program detail
Page 234C. ERROR CODE APPENDIX B-75044EN/02 0x00060507 The NC program cannot be deleted as the memory protect key is ON. Turn the memory protect key OFF. 0x00060508 When the 70 BP/S alarm occurred on the NC: The “insufficient memory” error occurred on the NC during downloading. Delete unwanted programs, and
Page 235B-75044EN/02 APPENDIX C. ERROR CODE 0x10011107 Illegal file number Make sure that a number 1 or larger is set to the file number. A file having a number smaller than the specified file is registered to the default directory. Check the file number. 0x10011108 Illegal file name 0x10011130 The default
Page 236C. ERROR CODE APPENDIX B-75044EN/02 0x10020115 An error occurred during writing of the file to upload. 0x10020118 An error occurred during closing of the file to upload. Make sure that the network is normal when the network directory is used. 0x10022011 Data whose MSB (8th bit) is 1 has been found.
Page 237B-75044EN/02 APPENDIX C. ERROR CODE 0x10022062 The M99 code was found in the main program for extended transfer of subprogram files. Main programs for extended transfer of subprogram files cannot contain an M99 code. 0x10022091 Failed to open the transfer file. Check the access rights of the transfe
Page 238C. ERROR CODE APPENDIX B-75044EN/02 0x1002210a Failed to write to the upload file. 0x1002210b Failed to close to the upload file. 0x1002210d An attempt was made to overwrite and upload a read-only file. Make sure that the file has been correctly specified. 0x1003000b Failed to open the FA SYSTEM for
Page 239B-75044EN/02 APPENDIX C. ERROR CODE 0x10040111 Cannot find the execution format file for the communication process. 0x10040114 A machining center tool offset type is specified together with a lathe tool offset type during reading and writing of the tool offset. 0x10040118 (1) “0” (zero) was specifie
Page 240C. ERROR CODE APPENDIX B-75044EN/02 0x10060004 Failed to close the List file. 0x10060005 The specified List File is already opened. 0x10060006 The application attempted to execute the function for auxiliary transfer functions. Make sure that the transfer function is correct. 0x1006000a The record fl
Page 241B-75044EN/02 APPENDIX C. ERROR CODE 0x10060018 Failed to open the registry. Make sure that the registry is correctly set. The directory (HELPER_MACHINE_LIST_DIR) in which the List File is created for each machine is not set to the registry. Correctly set the registry. 0x10060019 Failed to read the k
Page 242C. ERROR CODE APPENDIX B-75044EN/02 Error Codes returned from the NC (0x20010000 ~ 0x2002ffff) 0x2001fffe The DNC1 service failed in the DNC1 board on the computer. 0x2001fffd The DNC1 connection is closed in the DNC1 board on the computer. 0x2001fffc The error was occurred in the DNC1 board on the
Page 243B-75044EN/02 APPENDIX C. ERROR CODE 0x2001ffc9 Invalid axis command 0x2002ffc9 0x2001ffc6 The request is executing. 0x2002ffc6 0x2001ffc5 The request is canceling. 0x2002ffc5 0x2001ff00 The NC executes the cancel command. 0x2002ff00 0x2001fdff Timeout 0x2002fdff 0x2001fdfe Channel is busy 0x2002fdfe
Page 244C. ERROR CODE APPENDIX B-75044EN/02 0x2001fc09 Not in auto mode 0x2002fc09 If the error is occurred when the application program attempts to start an NC, the NC is not in the auto mode. If the error is occurred when the application program attempts to select an NC program, an NC is not the incorrect
Page 245B-75044EN/02 APPENDIX C. ERROR CODE 0x2001fba3 Invalid small data classification 0x2002fba3 If the error is occurred when the application program attempts to read/write the NC data, the NC data address is illegal. 0x2001fba2 Invalid data length 0x2002fba2 0x2001fba1 Invalid data type 0x2002fba1 0x20
Page 246C. ERROR CODE APPENDIX B-75044EN/02 0x2001fb97 Write failed 0x2002fb97 0x2001fb96 Read failed 0x2002fb96 0x2001fb95 Device inoperable 0x2002fb95 0x2001fb94 System not ready 0x2002fb94 0x2001fb93 Invalid status 0x2002fb93 If the error is occurred when an application program attempts to delete an NC p
Page 247B-75044EN/02 APPENDIX D. DNC1 D DNC1 DNC1 is a private network developed by FANUC. FA SYSTEM for PC is compatible with “Mode1” of DNC1 protocol. Mode1 enables multi-point communication where a computer acts as the primary station and controls multiple NCs. FA SYSTEM for PC allows connection of up to
Page 248D. DNC1 APPENDIX B-75044EN/02 Optical Computer adapter C Metal cable COP1 NC Optical fiber cable DNC1 board (for NC) DNC1 board Example of Connection of 3 NCs to a Computer by Optical Adapter C For details on how to connect the optical adapter, refer to the “DNC1 Optical Tap Hardware Specifications”
Page 249B-75044EN/02 APPENDIX D. DNC1 D.1 SYSTEM REQUIREMENTS FOR DNC1 BOARD 1 The DNC1 board conforms to the ISA(Industrial Standard Architecture), and it can be used in the PC/AT compatible machine. But both of the DNC1 board and the XT extend board can’t be used in one computer. K “XT” means the eight-bi
Page 250D. DNC1 APPENDIX B-75044EN/02 4 Memory Address can be selected from the list below. C0000h~C7FFFh, C8000h~CFFFFh, D0000h~D7FFFh, D8000h~DFFFFh, E0000h~E7FFFh, E8000h~EFFFFh 5 IRQ can be selected from the list below. 3, 5, 7, 9, 10, 11, 15 6 The DNC1 board spends the power supply like this. +5V, 1.4A
Page 251B-75044EN/02 APPENDIX D. DNC1 D.2 CONDITIONS FOR USING THE DNC1 DRIVER The WinRT software is used in the DNC1 driver. If WinRT is also used in other software packages of your computer, the DNC1 driver can not be installed. WinRT is the trademark of Blue Water Systems Co. -239-
Page 252D. DNC1 APPENDIX B-75044EN/02 D.3 SETTING UP THE DNC1 BOARD 1 Select the I/O Port Address by setting the SW1 switch on the DNC1 board before plugging the board into an ISA slot of the computer. The DNC1 board must have a unique I/O Port Address, and it is not allowed that the I/O Port Address is dup
Page 253B-75044EN/02 APPENDIX D. DNC1 D.4 SETTING UP DNC1 DRIVER Please install the DNC1 driver (A08B-9510-J560#ZZ07) with the following procedure. 1 Insert the “DNC1 Driver Disk Setup” disk into the floppy drive on your computer. 2 From the Program Manager of WindowsNT, start the “SETUP.EXE” program stored
Page 254D. DNC1 APPENDIX B-75044EN/02 6 When the message “Setup was succeeded” is displayed and the following [DNC1 Tools] group dialog is created, the installation is complete. Entry of DNC1 Driver ( Add or Change) When the DNC1 driver is only installed, it is not enough to run the DNC1 driver in WindowsNT
Page 255B-75044EN/02 APPENDIX D. DNC1 2 Choose theDNC1 Board No.1panel. 3 Set up the same I/O Port Address as the SW1 switch on DNC1 board. And set the Memory Address and the IRQ, avoiding the duplication of other boards. 4 Click the button. 5 When the message “DNC1 driver was started” is displayed,
Page 256D. DNC1 APPENDIX B-75044EN/02 Removing the DNC1Driver (Remove) Please remove the DNC1 driver from WindowsNT like this. 1 Double-click the [DNC1 SetUp] program in the [DNC1 Tools] group. 2 Click the option button, and then click the button. 3 When the message “DNC1 driver was removed” i
Page 257B-75044EN/02 APPENDIX D. DNC1 1 Double-click the [DNC1 SetUp] program in the [DNC1 Tools] group dialog. 2 Choose the [DNC1 Board No.1] panel. 3 Check the contents of [Current Settings]. If “None” is displayed in [Current Settings], the DNC1 driver is not registered into WindowsNT yet. 4 Click the
Page 258D. DNC1 APPENDIX B-75044EN/02 D.5 Dnc1HardTest By using the Dnc1HardTest program, you can check whether the DNC1 board works correctly and DNC1 driver is registered into WindowsNT or not. When the DNC1 board is used at the beginning, you must execute the Dnc1HardTest program to confirm that the DNC1
Page 259B-75044EN/02 APPENDIX D. DNC1 Starting Dnc1HardTest 1 Double-click the [Dnc1HardTest] program in the [DNC1 Tools] group dialog. 2 The following main screen of the Dnc1Hard Test program will appear. Finishing Dnc1HardTest 1 Click the [Exit] command of the [SetUp] menu in the Dnc1HardTest program. -24
Page 260D. DNC1 APPENDIX B-75044EN/02 Initial Settings of Dnc1HardTest The initial settings must be executed before “Memory Test” and “Interrupt Test”. “Diagnostic Test” doesn’t need the initial settings. Using Dnc1HardTest 1 Click the [Initialize...] command in the [SetUp] menu. 2 If the above message box
Page 261B-75044EN/02 APPENDIX D. DNC1 3 If the value of 0 is displayed in [RESULT], the test is successful. Otherwise, the test is failed. 4 In case of failure, check the green LEDs on DNC1 board while the test program is running. For details, refer to “(5) LED state when the diagnosis is running” and “(6)
Page 262D. DNC1 APPENDIX B-75044EN/02 Memory Test Using Dnc1HardTest 1 Click the button in the Dnc1HardTest main screen. 2 Click the button. 3 If the value of 0 is displayed in [RESULT], the test is successful. Otherwise, the test is failed. In case of failure, there may be something wro
Page 263B-75044EN/02 APPENDIX D. DNC1 D.6 Dnc1Test The “Dnc1Test” is the software that enables to test the DNC1 communication services. When the DNC1 network is laid newly, or it is re-constructed, you must check that the DNC1 communication is working correctly. Starting Dnc1Test 1 Double-click the [Dnc1Tes
Page 264D. DNC1 APPENDIX B-75044EN/02 Initializing Dnc1Test Using Dnc1Test 1 Click the [Initialize...] of the [SetUp] menu in the main screen. 2 The [SetUp DNC1] dialog appears like this. 3 Choose the baud rate. It must correspond with the SW1 switch of the DNC1 optical adapter. For more information about t
Page 265B-75044EN/02 APPENDIX D. DNC1 Establishing DNC1 Connection Using Dnc1Test 1 Click the button in the main screen. 2 From the combo box, select the DNC1 station address of the NC. 3 Click the button. 4 If the value of 0 is displayed in [RESULT], the establishment is succ
Page 266D. DNC1 APPENDIX B-75044EN/02 Downloading NC Program Requested by Computer Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, choose the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post num
Page 267B-75044EN/02 APPENDIX D. DNC1 Uploading NC Program Requested by Computer Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, choose the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post number.
Page 268D. DNC1 APPENDIX B-75044EN/02 Downloading NC Program Requested by NC Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, choose the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post number. I
Page 269B-75044EN/02 APPENDIX D. DNC1 Uploading NC Program Requested by NC Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, choose the station address of the NC. 3 If the selected NC unit is the multi-path system, enter the tool post number. If not
Page 270D. DNC1 APPENDIX B-75044EN/02 DNC Operation Requested by Computer Operating NC 1 Change the NC mode to “TAPE”. Using Dnc1Test 2 Click the button in the main screen. 3 The DNC1 operation will be executed directly without checking the PMC ladder. If the NC unit is ready for the D
Page 271B-75044EN/02 APPENDIX D. DNC1 DNC Operation Requested by NC Operating NC 1 Refer to item 1 to 9 of “Procedure for DNC Operation” of “Sample Operations for FS16/18”, or item 1 to 6 of “Procedure for DNC Operation” of “Sample Operations for FS15”, or item 1 to 6 of “Procedure for DNC Operation” of “Sa
Page 272D. DNC1 APPENDIX B-75044EN/02 Selecting NC Program Operating NC 1 Change the NC mode to “MEMORY”. Using Dnc1Test 2 Click the
Page 273B-75044EN/02 APPENDIX D. DNC1 2 From the [Station Address] combo box, choose the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post number. If not so, you don’t need to enter it. 4 Enter the NC program number you want to delete. For example, if you wa
Page 274D. DNC1 APPENDIX B-75044EN/02 3 The cycle start operation will be executed directly without checking the PMC ladder. If the NC unit is ready for the cycle start, click the button. 4 From the [Station Address] combo box, click the station address of the NC. 5 If the specified NC unit is the mul
Page 275B-75044EN/02 APPENDIX D. DNC1 6 If the value of 0 is displayed in [RESULT], the reading of the list is successful. Otherwise, it is failed. 7 On successful, the list of NC programs was written in the file. The following is the contents of the file. Reading NC Program Information Using Dnc1Test 1 Cli
Page 276D. DNC1 APPENDIX B-75044EN/02 Reading Variable Data Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, select the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post number. If not so, you don’
Page 277B-75044EN/02 APPENDIX D. DNC1 Writing Variable Data Using Dnc1Test 1 Click the button in the main screen. 2 From the [Station Address] combo box, select the station address of the NC. 3 If the specified NC unit is the multi-path system, enter the tool post number. If not so, you don
Page 278D. DNC1 APPENDIX B-75044EN/02 Reading NC Identification Using Dnc1Test 1 Click the button in the main menu. 2 From the [Station Address] combo box, select the station address of the NC. 3 Click the button. 4 If the value of 0 is displayed in [RESULT], the reading of the NC identific
Page 279B-75044EN/02 APPENDIX D. DNC1 Operating NC 4 Force the NC to raise an alarm. Using Dnc1Test 5 If the value of 0 is displayed in [RESULT], the notice of alarm is successful. Otherwise, it is failed. Notice of Status Operating NC 1 Set up the NC parameters which enable to notify the NC status to a com
Page 280D. DNC1 APPENDIX B-75044EN/02 D.7 Dnc1LogViewer The Dnc1LogViewer is the software for displaying the status of the DNC1 board and the DNC1 communication. You don’t need to use the Dnc1LogViewer in usual operation. If an error is occurred in the DNC1 board, you can check the status of the DNC1 board
Page 281B-75044EN/02 APPENDIX D. DNC1 Finishing Dnc1LogViewer 1 Click the [Exit] command in the main screen. Initializing Dnc1LogViewer 1 Click the [SetUp] command in the main menu. 2 If the massage “Dnc1LogViewer finished to initialize” is displayed, the initialization is successful. Otherwise, it is faile
Page 282D. DNC1 APPENDIX B-75044EN/02 Showing DNC1 Log The DNC1 Log shows the status of the DNC1 communication. 1 Click the [Get Dnc1Log] command of the [File] menu in the main screen. 2 The following GetDnc1Log screen will appear. 3 Enter the name of file for saving the DNC1 log. Enter the file name “C: NC
Page 283B-75044EN/02 APPENDIX D. DNC1 Showing DNC1 Dump The DNC1 Dump shows the status of the DNC1 board. 1 Click the [Get Dnc1Dump] command of the [File] menu in the main screen. 2 The following Get Dnc1Dump screen will appear. -271-
Page 284D. DNC1 APPENDIX B-75044EN/02 3 Enter the name of file for saving the contents of the DNC1 dump. Enter the file name “C: NCDATA TMP1.DMP”, for example. 4 Click the button. The contents of DNC1 dump is shown like this. -272-
Page 285B-75044EN/02 APPENDIX D. DNC1 D.8 MAINTENANCE INFORMATION OF DNC1BOARD By seeing The LEDs on the DNC1 board, you can know the status of the DNC1 board. (0) LED Indicators :OFF, :ON , :Blinking, :Don’t care (1) Power-up state (Green LEDs) No. Software LEDs Status of DNC1 board 1 Just at the
Page 286D. DNC1 APPENDIX B-75044EN/02 (3) LED state when an error is occurred (Green LEDs) No. Software LEDs Status of DNC1 board 1 On initializing, the SRAM test is failed. (The RAM on the DNC1 board is possible to be damaged.) 2 An illegal interrupt is occurred. 3 An error is occurred in DN
Page 287B-75044EN/02 APPENDIX D. DNC1 (6) LED state when an error is occurred during diagnosis (Green LEDs) No. Software LEDs Status of DNC1 board 1 The register is failed. 2 The IRC test is failed. 3 The MPC test is failed. 4 The DMA test is failed. 5 The EPROM test is failed.
Page 288D. DNC1 APPENDIX B-75044EN/02 D.9 DNC1 BOARD, OPTICAL FIBER CABLE AND OPTICAL CONNECTOR SPECIFICATIONS Name Figure No. Remarks DNC1 interface board A20B-8100-0070 DNC1 loopback connector A13B-0156-C201 DNC1 tap A13B-0156-C100 Electrical interfaces ´ 3 DNC1 optical adapter B A13B-0156-C300 Electrical
Page 289B-75044EN/02 APPENDIX D. DNC1 D.10 PRECAUTIONS WHEN HANDLING RELATED PARTS DNC1 Interface Board (A) Static electricity countermeasures The DNC1 interface board is supplied in a static-proof bag. Be sure to insert the board in this bag when storing or carrying it. Before you remove the board from the
Page 290D. DNC1 APPENDIX B-75044EN/02 (B) Optical fiber cable • Though the reinforcing sheath section used for the optical fiber cable is sufficiently mechanically strong, take care not to drop heavy objects on it. • When connecting or disconnecting the optical connector, hold it by its connector. Do not co
Page 291B-75044EN/02 APPENDIX D. DNC1 • Fasten the reinforcing sheath section to the cable clamp so that the weight of the optical fiber cable is not directly applied on the connecting section of the optical connector. Cable clamp (sponge filling) Optical Optical fiber Optical Recommended part: CKN-13SP con
Page 295DNC1 OPTICAL TAP SPECIFICATION Page 1. OUTLINE .............................................................................................................. 2 2. SPECIFICATION................................................................................................. 3 2.1 CONNECTION OF ELECTR
Page 2961. OUTLINE B-75044EN/02 1 OUTLINE The optical tap is an adapter used in the FANUC-developed high-speed network DNC1 (connection mode 1). It connects two taps and a node using optical fiber cable. -2-
Page 297B-75044EN/02 2. SPECIFICATION 2 SPECIFICATION (ALSE REFER TO FANUC DNC1 SPECIFICATION - B-61782E) There are three types of DNC1 optical tap - "OPT-TAP A", "OPT-TAP B" and "OPT-TAP C". In this manual, "ELEC-TAP" means a tap for the electrical interface and "TAP" means a DNC1 optical tap or a tap for
Page 2982. SPECIFICATION B-75044EN/02 2.1 CONNECTION OF ELECTRIC CABLE Fig.2 shows an example of DNC1 configuration in which the primary station (F-D Mate) is connected to four secondary stations (CNCs). Fig.2 Example of DNC1 Configuration -4-
Page 299B-75044EN/02 2. SPECIFICATION 2.2 CONNECTION OF OPTICAL CABLE When the total length of trunk cable (lt) exceeds 200m (at a transfer rate of 230.4kbps) or 100m (at a transfer rate of 460.8kbps) and the length of a branch cable (ld) exceeds 0.5m, it is necessary to extend by using optical tap. 2.2.1 E
Page 3002. SPECIFICATION B-75044EN/02 2.2.2 Extension Between Secondary Stations Fig.4 shows the extension between secondary station #2 and #3. Fig.4 Extension between secondary stations The "OPT-TAP A" must be set on the primary station side of the transfer path. -6-
Page 301B-75044EN/02 2. SPECIFICATION 2.2.3 Extension of One Secondary Station (Extension of Branch Cable) Fig.5 shows the extension of the secondary station #2. Fig.5 Extension of the branch cable The "OPT-TAP A" must be set on the primary station side (the trunk cable side) and the "OPT-TAP B" must be set
Page 3022. SPECIFICATION B-75044EN/02 2.2.4 Extension of Two or More Secondary Stations Fig.6 shows the extension of the secondary station #2 and #3. Fig.6 Extension of two secondary stations (Extension of trunk line) NOTE 3 The "OPT-TAP C" is used to extend the trunk line. The same system is designed to ex
Page 303B-75044EN/02 2. SPECIFICATION Fig.7 Extension of two secondary stations (Extension of branch line) NOTE 5 In the case of extension of branch line, the power of "OPT-TAP B" which is connected to secondary station can be turned on/off at the same time the power of secondary station is turned on/off. B
Page 3042. SPECIFICATION B-75044EN/02 2.3 CABLE LENGTH (FOR THE DUSTPROOF CABINET MODEL, SEE 2.4) Fig.8 Cable length when optical taps are used (1) Fig.9 Cable length when optical taps are used (2) -10-
Page 305B-75044EN/02 2. SPECIFICATION 2.4 CONFIGURATION FOR DUSTPROOF CABINET MODEL OF F-D MATE For the dustproof cabinet model of the F-D Mate and stand-alone CNCs, optical taps must be installed outside. When the branch cable length exceeds 0.5m, the cable must be connected to the optical tap via a tap. T
Page 3062. SPECIFICATION B-75044EN/02 2.5 SHIELDING AND GRANDING NOTE Be sure to shield for the electric cable. Shielding is to peel off the portion of the cable sheath to expose the shield layer inside and fix the exposed shield layer to the ground plate using cable clamps. An electric cable is a shielded
Page 307B-75044EN/02 2. SPECIFICATION Connect an optical tap to the frame ground using a ground wire with a cross sectional area of 5.5 mm2 or more (Class 3 or higher grounding). M4-Frame ground (FG) terminal Fig.12 Frame ground terminal -13-
Page 3082. SPECIFICATION B-75044EN/02 2.6 SPECIFICATIONS OF OPTICAL TAP Item Specifications Ordering number Type Ordering No. Interface A, B A13B-0156-C300 Electric: 3 Optical: 1 C A13B-0156-C301 Electric: 1 Optical: 2 Note : Optical tap operation modes A and B can be switched using the switch on the printe
Page 309B-75044EN/02 2. SPECIFICATION 2.6.1 Setting Switch and LEDs 1) In the case of "OPT-TAP A" and "OPT-TAP B" (1) (2) (3) (4) LED Switch SW1 Switch SW2 Fig.13 Switches and LEDs of "OPT-TAP A" and "OPT-TAP B" Functions of LEDs LED Name Functions (1) P5 Pilot LED Power is supplied (2) BUSY Receive the dat
Page 3102. SPECIFICATION B-75044EN/02 2) In the case of "OPT-TAP C" (1) (2) (3) (4) LED Switch SW1 Fig.14 Switch and LEDs of "OPT-TAP C" Functions of LEDs LED Name Functions (1) PON Pilot LED Power is supplied. (2) 460K 460.8kbps is selected by the switch SW1 (3) START1 DPLL of primary station side is actin
Page 311B-75044EN/02 2. SPECIFICATION 2.6.2 Interface of Power Supply CP1 1 2 3 Y type housing Y +24V 0V (Input) X +24V 0V (No use) • Power can be supplied from both Y type connector and X type connector. Basically, please supplid from Y type connector. 2.6.3 Specification of Power Cable, Housing and Contac
Page 3122. SPECIFICATION B-75044EN/02 2.7 OUTSIDE AND MOUNTING DIMENSIONS OF AN OPTICAL TAP 180 160 30 90 150 Fig.15 Outside dimensions for an optical tap 160 90 4-M4 Fig.16 Mounting dimensions -18-
Page 313B-75044EN/02 INDEX DNC1 BOARD, OPTICAL FIBER CABLE AND OPTICAL CONNECTOR SPECIFICATIONS 276 A DNC1, DNC2 200 About FA SYSTEM for PC 1 DNC1/ETHERNET 213 About Log Message 167 Dnc1HardTest 246 About Log Viewer 171 Dnc1LogViewer 268 ABOUT NC PROGRAM FORMAT 13 Dnc1Test 251 About Sample Program 76 DNC2,
Page 314INDEX B-75044EN/02 Getting Number of Data < F_GetCount > 159 R Getting Result of Asynchronous Treatment < F_Response > 161 Reader/Puncher 205 Getting the Notice Message of the File Transfer Reading Alarm Information < F_ReadAlarm > 126 < F_CopyNoticeFileTransfer > 105 Reading Custom Macro Variable <
Page 315B-75044EN/02 INDEX Structure of List File Monitor Screen 189 SUBPROGRAM TRANSFER FUNCTION 14 U System Configuration 35 Upload Settings for Machine 44 System Requirements 24 Uploading NC Program Requested by Computer SYSTEM REQUIREMENTS FOR DNC1 < F_Upload... > 111 BOARD 237 Using Log Viewer 172 Syst
Page 316Revision Record FANUC FA SYSTEM for PC OPERATOR’S MANUAL (B-75044EN) Addition of ·DNC1/Ethernet communication function 02 Mar., ‘99 ·Subprogram transfer function ·List file transfer function ·DNC1 optical tap hardware specification 01 Edition Date Contents Edition Date Contents
Page 317TECHNICAL REPORT (MANUAL) NO.TMN 00/00/0103 Date 26 June,2000 FA Network Development Office FANUC FA System for PC Windows NT Version Operator’s Manual 1. Communicate this report to: •Your information • •GE Fanuc-N, GE Fanuc-E •FANUC Robotics •CINCINNATI MILACRON • Machine tool builder • •Sales agen
Page 318FANUC FA System for PC Windows NT Version (Additional document for Version 2.3) 1. Type of applied technical documents Name FANUC FA System for PC WindowsNT OPERATOR’S MANUAL Spec No. / B-75044EN/02 Version 2. Summary of Change New.Add Applicable Group Name / Outline Correct, Date Delete •Add 3 funt
Page 319FANUC FA System for PC Windows NT Version Operator’s Manual (Additional document for Version 2.3) 1. Outline FA System for PC Windows NT Version was updated to version 2.3. This document describes modification of version 2.3. 2. Updates 2.1. Additional functions to DNC1/Ethernet communication The fo
Page 320FANUC FA SYSTEM for PC OPERATOR'S MANUAL 1. Type of applied technical documents Name FANUC FA SYSTEM for PC OPERATOR'S MANUAL Spec. No. /Ed. B-75044EN/02 2. Summary of Change Group Name/Outline New Applicable Add Correct Date Delete The setting procedures of FA library (A08B-9510-J512) Add October,
Page 321FANUC FA Library for Windows (A08B-9510-J512) OPERATING MANUAL (version 1. 1) INDEX 1 ABOUT FA LIBRALY................................................................................................................................................. 3 1.1 OVERVIEW .....................................
Page 3221 ABOUT FA LIBRALY TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 3/62
Page 3231.1 OVERVIEW This document describes about FANUC FA library for Windows, A08B-0510-J512, version 1. 0. 1.1.1 Update from FA library for Windows version 1. 0 The following function were updated from verision 1. 0. (1) DNC1 communication has been supported. The same function as a WindowsNT version FA
Page 3241.1.3 The contents of change from B-75044EN/02 The function for a Reader/Puncher interface and DNC1/Ethernet is compatible with FA library of the FA SYSTEM for PC, A08B-9510-J510. Please refer the FA SYSTEM for PC operator's manual, B-75044EN/02, as the FA library for Windows operator's manual. This
Page 325Reader/Puncher Reader/Puncher interface is the input/output function of an NC that can connect input/output devices such as FANUC HANDY FILE. By operating an NC side, an NC program can be transmitted between the NC and the computer. Refer to Section "Input/Output of Data" in each NC operator's manua
Page 326DNC1 DNCl is a private network developed by FANUC. FA SYSTEM for PC is compatible with. "Model1" of DNC1 protocol. Modele1 enables multi-point communication where a computer acts as the primary station and controls multiple NCs. A computer can be connected with a maximum of 16 NCs by DNCl. DNC1 Boar
Page 3271.2 RELATION BETWEEN FA LIBRARY AND PROTOCOLS FA Library supports the protocols of Reader/Puncher, DNC1/Ethernet, DNC1 and DNC2. And the available functions of FA Library depend upon the capability of each protocol as follows. Reader/ Launch DNC1/ No Function Puncher DNC1 DNC2 (*1) Ethernet (*2) 1 D
Page 3282 OPERATING ENVIRONMENT AND SETUP TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 9/62
Page 3292.1 CNC This chapter describes about CNCs that can be connected by FA library. 2.1.1 RS-232-C (Reader/Puncher interface) connection Applicable CNC model Reader/Puncher can be used on the CNC, except for Series 30i and Series 15i, supported the Reader/Puncher interface. FA Library can be connected to
Page 330Ethernet boards or DATA SERVER boards and CNC options The table below indicates the Ethernet boards or DATA SERVER boards usable with the DNC1/Ethernet, and required CNC options. Ethernet boards or DATA SERVER boards and required options (1/2) Applicable Drawing Control No Name CNC option model Numb
Page 331Ethernet boards or DATA SERVER boards and required options (2/2) Applicable Drawing Control No Name CNC option model Number Software FS 16i /18i /21i A02B-XXXX-S707 (*1) 12 Fast Ethernet board A02B-0236-J293 -TA/MA A02B-0207-J800 (*2) for LCD-mounted FS 16i /18i /21i 13 type CNC A02B-0281-J293 A02B-
Page 332(*1) A02B-XXXX-S707: Ethernet function for FS16i/18i/21i This option is required when an external board for Model A or Model B is used. Specify one of the following drawing numbers in XXXX according to the NC type: 0236 (16i –TA) 0238 (18i –TA) 0247 (21i –TA) 0237 (16i –MA) 0239 (18i –MA) 0248 (21i
Page 3332.1.3 DNC1 connection Applicable CNC model A DNC1 board and options is required for the following CNCs: Series 0-MODEL C, Series 15-MODEL A/B Series 16-MODEL A/B/C, Series 18-MODEL A/B/C DNC1 boards and CNC options DNC1 boards boards and required options Applicable Drawing Control No Name CNC option
Page 334(*5) A02B-XXXX-J907: DNC1 function for FS16/18-A A02B-XXXX-J902: Extenal I/O device control for FS16/18-A A02B-XXXX-J956: Back ground editing for FS16/18-A Specify one of the following drawing numbers in XXXX according to the NC type 0120 (16 -TA) 0130 (18 -TA) 0121 (16 -MA) 0131 (18 -MA) (*6) A02B-
Page 3352.1.4 DNC2 connection Applicable CNC model A DNC2 board and options is required for the fo1lowing CNCs: Series 0-MODEL C, Series 15-MODEL B Series 16-MODEL A/B/C, Series 18-MODEL A/B/C NOTE 1 Cannot connect when the 8-digit program number option is used. 2 Can be used with one-path control CNC. Cann
Page 336(*1) A02B-XXXX-J878: DNC2 for Series 0 A02B-XXXX-J927: Extenal I/O device control for Series 0 A02B-XXXX-J828: Back ground editing for Series 0 Specify one of the following drawing numbers in XXXX according to the NC type 0098 (0 -TC) 0099 (0 -MC) (*2) A02B-0098-K121: Assembly plate of control unit
Page 3372.2 PERSONAL COMPUTER / HARDWARE This part describes the hardware environment of PC for FA library. 2.2.1 Computer The computer which can use FA library is as follows. Computer (1) CPU: Pentium(R) with 233 MHz or more is recommended. (2) Physical memory: 128MB or more (3) Virtual memory: 200MB or mo
Page 3382.2.2 RS-232-C (Reader/Puncher interface) connection (1) RS-232-C expansion board The following RS-232-C expansion board made from Digi is required. - AccelePort 4p (4 ports, DTE, DB25 male) - AccelePort 8p (8 ports, DTE, DB25 male) (2) RS-232C connection cables The following interface specification
Page 3392.2.3 DNC1/Ethernet connection (1) Ethernet interface An ethernet interface is required. (2) Network configuration Specifically, please investigate whether network configuration is the same as Fig. 1, or it is the same as Fig. 2. The configuration checked here is used by [C4Server IP address] set up
Page 3402.2.4 DNC1 connection DNC1 board setup Insert the DNC1 board to the personal computer. Please refer each item of the appendix about the insertion of the DNC1 board in the personal computer and the uniting method with NC. "D. 1 SYSTEMREQtJIREMENTSFORDNC1 BOARD" "D. 2 CONDITIONSFORUSINGTHEDNC1 DRIVER"
Page 3412.3 PERSONAL COMPUTER / SOFTWARE This part describes the software environment of PC for FA library. Licensing agreement One computer can use this software. Operating System This software runs on following Operating System: Microsoft Windows XP Professional ServicePack 1 or 2 Microsoft Windows 2000 P
Page 3422.4 SETUP This part describes the setting of FA library. 2.4.1 Install the TCP/IP protocol service NOTE 1 The user who makes the setting described in this section must have the "administrator privilege". 2 Regardless of the method of connection of NC, TCP/IP protocol service is required. Installing
Page 3432.4.2 Setting the TCP/IP NOTE 1 The user who makes the setting described in this section must have the "administrator privilege". 2 When you connect CNC via DNC1/Ethernet, the setting described in this section is required. To communicate with NCs using Ethernet, set the TCP/IP. 1. Select [Start] ->
Page 3442.4.3 Installation of FA library FA library is installed by executing a setup program from CD-ROM. NOTE 1 The user who installs FA library must have the "administrator privilege". 2 Before starting the installation procedure, stop all application programs. 3 The message "UDP Number for C4 Service" a
Page 3452. The software license agreement terms appear. Read them carefully, and if you agree, click the button. 3. Select a folder for installation. Check [Destination Folder], and if it is ok, click the button. To install FA library in a different folder, click and select the desined
Page 3464. Select a program folder where icons are to be saved. Usually select the default value displayed on the screen, and click the button. 5. Before file copy is started, a dialog box appears which prompts you to check what you specified so far. If it is ok, click the button. Installation
Page 3477. The ReadMe file and the user register card are displayed. The ReadMe file contains the cautions and other information that have not been included in the ReadMe file manual. Be sure to read the ReadMe file. NOTE Please fill in the user registration card and send it to us. When the user registratio
Page 348FA library programs When FA library is installed, the following program will be created in the [FANUC FA Library] group. <1> <2> <3> <4> <5> <6> <7> <8> <9> <1> This is an utility program for the DNC1 communication test. Referto "D. 5 DNC1 HardTest" and "D. 6 DNC1 Test" for operation. <2> This is th
Page 3492.4.4 Contents automatically registered into a TCP/IP SERVICE file When FA library is installed, FA library entries are automatically registered with the TCP/IP service file so that Windows TCP/IP protocol can be used. The following table lists the services that are automatically registered. Table A
Page 350If you forgot to take note of the value in the "UDP Number for C4 Service" dialog box displayed during installation, you can use the following procedure to display the value automatically set up in the PC. (1) Start the Ethernet Diagnose program. Click [Start menu] -> [Programs] -> [FANUC FA Library
Page 3512.4.5 Uninstall FA library can be uninstalled using [Add/Remove Programs] on [Control Panel]. NOTE 1 The user who uninstalls FA library must have the administrator privilege. 2 Before starting the uninstallation procedure, stop all application programs. Please uninstall "FANUC FA Library for Windows
Page 3522.4.6 Setting up DNC1 driver (WindowsXP) Please setup the DNC1 driver when communicating with NC by DNCl. When you don't use DNC1, the procedure in this chapter is unnecessary. The procedure to use DNC1 with Windows XP is follows. (1) Install DNC1 driver by Windows XP Hardware wizard. (2) Setup DNC1
Page 353(4) Seect "Yes I have already connected the hardware" and click ". (5) Select "Add a new device" and click . TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE DESIGN DESCRIP
Page 354(6) Select "Install the hardware that I manually select from a list" and click . (7) Select "Show All Devices" and click . TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE
Page 355(8) Click and browse for the %Fpfasys%\Bin folder (%Fpfasys% is the folder where FA library was installed). The following figure shows browsing example when FA library was installed to the installer's default folder. (9) Select FANUC DNC1 WinRT WDM Device" and click. TITLE FANUC FA
Page 356(10) Click (11) The following screen wi1l be displayed when setup has completed. Please setup resources for DNC1 driver when you finished to install DNC1 driver. TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue
Page 357Setting resouces (1) Launch "Control panel " from "Setting" in "Start menu". (2) Launch "System" and click tab and click . (3) Double click "FANUC DNC1 WinRT WDM Device". TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03
Page 358(4) Click "Resources" tab and click . (5) Select "Basic configuration 0000" in the "Setting based on" combobox. TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT
Page 359(6) Double click and select parameters of "IRQ", "I/O Range" and "Memory Range". For each paraneters, Select the parameter with "No devices are confliction". NOTE: l/O Range Please confirm a set value by rotary SW of the DNC1 board is corresponding to a set value by the device manager. If both are n
Page 360(7) Please reactivate the personal computer when you set IRQ, the range of I/0, and the memory. Please confirm the following displays by starting the device manager. The yellow "!" mark in the figure (3) will disappears. TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1
Page 3612.4.7 Setting up DNC1 driver (Windows2000) Please setup the DNC1 driver when communicating with NC by DNCl. When you don't use DNC1, the procedure in this chapter is unnecessary. The procedure to use DNC1 with Windows XP is a follows. (1) Install DNC1 driver by Windows 2000 Hardware wizard. (2) Setu
Page 362(1) Seect "Add/Troubleshoot a device" and click . (2) Select "Add a new device" and click . TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE DESIGN DESCRIPTION FANUC LTD. S
Page 363(3) Select "No, I want to select the hardware from a list" and click . (4) Select "Other devices" and click . TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/02-2 EDIT DATE DESIGN DESCRI
Page 364(5) Click and browse for the %Fpfasys%\Bin folder (%Fpfasys% is the folder where FA library was installed). The following figure shows browsing example when FA library was installed to the installer's default folder. (6) Select FANUC DNC1 WinRT WDM Device" and click. TITLE FANUC FA
Page 365(7) Click . (8) The following screen wi1l be displayed when setup has completed. Please setup resources for DNC1 driver when you finished to install DNC1 driver. Setting resources The proccdure to setup resourccs of DNC1 driver on Windows 2000 is the same as Windows XP. Please show the "Settin
Page 3662.4.8 How to use FA library with WindowsXP Professional SP2 This paragraph describes the setting method to use the FA library on Windows XP Professional Service Pack 2. When the FAlibrary is used with XP Service Pack2, it is necessary to Setup followlng Steps regardless of the communication protocol
Page 367(3) Click . (4) Click for browse the %Fpfasys%\Binfo1der. (%Fpfasys% is the folder where th FA library was installed) TITLE FANUC FA Library for Windows 02 04.10.04 Matsukura Added for version 1.1 OPERATOR’S MANUAL 01 03.09.17 Matsukura First issue DRAW.NO. B-75044EN/0
Page 368(5) Select "C4Server. exe", then click . Click in the the "Add program" dialog (6) Add CDAMng. exe and CommMng. exe to the exception lists by above (4) and (5) procedure. (7) Please click after adding 3 programs as shown in the next figure. TITLE FANUC FA Library for Windows 02 04.10
Page 3692.5 Starting and Stopping the Communication Process This chapter describes that starting and the stop method by the [FA System] program installed in [FANUC FA Library]. To starting and stopping with FA library function, please read "4. FA library. " Starting the Communication Process 1 Double-click
Page 3702.6 SYSTEM CONFIGURATION To use FA library, you must give a distinctive information to each machine. By using the Machine Configuration screen, please set up the information such as a machine number, a machine name, a device port and communication protocol for connecting to the computer, and the way
Page 3712.6.2 General Settings for Machine Selecting the default directory 1 Select the [General] panel in "Machine Configuration" dialog box. 2 Select the machine number you want to setup from the [Machine] list box. 3 Setup the following parameters in the [General] tab. Click the button in the right side
Page 372Enter the extension used for the List File in the [List File Extension] text box. Enter a extension different to that used for the default extension and subprogram extension. If the List File extension matches either the default extension or subprogram extension, an error will occur when you try to
Page 3735 In the [Settings] group box, set the value that is not set using the button. [For Details] does not need to be specified. Select the RS-232-C port number from the [Port] list box. 6 Click the button. Settings of DNC1/Ethernet 1 Select the [Communication] tab in the [Machine Co
Page 3746 Click the button, then check that it can be communicated to CNC by DNC1/Ethernet. Please turn on the CNC before checking. Displays for the correct setup When the IP addresses for the PC and NC are set up correctly, and the NC power is on, it is displayed as follows. <1> PING test. . <2
Page 375L Laser (Caution: Cannot be connected) Series:Indicates the CNC software series number, using a 4 digit character string. Version :Indicates the CNC software version number, using a 4 digit character string. Max axes :Indicates the maximum number of controllable axes. Axes :Indicates the number of c
Page 376Incorrect setting (2) When the IP addresses set up for the PC and NC are correct, and the NC power is on, if any other kind of setting is incorrect, it is displayed as follows. If the "Get System Information test ..." line does not appear, the probable causes are: (1) An IP address for the PC or the
Page 377Incorrect setting (3) When the IP addresses set up for the PC and NC are correct, and the NC power is on, if any other kind of setting is incorrect, it could be displayed as follows. Unlike the display of correct settings, "C4Api test ..." contains "Live=False". In this case, the probable causes are
Page 3782.6.4 Download Settings for Machine You can set the subprogram transfer method and List File transfer method. For details on the subprogram transfer function, see "1. 5 Subprogram Transfer Function, " and for details on the List File transfer function, see "1. 6 List File Transfer Function. " NOTE Y
Page 379Calling Type You can set the code used for calling the subprogram. You can set a combination of the M98, G65 and G66 codes. Masks of Sub Programs You can set the subprograms not to transfer even if the main program calls a subprogram. You can set this in 1000-line units. So, for example, you can set
Page 3802.6.5 Upload Settings for Machine 1 Select the [Upload] panel in the [Machine Configuration] dialog box. These settings are not used now but are provided for the future. Setup as the following figure. WARNING If invalid settings are specified, the FA SYSTEM for PC might behave unexpectedly. 2.6.6 Sa
Page 381Saving Settings 1 Insert the floppy disk that you want to save the settings to into the floppy disk drive. Before you insert the floppy disk, make sure that it is not write-protected. 2 "The "Insert the floppy disk into the A: drive. " message box appears. Click the button. 3 The save status is