Fanuc Cimplicity I Cell Operator
Fanuc Cimplicity I Cell Operator
Fanuc Cimplicity I Cell Operator
CELL
OPERATORS MANUAL
B-75074EN/04
No part of this manual may be reproduced in any form. All specifications and designs are subject to change without notice. The export of this product is subject to the authorization of the government of the country from where the product is exported. 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 done, because there are so many possibilities. Therefore, matters which are not especially described as possible in this manual should be regarded as impossible. This manual contains the program names or device names of other companies, some of which are registered trademarks of respective owners. However, these names are not followed by or in the main body.
B-75074EN/04
SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
SAFETY PRECAUTIONS describes notes, cautions and warnings to be observed for safe handling of those machines that have the FANUC CIMPLICITY i CELL and FANUC CNC installed. Before using the functions described in this manual, be sure to read SAFETY PRECAUTIONS. When using a function described in this manual, read the relevant portion of the operator's manual of each CNC to fully understand the function. Contents 1.1 DEFINITION OF WARNING, CAUTION, AND NOTE ........s-2 1.2 GENERAL WARNINGS AND CAUTIONS ...........................s-3 1.3 WARNING AND CAUTIONS ON THE FANUC CIMPLICITY i CELL .............................................................s-5
s-1
SAFETY PRECAUTIONS
B-75074EN/04
1.1
WARNING Applied when there is a danger of the user being injured or when there is a damage of both the user being injured and the equipment being damaged if the approved procedure is not observed. CAUTION Applied when there is a danger of the equipment being damaged, if the approved procedure is not observed. NOTE The Note is used to indicate supplementary information other than Warning and Caution.
- Read this manual carefully, and store it in a safe place.
s-2
B-75074EN/04
SAFETY PRECAUTIONS
1.2
s-3
SAFETY PRECAUTIONS
B-75074EN/04
CAUTION 1 Immediately after switching on the power, do not touch any of the keys on the MDI panel until the position display or alarm screen appears on the CNC unit. Some of the keys on the MDI panel are dedicated to maintenance or other special operations. Pressing any of these keys may place the CNC unit in other than its normal state. Starting the machine in this state may cause it to behave unexpectedly. 2 The operator's manual describes all the basic functions of the CNC, including the optional functions. The selected optional functions vary with the machine. Some functions described in this manual may not, therefore, be supported by your machine. Check the machine specifications previously. 3 Some machine operations and screen functions are implemented by the machine tool builder. For an explanation of their usage and related notes, refer to the manual provided by the machine tool builder. For example: - On some machines, executing a tool function causes the tool change unit to operate. When executing a tool function on such a machine, stand well clear of the tool change unit. Otherwise, there is a danger of injury to the operator. - Many auxiliary functions trigger physical operations, such as rotation of the spindle. Before attempting to use an auxiliary function, therefore, ensure that you are fully aware of the operation to be triggered by that function. NOTE Command programs, parameters, and variables are stored in nonvolatile memory in the CNC. Generally, the contents of memory are not lost by a power on/off operation. However, the contents of memory may be erased by mistake, or important data in nonvolatile memory may have to be erased upon recovering from a failure. To enable the restoration of data as soon as possible if such a situation arises, always make a backup of the data in advance.
s-4
B-75074EN/04
SAFETY PRECAUTIONS
1.3
WARNING 1 When using an NC program on an actual NC machine, confirm that the operation of the machine and tool controlled by the NC program is safe, before operating the machine. If an incorrect NC program is used or an NC program is used in a wrong way, the machine and tool can perform an unexpected operation, thus damaging the tool, machine, and workpiece, and exposing humans to a fatal accident. 2 This software does not check whether an NC program transferred by this software operates normally on the NC machine. When using an NC program on an actual NC machine, observe Item 1 above. 3 Even when an NC program once used successfully is reused, the contents of the NC program input to the NC machine can change for a cause such as deteriorated NC program storage media and a change in the communication environment for transfer based on the communication function. When using an NC program on an actual NC machine, observe Item 1 above. In this manual, a program used to specify an NC machine operation is referred to as an NC program. In the manual of an NC machine, an alias such as a machining program, part program, or program may be used for an NC program. If the meaning and purpose of such an alias are the same as for an NC program used in this manual, be sure to observe the warnings above.
s-5
SAFETY PRECAUTIONS
B-75074EN/04
s-6
B-75074EN/04
PREFACE
PREFACE
This manual describes the FANUC CIMPLICITY i CELL that operates on a personal computer (called PC for short). The FANUC CIMPLICITY i CELL is an application that runs on the CIMPLICITY HMI Plant Edition. Using the Ethernet, DNC2, reader/puncher, or Data Server communication function available with an NC produced by FANUC, the FANUC CIMPLICITY i CELL transfers data such as NC programs between the NC and personal computer. This manual is applicable to FANUC CIMPLICITY i CELL Version 2.0.
p-1
PREFACE
B-75074EN/04
Related manuals
This manual also covers FANUC NCs, their communication functions, and CIMPLICITY related to the use of this software. However, this manual does not cover all required information. Refer to the following manuals in addition to this manual: (1) CIMPLICITY CIMPLICITY HMI Plant Edition Basic System Operator's Manual (B-75064EN) CIMPLICITY HMI Plant Edition Option 1 (WebView/ Action Calendar/Statistic Process Management/VCR) Operator's Manual (B-75064EN-5) (This manual describes the method of WebView setting.) (2) To connect a personal computer to an NC using FOCAS1/Ethernet or Data Server FANUC Ethernet Board/Data Server Board Operator's Manual (B-63354EN) FANUC FAST Ethernet Board/FAST Data Server Operator's Manual (B-63644EN) FANUC FAST Ethernet/FAST Data Server Operator's Manual For FANUC Series 30i/300i, 31i/310i, 32i/320i-MODEL A (B-64014EN) (3) To connect a personal computer to an NC using DNC2 FANUC DNC2 DESCRIPTIONS (B-61992E) (4) To connect a personal computer to an NC using Reader/Puncher RS-232-C/RS-422 Interface CONNECTION MANUAL (B-60043E) Connection manual, maintenance manual, and operator's manual of an NC to be connected using the FANUC CIMPLICITY i CELL
Licensing agreement
The terms and conditions set forth by FANUC must be agreed upon by a customer who purchases the FANUC CIMPLICITY i CELL. These terms and conditions represent the licensing agreement between the customer and FANUC LTD. (referred to as FANUC) related to the software product (referred to as this software) purchased by the customer. Article 1 Licensing of right for use FANUC grants the customer the following right related to this software: <1> This software may be used on one computer. <2> When this software is used on multiple computers, the customer shall obtain licenses for this software as many as the number of computers even if this software is not used at the same time on those computers. <3> When this software is read through the network to the temporary memory of each computer, the customer shall obtain licenses for this software as many as the number of computers used. <4> Only one copy of this software may be produced for backup.
p-2
B-75074EN/04
PREFACE
Article 2 Copyright FANUC possesses the copyright of this software. Accordingly, the customer shall not copy this software for any purpose except for the purpose stipulated in Article 1 "Licensing of right for use". Article 3 Restrictions The customer shall not transfer, lend, sell, distribute, lease, or rent this software to a third party. Article 4 Warranty If the distributed media and manual of this software contains a physical defect, and the customer so notifies FANUC within ninety days after the reception of this software, FANUC replaces this software with a new one at no cost. Article 5 Exemption FANUC does not provide any warranty and guarantee related to this software except the warranty stipulated in Article 4, "Warranty". Namely, FANUC is not liable for any direct or indirect damages arising from the use of this software.
Abbreviations
In this manual, the following abbreviations may be used:
Formal name FANUC CIMPLICITY i CELL CIMPLICITY HMI Plant Edition Personal computer Operating system Abbreviation CIMPLICITY i CELL, i CELL CIMPLICITY HMI PC OS %iCELL% (Used when the path of a particular file name in the i CELL is described) If the installation path is not changed at installation time, %iCELL% is usually: C:\Program Files\FANUC\iCELL
p-3
B-75074EN/04
TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1 PREFACE ....................................................................................................p-1 I. GENERAL 1 2 3 OVERVIEW ............................................................................................. 3 ABOUT THE FANUC CIMPLICITY i CELL ............................................ 4 OPERATING ENVIRONMENT ................................................................ 6
3.1 3.2 3.3 3.4 3.5 CNC............................................................................................................... 9 PERSONAL COMPUTER/HARDWARE ...................................................... 18 PERSONAL COMPUTER/SOFTWARE ...................................................... 21 NETWORK CONFIGURATION ................................................................... 24 CONTRACT WITH INTERNET SERVICE PROVIDERS ............................. 26 OVERVIEW ................................................................................................. 28 NC PROGRAM TRANSFER........................................................................ 30
4.2.1 4.2.2 NC Program Transfer by Operating the NC Program Management Screen...........30 NC Program Transfer by Operating the NC...........................................................32
NC PROGRAM MANAGEMENT........................................................... 27
4.1 4.2
4.3 4.4
4.5
OPERATION MONITOR........................................................................ 44
5.1 OPERATION RESULT SCREEN................................................................. 45
5.1.1 5.1.2 Creating Operation Results ....................................................................................45 Display Information ...............................................................................................46 Workpiece Machining Result Data ........................................................................48 Display Information ...............................................................................................49 Display Format Alteration......................................................................................53
c-1
5.2
TABLE OF CONTENTS
5.2.4
B-75074EN/04
5.3
6 7 8
WEB FUNCTION................................................................................... 66
9.1
2.2
2.3
B-75074EN/04
TABLE OF CONTENTS
2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 Setting Up the TCP/IP (Basic Function) for Windows NT ....................................84 Setting the TCP/IP (Basic Function) for Windows NT..........................................85 Setting the DNS (Mail Function) for Windows NT ...............................................86 Setting Up ODBC (Basic Function) for Windows NT...........................................87 Installing IIS 4.0 (Web Function) for Windows NT ..............................................88 Registering the New User "IUSR_ICELL" (Web Function) for Windows NT .....89 Installing IE5.5 (Basic Function) for Windows NT ...............................................89 Installing the CIMPLICITY (Basic Function) for Windows NT ...........................90 Installing the CIMPLICITY Service Pack (Basic Function) for Windows NT......90
INSTALLATION .................................................................................... 91
3.1 3.2 INSTALLATION ........................................................................................... 92 INFORMATION TO BE AUTOMATICALLY SAVED TO THE TCP/IP SERVICE FILE ............................................................................................ 98 UNINSTALLATION .................................................................................... 101 BACKUP .................................................................................................... 103
5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 Opening the IcellBkupRstr Dialog Box ...............................................................103 Selecting Information to be Backed Up ...............................................................104 Confirming Backup Archive File Paths ...............................................................105 Starting Backup ....................................................................................................106 Confirming the Contents of the Backup Archive File..........................................106 Saving the Backup Archive File...........................................................................107 Installing i CELL..................................................................................................108 Copying the Backup Archive File ........................................................................108 Selecting Information to be Restored ...................................................................108 Starting Restoration..............................................................................................109
4 5
5.2
RESTORATION......................................................................................... 108
5.2.1 5.2.2 5.2.3 5.2.4
TABLE OF CONTENTS
2.1.3 2.1.4 2.1.5 2.1.6
B-75074EN/04
Setting up Machine Information...........................................................................117 Setting up Communication ...................................................................................117 Setting up NC Program Management...................................................................117 Setting up i CELL ................................................................................................118 Opening the Configuration Dialog Box ...............................................................119 Overview ..............................................................................................................119 Menus ...................................................................................................................120 How to Change Settings .......................................................................................121 Work Flows for Adding and Deleting Machines .................................................122 Setting Change and CIMPLICITY Project...........................................................124 Stopping and Updating the i CELL Project..........................................................125 Displaying a Dialog Box When the Project Has Not Been Updated....................126 If an Attempt to Reflect Point Settings to CIMPLICITY Fails ............................127
2.2
MACHINE COUNT CONFIGURATION ..................................................... 128 PROJECT PROPERTY ............................................................................. 129 MACHINE INFORMATION ........................................................................ 130 COMMUNICATION.................................................................................... 133
2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 Setting up Communication ...................................................................................133 Setting up FOCAS2/Ethernet Communication ....................................................134 Confirming the FOCAS2/Ethernet Communication Setting ................................138 DNC2 Communication Setting.............................................................................142 Reader/Puncher Communication Setting .............................................................144 Data Server Communication Setting ....................................................................146 Confirming Data Server Communication Setting ................................................148 General Tab ..........................................................................................................152 Communication Setting ........................................................................................155 Download Tab ......................................................................................................156 Upload Tab ...........................................................................................................158
2.7
2.8 2.9
NC PROGRAM MANAGEMENT - FTP CLIENT SETTINGS ..................... 159 i CELL MACHINE ...................................................................................... 161
2.9.1 2.9.2 Workpiece Process Result ....................................................................................165 Automatic Data Backup .......................................................................................169
WORKPIECES PROCESS RESULT SYSTEM CONFIGURATION .......... 173 DATABASE MAINTENANCE..................................................................... 176 NC SETTINGS........................................................................................... 179
c-4
B-75074EN/04
TABLE OF CONTENTS
2.12.1 2.12.2 2.12.3 Machining Result .................................................................................................179 Workpieces Process Result...................................................................................179 Tool Life...............................................................................................................181
MAILER ..................................................................................................... 186 MAIL CONFIGURATION ........................................................................... 187 SEND TEST............................................................................................... 191 OVERVIEW ............................................................................................... 193
4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 Web Screen Flow .................................................................................................193 Logon Screen........................................................................................................194 Machine Selection Screen ....................................................................................194 Machine Detail Screen .........................................................................................195 Setting Flow .........................................................................................................196
WEB INITIAL CONFIGURATION .............................................................. 197 POINT FOR WEB ...................................................................................... 198 ITEM NAME............................................................................................... 200 DISPLAY TABLE ....................................................................................... 201 OVERVIEW ............................................................................................... 202 PREPARATION ......................................................................................... 203
5.2.1 5.2.2 Checking the Conditions for CIMPLICITY Viewer Operation and Communication ....................................................................................................203 Allocating Available Drives for Sharing Directories ...........................................209
5.2.2.1 5.2.2.2 Available drive required for sharing the i CELL installation directory........... 209 Available drive required for sharing the NC program root directory .............. 210
5.2.3
Setting for Sharing the Server PC (Required When Windows XP Is Used) ........213 Procedure for Setting the Server PC.....................................................................221 Procedure for Setting the Viewer PC ...................................................................226
5.3
5.4
CHECKS.................................................................................................... 229
c-5
TABLE OF CONTENTS
5.4.1 5.4.2
B-75074EN/04
Checking Communication between the Viewer PC and Each NC .......................229 Checking CIMPLICITY Viewer Communication ...............................................231
5.5 5.6
c-6
B-75074EN/04
TABLE OF CONTENTS
5.2.6.2 Communication with a Data Server (FTP server)............................................ 284
Copying, Moving, Deleting, and Renaming Connection Destination Files (Directories)..........................................................................................................288 Referencing and Editing Connection Destination Files .......................................293 Creating a New Connection Destination Directory..............................................297 Setting Options .....................................................................................................298 Structure of Edit List File Screen .........................................................................301 Editing List Files ..................................................................................................304 Structure of List File Monitor Screen...................................................................309 List File Monitor Operations................................................................................311
5.3
5.4
9.4
TABLE OF CONTENTS
9.4.4
B-75074EN/04
History Signal Setting ..........................................................................................354 Data Backup .........................................................................................................356 Data Restoration ...................................................................................................357 File List Refreshing ..............................................................................................357 File Deletion .........................................................................................................358 FROM Data Backup .............................................................................................360 FROM Data Restoration.......................................................................................361 SRAM Data Backup .............................................................................................362 File List Refreshing ..............................................................................................362 FROM Data Deletion ...........................................................................................363
9.5
9.6
BACKUP DATA DISPLAY ......................................................................... 364 OUTLINE ................................................................................................... 367 SCREEN OPERATION.............................................................................. 368 OUTLINE ................................................................................................... 372 SCREEN OPERATION (1) ALARM MESSAGE SCREEN......................... 374 SCREEN OPERATION (2) ALARM LOG DISPLAY SCREEN................... 377
2.2
2.3
B-75074EN/04
TABLE OF CONTENTS
2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 General-Purpose Tab (Function Switch Tab) Control..........................................396 Back Button..........................................................................................................397 Title Bar................................................................................................................397 Message Line........................................................................................................398 Warning and Alarm Lamps ..................................................................................399 File Modification..................................................................................................400 ErrorMessage........................................................................................................401
2.5.1.1 2.5.1.2 Method............................................................................................................. 401 Example of usage............................................................................................. 402
2.4 2.5
2.6
2.7
3.2
3.3
TABLE OF CONTENTS
3.3.7 3.3.8
B-75074EN/04
WKPCDspMcnCnd - Progress Status Display Table...........................................433 WKPCDspLastState - Machining End State Display Table.................................434
4.3
4.4
A.2
B-75074EN/04
TABLE OF CONTENTS
B.1.3 B.1.4 Configuring a Small-scale Network .....................................................................487 Configuring a Large-scale Network .....................................................................487 Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time .......................................................................................................488 B.2.2 Setting the FOCAS2/Ethernet Functions..............................................................489
B.2.2.1 B.2.2.2 B.2.2.3 FOCAS2/Ethernet parameter screen................................................................ 489 Configuring a small-scale network .................................................................. 492 Configuring a large-scale network................................................................... 492 Setting the FTP file transfer function parameters ............................................ 493 Configuring a small-scale network .................................................................. 496 Configuring a large-scale network................................................................... 496
B.2
B.2.3
B.3
SETTING THE DATA SERVER FOR Series 16i/18i/21i-A/B AND Series 0i-B/C ............................................................................................. 497
B.3.1 B.3.2 Precautions to be Observed when Using the Data Server Functions for the First Time .......................................................................................................497 Setting the FTP Server .........................................................................................498
B.3.2.1 B.3.2.2 B.3.2.3 Ethernet parameter screen................................................................................ 498 Configuring a small-scale network .................................................................. 502 Configuring a large-scale network................................................................... 502 Ethernet parameter screen................................................................................ 503 Configuring a small-scale network .................................................................. 506 Configuring a large-scale network................................................................... 506
B.3.3
B.4
SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 30i/31i/32i-A ................................................................................... 507
B.4.1 B.4.2 B.4.3 B.4.4 Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time .......................................................................................................507 FOCAS2/Ethernet Screen.....................................................................................508 Configuring a Small-scale Network .....................................................................511 Configuring a Large-scale Network .....................................................................511 Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time .......................................................................................................512 B.5.2 Setting the FOCAS2/Ethernet Functions..............................................................513
B.5.2.1 B.5.2.2 B.5.2.3 FOCAS2/Ethernet parameter screen................................................................ 513 Configuring a small-scale network .................................................................. 517 Configuring a large-scale network................................................................... 517
B.5
c-11
TABLE OF CONTENTS
B.5.3
B-75074EN/04
B.6
B.6.3
B.7 B.8
SETTING UP DNC2 .................................................................................. 533 SETTING UP READER/PUNCHER........................................................... 534 DNC2......................................................................................................... 536 READER/PUNCHER ................................................................................. 542 NC PROGRAM MANAGEMENT ERROR CODES.................................... 551 OVERVIEW ............................................................................................... 562
E.1.1 E.1.2 CIMPLICITY Points and i CELL ........................................................................562 Point Naming Rules..............................................................................................563 Machine-Specific Points.......................................................................................564 i CELL -Common Points......................................................................................571
D E
E.2
F.2
B-75074EN/04
TABLE OF CONTENTS
F.2.2 Internet Information Service for Windows 2000..................................................589
G H
c-13
I. GENERAL
B-75074EN/04
GENERAL
1.OVERVIEW
OVERVIEW
This part (GENERAL) outlines the i CELL.
-3-
B-75074EN/04
i CELL
Maintenace function Software Prepared By User Remote Monitoring
CIMPLICITY HMI
CNC Display Operation Management & Operation Monitoring NC Program
DNC2
DATA SERVER
FOCAS2 / Ethernet
Ethernet Monitoring by CIMPLICITY Viewer
RS-232-C
RS-232-C
The i CELL is developed using CIMPLICITY HMI, which has found applications in SCADA (monitoring control and data collection) software. The user can utilize a wide variety of functions available with this tool. Moreover, the tool can be modified to meet the operation of the user, and user-specific screens and functions can be added. In addition, by using the enhanced network function of CIMPLICITY HMI, a distributed system where multiple personal computers are installed at necessary locations can be built easily. Multiple CIMPLICITY viewer personal computers can reference a personal
-4-
B-75074EN/04
computer (server) that is performing central management with the i CELL. With the Web view function, operating status monitored with the i CELL can be monitored from a remote personal computer via the Internet by using a browser such as Internet Explorer. (The Web view is an option of CIMPLICITY.) An i-mode cellular phone can externally monitor some of operating statuses being monitored with the i CELL. A specified event such as the completion of machining and the occurrence of an error can be posted by mail to another personal computer or cellular phone. For the former monitoring, connection with the Internet must be maintained at all times. The i CELL supports communication using FOCAS2/Ethernet, DNC2, Reader/Puncher, and Data Server, so it is available for all NC models including the newest NC and old models. However, the usable function depends on the communication function. The i CELL connected to an NC using the Reader/Puncher interface can be used as a replacement of a FANUC NC program input/output device. By introducing the i CELL, the utilization of production equipment can be improved, and quick recovery can be performed if a failure occurs. FANUC hopes that the i CELL will be fully utilized as a package for building a system and providing a base for operation.
-5-
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
OPERATING ENVIRONMENT
This chapter describes the operating environment for using the i CELL.
NOTE To use an NC communication function, the CNC option is required. For details, see Section 3.1, "CNC".
Communication function and NC type Ethernet FOCAS2/Ethernet Series 16i /18i /21i A Series 16i /18i /21i B Series 30i /31i /32i A Power Mate i D/H Series 0i B/0i C Data Server Series 16i /18i /21i Series 30i /31i /32i A Series 0i B/0i C DNC2 Series 0C Series 15A/B Series 16/18 Series 16i /18i /21i Reader/Puncher NC that supports Reader/Puncher communication (*8)
i CELL functions
Overview Machining result Workpiece process result Alarm Tool life NC display, operation and maintenance NC program management Operator message PC operation NC operation
(*2)
(*4)
(*2)
(*2)
(*4)
(*2)
(*4) -
(*4) -
-6-
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
NOTE *1 Set an FTP server on the PC side, and set the setting information (port number, IP address, user name, password, login directory) in the parameters for the FTP file transfer function of the NC. *2 Function under development *3 The following functions for Series 30i /31i /32i-A are under development: Alarm history screen, operator message history screen, operation history screen, alarm/operator message/operation history acquisition based on the automatic history acquisition function, and FROM/SRAM backup and restoration screen. *4 Options related to FOCAS2/Ethernet are required. *5 When an NC program is to be input to and output from the NC memory, an option related to FOCAS2/Ethernet is required. When an NC program is to be input to and output from a Data Server, the Data Server needs to be set as an FTP server. *6 Set an FTP server on the PC side, and set the setting information (port number, IP address, user name, password, login directory) in the parameters of the Data Server. *7 When the eight-digit O number option is used, NC program I/O operation cannot be performed. *8 Connection is impossible if the Series 15i and Series 30i /31i /32i-A are in use.
However, when the FOCAS2/Ethernet function of the Data Server is not used but only the function for input to and output from the hard disk of the Data Server is used from the NC program management screen, the NC with the Data Server is not counted in the number of NCs that require the options above. When a connection is made to a PC that has an FTP server, and files are transferred using the NC program management screen, the PC is not counted in the number of PCs that require the options above.
-7-
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
In other words, when only the FTP client function of the NC program management screen is used, the connection destination, namely, a Data Server or PC, is not counted in the number of units that require the options above. So, when I/O operation to and from the NC memory is to be performed using the FOCAS2/Ethernet function of a Data Server, the NC that has the Data Server is counted in the number of NCs that require the options above.
-8-
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
3.1
CNC
Usable CNCs
- When the FOCAS2/Ethernet is used
An Ethernet is required for the following CNCs: Series 30i-MODEL A, Series 300i-MODEL A, Series 300is-MODEL A Series 31i-MODEL A, Series 310i-MODEL A, Series 310is-MODEL A Series 32i-MODEL A, Series 320i-MODEL A, Series 320is-MODEL A Series 16i-MODEL A/B, Series 160i-MODEL A/B, Series 160is-MODEL A/B Series 18i-MODEL A/B, Series 180i-MODEL A/B, Series 180is-MODEL A/B Series 21i-MODEL A/B, Series 210i-MODEL A/B, Series 210is-MODEL A/B Power Mate i-MODEL D/H, Series 0i-MODEL B/C
NOTE 1 When the i CELL is operated, maximum four FOCAS2/Ethernet clients are used. Among these, two clients are used all times. One of the remaining two is used only when the NC operation/display screen, NC maintenance screen, or tool life management screen is displayed. The other is used only when history data is collected using the automatic history backup function. (When the execution of one automatic backup operation per day is specified, the client is used at that time only.) With the embedded Ethernet function, no more than five FOCAS2/Ethernet clients can be used. Accordingly, when the embedded Ethernet function is used, one NC can communicate with only one i CELL product. An option board is required for one NC to communicate with multiple i CELL products. The table below indicates the number of FOCAS2/Ethernet clients usable with various Ethernet boards, and the number of clients used by the i CELL.
Type of Ethernet board Embedded Ethernet board Data Server board FAST Ethernet board FAST Data Server Number of FOCAS2/ Ethernet clients 5 10 20 Number of clients used by the i CELL
GENERAL
B-75074EN/04
An DNC2 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 Series 16i-MODEL A/B, Series 18i-MODEL A/B Series 21i-MODEL A/B
NOTE 1 The i CELL can be used with one-path control CNC. The i CELL cannot be used with two-path or three-path control CNC. 2 DNC2 cannot be used with a CNC that uses the 8-digit O number option. 3 When DNC2 is used, a CNC connection option is required, which can connect as many CNCs as or more than the number of CNCs to be connected using DNC2. - When the Reader/Puncher is used
Reader/Puncher can be used on the CNC supported the Reader/Puncher interface. i CELL can be connected to a CNC using the Reader/Puncher interface to be used as a replacement of a FANUC CNC program input/output device as listed below: FANUC Handy File FANUC PROGRAM File / FANUC PROGRAM File Mate FANUC FLOPPY CASSETTE ADAPTER FANUC FA CARD ADAPTER
NOTE 1 The i CELL can be used with one-path or two-path control CNC. The i CELL cannot be used with three-path control CNC. 2 When Reader/Puncher is used, a CNC connection option is required, which can connect as many CNCs as or more than the number of CNCs to be connected using Reader/Puncher. 3 To display the NC program list of the i CELL on the NC screen, the floppy cassette directory display option is required on the NC.
- 10 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
NOTE 1 When the FTP server function of the Data Server of 10BASE-T type is used, only one i CELL product (FTP client) can be connected at the same time. If an attempt is made to connect more than one i CELL product at the same time, a second i CELL product and up are placed in the wait state. When multiple i CELL products are to be connected to one NC, the FAST Data Server is required. The table below indicates the number of FTP clients that can be connected to the Data Server board and the number of FTP clients used by the i CELL.
Type of Data Server board Data Server of 10BASE-T type FAST Data Server Number of connectable FTP clients 1 5 Number of FTP clients used by the i CELL
2 The Data Server of 10BASE-5 type does not have the FOCAS2/Ethernet and FTP functions. So, only NC program input/output by operation from the NC side can be performed. When another i CELL function is to be used, the Data Server needs to be replaced with a Data Server of 10BASE-T type or FAST Data Server.
- 11 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
No. 1 2 3 4 5 6 7 8 9
Control software
A02B-0236-J561 #6561
10 11 12 13 14 15 16 17 18 19 20
A02B-0259-J561 #6561 A02B-0281-J561 #6567 A02B-0281-J561 #6567 A02B-0281-J561 #656W A02B-0281-J561 #6567 A02B-0281-J561 #6567 A02B-0281-J561 #6567 A02B-0281-J561 #6567 A02B-0281-J561 #6567 A02B-0281-J561 #656W
- 12 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
No. 21 22 23
24
25
Ethernet boards or Data Server boards and required options Applicable Drawing CNC option Name model number A02B-XXXX-S707 (*1) FS16i /18i /21i ATA FAST Data A02B-0265-J140 A02B-0207-J800 (*2) -TA/MA Server for stand-alone A02B-XXXX-S737 (*3) type CNC FS16i /18i /21i A02B-XXXX-S707 (*1) A02B-0281-J149 -TB/MB A02B-XXXX-S737 (*3) Built-in I/O board A02B-XXXX-S707 (*1) FS0i -TB/MB stand-alone type CNC A02B-0299-H021 A02B-XXXX-S737 (*3) (with Data Server) A02B-XXXX-S707 (*1) FS16i /18i A02B-0265-J157 A02B-0207-J800 (*2) -MA RISC+ATA FAST A02B-XXXX-S737 (*3) Data Server for A02B-0281-J161 FS16i /18i stand-alone type CNC A02B-XXXX-S707 (*1) A02B-0281-J162 -MB A02B-XXXX-S737 (*3) (*4) Embedded Ethernet for LCD-mounted type CNC and stand-alone type CNC Embedded Ethernet for LCD-mounted type CNC and stand-alone type CNC(*8) FAST Ethernet board FAST Ethernet board for LCD-mounted type CNC and stand-alone type CNC Embedded Ethernet for LCD-mounted type CNC and stand-alone type CNC Embedded Ethernet for LCD-mounted type CNC and stand-alone type CNC
(*13)
A02B-0281-J561 #6567
26
27
28
A02B-0259-J293
29
A02B-0303-J146
(*9)
(*10) (*11)
30
FS30i /31i -A
Not required
(*12)
31
FS32i -A
Not required
(*13)
(*1) A02B-XXXX-S707: Ethernet function for Series 16i/18i/21i/0i-B /0i-C This option is required when the overview, machining result, and NC program management functions based on an external board are used. This option is not required when the FTP client function only is used. Specify one of the following drawing numbers in XXXX according to the NC type:
0236 (16i -TA) 0237 (16i -MA) 0281 (16i -TB) 0282 (16i -MB) 0238 (18i -TA) 0239 (18i -MA) 0283 (18i -TB) 0284 (18i -MB) 0247 (21i TA) 0248 (21i MA) 0285 (21i TB) 0286 (21i MB) 0299 (0i TB) 0300 (0i MB) 0309 (0i TC) 0310 (0i MC)
- 13 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
This option is required when the FOCAS2/Ethernet function is used. (*2) A02B-0207-J800: Extended driver library for Series 16i/18i/21i This option is required when Model A is used. This option is not required for Model B, regardless of whether the embedded function or external board is used. (*3) A02B-XXXX-S737: Data Server function This option is required when the Data Server function is used. To use the FTP client function, the Data Server function is required. So, this option is required. Specify a drawing number in XXXX according to the NC type. See (*1). (*4) A02B-0281-J160 is the high-speed version of A02B-0281-J158. A02B-0281-J162 is the high-speed version of A02B-0281-J161. (*5) A02B-0259-J862: Ethernet function for Power Mate i-D/H (*6) A02B-0259-J847: Extended driver library for Power Mate i-D/H (*7) When the embedded Ethernet function is used with Series 16i/18i-TB/MB, no option is required on the NC side. (*8) When the embedded Ethernet function is used with Series 21i-TB/MB, the main CPU board with the embedded Ethernet function needs to be specified. No option is required on the NC side. (*9) A02B-0303-J146: FAST Ethernet board for LCD-mounted type CNC and stand-alone type CNC With this board, either or both of the Ethernet function and the Data Server function can be used, depending on the CNC option used. (*10)A02B-XXXX-S707: Ethernet functions for Series 30i/31i/32i-A This option is required when the overview, machining result, and NC program management functions are used. This option is not required when the FTP client function only is used. In XXXX, specify one of the drawing numbers indicated below, depending on the NC type.
0303 (30i-A) 0307 (31i -A) 0308 (32iA)
(*11)A02B-XXXX-S737: Data Server functions for Series 30i/31i/32i-A This option is required when the Data Server function is used. To use the FTP client function, the Data Server function is required. So, this option is required. In XXXX, specify a drawing number, depending on the NC type. See (*10). (*12)When the embedded Ethernet function is used with Series 30i/31i -A, no option is required on the NC side. (*13)When the embedded Ethernet function is used with Series 32i -A, the main CPU board with the embedded Ethernet function needs to be specified. No option is required on the NC side.
- 14 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
No
Control software
A02B-0098-J543 #0688
3 4 5 6
A02B-0162-J031 A02B-0162-J035 FS15 -TB/MB A02B-0162-J036 A02B-0162-J192 A02B-XXXX-J908 (*5) A02B-XXXX-J902 (*5) A02B-XXXX-J956 (*5) A02B-0162-J600 (*4)
A02B-0162-J590 #60N0
A02B-0200-J030
A02B-0200-J532 #B426
8 9 10 11
A02B-0236-J030 A02B-0281-J030 A02B-0265-J030 A02B-0281-J032 A02B-XXXX-J908 (*6) A02B-XXXX-J902 (*6) A02B-XXXX-J956 (*6) A02B-0236-J532 #B427
NOTE DNC2 cannot be used with a CNC that uses the 8-digit O number option.
(*1) A02B-XXXX-J878 : DNC2 for Series 0 A02B-XXXX-J927 : External control of I/O devices for Series 0 A02B-XXXX-J828 : Background edit 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: Mounting metal fixture for control unit A This is necessary when the DNC2 card for control unit A is used. (*3) This is usable only with the Series 15-MB. (*4) A02B-0162-J600: DNC2 for Series 15 In addition to this option, a CRT display circuit option that matches the corresponding board is required.
- 15 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
(*5) A02B-XXXX-J908 : DNC2 for Series 16/18 A02B-XXXX-J902 : External control of I/O devices for Series 16/18 A02B-XXXX-J956 : Background edit for Series 16/18 Specify one of the following drawing numbers in XXXX according to the NC type:
0222 (16 -TC) 0223 (16 -MC) 0228 (18 -TC) 0229 (18 -MC)
(*6) A02B-XXXX-J908 : DNC2 for Series 16i/18i/21i A02B-XXXX-J902 : External control of I/O devices for Series 16i/18i/21i A02B-XXXX-J956 : Background edit for Series 16i/18i/21i Specify one of the following drawing numbers in XXXX according to the NC type:
0236 (16i -TA) 0237 (16i -MA) 0281 (16i -TB) 0282 (16i -MB) 0238 (18i -TA) 0239 (18i -MA) 0283 (18i -TB) 0284 (18i -MB) 0247 (21i -TA) 0248 (21i MA) 0285 (21i -TB) 0286 (21i -MB)
- 16 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
CNC options for functions other than the Ethernet, Data Server, and DNC2 functions
The table indicates an option required for each function used. However, the options below are standard with the Series 0i-MODEL B/C. The i CELL function which can be used by the communication function is different.
No. 1 Option name Parts count and operating time display Custom macro B Corresponding function in the part IV Operation 6. Machining results 7. Workpiece process results 2 9.5 Various data backup/restoration 7. Workpiece process results 9.3 Alarm history display 11 Alarm and warning 9.5 Various data backup/restoration 9.5 Various data backup/restoration 10. Tool line management Remarks When the operation result collection function is used When the workpiece machining result collection function is used When custom macro variable data is input/output When the workpiece machining result collection function is used, and the custom macro common area has no free space When the external operator message history data is used When the external operator message display function is used (*1) When the pitch error compensation data is input/output When a workpiece origin offset is input/output When the tool life management function is used If these options are not selected when the actual spindle speed S [min-1] is displayed with the M series, a value calculated from the spindle motor speed instead of a feedback value from the position coder can be displayed by setting bit 0 of parameter No. 3118 to 1.
Custom macro B and custom macro variable addition External message function or external data input function Pitch error compensation function Workpiece coordinate system Tool life management (*2)
5 6 7
*1
*2
With the Series 16i/18i/21i-MODEL A/B and Series 0i-MODEL B/C, four external operator messages can be displayed by setting bit 0 of parameter No. 3207 to 1. With Series 16i/18i/21i-MODEL A, however, the NCs with the following versions or later are required: 16i-TA B1F1 version 14 16i-MA B0F1 version 15 18i-TA BEF1 version 14 18i-MA BDF1 version 15 21i-TA DEF1 version 9 21i-MA DDF1 version 9 With the Series 0i-MODEL B/C, the tool life management function can be used by setting bit 0 of parameter No. 8132 to 1.
NOTE The following Ethernet-related options are not required: Basic operation package 1 A02B-0207-J810 CNC screen display function A02B-0207-J850
NC program modification
In workpiece machining result collection, a subprogram for writing information such as a workpiece ID and machining state to custom macro variables in the NC program needs to be called. For a sample subprogram, see Subsection 2.12.2, "Workpieces Process Result", in Part III, "SETTING".
- 17 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
3.2
Computer
PERSONAL COMPUTER/HARDWARE
The hardware used to operate the i CELL is described below.
Select <1> or <2> below. Also select the item(s) required for the communication protocol to be used from <3>. <1> Computer compatible with IBM PC/AT CPU: Pentium with 233 MHz or more is recommended. Physical memory: 128MB or more Virtual memory: 200MB or more HDD: 300MB or more A keyboard, mouse, and CD-ROM are required.
NOTE Software required varies according to the function used. Check the computer manufacturer to confirm that the software products listed in Section 3.3, "PERSONAL COMPUTER/SOFTWARE", can run on the personal computer used. Some computers may not be able to run Windows 2000 Server or NT 4.0 Server. These operating systems are necessary to use the WEB function.
<2> FANUC PANEL i Personal computer suitable for use in the FA floor Physical memory: 128MB or more Virtual memory: 200MB or more Touch panel available (option) Display unit: 12.4-inch, 15-inch A CD-ROM is required.
NOTE When the FANUC PANEL i is used, the Web function cannot be used. To use the Web function, Windows 2000 Server or Windows NT 4.0 Server is required as the OS. However, the FANUC PANEL i does not support this OS.
- 18 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
<3> Communication hardware Ethernet board (if the FOCAS2/Ethernet or Data Server protocol is used) RS-232C port (if the DNC2 protocol is used) RS-232C expansion board (if the DNC2 or Reader/Puncher protocol is used) The RS-232C expansion board to be used should be one of the following Digi International products. AccelePort 4p kit (4 ports, DTE, DB25 male) AccelePort 8p kit (8 ports, DTE, DB25 male)
Display
Resolution: 1024 768 dots or more Color: 16 colors or more
- 19 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
NOTE 1 The shape of each connector shown in the figure may differ from that of the connectors of the PC or NC you are actually using. Before preparing an RS-232C cable, check the shape of each connector of your PC and NC. 2 No port on the PC can be used with Reader/Puncher. 3 Refer to FANUC's "RS-232C/RS-422 Interface Connection Manual" (B-60043E) for detailed explanations about how to create connection cables. 4 Transmission may stop during DNC operation, depending on the performance of the PC in use or the size of a communication buffer in the NC. Transmission may stop also depending on the way the screen is operated on. If transmission stops, decrease the communication rate or the number of units that are simultaneously subjected to DNC operation.
- 20 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
3.3
PERSONAL COMPUTER/SOFTWARE
NOTE To use the i CELL with Windows NT4.0, the user needs to belong to the Power Users group. To make various settings on the setting screen, the user needs to belong to the Administrators group. Using Windows 2000 (A) When the Web function is used
All of <1> to <3> below are required. <1> Microsoft Windows 2000 Server ServicePack 4 and later <2> Microsoft Internet Information Server 5.0 (A full installation of <1> has <2> installed by default.) <3> Microsoft Internet Explorer 6.0 and later
- 21 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
NOTE To use the i CELL with Windows 2000, the user needs to belong to the Power Users group. To make various settings on the setting screen, the user needs to belong to the Administrators group. Using Windows XP (A) When the Web function is used
All of <1> to <3> below are required. <1> Microsoft Windows 2003 Server <2> Microsoft Internet Information Server 6.0 <3> Microsoft Internet Explorer 6.0 and later
NOTE 1 To set or operate i CELL with Windows XP, the user needs to belong to the Administrators group (computer administrators). 2 The user switch function of Windows XP is not supported. NOTE The following Ethernet-related software is not required: FOCAS2 libraryA02B-0207-K737 Basic Operation Package 1A02B-0207-K752 Basic Operation Package 2A02B-0207-K755 Disks for CNC screen display functions A02B-0207-K776
- 22 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
CIMPLICITY system
i CELL can operate on the following CIMPLICITY versions: CIMPLICITY HMI Plant Edition Version 6.1 (English or Japanese version) Running both the Japanese and English versions of CIMPLICITY requires CIMPLICITY HMI Plant Edition Version 6.1 Service Pack 2. Service Pack 2 is included in the installation CD of i CELL. The Japanese version of i CELL comes with the CIMPLICITY system, but the English version of i CELL does not. See the following description, "Installation CD contents."
NOTE Even if CIMPLICITY is already used, a personal computer and CIMPLICITY need to be purchased when the license for "Unlimited I/O" is not granted. To execute multiple projects with CIMPLICITY at the same time, the license for "Unlimited I/O" is required. If this license is not granted, a project of the user and i CELL project cannot be executed at the same time. The user is to prepare a personal computer for the i CELL, and CIMPLICITY additionally. If the user's project and i CELL project are integrated with each other, the projects are no longer multiple projects and can be used simultaneously.
Installation CD contents
The Japanese version of i CELL is delivered on two CDs. The first CD is the installation CD for the Japanese version of i CELL. The second CD contains the Japanese version of CIMPLICITY HMI Plant Edition Version 6.1. Please purchase the licenses for the CIMPLICITY main package and the option you want to use. The English version of i CELL is delivered on a single CD, that is, the installation CD. Unlike the Japanese version, the English version comes with no CIMPLICITY CD. Please purchase the CD for CIMPLICITY HMI Plant Edition Version 6.1, and the licenses for CIMPLICITY main package and the option you want to use. For both the Japanese and English versions, the installation CD contains CIMPLICITY HMI Plant Edition Version 6.1 Service Pack 2.
- 23 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
3.4
NETWORK CONFIGURATION
When i CELL is used with the Ethernet, the method of setting on the setting screen varies, depending on the network configuration. Check the network configuration. Specifically, check if the i CELL server PC and NCs belong to the same network as shown in Fig. 3.4(a), or if the i CELL server PC belongs to one network and NCs belong to another network, and the i CELL server PC and NCs are connected with each other via a router as shown in Fig. 3.4(b). (The configuration checked here is used in the setting of "Enable C4 Server" in Subsection 2.6.2, "Setting up FOCAS2/Ethernet Communication" in Part III, "SETTING".)
Network A
Basic configuration
Server PC
NC
NC
Server PC Router
The PC belongs to a network separated with a router from the network to which the NCs belong.
The server PC and the NCs must belong to the same network. NC
Network B
NC
Communication by FOCAS2/Ethernet
Communication by FOCAS2/Ethernet
Similarly to the server PC, the viewer PC uses the FOCAS2/Ethernet protocol to communicate with NCs.
- 24 -
B-75074EN/04
GENERAL
3.OPERATING ENVIRONMENT
It is therefore necessary to set up the IP routing function in the router shown in Fig.3.4(d) in such a way that network A, to which the NCs belong, can communicate with network B, to which the viewer PC belongs, using TCP/IP. Set up the router in such a way that a port number set up for a port for TCP in each NC can be routed.
NOTE The method of setting up IP routing varies depending on what router you use. If you use i CELL and the CIMPLICITY viewer this way, be sure to check the setting method in advance.
The configuration shown in Fig. 3.4 (e) is an example of providing the server PC with router functions and using two networks. Also in this configuration, the viewer PC communicates with NCs, using FOCAS2/Ethernet. It is necessary to set up the IP routing function in the server PC in such a way that networks A and B can communicate with each other, using TCP/IP. Set up the server PC in such a way that a port number set up for a port for TCP in each NC can be routed.
Network A
Communication by FOCAS2/Ethernet
NIC (A) Two NICs (Network Interface Cards), A and B, are set in the server PC to configure two networks. The server PC is provided with router functions in addition to its Server PC/router NIC (B)
NC IP routing is necessary.
NC
Network B Viewer PC
NOTE The method of setting two NICs in the server PC for having the server PC operate also as a router varies depending on what operating system you use in your server PC. If you use i CELL and the CIMPLICITY viewer this way, be sure to check the setting method in advance.
- 25 -
3.OPERATING ENVIRONMENT
GENERAL
B-75074EN/04
3.5
(A) When the mail function only is used with dial-up connection
ISDN dial-up connection Example: NTT Communications OCN dial access
(B) When the mail function is used with 24-hour connection, and when the Web function is used
ISDN 24-hour connection Example: NTT Communications OCN economy
- 26 -
B-75074EN/04
GENERAL
NC PROGRAM MANAGEMENT
- 27 -
GENERAL
B-75074EN/04
4.1
OVERVIEW
NC program management connects a personal computer as a NC program file server to multiple NCs. NC program management also allows connection with a Data Server or PC. For communication with a Data Server or PC, the operating side needs to be an FTP client, and the operated side needs to be an FTP server. When the connection target is a PC, the same operation as for a Data Server can be performed by operating NC program management. The following table lists the functions available for each communication function.
NOTE When the communication function is a Data Server, replace the "NC memory" in the following table with "hard disk drive or ATA flash card built onto (connected to) the Data Server board" or "ATA flash card built onto (connected to) a Fast Data Server" depending on the device to connect.
Function Communication protocol FOCAS2/ Reader/ Data DNC2 Ethernet puncher Server O O (*1) O O -
Sending and receiving of NC programs by operating the personal computer An NC program on the personal computer can be downloaded to the NC memory. The folders and the NC programs contained in the folders on the personal computer can be downloaded in a batch to the NC memory. When a main program is downloaded, the subprograms used by the main program can automatically be retrieved and downloaded. Moreover, multiple main programs can be registered in a list file, and can be downloaded sequentially. NC programs can be uploaded from the NC memory to the personal computer. The folders and the NC programs contained in the folders in the NC memory can be uploaded in a batch to the personal computer. Sending and receiving of NC programs by operating the NC By operating the NC, an NC program on the personal computer can be downloaded to the NC memory. When a main program is downloaded by operating the NC, the subprograms used by the main program can automatically be retrieved and downloaded. Moreover, multiple main programs can be registered in a list file, and can be downloaded sequentially. By operating the NC, NC programs can be uploaded from the NC memory to the personal computer.
O O (*1)
O -
O -
(*2)
(*3)
(*2)
(*3)
(*2)
(*3)
- 28 -
B-75074EN/04
GENERAL
Function
Management of NC program files in the NC memory by operating the personal computer A list of NC programs held in the NC memory can be displayed on O the NC program management screen on the personal computer. Editing and referencing NC programs held in the NC memory. An NC program held in the NC memory can be edited and referenced. O A specified NC program can be automatically uploaded to the personal computer for editing or referencing on the personal computer. If an NC program on the personal computer has been edited, download the NC program to the NC after confirmation. An NC program or directory held in the NC memory can be deleted O by operating the personal computer. In the NC memory, a directory is created from the personal O (*1) computer. An NC program name or directory name in the NC memory is O (*1) modified from the personal computer. Management of NC programs for multi paths The NC programs of each path are managed under an arbitrary directory. O
O -
O O O
Management of NC program files on the personal computer by operating the NC A list of NC programs on the personal computer can be displayed on (*2) the NC screen. An NC program file on the personal computer can be deleted by (*2) operating the NC.
O O
(*3)
(*3)
*1 *2
*3
This function can be used only with Series 30i/31i/32i. A function that can be executed by using the FTP file transfer function of embedded Ethernet is available. However, NC program management cannot be used. For details, refer to the operator's manual of each NC. A function that can be executed by setting a Data Server as an FTP client and setting a personal computer as an FTP server is available. However, NC program management cannot be used. For details, refer to the operator's manual of each Data Server.
NOTE When the Reader/Puncher communication protocol is used, some functions listed above may be unavailable or an additional NC option may be required, depending on the NC model.
- 29 -
GENERAL
B-75074EN/04
4.2
4.2.1
NC PROGRAM TRANSFER
This section describes NC program transfer by operating the NC program management screen and NC.
Directory B
Directory E File transfer between directory E and machine 1 File transfer between directory E and machine 2
Directory F
Machine 2
- 30 -
B-75074EN/04
GENERAL
The NC program management screen displays this default directory or an arbitrary directory, and a list of NC programs in the NC memory or Data Server (FTP server). The operator transfers NC programs by operating this screen.
List of connection target devices (machine list, FTP server list), and directory list tree of connected machines
For the method of default directory setting, see Subsection 2.7.1, "General Setting", in Part III, "SETTING". For the method of NC program management screen operation, see Chapter 5, "NC PROGRAM MANAGEMENT", in Part IV, "OPERATION".
- 31 -
GENERAL
B-75074EN/04
4.2.2
Communication function
File number
Downloading by operating the NC Uploading by operating the NC Downloading by operating the NC Uploading by operating the NC Downloading by operating the NC Uploading by operating the NC Downloading by operating the NC Uploading by operating the NC
B A B B A B C B C C C B The FTP file transfer function of embedded Ethernet is used. The Data Server function (FTP client) is used for transfer.
A : Available as a key B : Unavailable as a key C : Whether the key is available depends on the operated NC type.
- 32 -
B-75074EN/04
GENERAL
The following table lists the methods for determining an NC program to be downloaded by operating.
Methods for determining an NC program to be downloaded by operating the NC Used key Method for determining an NC program to be transferred
File name NC program number File number Default directory for machine 1 on the personal computer
Searches the default directory for a file with the specified name. Searches the default directory for file Oxxxx.DAT (xxxx: NC program number, DAT: Default extension). The default extension can be changed. Sorts the files in the default directory in ASCII order and finds a file whose ordinal position number is the same as the file number.
When file name "FILE_B.TXT" is used as the key, this file is downloaded. 1 2 3 4 5 6 FILE_A.TXT FILE_B.TXT O0001.DAT O0003.DAT WORK1.DOC WORK2.DOC When NC program number "6" is used as the key, this file is downloaded. When NC program number "3" is used as the key, this file is downloaded.
Machine 1
The following table lists the methods for storing a file uploaded by operating the NC.
Methods for storing an NC program uploaded by operating the NC Used key Method for storing an NC program
Uses the key as the file name without modification and stores the file in the default directory. Stores the file in the default directory with file name Oxxxx.DAT (xxxx: NC program number as the key, DAT: Default extension).
When "O0001" in the NC is uploaded and stored on the personal computer with file name "O0001" used as the key
Machine 1
When "O0001" in the NC is uploaded and stored on the personal computer with NC program number "1" used as the key
See Appendix C, "NC OPERATION EXAMPLES" for how an NC operation is associated with a key used on the personal computer FA.
- 33 -
GENERAL
B-75074EN/04
4.3
NC PROGRAM FORMAT
NC programs used with the system are managed under the formats indicated below. The program field must contain a main program including an NC program number, or must contain a subprogram.
% % ; ;
Example 1: Main program ending with M30 OXXXX; . . . Part program . . . ;M30;
% %
% %
; ;
% %
% %
; ;
% %
";" is used to mark an "end of block". Actually, ";" is the EOB code determined for the NC as with an LF code. "XXXX" represents an NC program number. A 4-digit number or 8-digit number can be used. With a CNC supporting file name management like Series 30i/31i/32i, a file name in the format <file-name> can be used in addition to an NC program number. The usable number of characters and the usable characters are as follows: Number of characters 32 characters or less Characters Alphabetic characters (uppercase/lowercase), numbers, four symbols , +, _, and . (all in half size). However, the file names "." and ".." cannot be used.
NOTE A CNC that supports file name management like Series 30i/31i/32i can distinguish uppercase and lowercase alphabetic characters from each other. However, Windows OS does not have this capability. So, a file named AAA and a file named aaa can be created with a CNC. However, if files AAA and aaa are uploaded to the personal computer in this order, file AAA is replaced with file aaa updated later.
- 34 -
B-75074EN/04
GENERAL
Use ASCII as the character code for NC programs. Some editors may be set to create a file using Unicode. An error occurs if an attempt is made to transfer an NC program created using Unicode. Whether an NC program is created using Unicode can be checked according to the procedure below. 1. Open the NC program in Notepad, then select [File][Save As]. 2. If the check box for "Save in Unicode" in the Save As dialog box is checked, the NC program is saved using Unicode. If the NC program is saved using Unicode, uncheck the check box for "Save in Unicode", then save the NC program again.
- 35 -
GENERAL
B-75074EN/04
4.4
NOTE This function can be used on a machine that uses the FOCAS2/Ethernet function or the Reader/Puncher function. This function can be used for communication with the default directory when the Reader/Puncher function is used.
Subprogram transfer is divided into two types: batch transfer and expanded transfer. (1) Batch transfer A main program is analyzed. If a subprogram call is specified, the subprogram is transferred after the main program. (2) Expanded transfer A main program is analyzed. If a subprogram call is specified, the main program is transferred with the subprogram expanded in the main program. On the NC program management setting screen, the user can choose from three subprogram transfer options for each machine: "no transfer, batch transfer, and expanded transfer".
% O0001 (MAIN START) M98P5001 (MAIN END) M30 O5001 (SUB START) (SUB END) M99 % % O0001 (MAIN START) (SUB START) (SUB END) (MAIN END) M30 %
- 36 -
B-75074EN/04
GENERAL
NOTE Only the directories set in [Subprogram search directory 1-3] are searched for a subprogram. When storing a subprogram in the default directory, specify the same directory as the default direction in any of [Subprogram search directory 1-3].
- 37 -
GENERAL
B-75074EN/04
4.4.1
NOTE 1 The program number xxxx or file name must be directly specifiable. A program number specified with a macro variable cannot be transferred. 2 M99Pnnnn (function for returning to a sequence number) cannot be used. When a subprogram is read up to M99, the end of the subprogram is assumed. Control returns to the main program, and Pnnnn is ignored. 3 Instructions such as branch instructions (GOTO, IF, WHILE) are not processed, but are transferred to the NC without modification.
- 38 -
B-75074EN/04
GENERAL
4.4.2
NOTE 1 The program number xxxx or file name must be directly specifiable. A program number specified with a macro variable cannot be transferred. 2 M99Pnnnn (function for returning to a sequence number) cannot be used. When a subprogram is read up to M99, the end of the subprogram is assumed. Control returns to the main program, and Pnnnn is ignored. 3 Instructions such as branch instructions (GOTO, IF, WHILE) are not processed, but are transferred to the CNC without modification. 4 In an expanded transfer, the transfer of a subprogram alone is impossible. If a subprogram alone is transferred, an error indicating that the main program contains M99 occurs. 5 In a block that calls a subprogram, no other address can be specified. Example:When the block M98P9000G00X00Y00 is sent in an expanded transfer, the subprogram O9000.DAT can be transferred, but the portion of G00X00Y00 cannot be transferred.
- 39 -
GENERAL
B-75074EN/04
4.5
NOTE On a machine that uses FOCAS2/Ethernet and the Reader/Puncher function, this function can be used to perform communication with the default directory.
The list file transfer function is divided into two types: batch transfer and expanded transfer. List batch transfer This function sequentially transfers the NC programs registered in a list file. This function assumes that multiple main programs are registered in the NC memory. List expanded transfer This function deletes O numbers, file names, and M30 from the NC programs registered in a list file, and transfers the NC programs as a single NC program. This function assumes that multiple main programs are linked into a single program for DNC operation. On the NC Program Management screen, the user can choose between two list file transfer options for each machine: "batch transfer and expanded transfer".
O0001.DAT % O0001 (O0001 DATA) M30 % O0002.DAT % O0002 (O0002 DATA) M30 % O0003.DAT % O0003 (O0003 DATA) M30 % List file creation screen List batch transfer List file O0001.LST + O0001.DAT O0002.DAT O0003.DAT
% O0001 (O0001 DATA) M30 O0002 (O0002 DATA) M30 O0003 (O0003 DATA) M30 % List expanded transfer % O0001 (O0001 DATA) (O0002 DATA) (O0003 DATA) M30 %
- 40 -
B-75074EN/04
GENERAL
4.5.1
NOTE 1 Batch transfer of NC programs that have no O number or file name is disabled. If such an attempt is made, an error occurs. 2 Batch transfer of NC programs that have the same O number or file name is disabled. If such an attempt is made, an error occurs.
- 41 -
GENERAL
B-75074EN/04
4.5.2
NOTE 1 Expanded transfer of a list file specifying a main program and subprogram is disabled. If such an attempt is made, the M02/M03 code in the main program is deleted, but the M99 code in the subprogram is transferred without being deleted. 2 Expanded transfer of NC programs that have the same O number or file name is disabled. If such an attempt is made, an error occurs.
4.5.3
- 42 -
B-75074EN/04
GENERAL
NOTE 1 When using this function, check [Wait for send buffer to become 0 before proceeding to next record in expanded transfer] of the [Download] panel on the machine setting screen. 2 Actual data transfer is affected by the send buffer on the personal computer and the NC receive buffer, so the data displayed on the monitor screen may differ from the data displayed on the NC screen. For example, an NC program displayed as being transferred on the monitor screen may not be received yet by the NC. Among the NC programs registered in a list file, the NC programs whose transfer is not started yet can be displayed correctly.
NOTE A list file referenced for list file transfer to an NC is a copy of a list file created for each NC on the LISTFILE EDITOR screen. A list file is copied for each NC immediately before start of transfer. A list file copied for each NC is displayed and edited on the list file monitor screen. So, the temporary stop, sequence alteration, deletion, and addition of NC programs on the list file monitor screen are temporary modifications valid during list file transfer only. A modification that needs to be reflected in each transfer must be made on the LISTFILE EDITOR screen before list file transfer.
- 43 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
OPERATION MONITOR
The operation monitor function monitors the operating status of the machine and collects machining results. The operation monitor function has the screens described below.
NOTE 1 The NC must have the operating time and parts count display option selected. 2 The FOCAS2/Ethernet or DNC2 function is required. The DNC2 function, however, cannot be used with Series 0.
NOTE 1 The NC must have the custom macro B option selected. 2 If the custom macro common area does not have a free space, the custom macro variable addition option is required. 3 The FOCAS2/Ethernet function is required.
NOTE 1 The NC must have the tool life management option selected. With Series 0i-MODEL B/C, the tool life management function can be used by setting bit 0 of parameter No. 8132 to 1. 2 There are not the tool life management function and option for that in Power Mate i. 3 The FOCAS2/Ethernet function is required. 4 This function for Series 30i /31i /32i is under development.
- 44 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
5.1
5.1.1
These data items are read every 30 seconds. Read data is registered in the database every day. When the operation result screen is activated, and a month for display is specified, the collected data of the specified month is read from the database for display.
NOTE 1 The NC must have the operating time and parts count display option selected. 2 The FOCAS2/Ethernet or DNC2 function is required. The DNC2 function, however, cannot be used with Series 0.
- 45 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
5.1.2
Display Information
For a specified NC, power-on time, operating time, and cutting time data is displayed as bar charts.
Monthly report on power-on time, operating time, and cutting time (bar charts)
- 46 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
Monthly report on power-on time, operating time, operating time, cutting time, and parts count (table)
For a specified NC, power-on time, operating time, operating time, cutting time, and parts count data is displayed as a table.
- 47 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
5.2
5.2.1
NOTE 1 The NC must have the custom macro B option selected. 2 If the custom macro common area does not have a free space, the custom macro variable addition option is required. 3 The FOCAS2/Ethernet function is required.
- 48 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
5.2.2
Display Information
When each machine has a workpiece currently being machined (when the start time is latest, and end time, machining end ID, and user area ID data to be obtained at machining end time is not obtained yet), workpiece progress status is display for each machine. If a workpiece machining time and the planned parts count of the current date are set, the end time of the machining of the planned parts count of the date (scheduled completion time) is displayed. For the setting of a machining time, see Section 2.10, "WORKPIECES PROCESS RESULT SYSTEM CONFIGURATION", in Part III, "SETTING". For the setting of a planned parts count, see Section 7.2, "SCREEN OPERATION", in Part IV, "OPERATION". The display items are: Machine Workpiece O number Start time Scheduled end time Normally machined parts count Planned parts count Scheduled completion time The user can choose whether to display an O number. For display alteration, see Section 7.2, "SCREEN OPERATION", in Part IV, "OPERATION". Example of display
- 49 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
Log display
Log information such as the machining times and end states of machined workpieces is displayed sequentially in the order from the latest to oldest log start time. The user can choose from four types of display: no specification, machine specification, workpiece specification, and machine/workpiece specification. For each of these options, the user can choose from three report options: daily report, monthly report, and period specification. Display with no specification Regardless of machines and workpieces, all log information is displayed. Display with machine specification Regardless of workpieces, the log information of a specified machine only is displayed. Sequence numbers are displayed. If sequence numbers are not successive (if data collection fails), a comment is displayed. If the displayed sequence numbers are 1, 2, 5, ..., for example, "No log: 2" is displayed between the sequence numbers 2 and 5. This means that the data of sequence numbers 3 and 4 could not be collected. A data collection failure can occur because the i CELL fails to read a transition of the machining start signal from OFF (0) to ON (1) (when the ON time is too short) or data is collected during data deletion. Check the time interval for making a machining start signal transition from ON to OFF (Subsection 2.12.2, "Workpieces Process Result", in Part III, "SETTING") and check the data deletion execution time (Section 2.11, "DATABASE MAINTENANCE", in Part III, "SETTING"). Display with workpiece specification Regardless of machines, the log information of a specified workpiece only is displayed. Display with machine/workpiece specification The log information of only a specified combination of a machine and workpiece is displayed. The display items are listed below. However, the actually displayed items depend on whether a specification is provided. Machine (when no machine is specified) Workpiece (when no workpieces is specified) O number (displayed only when workpiece display is provided) Machining start time Machining end time Machining time Machining end state User area Sequence number (machine specification only) The user can choose whether to display an O number and user area. For display alteration, see Section 7.2, "SCREEN OPERATION", in Part IV, "OPERATION".
- 50 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
Table format
As with log display, the user can choose from four types of display: no specification, machine specification, workpiece specification, and machine/workpiece specification. For each of these options, the user can choose from three report options: daily report, monthly report, and period specification. The display items are listed below. However, the actually displayed items depend on whether a specification is provided. Machine (when no machine is specified) Workpiece (when no workpieces is specified) Total machined parts count Planned machined parts count End state summaries (up to 5 in display number order) Others When the user selects a number in the No. column and clicks the pie chart button in the case of display with no specification, display with machine specification, or display with workpiece specification, the data of the selected row can be represented in pie chart format.
- 51 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
- 52 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
5.2.3
- 53 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
5.2.4
Example of planned parts count input screen For extracted machines/workpieces, input planned parts counts.
- 54 -
B-75074EN/04
GENERAL
5.OPERATION MONITOR
5.3
NOTE 1 The NC must have the tool life management option selected. With Series 0i-MODEL B/C, the tool life management function can be used by setting bit 0 of parameter No. 8132 to 1. 2 There are not the tool life management function and option for that in Power Mate i. 3 The FOCAS2/Ethernet function is required. 4 This function for Series 30i /31i /32i is under development.
5.3.1
Display Information
A list of tool groups registered with a specified machine and path is displayed.
The details of a tool group number selected on this display screen can be viewed on the tool group detail display screen.
- 55 -
5.OPERATION MONITOR
GENERAL
B-75074EN/04
- 56 -
B-75074EN/04
GENERAL
NOTE 1 For actual speed display with the M series, the threading/synchronous feed option and a position coder are required. If this option is not specified, a value calculated from the spindle motor speed instead of a feedback value from the position coder can be displayed by setting bit 0 of parameter No. 3118 to 1. 2 The FOCAS2/Ethernet function is required.
- 57 -
GENERAL
B-75074EN/04
- 58 -
B-75074EN/04
GENERAL
7.NC MAINTENANCE
NC MAINTENANCE
In NC maintenance, operations such as input/output of NC maintenance information and various types of data can be performed for each NC. For NC maintenance, the following functions are available: 1. Alarm history display and external operator message history display 2. Operation history display and history signal setting 3. Various data backup/restoration 4. FROM backup/restoration and SRAM backup 5. Automatic backup of various data items and display of history data
NOTE 1 The FOCAS2/Ethernet function is required. 2 When the i CELL is used on the CIMPLICITY viewer, history data automatically backed up cannot be displayed. 3 With Series 30i /31i /32i, only the function for backing up and restoring various types of data can be used. Other functions are under development.
NC maintenance screen
Examples of NC maintenance screens are given below. By selecting an NC machine and path number, the maintenance screen for each NC can be displayed. Alarm history screen Operation history screen
Alarm history data and operation history data displayed can be output to a file.
- 59 -
7.NC MAINTENANCE
GENERAL
B-75074EN/04
The various data backup/restoration screen enables the following data to be backed up and restored: (1) NC parameters (2) Tool offset data (3) Pitch error compensation data (4) Custom macro variables (numbers in the five hundreds) (5) Workpiece origin offset data
NOTE For pitch error compensation data, the pitch error compensation function (option) is required. For custom macro variables, custom macro B (option) is required. For workpiece origin offset data, the workpiece coordinate system (option) is required.
FROM backup/restoration and SRAM backup screen
This screen enables FROM data to be backed up, restored, and deleted, and enables SRAM data to be backed up.
NOTE As FROM data, only user files created by the machine tool builder or user in the FROM can be backed up, restored, and deleted. The system files provided by FANUC cannot be backed up, restored, and deleted. In order to restore SRAM data, the NC boot function needs to be used.
- 60 -
B-75074EN/04
GENERAL
7.NC MAINTENANCE
In automatic backup, the following NC data can be automatically backed up to the personal computer: Alarm history data Operation history data Message history data NC parameters Tool offset data Pitch error compensation data Custom macro variables (numbers in the five hundreds) Workpiece origin offset data Alarm history data and message history data are saved to a file in the order of occurrence time after duplicate data is automatically deleted.
NOTE The function for backing up an alarm history, operation history, and message history of Series 30i /31i /32i is under development. Only NC parameters, tool offset data, pitch error compensation data, custom macro variables, and workpiece origin offset data can be backed up.
The flow of automatic backup is shown below.
i CELL setting screen (1) (2)
i CELL auto-backup resident
(3)
NC
(1) The operator is to set the following on the i CELL setting screen: Target machine Backup timing Type of data to be backed up The specification data is saved to the setting file. (2) The i CELL automatic backup resident process periodically checks the contents of the setting file. (3) The i CELL automatic backup resident process backs up data from the NC to the data file each time automatic backup operation is to be performed. (4) The operator can check history data on the i CELL main screen.
- 61 -
7.NC MAINTENANCE
GENERAL
B-75074EN/04
On the backup data display screen, automatically backed up alarm history data, message history data, and operation history data can be displayed. A display period can be specified.
NOTE To use message history data, the option for external message or external data input is required on the NC. Messages displayed on the NC vary from one machine to another. For details, refer to the operator's manual of each machine.
- 62 -
B-75074EN/04
GENERAL
8.MAIL FUNCTION
MAIL FUNCTION
The i CELL runs on CIMPLICITY, and CIMPLICITY manages the data of the connected CNC as a point. When a point satisfies a condition, the mail function sends a message to an i-mode cellular phone or remote personal computer. A point that determines mail transmission timing is referred to as a trigger timing, and a condition that determines the value of a trigger point for sending mail is referred to as a trigger condition. The value of a point can be embedded in a mail message. A point whose value is embedded in a mail message is referred to as a message point. The following items can be set on the setting screen: Trigger point and trigger condition Mail destination Mail message and message point With the mail function, an event that occurred on a machine managed with the i CELL can be posted.
- 63 -
8.MAIL FUNCTION
GENERAL
B-75074EN/04
8.1
Internet
172.16.0.1 Router
i CELL
172.16.15.2 192.168.0.100
Hub
192.168.0.101
192.168.0.102
192.168.0.103
- 64 -
B-75074EN/04
GENERAL
8.MAIL FUNCTION
For connection with a provider, use the ISDN line. Some related terms are described below briefly.
Dial-up connection
Dialing as required to make a line connection to the access point of an Internet service provider. This mode of connection is the most popular mode for one personal computer to use the Internet. In dial-up connection, each time a connection is made, the provider assigns a global IP address temporarily.
Mail server
Server for sending and receiving e-mail. In general, providers may have a server for mail transmission (SMTP server) (corresponding to a mail post) and a server for reception (POP server) (corresponding to a mail box) separately or may have a server used for both purposes.
- 65 -
9.WEB FUNCTION
GENERAL
B-75074EN/04
WEB FUNCTION
With the Web function, CNC data collected by the i CELL can be checked from an i-mode cellular phone or remote personal computer. A point to be displayed can be specified for each machine. The value of a point can be converted to a character string for display. The following items can be set on the setting screen: Web initialization Point for Web Item name Display table With the Web function, brief machine operation status managed by the i CELL can be checked.
- 66 -
B-75074EN/04
GENERAL
9.WEB FUNCTION
9.1
IMPLEMENTING THE MAIL FUNCTION AND WEB FUNCTION WITH 24-HOUR CONNECTION
In order to use the i CELL Web function, a 24-hour connection is needed. For a 24-hour connection, the jobs described below are required. A contract with a provider for a 24-hour connection is needed. Settings such as for DNS are made on the personal computer. On the personal computer, IIS needs to be set. See Appendix F.1, "SETTING UP IIS". The personal computer needs to be connected with a dial-up router. For the method of connection, refer to the relevant manual of the dial-up router.
i-mode cellular phone or remote personal computer 100.100.100.100 Internet service provider Mail server 172.16.0.10
Internet
172.16.0.1 Router
ISDN line Mail function Web function 172.16.15.2 192.168.0.100 Factory 172.16.15.1 192.168.0.1 Dial-up router Hub Note) To provide security, operate the dial-up router as a firewall.
i CELL
192.168.0.101
192.168.0.102
192.168.0.103
- 67 -
9.WEB FUNCTION
GENERAL
B-75074EN/04
- 68 -
II. INSTALLATION
B-75074EN/04
INSTALLATION
1.OVERVIEW
OVERVIEW
Part II, "Installation" consists of the following chapters: 1. 2. OVERVIEW This is the chapter you are reading now. PREPARATION This chapter describes what you should do before installing i CELL and a remote system. INSTALLATION This chapter explains how to install i CELL. UNINSTALLATION This chapter explains how to uninstall i CELL. BACKUP AND RESTORATION This chapter explains how to back up and restore i CELL.
Configuration of Part II
3. 4. 5.
- 71 -
2.PREPARATION
INSTALLATION
B-75074EN/04
PREPARATION
This chapter describes the items you need to set up before installing i CELL in a PC. The items you need to prepare differ depending on the functions to be used with i CELL and the used OS. Look at the following table. For each function, make the settings as described in sections indicated with sequentially.
NOTE When the OS is Windows XP or Windows 2003 Server, see Subsections 2.1.1 to 2.1.8, which describe preparations to be made for Windows XP. When the OS is Windows 2000, see Subsections 2.2.1 to 2.2.8, which describe preparations to be made for Windows 2000. When the OS is Windows NT, see Subsections 2.3.1 to 2.3.9, which describe preparations to be made for Windows NT.
Used OS Function to be used Basic Mail Web function function function Section that describes each item to be set up 2.1.1 Setting Up the TCP/IP (Basic Function) for Windows XP 2.1.2 Setting the TCP/IP (Basic Function) for Windows XP 2.1.3 Setting the DNS (Mail Function) for Windows XP 2.1.4 Installing IIS 6.0 (Web Function) for Windows 2003 Server 2.1.5 Registering the New User "IUSR_ICELL" (Web Function) for Windows 2003 Server 2.1.6 Installing IE6.0 (Basic Function) for Windows XP 2.1.7 Installing CIMPLICITY (Basic Function) for Windows XP 2.1.8 Installing the CIMPLICITY Service Pack (Basic Function) for Windows XP 2.2.1 Setting Up the TCP/IP (Basic Function) for Windows 2000 2.2.2 Setting the TCP/IP (Basic Function) for Windows 2000 2.2.3 Setting the DNS (Mail Function) for Windows 2000 2.2.4 Installing IIS 5.0 (Web Function) for Windows 2000 2.2.5 Registering the New User "IUSR_ICELL" (Web Function) for Windows 2000 2.2.6 Installing IE5.5 (Basic Function) for Windows 2000 2.2.7 Installing CIMPLICITY (Basic Function) for Windows 2000 2.2.8 Installing the CIMPLICITY Service Pack (Basic Function) for Windows 2000
Windows 2000
- 72 -
B-75074EN/04
INSTALLATION
Function to be used Basic Mail Web function function function
2.PREPARATION
Used OS
Section that describes each item to be set up 2.3.1 Setting Up the TCP/IP (Basic Function) for Windows NT 2.3.2 Setting the TCP/IP (Basic Function) for Windows NT 2.3.3 Setting the DNS (Mail Function) for Windows NT 2.3.4 Setting Up ODBC (Basic Function) for Windows NT 2.3.5 Installing IIS 4.0 (Web Function) for Windows NT 2.3.6 Registering the New User "IUSR_ICELL" (Web Function) for Windows NT 2.3.7 Installing IE5.5 (Basic Function) for Windows NT 2.3.8 Installing the CIMPLICITY (Basic Function) for Windows NT 2.3.9 Installing the CIMPLICITY Service Pack (Basic Function) for Windows NT
Windows NT
- 73 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.1
2.1.1
Checking on localhost
The term localhost is a special host name used by the TCP/IP protocol to indicate the host of interest. It is registered automatically when Windows XP is installed. Deleting this setting hampers the normal operation of i CELL. Before installing the system described in this manual, check whether localhost has been registered in the hosts file. Supposing that Windows XP is installed in the "c:\windows" directory, the hosts file is in the location stated below. (The directory where Windows XP is installed is registered in the system environment variable "windir". It can be checked by activating [System] on [Control Panel].) "c:\windows\system32\drivers\etc\hosts Open this file with a test editor such as Notepad, and look for the following line (usually it is at or near the beginning of the file).
127.0.01 localhost
- 74 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.1.2
The IP address and subnet mask must always be set. The default gateway setting may be required depending on the network configuration in use. Contact the network administrator in your company. Also see Section 3.4, "NETWORK CONFIGURATION," in Part I, "GENERAL." To use a dial-up router with the i CELL mail or Web function, set the IP address of the dial-up router for the default gateway.
- 75 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.1.3
2.1.4
- 76 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.1.5
Registering the New User "IUSR_ICELL" (Web Function) for Windows 2003 Server
To use the Web function, you need to register the new user "IUSR_ICELL". If you do not use the Web function, you do not need to make this setting.
NOTE The user who makes the setting described in this section must have the "administrator privilege".
1. 2. 3. Select [Start] [Programs] [Administrative Tools] and activate [Computer Management]. On [Computer Management], select [System Tools] [Local Users and Groups] [Users] and activate [New User] in [Action]. Create a new user with specifying IUSR_ICELL for [User name] and none for [Password] and turning the [Password never expires] check box on.
2.1.6
- 77 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.1.7
NOTE 1 The user who installs CIMPLICITY must have the "administrator privilege". 2 If you changes the computer name after installing CIMPLICITY, you need to reinstall CIMPLICITY. Determine the computer name before installation.
i CELL can operate on the following CIMPLICITY versions: CIMPLICITY HMI Plant Edition Version 6.1 (English or Japanese version) The Japanese version of i CELL comes with the CIMPLICITY system, but the English version of i CELL does not.
2.1.8
- 78 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.2
2.2.1
Checking on localhost
The term localhost is a special host name used by the TCP/IP protocol to indicate the host of interest. It is registered automatically when Windows 2000 is installed. Deleting this setting hampers the normal operation of i CELL. Before installing the system described in this manual, check whether localhost has been registered in the hosts file. Supposing that Windows 2000 is installed in the "c:\winnt" directory, the hosts file is in the location stated below. (The directory where Windows 2000 is installed is registered in the system environment variable "windir". It can be checked by activating [System] on [Control Panel].) "c:\winnt\system32\drivers\etc\hosts" Open this file with a test editor such as Notepad, and look for the following line (usually it is at or near the beginning of the file).
127.0.01 localhost
- 79 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.2.2
The IP address and subnet mask must always be set. The default gateway setting may be required depending on the network configuration in use. Contact the network administrator in your company. Also see Section 3.4, "NETWORK CONFIGURATION," in Part I, "GENERAL." To use a dial-up router with the i CELL mail or Web function, set the IP address of the dial-up router for the default gateway.
- 80 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.2.3
2.2.4
- 81 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.2.5
Registering the New User "IUSR_ICELL" (Web Function) for Windows 2000
To use the Web function, you need to register the new user "IUSR_ICELL". If you do not use the Web function, you do not need to make this setting.
NOTE The user who makes the setting described in this section must have the "administrator privilege".
1. 2. 3. Select [Start] [Programs] [Administrative Tools] and activate [Computer Management]. On [Computer Management], select [System Tools] [Local Users and Groups] [Users] and activate [New User] in [Action]. Create a new user with specifying IUSR_ICELL for [User name] and none for [Password] and turning the [Password never expires] check box on.
2.2.6
- 82 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.2.7
NOTE 1 The user who installs CIMPLICITY must have the "administrator privilege". 2 If you changes the computer name after installing CIMPLICITY, you need to reinstall CIMPLICITY. Determine the computer name before installation.
i CELL can operate on the following CIMPLICITY versions: CIMPLICITY HMI Plant Edition Version 6.1 (English or Japanese version) The Japanese version of i CELL comes with the CIMPLICITY system, but the English version of i CELL does not.
2.2.8
Installing the CIMPLICITY Service Pack (Basic Function) for Windows 2000
After installing CIMPLICITY, install CIMPLICITY Service Pack 2. Execute the following file on the installation CD: \HMI6.1SP2\setup.bat
- 83 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.3
2.3.1
Checking on localhost
The term localhost is a special host name used by the TCP/IP protocol to indicate the host of interest. It is registered automatically when Windows NT is installed. Deleting this setting hampers the normal operation of i CELL. Before installing the system described in this manual, check whether localhost has been registered in the hosts file. Supposing that Windows NT is installed in the "c:\winnt" directory, the hosts file is in the location stated below. (The directory where Windows NT is installed is registered in the system environment variable "windir". It can be checked by activating [System] on [Control Panel].) "c:\winnt\system32\drivers\etc\hosts" Open this file with a test editor such as Notepad, and look for the following line (usually it is at or near the beginning of the file).
127.0.01 localhost
- 84 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.3.2
The IP address and subnet mask must always be set. The default gateway setting may be required depending on the network configuration in use. Contact the network administrator in your company. Also see Section 3.4, "NETWORK CONFIGURATION," in Part I, "GENERAL." To use a dial-up router with the i CELL mail or Web function, set the IP address of the dial-up router for the default gateway.
- 85 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.3.3
- 86 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.3.4
NOTE The user who makes the setting described in this section must have the "administrator privilege".
1. 2. 3. Start the PC, and insert the i CELL installation CD-ROM into the drive. The i CELL installer starts. Click the [Cancel] button. Execute the following file from the installation CD. \ODBC\Mdac_Typ.exe
- 87 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.3.5
No
<3> Check the version of Internet Explorer. 5 or later? Yes <4> Uninstall IE5.x. No
End
In this case, install SP6a by following the solution procedure presented in the Microsoft-issued support information (document code Q250867) "It is impossible to install Service Pack 6a if there is a highly encrypted IE" (which can be downloaded from the Microsoft Web site).
- 88 -
B-75074EN/04
INSTALLATION
2.PREPARATION
2.3.6
NOTE The user who makes the setting described in this section must have the "administrator privilege".
1. 2. Select [Start] [Program] [Administrative Tool (Common)], and activate [Domain User Manager]. In [Domain User Manager,] add a new user by specifying [Username] IUSR_ICELL , [Password] (none), and [Password Never Expires].
2.3.7
- 89 -
2.PREPARATION
INSTALLATION
B-75074EN/04
2.3.8
NOTE 1 The user who makes the setting described in this section must have the "administrator privilege". 2 If you changes the computer name after installing CIMPLICITY, you need to reinstall CIMPLICITY. Determine the computer name before installation.
i CELL can operate on the following CIMPLICITY versions: CIMPLICITY HMI Plant Edition Version 6.1 (English or Japanese version) The Japanese version of i CELL comes with the CIMPLICITY system, but the English version of i CELL does not.
2.3.9
- 90 -
B-75074EN/04
INSTALLATION
3.INSTALLATION
INSTALLATION
The following sections explain how to install i CELL.
- 91 -
3.INSTALLATION
INSTALLATION
B-75074EN/04
3.1
INSTALLATION
i CELL is installed by executing a setup program from CD-ROM.
NOTE 1 The user who install i CELL must have the "administrator privilege". 2 Before starting the installation procedure, stop all application programs. 3 The message "UDP Number for C4 Service" appears during installation. The displayed information must match the setting in the NC. Take note of this information. When you forgot to take note of this information, see "UDP number for C4 service" described in Section 3.2, "INFORMATION TO BE AUTOMATICALLY SAVED TO THE TCP/IP SERVICE FILE".
The setup procedure follows: 1. Start the computer, and insert the installation CD-ROM into the drive. The installer's start window appears automatically. Click the [Next] button.
- 92 -
B-75074EN/04
INSTALLATION
3.INSTALLATION
2.
The software license agreement terms appear. Read them carefully, and if you agree, click the [Yes] button.
3.
On the installation component select screen, the buttons indicating the server and viewer components of the CIMPLICITY viewer are displayed. When you want to install i CELL on the server PC of the CIMPLICITY viewer or does not want to use the CIMPLICITY viewer, select the "server" component. When you want to install i CELL on the viewer PC of the CIMPLICITY viewer, select the "viewer" component.
- 93 -
3.INSTALLATION
4.
INSTALLATION
B-75074EN/04
Select a folder for installation. Check [Destination Folder], and if it is ok, click the [Next] button. To install i CELL in a different folder, click [Browse] and select the desined folder, then click the [Next] button.
Configuration of the directories where i CELL and the related information are installed
When determining the directories where i CELL and the related information are to be installed, you should use the following configuration.
<1> ...\iCELL (You select this directory when you install i CELL.) <2> <3> CimProject (This is created automatically during installation.) NcData (You create directories for NcData.) (Directory for NC001) (Directory for NC002)
i CELL has a dialog box for backup and restoration. Backup and restoration can be performed for individual directories separately. (See Chapter 5, "Backup and Restoration", for explanations about how to use the backup dialog box.) If all files under <1> are selected for backup, all of the programs necessary to run i CELL, setting data, result data, CIMPLICITY dialog boxes are backed up. If all files under <2> are selected for backup, setting data, result data, and CIMPLICITY dialog boxes are backed up. However, the programs necessary to run i CELL are not backed up because they are not altered by changing settings. The directories for saving NC data can be set up freely on the NC Program Transfer setting screen. However, you should save NC data to locations described at <3>. Above the directory for each machine, create an NC data root directory. To use the CIMPLICITY viewer, this directory configuration must be used.
- 94 -
B-75074EN/04
INSTALLATION
3.INSTALLATION
Using the directory configuration shown above enables you to use three backup levels, each of which is selected according to what was done. <1> Backup is performed after i CELL is installed and confirmed for normal operation. <2> Backup is performed after a new machine is connected to i CELL, or any CIMPLICITY dialog box is changed. <3> Back up NC data each time it is changed, regardless of <1> or <2>.
- 95 -
3.INSTALLATION
6.
INSTALLATION
B-75074EN/04
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 [Next] button. Installation begins.
7.
The message "UDP Number for C4 Service" shown below appears during installation. You need to enter the value indicated in this message as "Port number for UDP" for all NCs. (A value other than "8192" may be indicated depending on the environment of the PC.) Take note of this value. See "UDP number for C4 service" described in Section 3.2, "INFORMATION TO BE AUTOMATICALLY SAVED TO THE TCP/IP SERVICE FILE" for details.
8.
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 registration card is displayed, print it on your printer, and fill in the printed form. If you want to print it later, for example, because your PC has no printer, use the following file: RegistJ.txt in the root directory on the installation CD The fax address and post address are presented on the user registration card. To read the ReadMe file later, open ReadMeJ.txt in the root directory on the installation CD.
- 96 -
B-75074EN/04
INSTALLATION
3.INSTALLATION
9.
Once the setup is completed, the following message appears. Turn the PC power off and on again.
- 97 -
3.INSTALLATION
INSTALLATION
B-75074EN/04
3.2
NOTE *1 This value is a "port number for UDP" to be entered in the "ETHPRM" dialog box of the NC.
If a port number listed in the Table 3.2 "Automatically registered services" is turned out to be already in use when an attempt is made to register a service with the port number, the service is assigned with a number larger than the maximum existing number in the services file. Therefore, no existing service will be nullified. Before automatic registration with the services file is started, a backup copy of it is created and saved to the same directory as for it. Supposing that the directory where Windows is set up is "c:\winnt", the services file and its automatically created backup file are in the following directories: c:\winnt\system32\drivers\etc\ The directory where Windows system is installed is registered in the system environment variable "windir". It can be checked by activating [System] on [Control Panel]. The automatically created backup file is named "services.YYYYMMDDhhmm" (where YYYY is the year, MM is the month, DD is the day, hh is the hour, and mm is the minute) from the time of automatic registration.
- 98 -
B-75074EN/04
INSTALLATION
3.INSTALLATION
(4) Close the Communication Configuration Confirmation dialog box and the i CELL Configuration dialog box.
WARNING Do not edit the services file unless you have working knowledge about the Ethernet and TCP/IP. If you edit it incorrectly, it is likely that not only i CELL but also all Ethernet communication processes on Windows may become inoperable. NOTE Once the services file is edited, you need to turn the power off and on again to put the editing in effect.
- 99 -
4.UNINSTALLATION
INSTALLATION
B-75074EN/04
UNINSTALLATION
- 100 -
B-75074EN/04
INSTALLATION
4.UNINSTALLATION
4.1
UNINSTALLATION
i CELL can be uninstalled using [Add/Remove Programs] on [Control Panel].
NOTE 1 The user who uninstalls i CELL must have the administrator privilege. 2 Before starting the uninstallation procedure, stop all application programs. 3 When i CELL is uninstalled, all of the contents of the CimProject directory under the directory where i CELL is installed are deleted. Backup necessary files such as modified screens and NC programs beforehand.
Uninstall "CIMPLICITY i CELL". Any files that were set up after installation are left installed. Use Explorer to delete them. Windows 2000 or Windows XP
Windows NT
- 101 -
INSTALLATION
B-75074EN/04
- 102 -
B-75074EN/04
INSTALLATION
5.1
BACKUP
If you changed the settings of i CELL or customized any i CELL dialog box, be sure to back up i CELL, using the following procedure. When i CELL is backed up, its multiple files and directories are assembled and compacted into a single backup archive file. i CELL can be restored from this file according to the procedure described in Section 5.2, "RESTORATION".
NOTE Before starting backing up i CELL, be sure to terminate the i CELL project.
5.1.1
- 103 -
INSTALLATION
B-75074EN/04
5.1.2
In the "Select Backup/Restore Directory" frame, select what to back up, using an option button. All of i CELL: All entities in the %iCELL% directory (where i CELL is installed) at <1> in the above chart are backup targets. All i CELL files are backed up. CimProject Only: The data under the %iCELL%\CimProject directory shown by <2> in the figure above and various types of log data of i CELL are backed up. (Various types of log data of i CELL are not restored.) The CIMPLICITY settings, its dialog boxes, NC program communication settings, and collected result data are backed up. The DLL or EXE files that are necessary for i CELL to run but not affected by changes to the settings are not backed up. If you changed the settings or dialog boxes of i CELL, select this option. Any Directory: All entities in the directory specified in the text box are backup targets. If the directory configuration shown above is used, simply entering the directory name shown at <3> causes the NC programs to be backed up. Using the directory configuration shown above enables you to use three backup levels, each of which is selected according to what was done. <1> Backup is performed after i CELL is installed and confirmed for normal operation. <2> Backup is performed after a new machine is connected to i CELL, or any CIMPLICITY dialog box is changed. <3> Back up NC data each time it is changed, regardless of <1> or <2>.
- 104 -
B-75074EN/04
INSTALLATION
5.1.3
NOTE Before starting backup, make sure that there is an enough free area on the hard disk. A rough estimate of a backup archive file created at installation is as follows: All of i CELL : About 5 MB CimProject Only: About 1 MB Backup is performed during operation, a larger free area is necessary, because result data is collected during operation.
- 105 -
INSTALLATION
B-75074EN/04
5.1.4
Starting Backup
Clicking the <Backup> button starts backup. If a backup file having the same name as specified now already exists, a prompt message appears to ask whether you want to delete the existing backup file and create a new one under the specified name. During backup, the following window for indicating the backup file name appears.
When backup is completed, the following window appears to display a list of files backed up. Click the <Close> button.
5.1.5
- 106 -
B-75074EN/04
INSTALLATION
5.1.6
(3) When you are prompted to insert a floppy disk, set a floppy disk not write-protected into the drive, and click the <OK> button. Label the floppy disk, for example, "Backup: All of i CELL (1/4)".
(4) If a floppy disk has no enough free area, the following dialog box appears. Select a desired process and continue backup.
- 107 -
INSTALLATION
B-75074EN/04
5.2
5.2.1
RESTORATION
To restore data from the backup file, follow the procedure described below.
Installing i CELL
If the PC is repaired, and Windows is re-installed in it, i CELL must also be re-installed. If you have not re-installed i CELL, start with the following subsection.
5.2.2
Restoring the backup archive file divided and saved to more than one floppy disk
(1) Set the first of the floppy disks that hold the backup archive file into the floppy disk drive of the PC, and clock the <Restore to HDD> button. (2) When you are prompted to insert another floppy disk, set the floppy disk with the correct sequence number, and click the <OK> button.
5.2.3
- 108 -
B-75074EN/04
INSTALLATION
5.2.4
Starting Restoration
Clicking the <Restore> button starts restoration. During restriction, the following window appears to display the name of the files to be restored.
When restoration is completed, a window appears which lists the restored files. Click the <Close> button to close the window.
- 109 -
III. SETTING
B-75074EN/04
SETTING
1.OVERVIEW
OVERVIEW
Part III, Setting, explains how to set up i CELL. 1. 2. 3. 4. 5. Overview This chapter Basic Setup This chapter describes the basic setup of i CELL. Be sure to read it. Mail This chapter explains how to set up the mail function. Web This chapter explains how to set up the Web function. CIMPLICITY Viewer This chapter explains how to set up the CIMPLICITY Viewer function.
- 113 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
BASIC FUNCTIONS
This chapter explains how to set up the basic functions of i CELL. To run i CELL, you need to specify what machines (NC) to connect, how to communicate with the machines, and which i CELL function to be enabled for each machine. Some items must be set up in such a way that they match the settings of the NC. Set up i CELL according to your machine configuration as explained below. If you are going to use i CELL with the mail and Web functions based on the i-mode cellular phone, also read 3, MAIL, and 4, WEB. It is necessary to make it a development server temporarily by using OEM Key when a setting is changed when run time server of CIMPLICITY is used. Refer to the chapter system management, in the CIMPLICITY HMI Plant Edition Basic System Operator's Manual (B-75064EN) for the details of OEM Key.
- 114 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.1
OVERVIEW
i CELL supports four communication functions, FOCAS2/Ethernet, DNC2, Reader/Puncher, and Data Server. The following table lists the functions that are available from each communication function and NC type. For each function, see Chapter 3, "OPERATING ENVIRONMENT" in Part I, "GENERAL". To use i CELL, follow the flowchart shown below.
Setting up the number of machines according to the order password. Setting up the number of machines to be connected and the functions to be used. Setting up machine information. Setting up communication. Setting up NC program management. Setting up i CELL.
The following subsections briefly describe the setup procedure for i CELL according to this flowchart.
2.1.1
- 115 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
If you register an order password for the i CELL main package and that for the 10-CNC connection function, for example, you can connect up to 15 machines, up to ten of which are connected using DNC2 or Reader/Puncher.
Register the order password of the i CELL main package. (Five machines can be connected using FOCAS1/Ethernet.) Register the order password of the 10-CNC connection function. (Ten machines can be connected using FOCAS1/Ethernet, DNC2, and Reader/Puncher.)
0 5
10 15
NOTE Even when only up to five machines are to be connected, if one of them is to be connected using DNC2 or Reader/Puncher, you must purchase the 5-CNC connection function option in addition to the i CELL main package.
The order password is 24 alphanumeric characters. Its term of validity is limited.
NOTE It is impossible to register the password with i CELL after the term of validity.
The order password can be registered only once. It is impossible to register one order password with i CELL on a single PC more than once. It is also impossible to register one order password with i CELL on different PCs more than once. When you connect up to five machines using FOCAS2/Ethernet only with the i CELL main package, you also need to register the order password for the i CELL main package. The Machine Count Configuration dialog box is used to register the order password. This dialog box is displayed by selecting Project from the menu bar, then Machine Count Configuration from the Project menu.
- 116 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.1.2
2.1.3
2.1.4
Setting up Communication
Setting up communication lets you specify a communication protocol and its accompanying data (such as IP address for FOCAS2/Ethernet) for individual machines. Setting up communication is performed by selecting Communication from the tree.
2.1.5
- 117 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.1.6
Setting up i CELL
i CELL is provided with the overview, machining result, workpiece process result, and tool life functions. Setting up i CELL lets you specify which function to be used for individual machines. The functions you can select differ depending on the communication function and NC type. It also lets you specify information common to all machines. Setting up i CELL is performed by selecting i CELL from the tree.
- 118 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.2
2.2.1
2.2.2
Overview
Shown below is the Configuration dialog box.
The Configuration dialog box consists of a tree in the left section and a grid in the right section. i CELL has a wide variety of items to be specified. These items are grouped in major categories and displayed in a tree form in the left section. When an item is selected from the tree, its details are displayed in the grid. The items displayed in the tree differ depending on what you specify. In some cases, the tree has a hierarchical structure. Clicking the icon + expands branches under it. Clicking the icon - closes the currently expanded branches. You can relocate the border between the tree and grid by dragging and dropping it with the mouse. You can also change the width of each column in the grid by dragging and dropping its border with the mouse.
- 119 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.2.3
Menus
The following summarizes the functions of each menu.
File Menu Exit Update Point Configuration Closes the Configuration dialog box. Reflects point settings to CIMPLICITY module as required. Reflects point settings to CIMPLICITY module. This command is not usually used. See Subsection 2.2.9, If an Attempt to Reflect Point Settings to CIMPLICITY Fails, for details. Creates data for an item selected from the tree. This may or may not be possible depending on the category of the selected item. Displays a dialog box for changing the setting of an item selected from the grid. Deletes data for a row selected from the grid. Displays a dialog box for setting up the entire i CELL project. Displays a dialog box for registering an order password.
Property Delete Project Menu Property Machine Count Configuration Help Menu Version
- 120 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.2.4
<2>
You can display the same dialog box also by selecting (clicking) the row in the grid and selecting Edit from the menu bar, then Property from the Edit menu. If an item has a fixed number of pieces of data, the necessary data is prepared in the grid in advance. If not, you create data by selecting Edit from the menu bar, then New from the Edit menu.
Deleting settings
After selecting (clicking) a row from the grid, selecting Edit from the menu bar, then Delete from the Edit menu causes the setting to be deleted.
- 121 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.2.5
Adding machines
- 122 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Deleting machines
To the contrary to addition, when deleting machines, delete their settings by going up the tree from i CELL to Machine Information. <1> A machine cannot be deleted if the mail or Web function uses data for the machine. To delete the machine, set up the mail or Web function so that it will not use data for the machine. <2> Select i CELL and Machine from the tree. In the grid, select the machine to be deleted by double-clicking to display the i CELL Machine dialog box. On the Machine tab, click the Disable All button, then the OK button. <3> Select Machine Information from the tree. In the grid, select the machine to be deleted by clicking it. Select Edit from the menu bar, then Delete from the Edit menu. When a confirmation message appears, click the OK button. The machine is deleted.
- 123 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.2.6
When a setting is changed, the i CELL project needs to be restarted. When a setting is changed, the i CELL project needs to be ended, updated, and restarted.
If an item that belongs to "Even when an i CELL project is being executed, a setting can be changed" is modified, no message is displayed even when the setting screen ends. i CELL can be used without modification. If an item that belongs to "When a setting is changed, the i CELL project needs to be restarted." is modified, the following message appears when the setting screen ends:
Restart the i CELL project according to the instruction. If an item that belongs to "When a setting is changed, the i CELL project needs to be ended, updated, and restarted." is modified, the following message appears when the setting screen ends:
Update and restart the i CELL project according to the instruction. If the i CELL project is being executed, stop the i CELL project then update and restart the i CELL project.
- 124 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.2.7
Stopping
If the toolbar appears as shown below, it means that the i CELL project is running. To stop the project, click the button .
Updating
To update the i CELL project, follow this procedure. <1> Start the CIMPLICITY workbench. <2> On the toolbar of the CIMPLICITY workbench, click the setting update button.
Update button
<3> Exit the CIMPLICITY workbench. If the project is not running when you attempt to open the Configuration dialog box of i CELL, it is started automatically.
- 125 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.2.8
Displaying a Dialog Box When the Project Has Not Been Updated
If the settings on the i CELL setting screen were changed, but the CIMPLICITY project was not updated, the following dialog box appears when the project is started.
If an attempt is made to display the i CELL screen when the project is not running (selecting Program from the Windows Start menu and then CIMPLICITY i CELL and main menu), the following dialog box appears.
Select No. The project will not be started. The i CELL screen is displayed. Then, exit the screen. Update the project and then display the i CELL screen, while referring to Subsection 2.2.7, Stopping and Updating the i CELL Project.
NOTE Selecting Yes starts the project without updating it. So the data displayed on the screen is incorrect. The status of each NC and other information may be displayed as black rectangles.
- 126 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.2.9
Clicking the OK button closes the Configuration dialog box. In this case, open the Configuration dialog box of i CELL again, and select File from the menu bar, then Update Point Configuration from the File menu. The CIMPLICITY point configuration settings are updated according to the settings of i CELL.
- 127 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.3
If an entered order password is correct, the number of machines corresponding to the order password and whether the term of validity for the order password has expired are displayed as shown below.
If the term of validity has expired, the following display appears, disabling registration.
When you register the order password for the i CELL main package, the value of Total Machine Count is incremented by 5. When you register the order password for a CNC connection option, the values of DNC2/Reader Puncher Machine Count and of Total Machine Count are incremented by the number indicated with the option.
- 128 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.4
PROJECT PROPERTY
Selecting Project from the menu bar of the Configuration dialog box, then Property from the Project menu displays the Project Property dialog box.
This dialog box lets you make the settings related to the entire i CELL project.
Connect Machine Count Specify the number of machines you want to connect. You can specify as many machines as the total number of machines allowed for the available order passwords. The range of numbers you can enter is displayed to the right of the entry box. CAUTION It is impossible to include, as a target for deletion, any machine for which functions are enabled in i CELL settings. To include a machine as a target for deletion, make sure that all i CELL functions are disabled for the machine.
If you want to use any functions from NC Connection to Web in the i CELL project, turn on the corresponding check boxes to select the functions. The tree displays the setting items for the selected functions.
NC Connection To transfer data between CIMPLICITY and the NC, turn on this check box. The checked state cannot be changed. To perform NC program management on a PC, turn on this check box. The checked state cannot be changed. To use i CELL, turn on this check box. The checked state cannot be changed. To use the mail function, turn on this check box. To use the Web function, turn on this check box. This item can be selected only on a Windows 2003 server , Windows 2000 server or Windows NT server. For a Windows XP Professional, Windows 2000 Professional or Windows NT workstation, the Web function cannot be selected because it is unavailable. Set a method of reading data from the CNC. Check the default, namely, "Parallel".
Clicking the OK button saves what you specified and closes the Project Property dialog box. Clicking the Cancel button discards what you specified when closing the dialog box.
- 129 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.5
MACHINE INFORMATION
Selecting Machine Information from the tree lists, in the grid, the machines that were previously set up.
If you double-click the row of a machine in the grid, or if you click the row of a machine row in the grid and select Edit from the menu bar, then Property from the Edit menu, the Machine Information dialog box appears.
NC Type NC Spec.
Paths
- 130 -
B-75074EN/04
SETTING
Paths details setting PMC Spec.
2.BASIC FUNCTIONS
Set M (machining type) or T (lathe type) for each CNC path. This box is usable only with Series 30i/31i/32i. Select the PMC specification of the machine. Available only when NC Type is FS15B.
Clicking the OK button saves what you specified and closes the Machine Information dialog box. Clicking the Cancel button discards what you specified before closing the dialog box. Once the i CELL function is set up, the Machine Information dialog box appears as shown below.
If the title of the dialog box contains the phrase (Point is defined), you cannot change either of the NC Type, NC Spec. and PMC Type settings. To change the NC Type, NC Spec. or PMC Type setting, clear all the i CELL functions. To clear all the i CELL functions, select i CELL and Machine from the tree, then double-click the target machines in the grid. The i CELL Machine dialog box appears. On the Machine tab of this dialog box, click Disable All button, then the OK button. If the NC Type, NC Spec., and PMC Type are changed for the machine for which a communication protocol has been set up, the communication protocol is cleared to None. The following dialog box appears.
Selecting OK clears the communication protocol and saves the changes. Selecting Cancel deletes the changes. If you clear a communication protocol, set one again.
- 131 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
- 132 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.6
2.6.1
COMMUNICATION
Setting up Communication
Selecting Communication from the tree lists, in the grid, the communication settings for the machines that have been set up.
If you double-click the row of a machine in the grid, or if you click the row of a machine in the grid and select Edit from the menu bar, then Property from the Edit menu, the Communication dialog box appears.
Shown above is an example of selecting a machine for which no communication protocol has been set. In this dialog box, select a communication protocol to be used. Selecting a communication protocol displays a setting screen specific to the selected communication protocol. A setting screen specific to a communication protocol appears also if you select a machine for which the communication protocol has been set.
Set up the communication protocol within a range of the number of machines connected using DNC2 or Reader/Puncher. Alternatively, add an option for connecting additional CNCs to increase the number of machines that can be connected using DNC2 or Reader/Puncher.
- 133 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.2
FwLib Timeout
Enable C4 Server
- 134 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Network A
Server PC
NC
NC
Server PC Router
The server PC and NCs belong to different networks, with a router connecting the PC and NCs.
Network B
NC
C4 Server Timeout
Retry Count
- Disable - Enable
- Select by Point
Retry Interval
This box lets you specify a timeout value (in counts) to decide whether to turn off the NC power. This box can be set only when the Enable C4 Server check box is checked. Use a default value of 2. This box lets you specify how many times communication with the NC is to be attempted after a request for communication is rejected. Use a default value of 5. This box lets you specify whether to make a reconnection automatically and a reconnection method if a communication error occurs for a poor communication line quality. This box can be set only when the Enable C4 Server check box is checked. Check Disable (default). Does not make a reconnection automatically. Makes a reconnection automatically. When the quality of the communication line is poor, another error can occur soon even if Enable is checked and a reconnection is made. If a communication error occurs frequently, do not reply on the reconnection function but improve the quality of the communication line. Note that you may be unaware of frequently occurring errors if Enable is checked. If a reconnection is made using this function, the log "Retry Connection(1)" is created in the "CimCNC connection error log". Specifies whether to make a reconnection by using the value of the point FNCmmmpp.F_COM_RETRY (with mmm representing a 3-digit machine number and pp representing a 2-digit path number). If a communication error occurs, i CELL sets the point to True. To make a reconnection, set the point to False. If a reconnection is made using this function, the log "Retry Connection(2)" is created in the "CimCNC connection error log". When using this function, the user needs to add a script that monitors the point and sets the point to False when the point is set to True. This box lets you specify an interval between retries for communication with the NC to be made after a request for communication is rejected. Use a default value of 500.
- 135 -
2.BASIC FUNCTIONS
Enable
SETTING
B-75074EN/04
This check box lets you specify whether to enable communication with the NC. To communicate with the NC, turn on the check box. There is no default value. Checks that communication between the NC and PC is enabled. When you click <OK>, the settings of Section 2.5, "MACHINE INFORMATION", are updated by communication with the NC. If there is a setting difference between the machine information and the data read from the NC, the difference is displayed to check if the setting is to be updated. When using this function, check the check box. No default value is assigned. This function can be used only when the Enable C4 Server check box is checked.
NOTE 1 After setting the communication protocol to FOCAS2/Ethernet, first click the Default button to select the default values. After this, set up the IP address and TCP port number. 2 When the Enable C4 Server check box is checked, the power state of the CNC is checked based on data sent periodically from the CNC. In this case, the overview screen provides a power-off indication 2 to 3 seconds after the power to the CNC is turned off. When the Enable C4 Server check box is not checked, the power state of the CNC is checked based on a communication time-out error. So, after the power to the CNC is turned off, the overview screen does not provide a power-off indication for a while. 3 Before checking the "Update Machine information by comm." check box, check that communication between the PC and NC is enabled, by clicking the <Confirm the Communication Configuration> button.
For an item above that is commented with There is no default value, clicking the Default button does not change its value. For an item indicated with a default value, clicking the Default button selects the default value. <Confirm the Communication Configuration> button to check whether it is possible to perform communication between the PC and NC.
- 136 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Once you set up the i CELL function, the Communication dialog box appears as shown below.
If the title of the dialog box contains the phrase (Point is defined), you cannot change the communication protocol. To change the communication protocol, clear all the i CELL functions. To clear all the i CELL functions, select i CELL and Machine from the tree, then double-click the target machine in the grid. The i CELL Machine dialog box appears. On the Machine tab of this dialog box, click Disable All button, then the OK button.
- 137 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.3
NOTE The buttons in the dialog box are used to check communication errors (if any). Do not use them during normal operation.
<1> PING test... is a result of testing the PING command in the NC. <2> Get System Information test... is the system information of the NC. CNC Type: Indicates an NC type. 15 Series 15i (Caution: This model cannot be connected to i CELL.) 16 Series 16i 18 Series 18i 21 Series 21i 30 Series 30i 31 Series 31i 32 Series 32i PD Power Mate i -D
- 138 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
PH Power Mate i -H 0 Series 0i M/T: Indicates an M/T type. M Machining center T Lathe MM M series two-path control TT T series two-/three-path control MT T series with the complex machining function P Punch/press (Caution: This model cannot be connected to i CELL.) L Laser (Caution: This model cannot be connected to i CELL.) Series : Indicates the CNC software series number, using a four-digit character string. Version : Indicates the CNC software version number, using a four-digit character string. Max Axes : Indicates the maximum number of controllable axes. Axes : Indicates the number of controlled axes. <3> C4Api test... indicates whether the NC power is on or off. Live=True means it is recognized that the NC power is on. Live=False means it is recognized that the NC power is off.
NOTE When the "Enable C4 Server" check box is cleared in communication setting, Live=True/False in <3> need not be checked.
If the Reply From... line does not appear, the probable causes are: (1) The NC power is off. (2) The NC IP address is different from the one set up in the Configuration dialog box. (3) The NC network address or the host address is incorrect. Refer to an applicable Ethernet board manual for explanations about the IP address.
- 139 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
If the Get System Information test... line does not appear, the probable causes are: (1) An IP address for the PC or the devices for which a TCP/IP has been set up, rather than for the NC, has been specified. (2) The TCP port number set for the NC is incorrect. If the message No option (Extended driver and libraries function) is displayed, the NC lacks the extended driver library option. The embedded Ethernet protocol does not need this option, though.
- 140 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Unlike the display of correct settings, C4Api test... contains Live=False. In this case, the probable causes are: (1) The PC's Udp port setting displayed when i CELL was installed in the PC does not match the UDP port number set up for the NC. On the [C4Svc] tab, the PC's Udp port setting for the current PC appears as shown below. Ensure that it matches the UDP port number set up for the NC. If it does not match, change the UDP port number set up for the NC so that it matches the following display.
NOTE When the "Enable C4 Server" check box is cleared in communication setting, Live=True/False need not be checked. The "Time Interval" for the NC need not be set either.
- 141 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.4
BaudRate
Data Length
Data Code
Parity
Stop Bit
Enable
NOTE After setting the communication protocol to DNC2, first click the Default button to select the default values. After this, set up the port and baud rate.
- 142 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
For an item commented with There is no default value in the above description, clicking the Default button does not change its value. For an item indicated with a default value, clicking the Default button selects the default value. No setting item under Option need be changed. Use the following default values, which are selected by clicking the Default button.
Retry NAK Retry Data Length Timeout EOT Timeout Output Timeout A.L. Timeout 5 3 256 5 5 1 120
Once you set up the i CELL functions, the Communication dialog box title appears as shown below.
If the title of the dialog box contains the phrase (Point is defined), you cannot change the communication protocol. To change the communication protocol, clear all the i CELL functions. To clear all the i CELL functions, select i CELL and Machine from the tree, then double-click the target machine in the grid. The i CELL Machine dialog box appears. On the Machine tab of this dialog box, click the Disable All button, then the OK button.
- 143 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.5
BaudRate
Data Length
Data Code
Parity
Stop Bit
Enable
- 144 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
NOTE After setting the communication protocol to Reader/Puncher, first click the Default button to select the default values. After this, set up the port and baud rate.
For an item commented with There is no default value in the above description, clicking the Default button does not change its value. For an item indicated with a default value, clicking the Default button selects the default value. No setting item under Option need be changed. Use the following default values, which are selected by clicking the Default button.
TV Check Send DC2 and DC4 Send ER(%) at the head and the end Check Check Check
- 145 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.6
Check here.
IP Address
- 146 -
B-75074EN/04
SETTING
User Name
2.BASIC FUNCTIONS
Set a user name to be used for logging in to the Data Server. No default value is assigned. Set the same name as "User Name"(of FTP server) specified in the Data Server setting on the NC. Set a password for logging in to the Data Server. No default value is assigned. Set the same value as "Password" (of FTP server) specified in the Data Server setting on the NC. Set a login directory for logging in to the Data Server. No default value is assigned. Set the same value as "Login DIR" (of FTP server) specified in the Data Server setting on the NC. Set a port number to be used for making a connection to the Data Server. The default value is 21. Set the same value as "Port Number" of the Data Server specified on the NC. Usually, the default value 21 is used.
Password
Login Dir
Port Number
After setting an IP address, user name, and password, click the <Confirm the Communication Configuration> button. PING and FTP login tests are conducted to confirm the communication setting. For details, see Subsection 2.6.7, "Confirming Data Server Communication Setting".
- 147 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.6.7
Correct setting
When the settings are correct, all of (1) through (3) are displayed. The information below is displayed. (1) In "PING test", the results of testing the PING command on the communication destination are displayed. When a communication setting is made correctly, the communication destination returns "Reply from ..." as shown above. (2) In "FTP Connect & Disconnect test", the results of conducting a connection test to the communication destination are displayed. When a communication setting is made correctly, the current directory after login such as "257 "/NCDATA" is current directory" indicated on the bottom line is displayed. (3) In "FTP Directory List test", the results of conducting a communication destination directory display test are displayed. If the communication setting is correct, a list of the files or directories in the currently logged-in directory is displayed. After conducting this test, log out.
- 148 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Meaning and example of display on Data Server The communication destination is ready for accepting a new user. Example) FANUC FTP server ready. Login is started and the password is requested. Example) User name okay, need password. Login is completed. Example) User logged in, proceed. A path name (current directory in the test) was created. Example) /NCDATA is current directory. Login operation is not performed. Example) Not logged in.
When the "Reply From ..." line is not displayed, check the following: (1) The power to the NC is off, or the cable is disconnected. (2) The IP address of the NC does not match the setting on the setting screen. (3) The settings of the NC network address and host address are incorrect.
- 149 -
SETTING
B-75074EN/04
When a connection is made to an NC with the Data Server function not enabled or to a PC with the FTP server function not enabled, "<2> FTP Connect Test" may fail even if "<1> PING test" is successful. In such a case, a message indicating the readiness for user acceptance such as "220 FANUC FTP Server ready" is not displayed from the communication destination, but "Cannot connect ..." is displayed. Set a correct communication destination. The screen display below provides an example where the communication destination is an NC that does not have the Data Server function.
- 150 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.7
If you double-click the row of a machine in the grid, or if you click the row of a machine in the grid and select Edit from the menu bar, then Property from the Edit menu, the NC Program Transfer setting dialog box appears.
Settings are grouped on a different tab.
The tabs displayed in the NC Program Transfer setting dialog box vary depending on what communication protocol is in use. The example shown above applies to FOCAS2/Ethernet. For DNC2 and Reader/Puncher, the following apply. Tabs for DNC2 Tabs for Reader/Puncher
- 151 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.7.1
General Tab
The General tab lets you specify a directory for NC programs to be sent or received, file extensions, and O number digit. The setting items on this tab are explained below:
NOTE If one directory is assigned to all or multiple NCs, it is impossible to create NC programs having the same O-number but different contents.
Create default directories as shown below:
1 C:\Program Files\Fanuc\iCELL (Selected at installation.) 2 CimProject (Automatically created during installation.) 3 NcData (Create a parent directory for the default directory.) 001 (Create a default directory for NC001.) 002 (Create a default directory for NC002.)
This default directory configuration enables efficient backup to be performed. See Section 5.1, BACKUP, of Part II, Installation.
- 152 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
NOTE 1 The DNC2 communication protocol does not support subprogram transfer or list file transfer. So, it is impossible to set a value in the subprogram and list file extension boxes.
If the communication protocol in use is DNC2, these item names are dimmed, disabling any value from being entered.
2 When a connection is made with Series 30i/31i/32i, Default Extension and Extension of Sub Program cannot be set (an extension is required with a list file). With these series of CNCs, an NC program can be managed using a file name including an extension, so that the setting of an extension is unnecessary. When a file named "Shaft001.main" is created in the CNC memory and is uploaded to i CELL, for example, the file name is "Shaft001.main.dat" if the extension ".dat" is set with i CELL. To avoid this kind of file name confusion, no extension is set.
- 153 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
Compatible with 4-digit [Use OXXXX.dat format file name for O1-O9999 only]
- 154 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.7.2
Communication Setting
The communication tab appears only when the communication protocol in use is Reader/Puncher.
This dialog box displays communication settings. It does not allow them to be changed. Clicking the Set Details button lets you set details of Reader/Puncher communication. For these items, clicking the Default button in the Communication setting dialog box selects default values. Usually, it is unnecessary to change the default settings.
- 155 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.7.3
Download Tab
Download tab is displayed only if Reader/Puncher FOCAS2/Ethernet is used for communication protocol. or
The Download tab lets you specify downloading. The setting items of this tab are explained below:
- 156 -
B-75074EN/04
SETTING
Masks of Sub Programs
2.BASIC FUNCTIONS
1st Directory Searching Sub Program 2nd Directory Searching Sub Program 3rd Directory Searching Sub Program Search Sub Program from Main program's directory
It is possible to disable transmission of subprograms even if their calling is found. Subprograms can be specified in units of 1000. It is possible to specify, for example, that subprograms 8000 to 8999 and 9000 to 9999 are not to be sent because they are in NC memory. Up to three directories can be specified as storage for subprograms. Numbers 1 to 3 represent the order in which the directories are searched through. To put another way, if the subprograms having the same name are in the [1st Directory Searching Sub Program] and [2nd Directory Searching Sub Program], the one in [1st Directory Searching Sub Program] is sent. An entered directory name can be deleted by pressing the backspace key. If this check box is checked, a subprogram search operation is performed in such a way that the folder including the main program is searched instead of 1st Directory Searching Sub Program then 2nd Directory Searching Sub Program and 3rd Directory Searching Sub Program are searched. When this check box is checked, 1st Directory Searching Sub Program cannot be set.
NOTE 1 Only the directories set up in the [1st Directory Searching Sub Program] to [3rd Directory Searching Sub Program] are searched for subprograms. (If [Search Sub Program from Main program's directory] is checked, only the folder including the main program, and the directories set in [2nd Directory Searching Sub Program] and [3rd Directory Searching Sub Program] are searched.) If a directory is set up in the [Default Directory] but not in any of the [1st Directory Searching Sub Program] to the [3rd Directory Searching Sub Program], no subprogram is searched for. 2 In the same way as for default directories, configure the [1st Directory Searching Sub Program] to the [3rd Directory Searching Sub Program] as child directories of NcData so that backup files can be created easily.
Wait for transfer buffers to become 0 before the next record at an extension
- 157 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.7.4
Upload Tab
This frame lets you specify how to save uploaded files. The setting items in this frame are explained below. When you click Default button on Communication Setting screen, items are set like shown above. Usually, make the settings shown above so that they match the line-end setting used by Windows. If they do not match, NotePad cannot read uploaded files.
Append ER[%] at the head and the end Append CR+LF at the end and Save NC Program Append LF at the end and Save NC Program Append Nothing at the end and Save NC Program This item must be turned on.
Files are saved with the Windows-style line end character. Files are saved with the UNIX-style line end character.
Files are saved with the exact line end character received from the NC.
- 158 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.8
PC
i CELL
FTP client
NC FTP server
Ethernet
For this purpose, make an FTP client setting to specify a condition for i CELL to log in to the FTP server as an FTP client. Moreover, when only the Data Server function of the NC is used and the other i CELL functions are not used, make an FTP client setting to specify a condition for logging in to the FTP server of the NC. From the tree, select NC Program Management then FTP Client Settings. A list of the FTP client settings currently made is displayed in the grid.
To edit a setting already registered, double-click the machine line of the grid, or click the line of the grid then select Edit then Property from the menu. To register a new setting, double-click the blank line at the end of the grid or select Edit then New from the menu.
- 159 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
The client setting dialog box is displayed, regardless of which operation was chosen.
The example of screen display above is used for creation. For editing, a value is set in the item of Name, and the value of the Name item cannot be modified. The table below indicates the meanings of the setting items.
Name IP Address User Name Password Login Dir Port Number
Set a name for identification in login to the FTP server. Specify the IP address of the FTP server. Set a user name to be used for logging in to the FTP server. Set a password to be used for logging in to the FTP server. Set a login directory to be used for logging in to the FTP server. Set a port number to be used for connection to the FTP server. Usually, the default value 21 is used.
Upon completion of communication setting, click the <Confirm the Communication Configuration> button for confirmation. For details, see Subsection 2.6.7, "Confirming Data Server Communication Setting".
- 160 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.9
i CELL MACHINE
Selecting i CELL and Machine from the tree lists, in the grid, the i CELL machine settings for the machines that have been set up.
If you double-click the row of a machine in the grid, or if you click the row of a machine in the grid and select Edit from the menu bar, then Property from the Edit menu, the i CELL Machine dialog box appears.
This dialog box displays the settings for the machine selected from the grid. Turn on the i CELL functions used for that machine. The overview, machining result, workpiece process result, alarm, tool life functions, NC Disp, Ope and Mainte and Operator Message correspond to the respective i CELL screens. Clicking the Enable All button enables all the functions. Clicking the Disable All button disables all the functions. The overview and alarm functions are turned on automatically when any other function is turned on because they are basic functions.
NOTE The functions that can be selected depend on the types of the communication protocol and NC that are in use. See Chapter 3, "OPERATING ENVIRONMENT", in Part I, "GENERAL".
- 161 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
- 162 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
The procedure for setting the number of axes is described below. (1) Press the Number of Axes button on the i CELL machine setting screen. The screen for setting the number of axes is displayed.
(2) The list on the left side of the screen displays an NC path and the number of axes of the path. When the number of axes is not set, a hyphen (-) is indicated. (3) If the power to the NC is on and communication is enabled, press the Get from NC button. The number of axes for all paths is automatically obtained from the NC and set. (4) If the number of axes cannot be obtained from the NC, set a value manually. (a) On the list, click the line of a path for which the number of axes is to be set. (b) In the box for inputting the number of axes, set the number of axes of the path. (c) Press the OK button. The entered value is displayed in the list. (d) Repeat steps (a) to (c) for all paths. (5) When the setting of the number of axes is completed, press the Return button.
NOTE Whenever possible, obtain the number of axes from the NC for setting instead of manual input.
- 163 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
For other models of NCs, the number of messages need not be specified. 1. For NCs that require the number of messages to be specified The radio button for the number of messages can be operated. (1) If the number of messages has not be set even once When the i CELL machine setting screen is opened a. The power to the NC is on and communication is enabled. The number of messages is automatically obtained from the NC and set. No action is required.
b. The power to the NC is off and communication is disabled. The number of messages is not automatically set. The number of messages needs to be set manually.
(2) If the number of messages has been set at least once The number of messages is not automatically modified. If the number of messages is changed afterwards by modifying the NC parameter, modify the setting manually, or obtain the number of messages from the NC by pressing the Get from the NC button. 2. For models of NCs that do not require the number of messages to be specified One of the radio buttons for Number of Msg is selected. The radio button cannot be operated to modify the value.
If the number of messages is not set even when Operator Message is checked on the i CELL machine setting screen, pressing the OK button displays the following dialog box:
Select the number of messages manually, or press the Get from NC button after turning on the power to the NC and enabling communication.
NOTE Whenever possible, obtain the number of messages from the NC for setting instead of manual input.
- 164 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.9.1
Overview
i CELL
Judge on the beginning of the process. Judge on the end of the process. Write the workpiece process result to a database. Workpiece machining 1 0 Custom macro variable for the end of the process
NC NC program
Periodical reading
Accordingly, the following procedure is needed to set up the workpiece process result. <1> Determine what items are to be acquired from the NC. <2> Determine to which custom macro variables the items to be acquired are to be assigned.
Sequence Number, Process Begin, Process End, Handshake ON/OFF Workpiece ID, O Number, Process End ID, User Area ID
Handshaking with the NC for informing of the beginning and end of the process requires the items listed below.
Items required in handshaking
- 165 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
Even if this method is in use, resetting a custom macro variable for specifying whether to use handshaking to 0 disables handshaking.
- 166 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Setting
When the Workpieces Process Result tab is selected from the i CELL Machine dialog box, it appears as shown below:
This tab lets you specify the numbers of custom macro variables to be used for informing of the values of the beginning and end of the process, workpiece ID, O number, process end ID, and user area ID. To use handshaking in informing of the beginning and end of the process, turn on Handshake with NC. The following four items must always be set up.
Sequence Number Process Begin Process End Handshake ON/OFF
This is the number of a custom macro variable for which the sequence number that represents a machining number is set. This is the number of a custom macro variable for informing of the beginning of the process. This is the number of a custom macro variable for informing of the end of the process. This is the number of a custom macro variable for informing from the NC whether to use handshaking.
- 167 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
The following two items are necessary only when Handshake with NC is turned on.
Confirmation of Begin
Confirmation of End
This is the number of a custom macro variable for handshaking with Process Begin. When the NC sets the Process Begin custom macro variable to 1, the PC sets this (Confirmation of Begin) variable to 1 to inform the NC that it recognized the beginning of the process. This is the number of a custom macro variable for handshaking with Process End. When the NC sets the Process End custom macro variable to 1, the PC sets this (Confirmation of End) variable to 1 to inform the NC that it recognized the end of the process.
The following four items are optional. If the NC is to inform the PC of their values, turn on the corresponding checkboxes and specify custom macro variable numbers.
Workpiece ID
O Number
This is the number of a custom macro variable for representing the ID of the workpiece that was processed. This is the number of a custom macro variable for representing the O number of the program executed for machining. This is the number of a custom macro variable for representing the end status of the process. This is the number of a custom macro variable for representing the ID that the user can use freely.
Clicking the Assign in order from Sequence Number button sequentially assigns values to the items that can be set up, starting at the Sequence Number. The values set on this tab must match those in the NC program used in informing of the workpiece process result.
- 168 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.9.2
Press the Backup Data button to display the backup data screen shown below.
(2) The settings registered for a selected data type are displayed.
The operation procedure is described below. (1) Select a type of data to be backed up. (2) The settings registered for a selected data type are displayed as a list on the right side of the screen. (3) To add a setting, specify a backup condition and press the Add button. To edit a setting already registered, select the setting from the list. Then, the registered backup condition is displayed. Edit the condition and press the Correct button. To delete a setting already registered, select the setting from the list, then press the Delete button.
- 169 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
Frequency
Time
Format
Days
Select a type of NC data to be backed up from the following: Alarm history Operation history Message history Parameter Tool offset Pitch error compensation Custom macro Workpiece origin offset Select a frequency of backup from the following: Invalidity: Backup operation is not performed. Daily: Backup operation is performed daily. Monday - Sunday: Backup operation is performed on a specified day of the week. Specified day: Backup operation is performed on a specified day of each month. Select a number and select Cycle or Time. When Cycle is selected, a specified number means a backup interval. When Time is selected, a specified number means the time when backup operation is to be performed. Only when Alarm history, Operation history, or Message history is specified in Data Type, "CSV" format or "TXT" format can be selected. For the other types of data, "TXT" format is used. For alarm, operation, and message history data, specify the number of past days to preserve data of that period. For the other types of data, specify the number of past days to preserve backup files of that period. Data whose preservation period has elapsed is discarded. When 0 is specified, data is not discarded.
For one type of data, multiple backup conditions can be registered. In this case, data is backed up at the timing determined by ORing all conditions. For the same type of data, the same format and the same number of preservation days need to be set. The maintenance screen of i CELL can be used to search for and display alarm history data, operation history data, and message history data.
- 170 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
NOTE 1 An alarm history involves huge amounts of data. So, do not back up this type of data more frequently than daily. 2 If a backup operation is performed during acquisition of workpieces process result data, workpieces process result data may not be acquired or correct workpieces process result data may not be acquired. Do not perform a backup operation during acquisition of workpieces process result data. 3 For pitch error compensation data, the optional pitch error compensation function is required. For custom macro variable data, the custom macro B option is required. For workpiece origin offset data, the workpiece coordinate system option is required. 4 With the Power Mate i, message history data and workpiece origin offset data cannot be backed up. 5 The function for backing up an alarm history, operation history, and message history of FS30i/31i/32i is under development. 6 With series other than Series 30i/31i/32i, an alarm history, operation history, and message history are backed up, but parameters, tool offset data, pitch error compensation data, custom macros, and workpiece origin offset data are not backed up if the NC is in operation at the time of backup operation. With Series 30i/31i/32i, parameters, tool offset data, pitch error compensation data, custom macros, and workpiece origin offset data are backed up even if the NC is in operation at the time of backup operation. 7 Alarm history data, operation history data, and message history data older than the specified number of preservation days is not backed up.
Backed up data is saved under the following directory: %iCELL%\AutoBkupFolder Here, the drive name depends on the location where i CELL is installed. The table below indicates the names of files created. History data
Data type File name CSV format TXT format
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
AAA represents a machine number. If a machine number is shorter than three digits, O is placed at the start. Variable data
Data type File name
Parameter Tool offset Pitch error compensation Custom macro Workpiece origin offset
In the table above: AAA represents a machine number, and BB represents a path number. For a one-digit number, O is placed at the start. YYYYMMDD_HHNN represents date (year/month/day)_time (hours/minutes) when data was backed up.
- 172 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.10
If you want to have the workpiece ID, process end ID, and user area ID that were received from the NC with the workpiece process result function represented using names rather than ID values on the screen, associate the ID values with the names, using this dialog box. Clicking the Add button adds a new association of an ID with a name. After selecting a row from the grid, clicking the Edit button enables the contents of the selected row to be changed. After selecting a row from the grid, clicking the Delete button deletes the contents of the selected row. The settings made in this dialog box are common to all machines. Whether to use these settings for each machine is determined according to the workpiece process result options set up for the machine. See the previous section, i CELL Machine.
- 173 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
Workpiece ID
The Workpiece ID tab lets you set up the scheduled machining time in addition to the workpiece ID and workpiece name.
The meaning of each item on this tab and the entry rules are explained below.
Workpiece ID Workpiece Name
Workpiece ID value received from the NC, ranging from 1 to 99999999. Character string used to display a workpiece ID received from the NC on the screen, consisting of up to 20 alphanumeric characters. Time (in seconds) needed to process the workpiece, ranging from 0 to 99999999. It is used to obtain that scheduled time for completion of all the workpieces which is to be displayed as the status of progress in the workpieces process result dialog box.
Process End ID
The Process End ID tab lets you set up the display order in addition to the process end ID and the end status of the process.
The meaning of each item on this tab and the entry rules are explained below.
Process End ID
Process End
Display Order
Process end ID received from the NC, ranging from 1 to 9999. The value 1 means a normal end. It is used to obtain the number of workpieces yet to be processed from the total number of workpieces to be processed. Any value other than 1 is assumed to indicate an abnormal end. Be sure to set the value 1 and the display number 1 as well. Character string used to display the process end ID received from the NC on the screen, consisting of up to 20 alphanumeric characters. Digit from 0 to 5, indicating the sequence of displays on the screen, used in counting the processed workpieces in the process end status. Items having display order numbers 1 to 5 are grouped by display order number to count the processed workpieces for display on the screen. Items having display order number 0 are counted as Others for display on the screen. Be sure to set 1 for Process End ID set to 1.
- 174 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
User Area ID
The User Area ID tab lets you set up the user area ID and user area.
The meaning of each item on this tab and the entry rules are explained below.
User Area ID User Area
User area ID value received from the NC, ranging from 1 to 9999. Character string used in displaying the user area ID received from the NC on the screen, consisting of up to 20 alphanumeric characters.
- 175 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
2.11
DATABASE MAINTENANCE
Selecting i CELL, System, and Database Maintenance from the tree displays the Database Maintenance dialog box.
If the machining result and workpiece process result functions are in use, the data in the database increases day by day as machining progresses. The database cannot limitlessly hold data. So, you need to specify how much data is to be saved in the database using the Data Saving Criteria frame. i CELL checks the contents of the database once everyday. If any piece of data does not meet the specified Data Saving Criteria, it is automatically deleted from the database. The targets of setting include the Machining Result and WorkPieces Process Result databases. They have the same setting items.
Data Count
Period of Time
Turning on this item enables as many items of data as specified in the input field at the right to be saved. If there is more data to be saved, older data is removed from the database so that the database will hold a specified number of data items. Unless Data Count is on, data deletion is not triggered at a specified count. The numbers that can be entered range from 0 to 100,000. Data Count is on by default. The default value is 50,000. Turning on this item enables data to be kept for the period specified in the input field at the right. Any data kept for the specified period is deleted. Unless Period of Time is on, data deletion is not triggered after the specified period. The numbers that can be entered range from 0 to 50. The period can be represented in days, months, and years. Period of Time is off by default.
You need to turn on at least one of the Data Count and Period of Time. (Both can be turned on.)
- 176 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Even if Data Count is off, only up to 100,000 items of data can be saved in the database. If there is more data to be saved, older data is removed from the database so that the database will hold 100,000 items of data. Machining result data is created once every day, and such data corresponds to one-day list display data and one-day graph display data on the machining result screen. When 50,000 is set as the number of data items to be deleted, the data for the past 50,000 days is preserved. When five NCs are connected, the data for the past 10,000 days is preserved on each NC. Workpieces process result data is created when machining start information is sent from the NC, and such data corresponds to one line when log information is displayed on the workpieces process result screen. When 50,000 is set as the number of data items to be deleted, the data for the past 50,000 processes is preserved. The cycle times of processes differ from each other, so that the amount of data preserved on each NC cannot be calculated.
NOTE As for Data Count and Period of Time under Machining Result, set sufficiently large values so that data related to workpieces being processed will not be deleted. If the specified period is shorter than the time required for machining the workpiece or the specified data count is smaller than the number of data items added by other machines during the processing of the workpiece, no correct data will be displayed.
Clicking the OK button saves what you specified and closes the dialog box. Clicking the Cancel button closes the dialog box without saving what you specified.
Time of deletion
Once everyday, i CELL checks the database and deletes any data not meeting the specified data saving criteria. This processing is performed at 12:00 p.m. by default. However, the processing cannot be performed unless i CELL is running at the data deletion time. If it is apparent that i CELL will not be running at the default data deletion time, you need to change the data deletion time. To delete the data deletion time, follow this procedure. <1> If the i CELL project is running, stop it. See Subsection 2.2.7, Stopping and Updating the i CELL Project, for explanations about how to stop the project. <2> From the Windows Start menu, select Program, CIMPLICITY i CELL, and i CELL Project.
- 177 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
<3> The CIMPLICITY workbench appears. In the tree in the left section of the screen, double-click Event Editor under Basic Control Engine.
Double-click FNC_AUTO_DEL in the Event ID list in the left section of the screen. <5> The Modify Event - FNC_AUTO_DEL dialog box appears.
In Event time on the second line, specify when data is to be deleted from the database. Do not change the other items. Clicking the OK button closes the dialog box and brings you back to the Event Editor. To exit the Event Editor, select File from the menu bar and Exit from the File menu. <6> Update the i CELL project. See Subsection 2.2.7, Stopping and Updating the i CELL Project, for explanations about how to update the project. Data deletion will be performed at the newly specified time next time i CELL runs.
- 178 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
2.12
2.12.1
NC SETTINGS
This section explains those settings to be made on the NC which are necessary to use i CELL.
Machining Result
Using the machining result requires that the NC have the Machining Time and Parts Count Display options.
2.12.2
Overview
Creating NC programs
If the process beginning or end signal changes from 0 to 1, a program for collecting result data is executed in the background of CIMPLICITY. The NC program must be created according to the interface signal timing chart.
- When the machining process begins Sequence number setting Workpiece ID setting O number setting NC
NC
Confirmation-of-beginning signal PC (handshaking in use) - When the machining process ends Process end ID setting User area ID setting NC
NC PC
- Caution Common to when handshaking is in use and not in use Only for when handshaking is in use
- 179 -
2.BASIC FUNCTIONS
SETTING
B-75074EN/04
The following shows an example of an NC program for implementing this timing chart. The custom macro variables used in this example are assigned as listed below. To use different variables, change their numbers to those to be used, using the NC program.
Interface signal Custom macro variable #500 #501 #502 Range of values
Sequence number Beginning of the process End of the process Handshaking Confirmation of beginning Confirmation of end Workpiece ID O number Process end ID User area ID
Any integer from 1 to 99999999 0 or 1 0 or 1 0: Handshaking not to be used. 1: Handshaking to be used 0 or 1, to be changed by i CELL 0 or 1, to be changed by i CELL Any integer from 1 to 99999999 Any integer from 1 to 9999 Any integer from 1 to 9999 Any integer from 1 to 9999
- Main program
O0101; G65 P201 D1 H101; - <1> NC statement for machining... G65 P301; - <2> M30; <1> Custom macro 1 (when the process begins) is called. D and H represent, respectively, the argument addresses of custom macro variables #7 and #11. In this example, 1 is assigned to #7, and 101, to #11. Custom macro 1 causes these specified values to be assigned to the workpiece ID and O number custom macro variables. <2> Custom macro 2 (when the process ends) is called. Before the calling, the process end ID and user area ID custom macro variable areas must be loaded with values.
- 180 -
B-75074EN/04
SETTING
2.BASIC FUNCTIONS
Wait for 0.5 seconds. Increment the loop count by 1. Check the confirmation-of-beginning signal. Check the loop count. Error message Turn off the process begin signal.
Wait for 0.5 seconds. Increment the loop count by 1. Check the confirmation-of-end signal. Check the loop count. Error message Turn off the process end signal.
2.12.3
Tool Life
Using the tool life function requires that the NC be provided with the tool life management option. With Series 0i-MODEL B/C, however, the tool life management function can be used by setting bit 0 of parameter No. 8132 to 1. There are not the tool life management function and option for that in Power Mate i.
- 181 -
3.MAIL
SETTING
B-75074EN/04
MAIL
To use the mail function of i CELL to send mail to an i-mode cellular phone or PC, set up the mail function as explained in this chapter.
NOTE The mail function is unavailable for a machine for which Reader/Puncher or FTP is used as the communication protocol.
- 182 -
B-75074EN/04
SETTING
3.MAIL
3.1
3.1.1
OVERVIEW
Trigger Point and Trigger Criteria
i CELL can send mail when the value of a CIMPLICITY point changes. A point for determining when to send mail is known as a trigger point. You can select one of the three criteria listed below to specify the way the trigger point value changes so that mail can be sent.
Trigger criterion Description Mail is sent when the trigger point value changes from a number other than 0 to 0. Mail is sent when the trigger point value changes from a number other than 0 to 0. Mail is sent when any change occurs at the trigger point value.
Only one piece of mail can be sent from one trigger point. Two or more different pieces of mail can be set from one trigger point.
3.1.2
Mail Destinations
Mail from one trigger point can be sent to up to two destinations. The same mail is sent to the two destinations.
- 183 -
3.MAIL
SETTING
B-75074EN/04
3.1.3
Description Character strings specified when the mail function is set up become a mail message. Mail message is generated by replacing the replacement character strings specified when the mail function is set up with a machine number, machine name, and the point value corresponding to the tripper point that meets a trigger criterion.
This character string is replaced with the number of a machine at a trigger point. This character string is replaced with the name of a machine at a trigger point. This character string is replaced with the series number of a machine at a trigger point. This character string is replaced with a trigger point name. This character string is replaced with the point value specified at message point 1. This character string is replaced with the point value specified at message point 2. This character string is replaced with the point value specified at message point 3.
The term message point refers to that portion of a mail message which is replaced with a point value when the trigger criterion at the trigger point is satisfied. Up to three message points can be used for one mail message. Example: Assume the following settings. Machine number: 1 Machine name: MCN1 Trigger point: FNC00101.F_AL Trigger criterion: Zero Non Zero Mail message: Alarm <P1> occurred at <M> Message point 1: FNC00101.F_ALARM0 If an alarm condition occurs in the NC, the FNC00101.F_AL value changes from 0 to 1. At the same time, the value (such as 71) for the alarm number is set in FNC00101.F_ALARM0. When the trigger criterion for the trigger point is satisfied, the message point value is embedded in the mail message, thus causing the mail message Alarm 71 occurred at MCN1 to be sent. Up to 999 pieces of mail can be registered.
- 184 -
B-75074EN/04
SETTING
3.MAIL
3.1.4
Flow of Setting
After selecting Project from the menu bar and Property from the Project menu, turning on the mail function causes the item mail to appear in the tree. There are Mailer, Mail Configuration, and Send Test under Mail.
Sets items related to the mailer of your Internet provider. Specifies when each mail message is to be output. Allows you to conduct a test to check whether mail messages are sent correctly using the settings for Mailer.
So, you first make settings with Mailer and then check that mail is sent properly, using Send Test. You also specify Mail Configuration as required. Mailer lets you specify whether to enable mail transmission.
Mail transmission Description Mail is sent automatically according to the setting at Mail Configuration. The contents of Mail Configuration cannot be changed. No mail is sent. The contents of Mail Configuration can be changed.
Enable
Disable
To change the setting at Mail Configuration, follow this procedure. <1> With Mailer, disable mail transmission. <2> With Mail Configuration, change its contents as required. <3> With Mailer, enable mail transmission.
NOTE Note that if you forget to enable mail transmission after the contents of Mail Configuration is changed, mail transmission remains disabled.
- 185 -
3.MAIL
SETTING
B-75074EN/04
3.2
MAILER
Selecting Mail and Mailer from the tree displays the Mailer Configuration dialog box.
Mail Server
Turning on this item causes mail to be sent automatically according to the setting. It is impossible to change the setting for mail transmission. Turning off this item disables mail transmission. It is possible to change the setting for mail transmission. This box lets you set up the IP address or domain name of the mail server of your Internet provider. The IP address and domain name can each consist of up to 255 characters. This box lets you set up the mail address of the PC on which i CELL is running. The provider gives you the mail address (at which you can receive mail) when you enter a contract with an Internet provider. The mail address consists of up to 255 characters.
Mail sent from i CELL is sent to the addressee through the mail server specified at Mail Server.
- 186 -
B-75074EN/04
SETTING
3.MAIL
3.3
MAIL CONFIGURATION
Selecting Mail and Mail Configuration from the tree lists the currently registered settings for mail transmission in the grid.
To add a new mail transmission setting, select Edit from the menu bar, then New from the Edit menu. To delete a mail transmission setting, click a desired row in the grid, and select Edit from the menu bar, then Delete from the Edit menu. If you double-click a row in the grid, or if you click a row in the grid and select Edit from the menu bar, then Property from the Edit menu, the Mail Send Configuration dialog box appears.
- 187 -
3.MAIL
SETTING
B-75074EN/04
Trigger Criteria
Mail Message
Enable
This box indicates a number for identifying the current mail transmission settings. It cannot be changed. This box lets you select the timing of mail transmission. Click the Select button, and select a desired point from those registered with CIMPLICITY. These text box lets you specify on what change to the trigger point value mail is to be sent. One of Zero Non Zero, Non Zero Zero, and Value Change can be selected. These boxes let you specify the addressee of mail. It can be selected from mail addresses previously saved to a text file. Each mail address can consist of up to 255 characters. This box lets you set up the body of mail. You can select it from those previously saved to a text file by clicking the Select button. These text boxes let you select a message point that is to be replaced with a point value in the mail message. Click the Select button to select one from a list of previously registered points. Clicking the Clear button clears the point setting. Mail is sent only when Enable is on. When Enable is off, no mail is sent even if the trigger point meets the trigger criteria.
If you use a message point in the Mail Send Configuration dialog box, be sure to assign a point name to the message point. You can previously save mail destinations and mail messages, respectively, to the text files listed below, so you can select from the files, using the dialog box.
Item Mail Destination Mail Message Name of text file for saving settings MailAddress.txt MailFormat.txt
These files must be placed in the following directory. FANUC\i CELL\CimProject\Fanuc\Data In either file, one data item must be confined within one line. Samples of these files are available after i CELL is installed. i CELL places no limit to the length of a mail message to be sent. Note, however, that some cellular phones have a limit to the length (in characters) of a mail message they can receive.
- 188 -
B-75074EN/04
SETTING
3.MAIL
In this dialog box, the List of applicable machine box displays a list of machines to which what you specified in the Mail Send Configuration dialog box can be applied. Select a desired machine and click the Add button. The selected machine is moved to the List of target machine box. Once you moved all desired machines to the List of target machine box, click the OK button. Mail settings are created for these machines. Clicking the Cancel button brings you back to the Mail Send Configuration dialog box without changing anything.
- 189 -
3.MAIL
SETTING
B-75074EN/04
Conditions for applying the settings of one machine to all other machines
For the settings of one machine to be applied to all other machines, the following conditions must be satisfied. <1> All points (trigger and message points) used in the Mail Send Configuration dialog box are in the format FNCxxxyy.<data-type>, and the same machine number is specified for all the points. <2> The data type for the points used in the Mail Send Configuration dialog box is registered for all other machines. In the format stated above, xxx is a three-digit machine number, and yy is a two-digit series number. <data-type> represents a data type that the NC has; for example, F_AL represents an NC alarm signal. In the Mail Send Configuration dialog box, a point that is not in this format can also be set up for a machine. In this case, however, its setting cannot be applied to other machines. Example) Assume the following points are registered for each machine.
Machine
If you already set up the trigger point FNC00101.F_ALand the message point FNC00101.F_ALARM0 in the Mail Send Configuration dialog box, the settings can be applied to the machines MCN1 and MCN2, but not to the machine MCN3 (because FNC00301.F_ALARM0 has not be registered for MCN3).
- 190 -
B-75074EN/04
SETTING
3.MAIL
3.4
SEND TEST
Selecting Mail and Send Test from the tree displays the Send Test dialog box. This dialog box causes mail to be sent no matter what is the status of the connected machine. However, the mail message is sent without being changed; any replacement character is not replaced with a value. Performing a mail transmission test requires specifying correct values in Mail Server and Mail Source Address in the Mailer Configuration dialog box in addition to the settings in the Send Test dialog box. No other setting is required. The operation of the Send Test dialog box does not depend on whether Send Mail in the Mailer Configuration dialog box is on.
Mail Message
These text boxes let you specify the addressee of mail. It can be selected from mail addresses previously saved to a text file. Each mail address can consist of up to 255 characters. This box lets you set up the body of mail. You can select it from those previously saved to a text file by clicking the Select button. If the mail message contains a replacement character string, it is sent together with the mail message. No value substitutes the replacement character string.
The settings you made in Mail Destination 1, Mail Destination 2, and Mail Message in this dialog box are saved to the same text files used with the Mail Send Configuration dialog box. After the settings are made, clicking the Send button sends the mail. The following table lists the error numbers that are displayed if an attempt to send mail fails, and their meanings.
Error number 1 4,5 6 7 8 9 Meaning Failure to connect to the mail server Failure to send the mail source address Failure to send the mail address of the destination Failure to start mail transmission Failure to send the mail message Failure to end mail transmission
- 191 -
4.WEB
SETTING
B-75074EN/04
WEB
To use the i CELL Web function based on the i-mode cellular phone, set up the Web function as explained in this chapter.
NOTE The Web function is unavailable for a machine for which Reader/Puncher or FTP is used as the communication protocol.
- 192 -
B-75074EN/04
SETTING
4.WEB
4.1
4.1.1
OVERVIEW
Web Screen Flow
i CELL can display Web screens on the i-mode cellular phone. The Web screens include the logon, machine selection, and machine detail screens.
FANUC
iCELL ID: KEY: 1.MCN1 2.MCN2 3.MCN3
iCELL
5/15 13:14:42 O O X
iCELL
1.MCN1
Status
ProgNo PartsNo
1
O0100 300
ENTER
Refresh Back
Refresh Back
<Machine detail screen>
<Logon screen>
When an i-mode cellular phone connects to i CELL, the logon screen first appears on the phone. When you enter your logon ID and logon key on the logon screen and press the ENTER key, the machine selection screen appears. The logon key you entered appears as asterisks. The machine selection screen displays the machine status with a mark. Selecting a machine displays the machine detail screen for the selected machine. The machine detail screen displays the point values for the selected machine according to its setting. i CELL updates its Web data once every 30 seconds or so. So the data displayed on the i-mode cellular phone is rewritten once every 30 seconds or so no matter how often you press the Update button on the i-mode cellular phone.
- 193 -
4.WEB
SETTING
B-75074EN/04
4.1.2
Logon Screen
On the logon screen, you enter your logon ID and logon key. Only when they match the values previously set up in the Web Initial Configuration dialog box, you can go to the next screen. The character strings to be displayed as the titles on the first two lines are also set up in the Web Initial Configuration dialog box.
FANUC
iCELL ID: KEY: Title 1 Title 2 Logon ID Logon key (to be set up on the Web Initial Configuration dialog box)
ENTER
<Logon screen>
4.1.3
Refresh Back
<Machine selection screen>
When you select machines, you are brought to the machine detail screen.
- 194 -
B-75074EN/04
SETTING
4.WEB
4.1.4
Status
ProgNo PartsNo
1
O0100 300
Refresh Back
<Machine detail screen>
The item names, Status, ProgNo, and PartsNo, displayed in the above figure can be changed to those set up in the Item Name Configuration dialog box. For some items, character strings corresponding to point values, rather than point values themselves, can be displayed. The character strings are those set up on the display table setup screen.
iCELL
1.MCN1
Change the display character string for the item name: To be specified in the Item Name Configuration dialog box
Status
ProgNo PartsNo
Machining
O0100 300
Display with a character string rather than a value: To be specified in the Display Table Configuration dialog box
Refresh back
<Machine detail screen>
- 195 -
4.WEB
SETTING
B-75074EN/04
4.1.5
Setting Flow
After selecting Project from the menu bar, then Property from the Project menu, turning on the Web function displays the item Web in the tree. There are the items Web Initial Configuration, Point for Web, Item Name, and Display Table under Web.
In the Web Initial Configuration dialog box, set up the login screen. In the Web Point Configuration dialog box, set up points to be displayed for each machine. In addition, set up the item name and display table as required.
- 196 -
B-75074EN/04
SETTING
4.WEB
4.2
Title 2
Logon ID
This box lets you specify a character string to be displayed as a title on line 1 of the logon screen. The title can consist of up to four full-size or eight half-size characters. This box lets you specify a character string to be displayed as a title on line 2 of the logon screen and on line 1 of the machine selection screen. The title can consist of up to four full-size or eight half-size characters. This box lets you specify a logon ID that is to be entered on the logon screen of the i-mode cellular phone. The logon ID can consist of up to eight half-size characters. It can contain no full-size character. These boxes let you specify a logon key that is to be entered on the logon screen of the i-mode cellular phone. The value you entered appears as asterisks. Be sure to enter the same character string in both boxes. A logon key can consist of up to eight half-size characters. It can contain no full-size character.
- 197 -
4.WEB
SETTING
B-75074EN/04
4.3
Each row in the grid corresponds to one machine. The grid can contain as many rows as the maximum number of machines set up with Property in the Project menu. If you double-click a row in the grid, or if you click a row in the grid and select Edit from the menu bar, then Property from the Edit menu, the Web Point Configuration dialog box appears.
These boxes display the machine number and name selected from the grid. Neither machine number nor name can be changed here. Turning on this item causes point values to be displayed over the Web. Turning it off disables them from being displayed. These list boxes let you select points to be displayed over the Web. Selecting <NONE> for an item disables the item from being displayed on the machine detail screen.
- 198 -
B-75074EN/04
SETTING
Display Table for Status and Variable0 to Variable9
4.WEB
Turning on Display Table causes a character string corresponding to a point value set up in the respective display tables to be displayed on the Web machine detail screen. Turning it off causes the point value itself to be displayed on the machine detail screen.
The following table lists the items whose point values are converted into the format of individual items for display on the Web screen.
Item
ProgNo
SeqNo
Display format Oxxxx where xxxx is a point value. If the digits in the value are fewer than four digits, the unoccupied digits are filled with zeros. Nxxxxx where xxxxx is a point value. If the digits in the value are fewer than five digits, the unoccupied digits are filled with zeros. Displayed in the format hh:mm with the point value assumed to be the number of seconds. xxx% where xxx is a point value. x.xx where x.xx is a point value.
Clicking the Change all to <NONE> button resets all points to <NONE>. Clicking the OK button saves what you specified and closes the Web Point Configuration dialog box. Clicking the Cancel button discards what you entered. If a point value is meaningless (for example, if the NC is not turned on), *** appears on the machine detail screen.
- 199 -
4.WEB
SETTING
B-75074EN/04
4.4
ITEM NAME
Selecting Web and Item Name from the tree lists display names for the currently set items in the grid. Character strings listed under Display Name are displayed as item names on the machine detail screen over the Web.
If you double-click a row in the grid, or if you click a row in the grid and select Edit from the menu bar, then Property from the Edit menu, the Display Name Configuration dialog box appears.
The Display Name box lets you enter an item name to be displayed on the Web screen. The item name can consist of up to four full-size or eight half-size characters. Clicking the OK button saves what you specified and closes the Display Name Configuration dialog box. Clicking the Cancel button closes the dialog box without saving what you entered.
- 200 -
B-75074EN/04
SETTING
4.WEB
4.5
DISPLAY TABLE
Selecting Web and Display Table from the tree displays the Status and Variable0 to Variable9 display tables under Display Table. Selecting the display table in which you want to change settings lists the settings in the grid.
If you turn on Display Table in the Web Point Configuration dialog box, the character strings in the display names corresponding to point values 0 to 9 are displayed as item values on the Web screen. If a point value is not 0 to 9, (NSV) is displayed on the machine detail screen; NSV stands for No Such Value. Only if Status is selected, its display name and mark are displayed. If Variable0 to Variable9 are selected, only their display names are displayed. The value of the mark for Status is used to display the status of each machine on the machine selection screen. If you double-click a row in the grid, or if you click a row in the grid and select Edit from the menu bar, then Property from the Edit menu, the Display Data Configuration dialog box appears.
This dialog box lets you specify the values of a display name and mark. The display name can consist of up to four full-size or eight half-size characters. The mark can consist of one full-size or up to two half-size characters. Clicking the OK button saves what you specified and closes the Display Data Configuration dialog box. Clicking the Cancel button closes dialog box without saving what you entered.
- 201 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
5
5.1
CIMPLICITY VIEWER
This chapter describes how to use i CELL on the CIMPLICITY viewer.
OVERVIEW
You can also use all i CELL functions on the CIMPLICITY viewer. Information on an NC connected to the server PC can be displayed on the viewer PC. Before using i CELL on the CIMPLICITY viewer, you need to set the CIMPLICITY viewer using the i CELL CIMPLICITY VIEWER Setting Screen. Set required items on both the server and viewer PCs.
NOTE Before using the i CELL CIMPLICITY VIEWER Setting Screen, be sure to create a backup of the entities in the i CELL installation directory.
Note on installation
On the installation component select screen, the buttons indicating the server and viewer components of the CIMPLICITY viewer are displayed. When you want to install i CELL on the server PC of the CIMPLICITY viewer or does not want to use the CIMPLICITY viewer, select the server component. When you want to install i CELL on the viewer PC of the CIMPLICITY viewer, select the viewer component.
Network configuration
To use the CIMPLICITY viewer for i CELL, both the server and viewer PCs must be able to communicate with NCs using FOCAS2/Ethernet. When you want to use a router between the server and viewer PCs, you need to set up IP routing. See Section 3.4, NETWORK CONFIGURATION, in Part I, GENERAL, for details. After setting up the CIMPLICITY viewer for i CELL, confirm that NCs can be connected from the viewer PC according to the procedure described in Subsection 5.4.1, Checking Communication between the Viewer PC and Each NC.
- 202 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
5.2
5.2.1
PREPARATION
This section describes the conditions for operating i CELL on the CIMPLICITY viewer and items prepared for setup.
- 203 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
- For Windows NT
(1) Select [Start] [Settings] [Control Panel] [Network] and display the [Protocols] tab. (2) On the [Protocols] tab, check TCP/IP Protocol is displayed as network protocols. (3) When using CIMPLICITY HMI 4.0, check also that "NetBEUI Protocol" is indicated.
Subnet mask
For the TCP/IP, all of server and viewer PCs and NCs must use the same subnet mask. Check the subnet mask of each PC as follows.
- For Windows NT
(1) Select [Start] [Settings] [Control Panel] [Network] and display the [Protocols] tab. (2) On the [Protocols] tab, select TCP/IP Protocol among the displayed network protocols and click the [Property] button. (3) Check [Subnet mask].
- 204 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
If a different subnet mask is used, change it. Refer to Windows Setup Guide for explanations about how to change a subnet mask. Refer to the operator's manual for the Ethernet board in use for explanations about how to set the subnet mask for an NC.
Router
Server PC
Viewer PC IP address 192.168.1.30 Subnet mask 255.255.0.0 Default gateway address 192.168.1.99 IP address 192.168.1.31 Subnet mask 255.255.0.0 Router IP address 192.168.1.99
- 205 -
SETTING
B-75074EN/04
When using a router between the server and viewer PCs, you also need to edit the hosts file. The hosts file is in System32\drivers\etc in the Windows installation directory (for example, C:\WinNT). In the hosts file on the server PC, add the computer name and IP address of the viewer PC. When multiple viewer PCs are used, add the computer name and IP address of each viewer PC. In the hosts file on the viewer PC, add the computer name and IP address of the server PC. You should find setting 127.0.0.1 localhost in the host file. Add the computer name and IP address just under the line. Edit the hosts file with a text editor such as Notepad. Be careful not to modify or delete any item that has been set. It is desirable to create a copy of the host file in the same directory before editing.
Network A
Computer name of the server PC SERVER01 IP address 192.168.1.30 Items added to the hosts file on the server PC 192.168.2.40 192.168.2.41 VIEWER01 VIEWER02
NC
Router
Network B
Items added to the hosts file on each of viewer PCs <1> and <2> (same line for <1> and <2>) 192.168.1.30
Example of adding items to the hosts files
SERVER01
- 206 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
(3) Enter the name of the destination viewer PC in the [IpAddr] text field on the screen and click the [Ping] button. When the settings are correct, Reply is displayed as shown below:
(4) In this example, the viewer PC name is VIEWER01 and the IP address is 192.168.2.40. For a communication test, confirm that the correct IP address of the viewer PC is displayed for Reply. When multiple viewer PCs are connected, check communication with each viewer PC. (5) Then, confirm that the server PC can be connected from the viewer PC. On the viewer PC, activate the FethDgn program as described in step (1).
- 207 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
(6) Enter the name of the destination server PC in the [IpAddr] text field on the screen and click the [Ping] button. When the settings are correct, Reply is displayed as shown in the figure in step (3). Confirm that the IP address of the server PC is displayed for Reply.
Troubleshooting
If the server and viewer PCs cannot communicate with each other, either of the following messages appears: (A) Bad IP address (Get Host Name) XXXXXX: No IP address corresponding to input computer name XXXXXX can be obtained. (B) ICMP_Error:0 An IP address corresponding to input computer name XXXXXX was obtained, but communication with the IP address is disabled. Take action for each message as follows. (A) For "Bad IP address (Get Host Name) XXXXXX" (1) Check that the input destination computer name is correct. (2) Enter the IP address corresponding to the destination computer name in [IpAddr] and click the [Ping] button again. If communication is disabled with the computer name, but enabled with the IP address, add the computer name and IP address of the communication destination to the hosts file, restart the personal computer, then perform a communication test again. See "Adding items in the hosts file" in "When a router is used between the server and viewer PCs." (3) If the error cannot be removed by the above operation, a software setting error and/or hardware error may occur. Check the following items: Computer names and work group name Whether the TCP/IP and NetBEUI protocol are installed Whether the correct IP address and subnet mask are set Whether the hub and Ethernet cable are connected properly Whether when the used Ethernet cable is connected to another network in which communication is enabled, communication is also enabled When a router is used, whether the IP address of the router is set for the default gateway on each PC and router IP address on each NC. See "Setting the router IP address" in "When a router is used between the server and viewer PCs." (B) For "ICMP_Error:0" Check items listed in step (3) in (A).
- 208 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
5.2.2
5.2.2.1
NOTE A shared drive with the same name is required on the server and viewer PCs. When specifying R: for the drive for sharing the i CELL installation directory on the server PC, create a drive named R: on the viewer PC. Before setting a drive on the server PC, therefore, check that a drive with the same name is available on the viewer PC.
Just by allocating an available drive with the same name on the server and viewer PCs, the i CELL CIMPLICITY VIEWER Setting Screen automatically performs directory sharing and mapping to the drive.
- 209 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
5.2.2.2
NOTE To use the CIMPLICITY viewer, create the NC program directory for each machine in one NC program root directory. When you do not use the CIMPLICITY viewer, you do not need to create the directory as above.
The number of drives for sharing the NC program root directory differs depending on the location of the NC program root directory.
(1) When the NC program root directory is in the i CELL installation directory
When the NC program root directory is created in the i CELL installation directory as recommended in "Configuration of the directories where i CELL and the related information are installed" in Section 3.1, "INSTALLATION," in Part II, "INSTALLATION," in the i CELL manual, no drive is required for the NC root directory. The number of drives with the same names that are prepared on the server and viewer PCs is, therefore, one.
No shared drive is required because the NC program root directory is in the i CELL installation directory. NC data directory for NC 001 NC data directory for NC 002
In this case, one drive for sharing the i CELL installation directory is required on the server and viewer PCs. For example, when the server PC is SERVER01, a shared drive is set on the server and viewer PCs on the i CELL CIMPLICITY VIEWER Setting Screen as shown below:
- 210 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
NOTE A shared drive with the same name is required on the server and viewer PCs. When specifying R: for the drive for sharing the i CELL installation directory on the server PC, set a drive named R: on the viewer PC. Before setting a drive on the server PC, therefore, check that a drive with the same name is available on the viewer PC.
(2) When the NC program root directory is not in the i CELL installation directory
The method recommended in "Configuration of the directories where i CELL and the related information are installed" in Section 3.1, "INSTALLATION," in Part II, "INSTALLATION," in the i CELL manual may not be used, and the NC program root directory may not be in the i CELL installation directory or may be in another drive. In this case, a drive for sharing the NC program root directory is required. The number of drives with the same names that are prepared on the server and viewer PCs is, therefore, two.
A drive for sharing the NC program root directory is required. NC data directory for NC 001 NC data directory for NC 002
For example, when the server PC is SERVER01, shared drives are set on the server and viewer PCs on the i CELL CIMPLICITY VIEWER Setting Screen as shown below:
NOTE A shared drive with the same name is required on the server and viewer PCs. When specifying R: for the drive for sharing the i CELL installation directory on the server PC, set a drive named R: on the viewer PC. This also applies to the NC program root directory. Before setting a drive on the server PC, therefore, check that a drive with the same name is available on the viewer PC.
- 211 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
- 212 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
5.2.3
After noting down the work group, click <Cancel> to close the dialog box.
- 213 -
5.CIMPLICITY VIEWER
2
SETTING
B-75074EN/04
Display the i CELL installation directory with Explorer then right-click to display the property menu. When the property menu is displayed, select the "Sharing" tab then execute the "Network Setup Wizard".
When the "Network Setup Wizard" is executed, the dialog box shown below is displayed. Click <Next>.
- 214 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
When the dialog box shown below is displayed, check [Other] then click <Next>.
- 215 -
5.CIMPLICITY VIEWER
5
SETTING
B-75074EN/04
When the dialog box shown below is displayed, check [This computer belongs to a network that does not have an Internet connection] then click <Next>.
When the dialog box shown below is displayed, check the name of the computer used then click <Next>.
- 216 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
Enter the work group name noted down in step 1 in [Workgroup name] then click <Next>.
When the dialog box shown below is displayed, check the displayed information then click <Next>.
- 217 -
5.CIMPLICITY VIEWER
9
SETTING
B-75074EN/04
When the dialog box shown below is displayed, check [Just finish the wizard; I don't need to run the wizard on other computers] then check <Next>.
10
- 218 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
11
When the dialog box shown below is displayed, check [Share this folder on the network].
After checking [Share this folder on the network], check [Allow network users to change my files] then click <OK>. The share name need not be modified.
This completes the setting for sharing the i CELL installation directory.
- 219 -
5.CIMPLICITY VIEWER
12
SETTING
B-75074EN/04
If the NC program directory is not included in the i CELL installation directory, make a setting for sharing the NC program directory as well. The Network Setup Wizard has already been executed, so it is easy to make a setting for sharing the NC program directory. Display the NC program directory with Explorer. Next, right-click then click [Sharing and security]. When the dialog box shown below is displayed, check [Share this folder on the network] and [Allow network users to change my files] then click <OK>.
- 220 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
5.3
SETTING
This section describes the items you set using the i CELL "CIMPLICITY VIEWER Setting Screen" on the server and viewer PCs.
5.3.1
If the i CELL screen is displayed, use the [Quit] button on the main menu to close the screen. If the button at the upper-right corner of the CimView screen is clicked or [Quit] in the [File] menu on the CimView screen is executed to close the screen, you cannot make normal setting. Then, terminate the i CELL project. When you want to change an item that has already been set on the CIMPLICITY VIEWER Setting Screen, close the i CELL screen and terminate the i CELL project on all viewer PCs.
Backup
Execute Backup & Restore in program group CIMPLICITY i CELL and create a backup file with specifying i CELL All.
- 221 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
Execute i CELL Project in program group CIMPLICITY i CELL. Then, select Project Properties to display the Project Properties window. On the Options tab, check that the [Enable project broadcast] check box is on.
- 222 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
<1>
(2) Check the TCP/IP setting using the ping command. Check that the server PC can communicate with the viewer PC using the TCP/IP. A. Execute the [ping] command from the [Tools] menu. The FethDgn program is activated. B. Enter the computer name of the viewer PC in [IP Addr] of the FethDgn program. C. Click the [Ping] button of the FethDgn program. When the server PC can communicate with the viewer PC, the IP address of the viewer PC is displayed for "Reply" as shown below:
If "Reply" is not displayed, check the setting so that "Reply" is displayed, referencing Subsection 5.2.1, "Checking the Conditions for CIMPLICITY Viewer Operation and Communication." D. To communicate with multiple viewer PCs, check communication with all viewer PCs. (3) Select the drive for the i CELL installation directory. Use the [Drive] combo box (<1>) to select the drive to be used for the i CELL installation directory.
- 223 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
(4) Select the NC program root directory. Click the <2> button and select the NC program root directory from the directory list. The NC program root directory must be the parent directory of the default directory of each machine that is set on the i CELL Configuration dialog box. Example) When the following directories are set on the i CELL Configuration dialog box Machine 1 C:\Program Files\Fanuc\NcData\01 Machine 2 C:\Program Files\Fanuc\NcData\02 Set C:\Program Files\Fanuc\NcData as the NC program root directory. When the selected NC program root directory is in the i CELL installation directory, step (5) is not required.
NOTE To change an NC program default directory, use the following procedure: <1> On i CELL CIMPLICITY VIEWER SETUP, cancel the CIMPLICITY viewer settings for the server and viewer PCs. <2> On the i CELL Configuration dialog box, change the default directory. <3> On i CELL CIMPLICITY VIEWER SETUP, make the CIMPLICITY viewer settings for the server and viewer PCs again.
(5) Select the drive for the NC program root directory. Use the [Drive] combo box (<3>) to select the drive to be used for the "NC program root directory." (6) Click the [Set] button (<4>) to make what you specified effective. The settings that are made once are effective until they are canceled. Restart the server PC and log in. The items related to sharing are set again based on the settings. (7) Check that the drives can be shared.
- For Windows NT
Activate Explorer and execute [Map Network Drive] from the [Tools] menu. The server PC name is displayed in the [Shared Directories] tree. Click the server PC name.
- 224 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
When i CELL_InstallDir and i CELL_NcDataRoot are displayed, the drives are shared. If the setting for the NC program root directory is not made, however, i CELL_NcDataRoot is not displayed. In the example shown in the following figure, the setting is made on the server PC SERVER01 and viewer PC VIEWER01 that belong to work group "FA-SYSTEM." Note that to use the CIMPLICITY viewer, the server and viewer PCs must belong to the same work group. The CIMPLICITY viewer can be used only when the server and viewer PCs are displayed under the same work group as shown in the figure. (When the PCs are managed using a domain, they must belong to the same domain.)
- For Windows NT
- 225 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
5.3.2
If the i CELL screen is displayed, use the [Quit] button on the main menu to close the screen. If the ( button at the upper right corner of the CimView screen is clicked or [Quit] in the [File] menu on the CimView screen is executed to close the screen, you cannot make normal setting. Then, terminate the i CELL project. When you want to change an item that has already been set on the CIMPLICITY VIEWER Setting Screen, also terminate the server PC.
Backup
Execute Backup & Restore in program group CIMPLICITY i CELL and create a backup file with specifying i CELL All.
- 226 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
<2> <5>
(2) Enter the i CELL server PC name. Enter the name (not the IP address) of the i CELL server PC in the [Server PC Name] text box (<1>). (3) When there is a router between the server and viewer PCs, check [Connect to Server PC's C4 Service] in the [Option] menu. (4) Check the TCP/IP setting using the ping command. Check that the viewer PC can communicate with the server PC using the TCP/IP. A. Click the [Server Ping] button (<2>). B. When the viewer PC can communicate with the server PC, the IP address of the server PC is displayed for "Reply" as shown below:
If "Reply" is not displayed, check the setting so that "Reply" is displayed, referencing Subsection 5.2.1, "Checking the Conditions for CIMPLICITY Viewer Operation and Communication."
- 227 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
(5) Enter the login user name. Enter the user name for logging in to the i CELL server PC in the [Connect As] text box (<3>). (6) Enter the login password. Enter the password for logging in to the i CELL server PC in the [Password] text box (<4>). (7) Click the [Display Server PC Information] button (<5>). When the viewer PC can be connected to the server PC, information set on the server PC is displayed in <6> and <7>. <6>: Name of the shared drive for the i CELL installation directory <7>: Name of the shared drive for the NC program root directory If these names are not displayed, invalid data is entered in step (2), (5), or (6). Check the data. (8) When a router is used between the server and viewer PCs, check [Connect to Server PC's C4 Service] in the [Option] menu. (9) Click the [Set] button (<8>) to make what you specified effective. (10) The settings that are made once are effective until they are canceled. Restart the viewer PC and log in. The items related to sharing are set again based on the settings. When the CIMPLICITY VIEWER Setting Screen is opened on the viewer PC set once, operations in steps (2), (5), and (6) are performed automatically.
NOTE To change an NC program default directory, use the following procedure: <1> On i CELL CIMPLICITY VIEWER SETUP, cancel the CIMPLICITY viewer settings for the server and viewer PCs. <2> On the i CELL Configuration dialog box, change the default directory. <3> On i CELL CIMPLICITY VIEWER SETUP, make the CIMPLICITY viewer settings for the server and viewer PCs again.
- 228 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
5.4
CHECKS
This section describes the checks required after CIMPLICITY viewer setup. If the CIMPLICITY viewer does not operate normally, review the settings.
NOTE The items checked in this section contain the settings made in Sections 5.1 to 5.3. Start checking after completion of all settings.
5.4.1
Check that the IP address of the NC is displayed for "Reply." If the above messages are not displayed, check the following items: On the server PC, activate the FethDgn program and perform the same check. If the above messages are not displayed also on the server PC, make the settings on the server PC and subsequent settings again. When there is a router between the server and viewer PCs, the router gateway setting is required for the viewer PC and NCs.
- 229 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
(3) Click the [FOCAS2] tab on the screen and click the [GetNcInfo] button. When the settings are correct, NC identification information is displayed as shown below:
If NC identification information is not displayed, check the following item: On the server PC, activate the FethDgn program and perform the same check. If NC identification information is not displayed also on the server PC, make the settings on the server PC and subsequent settings again. (4) If "Enable C4 Server" is checked in communication setting of i CELL, click the [C4 Api] tab on the screen then click the [Test] button. When the settings are correct, "Live=True" is displayed as shown below:
- 230 -
B-75074EN/04
SETTING
5.CIMPLICITY VIEWER
If "Live=True" is not displayed, check the following items: On the server PC, activate the FethDgn program and perform the same check. If "Live=True" is not displayed also on the server PC, make the settings on the server PC and subsequent settings again. When there is a router between the server and viewer PCs, you need to check [Connect to Server PC's C4 Services] in the [Option] menu during "CIMPLICITY VIEWER SETUP" operation on the viewer PC. Check the operation in step (8) in "Operation on the i CELL CIMPLICITY VIEWER Setting Screen on the viewer PC" in Subsection 5.3.2, "Procedure for Setting the Viewer PC."
5.4.2
- 231 -
5.CIMPLICITY VIEWER
SETTING
B-75074EN/04
5.5
EXECUTION
This section describes how to execute the CIMPLICITY viewer on i CELL. (1) On the server PC, execute the i CELL project and [Main Menu]. (2) On the viewer PC, execute Main Menu in program group CIMPLICITY i CELL.
NOTE When the CIMPLICITY viewer is used with Windows XP, the NC program management screen cannot be used with the viewer PC until the main menu is executed even if a project is executed on the server PC. When the CIMPLICITY viewer is used with Windows 2000 or Windows NT, the NC program management screen can be used with the viewer PC if a project is executed on the server PC.
5.6
NOTE The user who cancels the settings must have the administrator privilege. Note the following points when canceling the settings. <1> Stop i CELL. Also stop the CIMPLICITY project. <2> Before canceling the settings on the server PC, cancel the settings on the viewer PC. <3> Before canceling the settings, confirm that the shared drives, iCELL_InstallDir and iCELL_NcDataRoot are not accessed. Also confirm that the contents of the shared drives are not displayed using Explorer.
IV. OPERATION
B-75074EN/04
OPERATION
1.OVERVIEW
OVERVIEW
This chapter describes the methods of activating and terminating the i CELL project of CIMPLICITY and the method of operating each i CELL screen. For the method of remote support operation, refer to the operator's manual of remote support. The table below indicates the procedure for activating, operating, and terminating the i CELL, and the chapters and sections of the manual to be referenced.
Procedure Activation 1 2 Description Activation of the i CELL project Activation of the main menu Relevant chapter/section of the manual (part for operation) 2.1 ACTIVATING THE i CELL PROJECT 3.2 ACTIVATING THE MAIN MENU 3. MAIN MENU 4. OVERVIEW MENU 5. NC PROGRAM MANAGEMENT 6. MACHINING RESULTS 7. WORKPIECE PROCESS RESULTS 8. NC DISPLAY AND OPERATION 9. NC MAINTENANCE 10. TOOL LIFE MANAGEMENT 11. ALARMS AND WARNINGS 3.3 TERMINATING THE MAIN MENU 2.2 TERMINATING THE i CELL PROJECT
Operation
4 Termination 5
- 235 -
2.SCREEN OPERATION
OPERATION
B-75074EN/04
SCREEN OPERATION
This chapter describes the method of activating the i CELL project, the structure for calling each screen, and the name and operation of each component common to the screens.
- 236 -
B-75074EN/04
OPERATION
2.SCREEN OPERATION
2.1
Check here.
When the project selection dialog box appears, click the <Start> button to start the project.
NOTE Clicking the Cancel button also displays the main menu. In this case, however, the CIMPLICITY project is not started, so that the screen does not operate normally.
When the i CELL project is activated, the login dialog box appears. Enter the following information: User ID: ADMINISTRATOR Password: None After user ID and password input, click the <OK> button.
- 237 -
2.SCREEN OPERATION
OPERATION
B-75074EN/04
(2) When the CIMPLICITY workbench is displayed as shown below, the i CELL project is already executed. So, activate the main menu according to <4> below.
<4> Activate the main menu. For the method of main menu activation, see Section 3.2, "ACTIVATING THE MAIN MENU". After main menu activation, the CIMPLICITY workbench may be terminated or may continue being displayed.
Check here.
2.2
(2) When the CIMPLICITY workbench is displayed as shown below, the i CELL project is activated. Click the button to terminate the i CELL project.
Check here.
Check here.
- 238 -
B-75074EN/04
OPERATION
2.SCREEN OPERATION
2.3
Screen configuration
The screen configuration related to screen switching only is briefly described below.
<1> Function selection tabs
<1> Function selection tabs A function selection tab is used to call the corresponding function. When you click a tab, the screen for managing the selected function is displayed. When a selected function has multiple screens, a submenu for calling a desired screen is displayed. <2> Screen switch buttons When the function corresponding to a selected tab has multiple screens, these buttons are displayed. For example, the operation monitoring tab involves the machining result screen, process result screen, and the tool life management screen. When the operation monitoring tab is selected, the machining result screen first appears. To display the process result screen, click the [Proc. Result] button. <3> Previous-screen button This button returns the screen display to the previous screen.
- 239 -
2.SCREEN OPERATION
OPERATION
B-75074EN/04
Arbitrary screen
<2> The overview screen appears. Click the status display indicating the path number of a machine to be displayed.
Overview Screen Select a desired machine.
MCN001
MCN002
MCN003
MCN004 MCN005
- 240 -
B-75074EN/04
OPERATION
2.SCREEN OPERATION
<3> A screen list usable with machine 01 is displayed. When you click the <Workpiece Process Result> button, the workpiece process result screen appears.
Overview Screen Machine 01 related screen
Arbitrary screen
<2> The operation monitoring tab involves multiple screens. The machining result screen first appears. To display the workpiece process result screen, click the [Proc. Result] button.
- 241 -
2.SCREEN OPERATION
OPERATION
B-75074EN/04
2.4
NOTE The NC Program Management screen and the remote support screen do not share these common screen elements.
2.4.1
<3> Warning and alarm lamps <2> Current date and time <5> Message confirmation button
<1> Screen title A screen title is displayed in the format: function name - screen name. <2> Current date and time The current date and time is displayed.
- 242 -
B-75074EN/04
OPERATION
2.SCREEN OPERATION
<3> Warning and alarm lamps (1) Warning lamp: If an error occurs in i CELL background processing such as machining result collection, the lamp blinks in yellow. Clicking the warning lamp activates the warning log display screen, and displays an error log. (2) Alarm lamp: If an alarm is raised in any NC connected, the alarm lamp blinks in red. If an operator message is issued, the lamp blinks in magenta. If there are both an alarm state and an operator message, the lamp blinks in the color of alarm, that is, in red. Clicking the blinking alarm lamp causes the alarm message screen to appear. The screen first shows the information of an NC with the smallest machine number of the NCs having an alarm state or operator message. If there are both an alarm state and an operator message, the information of an NC in an alarm state takes precedence. <4> Message indication line The message indication line displays an operation method or error message. If a message is displayed in this line, operation is disabled until you click the message confirmation button described in <5> below. <5> Message confirmation button The message confirmation button appears only when a message is displayed. (The figure displays the button for explanation.) Upon confirmation of a message displayed in the message indication line, click this button. <6> Machine number selection Select a machine number or machine name in the combo box. Depending on the screen, a combo box for path number selection is also displayed.
- 243 -
3.MAIN MENU
OPERATION
B-75074EN/04
MAIN MENU
- 244 -
B-75074EN/04
OPERATION
3.MAIN MENU
3.1
OUTLINE
The main menu is the highest-order screen of the i CELL. The i CELL is activated on this screen, and is terminated on this screen. Before activating the main menu, perform operation according to Section 2.1, "ACTIVATING THE i CELL PROJECT".
3.2
NOTE When activating the i CELL screen, be sure to use the [Main Menu] icon. When the main menu is activated, the background programs required for the i CELL are activated.
- 245 -
3.MAIN MENU
OPERATION
B-75074EN/04
3.3
NOTE When terminating the i CELL screen, use the <Quit> button of the main menu. When CimView is terminated, the main menu display can be terminated, but the background programs activated together with the main menu cannot be terminated.
3.4
OPERATION
The operation buttons on the main menu have the following functions:
OvewView NC Program Management Operation Monitoring NC Display and Operation Alarm and Warning Maintenance Remote Support Displays the overview screen. Displays the NC Program Management screen. Displays the machining result and tool life management screens. Displays the NC display and operation screen. Displays the alarm and warning screen. Displays the maintenance screen. Displays the remote support screen.
NOTE When the main menu is displayed by using WebView, the NC Program Management button and the Remote Support button are not displayed.
- 246 -
B-75074EN/04
OPERATION
4.OVERVIEW MENU
OVERVIEW MENU
- 247 -
4.OVERVIEW MENU
OPERATION
B-75074EN/04
4.1
OUTLINE
The overview menu displays the status of each machine connected to the i CELL as a list on a path-by-path basis. When you click the status display on the overview menu, the overview machine screen is displayed.
NOTE If the Reader/Puncher interface is used as the communication protocol, the status of each path is not displayed.
- 248 -
B-75074EN/04
OPERATION
4.OVERVIEW MENU
4.2
Method of activation
<1> Machine number display <2> Machine name display <4> Status display for each path <3> Path number display
- 249 -
4.OVERVIEW MENU
OPERATION
B-75074EN/04
- 250 -
B-75074EN/04
OPERATION
4.OVERVIEW MENU
4.3
Method of activation
<2> Machine name display <4> Status display for each path
<1> through <5> on the left side of the screen are the same as on the overview screen. When you click a button in the middle of the screen, the screen indicated on the button is activated. The activated screen displays information about the machine number selected on this screen. Just the functions assigned to each machine on the i CELL setup screen are displayed. For instance, if the workpiece process result function is not assigned to machine 1, the Workpieces Process Result button does not appear.
- 251 -
4.OVERVIEW MENU
OPERATION
B-75074EN/04
4.4
4.4.1
(2) Select an overview screen to be used. Select an overview screen according to the number of machines to be connected. The overview screens for 10 machines,15 machines, and 20 machines are stored at the locations indicated below.
Directory name File name for 10 machines File name for 15 machines File name for 20 machines %iCELL%\CimProject\Screens OverViewMenu10.cim OverViewMenu15.cim OverViewMenu20.cim
(3) Copy the overview screen to be used, and rename it. With the file explorer, copy the overview screen to be used, and rename the screen to OverViewMenu.cim. Change the name of the copied file, keeping each file in (2) unchanged. Machine drawing bit map files to be displayed on the overview screen are also available for 20 machines under the same directory as for the overview screen. These files are automatically called from the overview screen, so that no modification to the files is required even when the number of machines is changed.
- 252 -
B-75074EN/04
OPERATION
4.OVERVIEW MENU
4.4.2
For machine 1
For machine 2
By default, the number of status group objects is 5, and the number of machine figure objects is 5. Change these numbers as required. To decrease these numbers, delete unnecessary objects. To increase these numbers, copy and paste desired objects. To each machine, only a status group object or only a machine figure object can be assigned.
- 253 -
4.OVERVIEW MENU
OPERATION
B-75074EN/04
McnSlct1
McnStat2
McnStat3
McnStat4
McnStat5
McnStat6
McnImage1
McnImage2
McnImage3
McnImage4
McnImage5
McnImage6
- 254 -
B-75074EN/04
OPERATION
NC PROGRAM MANAGEMENT
- 255 -
OPERATION
B-75074EN/04
5.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 also allows connection with a Data Server or PC. For communication with a Data Server or PC, the operating side needs to be an FTP client, and the operated side needs to be an FTP server. When the connection target is a PC, the same operation as for a Data Server can be performed by operating NC Program Management. The functions that can be carried out by NC Program Management depend on the communication protocol used, as indicated below. (1) Communication by FOCAS2/Ethernet or DNC2 The following can be performed just by operations on the NC Program Management screen of the computer. A computer can download an NC program to NC. A computer can upload an NC program from NC. NC Program Management can show the list of NC programs stored in the NC memory. NC Program Management can delete an NC program stored in NC. NC programs in NC memory can be edited and referenced. A specified NC program is automatically uploaded to the personal computer, and edited or referenced on the personal computer. If an NC program on the personal computer is rewritten, download the NC program to the NC after confirmation. NC programs for each path can be managed in any directory. (For FOCAS2/Ethernet only) With Series 30i/31i/32i, the following processing can be performed as well: Folders containing files on the personal computer can be downloaded directly to NC memory. Folders containing files in NC memory can be uploaded directly to the personal computer. Folders in NC memory can be deleted. Files and folders in NC memory can be renamed. A new directory can be created in NC memory. Files in NC memory can be copied and moved to different folders. The processing below can be performed by operating the NC. With FOCAS2/Ethernet, however, only the FTP file transfer function of embedded Ethernet can be used. An NC program can be downloaded from a computer to the NC. An NC program can be uploaded from the NC to a computer.
- 256 -
B-75074EN/04
OPERATION
For NC operation, refer to the operator's manual of each NC in the case of FOCAS2/Ethernet, and see Appendix C.1, "DNC2", in the case of DNC2.
NOTE While the NC Program Management screen is displaying a machine connected by DNC2, status signals such as Activated and Alarm or machining results cannot be obtained from the machine. In this state, "Com.Hold" is displayed in the status field of the overview menu screen.
(2) Reader/Puncher communication The following can be performed by operating the NC. An NC program can be downloaded from a computer to the NC. An NC program can be uploaded from the NC to a computer. A DNC operation can be carried out through the use of an NC program in a computer. The File List in a computer can be displayed on the NC screen. A file can be deleted from a computer. For details of NC "READER/PUNCHER." operations, see Appendix C.2,
(3) Data Server communication The following can be performed just by operations on the NC Program Management screen of the computer. Files of the personal computer can be downloaded to the connection destination. Files of the connection destination can be uploaded to the personal computer. The directory list and File List of the connection destination can be displayed on the NC Program Management screen on the personal computer. Files and directories of the connection destination can be deleted. Files and directories of the connection destination can be renamed. A directory can be created on the connection destination. A file of the connection destination can be edited or referenced. A specified file can be automatically uploaded to the personal computer and can be edited or referenced on the personal computer. If a file on the personal computer is rewritten at the time of editing, the file can be downloaded to the connection destination after confirmation. A file of the connection destination can be copied or moved to a directory.
- 257 -
OPERATION
B-75074EN/04
The processing below can be performed by operating the NC. NC programs in the personal computer can be downloaded into the NC memory and Data Server. NC programs in the NC memory and Data Server can be updated to the personal computer. By using an NC program in the personal computer, DNC operation can be performed. The File List on the personal computer can be displayed on the NC screen. Files and directories in the personal computer can be deleted. For NC operation, refer to the operator's manual of each Data Server.
NOTE 1 When a Data Server has a FOCAS2/Ethernet-related option selected, the FOCAS2/Ethernet function can also be used. Refer also to the relevant document. 2 When a file is copied or moved, the file is once uploaded to the personal computer then is downloaded to a specified directory to perform a virtual copy or move operation.
- 258 -
B-75074EN/04
OPERATION
5.2
SCREEN OPERATION
For activation, use one of the following methods: From the [Main Menu], use the [NC Program Management] button for activation. On the [Overview - Screen List for Each Machine] screen, use the [Program Directory] button for activation. From the [Main Menu], use the [NC Program Management] button for activation.
Method of activation
5.2.1
PC Directory Trees
File List
Management screen of connection destination Split Bar Current Management Status Bar Status Bar
OPERATION
B-75074EN/04
- File List
The PC side File List is displayed in the upper right part of the NC Program Management screen. The PC side File List shows a list of files in the directory currently selected in the PC Directory Trees.
- File List
The File List of the connection destination is displayed in the lower right part of the NC Program Management screen. The File List of the connection destination shows a list of files on the machine (or FTP server) currently selected in the Machine List of Connection Target. When the machine or FTP server is not connected, nothing is displayed.
- 260 -
B-75074EN/04
OPERATION
Status Bar
The Status Bar shows the total number of files in the File List currently selected. When a command that requires certain processing time is executed such as a command for changing directories or a command for performing connection processing, a message appears in the Status Bar, indicating that processing is in progress.
Scroll Bar
The Scroll Bar is used to scroll the PC Directory Trees, the Machine List of Connection Target, or the File List to bring a part currently hidden into view.
Slider
The Slider is used to change pages of the PC side File List. When the total number of files in the selected directory exceeds the maximum number of files that can be displayed on one page of the File List, the remaining files are displayed on the second and subsequent pages. Any value within the range 100 to 5000 can be set in the Options screen as the maximum number of files that can be displayed in one page of the File List.
Menu Bar
The Menu Bar contains the commands for handling NC Program Management.
Tool Bar
The Tool Bar contains the shortcut buttons providing quick access to the often utilized commands .
Split Bar
You can place the mouse on the Split Bar between the PC Directory Trees or Machine List of Connection Target and the File List or on the Split Bar between the management screen on the PC side and the management screen of the connection destination, and drag to a desired position to adjust the widths and heights of these display areas.
- 261 -
OPERATION
B-75074EN/04
5.2.2
When you click a directory in the PC Directory Trees, it is selected as the current management directory on the PC side, and the contents of the directory are listed in the PC side File List.
When you click a machine in the Machine List of Connection Target, the default directory set for the machine is selected in the PC Directory Trees, and the contents of the directory are listed in the PC side File List. When no default directory has been set for the machine, the displayed information in the PC Directory Trees and the PC side File List remains unchanged.
- 262 -
B-75074EN/04
OPERATION
You can select the connection destination machine also from the list box on the left side of the tool bar. (Machine List and FTP Server List only)
- 263 -
OPERATION
B-75074EN/04
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.
- 264 -
B-75074EN/04
OPERATION
5.2.3
Perform a menu operation or drag and drop operation. A) Menu operation In the [File] menu or the menu displayed by right-clicking on the selected file, click the [Copy] command. Alternatively, press the [Ctrl+C] keys. Then, the selected file is registered in the work list. (The work list is not displayed.) Proceed to step 3. B) Drag and drop operation Drag the selected file to a directory in the PC Directory Trees or the PC side File List, and drop the file while holding down the [Ctrl] key. (The dragged and dropped file is not registered in the work list.) The [Copy File] dialog box is displayed. Proceed to step 5.
- 265 -
OPERATION
B-75074EN/04
3 4 5
Select and click the copy destination in the directories in the PC Directory Trees or the PC side File List. In the [File] menu or the menu displayed by right-clicking in the PC side File List, click the [Paste] command. Alternatively, click the [Ctrl+V] keys. Then, the [Copy File] dialog box appears. Click the <Copy> button.
NOTE 1 When a copy source and copy destination are located in the same directory, the file cannot be copied. 2 Even when a file has been copied, the registered file is not cleared from the work list. Such a file can be copied to another directory in succession. 3 You can clear registered files from the work list by pressing the [Esc] key.
- 266 -
B-75074EN/04
OPERATION
3 4 5
NOTE 1 When a move source and move destination are located in the same directory, the file cannot be moved. 2 When the [Move File] dialog box is closed, the registered file is cleared from the work list. 3 You can clear registered files from the work list by pressing the [Esc] key.
- 267 -
OPERATION
B-75074EN/04
NOTE 1 When a directory is deleted, all files and directories included in the directory are deleted. 2 Deleted files and directories are completely removed from the PC. Take special care when deleting files and directories.
- 268 -
B-75074EN/04
OPERATION
5.2.4
When the file is selected in the File List, the Edit File List screen is started. Refer to 5.3 EDIT LIST FILE SCREEN OPERATIONS for details of operations in the Edit File List screen. If an item other than the list file is selected, the viewer set in the [Option] dialog box is activated. To terminate reference operation, click [Exit] on the menu.
- 269 -
OPERATION
B-75074EN/04
NOTE 1 File Viewer allows you to view only one file at once. 2 File Viewer is a text viewer. It does not allow you to view binary files. 3 The largest file size that File Viewer allows you to view is 32 Kbytes. When you browse files exceeding this size limit, only the first 32 Kbytes of the file are displayed. 4 You can also specify third-party viewer software in the [Options] dialog box. Refer to "5.2.10 Setting Options.
When the file is selected in the File List, the Edit File List screen is started. Refer to 5.3 EDIT LIST FILE SCREEN OPERATIONS for details of operations in the Edit File List screen. When the file is selected outside of the File List, the editor set in the [Options] dialog box is started.
- 270 -
B-75074EN/04
OPERATION
When the file is selected in the File List, the editor that you specified in the Options menu is displayed. Use this editor for creating NC programs or subprogram. 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 5.3. EDIT LIST FILE SCREEN OPERATIONS for details of operations in the Edit File List screen.
- 271 -
OPERATION
B-75074EN/04
5.2.5
- 272 -
B-75074EN/04
OPERATION
5.2.6
NOTE When i CELL is used on the CIMPLICITY viewer to download NC programs to or upload NC programs from NC memory, the viewer PC can perform only downloading from the default directory and uploading to the default directory.
5.2.6.1
- 273 -
OPERATION
B-75074EN/04
In the Machine List of Connection Target and the File List of the connection destination, the data displayed depends on the connected NC as follows: <Series 30i/31i/32i> Under the name of the connected machine in the Machine List of Connection Target, device and folder information is displayed in a tree structure. In the File List of the connection destination, files of the default folder set in the foreground of the first path of the NC are listed.
<Other than Series 30i/31i/32i> When the number of paths of the connected machine is set to two or more on the i CELL setup screen, path information is displayed in a tree structure under the name of the connected machine in the Machine List of Connection Target. When connection to multiple paths is disabled by option setting, only the machine name is indicated. For details, see the description of the communication tab in Subsection 5.2.10, "Setting Options". For a single-path system, only the machine name is indicated. In the File List of the connection destination, files in memory of the first path of the NC are listed.
- 274 -
B-75074EN/04
OPERATION
When the [File List] command of the [Communication] menu is clicked, the File List of the NC memory is updated.
- 275 -
OPERATION
B-75074EN/04
The communication destination switches to the selected path, and the contents of the File List of the connection destination change to display the file list for the path. In the current management status bar of the connection destination, the currently selected path is displayed. With a CNC other than Series 30i/31i/32i, the currently selected path is highlighted in the Machine List of Connection Target.
NOTE Even when selecting a path indicated under a machine name in the Machine List of Connection Target, you cannot change the communicating path.
Downloading an NC Program
1 Select the file you want to download from the PC side File List. You can select more than one file by clicking files while pushing the [Ctrl] key. When the connected CNC is Series 30i/31i/32i, you can also select folders.
Perform one of the following operations: A) Drag and drop the file selected in the PC side File List to the File List of the connection destination. When the file is dropped to a blank space or a file in the File List of the connection destination, the file is downloaded to the folder for which the File List of the connection destination is displayed. When the file is dropped to a folder displayed in the File List of the connection destination, the file is downloaded to the folder (dropping to a folder is enabled only when the Series 30i/31i/32i is connected).
- 276 -
B-75074EN/04
OPERATION
B)
C)
Drag and drop the file selected in the PC side File List to a folder under the name of the connected machine in the Machine List of Connection Target (this operation is enabled only when Series 30i/31i/32i is connected). In the [Communication] menu or the menu displayed by right-clicking on the selected file, click the [Download] command. When a file is selected in the File List of the connection destination, the file is downloaded to the folder for which the File List of the connection destination is displayed. When a folder is selected in the File List of the connection destination, the file is downloaded to the folder (downloading to a folder is enabled only when Series 30i/31i/32i is connected).
NOTE 1 When Series 30i/31i/32i is connected, and downloading is specified by selecting the [Download] menu item, files are downloaded to a folder if the folder is selected in the File List of the connection destination. Before the menu operation, check the file or folder selected in the File List of the connection destination. 2 If the connected CNC is a multipath system other than Series 30i/31i/32i, folders indicating path names are displayed in the Machine List of Connection Target. However, downloading to a path not connected cannot be performed. 3 Downloading from a directory of the network drive cannot be performed.
- 277 -
OPERATION
B-75074EN/04
The [Download NC Program] dialog box for the data to be downloaded is displayed. When only files are downloaded, a dialog box as follows appears: <Downloading files only>
When only folders, or files and folders are downloaded, the dialog box as shown below appears. Select options for folder processing. <Downloading folders>
- 278 -
B-75074EN/04
OPERATION
NOTE When folder downloading is performed, the result of the downloading operation is written in the result file. The contents of the result file are displayed in the Result downloaded folders dialog box described later, so you need not open this file to check the results. The result file is created in %iCELL%\CimProject\Fanuc\Data\. The file name is XXX_FolderDownloadResult.ini, where XXX denotes the machine number. The file is overwritten each time a selected folder is downloaded.
4 Click the <Download> button. When folders are included, the result dialog box as shown below is displayed each time a selected folder is downloaded. When a folder contains a list file, the list file is not downloaded. If downloading fails, an error code is indicated in the Result column.
- 279 -
OPERATION
B-75074EN/04
The selected files are downloaded to the NC, and the File List of the connection destination is updated to display the latest information.
NOTE If a program with the same name already exists at the download destination, the program is overwritten when the NC parameter that enables overwriting is set. When downloading a program, check if the same program name already exists. Particularly, be careful when using the subprogram transmission function and the list file transmission function.
- 280 -
B-75074EN/04
OPERATION
Uploading a NC Program
1 In the File List of the connection destination, click the file you want to upload. You can select more than one file by clicking files while pushing the [Ctrl] key. When the Series 30i/31i/32i is connected , you can also select folders. Perform one of the following operations: A) Drag and drop the file selected in the File List of the connection destination to the PC side File List. When the file is dropped to a blank space or a file in the PC side File List, the file is uploaded to the folder for which the PC side File List is displayed. When the file is dropped to a folder in the PC side File List, the file is uploaded to the folder. B) Drag and drop the file selected in the File List of the connection destination to the PC Directory Trees. C) In the [Communication] menu or the menu displayed by right-clicking on the selected file, click the [Upload] command. When a file is selected in the PC side File List, the file is uploaded to the folder for which the PC side File List is displayed. When a folder is selected in the PC side File List, the file is uploaded to the folder.
A C
NOTE 1 When uploading is specified by selecting the [Upload] menu item, the file is uploaded to a directory if the directory is selected in the PC side File List. Before the menu operation, check the file or directory selected in the PC side File List. 2 Uploading to the root directory of My Computer or to the directory of the network drive cannot be performed.
- 281 -
OPERATION
B-75074EN/04
The [Upload NC Program] dialog box for the data to be uploaded is displayed. When only files are uploaded, a dialog box as follows appears: <Uploading files only>
When only folders, or files and folders are uploaded, the dialog box as shown below appears. Select options for folder processing. <Uploading folders>
- 282 -
B-75074EN/04
OPERATION
NOTE When folder uploading is performed, the result of the uploading operation is written in the result file. The contents of the result file are displayed in the Result uploaded folders dialog box described later, so you need not open this file to check the results. The result file is created in %iCELL%\CimProject\Fanuc\Data\. The file name is XXX_FolderUploadResult.ini, where XXX denotes the machine number. The file is overwritten each time a selected folder is uploaded.
4 Click the <Upload> button. When folders are included, the result dialog box as shown below is displayed each time a selected folder is uploaded. If uploading fails, an error code is indicated in the Result column.
Selected folder: Indicates the path of the folder to be uploaded. In File Name on the screen, "/" is displayed.
The selected files are uploaded to the personal computer, and the PC side File List is updated to display the latest information.
NOTE A CNC that supports file name management like Series 30i/31i/32i provides case sensitivity. However, Windows OS does not support case sensitivity. So, a file named AAA and a file named aaa can be created with the CNC. However, if files AAA and aaa are uploaded to the personal computer in this order, file AAA is replaced with file aaa uploaded later.
- 283 -
OPERATION
B-75074EN/04
5.2.6.2
Each time you click the [File List] command on the [Communication] menu, the File List of the connection destination is updated to the latest information.
- 284 -
B-75074EN/04
OPERATION
Perform one of the following operations: A) Drag and drop the file selected in the PC side File List to the File List of the connection destination. When the file is dropped to a blank space or a file in the File List of the connection destination, the file is downloaded to the folder for which the File List of the connection destination is displayed. When the file is dropped to a folder displayed in the File List of the connection destination, the file is downloaded to the folder. B) Drag and drop the file selected in the PC side File List to a folder under the name of the connected machine in the Machine List of Connection Target. C) In the [Communication] menu or the menu displayed by right-clicking on the selected file, click the [Download] command. When a file is selected in the File List of the connection destination, the file is downloaded to the folder for which the File List of the connection destination is displayed. When a folder is selected in the File List of the connection destination, the file is downloaded to the folder.
- 285 -
OPERATION
B-75074EN/04
NOTE When downloading is specified by selecting the [Download] menu item, files are downloaded to a folder if the folder is selected in the File List of the connection destination. Before the menu operation, check the file or folder selected in the File List of the connection destination.
3 The [Downloading NC Program] dialog box appears. Click the [Download] button.
The file selected is downloaded to the connection destination, and the File List of the connection destination is updated to the latest information.
NOTE If the contents of a file do not have an NC program format, downloading the file to the data server of Series 30i/31i/32i may change the file contents automatically.
- 286 -
B-75074EN/04
OPERATION
NOTE 1 When uploading is specified by selecting the [Upload] menu item, the file is uploaded to a directory if the directory is selected in the PC side File List. Before the menu operation, check the file or directory selected in the PC side File List. 2 Uploading to the root directory of My Computer cannot be performed.
3 4 The [Uploading NC Program] dialog box appears. Click the [Upload] button. The selected NC programs are uploaded from the NC to the computer, and the File List in the Current Management Group is updated automatically.
- 287 -
OPERATION
B-75074EN/04
5.2.7
Function Operations on file Copy Move Delete Rename Operations on directory Copy Move Delete Rename
Data server
(*1)
(*1)
*1
NOTE When the communication function is FOCAS2/Ethernet (Series 30i/31i/32i), none of the functions can be used if the device to be operated is a memory card or data server instead of NC memory.
- 288 -
B-75074EN/04
OPERATION
Perform a menu operation or drag and drop operation. A) Menu operation In the [Communication] menu or the menu displayed by right-clicking on the selected file, click the [Copy] command. Alternatively, press the [Ctrl+C] keys. The selected file is then registered in the work list. (The work list is not displayed.) Proceed to step 3. B) Drag and drop operation Drag the selected file to the directory in the Machine List of Connection Target or the File List of the connection destination then drop the file there while holding down the [Ctrl] key. (The dragged and dropped file is not registered in the work list.) The [Copy File] dialog box is displayed. Proceed to step 5.
3 4 5
From the directory in the Machine List of Connection Target or the File List of the connection destination, select and click a copy destination. Click the [Paste] command on the [Communication] menu or the right-click menu in the File List of the connection destination, or press the [Ctrl+V] keys. The [Copy File] dialog box is displayed. Click the <Copy> button.
- 289 -
OPERATION
B-75074EN/04
NOTE 1 When a copy source and copy destination are located in the same directory, the file cannot be copied. 2 Even when a file has been copied, the registered file is not cleared from the work list. Such a file can be copied to another directory in succession. 3 The registered file can be cleared from the work list by pressing the [Esc] key. 4 When a file is copied using the FOCAS2/Ethernet function, the subprogram transmission function is not executed. 5 When a file in a data server (FTP server) is copied, a virtual copy operation is implemented by uploading the file to the personal computer once then downloading it to a specified directory.
3 4 5
- 290 -
B-75074EN/04
OPERATION
NOTE 1 When a move source and move destination are located in the same directory, the file cannot be moved. 2 When the [Move File] dialog box is closed, the registered file is cleared from the work list. 3 The registered file can be cleared from the work list by pressing the [Esc] key. 4 When a file is moved using the FOCAS2/Ethernet function, the subprogram transmission function is not executed. 5 When a file in a data server (FTP server) is moved, a virtual move operation is implemented by uploading the file to the personal computer once then downloading it to a specified directory.
If the <Delete> button is clicked, the selected file is deleted from the NC memory. If the <Cancel> button is clicked, the deletion is canceled.
- 291 -
OPERATION
B-75074EN/04
NOTE 1 When a directory is deleted, all files and directories included in the directory are deleted. 2 Deleted files and directories are completely removed from the connection destination. Take special care when deleting files and directories.
Enter a new name in the [New Name] text box then click the <Change> button. Unless a name is entered in the text box, the <Change> button does not become effective.
- 292 -
B-75074EN/04
OPERATION
5.2.8
- 293 -
OPERATION
B-75074EN/04
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 binary files. 3 The largest file size that [File Viewer] allows you to view is 32 Kbytes. When you browse files exceeding this size limit, only the first 32 Kbytes of the file are displayed. 4 You can also specify third-party viewer software in the [Options] dialog box. Refer to "5.2.10 Setting Options" for details.
- 294 -
B-75074EN/04
OPERATION
Upon completion of editing, terminate the editor. If a file is saved during editing, the system asks you whether to download the saved file to the NC as shown below.
NOTE 1 If a file is not saved, the file cannot be downloaded. 2 If the program name (program number) of a file is changed to a new number, check if a file with the same new program name exists on the NC. If the NC parameter that enables overwriting is set, the program is overwritten. 3 A saved file is deleted when download operation is completed or you click <No>. 4 When the device to be operated in Series 30i/31i/32i is a memory card or data server instead of NC memory, edited programs cannot be downloaded. - When download operation fails
1 If download operation fails, an error message is displayed. Note down a displayed message, then click the <OK> button.
- 295 -
OPERATION
B-75074EN/04
A file before editing and a file after editing are temporarily saved on the personal computer. The system asks you whether to save those files under arbitrary names on the personal computer. Click <Yes> to save them. Click <No> not to save them. When <No> is selected here, the temporarily saved files are deleted.
When the files are to be saved, the [Save File] dialog box is displayed. Enter a full-path file name to be assigned to each of the files before and after editing (i.g., D:\Program Files\O0001.dat). Then, click the <Save> button. The <Cancel> button can be used to cancel save operation. (The temporarily saved files are deleted.)
If an incorrect path is specified (if a nonexistent directory is specified), the message indicated below is displayed. Check the entered path and directory. Pressing the buttons perform the following operations: <Abort> : Stops save operation. (The files are deleted.) <Retry> : Performs another save operation according to the same path. <Ignore> : Returns the screen display to the [Save File] dialog box.
From the error message noted down, determine the cause of the failure in downloading the NC program. Correct the cause then retry to download the NC program.
- 296 -
B-75074EN/04
OPERATION
5.2.9
Enter the name of the directory to be created in the [New Name] text box, then click the <Create> button. Unless a name is entered in the text box, the <Create> button does not become effective.
- 297 -
OPERATION
B-75074EN/04
5.2.10
Setting Options
Click the [Options] command in the [Tools] menu. The [Options] dialog box will open. After making a setting, click the <OK> button for the setting to become effective. To cancel a setting and return to the previous value, click the <Cancel> button.
Listing tab
In the [Machine List] frame, make a setting related to machine list display of the management group list on the left side of the screen. When the [Display machine which was set up for communication] check box is checked, only those machines that are set for communication are displayed. In the [File List] frame, make settings relating to File List display on your computer. When the [Reflesh File List before sort] check box is checked, the latest file list information is acquired before the File List display order is changed. If this check box is not checked, the File List display order is changed based on the details currently displayed in the File List. NOTE, however, that if the File List has several pages of data, the latest file list information is acquired before the File List display order is changed regardless of the setting of this check box. If the [Not display message at page move] check box is checked, the confirmation dialog box will not be displayed when you switch pages in the File List. If you change the value of the [Number of displayed files in a page] check box, you can change the number of files that can be displayed in one page of the File List. With the [Double click on upper file list] frame and [Double click on lower file list] frame, a type of operation to be performed when you double-click a file object in each File List can be selected.
- 298 -
B-75074EN/04
OPERATION
In the [File View] frame, make settings relating to file browsing. If you select the [No External Viewer] option, the File Viewer integrated in NC Program Management is used. If you select the [Use External Viewer] option, you can specify third-party viewer software. Enter the command for starting the editor in the [Viewer command] box. In the [Edit File] fame, make settings relating to file editing. If you select the [No Editor] option, you can no longer edit files or create new files. If you select the [Use Editor] option, you can edit files or create new files using the specified editor. Enter the command for starting the editor in the [Viewer command] box. NOTE, however, that the [Edit File List] screen is used for editing the File List.
- 299 -
OPERATION
B-75074EN/04
Communication tab
In the [Communication] frame, make setting relating to communication with the NC. If the [Connect to multi paths CNC] check box is checked, you can specify the NC system with which you are to communicate. If this check box is not checked, communication is carried out with only the 1st of the multiple connected NC systems. Communication with other NC systems is not possible. When the [Communicate to machine when click machine list or ftp server list] check box is checked, clicking a machine name in the Machine List of the management group starts communication with the NC and displays the File List in the NC memory (Data Server hard disk in the case of FTP connection). Clicking an FTP server name in the FTP Server List starts communication with the FTP server and displays the File List in the FTP server hard disk. If this check box is not checked, communication is started by clicking the [Start Communication with NC Memory] command in the [Communication] menu. If the [Display NC memory tree view at high speed.] check box is checked, the NC memory tree view can be displayed more quickly when NC memory is connected. In this case, the mark (+) appears at the left of every directory regardless of whether the directory has sub-directories or not (for Series 30i/31i/32i only). When the [Display FTP tree view at high speed] check box is checked, the tree view of the hard disk of a connected FTP server can be displayed at high speed. In this case, the mark (+) appears at the left of every directory regardless of whether the directory has sub-directories or not.
- 300 -
B-75074EN/04
OPERATION
5.3
5.3.1
Menu bar
Number of records
- 301 -
OPERATION
B-75074EN/04
Directory
Displays the machine name to which the List File currently being edited belongs. The machine name is displayed in the following format: "<3-digit machine number>.<machine name>"
Directory Name
Displays the directory in which the List File currently being edited is saved.
- 302 -
B-75074EN/04
OPERATION
Number of Records
Displays the currently registered number of records.
- 303 -
OPERATION
B-75074EN/04
5.3.2
Select the directory for saving the List File from the [Machine] combo box. If you select a machine name in the [Machine] combo box, the default directory of the machine selected in the [Directory] text box is displayed. If you select <Optional Directory> in the [Machine] combo box, select the directory by the button to the right of the [Directory] text box.
NOTE Select the machine name at [Machine], and display the default directory of the machine to communicate with at [Directory]. If you select <Optional Directory> at [Machine], specify a directory other than the default directory at the [Directory] button and create a List File, you will no longer be able to call the List File from the NC.
2 Enter the name of the new List File in the [List File] text box, and press the <Start> 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 the [Machine] combo box. To edit an existing file, enter the file name in the [List File] text box, and press the <Start> button. When you specify an existing file, a confirmation dialog box for checking if it is OK to delete the file and create a new file appears.
- 304 -
B-75074EN/04
OPERATION
1 2
Select the directory containing the List File in the [Machine] combo box. The directory name is displayed in the [Directory] text box. When you select the List File name from the list box, the List File name selected in the [ListFile] text box is displayed. You can also enter the List File name to edit directly in the [ListFile] text box. Press the <Open> button.
- 305 -
OPERATION
B-75074EN/04
- 306 -
B-75074EN/04
OPERATION
Example: Paused
NOTE The meanings [Cancel] in Edit List File screen and [Cancel] in List File Monitor screen are different. [Cancel] in Edit List File screen [Skip] and [Pause] are canceled by all transmission using specified List Files. [Cancel] in List File Monitor screen [Skip] and [Pause] are canceled by only the List File currently being transferred.
Transfer by the [Edit] menu is specified as follows: 1 Select the record whose transfer order you want to change in the [Contents of List] list box. 2 Set the [Skip], [Pause] or [Cancel] commands in the [Edit] menu. In addition to transfer by the [Edit] menu, you can also instruct transfer in the context menu of the right mouse button. 1 Bring the mouse cursor to the record whose transfer order you want to change in the [Contents of List] list box, and press the right mouse button. 2 The same menu as the [Edit] menu appears.
- 307 -
OPERATION
B-75074EN/04
Registering Files in the Same Directory as List Files Using Only the File Name
Normally, the files to transfer to the List File are registered using their full path. The Option screen allows you to select whether to register only a file name or register the file by its full path. Specify registration by only a file name when you do not want to register a file using its full path to copy a List File to another machine having a different default directory. To set this, click the [Option] command in the [Tool] menu.
In the List Files registered by only a file name, only the file name is displayed even in the [Contents of List] list box.
1 2 3
Select the directory for saving the List File from the [Machine] combo box. The directory name is displayed in the [Directory] text box. Enter the List File name that you want to save to from the [ListFile] text box. Click the <Save> button.
B-75074EN/04
OPERATION
5.4
5.4.1
- 309 -
OPERATION
B-75074EN/04
- 310 -
B-75074EN/04
OPERATION
5.4.2
- 311 -
OPERATION
B-75074EN/04
- 312 -
B-75074EN/04
OPERATION
NOTE The Edit screen displays records that were registered after the paused record.
- 313 -
6.MACHINING RESULTS
OPERATION
B-75074EN/04
MACHINING RESULTS
- 314 -
B-75074EN/04
OPERATION
6.MACHINING RESULTS
6.1
OUTLINE
The machining result screen displays data such as run time and machined parts count of each NC. The following data is displayed: 1. Monthly report on power-on time, operating time, and cutting time (bar chart) 2. Monthly report on machined parts count (bar chart) 3. Monthly report on power-on time, operating time, current time, and machined parts count (table)
NOTE 1 The machining result screen displays data created by the "Run Time/Parts Count display option" of the NC. 2 The FOCAS2/Ethernet or DNC2 function is required. The DNC2 function, however, cannot be used with Series 0. 3 While the NC Program Management screen is displaying a machine connected with DNC2, machining results of the machine cannot be collected.
- 315 -
6.MACHINING RESULTS
OPERATION
B-75074EN/04
6.2
SCREEN OPERATION
Use one of the following methods to activate the screen: 1. [Main Menu] <Operation Monitoring> button 2. <Op. Monitoring> tab 3. [Overview-Screen List for Each Machine] screen <Machining Result> button When the screen is activated, run time is displayed as a bar chart.
Method of activation
- 316 -
B-75074EN/04
OPERATION
6.MACHINING RESULTS
<4> Utilization display
Screen operation
<1> Monthly report list box <2> Graph display change button
From the list box, select a desired year and month for result display.
- 317 -
6.MACHINING RESULTS
OPERATION
B-75074EN/04
- 318 -
B-75074EN/04
OPERATION
6.MACHINING RESULTS
- 319 -
B-75074EN/04
- 320 -
B-75074EN/04
7.1
OUTLINE
Workpiece process results are displayed based on data (Machine ID, Workpiece ID, O number, Start time, End time, Process End ID, User area ID, and Sequence number) obtained at the start and end of machining. Three types of display are available: "current progress status display" for displaying the progress status of the workpiece currently being machined, "log display" for displaying the process time and end state of each machined workpiece, and "process end state display" for displaying summarized end state data.
NOTE 1 The "custom macro B" option is required for the NC. 2 If the custom macro common area does not have a free space, the "custom macro variable addition" option is required. 3 The FOCAS2/Ethernet function is required.
- 321 -
B-75074EN/04
7.2
SCREEN OPERATION
Use one of the following methods to activate the screen: 1. [Main Menu] <Operation Monitoring> button (The machining result screen is activated.) <Proc. Result> button 2. <Op. Monitoring> tab (The machining result screen is activated.) <Proc. Result> button 3. [Overview-Screen List for Each Machine] screen <Proc. Result> button When the screen is activated, the screen is displayed in the previously selected format.
Method of activation
Automatic updating
This screen is automatically updated to the latest information at intervals of one minute.
Screen operation
<4> Workpiece specification <2> Display term <6> Display form change button/list box specification list box screen button <1> Display condition <3> Machine specification <7> Display refresh <5> Process plan input change button button/list box button screen button
- 322 -
B-75074EN/04
- 323 -
B-75074EN/04
Select a date, machines, and workpieces for which planned counts are to be input.
C. Workpiece A. Date specification B. Machine D. Extract button specification specification list list box list E. Exit button
A. B.
C.
D.
E.
Date specification list box This button is used to select a date. Machine specification list This list is used to select a machine. Multiple machines can also be selected. When you click the fixed cell, all machines can be selected. Workpiece specification list This list is used to select a workpiece. Multiple workpieces can also be selected. When you click the fixed cell, all workpieces can be selected. Extract button This button is used to extract selected machines and workpieces and switches the screen display to the process plan input screen. Be sure to click this button after selecting machines and workpieces. If no machine or no workpiece is selected, an error message is displayed. Clear the error, then select machines and workpieces. Until an error message is cleared, the screen does not accept any event. Exit button This button is used to exit from the process plan input screen.
- 324 -
B-75074EN/04
A. B. C. D.
E.
Planned process count input box Input a planned count. After inputting a value, be sure to press the Enter key. Planned process count input button This button inputs a planned count into a cell selected from the process plan selection table. Planned process count clear button This button clears the planned count of a cell selected from the process plan selection table. Process plan selection table This table displays a selection table of extracted machines and workpieces. If planned process counts are already input, their values are displayed. Select a cell from this table. Multiple cells can be selected. Moreover, multiple rows and columns can be selected at a time by selecting the fixed cell. Button for returning to the extraction screen This button returns the screen display to the machine/workpiece extraction screen.
- 325 -
B-75074EN/04
A. B. C. D. E. F.
G. H.
Machine display specification Select a machine display method. You can choose from No., Name, and No. + Name. Workpiece display specification Select a workpiece display method. You can choose from No. and Name. O number display specification Choose whether to perform O number display. User area display specification Choose whether to perform user area display. Exit button This button enables you to exit from the display form change screen. Current form display The currently specified form of date and time is displayed. For the details of the form, refer to the description of "Format" statement in the "CIMPLICITY HMI Plant Edition Basic Control Engine Operator's Manual". Current example of display An example of the currently specified form is displayed. New form input box Enter a new form. After entering a new form, be sure to press the Enter key.
- 326 -
B-75074EN/04
I.
J.
Change button This button switches the form to the new form. The new form is displayed in the Current Form field, and an example of display is displayed in the Current Form field. Initialize button This button returns the form to the initial value. The initial value is "yy/mm/dd hh:nn:ss" (Example of display: 01/05/09 10:50:20).
- 327 -
B-75074EN/04
When you click the "Log" button, the screen display switches to this display. Log data such as the process time and end state of each machined workpiece is displayed in order of latest start time to oldest start time. Four modes of display are available: no specification, machine specification, workpiece specification, and machine and workpiece specification. For each mode, daily reporting, monthly reporting, or term specification can be selected. Display with no specification All log data is displayed, regardless of machines and workpieces. Display with machine specification The log data of a specified machine only is displayed, regardless of workpieces. In display with machine specification, only sequence numbers are displayed.
NOTE Sequence numbers must be successively assigned to workpieces to be machined on each machine. For the method of sequence number assignment to workpieces to be machined, see Subsection 2.12.2, "Workpieces Process Result" in Part III, "SETTING". An example where assigned sequence numbers are not successive is shown below. This example means that data for sequence numbers 3 and 4 could not be obtained. The cause is a failure by the i CELL to read a transition of the process start signal from OFF (0) to ON (1) (because of the ON time being too short) or a data acquisition attempt made during data deletion. Check the time period for a transition of the process start signal from OFF to ON (Subsection 2.12.2, "Workpiece Process Results" in Part III, "SETTING"), and data deletion execution time (Section 2.11, "DATABASE MAINTENANCE" in Part III, "SETTING"). Example of display
- 328 -
B-75074EN/04
Display with workpiece specification The log data of a specified workpiece only is displayed. Display with machine and workpiece specification The log of a specified combination of a machine and workpiece only is displayed. The display items are listed below. Note, however, that the display items vary, depending on the specification. Machine (when no machine is specified) Workpiece (when no workpiece is specified) O number (displayed only in the case of workpiece display) Process start time Process end time Process time Process end state User area Sequence number (only in the case of machine specification) You can choose whether to display O number and user area data.
NOTE In connection with display time, all logs satisfying a condition are not written to a table at a time. Actually, up to 180 logs (12 pages) can be written to a table at a time. Six pages are written in the upper and lower areas with respect to the desired display line (uppermost display line). So, each time other logs are to be displayed, those logs need to be obtained and written to the table, requiring some time for display. When logs are obtained, the latest information is obtained. This means that if the contents of the database change while pages are switched, the same line does not always display the same log data as previously displayed. - Process end state display
The summarized results based on a displayed process end ID set on the setting screen are displayed. Two types of display are available: table format and pie chart format.
- 329 -
B-75074EN/04
When you click the "End State" button, the screen display changes to this type of display. As with log display, four modes of display are available: no specification, machine specification, workpiece specification, and machine and workpiece specification. For each mode, daily reporting, monthly reporting, or term specification can be selected. The display items are listed below. Note, however, that the display items vary, depending on the specification. Machine (when no machine is specified) Workpiece (when no workpiece is specified) Total process count Planned process count Number of end states summarized (up to 5 in display order) Other When you select a number in the No. column and click the Circle Graph button in the case of display with no specification, display with machine specification, and display with workpiece specification, the data of the selected line can be displayed as a pie chart.
NOTE When you specify, on the setting screen, that the display items (workpiece, end state, and user area) are not used in the three types of display (progress status, log, and end state display), an ID of 0 is saved in the database, and "No Collect" is displayed. If no ID is registered, the comment [No Setting] is displayed after each ID.
- 330 -
B-75074EN/04
A.
B. C. D. E.
Progress display Process progress data (normal completion count/planned count) is displayed as a bar chart. Moreover, remaining count data (planned count - normal completion count) is displayed. Planned process count display A planned process count is displayed. Total process count display A total process count is displayed. Pie chart display of process end state The summarized results of process end state are displayed as a pie chart. Process end state display The summarized results of process end state are displayed using numeric values. Up to five items (optional) and "Others" are displayed.
OPERATION
B-75074EN/04
- 332 -
B-75074EN/04
OPERATION
8.1
OUTLINE
With the NC display and operation function, operations such as NC state display and parameter setting can be performed for each NC. The following NC state indications can be provided with this function: 1. CNC status 2. O number, program number, and file name display 3. Actual position display 4. Actual speed display 5. Modal information display 6. Program check display 7. Diagnosis screen display The following NC operation can be performed: 1. NC parameter setting
NOTE 1 For actual speed display with the M series, the threading/synchronous feed option and a position coder are required. If this option is not specified, a value calculated from the spindle motor speed instead of a feedback value from the position coder can be displayed by setting bit 0 of parameter No. 3118 to 1. 2 The FOCAS2/Ethernet function is required.
- 333 -
OPERATION
B-75074EN/04
8.2
SCREEN OPERATION
Use one of the following methods to activate the screen: 1. [Main Menu] <NC Display and Operation> button 2. <NC Disp. & Ope.> tab 3. [Overview-Screen List for Each Machine] screen <NC Display and Operation> button
Method of activation
Screen operation
<3> NC status information <1> NC machine selection <4> Program number, file name, and sequence number display
With the NC display and operation function, the operations below are common. <1> NC machine selection From the combo box, select an NC machine and path number.
- 334 -
B-75074EN/04
OPERATION
<2> NC display and operation switching Switch the screen display by clicking a desired button at the bottom of the screen.
[Current Position] button : Displays the current position display screen. [Program Check] button : Displays the program check screen. [Parameter] button : Displays the parameter setting screen. [Diagnosis] button : Displays the diagnosis screen. <3> NC status information NC status information is displayed. (1) (2) (3) (4)
(5)
(6)
(7)
In (1) through (7), status information is displayed as indicated below. Status display in (1) *** : Non-selection MDI : MDI mode Mem : MEMORY mode Edit : EDIT mode Hndl : HANDLE mode Jog : JOG mode Tjog : TEACH in JOG mode THnd : TEACH in HANDLE mode Inc : INCREMENTAL mode Ref : REFERENCE mode Rmot : SCHEDULE mode Test : TEST run mode Status display in (2) **** : Reset Stop : Operation stopped Hold : Operation temporarily stopped Strt : Being started MStr : During tool wait and return operation, repositioning, and motion based on a manual numeric command Status display in (3) *** : Others Motn : During axis movement Dwel : During dwell operation Status display in (4) *** : Non-selection FIN : Waiting for processing Emg : Emergency stop state Reset : Reset state Status display in (5) *** : No alarm issued Alarm: Alarm issued
- 335 -
OPERATION
B-75074EN/04
Batt : Voltage drop of the battery for the nonvolatile memory and absolute position detector Status display in (6) M series (including Power Mate i) *** : No editing EDIT : During edited SeaRCH : Search being made OUTPUT : Data being output INPUT : Data being input COMPARE : Comparison being made Label Skip : Label skip state ReSTaRT : Program being restarted HPCC : RISC operation being performed PTRR : Placed in the tool retract and return mode RVRS : Retrace/reverse motion being performed RTRY : Retrace/re-forward motion being performed RVED : Retrace/reverse motion ended HANDLE : During handle interrupt OFfSet : Placed in the tool length compensation value measurement mode Work OFfSet : Placed in the workpiece origin offset measurement mode AICC : In AI contour control operation MEmory-CHecK : Tape memory check being made CusToMer's BoarD : In customer board control operation SAVE : Fine torque sensing data being saved AI NANO : In AI nano control operation AI APC : In AI advanced preview control operation MBL APC : In multi-block pre-read advanced preview control operation T series **** : No editing EDIT : During edited SeaRCH : Search being made OUTPUT : Data being output INPUT : Data being input COMPARE : Comparison being made Label SKip : Label skip state OFfSet : Placed in the tool length compensation value write mode Work ShiFT : Placed in the workpiece shift value write mode ReSTaRT : Program being restarted PTRR : Placed in the tool retract and return mode MEmory-CHecK : Tape memory check being made SAVE : Fine torque sensing data being saved Status display in (7) (valid only for a combined machine tool) T mode : T mode M mode : M mode
- 336 -
B-75074EN/04
OPERATION
- 337 -
OPERATION
B-75074EN/04
8.3
<3> Actual speed information display Example of the actual position display screen
- 338 -
B-75074EN/04
OPERATION
<1> Actual position display The current NC position is displayed. The following information can be displayed: (1) Overall position data (relative position, absolute position, machine position, and distance to go) (2) Relative position (3) Absolute position (4) Machine position (5) Distance to go The following buttons are used for display switching:
<2> Modal information display Modal information such as G code information is displayed. <3> Actual speed information display The actual speed and spindle speed are displayed.
- 339 -
OPERATION
B-75074EN/04
8.4
PROGRAM CHECK
The program check screen can be used to check the NC program currently being executed. This screen also displays the following information: (1) Modal information (2) Actual speed information
<1> Program check display <2> Modal information display
<3> Actual speed information display Example of the program check screen
<1> Program check screen The NC program currently being executed is displayed. <2> Modal information display Modal information such as G code information is displayed. <3> Actual speed information display The actual speed and spindle speed are displayed.
- 340 -
B-75074EN/04
OPERATION
8.5
PARAMETER SETTING
The parameter setting screen can be used to set NC parameters.
NOTE When setting parameters, place the NC in the following states: Setting data - Set "PARAMETER WRITE" to ENABLE. Operation state - Emergency stop state - Operation stop/halt state in the MDI mode
<1> Parameter setting
<1> Parameter setting Enabling/disabling parameter write operation Click the [PWE off] button to change it to [PWE on]. Click the [PWE on] button to change it to [PWE off] state.
NOTE To change [PWE off] to [PWE on], the NC must be placed in the emergency stop state or stopped/halted in the MDI mode.
- 341 -
OPERATION
B-75074EN/04
Parameter search Specify a parameter number to be found, and click the [Find] button. Bit-type parameter A bit-type parameter is set when its check box is checked.
NOTE When parameter write operation is disabled, the title line displays "(Writing Disabled)".
- 342 -
B-75074EN/04
OPERATION
8.6
DIAGNOSIS
The diagnosis screen can display the diagnostic data of the operation state of the CNC including the servo system.
<1> Diagnosis screen
<1> Diagnosis screen Diagnosis items and their statuses are displayed. Diagnostic data search Specify a desired diagnostic data number, then click the [Find] button.
- 343 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
NC MAINTENANCE
- 344 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.1
OUTLINE
With the NC maintenance function, operations such as input/output of NC maintenance information and various data items can be performed for each NC. With the NC maintenance function, the following capabilities are available: 1. Alarm history display and external operator message history display 2. Operation history display and history signal setting 3. Various data backup/restoration 4. FROM backup/restoration, SRAM backup 5. Display of history data automatically backed up
NOTE 1 The FOCAS2/Ethernet function is required. 2 When the i CELL is used on the CIMPLICITY viewer, history data automatically backed up cannot be displayed. 3 With Series 30i/31i/32i, only various data backup/restoration can be performed. The other functions are under development.
- 345 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.2
SCREEN OPERATION
Use one of the following methods to activate the screen: 1. [Main Menu] <Maintenance> button 2. <Maintenance> tab 3. [Overview-Screen List for Each Machine] screen <Maintenance> button
Method of activation
Screen operation
<3> NC status information <1> NC machine selection <4> Program number, file name, and sequence number display
With the NC maintenance function, the operations below are common. <1> NC machine selection From the combo box, select an NC machine and path number. For details, see <1>, "NC machine selection" in Section 8.2, "SCREEN OPERATION".
- 346 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
<2> NC maintenance switching Switch the screen display by clicking a desired button at the bottom of the screen.
[Alarm History] button: Displays alarm history data and external operator message history data. [Operation History] button: Displays operation history data and sets history signals. [Data Input/Output] button: Displays the data input/output screen. [FROM/SRAM Backup] button: Performs FROM data backup/restoration and SRAM backup. [Backup Data] button: Alarm history data, external operator message data, and operation history data backed up to the personal computer with the automatic backup function can be displayed. <3> NC status information display NC status information is displayed. For details, see <3>, "NC status information display" in Section 8.2, "SCREEN OPERATION". <4> Program number and sequence number display The program number and sequence number currently selected are displayed. For details, see <4>, " Program number, file name, and sequence number display" in Section 8.2, "SCREEN OPERATION".
- 347 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.3
NOTE 1 History data being displayed on the alarm history screen is not sampled. 2 For external operator message history display, an optional function, that is, the external message function or the external data input function, is required. To display the external operator message history screen, bit 2 of the NC parameter No. 3112 must be set to 1. 3 This function for Series 30i/31i/32i is under development.
<1> Alarm history display
- 348 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.3.1
9.3.2
<2> Specify a desired folder name and file name, then click the [Exec.] button. If no extension is specified, the following extensions are used: Alarm history : .alhis External operator message history : .omhis
- 349 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.3.3
- 350 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.4
NOTE 1 NC operation history data being displayed on the operation history screen is not sampled. To display the operation history screen, bit 5 of the NC parameter No. 3112 must be set to 0, and bit 4 of the NC parameter No. 3106 must be set to 1. 2 This function for Series 30i/31i/32i is under development.
<1> Operation history display
- 351 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.4.1
NOTE For the word sub, and path 3, "S_" and "3_" is prefixed, respectively. Example: <S_POS>, S_G, 3_G0000.7_U, 3_PS/0000, and so forth
Page Page feed operation can be performed by clicking the scroll bar. When you click the [Top] button, the top (oldest) page of history information is displayed. When you click the [End] button, the bottom (newest) page of history information is displayed.
- 352 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.4.2
<2> Specify a desired folder name and file name, then click the [Exec.] button. If no extension is specified, the following extension is used: .ophis
0 1 2 3 4 5 6 7 10 11 12
1st item Record type MDI in path 1 Signal in path 1 Alarm in path 1 Date Time MDI in path 2 Signal in path 2 Alarm in path 2 MDI in path 3 Signal in path 3 Alarm in path 3
2nd item Data for record type 1 Power-on, 2 Others Always set to 0 Always set to 0 1 Power-on, 2 Others 1 Power-on, 2 Others 1 Power-on, 2 Others Always set to 0 Always set to 0 1 Power-on, 2 Others Always set to 0 Always set to 0
Data for the third item is displayed on the screen. Example of operation history output data 0 1 <RESET> 0 1 <DELETE> 3 1 04/02/24 4 1 10:47:26 2 0 PS/0100 0 0 <SYSTEM>
- 353 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.4.3
9.4.4
Setting of I/O signals Set signal names, signal numbers, and bit data subject to I/O signal history data manipulation. Up to 20 data items can be set. All clear When you click the [All Clear] button, all currently set operation history target signal data is cleared. Clear When you click the [Clear] button, the operation history target signal data where the cursor is placed currently is cleared. Display of the operation history screen When you click the [History Display] button, the screen display returns to the operation history display screen.
- 354 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.5
NOTE For pitch error compensation data, the pitch error compensation function (option) is required. For custom macro variables, custom macro B (option) is required. For workpiece origin offset data, the workpiece coordinate system setting function (option) is required.
<1> Data backup/restoration
- 355 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.5.1
Data Backup
Data can be backed up using the procedure below. <1> From the data type combo box, select a type of data to be backed up. (1) NC parameter (2) Tool offset data (3) Pitch error compensation data (4) Custom macro variables (in the five hundreds) (5) Workpiece origin offset <2> Specify TV check and CTV. Specify TV check and CTV as required. TV check A blank code is inserted into a data block to make a TV check. When this item is checked, the TV check function is enabled. CTV This item is enabled when TV check is set ON. When this item is checked, TV check in a comment is canceled. <3> Specify a folder name for saving backup data. When a folder name is specified, a list of the files in the folder is displayed. <4> Specify a file name for storing backup data. Use one of the two methods: (1) Select a file from the list. (2) Specify a file name directly. <5> Click the [BackUp NC->PC] button to start backup operation. During backup operation, data being backed up is displayed in the list area. * To cancel backup operation, click the [Cancel] button.
- 356 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.5.2
Data Restoration
Data can be restored using the procedure below. <1> From the data type combo box, select a type of data to be restored. (1) NC parameter (2) Tool offset data (3) Pitch error compensation data (4) Custom macro variables (in the five hundreds) (5) Workpiece origin offset <2> Specify TV check and CTV. Specify TV check and CTV as required. TV check A blank code is inserted into a data block to make a TV check. When this item is checked, the TV check function is enabled. CTV This item is enabled when TV check is set ON. When this item is checked, TV check in a comment is canceled. <3> Specify the name of a folder holding data to be restored. When a folder name is specified, a list of the files in the folder is displayed. <4> Specify the name of a file to be restored. Use one of the two methods: (1) Select a file from the list. (2) Specify a file name directly. <5> Click the [Restore PC->NC] button to start restoration operation. During restoration operation, data being restored is displayed in the list area. * To cancel restoration operation, click the [Cancel] button.
9.5.3
- 357 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.5.4
File Deletion
A file on the list can be deleted using the procedure below. <1> Specify the name of a folder where a file to be deleted is held. Specify the name of a folder to be displayed as a list. <2> Specify the name of a file to be deleted. Use one of the two methods: (1) Select a file from the list. (2) Specify a file name directly. <3> Click the [Delete] button. The following inquiry is displayed:
- 358 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.6
NOTE 1 In FROM data backup/restoration/deletion, only user files created by the machine tool builder or user in FROM can be backed up, restored, and deleted. The system files distributed by FANUC cannot be backed up, restored, and deleted. 2 To restore SRAM data, the NC boot function needs to be used. 3 This function for Series 30i/31i/32i is under development.
<1> FROM/SRAM data backup/restoration
- 359 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.6.1
- 360 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.6.2
NOTE When restoration operation is canceled, FROM data becomes invalid. When the power is turned on next time, the CNC may not start up.
- 361 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.6.3
NOTE Before SRAM data can be backed up, the NC must be placed in the "emergency stop" state.
9.6.4
- 362 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
9.6.5
- 363 -
9.NC MAINTENANCE
OPERATION
B-75074EN/04
9.7
NOTE 1 To display external operator message history data, the optional external message function or the optional external data input function is required. 2 The automatic backup function of the alarm history, external operator message history, and operation history for Series 30i/31i/32i is under development.
Screen operation
- 364 -
B-75074EN/04
OPERATION
9.NC MAINTENANCE
The screen operation procedure is described below. <1> Data type selection Select a type of history data to be displayed on the screen. A selection can be made from alarm history, message history, and operation history. No button can be pressed for a type of history data for which a history data file is not created. <2> Display period specification Specify a period for which history data is displayed.
NOTE In the case of operation history data, a display period is based not on the date of the data but on the date when the data was acquired from the NC. (Unlike alarm history data and message history data, duplicate operation history data is not deleted.) The amount of operation history data is huge. So, data read from the NC by each read operation should be displayed on the screen. Example : When data is collected once a day, specify a display period of one day. When data is collected once a week, specify a display period of seven days. If you specify the display of multiple sets of read data (for example, if you specify a display period of two days when data is to be collected once a day), all data cannot be displayed on the screen.
<3> Display button After selecting a type of data and a period of display, press the Display button. The specified data is displayed. <4> Top/End button When data is displayed, you can jump to the top or end of data by pressing the Top or End button.
- 365 -
OPERATION
B-75074EN/04
10
- 366 -
B-75074EN/04
OPERATION
10.1
OUTLINE
The tool life management screen has the function equivalent to that of the tool life screen of the NC. The screen provides two types of display: tool group list display and tool group detail display. At the time of tool group list display, select a group number and click the [Detail] button to switch the screen display to tool group detail display.
NOTE 1 The tool life management option is required with the NC. With Series 0i-MODEL B/C, the tool life management function can be used by setting bit 0 of parameter No. 8132 to 1. 2 There are not the tool life management function and option for that in Power Mate i. 3 The FOCAS2/Ethernet function is required. 4 This function for Series 30i/31i/32i is under development.
- 367 -
OPERATION
B-75074EN/04
10.2
SCREEN OPERATION
Use one of the following methods to activate the screen: 1. [Main Menu] <Operation Monitoring> button (The machining result screen is activated.) <Tool Life Management> button 2. <Op. Monitoring> tab (The machining result screen is activated.) <Tool Life Management> button 3. [Overview-Screen List for Each Machine] screen <Tool Life Management> button When this screen is activated, a tool group list is displayed.
Method of activation
Automatic update
This screen is updated to the latest information at intervals of one minute.
Screen operation
<1> Display change button <2> Display refresh button
- 368 -
B-75074EN/04
OPERATION
A. B. C.
Currently used tool group number display The currently used tool group number is displayed. When no tool group is currently used, [***] is displayed. Currently selected tool group number display The currently selected tool group number is displayed. When no tool group is currently selected, [***] is displayed. Tool group list Group No. Tool group numbers are displayed. Use Tool No. The order number of each currently used tool is displayed. When no tool is used currently, [-] is displayed. Life The life of each currently used tool are displayed. Count The count of each currently used tool is displayed.
- 369 -
OPERATION
B-75074EN/04
Rest of Life The remaining life of each currently used tool is displayed. This value is the result of subtracting the value of Count from the value of Life. Unused Number The number of tools not used yet is displayed, However, skipped tools are not counted in this number.
A. B. C.
D.
Currently used tool group number display This display is not used on this screen. Currently selected tool group number display This display is not used on this screen. Tool group detail table Order No. The order number of each currently used tool is displayed. Tool No. Each registered tool number is displayed. State Tool state information is displayed. One of four types of states are indicated: Use, Unused, No Life, and Skip. Currently used tool detail display For each of the items, the same data as for the tool group list is displayed.
- 370 -
B-75074EN/04
OPERATION
11
- 371 -
OPERATION
B-75074EN/04
11.1
OUTLINE
The alarm and warning screen has the [Alarm Message] button and [Warning Log Display] button.
Alarm message
Clicking this button displays the alarm message screen. The alarm message screen shows any current alarm state of a machine by the alarm message if the communication protocol is FOCAS2/Ethernet. If the communication protocol is DNC2, the alarm type is shown instead. Any operator message is shown at the same time.
NOTE 1 FANUC Series 16i/18i/21i can use the operator message display function if the external data input or external message function is provided. Power Mate i does not require any optional function to use the operator message function. 2 To use the alarm message display function, the FOCAS2/Ethernet or DNC2 function is required. To use the operator message display function, the FOCAS2/Ethernet function is required. 3 The operator message display function for Series 30i/31i/32i is under development.
- 372 -
B-75074EN/04
OPERATION
NOTE 1 If the WRN lamp blinks, activate error log display on the warning log display screen and send the log to FANUC. 2 When the screen is displayed with WebView, error log display is not performed.
- 373 -
OPERATION
B-75074EN/04
11.2
Method of activation
Automatic update
This screen is updated to the latest information at intervals of one minute.
Method of operation
<2> Machine name display <4> Status display for each path <1> Machine number display <6> Display refresh button
- 374 -
B-75074EN/04
OPERATION
When DNC2 is used The following items are displayed: Path No. Bit Type Example
- 375 -
OPERATION
B-75074EN/04
NOTE When DNC2 is used, only those alarms that are irrelevant to axes can be displayed.
NOTE 1 If four operator messages are displayed on the i CELL setting screen, and a function for displaying four messages is set on the NC, up to four operator messages can be displayed. In other cases, only one message can be displayed. 2 The symbols & and ~ displayed on the NC side are displayed as indicated below. NC side & i CELL side _ ~
- 376 -
B-75074EN/04
OPERATION
11.3
Method of activation
- 377 -
V. USER CUSTOMIZATION
B-75074EN/04
USER CUSTOMIZE
1.OVERVIEW
OVERVIEW
Part V, "USER CUSTOMIZATION", provides information required to customize the i CELL. 1. 2. OVERVIEW This is the chapter you are reading now. ADDING SCREENS This chapter describes the method of adding new screens to the i CELL. DATABASE SPECIFICATIONS This chapter describes the specifications of the i CELL database. REFERENCING THE DATABASE This chapter describes the method of referencing the i CELL database from Excel.
3.
4.
- 381 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
ADDING SCREENS
This chapter describes the method of adding new screens to the i CELL. A new screen to be added must match the screen system (configuration) of the i CELL. This chapter describes items necessary for this purpose. This chapter alose describes DLL usable for screen creation. For details of operating the editor CimEdit for creating screens, refer to "CIMPLICITY HMI CimEdit OPERATORS MANUAL (B-75064EN-1)".
- 382 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.1
2.1.1
Screen Configuration
The screen configuration of the i CELL is outlined below. Basically, the individual screens are hierarchically structured in each function group.
Function Group (Function Overlay Tab) Main Menu Overview Standard Screen (*1) Menu Menu Menu Screen List for Each Machine NC Program Management Machining Result Workpieces Process Result Tool Life Management Function Screen (*2)
Menu
Maintenance
Alarm History Display Operation History Display Data Input/Output FROM/SRAM Backup Backup Data Display
Remote Support
Menu
Remote Support
- 383 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
(*1) Standard screen: Screen that is opened when the function switch tab is selected and has a function for switching to another screen of the same group. In the function groups with no standard screen, the screens (Machining Result, Actual Position Display, and Alarm History Display) displayed at the top of the function screen serve as standard screens. These screens can be called either standard screens or function screens. (*2) Function screen: Screen that has a function such as for data display
2.1.2
Screen Switching
With the i CELL, the screen display can be basically switched in the arrow directions shown in the outline of the screen configuration of Subsection 2.1.1, "Screen Configuration". Example 1 : Overview group When the OverView tab is selected, the screen display switches to the menu. From the menu, the screen display can be switched to Screen List for Each Machine. Example 2 : Operation Monitoring group When the Op. Monitoring tab is selected, the screen display switches to Machining Result. From Machining Result, the screen display can be switched to Workpieces Process Result and Tool Life Management. From Workpieces Process Result, the screen display can be switched to Machining Result and Tool Life Management. From Tool Life Management, the screen display can be switched to Machining Result and Workpieces Process Result. Example 3 : Alarm and Warning group When the Alarm & Warning tab is selected, the screen display switches to Menu. From Menu, the screen display can be switched to Alarm Message and Warning Log Display. The screen display cannot be switched between Alarm Message and Warning Log Display. To switch to another function group, the function switch tab is usually used. However, by using Main Menu, Screen List for Each Machine of Overview, the <Back> button, or the warning and alarm lamps, the screen display can be switched to a particular screen. For screen switch operation, see the relevant items in Part IV, "OPERATION".
- 384 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.2
SCREEN ADDITION
This chapter sequentially describes jobs required to add new screens.
NOTE Before performing screen addition jobs (such as screen creation and modification), be sure to back up the i CELL. For the method of backup, see Chapter 5, "BACKUP AND RESTORATION", in Part II, INSTALLATION".
2.2.1
NOTE Up to ten function groups can be used with the current i CELL. However, eight function groups are already used, so that only two function groups can be added.
- 385 -
USER CUSTOMIZE
B-75074EN/04
Determine the basic items indicated in the table below. The items are used in various settings described later.
Basic items Description Name of a function group Character string displayed on a function switch tab. Two rows are used for display in a function switch tab. A character string is to be displayed on each of the upper and lower rows. Selection of whether the function switch tab of a function group is visible when WebView is executed. 0: Visible, 1: Invisible Name of a screen to be opened when you click a function switch tab Actual Cim file name of a standard function 6-digit ID whose 3 higher digits do not duplicate any other standard screen ScreenIDs (*1) Name of a function screen Actual Cim file name of a function screen Standard screen ScreenID whose 3 lower digits are modified. No duplication with other ScreenIDs is allowed. (*1)
Item Function group name Function switch tab character string display (upper row/lower row) Visibility in WebView Standard screen name Standard screen file name Standard screen ScreenID Function screen name Function screen file name Function screen ScreenID
Example User Function Upper row: User Lower row: Function 0: Visible User standard screen StnScr.cim 900000 User function screen FncScr.cim 900001
- 386 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.2.2
Example [Menu] 100000 = "Main Menu" . 108000 = "Remote Support" 900000 = "User Function" [File Name] xxx000 = "File Name" 100000 = "MainMenu.cim" . 108000 = "RemoteDgnMenu.cim" 900000 = "StnScr.cim" [WebView Visibility] '0:Visible, 1:Invisible . 108000 = "1" 900000 = "0" [Tab Text] 100000_0 = "Main" . 108000_1 = "Support" 900000_0 = "User" 900000_1 = "Function" .
Added Line
Added Line
Visibility in WebView
Added Line
Added Line
NOTE Do not modify any other lines. Otherwise, the i CELL can malfunction.
4 Upon completion of addition, save and close the file.
- 387 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
A message box indicating the completion of function switch tab creation appears. Click the <OK> button.
Before modification
After modification
This completes modification to the function switch tab. Save and close the screen.
- 388 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.2.3
- 389 -
2.ADDING SCREENS
Title bar
USER CUSTOMIZE
B-75074EN/04
Message line
Back button
5 6
7 8
Open the TabPos.cim file with CimEdit (file selection > right-click > Edit). Select all necessary objects from the general-purpose tab control, Back button, title bar, message line, and warning and alarm lamps of the TabPos.cim screen (multiple objects can be selected by clicking each object while holding down the Shift key), then select Edit then Copy from the menu. On the BaseScr.cim screen, select Edit then Paste Special from the menu. A dialog box appears. Select Paste Link then click the <OK> button.
- 390 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
9 10
Select only one pasted object, then right-click then select Properties. The Properties-Link Container dialog box appears. Select the Link Container tab, then change the data in the text box of "Link source file" to TabPos.cim (delete"%iCELL%\CimProject\screens\").
11 12
After making a change, click the <OK> button then close the dialog box. After performing steps 9 to 11 for all pasted objects, save and close the screen.
As described above, if "Paste Link" is executed for an object, a modification to the object can be made only by making a modification to the object in the link source file (TabPos.cim). For details of each pasted object, see Section "GENERAL-PURPOSE OBJECTS FOR THE i CELL". 2.3,
- 391 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.2.4
2.2.4.1
File creation
Produce two copies of the basic screen file in the %iCELL%\CimProject\screens directory, then assign a standard screen file name and function screen file name determined in Subsection 2.2.1, "Determination of Basic Items" to the produced copies. When using the sample screen creation file SampleBaseScr.cim, produce two copies of the file in the %iCELL%\CimProject\screens directory. In the explanation below, the sample file names are used. That is, the name of the standard function screen is StnScr.cim, and the name of the function screen file is FncScr.cim.
- 392 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.2.4.2
Set each variable indicated in the table below. To match the sample settings in Subsection 2.2.1, "Determination of Basic Items", the values to be set in StnScr.cim and FncScr.cim are also described.
- 393 -
2.ADDING SCREENS
USER CUSTOMIZE
Setting of screen variables Description Tab number of the function group to which the screen belongs. From top to bottom, the tab numbers are 0, 1, 2, ..., and 9. (*1) Value that does not duplicate any other screens of the function group to which the screen belongs. The value is 0 for the screen that is displayed when the tab is selected. Initial value: -1 (*2) Initial value: -1 (*2) Initial value: 0 (*2) Text character string for representing the name of the function screen to which the screen belongs Text character string for representing a screen name
B-75074EN/04
Variable FanucTabCtl_FirstSelected
StnScr.cim 8
FncScr.cim 8
FanucTabCtl_SubID
-1 -1 0 User Function
FNC_MsgFlag
FNC_ErrFlag FNC_DspFlag
User standard screen Text character string to be displayed. This character string Message needs to be enclosed in double quotation marks ("). Initial value: "Message" (*3) 0 Whether a message is to be displayed is indicated. 0 (initial value): Not displayed, Other than 0: Displayed (*3) Whether an error has occurred is indicated. 0 0 (initial value): Normal, Other than 0: Error (*3) 0 Whether screen display is being processed is indicated. 0 (initial value): Not being processed, 1: Being processed (*3)
0 0
(*1) The newly usable value is 8 or 9. (*2) Do not change the value. If a value other than the initial value is set, the function switch tab can malfunction. (*3) The value need not be changed. The values of these variables are changed by a script or action to control the screen (general-purpose objects for the i CELL). For details of the general-purpose objects for the i CELL, see Section 2.3, "GENERAL-PURPOSE OBJECTS FOR THE i CELL". 5 6 When all screen variables have been set, click the <OK> button, then close the dialog box. Save the screen.
- 394 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.2.4.3
Screen switching
With the function switch tab, the screen display can be switched only between the standard screens of individual function groups, and the screen display cannot be switched between screens in the same group. To switch to another screen, a mechanism for switching to a standard screen needs to be created. This subsection describes the method of creating a mechanism for screen switching by using a screen switching action. 1 2 3 4 5 6 7 8 9 10 11 12 13 Open the StnScr.cim file with CimEdit (file selection > right-click > Edit). Open the Properties-Screen dialog box (select Format then Screen Properties from the menu), then select the Procedures tab. Click the <New> button then select the Actions tab. Enter an appropriate name (e.g., OverlayFncScr) in Procedure Name then click the <New> button. After setting "Overlay screen" in the action type field, enter the screen name (FncScr.cim) then select the basic project (CIMPROJECT). Click the <OK> button to return to the Properties-Screen dialog box. Click the <OK> button to end the creation of the procedure. Select Tools then Text Button from the menu then place the text button at an appropriate location. Open the Properties-Object dialog box of the placed text button (object selection > right-click > Properties), then select the Events tab. Click the <Create> button. Set "Mouse Down" in the event field, then set the procedure OverlayFncScr created previously in the action field. Click the <OK> button to end the creation of the event. Save the screen.
By setting a desired file name as a switching file name, a mechanism for switching directly from a particular screen to another screen can be created in a similar way. Example Menu Operation Monitoring (Machining Result) Screen List for Each Machine Tool Life Management As described above, a standard screen and function screen can be created according to the i CELL system. By adding various objects to these screens later on, customized screens can be created.
- 395 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.3
2.3.1
Setting
The screen variables below need to be set.
FanucTabCtl_FirstSelected Tab number of the function group to which the screen belongs. From top to bottom, the tab numbers are 0, 1, 2, ..., and 9. Value that does not duplicate any other screens of the function group to which the screen belongs. The value is 0 for the screen that is displayed when the tab is selected. Initial value: -1. Do not change the value. Initial value: -1. Do not change the value. Initial value: 0. Do not change the value. (*1) Whether an error has occurred is indicated. 0 (initial value): Normal, Other than 0: Error Whether screen display is being processed is (*1) indicated. 0 (initial value): Not being processed, 1: Being processed
FanucTabCtl_SubID
(*1) With the general-purpose tab control, the variables are used as an operation execution condition. Execution condition: FNC_ErrFlag=0 and FNC_DspFlag1
- 396 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
Operation
When you double-click a tab, the screen display switches to the corresponding function screen.
2.3.2
Back Button
When you click the Back button, the screen currently open is closed and the screen that was previously open is opened.
Setting
The screen variables below need to be set.
FNC_ErrFlag FNC_DspFlag Whether an error has occurred is indicated. 0 (initial value): Normal, Other than 0: Error (*1) Whether screen display is being processed is indicated. 0 (initial value): Not being processed, 1: Being processed
(*1)
(*1) With the general-purpose tab control, the variables are used as an operation execution condition. Execution condition: FNC_ErrFlag=0 and FNC_DspFlag1
Operation
When you click the Back button, a procedure is executed to close the screen currently open and open the screen that was previously open.
2.3.3
Title Bar
The title bar displays a package name ("Integrated Package" by default), menu (function) name, screen name, and date and time (CIMPLICITY system point value).
Package name
Screen name
Setting
The screen variables below need to be set.
FNC_TBar_Menu FNC_TBar_ScrName Text character string for representing a menu (function) name Text character string for representing a screen name
Operation
When a screen is opened, the menu (function) name, screen name, and date and time information are acquired and displayed.
- 397 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.3.4
Message Line
The message line displays a message.
Message
<OK> button
Setting
The screen variables and procedure below need to be set. Screen variables
FNC_MLine_DspMsg
FNC_ErrFlag FNC_MsgFlag
Text character string to be displayed. This character string needs to be enclosed in double quotation marks ("). Example: "Error occurred." Whether an error has occurred is indicated. (*1) 0 (initial value): Normal, Other than 0: Error Whether a character string is to be displayed is indicated. (*1) 0 (initial value): Not displayed, Other than 0: Displayed
(*1) With the message line, the variables are used as an operation execution condition. Execution condition: FNC_ErrFlag 0 or FNC_MsgFlag0 Procedure
ErrorFlagLow
Procedure executed to set FNC_ErrFlag=0. Ensure that the action FNC_ErrFlag=0 is included.
Operation
A message is displayed. When an error occurs, a message is displayed with FNC_ErrFlag0 (red characters). In other cases, a message is displayed with FNC_MsgFlag0 (blue characters). When FNC_ErrFlag0, the <OK> button is displayed. When you click this button, an event for calling the procedure ErrorFlagLow (setting FNC_ErrFlag=0 by action) occurs, and the message and button are hidden.
- 398 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.3.5
Warning lamp
Setting
The points below need to be set.
FNCSYSP.F_WARNING
FNCSYSP.F_ALARM
FNCSYSP.F_OPM
Whether a warning is output with the i CELL is indicated. 0: Not output, 1: Output Whether an alarm is output with the NC is indicated. 0: Not output, 1: Output Whether an operator message is output with the NC is indicated. 0: Not output, 1: Output
These points are automatically set by the i CELL, so that the user need not set these points.
Operation
When FNCSYSP.F_WARNING=1, the warning lamp blinks in yellow. When FNCSYSP.F_ALARM=1, the alarm lamp blinks in red. When FNCSYSP.F_OPM=1 and FNCSYSP.F_ALARM1, the alarm lamp blinks in purple, and the character string changes from "ALM" to "OPM". If you click a blinking lamp, the screen display switches to a screen that provides detailed information.
- 399 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.4
ScreenID.ini
ScreenID.ini is the ini file for setting a screen ID (ScreenID) and is stored under the %iCELL%\CimProject\fanuc\Setting\Screen directory. By setting the screen ID of each screen in this file, the selection of a machine with the machine selection control is enabled. When using the machine selection control, be sure to set this file.
2.4.1
File Modification
Modify the file according to the procedure below. 1 2 3 Copy the ScreenID.ini file stored under the %iCELL%\CimProject\fanuc\Setting\Screen directory and create a backup file for safety. Open the ScreenID.ini file. By using the ScreenID determined in Subsection 2.2.1, "Determination of Basic Items", make the following additions as described in the example below:
Example
Version Information
[Ini] Version=1.0.0.1 [FileName] 100000=MainMenu.cim . 108000=RemoteDgnMenu.cim 900000=StnScr.cim 900001=FncScr.cim [ScreenID] MainMenu=100000 . RemoteDgnMenu=108000 StnScr=900000 FncScr=900001
Added Line
Added Line
NOTE Do not modify the other lines. Otherwise, the i CELL can malfunction.
4 After making all necessary additions, save and close the file.
- 400 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.5
iCELL_ErrorMessage
iCELL_ErrorMessage is the OLE automation module (Active X DLL) used to write an error log related to the i CELL to the log file. iCELL_ErrorMessage is installed in iCELL_ErrorMessage.DLL. Use this module when writing a user-specific error log.
2.5.1
ErrorMessage
An error log is written to the log file. This class is installed in iCELL_ErrorMessage.ErrorMessage within iCELL_ErrorMessage.DLL.
2.5.1.1
Initialize
Method
Performs initialization processing.
- Syntax
object.Initialize LogName
- Setting
LogName
By using a character string expression, set the log identifier of the log file to which an error log is to be written. Set iCELLErrLog.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned.
Terminate
Performs termination processing.
- Syntax
object.Terminate
- Return value
None
WriteLog
Writes an error log to the log file.
- Syntax
object.WriteLog Message
- Setting
Message
- Return value
None
- 401 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.5.1.2
Example of usage
An example of program for writing an error log is provided below. Dim obj As Object Dim bRtn As Boolean Dim Message As String Set obj = CreateObject("iCELL_ErrorMessage.ErrorMessage") If obj Is Nothing Then MsgBox "CreateObject Error" Exit Sub End If bRtn = obj.Initialize("iCELLErrLog") If bRtn = False Then MsgBox "Initialize Error" Exit Sub End If Message = "Error Log Test" obj.WriteLog Message obj.Terminate Set obj = Nothing
- 402 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.6
iCELLDef
iCELLDef is the OLE automation module (Active X DLL) used to read and write data related to the i CELL. Values set on the i CELL setting screen can be acquired using iCELLDef. iCELLDef is installed in iCELLDef.DLL.
2.6.1
iCELLRW
iCELLRW reads and writes i CELL settings. This class is installed in iCELLDef.iCELLRW within iCELLDef.DLL.
2.6.1.1
Method
Reads communication-related settings.
ComDefRead - Syntax
object.ComDefRead Value()
- Setting
Value()
Be sure to specify this argument. Specify a two-dimensional array of character string type for storing read communication settings. Before calling this method, allocate two-dimensional array elements. Example: ReDim Value(0 to obj.mDispMachine 1, 0 to obj.pComDefItemCount 1) The array element number is to start with 0. On the setting screen, the maximum number of machines dynamically changes. In such a case, allocate an area of up to pMaxMachine-1 instead of mDispMachine-1. On the application screen, the maximum number of machines does not change, so that mDispMachine - 1 is sufficient.
- Explanation
When this method has been executed successfully, communication settings are written into Value(). The first dimension of a two-dimensional array represents machines and the other dimension represents the settings of each machine. Communication settings for the number of machines set in the public variable mDispMachine are set in the array. See the properties starting with pComDef for the meaning of each array element.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the public variable mErrorMessage.
- 403 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
iCELLItemNo
Acquires an item number indicating whether the function is enabled for each machine, from the screen ID.
- Syntax
ItemNo = object.iCELLItemNo(ScrID)
- Setting
ScrID ItemNo
Be sure to set ScrID. Specify a screen ID of long type. Item number of long type
- Explanation
When the method iCELLRead is executed, the settings of the i CELL related to each machine can be acquired in a two-dimensional array. With this method, when a screen ID is used, an item number indicating whether the function of the screen ID is enabled for each machine can be acquired. An item number acquired with this method is an element number in the second dimension of a two-dimensional array acquired with iCELLRead. A screen ID to be specified by the argument must already be set in the ScreenID section of the setting file %iCELL%\CimProject\fanuc\Setting\Screen\ScreenID.ini. This method checks the settings of this ini file to determine which function the specified screen ID represents, and returns the corresponding item number in a two-dimensional array.
- Return value
When an integer greater than 0 is returned, it represents an item number. If a screen ID not registered in the ini file, or a screen ID that has no distinction between the enabled and disabled states is specified, -1 is returned.
iCELLRead
Reads settings related to the i CELL.
- Syntax
object.iCELLRead Value()
- Setting
Value()
Be sure to specify this argument. Specify a two-dimensional array of character string type for storing read i CELL settings. Before calling this method, allocate two-dimensional array elements. Example: ReDim Value(0 to obj.mDispMachine 1, 0 to obj.piCELLItemCount 1) The array element number is to start with 0. On the setting screen, the maximum number of machines dynamically changes. In such a case, allocate an area of up to pMaxMachine-1 instead of mDispMachine-1. On the application screen, the maximum number of machines does not change, so that mDispMachine - 1 is sufficient.
- 404 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
- Explanation
When this method has been executed successfully, i CELL settings are written into Value(). The first dimension of a two-dimensional array represents machines and the other dimension represents the settings of each machine. i CELL settings for the number of machines set in the public variable mDispMachine are set in the array. See the properties starting with piCELL for the meaning of each array element.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the public variable mErrorMessage.
Initialize
Performs initialization processing.
- Syntax
object.Initialize Path
- Setting
Path
Set the %iCELL%\CimProject\ directory by using a character string expression. It is assumed that under this directory, a directory storing the ini file under the fanuc directory is configured. When the CIMPLICITY execution project environment variable SITE_ROOT is specified, this argument is omissible.
- Explanation
When this method has been executed successfully, the values of the public variables indicated below become valid. For details of each public variable, see Subsection 2.6.1.2, "Public variables".
mLanguage mDispMachine mMachineItemCount mScrIdCount mScrOverViewId mDirectory
Display language Maximum number of machines Number of machine setting items Number of screens within the screen master Screen ID specified for overview with a selected machine Directory of a setting file
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the public variable mErrorMessage.
MachineRead
Reads machine settings.
- Syntax
object.MachineRead Value()
- 405 -
USER CUSTOMIZE
B-75074EN/04
Value()
Be sure to specify this argument. Specify a two-dimensional array of character string type for storing read machine settings. Before calling this method, allocate two-dimensional array elements. Example: ReDim Value(0 to obj.mDispMachine 1, 0 to obj.pMachineItemCount 1) The array element number is to start with 0. On the setting screen, the maximum number of machines dynamically changes. In such a case, allocate an area of up to pMaxMachine-1 instead of mDispMachine-1. On the application screen, the maximum number of machines does not change, so that mDispMachine - 1 is sufficient.
- Explanation
When this method has been executed successfully, machine settings are written into Value(). The first dimension of a two-dimensional array represents machines and the other dimension represents the settings of each machine. Machine information for the number of machines set in the public variable mDispMachine is set in the array. See the properties starting with pMachine for the meaning of each array element.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the public variable mErrorMessage.
ScreenIdRead
Reads the screen master.
- Syntax
object.ScreenIdRead Value()
- Setting
Value()
Be sure to specify this argument. Specify a two-dimensional array of character string type for storing read screen information. Before calling this method, allocate two-dimensional array elements. Example: ReDim Value(0 to 1, 0 to obj.mScrIdCount 1) The array element number is to start with 0.
- Explanation
When this method has been executed successfully, set screen information is written into Value(). The first dimension of a two-dimensional array represents the settings of each screen. In the first item (0), a screen ID is set. In the second item (1), a cim file name is set. The second dimension represents types of screens. Screen information items as many as the value set in the public variable mScrIdCount are set in the array.
- 406 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the public variable mErrorMessage.
Terminate
Performs termination processing.
- Syntax
object.Terminate
- Return value
None
- 407 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.6.1.2
mDirectory
Public variables
Indicates the directory of a setting file.
- Syntax
object.mDirectory
- Explanation
This variable is of character is %iCELL%\CimProject\fanuc\. string type, and its path
mDispMachine
Indicates the maximum number of machines.
- Syntax
object.mDispMachine
- Explanation
This variable is of long type, and indicates the maximum number of machines. This value can be changed only through the setting screen. This means that this value indicates the number of machines to be connected by the user. Reference the property pMaxMachine for the maximum number of machines that can be connected according to the specification. When executing the method MachineRead(), allocate areas as many as this value for the elements of the first dimension of the array. Do not change the value through an application program.
mErrorMessage
Indicates an error message.
- Syntax
object.mErrorMessage
- Explanation
When the method fails, the cause is written into this variable. This variable is of character string type.
mLanguage
Indicates a display language.
- Syntax
object.mLanguage
- Explanation
This variable is of long type, and indicates a display language (0: Japanese, 1: English). Do not change the value through an application program.
- 408 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
mScrIdCount
Indicates the number of screen registered in the screen master.
- Syntax
object.mScrIdCount
- Explanation
This variable is of long type and indicates the number of screens registered in the FileName section of the screen master %iCELL%\CimProject\fanuc\Setting\Screen\ScreenID.ini.
mScrOverViewId
Indicates a screen ID for representing an overview screen.
- Syntax
object.mScrOverViewId
- Explanation
This variable is of long type, and indicates a screen ID for representing an overview screen.
mVersion, mServicePack
Indicates the version and service pack information of the i CELL.
- Syntax
object.mVersion object.mServicePack
- Explanation
These variables are of character string type. When the i CELL has version 1.3 and service pack 1, mVersion indicates "1.3", and mServicePack indicates "1".
- 409 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.6.1.3
Properties
- Syntax
object.pComDefD2ALTimeout
- Explanation
When ComDefRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.)
pComDefD2ALTimeout
Time-out period of the application layer (in seconds), represented by a number from 30 to 120 Maximum datagram length, represented by a number from 80 to 256 EOT time-out period (in seconds), represented by a number from 1 to 60 Maximum NAK retry count, represented by a number from 1 to 10 Output time-out period (in seconds), represented by a number from 1 to 60 Maximum retry count, represented by a number from 1 to 10 Non-response time-out period (in seconds), represented by a number from 1 to 60
- Syntax
object.pComDefFEC4Address
- 410 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
- Explanation
When ComDefRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.)
pComDefFEC4Address pComDefFEC4Enable pComDefFEC4Timeout pComDefFEEnable C4 server address, represented by a character string in the "192.162.0.1" format Number for indicating whether a C4 server is to be used: 1 for used and 0 for not used C4 server time-out period, represented by a number from 1 to 9999. The unit is 10 ms. Number for indicating whether communication settings are enabled or disabled: 1 for enabled and 0 for disabled Time-out period for the FOCAS2/Ethernet communication function, represented by a number from 1 to 9999. The unit is the second. IP address of an NC, represented by a character string in the "192.162.0.1" format TCP port number of an NC, represented by a number from 5001 to 65535 UDP port number of an NC, represented by a number from 5001 to 65535
pComDefFEFwLibTimeout
pComDefItemCount
Returns the number of communication setting items.
- Syntax
object.pComDefItemCount
- Explanation
When executing the method ComDefRead, allocate areas as many as this value for the elements of the second dimension of the array.
pComDefProtocol
This property returns the communication protocol.
- Syntax
object.pComDefProtocol
- Explanation
This property returns an integer starting with 0. The ordinal element number of the communication protocol in an array read with the method ComDefRead is indicated. As the element indicated by this property in the array, " " (blank character string: no communication protocol is set), object.pProtocolFE (FOCAS2/Ethernet), object.pProtocolDNC2(DNC2), or object.pProtocolRP (Reader/Puncher) is set.
- 411 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
pComDefRPDownloadAttr, pComDefRPUploadAttr
These properties return integers starting with 0. The ordinal numbers of these elements with meanings in an array read with the method ComDefRead are indicated. All of these are setting items related to Reader/Puncher communication. These are valid only when the value of pComDefProtocol is object.pProtocolRP.
- Syntax
object.pComDefRPDownloadAttr
- Explanation
When ComDefRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.)
pComDefRPDownloadAttr pComDefRPUploadAttr
Number for representing the download attribute Number for representing the upload attribute
- Syntax
object.pComDefSerialBaudRate
- Explanation
When ComDefRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.)
pComDefSerialBaudRate
pComDefSerialDataCode
pComDefSerialDataLen
pComDefSerialEnable
One of the following baud rates: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 Data code represented by one of the following character strings: ASCII, ISO, EIA Data length represented by one of the following numbers: 7, 8 Information about enabled/disabled state. 1: Enabled, 0: Disabled
- 412 -
B-75074EN/04
USER CUSTOMIZE
pComDefSerialParity
2.ADDING SCREENS
Parity represented by one of the following character strings NONE No parity ODD Odd parity EVEN Even parity Serial communication port number, represented by a number from 1 to 64 Stop bit, represented by one of the following character strings: 1, 1.5, 2
pComDefSerialPort pComDefSerialStopBit
piCELLItemCount
This property returns the number of i CELL setting items.
- Syntax
object.piCELLItemCount
- Explanation
When executing the method iCELLRead, allocate areas as many as this value for the elements of the second dimension of the array.
- Syntax
object.piCELLOverViewEnable
- Explanation
When iCELLRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.) Each item is disabled when the value is 0, and each item is enabled when the value is 1.
piCELLOverviewEnable piCELLRunTimeEnable piCELLWorkResultEnable piCELLAlarmEnable piCELLToolLifeEnable piCELLNCDispOpeEnable piCELLOperatorMessageEnable
Overview Run time Machining result Alarm Tool life NC display/operation/maintenance Operator message
pMachineItemCount
This property returns the number of machine setting items.
- Syntax
object.pMachineItemCount
- 413 -
USER CUSTOMIZE
B-75074EN/04
When executing the method MachineRead, allocate areas as many as this value for the elements of the second dimension of the array.
- Syntax
object.pMachineName
- Explanation
When MachineRead is executed, settings are loaded into a two-dimensional array. In the second dimension of the two-dimensional array, the values of the elements with these property numbers have the meanings indicated below. (The first dimension of the array represents machines.)
pMachineNo pMachineName pMachineNCType
pMachineNCSpec
pMachinePath01-10
pMachinePMC
Machine number from 1 to 999 Machine name. When the length is 0, no machine is set. NC type. One of the following character strings is set: " "(Blank character string: No machine is set.) object.pNCTypeFS0C(FS0C) object.pNCTypeFS15A(FS15A) object.pNCTypeFS15B(FS15B) object.pNCTypeFS16i(FS16/18/21i) object.pNCTypePMiDH(Power Mate i D/H) object.pNCTypeFS30i(FS30i) object.pNCTypeFS31i(FS31i) object.pNCTypeFS32i(FS32i) object.pNCTypeFS0i(FS0i) object.pNCTypeOther(others) NC specification, represented by a character string such as M, T, and TT. object.pNCSpecFS16iM(M) object.pNCSpecFS16iT(T) object.pNCSpecFS16iTT(TT) object.pNCSpecPMiDH(D/H) object.pNCSpecPMiD2(D2) NC specification for each path. One of the following character strings is set: " " (Blank character string: The NC does not have the path.) object.pNCSpecM (M series) object.pNCSpecT (T series) "P" is input for Power Mate. PMC type. One of the following character strings is set: object.pPMCN_NA (N and NA) object.pPMCNB_NB2 (Node-B and NB2) object.pPMCNone (Blank character string: No setting made: Other than above)
- 414 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
pNCSpecM, pNCSpecT
These properties indicate the character string representing an NC specification in machine setting.
- Syntax
object.pNCSpecM
- Explanation
The values of the object.pMachinePath01 to object.pMachinePath10 elements of the second dimension of a two-dimensional array acquired by executing the method MachineRead are " " (blank character string) or the value returned by these properties.
object.pNCSpecM object.pNCSpecT
M series T series
pNCTypeFS0C, pNCTypeFS15A, pNCTypeFS15B, pNCTypeFS16i, pNCTypePMiDH, pNCTypeFS30i, pNCTypeFS31i, pNCTypeFS32i, pNCTypeFS0i, pNCTypeOther
These properties indicate the character strings representing an NC type in machine setting.
- Syntax
object.pNCTypeFS16i
- Explanation
The value of the object.pMachineNCType element of the second dimension of a two-dimensional array acquired by executing the method MachineRead is " " (blank character string) or the value returned by these properties.
object.pNCTypeFS0C object.pNCTypeFS15A object.pNCTypeFS15B object.pNCTypeFS16i object.pNCTypePMiDH object.pNCTypeFS30i object.pNCTypeFS31i object.pNCTypeFS32i object.pNCTypeFS0i object.pNCTypeOther
FS0C FS15A FS15B FS16/18/21i Power Mate i D/H FS30i FS31i FS32i FS0i Others
- Syntax
object.pProtocolFE
- 415 -
USER CUSTOMIZE
B-75074EN/04
The value of the object.pComDefProtocol element of the second dimension of a two-dimensional array acquired by executing the method ComDefRead is " " (blank character string) or the value returned by these properties.
object.pProtocolDNC2 Object.pProtocolFE Object.pProtocolRP
2.6.1.4
Example of usage
A sample program for indicating a machine number, name, communication protocol, IP address of FOCAS2/Ethernet, whether the setting of FOCAS2/Ethernet is valid, and whether the overview function of the i CELL is provided below. Dim obj As Object Dim bRtn As Boolean Dim Machine() As String Dim ComDef() As String Dim iCELL() As String Dim Count As Long Dim Message As String Set obj = CreateObject("iCELLDef.iCELLRW") If obj Is Nothing Then MsgBox "CreateObject Error" Exit Sub End If bRtn = obj.Initialize() If bRtn = False Then MsgBox obj.mErrorMessage Exit Sub End If ReDim Machine(0 To obj.mDispMachine - 1, _ 0 To obj.pMachineItemCount - 1) ReDim ComDef(0 To obj.mDispMachine - 1, _ 0 To obj.pComDefItemCount - 1) ReDim iCELL(0 To obj.mDispMachine - 1, _ 0 To obj.piCELLItemCount - 1) bRtn = obj.SysDefRead() If bRtn = False Then MsgBox obj.mErrorMessage Exit Sub End If
- 416 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
bRtn = obj.MachineRead(Machine()) If bRtn = False Then MsgBox obj.mErrorMessage Exit Sub End If bRtn = obj.ComDefRead(ComDef()) If bRtn = False Then MsgBox obj.mErrorMessage Exit Sub End If bRtn = obj.iCELLRead(iCELL()) If bRtn = False Then MsgBox obj.mErrorMessage Exit Sub End If For Count = 0 To obj.mDispMachine - 1 Message = Machine(Count, obj.pMachineNo)& ":" & _ Machine(Count, obj.pMachineName) & Chr(13) & Chr(10) & _ ComDef(Count, obj.pComDefProtocol) & "," & _ ComDef(Count, obj.pComDefFEIPAddress) & ", Enable=" & _ ComDef(Count, obj.pComDefFEEnable) & Chr(13) & Chr(10) & _ "OverView=" & iCELL(Count, obj.piCELLOverViewEnable) MsgBox Message Next Count Set obj = Nothing
- 417 -
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
2.7
2.7.1
Overview
The control need not be installed. The control is automatically installed when the i CELL is installed.
Method of installation
2.7.2
No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Property
Property name Function Background color Background style. 0:Not filled (default), 1:Filled Whether a C4 server is to be used. 1:Used, 0:not used Time-out count for NC power supply determination Whether communication is enabled. True:Enabled, False:Not enabled Number of time-out seconds in communication IP address TCP port number UDP port number Character string representing a connection protocol name. See pComDefProtcol of the iCELLDef.iCELLRW object. Character string representing a protocol name. Same as pProtocolDNC2 of the iCELLDef.iCELLRW object Character string representing a protocol name. Same as pProtocolFE of the iCELLDef.iCELLRW object. Whether the connection protocol is DNC2. 0:Others, 1:DNC2 Whether the connection protocol is FOCAS2/Ethernet. 0:Others, 1:FOCAS2/Ethernet Whether the connection protocol is Reader/Puncher. 0:Others, 1:Reader/Puncher Character string representing a protocol name. Same as pProtocolRP of the iCELLDef.iCELLRW object. Gap ratio between the machine display portion and path display portion (*1) Whether this screen is valid on a machine. True:Valid, False:Not valid Whether error messages are to be displayed. False:Not displayed (default), True:Displayed Character string representing an error message
- 418 -
B-75074EN/04
USER CUSTOMIZE
Property name Function
2.ADDING SCREENS
No
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
Font FontBold FontItalic FontName FontSize InstallPath IsInitialize IsOverView McnName McnNameLong McnNo McnNoComboData McnNoComboDispMode McnNoComboEnable McnNoComboVisible McnNoComboWidthRatio McnNoCounts McnNoTitle McnNoTitleColor McnNoTitleEnable McnNoTitleHeightRatio McnNoTitleState McnNoTitleVisible McnNoTitleWidthRatio OverViewImagePath PathName PathNo PathNoComboData PathNoComboDispMode PathNoComboEnable PathNoComboVisible PathNoComboWidthRatio PathNoTitle PathNoTitleColor PathNoTitleEnable PathNoTitleHeightRatio PathNoTitleState PathNoTitleVisible PathNoTitleWidthRatio PcScrMcnListCounts
Font object: Bold, Italic, Name, Size, Underline No font object is displayed in the dialog box of CIMPLICITY, so this property is valid although it duplicates the font object. Path where a project is installed Whether initialization processing has been executed. True:Executed, False:Not executed Whether the screen is an overview screen. True:Overview, False:Others Machine name Long machine name Machine number. 0 when no valid machine is assigned to a screen function. Character string actually displayed in the machine combo box Machine combo box display format 1(mNumber):Number, 2(mName):Name, 3(mNumName):Number.Name, 4(mLongName):Long-name, 5(mNumLongName):Number.Long-name Whether the user is allowed to operate the machine combo box. False:Not allowed, True:Allowed (default) Whether the machine combo box is to be displayed. False:Not displayed, True:Displayed (default) Machine combo box width ratio (*1) Whether a valid machine is assigned to a screen function. True:Assigned, False:Not assigned Text character string for a machine title button Machine title button color Whether the user is allowed to operate a machine title button. False:Not allowed, True:Allowed (default) Machine title button height ratio Machine title button state: False (default), True Whether a machine title button is to be displayed. False:Not displayed, True:Displayed (default) Machine title button width ratio (*1) Path of an image set on the overview Path name Path number Character string actually displayed in the path combo box Path combo box display format 1(pNumber):Number, 3(pNumName):Number.Name Whether the user is allowed to operate the path combo box. False:Not allowed, True:Allowed (default) Whether the path combo box is to be displayed. False:Not displayed, True:Displayed (default) Path combo box width ratio (*1) Text character string for a path title button Path title button color Whether the user is allowed to operate a path title button. False:Not allowed, True:Allowed (default) Path title button height ratio Path title button state: False (default), True Whether a path title button is to be displayed. False:Not displayed, True:Displayed (default) Path title button width ratio (*1) Number of screens in which ScreenID is stored
- 419 -
2.ADDING SCREENS
No Property name
USER CUSTOMIZE
Function
B-75074EN/04
61 62 63 64
Number of setScreenIDs Version information Text button control version information Combo box control version information
McnNoComboWidthRatio
DispArrangeGap
PathNoComboWidthRatio
McnNoTitleWidthRatio
PathNoTitleWidthRatio
- 420 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.7.3
No
Method
Method Function
Hide
Hides the control.
- Syntax
object.Hide
- Return value
None
Initialize
Performs initialization processing.
- Syntax
object.Initialize Path
- Setting
Path
Set the %iCELL%\CimProject\ directory by using a character string expression. It is assumed that under this directory, a directory storing the ini file under the fanuc directory is configured.
- Explanation
When this method has been executed successfully, the properties starting with ComDef are enabled.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the property ErrorMessage.
ReadSlectMcnInfo
Acquires the machine number and path set in the ini file then displays such information, and sets various information items in properties.
- Syntax
object.ReadSlectMcnInfo PCName, FileName, McnNoInScr
- 421 -
USER CUSTOMIZE
B-75074EN/04
Set the local computer name by using a character string expression. Set the CimView screen file name being activated, by using a character string expression. Number of controls set on the screen
- Explanation
When this method has been executed successfully, the machine information currently selected is set in the properties enabled by the method Initialize.
- Return value
A Boolean value is returned. When the processing is successful, True is returned. When the processing fails, False is returned. When the processing fails, the cause is set in the property ErrorMessage.
Refresh
Redraws the control.
- Syntax
object.Refresh
- Return value
None
Save
Saves the machine number and path selected on the screen.
- Syntax
object.Save
- Explanation
The machine number and path number selected on the screen are saved to %iCELL%\CimProject\fanuc\Setting\Screen\ScreenCnf.ini. If a machine drawing is set on the overview screen, the path is also saved.
- Return value
None
Terminate
Performs termination processing.
- Syntax
object.Terminate
- Return value
None
- 422 -
B-75074EN/04
USER CUSTOMIZE
2.ADDING SCREENS
2.7.4
No
Event
Event Function
2.7.5
Example of Usage
A sample program for changing the text character string of a machine title button in accordance with the machine combo box display format and displaying the machine number, path, name, and communication protocol is provided below. Dim scr As GefScreen Dim obj As GefObject Dim ole As GefObject Dim pLocalPC As New Point Dim pProjectPC As New Point Dim LocalPC As String Dim ProjectPC As String Dim CurrentDir As String Dim CurrentDirLen As Long Dim CimFileName As String Dim HostName As String Dim McnNoInScr As Integer Dim s As string Set scr = CimGetScreen Set obj = scr.Object.Objects.Item("McnSlct") (*1) Set ole = obj.OleObject ' Initialization pLocalPC.ID = "$LOCAL.COMPUTER" pProjectPC.ID = "$PROJECT.COMPUTER" LocalPC = pLocalPC.GetValue ProjectPC = pProjectPC.GetValue If LocalPC = ProjectPC Then s = Environ$("SITE_ROOT") Else CurrentDir = CurDir$() If Right(CurrentDir, 1) <> "\" Then CurrentDir = CurrentDir + "\" End If CurrentDirLen = Len(CurrentDir) s = Left(CurrentDir, CurrentDirLen - 8) ' 8=screens\ End If
- 423 -
(*1) McnSlct is the name assigned to the machine selection control on the CimEdit screen.
2.ADDING SCREENS
USER CUSTOMIZE
B-75074EN/04
If Not ole.Initialize(s) Then MsgBox ole.ErrorMessage End If ' Display HostName = LocalPC CimFileName = FileParse$(scr.FullName, 4) & ".cim" McnNoInScr = 1 If Not ole.ReadSlectMcnInfo(HostName, _ CimFileName, McnNoInScr) Then MsgBox ole.ErrorMessage End If ' Title character setting Select Case ole.McnNoComboDispMode Case 1 ole.McnNoTitle = "machine-number" Case 2, 4 ole.McnNoTitle = "machine-name" Case 3, 5 ole.McnNoTitle = "machine-number.name" End Select MsgBox ole.McnNo MsgBox ole.PathNo MsgBox ole.ComDefProtocol ' Termination processing If ole Is Not Nothing Then ole.Save ole.Terminate Set ole = Nothing End If If obj Is Not Nothing Then Set obj = Nothing End If Set scr = Nothing
- 424 -
B-75074EN/04
USER CUSTOMIZE
3.DATABASE SPECIFICATIONS
3
3.1
DATABASE SPECIFICATIONS
This chapter describes the specifications of the database (file name: iCELL.mdb) used with the i CELL.
OVERVIEW
The i CELL database stores data used for the Machining Result screen and Workpieces Process Result screen. By operating this database, a display screen different from the one used with the i CELL can be created. Note, however, that this database allows only read operation. When the NC is to collect information not available from the i CELL by using the CIMPLICITY function, the user should create a database separate from the i CELL database.
3.1.1
i CELL
i CELL setting screen
<3>
i CELL screen
<4>
NC
- 425 -
3.DATABASE SPECIFICATIONS
USER CUSTOMIZE
B-75074EN/04
3.1.2
i CELL Database
The i CELL database is stored at the following location: Directory name : %iCELL%\CimProject\fanuc\data File name : iCELL.mdb (%iCELL% indicates the directory where the i CELL is installed.) The database is created using Microsoft Access 97. So, whenever possible, use Microsoft Access 97 to open the database. If a version other than Microsoft Access 97 is used, do not save files. Otherwise, the i CELL can malfunction. For compatibility between versions, contact Microsoft Corporation.
Read only
The database allows read operation only. Do not write data and do not modify the table design and data. Otherwise, the i CELL can malfunction. However, the WKPCPlan - workpiece machining count setting table only allows data to be modified and added.
3.1.3
- 426 -
B-75074EN/04
USER CUSTOMIZE
3.DATABASE SPECIFICATIONS
3.2
3.2.1
MACHINING RESULT
This section describes the tables used with the Machining Result screen.
Field name
Data type
Description <relevant items for the basic functions in the part for setting of the operator's manual>
ID McnID Enable
AutoNumber Machine ID (1 to 999) Whether the machining result is to be used (0:Not used/1:Used) <i CELL machine setting>
3.2.2
- 427 -
3.DATABASE SPECIFICATIONS
USER CUSTOMIZE
B-75074EN/04
Field name
Data type
Description
ID McnID FirstClock FirstPOn FirstOp1 FirstOp2 FirstCut1 FirstCut2 FirstCnt1 FirstCnt2 LastClock LastPOn LastOp1 LastOp2 LastCut1 LastCut2 LastCnt1 LastCnt2
Auto number Numeric type Date/time type Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type Date/time type Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type
AutoNumber Machine ID (1 to 999) Time of the first data acquisition of the day Cumulative power-on time at FirstClock time [minute] Operation time (cumulative time of automatic operation) at FirstClock time I [ms] Operation time (cumulative time of automatic operation) at FirstClock time II [minute] Cumulative cutting time at FirstClock time I [ms] Cumulative cutting time at FirstClock time II [minute] Machined parts count at FirstClock time Total machined parts count at FirstClock time Time of the last data acquisition of the day Cumulative power-on time at LastClock time [minute] Operation time (cumulative time of automatic operation) at LastClock time I [ms] Operation time (cumulative time of automatic operation) at LastClock time II [minute] Cumulative cutting time at LastClock time I [ms] Cumulative cutting time at LastClock time II [minute] Machined parts count at LastClock time Total machined parts count at LastClock time
Method of collecting data on the Machining Result screen Collect records by specifying the McnID and FirstClock conditions and make calculations according to the following expressions: [Power-on time (seconds)] = ( [LastPOn] - [FirstPOn] ) * 60 [Operation time (seconds)] = ( [LastOp1] - [FirstOp1] ) / 1000 + ( [LastOp2] - [FirstOp2] ) * 60 [Cutting time (seconds)] = ( [LastCut1] - [FirstCut1] ) / 1000 + ( [LastCut2] - [FirstCut2] ) * 60 [Machined parts count] = [LastCnt1] - [FirstCnt1] [Total machined parts count] = [LastCnt2] - [FirstCnt2]
- 428 -
B-75074EN/04
USER CUSTOMIZE
3.DATABASE SPECIFICATIONS
3.3
3.3.1
Field name
Data type
Description <relevant items for the basic functions in the part for setting of the operator's manual>
McnID McnName
Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type
Machine ID (1 to 999) <Machine information/number> Name character string corresponding to a machine ID (not longer than 20 half-size characters) <Machine information/name> Whether a workpiece ID is to be used (0:Not used/1:Used) <i CELL machine setting/machining result/setting/workpiece ID> Whether an O number is to be used (0:Not used/1:Used) <i CELL machine setting/machining result/setting/O number> Whether a machining end ID is to be used (0:Not used/1:Used) <i CELL machine setting/machining result/setting/machining end ID> Whether a user area ID is to be used (0:Not used/1:Used) <i CELL machine setting/machining result/setting/user area ID> Whether handshaking is performed (0:Not performed/1:Performed) <i CELL machine setting/machining result/setting> Whether the Workpieces Process Result screen is to be used (0:Not used/1:Used) <i CELL machine setting>
- 429 -
3.DATABASE SPECIFICATIONS
USER CUSTOMIZE
B-75074EN/04
3.3.2
Field name
Data type
Description <relevant items for the basic functions in the part for setting of the operator's manual>
WorkID WorkName
PlanTime
Numeric type
Workpiece ID (1 to 99,999,999) <i CELL overall machining result setting/workpiece ID/workpiece ID> Name character string corresponding to a workpiece ID (not longer than 20 half-size characters) <i CELL overall machining result setting/workpiece ID/workpiece name> Planned machining time [sec] <i CELL overall machining result setting/workpiece ID/planned machining time>
3.3.3
Field name
Data type
Description <relevant items for the basic functions in the part for setting of the operator's manual>
ID LastID LastStr
Order
Numeric type
AutoNumber Machining end state ID (1 to 9,999) <i CELL overall machining result setting/machining end ID/machining end ID> Character string corresponding to a machining end state ID (not longer than 20 half-size characters) <i CELL overall machining result setting/machining end ID/machining end state> Display number for displaying machining end state on the screen (0 to 5) <i CELL overall machining result setting/machining end ID/display number>
3.3.4
Field name
Data type
Description <relevant items for the basic functions in the part for setting of the operator's manual>
ID UserID UserStr
AutoNumber User area ID (1 to 9,999) <i CELL overall machining result setting/user area ID/user area ID> Character string corresponding to a user area ID (not longer than 20 half-size characters) <i CELL overall machining result setting/user area ID/user area>
- 430 -
B-75074EN/04
USER CUSTOMIZE
3.DATABASE SPECIFICATIONS
3.3.5
NOTE Do not modify data when the Workpieces Process Result screen is displayed. Otherwise, the screen may not be displayed normally.
Field name Data type Description
Auto number Numeric type Numeric type Numeric type Date/time type
AutoNumber Machine ID (1 to 999) Workpiece ID (1 to 99,999,999) Planned machining count (0 to 99,999,999) Planned machining date (date only, with no time data)
3.3.6
II.
- 431 -
3.DATABASE SPECIFICATIONS
USER CUSTOMIZE
B-75074EN/04
iii. Check if there is a record that matches the machine ID and sequence ID acquired in step i and the machining start time acquired in step ii. If such a record is not found, the processing is ended. iv. If such a record is found, check if data is already stored in the fields of the machining end time, machining end state ID, and user area ID of the record. If data is already stored, the processing is ended. v. If data is not stored, store the machining end time, machining end state ID, and user area ID acquired in step i above in that record on the table. Do not modify the design and data of the table.
Field name Data type Description
Auto number Numeric type Numeric type Numeric type Date/time type Data/time type Numeric type Numeric type Numeric type
AutoNumber Machine ID (1 to 999) Workpiece ID (0 to 99,999,999) O number (0 to 99,999,999) Machining start time Machining end time Machining end state ID (0 to 9,999) User area ID (0 to 9,999) Sequence number for each machine (1 to 99,999,999)
Method of collecting data on the Workpieces Process Result screen (end state display) Calculate the number of records by specifying necessary conditions among McnID, WorkID, FirstClock, and LastID. For one-month display on a workpiece-by-workpiece basis, for example, calculate the number of records by specifying the values of WorkID, FirstClock, and LastID.
- 432 -
B-75074EN/04
USER CUSTOMIZE
3.DATABASE SPECIFICATIONS
3.3.7
NOTE Do not modify data when the Workpieces Process Result screen is displayed. Otherwise, the screen may not be displayed normally.
Field name Data type Description
Auto number Numeric type Numeric type Numeric type Date/time type Date/time type Numeric type Numeric type Date/time type
AutoNumber Machine ID (1 to 999) Workpiece ID (0 to 99,999,999) O number (0 to 99,999,999) Machining start time Planned machining end time Normally ended machining count Planned machining count Planned time for completion of all machining
- 433 -
3.DATABASE SPECIFICATIONS
USER CUSTOMIZE
B-75074EN/04
3.3.8
NOTE Do not modify data when the Workpieces Process Result screen is displayed. Otherwise, the screen may not be displayed normally.
Field name Data type Description
Auto number Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type
Numeric type Numeric type Numeric type Numeric type Numeric type Numeric type
AutoNumber Machine ID (1 to 999) Workpiece ID (0 to 99,999,999) O number (0 to 99,999,999) Planned machining count Total machining count Value obtained by subtracting, from the total machining count, the number of machining end state IDs set to 0 and the number of machining end state IDs with the Order field of the machining end ID setting table set to a value from 1 to 5 Number of machining end state IDs with the Order field of the machining end ID setting table set to 1 Number of machining end state IDs with the Order field of the machining end ID setting table set to 2 Number of machining end state IDs with the Order field of the machining end ID setting table set to 3 Number of machining end state IDs with the Order field of the machining end ID setting table set to 4 Number of machining end state IDs with the Order field of the machining end ID setting table set to 5 Normal end count. Sum of the number of LastID1s and the number of machining end state IDs set to 0.
- 434 -
B-75074EN/04
- 435 -
B-75074EN/04
4.1
OVERVIEW
The following Excel samples for referencing the i CELL database are available:
4.2
Starting Excel
To display the Excel samples, start Excel by using one of the following methods: Method 1 Double-click an Excel sheet to be used. Method 2 (1) From the menu, select [Start] [Programs], then select [Microsoft Excel] to start Excel. (2) Read an Excel file to be used. When a dialog box for selecting whether to enable macros appears, select Enable in either case.
Starting VBEditer
To edit the VBA script of an Excel sample, start VBEditor according to the procedure below. From the Excel menu, select [Tool] [Macro], then select [Visual Basic Editor] to start VBEditer.
- 436 -
B-75074EN/04
4.2.1
Method of reference
To reference the database, ODBCDirect is used. ODBCDirect is a function of DAO used to directly operate the ODBC data source. By using ODBCDirect, operate the database through ODBC with SQL.
The step above enables DAO (ODBCDirect) to be referenced from the VBA code.
- 437 -
B-75074EN/04
B-75074EN/04
With the created SQL statement, open the record set. Set tRdSt = tCon.OpenRecordset(tSQL) The OpenRecordset method is used to open the record set. In the argument, specify the created SQL statement character string. As a method target object, specify the created Connection object tCon. When the record set is opened, the method returns the execution result of the SQL statement as the Recordset object. By using the Set statement, store the object in the object variable tRdSt.
Acquire data from the opened record set. Do While (Not tRdSt.EOF) (Data acquisition processing) 'Move to the next record tRdSt.MoveNext Loop In the opened record set, the contents of the start record of the execution results of the SQL statement are automatically referenced. When the data of the referenced record has been acquired, the MoveNext method is used to proceed to the next record. Data is acquired by repeating this processing until the last record of the record set.
Close the record set. tRdSt.Close By using the Close method, close the opened record set.
Disconnect the connection with the database. tCon.Close Use the Close method to disconnect the connection.
10
Free the ODBCDirect work space. tWS.Close Use the Close method to free the created work space.
- 439 -
B-75074EN/04
NOTE The i CELL database is a read-only database. Do not write data, and do no modify the design and data of the tables. Otherwise, the i CELL can malfunction. However, WKPCPlan - workpiece machining count setting table, WKPCDspMcnCnd - progress status display table, and WKPCDspLastState - machining end state display table allow data modification and addition. Do not modify the data of these tables and do not add data to these table when the Workpieces Process Result screen is displayed. Otherwise, the screen may not be displayed normally. For details, see Chapter 3, "DATABASE SPECIFICATIONS".
1 Declare object variables. Dim tWS As Workspace Dim tCon As Connection Dim tRdSt As Recordset Dim tSQL As String 2 Create an ODBCDirect work space. Set tWS = CreateWorkspace("", "admin", "", dbUseODBC) Use the CreateWorkspace method for creation. By specifying the definition constant dbUseODBC in the argument Type, an ODBCDirect work space can be created. When a work space is created with the CreateWorkspace method, the method returns the Workspace object. By using the Set statement, store the object in the object variable tWS. 3 As the cursor driver, specify the ODBC cursor library. tWS.DefaultCursorDriver = dbUseODBCCursor As a method target object, specify the created Workspace object tWS. 4 Make a connection to the database. Set tCon = tWS.OpenConnection( "iCELL", dbDriverComplete, False, "ODBC;DSN=iCELL;DATABASE=iCELL.mdb") To make a connection, use the OpenConnection method.
- 440 -
B-75074EN/04
Specify a data source name in the argument Name, and specify a real data source name in the argument Connect. For a data source name and real data source name of the i CELL, refer to Chapter 3, "DATABASE SPECIFICATIONS". A connection is made with read/write authority granted, by specifying False in the argument ReadOnly. When a connection is made to the database, the method returns the Connection object. By using the Set statement, store the object in the object variable tCon. 5 As a character string, create an SQL statement. tSQL = (SQL statement as a character string) By using a command such as the UPDATE command and the INSERT INTO command, create an SQL statement for writing data. 6 With the created SQL statement, open the record set. Set tRdSt = tCon.OpenRecordset(tSQL) The OpenRecordset method is used to open the record set. In the argument, specify the created SQL statement character string. As a method target object, specify the created Connection object tCon. When the record set is opened, the SQL statement specified in the argument is executed to write to the database. The method returns the Recordset object. By using the Set statement, store the object in the object variable tRdSt. 7 Close the record set. tRdSt.Close Use the Close method to close the opened record set. 8 Disconnect the connection with the database. tCon.Close Use the Close method to disconnect the connection. 9 Free the ODBCDirect work space. tWS.Close Use the Close method to free the created work space.
- 441 -
B-75074EN/04
4.2.2
Numeric values can be set in multiple cells (A1, A2, A3, A4, A5) at a time as follows: Range(A1:A5).Value = 1
The numeric value set in a variable can be set as follows: Dim X As Long X = 10 Range(A1).Value = X
When the Cells property is used When using the Cells property, use the format "Cells (row, column)" like "Cells (2, 1)". Represent a column by using a numeric value like "1". The Cells property allows a numeric variable to be used as an argument.
- 442 -
B-75074EN/04
A numeric value can be set in one cell as follows: Cells (1, 1).Value = 1 Cells (2, 1) = 2 Basic type Abbreviated type
Numeric values can be set in multiple cells (A1, A2, A3, A4, A5) at a time as follows: Range(Cells (1, 1), Cells (5, 1) ).Value = 1
The numeric value set in a variable can be set as follows: Dim X As Long X = 10 Cells (1, 1).Value = X
A numeric value can be set by using a numeric variable as an argument as follows: Dim i As Long For i = 1 to 5 Cells (i, 1).Value = i Next i
- 443 -
B-75074EN/04
When a number is set as a character string When an apostrophe (') is prefixed to a number, the number is set as a character string. Range(A1).Value = 001 Treated as the character string 001 Cells (2, 1).Value = 002 Treated as the character string 002 When no apostrophe (') is prefixed to a number, the number is set as a numeric value. Range(A3).Value = 003 Treated as the numeric value 3 because of the absence of an apostrophe (') Cells (4, 1).Value = 004 Treated as the numeric value 4 because of the absence of an apostrophe (')
When a character string is set A character string can be set in a cell as follows: Range(A1).Value = ABC Cells (2, 1).Value = XYZ A date can be set as a character string in a cell as follows: Range(A3).Value = 2002/1/1 Cells (4, 1).Value = 2002/12/31 Time can be set as a character string in a cell as follows: Range(A5).Value = 12:00:00 Cells (6, 1).Value = 23:59:59
- 444 -
B-75074EN/04
4.3
4.3.1
Method of Operation
This subsection describes the method of execution and the method of operation.
Execution result
Double-click the RunTimeA.xls file in the %iCELL%\Sample\DataExport\Excel folder. When a dialog box for choosing whether to enable macros appears, select Enable. (%iCELL% is the folder where the i CELL is installed.)
Method of operation
(4) Operation rate display (1) Machine number specification cell (2) Monthly report (5) Graph display change specification button cell (6) List format display (7) CSV format display button button (3) Refresh button
- 445 -
B-75074EN/04
- 446 -
B-75074EN/04
- 447 -
4.REFERENCING THE DATABASE USER CUSTOMIZE (7) CSV format display button
B-75074EN/04
Data is displayed for use in the CSV format. In the CSV format, run time and parts count data is displayed. The displayed data is not automatically updated.
4.3.2
- 448 -
B-75074EN/04
4.3.2.1
GetRunTimeAData :: RuntimeA
4.3.2.2
GetDispData :: RuntimeA
- 449 -
B-75074EN/04
ChangeDispDays :: Sheet1
This procedure changes the number of days for list and graph display according to the number of the days of every month acquired with the GetMonthDays procedure. If the number of days remains unchanged from the previous display, however, processing is not performed. For a list, the number of display days is changed. For a run time graph or parts count graph, a data acquisition destination cell for each item of the graph is set.
SetTableData :: Sheet1
This procedure sets list format data in cells. For the number of days acquired with the GetMonthDays procedure, the ForNext statement is repeatedly executed as a loop, and the collected data m_DispData() is set in cells by using the Cells property. Moreover, an operation rate is set in a cell by using the Range property.
SetChartData :: Sheet1
This procedure sets graph format data in cells. For the number of days acquired with the GetMonthDays procedure, the ForNext statement is repeatedly executed as a loop, and the collected data m_DispData() is set in cells by using the Cells property. Moreover, an operation rate is set in a cell by using the Range property.
SetCSVData :: Sheet1
This procedure displays data usable with CSV on Sheet2. In cells, list format data is set. All cells of Sheet2 are deleted together with the format, then the format of the cells is changed to character string. A header portion and display items are set in cells by using the Range property. For the number of days acquired with the GetMonthDays procedure, the ForNext statement is repeatedly executed as a loop, and the collected data m_DispData() is set in cells by using the Cells property.
4.3.2.3
InitTimer :: Common
This procedure performs pseudo timer initialization. A timer event generation interval and the name of a procedure to be executed with a timer are acquired.
SetTimer :: Common
This procedure sets a pseudo timer. With the OnTime method, an interval and procedure name acquired with InitTimer are set to start the pseudo timer. Moreover, the timer start flag m_TimerFlg is set to True.
- 450 -
B-75074EN/04
StopTimer :: Common
This procedure sets the timer start flag m_TimerFlg to False to stop the timer.
TimerEvent :: Common
This procedure is the event procedure for the timer set with the OnTime method. After data acquisition and display, the SetTimer procedure is called to set the next timer event.
- 451 -
B-75074EN/04
4.4
- 452 -
B-75074EN/04
4.4.1
Method of Operation
Double-click the WorkProcA.xls file of the %iCELL%\Sample\DataExport\Excel folder. (%iCELL% is the folder where the i CELL is installed.) When a dialog box for choosing whether to enable macros appears, select Enable.
Method of execution
Method of operation
(1) Display condition change button (2) Display period specification cell (6) Refresh button
- 453 -
B-75074EN/04
- 454 -
B-75074EN/04
4.4.2
4.4.2.1
DB_Common module
GetLastStateConfig :: DB_Common
This procedure acquires data from the machining end ID setting table. Data is acquired in an array of the structure (typLastStateConfig). The following SQL statement is created: tSQL = "SELECT w.LastID, w.LastStr" & _ " FROM WKPCLastStateConfig w" & _ " WHERE w.Order>= 1 AND w.Order<=5" & _ " ORDER BY w.Order" From the machining end ID setting table, this SQL statement acquires LastID and LastStr with Order not less than 1 and not greater than 5 in ascending order of Order.
CheckMcnConfig :: DB_Common
This procedure checks if a machine name and number passed as arguments are set in the workpieces process result setting table. Whether a machine name and number are set is determined from whether acquired data is present. The following SQL statement is created: tSQL = "SELECT wm.McnID, wm.McnName" & _ " FROM WKPCMcnName wm" & _ " WHERE wm.Enable=1 AND wm.McnName='" & iMcnName & "' AND wm.McnID=" & iMcnNo From the workpieces process result setting table, this SQL statement acquires McnID and McnName with Enable set to 1, McnName and iMcnName matching each other ,and McnID and iMcnNo matching each other.
- 455 -
B-75074EN/04
This procedure checks if a workpiece name passed as an argument is set in the workpiece ID setting table, and acquires the workpiece ID corresponding to the workpiece name. Whether a workpiece name is set is determined from whether acquired data is present. The following SQL statement is created: tSQL = "SELECT ww.WorkID" & _ " FROM WKPCWorkName ww" & _ " WHERE ww.WorkName='" & iWorkName & "'" From the workpiece ID setting table, this SQL statement acquires WorkID with WorkName and iWorkName matching each other.
GetCountWorkProc :: DB_Common
This procedure acquires the number of machining end state IDs from the workpieces process result data table. Data is acquired in a dynamic array of the structure (typCountData). The following SQL statement is created: tSQL = "SELECT w." & m_FieldText & ", Count(w.LastID) As CountOfUnitPrice" & _ " FROM WKPCData w" & _ iSQLWhere & _ " AND w.LastID<>NULL" & _ " GROUP BY w." & m_FieldText & _ " ORDER BY w." & m_FieldText From the workpieces process result data table, this SQL statement acquires the number of LastIDs not set to NULL for each m_FieldText in ascending order of m_FieldText. For counting the number of LastIDs, the Count function is used. In the Where clause, iSQLWhere passed as an argument is also used.
GetCountWorkProcPlan :: DB_Common
This procedure acquires total planned machining count from the planned workpiece machining count setting table. Data is acquired in a dynamic array of the structure (typCountData). The following SQL statement is created: tSQL = "SELECT w." & m_FieldText & ", Sum(w.PlanNum) As SumOfPlanNum" & _ " FROM WKPCPlan w" & _ iSQLWhere & _ " AND w.McnID<>NULL" & _ " GROUP BY w." & m_FieldText & _ " ORDER BY w." & m_FieldText From the planned workpiece machining count setting table, this SQL statement acquires the total number of PlanNum's with McnID not set to NULL for each m_FieldText in ascending order of m_FieldText.
- 456 -
B-75074EN/04
For counting the total number of PlanNum's, the Sum function is used. In the Where clause, iSQLWhere passed as an argument is also used.
DB_McnCnd module
The DB_McnCnd module defines procedures for acquiring progress status data from the i CELL database.
GetMcnCndData :: DB_McnCnd
This procedure acquires progress status data. Data is created in the progress status display table, and data is acquired from the progress status display table. Data is acquired in a dynamic array of the structure (typMcnCnd). The SQL statement is created as follows: tSQL = "SELECT w.McnID, wm.McnName, w.WorkID, ww.WorkName, w.ONum," & _ " w.FirstClock, w.LastClockPlan, w.NormNum, w.PlanNum, w.AllLastClockPlan" & _ " FROM WKPCMcnName wm RIGHT OUTER JOIN" & _ " (WKPCWorkName ww RIGHT OUTER JOIN WKPCDspMcnCnd w" & _ " ON ww.WorkID=w.WorkID)" & _ " ON wm.McnID=w.McnID" & _ " ORDER BY w.McnID" By using RIGHT OUTER JOIN ...ON, this SQL statement connects tables. 1. Connects the workpiece ID setting table with the progress status display table when WorkID matches. 2. Connects the connected tables with the workpieces process result setting table when McnID matches. From the connected tables, each data item is acquired in ascending order of McnID of the progress status display table.
DeleteDspMcnCnd :: DB_McnCnd
This procedure clears the data of the progress status display table. The following SQL statement is created: tSQL = "DELETE *" & _ " FROM WKPCDspMcnCnd" From the progress status display table, this SQL statement deletes all data by using the DELETE command.
CreateMcnCndData :: DB_McnCnd
This procedure creates data for display in the progress status display table. The latest log information is acquired for each machine. If there is data representing current machining, data is created in the progress status display table by acquiring each data item and calling the write procedure.
- 457 -
B-75074EN/04
This procedure acquires the latest log information for each machine from the workpieces process result data table. Data is acquired in a dynamic array of the structure (typNewLog). The following SQL statement is created: tSQL = "SELECT McnID, Max(FirstClock) as MaxOfFirstClock" &_ " FROM WKPCData" & _ " WHERE McnID<>NULL" & _ " AND FirstClock<>NULL" & _ " GROUP BY McnID" & _ " ORDER BY McnID" From the workpieces process result data table, this SQL statement acquires the maximum value of FirstClock with McnID and FirstClock not set to NULL for each McnID in ascending order of McnID. To acquire the maximum value, the Max function is used.
GetRunData :: DB_McnCnd
This procedure acquires machining in-progress log information based on the latest log information for each machine. Whether machining is in progress is determined from whether data such as end time (LastClock), machining end ID (LastID), and user area ID (UserID) is acquired. Data is acquired in the structure (typRunLog). The following SQL statement is created: tSQL = "SELECT w.McnID, w.WorkID, w.ONum, w.FirstClock, ww.PlanTime, w.LastClock, w.LastID, w.UserID" & _ " FROM WKPCWorkName ww RIGHT JOIN WKPCData w" & _ " ON ww.WorkID=w.WorkID" & _ " WHERE w.McnID=" & m_NewLog(iIdx).McnID & _ " AND w.WorkID<>NULL" & _ " AND ((w.FirstClock) =#" & Format(m_NewLog(iIdx).FirstClock, "yyyy/m/d h:n:s") & "#)" By using RIGHT OUTER JOIN ... ON, this SQL statement connects the workpiece ID setting table with the workpieces process result data table when WorkID matches. Such data that McnID and FirstClock of the latest log information for each machine match McnID and FirstClock of the connected table, and that WorkID is not set to NULL is acquired.
SetDspMcnCnd :: DB_McnCnd
This procedure sets acquired machining in-progress log information and normal end count data in the progress status display table. The following SQL statement is created: When O number data is absent tSQL = "INSERT INTO WKPCDspMcnCnd" & _ " (McnID" & _ ", WorkID" & _ ", FirstClock" & _
- 458 -
B-75074EN/04
", NormNum)" & _ " VALUES" & _ " ('" & m_RunLog.McnID & "'" & _ ", '" & m_RunLog.WorkID & "'" & _ ", '" & m_RunLog.FirstClock & "'" & _ ", '" & m_CntWkPc(0).Count & "')" When O number data is present tSQL = "INSERT INTO WKPCDspMcnCnd" & _ " (McnID" & _ ", WorkID" & _ ", ONum" & _ ", FirstClock" & _ ", NormNum)" & _ " VALUES" & _ " ('" & m_RunLog.McnID & "'" & _ ", '" & m_RunLog.WorkID & "'" & _ ", '" & m_RunLog.ONum & "'" & _ ", '" & m_RunLog.FirstClock & "'" & _ ", '" & m_CntWkPc(0).Count & "')" By using the INSERT INTO command, this SQL statement writes acquired machining in-progress log information and normal end count to the progress status display table.
SetDspMcnCnd_WkPcPlan :: DB_McnCnd
This procedure sets planned machining count data in the progress status display table. The following SQL statement is created: tSQL = "UPDATE WKPCDspMcnCnd w" & _ " SET w.PlanNum='" & m_CntWkPcPlan(0).Count & "'" &_ " WHERE w.McnID=" & m_RunLog.McnID By using the UPDATE command, this SQL statement writes planned machining count to PlanNum of data with McnID of machining in-progress log information matching McnID of the progress status display table.
SetDspMcnCnd_LtCkPlan :: DB_McnCnd
This procedure sets planned machining end time data in the progress status display table. Planned machining end time is acquired by adding planned machining time to the machining start time of machining in-progress log information. Planned machining end time = Machining start time + Planned machining time The following SQL statement is created:
- 459 -
B-75074EN/04
tSQL = "UPDATE WKPCDspMcnCnd w" & _ " SET LastClockPlan='" & tLtCkPlan & "'" & _ " WHERE w.McnID=" & m_RunLog.McnID By using the UPDATE command, this SQL statement writes planned machining end time to LastClockPlan of data with McnID of machining in-progress log information matching McnID of the progress status display table.
SetDspMcnCnd_AllLtCkPlan :: DB_McnCnd
This procedure sets planned total machining end time data in the progress status display table. Planned total machining end time is calculated as follows: Remaining machining count = Planned machining count - Normal end count Planned machining end time = Machining start time + (Planned machining time Remaining machining count) The following SQL statement is created: tSQL = "UPDATE WKPCDspMcnCnd w" & _ " SET AllLastClockPlan='" & tAllLtCkPlan & "'" & _ " WHERE w.McnID=" & m_RunLog.McnID By using the UPDATE command, this SQL statement writes planned total machining end time to AllLastClockPlan of data with McnID of machining in-progress log information matching McnID of the progress status display table.
- 460 -
B-75074EN/04
DB_Log module
The DB_Log module defines a procedure for acquiring log data from the i CELL database.
GetLogData :: DB_Log
This procedure acquires log data. The following SQL statement is created: tSQL = "SELECT w.McnID, wm.McnName, w.WorkID, ww.WorkName, w.ONum," & _ " w.FirstClock, w.LastClock, w.LastID, wl.LastStr, w.UserID, wu.UserStr, w.SNum" & _ " FROM WKPCMcnName wm RIGHT OUTER JOIN" & _ " (WKPCWorkName ww RIGHT OUTER JOIN" & _ " (WKPCLastStateConfig wl RIGHT OUTER JOIN" & _ " (WKPCUserConfig wu RIGHT OUTER JOIN WKPCData w" & _ " ON wu.UserID = w.UserID)" & _ " ON wl.LastID = w.LastID)" & _ " ON ww.WorkID=w.WorkID)" & _ " ON wm.McnID=w.McnID" & _ tSQLWhere & _ " ORDER BY w.FirstClock DESC, w.ID DESC" By using RIGHT OUTER JOIN ... ON, this SQL statement connects tables. 1. Connects the user area ID setting table with the workpieces process result data table when UserID matches. 2. Connects the connected tables with the machining end ID setting table when LastID matches. 3. Connects the connected tables with the workpiece ID setting table when WorkID matches. 4. Connects the connected tables with the workpieces process result setting table when McnID matches. From the connected tables, each data item is acquired in descending order of FirstClock and ID of the workpieces process result data table. A Where clause (tSQLWhere) is created using CreateSQLWhere.
- 461 -
B-75074EN/04
DB_LastState module
The DB_LastState module defines procedures for acquiring machining end state data from the i CELL database.
GetLastStateData :: DB_LastState
This procedure acquires machining end state data. Data is created in the machining end state display table, and data is acquired from the machining end state display table. Data is acquired in a dynamic array of the structure (typLastState). The following SQL statement is created: tSQL = "SELECT w.McnID, wm.McnName, w.WorkID, ww.WorkName, w.ONum, w.PlanNum, w.ProcNum," & _ " w.LastID0, w.LastID1, w.LastID2, w.LastID3, w.LastID4, w.LastID5, w.NormNum" & _ " FROM WKPCMcnName wm RIGHT OUTER JOIN" & _ " (WKPCWorkName ww RIGHT OUTER JOIN WKPCDspLastState w" & _ " ON ww.WorkID=w.WorkID)" & _ " ON wm.McnID=w.McnID" & _ " ORDER BY w." & m_FieldText By using RIGHT OUTER JOIN ...ON, this SQL statement connects tables. 1. Connects the workpiece ID setting table with the machining end state display table when WorkID matches. 2. Connects the connected tables with the workpieces process result setting table when McnID matches. From the connected tables, each data item is acquired in ascending order of m_FieldText.
DeleteDspLastState :: DB_LastState
This procedure clears the data of the machining end state display table. The following SQL statement is created: tSQL = "DELETE *" & _ " FROM WKPCDspLastState" From the machining end state display table, this SQL statement deletes all data by using the DELETE command.
CreateLastStateData :: DB_LastState
This procedure creates data for display in the machining end state display table. Data is created in the machining end state display table by acquiring each data item and calling the write procedure.
- 462 -
B-75074EN/04
SetDspLastState_WkPc :: DB_LastState
This procedure sets total machining count data in the machining end state display table. The following SQL statement is created: tSQL = "INSERT INTO WKPCDspLastState" & _ " (" & m_FieldText & _ ", ProcNum)" & _ " VALUES" & _ " ('" & m_CntWkPc(i).ID & "'" & _ ", '" & m_CntWkPc(i).Count & "')" By using the INSERT INTO command, this SQL statement newly writes acquired total machining count to the machining end state display table.
SetDspLastState_WkPcPlan :: DB_LastState
This procedure sets planned count data in the machining end state display table. Whether there is a record with the same condition is checked using the CheckSameRecord procedure. If there is a record with the same condition, the record is updated. If there is no record with the same condition, a new record is written. The following SQL statement is created: When there is a record with the same condition tSQL = "UPDATE WKPCDspLastState w" & _ " SET w.PlanNum='" & m_CntWkPcPlan(i).Count & "'" & _ " WHERE w." & m_FieldText & "=" & m_CntWkPcPlan(i).ID By using the UPDATE command, this SQL statement writes planned count to PlanNum. When there is no record with the same condition tSQL = "INSERT INTO WKPCDspLastState" & _ " (" & m_FieldText & _ ", PlanNum) " & _ " VALUES" & _ " ('" & m_CntWkPcPlan(i).ID & "'" & _ ", '" & m_CntWkPcPlan(i).Count & "')" By using the INSERT INTO command, this SQL statement newly writes acquired planned count to the machining end state display table.
- 463 -
B-75074EN/04
This procedure checks if there is a record with the same condition in the machining end state display table. Whether there is a record with the same condition is determined from whether acquired data is present. The following SQL statement is created: tSQL = "SELECT w." & m_FieldText & _ " FROM WKPCDspLastState w" & _ " WHERE w." & m_FieldText & "=" & m_CntWkPcPlan(iIdx).ID This SQL statement acquires m_FieldText in the machining end state display table when m_FieldText matches m_CntWkPcPlan(iIdx).ID.
GetTotalLastID :: DB_LastState
This procedure collects machining end state data from the workpieces process result data table. Data is acquired in a dynamic array of the structure (typCountData). The following SQL statement is created: tSQL = " SELECT w." & m_FieldText & ", Count(w.LastID) as CountLastID" & _ " FROM WKPCData w" & _ iSQLWhere & _ " AND w.LastID<>NULL" & _ " AND w.LastID=" & iLastID & _ " GROUP BY w." & m_FieldText From the workpieces process result data table, this SQL statement acquires the number of LastIDs not set to NULL with LastID matching iLastID in ascending order of m_FieldText. For counting the number of LastIDs, the Count function is used. In the Where clause, iSQLWhere passed as an argument is used.
SetDspLastState_LastID :: DB_LastState
This procedure sets machining end state data in the machining end state display table. The following SQL statement is created: tSQL = "UPDATE WKPCDspLastState w" & _ " SET w.LastID" & iIdx & "=" & m_LastIDTotal(i).Count & _ " WHERE w." & m_FieldText & "=" & m_LastIDTotal(i).ID By using the UPDATE statement, this SQL statement writes the machining end state m_LastIDTotal(i).Count to LastID" & iIdx of data with m_FieldText matching m_LastIDTotal(i).ID.
- 464 -
B-75074EN/04
SetDspLastState_NormNum :: DB_LastState
This procedure sets normal end count data (sum of LastIDs = 0, 1) in the machining end state display table. The following SQL statement is created: When LastID = 0 only tSQLSet = " SET w.NormNum=w.LastID0" When LastID = 0, 1 tSQLSet = " SET m_LastIDTotal(i).Count w.NormNum=w.LastID0+" &
tSQL = "UPDATE WKPCDspLastState w" & _ tSQLSet & _ " WHERE w." & m_FieldText & "=" & m_LastIDTotal(i).ID By using the UPDATE command, this SQL statement writes the normal end count of data with m_FieldText matching m_LastIDTotal(i).ID.
- 465 -
B-75074EN/04
4.4.2.2
GetDispMode :: Sheet1
SetDispArea :: Sheet1
This procedure displays a header portion and display items on Sheet2. All cells of Sheet2 are deleted together with the format, then the format of the cells is changed to character string. The header portion is displayed with the CreateHeder procedure. The display items are displayed with the CreateItem procedure.
CreateHeder :: Sheet1
This procedure displays a header portion on Sheet2. A header portion is created in each acquired display mode, then is set in cells by using the Range property.
CreateItem :: Sheet1
This procedure displays display items in each display mode on Sheet2. Display items are created in each display mode, then are set in cells by using the Cells property.
GetDispData :: Sheet1
This procedure acquires display data then displays the data on a sheet. Data is acquired and displayed for each display item.
DispMcnCndData :: Sheet1
This procedure displays progress status data. For the number of display data items, the ForNext statement is repeatedly executed as a loop, and the progress status data m_McnCnd() is set in cells by using the Cells property.
DispLastStateData :: Sheet1
This procedure displays machining end state data. For the number of display data items, the ForNext statement is repeatedly executed as a loop, and data is acquired from the machining end state data m_LastState () according to the display mode then is set in cells by using the Cells property.
DispLogData :: Sheet1
This procedure displays log data. For the number of display data items, the ForNext statement is repeatedly executed as a loop, and data is acquired from the log data m_Log () according to the display mode then is set in cells by using the Cells property.
- 466 -
APPENDIX
B-75074EN/04
- 469 -
B-75074EN/04
A.1
A.1.1
- 470 -
B-75074EN/04
A.1.2
- 471 -
B-75074EN/04
A.1.3
- 472 -
B-75074EN/04
If you want to cancel your request for installation, select Cancel. Otherwise, select Next to go to the Software Evaluation License Agreement dialog box.
Read the software license agreement terms carefully. If you agree with the terms, select Yes. If not, select No. Selecting No stops the installation procedure. Selecting Yes brings you to the CIMPLICITY HMI Product Options dialog box.
- 473 -
B-75074EN/04
Select the option you want to install. A list of options appears, and the Change Destination Location dialog box opens.
Select the directory where you want to install the CIMPLICITY HMI software. Selecting Browse... enables you to search through a list of directories. Alternatively, you can use a default directory (c:\CIMPLICITY\HMI). After selecting a desired directory, select Next to keep on installing. The Options dialog box opens to list the products you may want to install.
Select desired components of product options. For some components in the Components list, more than one option is available. When a component is selected, its options are listed in the list box at the right. You can select desired options for individual components. Once selection is completed, select Next to keep on installing. The Choose Program Group dialog box opens.
- 474 -
B-75074EN/04
NOTE Make sure that a component is highlighted, and then select options usable with that component.
Select the program folder (CIMPLICITY\HMI by default) for the CIMPLICITY HMI software and then select Next. A file transfer from the CD-ROM to the specified directory begins. Once installation is completed, the Registration dialog box opens.
- 475 -
B-75074EN/04
At this point, you can register your use of the CIMPLICITY HMI software. However, you are provided with a four-day trial use period after installation. Within this period, you can access the basic system and all installed options of the communication enabler. If you do not acquire a software license before the end of the trial use period, the system license becomes invalid, and the use of its functions is restricted. See A.2.4, "Using CIMPLICITY HMI without License," for information about the restricted functions. If you registered your use of the software, or you selected No in the Registration dialog box, the Site Complete dialog box opens.
For the CIMPLICITY HMI software to function normally, you must restart the computer. This dialog box enables you to restart the computer immediately.
A.1.4
- 476 -
B-75074EN/04
A.2
A.2.1
NOTE If you have not registered your use of the software, or you run the demo system, please read A.2.4, "Using CIMPLICITY HMI without License," for descriptions about restricted functions.
This section describes the following procedures. Initial registration Registering for new options and upgrading Transferring the license The section also explains a non-license version and enumerates the related restrictions.
- 477 -
B-75074EN/04
A.2.2
- 478 -
B-75074EN/04
Request to register
To get an authorization code, contact GE Fanuc of the USA at the following telephone or fax number. When asking for an authorization code, you need to supply your name, user information, basic serial number, and system key code. Fax: (518) 464-4581 Phone: (518) 464-4619 These numbers are usable from 8:00 a.m. to 5:00 p.m. EST on Monday through Friday except USA national holidays. Requests to register sent by fax or telephone after business hours or on weekends or holidays will be accepted on the following business day. Before contacting GE Fanuc, get ready the following information: User information CIMPLICITY HMI serial number System key code (generated during a registration sequence) When you receive an authorization code from GE Fanuc, take note of it.
NOTE Enter your authorization code within four days after you enter the serial number of your basic system and get a system code. The system code is updated after four days, and the authorization code issued for the old system code becomes invalid.
- 479 -
B-75074EN/04
A.2.3
NOTE When adding an option in function upgrading, you do no need to contact GE Fanuc. You only have to enter a valid serial number for each desired option you purchased.
- 480 -
B-75074EN/04
A.2.4
- 481 -
B.NC SETTING
APPENDIX
B-75074EN/04
NC SETTING
The setting of each type of NC is described below. Refer to Section B.1, "SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 16i/18i/21i-A/B AND Power Mate i" or Section B.4, SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 30i/31i/32i-A, in Appendix, when the option board (Ethernet board, FAST Ethernet board, Data Server board, or FAST DATA SERVER) is used. Refer to Section B.2, "SETTING THE EMBEDDED Ethernet FOR Series 16i/18i/21i-B or Section B.5, SETTING THE EMBEDDED Ethernet FOR Series 30i/31i/32i-A" in Appendix, when the embedded Ethernet board is used. Refer to Section B.3, "SETTING THE DATA SERVER FOR Series 16i/18i/21i-A/B" or Section B.6, SETTING THE DATA SERVER FOR Series 30i/31i/32i-A,in Appendix, when the Data Server functions is used. Refer to Section B.7, "SETTING UP DNC2," in Appendix, when the DNC2 is used. Refer to Section B.8, "SETTING UP READER/PUNCHER," in Appendix, when the Reader/Puncher is used.
- 482 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.1
SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 16i/18i/21i-A/B, Power Mate i, AND Series 0i-B/C
This section describes the items required to be set to operate the FOCAS2/Ethernet functions available on the option board for Series 16i/18i/21i-A/B, Power Mate i, and Series 0i-B/C. Refer to Section B.2, "SETTING THE EMBEDDED Ethernet FOR Series 16i/18i/21i-B," in Appendix for the embedded Ethernet function.
B.1.1
Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time
CAUTION When the Ethernet board or FAST Ethernet board is used for the first time, consult with your companys network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. Particularly, if a duplicate IP address is set, communication errors are caused intermittently. This may result in a CNC's system error. NOTE 1 One of the following option functions is needed when the FOCAS2/Ethernet functions are used: Refer to Item "Ethernet boards or Data Server boards and CNC options," in Section 3.1 of Part I for details. 2 There is a limit on the number of FOCAS2/Ethernet clients connectable to one CNC using the FOCAS2/Ethernet functions. Refer to Note 2 in Item Usable CNCs (When the FOCAS2/Ethernet is used) in Section 3.1 of Part I for details.
- 483 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.1.2
Display
Procedure
1 2 3 4 Place the CNC in MDI mode. Press function key
SYSTEM
5 6
Press the Continuation menu key at the bottom right of the soft key menu. When you press soft key [ETHPRM], the "Ethernet Parameter" screen appears. For the Series 16i/18i/21i-B, to display the "Ethernet Parameter" screen, press soft key [ETHPRM] and then soft key [BOARD]. If parameters have already been registered, the parameter settings are displayed. Enter or update the data using the MDI or soft keys. Select the desired page using the
PAGE PAGE
page keys.
- 484 -
B-75074EN/04
APPENDIX
B.NC SETTING
NOTE Already-set data can be deleted. To delete numerical data, enter 0. To delete character data, enter a space (SP).
- 485 -
APPENDIX
B-75074EN/04
NOTE When the "TCP/IP setting items for the CNC" have been changed, the power must be turned off then on again.
- 486 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.1.3
HUB
10BASE-T or 100BASE-TX Personal computer No.1 CNC No.1 CNC No.2
CNC No.1 IP address Subnet mask Router IP address TCP port No. UDP port No. Time interval 192.168.0.1 255.255.255.0 None 8193 8192 50
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 IP address Port number CNC No.2 IP address Port number 192.168.0.101 255.255.255.0 None 192.168.0.1 8193 192.168.0.2 8193 Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.1.4
- 487 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.2
B.2.1
Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time
CAUTION When the embedded Ethernet function is used for the first time, consult with your companys network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. NOTE 1 One of the following option functions is needed when the FOCAS2/Ethernet functions are used: Refer to Item "Ethernet boards or Data Server Boards and CNC options," in Section 3.1 of Part I for details. 2 There is a limit on the number of FOCAS2/Ethernet clients connectable to one CNC using the FOCAS2/Ethernet functions. Refer to Note 2 in Usable CNCs (When the FOCAS2/Ethernet is used) in Section 3.1 of Part I for details. 3 If multiple application software products or multiple personal computers access the CNC simultaneously, the communication load on the CNC can increase, resulting in decreased communication speed and degraded CNC screen display processing.
- 488 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.2.2
B.2.2.1
Display
Procedure
1 2 3 4 Place the CNC in MDI mode. Press function key
SYSTEM
Press the Continuation menu key at the bottom right of the soft key menu. When you press soft key [ETHPRM], the "Ethernet Parameter" screen appears. The Ethernet functions currently available are displayed.
The upper row displays the usable embedded Ethernet function device. The embedded port or PCMCIA card is displayed. The lower row displays the usable Ethernet option boards. When no option board is installed, no information is displayed. By pressing the [EMBEDD] soft key, the parameters for the embedded Ethernet port can be set. By pressing the [PCMCIA] soft key, the parameters for the PCMCIA Ethernet card can be set.
NOTE The parameters for the embedded Ethernet port and the parameters for the PCMCIA Ethernet card are independent of each other.
- 489 -
B.NC SETTING
APPENDIX
B-75074EN/04
6 7
By using the MDI keys and soft keys, enter and update data. Switch the screen display with the page keys
PAGE PAGE
NOTE Already-set data can be deleted. To delete numerical data, enter 0. To delete character data, enter a space (SP).
- 490 -
B-75074EN/04
APPENDIX
B.NC SETTING
NOTE The parameters for the PCMCIA Ethernet card are set to the following default values before shipment: IP address : 192.168.1.1 Subnet mask : 255.255.255.0 Router IP address : None TCP port No. : 8193 UDP port No. :0 Time interval :0
- 491 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.2.2.2
HUB
10BASE-T or 100BASE-TX Personal computer No.1
CNC No.1
CNC No.2
CNC No.1 IP address Subnet mask Router IP address TCP port No. UDP port No. Time interval 192.168.1.1 255.255.255.0 None 8193 8192 50
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 IP address Port number CNC No.2 IP address Port number 192.168.1.101 255.255.255.0 None 192.168.1.1 8193 192.168.1.2 8193 Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.2.2.3
- 492 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.2.3
B.2.3.1
Display
Procedure
1 2 3 4 Place the CNC in MDI mode. Press function key
SYSTEM
Press the Continuation menu key at the bottom right of the soft key menu. When you press soft key [ETHPRM], the "Ethernet Parameter" screen appears. The Ethernet functions currently available are displayed.
The upper row displays the usable embedded Ethernet function device. The embedded port or PCMCIA card is displayed. The lower row displays the usable Ethernet option boards. When no option board is installed, no information is displayed. By pressing the [EMBEDD] soft key, the parameters for the embedded Ethernet port can be set. By pressing the [PCMCIA] soft key, the parameters for the PCMCIA Ethernet card can be set.
- 493 -
B.NC SETTING
APPENDIX
B-75074EN/04
NOTE The parameters for the embedded Ethernet port and the parameters for the PCMCIA Ethernet card are independent of each other.
6 7 By using the MDI keys and soft keys, enter and update data. Switch the screen display with the page keys
PAGE PAGE
NOTE Already-set data can be deleted. To delete numerical data, enter 0. To delete character data, enter a space (SP).
- 494 -
B-75074EN/04
APPENDIX
B.NC SETTING
IP ADDRESS USERNAME
PASSWORD
LOGIN DIR
NOTE The parameters for the PCMCIA Ethernet card are set to the following default values before shipment: IP address : 192.168.1.1 Subnet mask : 255.255.255.0 Router IP address : None TCP port No. : 8193 UDP port No. :0 Time interval :0
- 495 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.2.3.2
HUB
10BASE-T or 100BASE-TX Personal computer No.1
CNC No.1
CNC No.2
CNC No.1 IP address Subnet mask Router IP address Connection Port No. host 1 IP address User name Password Login DIR Parameter No. 20 192.168.0.1 255.255.255.0 None 21 192.168.0.101 dtsvr dtsvr None 5 Personal computer No.1 IP address Subnet mask Default gateway User name Password Login DIR 192.168.0.101 255.255.255.0 None dtsvr dtsvr Default
Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows 2000/XP). Set these items with User Manager of PC (Windows 2000/XP). Set this item with Internet Service Manager of PC (Windows 2000/XP). This is applicable to Peer Web Services.
B.2.3.3
- 496 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.3
SETTING THE DATA SERVER FOR Series 16i/18i/21i-A/B AND Series 0i-B/C
This section describes the setting required to operate the Data Server function for Series 16i/18i/21i-A/B and Series 0i-B/C (including the FTP server function). When using the FTP server function of the Data Server, see Subsections B.3.1 and B.3.2. When an FTP server is to be set on a PC and the setting information is to be set as parameters for the Data Server (to use the Data Server function), see Subsections B.3.1 and B.3.3.
B.3.1
Precautions to be Observed when Using the Data Server Functions for the First Time
1 CAUTION When the Data Server board or FAST Data Server is used for the first time, format the hard disk or ATA card, set the appropriate parameters, and turn the power off then on again. If the Data Server functions are used without performing these operations, normal operation cannot be guaranteed. When Ethernet FTP communication is performed for the first time, consult with your company's network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. Particularly, if a duplicate IP address is set, communication errors are caused intermittently. This may result in a CNC's system error. Never turn off the power to the CNC while the hard disk or ATA card (hereinafter simply referred to as the hard disk) is being accessed (while a Data Server function service is being executed). Otherwise, the data on the hard disk may be destroyed. Never turn off the power to the CNC while using its functions, especially the FTP server functions. To guard against hard disk failure, back up the files on the hard disk.
NOTE 1 One of the following option functions is needed when the Data Server functions are used: For details, see the item of "Ethernet boards or Data Server boards and CNC options" in Section 3.1, "CNC", in Chapter 3, "OPERATING ENVIRONMENT" of Part I, "OVERVIEW". 2 The Data Server function imposes an upper limit on the number of FTP clients connectable to one CNC. For details, see the note on Usable CNCs (When the Data Server is used)" in Section 3.1, "CNC", in Chapter 3, "OPERATING ENVIRONMENT" of Part I, "OVERVIEW".
- 497 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.3.2
B.3.2.1
Display
Procedure
1 2 3 4 Place the CNC in MDI mode. Press function key
SYSTEM
5 6
Press the Continuation menu key at the bottom right of the soft key menu. When you press soft key [ETHPRM], the "Ethernet Parameter" screen appears. For the Series 16i/18i/21i-B, to display the "Ethernet Parameter" screen, press soft key [ETHPRM] and then soft key [BOARD]. If data is already registered, the parameter settings are displayed. Enter or update the data using the MDI or soft keys. Select the desired page using the
PAGE PAGE
page keys.
- 498 -
B-75074EN/04
APPENDIX
B.NC SETTING
NOTE Already-set data can be deleted. To delete numerical data, enter 0. To delete character data, enter a space (SP).
- 499 -
APPENDIX
B-75074EN/04
PASSWORD
LOGIN DIR
- 500 -
B-75074EN/04
APPENDIX
B.NC SETTING
NOTE 1 When the "TCP/IP setting items for the CNC" have been changed, the power must be turned off then on again. 2 Note that the system differentiates between upperand lower-case characters in "USERNAME" and "PASSWORD," described under "Setting items for the FTP server." 3 The default for "LOGIN DIR," described under "Setting items for the FTP server," is the \NCDATA directory. Only a directory under the \NCDATA directory can be specified for "LOGIN DIR."
- 501 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.3.2.2
HUB
10BASE-T or 100BASE-TX Personal computer No.1 CNC No.2
CNC No.1
CNC No.1 IP address Subnet mask Router IP address FTP server User name Password Login DIR 192.168.0.1 255.255.255.0 None dtsvr dtsvr None
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 NC IP address NC port number NC user name NC password NC Login DIR CNC No.2 NC IP address NC port number NC user name NC password NC Login DIR 192.168.0.101 255.255.255.0 None 192.168.0.1 21 dtsvr dtsvr None 192.168.0.2 21 dtsvr dtsvr None Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.3.2.3
B-75074EN/04
APPENDIX
B.NC SETTING
B.3.3
B.3.3.1
Display
Procedure
1 2 3 4 Place the CNC in MDI mode. Press function key
SYSTEM
5 6
Press the Continuation menu key at the bottom right of the soft key menu. When you press soft key [ETHPRM], the "Ethernet Parameter" screen appears. For the Series 16i/18i/21i-B, to display the "Ethernet Parameter" screen, press soft key [ETHPRM] and then soft key [BOARD]. If data is already registered, the parameter settings are displayed. Enter or update the data using the MDI or soft keys. Select the desired page using the
PAGE PAGE
page keys.
- 503 -
B.NC SETTING
APPENDIX
B-75074EN/04
NOTE Already-set data can be deleted. To delete numerical data, enter 0. To delete character data, enter a space (SP).
- 504 -
B-75074EN/04
APPENDIX
B.NC SETTING
IP ADDRESS USERNAME
PASSWORD
LOGIN DIR
NOTE When the "TCP/IP setting items for the CNC" have been changed, the power must be turned off then on again.
- 505 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.3.3.2
HUB
10BASE-T or 100BASE-TX Personal computer No.1 CNC No.2
CNC No.1
CNC No.1 IP address Subnet mask Router IP address Connection IP address host 1 Port number User name Password Login DIR Parameter No.20 192.168.0.1 255.255.255.0 None 21 192.168.0.101 dtsvr dtsvr None 5 Personal computer No.1 IP address Subnet mask Default gateway User name Password Login DIR 192.168.0.101 255.255.255.0 None dtsvr dtsvr Default
Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows 2000/XP). Set these items with User Manager of PC (Windows 2000/XP). Set this item with Internet Service Manager of PC (Windows 2000/XP).
B.3.3.3
- 506 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.4
B.4.1
Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time
CAUTION When the FAST Ethernet is used for the first time, consult with your companys network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. Particularly, if a duplicate IP address is set, communication errors are caused intermittently. This may result in a CNC's system error. NOTE 1 One of the following option functions is needed when the FOCAS2/Ethernet functions are used: Refer to Item "Ethernet boards or Data Server boards and CNC options," in Section 3.1 of Part I for details. 2 There is a limit on the number of FOCAS2/Ethernet clients connectable to one CNC using the FOCAS2/Ethernet functions. Refer to Note 2 in Item Usable CNCs (When the FOCAS2/Ethernet is used) in Section 3.1 of Part I for details.
- 507 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.4.2
FOCAS2/Ethernet Screen
This subsection describes the setting screen for operating the FOCAS2/Ethernet functions.
Procedure
1 2 3 4 5 Place the CNC in MDI mode. Press function key
SYSTEM
Soft key [ETHER BOARD] appear. (When there is no soft keys, press the continue key.) Press soft key [ETHER BOARD] to display the Ethernet Setting screen. Press soft keys [COMMON] and [FOCAS2] and then enter parameters for the items that appear.
- 508 -
B-75074EN/04
APPENDIX
B.NC SETTING
COMMON screen
Press soft key [COMMON] to display the COMMON screen.
COMMON screen
Setting item
Item IP ADDRESS Description Specify the IP address of the FAST Ethernet/ FAST Data Server. (Example of specification format: "192.168.0.100") Specify a mask address for the IP addresses of the network. (Example of specification format: "255.255.255.0") Specify the IP address of the router. Specify this item when the network contains a router. (Example of specification format: "192.168.0.253")
SUBNET MASK
ROUTER IP ADDRESS
Display item
Item MAC ADDRESS Description FAST Ethernet/ FAST Data Server MAC address
NOTE The second page (detail screen) of the COMMON screen is to be set when the DNS/DHCP function is used. For details, see "FANUC FAST Ethernet / FAST Data Server OPERATORS MANUAL (B-64014EN).
- 509 -
APPENDIX
B-75074EN/04
FOCAS2 screen
Setting item
Item PORT NUMBER (TCP) PORT NUMBER (UDP) Description Specifies the port No. to be used by the FOCAS2/Ethernet functions, within a range of 5001 to 65535. Enter the value that is indicated in the [UPD number for C4 service] dialog box displayed during installation. Refer to Item "UDP number for C4 service," in Section 3.2 of Part II for details. Set 50.
TIME INTERVAL
NOTE 1 The unit of TIME INTERVAL is 10 ms. The allowable input range is 10 to 65535. Values less than 100 ms cannot be set. 2 If a smaller value is set in TIME INTERVAL, the communication load can increase to adversely affect the performance of the network. Example) If 100 is set, broadcast data is transmitted at intervals of 1 second (1000 ms) (= 100 10).
- 510 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.4.3
CNC No.1
CNC No.2
CNC No.1 IP address Subnet mask Router IP address TCP port No. UDP port No. Time interval 192.168.0.1 255.255.255.0 None 8193 8192 50
CNC No.2 192.168.0.2 255.255.255.0 None 8193 8192 50 The common setting screen is used for setting. The FOCAS2 setting screen is used for setting.
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 IP address Port number CNC No.2 IP address Port number 192.168.0.101 255.255.255.0 None 192.168.0.1 8193 192.168.0.2 8193 Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.4.4
- 511 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.5
B.5.1
Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time
CAUTION When the embedded Ethernet function is used for the first time, consult with your companys network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. NOTE 1 One of the following option functions is needed when the FOCAS2/Ethernet functions are used: Refer to Item "Ethernet boards or Data Server Boards and CNC options," in Section 3.1 of Part I for details. 2 There is a limit on the number of FOCAS2/Ethernet clients connectable to one CNC using the FOCAS2/Ethernet functions. Refer to Note 2 in Usable CNCs (When the FOCAS2/Ethernet is used) in Section 3.1 of Part I for details. 3 If multiple application software products or multiple personal computers access the CNC simultaneously, the communication load on the CNC can increase, resulting in decreased communication speed and degraded CNC screen display processing.
- 512 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.5.2
B.5.2.1
Procedure
1 2 3 4 5 Place the CNC in MDI mode. Press function key
SYSTEM
Soft keys [EMBED] and [PCMCIA LAN] appear. (When there is no soft keys, press the continue key.) To display the Ethernet Setting screen for the embedded Ethernet port or the PCMCIA Ethernet card, press soft key [EMBED] or [PCMCIA LAN], respectively. Press soft keys [COMMON] and [FOCAS2] and then enter parameters for the items that appear.
NOTE 1 The parameters for the embedded Ethernet port and the parameters for the PCMCIA Ethernet card are independent of each other. 2 The settings of the FOCAS2/Ethernet function for the PCMCIA Ethernet card are made when a connection to the Servo Guide and FANUC LADDER-III is established.
- 513 -
APPENDIX
B-75074EN/04
COMMON screen
Setting item
Item IP ADDRESS SUBNET MASK ROUTER IP ADDRESS Description Specifies the IP address of the embedded Ethernet. (Example of specification format: "192.168.0.100") Specifies the mask address of the network IP address. (Example of specification format: "255.255.255.0") Specifies the router IP address. Specify this address when the network incorporates a router. (Example of specification format: "192.168.0.253")
Display item
Item MAC ADDRESS AVAILABLE DEVICE Description Embedded Ethernet MAC address Enabled device of the embedded Ethernet. Either the embedded Ethernet port or the PCMCIA Ethernet card is displayed.
- 514 -
B-75074EN/04
APPENDIX
B.NC SETTING
FOCAS2 screen
Press soft key [FOCAS2] to display the FOCAS2 screen.
FOCAS2 screen
Setting item
Item PORT NUMBER (TCP) PORT (UDP) NUMBER Description Specifies the port No. to be used by the FOCAS2/Ethernet functions, within a range of 5001 to 65535. Enter the value that is indicated in the [UPD number for C4 service] dialog box displayed during installation. Refer to Item "UDP number for C4 service," in Section 3.2 of Part II for details. Set 50.
TIME INTERVAL
NOTE 1 The unit of TIME INTERVAL is 10 ms. The allowable input range is 10 to 65535. Values less than 100 ms cannot be set. 2 If a smaller value is set in TIME INTERVAL, the communication load can increase to adversely affect the performance of the network. Example) If 100 is set, broadcast data is transmitted at intervals of 1 second (1000 ms) (= 100 10).
- 515 -
B.NC SETTING
APPENDIX
B-75074EN/04
- 516 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.5.2.2
CNC No.1
CNC No.2
CNC No.1 IP address Subnet mask Router IP address TCP port No. UDP port No. Time interval 192.168.1.1 255.255.255.0 None 8193 8192 50
CNC No.2 192.168.1.2 255.255.255.0 None 8193 8192 50 The common setting screen is used for setting. The FOCAS2 setting screen is used for setting.
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 IP address Port number CNC No.2 IP address Port number 192.168.1.101 255.255.255.0 None 192.168.1.1 8193 192.168.1.2 8193 Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.5.2.3
- 517 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.5.3
B.5.3.1
Procedure
1 2 3 4 5 Place the CNC in MDI mode. Press function key
SYSTEM
Soft keys [EMBED] appear. (When there is no soft keys, press the continue key.) By pressing the [EMBED] soft key, the Ethernet Setting screen for the embedded Ethernet port is displayed. Press soft keys [COMMON] and [FTP TRANS] and then enter parameters for the items that appear.
NOTE 1 The parameters for the embedded Ethernet port and the parameters for the PCMCIA Ethernet card are independent of each other. 2 If the [PCMCIA LAN] soft key is pressed, the PCMCIA Ethernet card can be set up. However, the card setup is carried out for maintenance and is not necessary usually.
- 518 -
B-75074EN/04
APPENDIX
B.NC SETTING
COMMON screen
Press soft key [COMMON] to display the COMMON screen.
COMMON screen
Setting item
Item IP ADDRESS SUBNET MASK ROUTER IP ADDRESS Description Specifies the IP address of the embedded Ethernet. (Example of specification format: "192.168.0.100") Specifies the mask address of the network IP address. (Example of specification format: "255.255.255.0") Specifies the router IP address. Specify this address when the network incorporates a router. (Example of specification format: "192.168.0.253")
Display item
Item MAC ADDRESS AVAILABLE DEVICE Description Embedded Ethernet MAC address Enabled device of the embedded Ethernet. Either the embedded Ethernet port or the PCMCIA Ethernet card is displayed.
- 519 -
APPENDIX
B-75074EN/04
Press soft key [FTP TRANS] to display the FTP transfer screen. By using page keys
PAGE PAGE
Setting item
Item HOST NAME PORT NUMBER Description Specify the IP address of the host computer. (Example of specification format: "192.168.0.200") Specify a port number to be used with the FTP file transfer function. An FTP session is used, so that "21" is to be specified usually. USERNAME Specify a user name to be used for logging in to the host computer with FTP. (Up to 31 characters can be specified.) PASSWORD Specify a password for the user name specified above. (Up to 31 characters can be specified.) Be sure to set a password. LOGIN FOLDER Specify a work folder to be used when logging in to the host computer. (Up to 127 characters can be specified.) If nothing is specified, the home folder specified in the host computer becomes the log-in folder.
- 520 -
B-75074EN/04
APPENDIX
B.NC SETTING
Changing the host computer to be connected for the FTP file transfer function
Select a destination. 1 Pressing the [(OPRT)] soft key causes soft key [HOST SELECT] to be displayed. Pressing this soft key causes soft keys [CONECT 1], [CONECT 2], and [CONECT 3] to be displayed.
Depending on the host computer to be connected, press soft key [CONECT 1], [CONECT 2], or [CONECT 3]. Destination 1, 2, or 3 is highlighted in the screen title field. The computer corresponding to the highlighted destination is selected as the target computer to be connected. When destination 1 is selected
- 521 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.5.3.2
CNC No.1
CNC No.2
CNC 1 IP address Subnet mask Router IP address Connection Port number host 1 IP address User name Password Login DIR NC parameter No. 20
192.168.0.1 192.168.0.2 255.255.255.0 255.255.255.0 None None 21 21 192.168.0.101 192.168.0.101 Dtsvr dtsvr Dtsvr dtsvr None None 5 5 PC 1
IP address Subnet mask Default gateway User name Password Login DIR
"Microsoft TCP/IP property" of the personal computer (Windows 2000/XP) is used for setting. "User acount of the personal computer (Windows 2000/XP) is used for setting. "Internet service manager" of the personal computer (Windows 2000/XP) is used for setting.
B.5.3.3
- 522 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.6
B.6.1
Precautions to be Observed when Using the Data Server Functions for the First Time
1 CAUTION When the FAST Data Server is used for the first time, format the ATA Flash card, set the appropriate parameters, and turn the power off then on again. If the Data Server functions are used without performing these operations, normal operation cannot be guaranteed. When Ethernet FTP communication is performed for the first time, consult with your company's network administrator to determine the IP addresses and other settings. Then, conduct a communications test. If incorrect IP addresses and other settings are set, communications may be interfered with or the entire network might be adversely affected. Particularly, if a duplicate IP address is set, communication errors are caused intermittently. This may result in a CNC's system error. Never turn off the power to the CNC while the ATA Flash card is being accessed (while a Data Server function service is being executed). Otherwise, the data on the ATA Flash card may be destroyed. Never turn off the power to the CNC while using its functions, especially the FTP server functions. To guard against ATA Flash card failure, back up the files on the ATA Flash card.
NOTE 1 One of the following option functions is needed when the Data Server functions are used: For details, see the item of "Ethernet boards or Data Server boards and CNC options" in Section 3.1, "CNC", in Chapter 3, "OPERATING ENVIRONMENT" of Part I, "OVERVIEW". 2 The Data Server function imposes an upper limit on the number of FTP clients connectable to one CNC. For details, see the note on Usable CNCs (When the Data Server is used)" in Section 3.1, "CNC", in Chapter 3, "OPERATING ENVIRONMENT" of Part I, "OVERVIEW".
- 523 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.6.2
B.6.2.1
Procedure
1 2 3 4 5 Place the CNC in MDI mode. Press function key
SYSTEM
Soft key [ETHER BOARD] appear. (When there is no soft keys, press the continue key.) Press soft key [ETHER BOARD] to display the Ethernet Setting screen. Press soft keys [COMMON] and [DATA SERVER] and then enter parameters for the items that appear.
- 524 -
B-75074EN/04
APPENDIX
B.NC SETTING
COMMON screen
Press soft key [COMMON] to display the COMMON screen.
COMMON screen
Setting item
Item IP ADDRESS SUBNET MASK ROUTER IP ADDRESS Description Specifies the IP address of the FAST Data Server. (Example of specification format: "192.168.0.100") Specifies the mask address of the network IP address. (Example of specification format: "255.255.255.0") Specifies the router IP address. Specify this address when the network incorporates a router. (Example of specification format: "192.168.0.253")
Display item
Item MAC ADDRESS Description FAST Data Server MAC address
NOTE The second page (detail screen) of the COMMON screen is to be set when the DNS/DHCP function is used. For details, see "FANUC FAST Ethernet / FAST Data Server OPERATORS MANUAL (B-64014EN).
- 525 -
APPENDIX
B-75074EN/04
Press soft key [DATA SERVER] to display the Data Server screen. By using page keys
PAGE PAGE
Setting item
Item USERNAME Description Specify a user name to be used when the host computer logs in to the Data Server. (A user name of up to 31 characters can be specified.) Specify the password for the above user name. The password must always be specified. Specify a work folder to be used when the host computer logs in to the Data Server. (Up to 127 characters can be specified.) If no data is set, the home folder (home directory) is used as a login folder.
- 526 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.6.2.2
CNC No.1
CNC No.2
CNC No.1 IP address Subnet mask Router IP address FTP server User name Password Login DIR 192.168.0.1 255.255.255.0 None dtsvr dtsvr None
CNC No.2 192.168.0.2 255.255.255.0 None dtsvr dtsvr None Set these items on the COMMON screen. Set these items on the Data Server screen.
Personal computer No.1 IP address Subnet mask Default gateway CNC No.1 NC IP address NC port number NC user name NC password NC Login DIR CNC No.2 NC IP address NC port number NC user name NC password NC Login DIR 192.168.0.101 255.255.255.0 None 192.168.0.1 21 dtsvr dtsvr None 192.168.0.2 21 dtsvr dtsvr None Set these items in "Microsoft TCP/IP Property" on the personal computer (Windows OS).
Specify on the setting screen of i CELL. Refer to Subsection 2.6.1, "Setting up Communication," in Part III for details.
B.6.2.3
B.NC SETTING
APPENDIX
B-75074EN/04
B.6.3
B.6.3.1
Procedure
1 2 3 4 5 Place the CNC in MDI mode. Press function key
SYSTEM
Soft key [ETHER BOARD] appear. (When there is no soft keys, press the continue key.) Press soft key [ETHER BOARD] to display the Ethernet Setting screen. Press soft keys [COMMON] and [DATA SERVER] and then enter parameters for the items that appear.
- 528 -
B-75074EN/04
APPENDIX
B.NC SETTING
COMMON screen
Press soft key [COMMON] to display the COMMON screen.
COMMON screen
Setting item
Item IP ADDRESS SUBNET MASK ROUTER IP ADDRESS Description Specifies the IP address of the FAST Data Server. (Example of specification format: "192.168.0.100") Specifies the mask address of the network IP address. (Example of specification format: "255.255.255.0") Specifies the router IP address. Specify this address when the network incorporates a router. (Example of specification format: "192.168.0.253")
Display item
Item MAC ADDRESS Description FAST Data Server MAC address
NOTE The second page (detail screen) of the COMMON screen is to be set when the DNS/DHCP function is used. For details, see "FANUC FAST Ethernet / FAST Data Server OPERATORS MANUAL (B-64014EN).
- 529 -
B.NC SETTING
APPENDIX
B-75074EN/04
Setting item
Item HOST NAME PORT NUMBER USER NAME Description Specify the IP address of the host computer. (Example of specification format: "192.168.0.200") Specify the port number. Usually, set 21 because the FTP communication is used. Specify the name of the user to log on to the host computer using FTP. (A user name of up to 31 characters can be specified.) Specify the password for the above user name. The password must always be specified. Specify a work folder to be used when the user logs in to the host computer. (Up to 127 characters can be specified.) If no data is set, the home folder set on the host computer is used as a login folder.
- 530 -
B-75074EN/04
APPENDIX
B.NC SETTING
Changing the host computer to be connected for the Data Server function
Select a destination. 1 Pressing the [(OPRT)] soft key causes soft key [HOST SELECT] to be displayed. Pressing this soft key causes soft keys [CONECT 1], [CONECT 2], and [CONECT 3] to be displayed.
Depending on the host computer to be connected, press soft key [CONECT 1], [CONECT 2], or [CONECT 3]. Destination 1, 2, or 3 is highlighted in the screen title field. The computer corresponding to the highlighted destination is selected as the target computer to be connected. When destination 1 is selected
- 531 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.6.3.2
CNC No.1
CNC No.2
CNC 1 IP address Subnet mask Router IP address Connection Port number host 1 IP address User name Password Login DIR NC parameter No. 20
192.168.0.1 192.168.0.2 255.255.255.0 255.255.255.0 None None 21 21 192.168.0.101 192.168.0.101 Dtsvr dtsvr Dtsvr dtsvr None None 5 5 PC 1
IP address Subnet mask Default gateway User name Password Login DIR
"Microsoft TCP/IP property" of the personal computer (Windows 2000/XP) is used for setting. "User acount of the personal computer (Windows 2000/XP) is used for setting. "Internet service manager" of the personal computer (Windows 2000/XP) is used for setting.
B.6.3.3
- 532 -
B-75074EN/04
APPENDIX
B.NC SETTING
B.7
SETTING UP DNC2
0020=10
I/O=10
I/O=10
0131.0=1 0131.3=1 0134.1=1 0134.4=1 0135.3=0 0140.0=0 0140.2=0 0140.3=1 0133=11 0143=5 0144=5 0145=5 0146=3 0148=255 0149=256 -
0051.0=1 0051.3=1 0051.1=1 0051.4=1 0055.3=0 0396.0=0 0396.2=0 0396.3=1 0251=11 0365=5 0366=5 0368=5 0369=3 0370=256 0490=256 389.0=1 -
0051.0=1 0051.3=1 0051.1=1 0051.4=1 0055.3=0 0396.0=0 0396.2=0 0396.3=1 0251=11 0320=5 0321=5 0323=5 0324=3 0325=256 0490=256 389.0=1 -
NOTE The setting indicated above is needed if Series 15B uses PMC-NA (excluding PMC-NA2).
- 533 -
B.NC SETTING
APPENDIX
B-75074EN/04
B.8
SETTING UP READER/PUNCHER
0102=3 0103=11 0000.0=1 0000.1=1 0100.1=0 (disabled) 0100.3=1 0101.7=1 3202.0=1 3202.4=1 3201.1=0 3201.0=0 3201.2=0 3201.6=1
- 534 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
EXAMPLES OF NC OPERATIONS
This chapter shows some examples of NC operations. When operating an actual NC, refer to the manual of the corresponding NC.
- 535 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
C.1
DNC2
- 536 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
5 6 7 8 9 10 11 12
Press soft key [(OPRT)]. Press soft key [STRING]. Enter O????.PRG, where O???? is the NC program number of the NC program to be transferred. Press soft key [INPUT]. Press soft key [STRING]. Bring the NC into the MEM mode. Turn on the DNCI signal from PMC to bring the NC into the RMT mode. When the cycle start is activated on the NC side, the automatic operation starts.
- 537 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
- 538 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
INPUT
5 6 7
Enter O????.PRG, where O???? is the NC program number of the NC program to be transferred. Press soft key [INPUT]. When the cycle start is activated on the NC side, the automatic operation starts.
- 539 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
- 540 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
NUM. ( )( )( )(
MDI )( )
4 5 6 7 8 9
Press soft key [STRING]. Enter O????.PRG, where O???? is the NC program number of the NC program to be specified. Press input key <INPUT>. Bring the NC into the AUTO mode. Turn on the DNCI signal from the PMC. When the cycle start is activated on the NC side, the automatic operation starts.
If bit 0 of NC parameter 389 is set, the [MAP PARAMETER] screen must be enabled and the [SERVO SETTING] screen must be disabled when the DNC operation is carried out.
- 541 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
C.2
READER/PUNCHER
The NC program cannot be uploaded to the PC by using the file number as a key. So, ignoring the file number, the PC finds the NC program number placed at the start of the transferred program and uses it as a key.
- 542 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
Deleting an NC program
1 2 3 4 5 6 Bring the NC into the EDIT mode. Press function key <PROG>. Press soft key [DELETE]. Enter the file number "??". Press soft key [F SET]. Press soft key [EXEC].
- 543 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
- 544 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
The NC program cannot be uploaded to the PC by using the file number as a key. So, ignoring the file number, the PC finds the NC program number placed at the start of the transferred program and uses it as a key.
- 545 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
The NC program cannot be uploaded to the PC by using the file number as a key. So, ignoring the file number, the PC finds the NC program number placed at the start of the transferred program and uses it as a key.
- 546 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
Deleting an NC program
1 2 3 4 5 6 Bring the NC into the EDIT mode. Press function key <PRGRM>. Press soft key [DELETE]. Enter the file number "??". Press function key <INPUT>. Press soft key [EXEC].
Deleting an NC program
1 2 3 4 5 6 Bring the NC into the EDIT mode. Press soft key [PRGRM]. Press soft key [DELETE]. Press soft key [PRGRM#]. Enter the file number "??". Press soft key [EXEC].
- 547 -
C.EXAMPLES OF NC OPERATIONS
APPENDIX
B-75074EN/04
- 548 -
B-75074EN/04
APPENDIX
C.EXAMPLES OF NC OPERATIONS
Deleting an NC program
1 2 3 4 Bring the NC into the EDIT mode. Press function key <PRGRM>. Enter N??, where N?? is the file number of the file number to be specified. Press soft key [DELETE].
- 549 -
D.ERROR CODES
APPENDIX
B-75074EN/04
ERROR CODES
- 550 -
B-75074EN/04
APPENDIX
D.ERROR CODES
D.1
0x00010001
0x00010003
0x00030413
0x00030602
0x00030603
- 551 -
D.ERROR CODES
APPENDIX
B-75074EN/04
0x00030604
0x00030605
0x00030f06
The NC sent an M_NR negative acknowledgment. An error has occurred on the NC side, but the NC is not configured to return an error code. Modify parameter settings so that the error code is returned from the NC. The NC sent an N_NP negative acknowledgment. An error has occurred on the NC side, but the NC is not configured to return an error code. Modify parameter settings so that the error code is returned from the NC. The NC sent an N_IL negative acknowledgment. An error has occurred on the NC side, but the NC is not configured to return an error code. Modify parameter settings so that the error code is returned from the NC. No O number is specified. Alternatively, an illegal value is specified. Check whether a correct O number is specified. Another instruction is being executed. Make a retry after the execution ends. The specified tool post path number is not 0. With DNC2, specify 0 as the tool post path number. An unsupported request code was received. Check the argument to the function. An unsupported information read (ReadVariable) instruction was received. Check the argument to the function. An unsupported information write (WriteVariable) instruction was received. Check the argument to the function. The number of information items specified for an information read instruction or information write instruction is 0. Specify a value between 1 and the maximum permissible value as the number of information items. An illegal combination of tool offset values was specified. Specify tool offset values appropriate for the type of the NC used. The specified address cannot be converted. Check whether the PMC number and the address character in the PMC area are correct. The number of read data items is smaller than the number of data items specified for the information read (ReadVariable) instruction. Check whether the specified range is correct.
0x0004100f
0x00041010
- 552 -
B-75074EN/04
APPENDIX
D.ERROR CODES
0x00041024
0x00041025
0x00041026
0x00041028
0x0004102c
Automatic ISO/EIA discrimination could not be executed for the NC program uploaded to the computer. The automatic ISO/EIA discrimination is made on the basis of the LF character included in a hundred characters read from the beginning of the file. However, no LF character was sent (0x0a: ISO; 0x80: EIA). Check the contents of the data to be uploaded. The data being uploaded does not contain any O number. A data upload with a file number specified requires an O number in the data. Check the data to be uploaded. Upload the data, specifying a file name instead of a file number. The data being uploaded contains a character O or a colon (:), which is not followed by any number. Check the data to be uploaded. In the automatic ISO/EIA discrimination of an NC program uploaded to the computer, an illegal character was found. Check the data to be uploaded. The upload or download data contains an illegal character. For the upload data, the computer carries out an automatic ISO/EIA discrimination. The characters may have been garbled because of a wrong communication setting. For the download data, check whether the data in the computer is written in ASCII.
0x00060123
0x00060128
- 553 -
D.ERROR CODES
0x00060136 0x0006013a 0x00060200 0x00060201 0x00060202 0x00060203 0x00060204 0x00060205 0x00060206 0x00060207 0x00060208 0x000604f0 0x000604ff(1) 0x000604ff(2) 0x000604ff(3) 0x00060505(1) 0x00060505(2)
APPENDIX
B-75074EN/04
Write to the result file failed. A folder having the same name as a file is present. The folder cannot be overwritten by the file. There is a file or folder name format error. Check the file or folder name. A specified file or folder name cannot be found. Check whether the file or folder is present. Too many files are registered. The same file name is already present. Downloading by overwriting an existing program cannot be performed. Check bit 2 of NC parameter No. 3201. A specified file or folder is selected on the NC side. Cancel the selection, then retry. There is no program within a specified range. Check whether a program is registered. The NC program area is destroyed. Check the contents. NC data contains a syntax error. Check the contents. When the TV check is valid, a block containing an odd number of characters (including LF at the end of the block) is detected. The NC power is turned off during communication over the Ethernet, or the Ethernet cable is broken. Check the power supply and cable. A program cannot be deleted in the MDI mode. Use a mode other than the MDI mode. A selected program cannot be deleted in a mode other than the EDT mode. A program cannot be selected when another program is already running. The 140 BP/S alarm condition has occurred in the NC. It is impossible to perform downloading to a program selected in the NC. The 73 BP/S alarm condition has occurred in the NC. It is impossible to perform overwrite-downloading to an existing program. Check bit 2 of NC parameter 3201. The 72 BP/S alarm condition has occurred in the NC. An attempt was made to register more programs than the maximum number of programs that can be registered with the NC. Delete unnecessary programs. It is impossible to upload a program that is not in the NC. It is impossible to select a program that is not in the NC. It is impossible to delete a program that is not in the NC. An NC program cannot be deleted because the memory protection key is on. Turn off the memory protection key. If the 70 BP/S alarm condition occurs in the NC: The memory depleted in the NC when a program was being downloaded. Delete unnecessary programs, and try to download the program again. A specified series number is incorrect. Specify a correct series number. A program cannot be downloaded in the MDI mode. Put the NC in the EDT or MEM mode.
- 554 -
B-75074EN/04
APPENDIX
D.ERROR CODES
0x10011102 0x10011103 0x10011009 0x10011106 0x10011107 0x10011108 0x10011130 0x10011132 0x10013001 0x10013101 0x1002010a 0x1002010b 0x1002010c 0x1002010e 0x10020111 0x10020112 0x10020113 0x10020115 0x10020118
0x10022011
The PC memory was depleted during initialization. Terminate unnecessary applications or increase the size of the virtual memory to allocate more memory. The specified machine number is invalid. It is impossible to communicate with a machine not set up in the Configuration dialog box. The specified file number is invalid. Check whether the specified file number is 1 or greater. The default directory holds fewer files than a specified file number. Check the file number. The specified file name is invalid. No default directory is specified in the Configuration dialog box. Specify one. An attempt to detect a file failed. Check whether the file is write-protected and whether another process has opened it by locking it. An attempt to get a port number from the services file failed. Check whether the "FANUC_PCFA_CDA" entry has been registered with the services file. An attempt to get a port number from the services file failed. Check whether the "FANUC_PCFA_CDA" entry has been registered with the services file. A download file is not found. Check whether there is a download file. A download file cannot be opened. Check the file attribute of the download file. A download file has no O number. Check whether the file contains an O number. An error occurred in reading a download file. An error occurred in closing a download file. An error occurred in moving a file to be written over for uploading. Check the file attribute of the file. An error occurred in creating an upload file. Check whether the directory setting is correct. An error occurred in writing an upload file. An error occurred in closing an upload file. If a directory on the network is used, check that the network is normal. Data whose highest bit (bit 8) is 1 was found. Check to see whether the NC program to be transferred is using invalid characters (such as kanji or half-size katakana). Refer to Section 4.2, "NC Program Format," in Part I, "Overview," for explanations about the unicode. The O number of a download file is 5 digits (9 digits or more when 8-digit numbers are supported) or more. Keep the O number within four digits (within 8 digits when 8-digit numbers are supported). The O number of a download file is 0. Do not use 0 as an O number. The buffer has overflowed in a flash stop state. Keep the data between the end code of the NC program and an EOF code or the next O number within several ten bytes. The subprogram calling depth exceeded the limit (8 levels, or 15 levels for Series 30i/31i/32i). Keep the subprogram calling depth within 8 levels (within 15 levels for Series 30i/31i/32i). An attempt to open a subprogram file failed. Check the access permission for subprograms. Check whether another process is using the subprogram. There is no file that corresponds to a subprogram call. Check whether the subprogram file exists. Another O number was found in a subprogram file. No multivolume configuration is supported for subprogram files.
- 555 -
D.ERROR CODES
0x10022056 0x10022058 0x10022059 0x10022062 0x10022091 0x10022092 0x10022093 0x100220a1 0x100220a2
APPENDIX
B-75074EN/04
0x100220a3 0x100220a4 0x100220a5 0x10022104 0x10022105 0x10022107 0x10022108 0x1002210a 0x1002210b 0x1002210d 0x1003000b 0x1003000c 0x10040102 0x10040106 0x1004010f 0x10040110 0x10040111
A subprogram file has no M99. The subprogram must have M99. A subprogram name does not match the O number in the file. The subprogram name must be the same as the O number in the file. M02 or M03 was found in a subprogram file. Subprogram files cannot use M02 or M03. M99 was found in the main program for an expanded subprogram. The main program for an expanded subprogram cannot contain M99. An attempt to open a transfer file failed. Check the access permission for transfer files. Check whether another process is using the transfer file. There is no transfer file. Check whether the transfer file exists. In a list simultaneous transfer, a transfer file has no O number. In a list simultaneous transfer, each file specified in the list must have an O number. (The O number of a list file is used only in a list expansion transfer.) A line in the NC program is longer than 320 characters. Keep any line that contains a subprogram call within 320 characters. A P code is 0. Specify an O number (1 to 9999, or 1 to 99999999 when 8-digit numbers are supported) that is valid for the P code. A P code is higher than 9999. Specify an O number (1 to 9999, or 1 to 99999999 when 8-digit numbers are supported) that is valid for the P code. There are duplicate P codes. Do not specify more than one P code in a line that contains a subprogram call. There are duplicate L codes. Do not specify more than one L code in a line that contains a subprogram call. An attempt was made to transfer an O number that was already transferred. Check whether two or more files specified in the list have the same O number. An MFC file exception occurred. An attempt to move an original file in overwrite-uploading. Check whether another process is using the original file. An attempt to create an upload file failed. Check whether there is a directory where the upload file is to be created. Check the access permission for the directory where the upload file is to be created. An attempt to write to an upload file failed. An attempt to close an upload file failed. An attempt was made to perform overwrite-uploading for a read-only file. Check whether the specified file name and other information are correct. An attempt to open setup data in the registry of the PC failed. Check whether the registry of Windows OS is disrupted. An attempt to read setup data from the registry of the PC failed. Check whether the registry of Windows OS is disrupted. The specified machine number is invalid. The computer name of the specified PC is invalid. A file name or its full path name has not been specified in downloading or uploading where they should be. An O number specified for uploading, downloading, selection, or deletion is invalid. Check whether the O number is in a range between 1 and 9999 (1 to 99999999 when 8-digit numbers are supported). An executable file for a communication process was not found.
- 556 -
B-75074EN/04
APPENDIX
D.ERROR CODES
0x1004011c(1)
0x1004011c(2) 0x1004011d 0x10040121 0x10040122 0x10040123 0x10040124 0x10040125 0x10040126 0x10040127 0x10040128 0x1004020f 0x10040210 0x10060001
0x10060002
The TCP/IP protocol has not been set up. Check the Network Protocol tab on Control Panel to see if the TCP/IP protocol has been set up. Also check whether your PC can share the network with a Windows PC on which the TCP/IP protocol is already set up and communicate with it using the ping command. CDA Manager is not running. If CDA Manager cannot start normally, check whether "FANUC_PCFA_CDA" has been set up in the services file. Each data line in this file must end with a new-line code. No machine has been specified in the Configuration dialog box. The folder name is incorrect. Check the folder name. There are too many hierarchical levels. Check the number of hierarchical levels. Characters that cannot be handled by the NC are included. Check the character string. The O number is too long. Check whether the O number is within the range from 1 to 9999 (1 to 99999999 when 8-digit numbers are supported). The file name is too long. Check the number of characters. The folder name is too long. Check the number of characters. A folder or file name is not specified. The specified folder of file name (path format) is incorrect. Check the specified character string. Communication Manager is not running. "FANUC_PCFA_APP" has not been set up in the services file. An attempt was made to open a list file that is already open. Close the list file, and rerun. An attempt to open a list file failed. If you are trying to operate a machine-specific list file, check whether a transfer is completed and the machine number is valid. If you are trying to operate an existent original list file, check whether no other process is operating the same file and the specified file name is correct. If you are trying to create an original list file, check whether the specified file is correct. The specified list file was not found. Check whether the specified list file is valid. An attempt to close a list file failed. The specified list file is already closed. Application software attempted to execute a function (mathematical formula) for a transfer auxiliary function (instruction sequence). Check whether the function call is valid. The record flag of a specified record is incorrect. The flag indicates that the function (mathematical formula) you attempted to operate cannot be executed. Check the record flag. An attempt to lock the header field failed. An attempt to lock a specified record field failed. A function (mathematical formula) for original list files was executed for a machine-specific list file. A function (mathematical formula) for machine-specific files was executed for an original list file. An attempt to seek a specified record failed. An attempt to read from a list file failed. An attempt to read data of an expected size from a list file failed. Check the contents of the list file.
- 557 -
D.ERROR CODES
0x10060013 0x10060014 0x10060015 0x10060016 0x10060017
APPENDIX
B-75074EN/04
0x10060018
0x1009F004
0x1009F005
An attempt to write to a list file failed. An attempt to write data of an intended size to a list file failed. Check the contents of the list file. The O number flag of a specified record is incorrect. Check the specified O number flag. An attempt to unlock the header field failed. An attempt to unlock a specified record field failed. An attempt to open the registry failed. Check whether the registry is set up correctly. In the registry, a directory (HELPER_MACHINE_LIST_DIR) where machine-specific list files are to be created has not been set up. Set up the registry correctly. An attempt to read a key from the registry failed. Check whether the registry is set up correctly. An attempt to read a value from the registry failed. Check whether the registry is set up correctly. The header flag for a machine-specific list file does not indicate "transfer in progress." Check whether the header flag indicates "transfer in progress." An attempt to modify a record that was already transferred failed. The list file does not contain a record having a specified record number. Check the number of records. The PC memory was depleted during execution. Terminate unnecessary applications or increase the size of the virtual memory to allocate more memory. A machine specified for Ethernet communication has not been connected to the network correctly. Check the connection of the Ethernet cable and the setting of the network. Check whether the "FANUC_C4_SERVER" value in the services file is the same as the "UDP port number" of "ETHPRM" in the NC. It is impossible to connect to FANUC C4 Server. By selecting [Control Panel] - [Service], check whether FANUC C4 Server has started correctly. Alternatively, check whether "127.0.0.1" has been set in [C4 Server Host Name] in the machine configuration screen.
0x2002ffca
- 558 -
B-75074EN/04
APPENDIX
D.ERROR CODES
0x2002fdfe 0x2002fdfd 0x2002fdfc 0x2002fdfb 0x2002fdfa 0x2002fdf9 0x2002fc0c 0x2002fc0b 0x2002fc0a 0x2002fc09
0x2002fba7
0x2002fba6
0x2002fba5
0x2002fb9e
The line is busy. There are remaining data. The file name is incorrect. An open request was refused. If the error occurs in downloading by FANUC Series 0, the NC may be in the alarm state. If the error occurs in uploading by FANUC Series 0, the NC may be in the alarm state. An edit request was refused. Busy state The selected file is not present. If this error occurs when an NC program is selected, the desired NC program may not be present. A warning occurred when a file was selected. A start request was refused. If this error occurs at a cycle start, the NC may be executing another program. The NC is not in the automatic operation mode. If this error occurs at a cycle start, the NC may not be in the automatic operation mode. If this error occurs when an NC program is selected, the NC may not be in a correct mode. A file selection request was refused. If this error occurs when an NC program is selected, the NC may be executing or editing another program. If this error occurs with FANUC Series 0, Series 16, or Series 18, the NC may be in the alarm state. A file deletion request was refused. The file is protected. A file deletion request was refused or caused a warning to be made. An editing request was refused. The directory cannot be found. A directory read request was refused. The directory file name is illegal. An error occurred in the window library on the NC side. The command is not executed. If this error occurs with FANUC Series 16 or Series 18 when an NC program is deleted, the specified NC program may be running. If this error occurs with FANUC Series 0 when an NC Program is deleted, the NC may be in the alarm state. The machine code is inappropriate. The major data classification is inappropriate. If this error occurs when an NC variable is read or written, the value of the variable address may be illegal. If this error occurs when a custom macro variable is written, for instance, the macro variable number may be illegal. The middle data classification is inappropriate. The minor data classification is inappropriate. If this error occurs when an NC variable is read or written, the value of the variable address may be illegal. If this error occurs when PMC data is written, for instance, the PMC number may be illegal. The data length is inappropriate. The data type is inappropriate. The data is inappropriate. A command error occurred. The option is not provided. If this error occurs when a custom macro variable is written, the option corresponding to the specified macro variable number may not be provided. If this error occurs when a tool offset value is written, the option corresponding to the specified offset number may not be provided.
- 559 -
D.ERROR CODES
APPENDIX
B-75074EN/04
0x2002fb9d 0x2002fb9c 0x2002fb9b 0x2002fb9a 0x2002fb99 0x2002fb98 0x2002fb97 0x2002fb96 0x2002fb95 0x2002fb94 0x2002fb93 0x2002fb92 0x2002fb46 0x2002fb45 0x2002f62d 0x2002f625 0x2002f61f 0x2002f61e
The file cannot be found. If this error occurs when an NC program is deleted, the specified NC program may not be present. The file is protected. The directory area cannot be found. The NC memory area is insufficient. Reading is inhibited. Writing is inhibited. If this error occurs when an NC program is deleted, the specified NC program may be protected. A write attempt ended in failure. A read attempt ended in failure. The device is not effective. The system is not ready. The status is not effective. If this error occurs with FANUC Series 0 or Series 15 when an NC program is deleted, the specified NC program may be busy. The data does not match. The window expansion option is not provided. Another error occurred. Writing is inhibited. If this error occurs when data is downloaded, files with file numbers in the nine thousands or eight thousands may be protected. The data cannot be found. If this error occurs in uploading, the NC program may not be present. The program has already been present. If this error occurs in downloading, the program may be overwrite-protected. The NC memory area is insufficient. If this error occurs in downloading, the NC memory may have no free space.
- 560 -
B-75074EN/04
APPENDIX
- 561 -
APPENDIX
B-75074EN/04
E.1
OVERVIEW
A point is created for a machine of which communication protocol is FOCAS2/Ethernet or DNC2. No point is created for a machine with the reader/puncher interface.
E.1.1
<1> The i CELL configuration screen reads the point setting of CIMPLICITY. <2> By acting on the i CELL configuration screen, the operator adds machines and modifies i CELL functions. According to what the operator performed, the i CELL configuration screen changes the CIMPLICITY points. <3> The i CELL configuration screen saves the i CELL setting. It also reflects a change to the CIMPLICITY point setting to CIMPLICITY. <4> The NC connection function reads the i CELL setting. <5> The NC connection function communicates with the NC according to the i CELL setting it read. Values read from the NC are reflected to the CIMPLICITY points, and the CIMPLICITY point values are written to the NC. <6> i CELL reads the i CELL setting, and reads and writes CIMPLICITY point values according to the i CELL setting. It also displays the point values on the screen, and adds them up and saves them to a database.
- 562 -
B-75074EN/04
APPENDIX
E.1.2
Machine-specific points
The name of each machine-specific point consists of two parts. The first part identifies the machine and series, and the second part identifies the type of the point. A period "." is used to separate the parts. The format of the point name is: FNCxxxy.<identifier> where: FNC is a fixed character string. xxx is a three-digit machine number. It can range from 001 to 999. y is a two-digit series number.
Point type - If there is only one NC series, all points for that machine - If there are two or more NC series, points for series 1 - If there are two or more NC series, points not related to series If there are two or more NC series, points for series 2 y value 01 02
<Identifier> identifies a point type. Example) The name of a point is "FNC0011.F_AL" if the machine number is 1, the series number is 1, and the identifier is "F_AL" (NC alarm).
The i CELL -common points are independent of machines. The name of each i CELL -common point consists of two parts. The first part is a fixed character string, and the second part identifies the point name. A period "." is used to separate the parts. The format of the point name is: FNCSYSP.<identifier> where: FNCSYSP is a fixed character string. <identifier> identifies a point type.
- 563 -
APPENDIX
B-75074EN/04
E.2
E.2.1
LIST OF POINTS
Machine-Specific Points
The following table summarizes machine-specific points. The meaning of each column header of the following table is as follows:
Point name Data type Reading interval i CELL function Value and meaning Indicates the name of a CIMPLICITY point. The first part "FNCxxxy." of the point name is left out; only the identifier is indicated. Indicates the type of CIMPLICITY point data. Indicates the interval at which the point value is updated. Characters E and D indicate the communication protocol to which a point is applied. E : FOCAS2/Ethernet D : DNC2 Indicates the i CELL function for which the point is used. Indicates the value that the point can take and the meaning of the value.
Each value of the item "i CELL function" corresponds to the function name for a check box displayed on the Function tab of the i CELL machine screen. (To open the i CELL machine screen, select i CELL and Machine from the tree in the i CELL configuration screen, and double-click a desired machine in the grid.) For example, if you turn on the overview function in the i CELL configuration screen, the point that has the i CELL function value "Overview" in the following table is added to CIMPLICITY. If you turn off the function, the related points are deleted from CIMPLICITY. Clicking the Disable All button in the i CELL machine screen deletes all points related to the machine of interest from CIMPLICITY. The NC connection function reads values from the NC regularly, and writes them to CIMPLICITY points. The item "Reading interval" in the table indicates the interval at which the values are read. If the value of a CIMPLICITY point is changed, the NC connection function writes the new value to the NC immediately.
NOTE As the PMC address used for a point, the PMC address for the first path of an NC is indicated. When a multipath NC is connected, the PMC address for each path is used.
- 564 -
B-75074EN/04
APPENDIX
Reading interval E : One second D : Ten seconds E : One second E : One second E : One second i CELL function Overview Alarm Alarm
Data type BOOL INT INT INT Array with eight elements INT Array with eight elements INT Array with eight elements INT Array with eight elements DINT BOOL
F_ALARMNO0
Alarm
F_ALARMNO1 to 32
E : One second
Alarm
F_ALARMTYPE0
E : One second
Alarm
F_ALARMTYPE1 to 32
Alarm
F_ALI F_COM_ACTIVATE
Alarm (Note 1)
F_COM_COND
BOOL
- (Note 1)
F_COM_ON
BOOL
- (Note 1)
F_COM_RETRY
BOOL
- (Note 1)
F_COM_STATUS
BOOL
- (Note 1)
- 565 -
APPENDIX
i CELL function
B-75074EN/04
Value and meaning NC emergency stop signal. The value is 0 if the NC is at an emergency stop. Otherwise, it is 1. It is invalid if the NC power is off. The NC types and PMC addresses are as listed below. FS30i/31i/32i Bit 4 of G0008 FS16i/18i/21i Bit 4 of G0008 Power Mate i D/H Bit 4 of G0008 FS0i Bit 4 of G0008 FS15 Bit 4 of G0000 FS0 Bit 4 of G0121 NC emergency stop signal. The value is 0 if the NC is at an emergency stop. Otherwise, it is 1. It is 1 also if the NC power is off. Eight bits (No. 1) of the PMC area for indicating the state of the NC. The NC types and PMC addresses are as listed below. FS30i/31i/32i F0000 FS16i/18i/21i F0000 Power Mate i D/H F0000 FS0i F0000 FS15 F0000 FS0 F0148 It is invalid if the NC power is off. Eight bits (No. 2) of the PMC area for indicating the state of the NC. The NC types and PMC addresses are as listed below. FS30i/31i/32i F0001 FS16i/18i/21i F0001 Power Mate i D/H F0001 FS0i F0001 FS15 F0001 FS0 F0149 It is invalid if the NC power is off. NC ready signal. The value is 1 if the NC is ready to operate. Otherwise, it is 0. It is 0 also if the NC power is off. Indicates an error in the NC connection function NC automatic operation-in-progress signal. The value is 1 if the NC is in automatic operation. Otherwise it is 0. It is 0 also if the NC power is off. The value is 1 if there is an operator message. Otherwise, the value is 0. Character string of the operator message. This is valid if F_OPM is 1. Points 1 to 4 are created according to the number of NC operator messages. Operator message number. The value is -1 if there is no operator message. Points 1 to 4 are created according to the number of NC operator messages. Used within the NC connection function Indicates whether the NC power is on or off. The value is 1 if the power is on. Otherwise, it is off.
F_ESP
BOOL
Overview
F_ESPV
BOOL
Overview
F_F0
Overview
F_F1
Overview
BOOL STRING BOOL BOOL STRING Array with 255 elements INT BOOL BOOL
E : One second D : Ten seconds E : One second D : Ten seconds E : One second E : One second E : One second -
- 566 -
B-75074EN/04
APPENDIX
Reading interval i CELL function
Point name
Data type
F_RUNTIME_A_CNT1
DINT
Machining Result
F_RUNTIME_A_CNT2
DINT
Machining Result
F_RUNTIME_A_CUT1
DINT
Machining Result
F_RUNTIME_A_CUT2
DINT
Machining Result
F_RUNTIME_A_OP1
DINT
Machining Result
F_RUNTIME_A_OP2
DINT
Machining Result
- 567 -
APPENDIX
i CELL function
B-75074EN/04
Value and meaning Cumulative time during which the NC power is on (in minute units). The NC types and parameter number are as listed below. FS30i/31i/32i 6750 FS16i/18i/21i 6750 Power Mate i D/H 6750 FS0i 6750 FS15 100 NC servo ready signal. The value is 1 if the servo section can run normally. Otherwise, it is 0. It is 0 also if the NC power is off. NC automatic operation pausing signal. The value is 1 if the NC is not in automatic operation. Otherwise, it is 0. It is 0 also if the NC power is off. NC states Created from F_OP, SA, STL, SPL, MA, AL, and ESPV. For details, see "Displaying the overview status." 1: Power off. 2: At a stop. 3: In a pause. 4: Running. 5: Reset. 6 At an emergency stop. 7: NC ready. 9: Alarm. Holds a temporary value for calculating F_STATUS (No. 1). Holds a temporary value for calculating F_STATUS (No. 2). NC automatic operation starting signal. The value is 1 if the NC is starting automatic operation. Otherwise, it is 0. It is 0 also if the NC power is off. Used by the NC to inform the PC of the end of machining. (Note 2) Used by the PC to inform the NC that the PC has confirmed the end of machining when handshaking is used. (Note 2) Used by the NC to inform the PC whether to use handshaking. (Note 2) Used by the NC to inform the PC of a process end ID. (Note 2) Used by the NC to inform the PC of the O number for machining. (Note 2) Used by the NC to inform the PC of the sequence number that identifies a machining process. (Note 2) Used by the NC to inform the PC of the beginning of machining. (Note 2) Used by the PC to inform the NC that the PC has confirmed the beginning of machining when handshaking is used. (Note 2)
F_RUNTIME_A_PON
DINT
Machining Result
F_SA
BOOL
F_SPL
BOOL
E : One minute D : Ten seconds E : One minute D : Ten seconds E : One minute D : Ten seconds E : One minute D : Ten seconds E : One minute D : Ten seconds E : One minute D : Ten seconds E : One minute E : One minute E : One minute E : One minute E : One minute E : One minute E : One minute E : One minute
Overview
Overview
F_STATUS
REAL
Overview
F_STATUS1
REAL
Overview
F_STATUS2
REAL
Overview
F_STL
BOOL
Overview Workpiece process result Workpiece process result Workpiece process result Workpiece process result Workpiece process result Workpiece process result Workpiece process result Workpiece process result
- 568 -
B-75074EN/04
APPENDIX
Reading interval E : One minute E : One minute i CELL function Workpiece process result Workpiece process result
NOTE 1 If one of these points is added, the others of them are also added together. Each of these points is deleted if all of the others are deleted. 2 See Subsection 2.9.1, "Workpiece Process Result," in Part III, "Setting," for detailed descriptions about the points related to workpiece process results and their meaning. 3 If the communication protocol is DNC2, multiple processes cannot be handled simultaneously. To transfer an NC program file from the NC program management screen, the background information collection from the NC must be stopped. If the machine selected on the NC program management screen uses DNC2, change the value of F_COM_ACTIVATE to 0 in order to stop the background information collection from the NC. Check the F_COM_STATUS value to see that the information collection has stopped. The F_COM_STATUS value changes from 1 to 0 when the information collection stops. Then, an NC program file can be transferred. When the machine is deselected (that is, when the NC program file transfer stops), return the F_COM_ACTIVATE value to 1 in order to resume information collection from the NC. For the F_COM_STATUS value and overview status display, see the subsequent description.
- 569 -
APPENDIX
B-75074EN/04
FS0
<2> Create F_OP, F_SA, F_STL, F_SPL, F_MA, and F_AL from the points listed above. Create F_ESPV from the ESP signal. <3> Calculate F_STATUS from the combination of F_OP, F_SA, F_STL, F_SPL, F_MA, F_AL, and F_ESPV. On the basis of the F_STATUS value, the color animation function of the screen determines the character string to be displayed and its color on the overview screen. In addition to the PMC area signals listed above, F_COM_COND is also checked. If the machine is connected by DNC2, the value of F_COM_COND becomes 0 while the NC program management screen is displayed. In the meantime, neither PMC area signals nor machining results are collected.
- 570 -
B-75074EN/04
APPENDIX
F_COM_ COND=0
E.2.2
Range and meaning of value The value becomes 1 if an alarm condition occurs in even one of the connected machines. It is 0 if no alarm condition has occurred in any machine. The value becomes 1 if at least one connected machine has an operator message. The value becomes 0 if all the machines have no operator message. The value is 1 if any warning condition has occurred in i CELL. Otherwise, it is 0.
- 571 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
SETTING UP PC
This appendix describes the settings of various PCs. For the setting of IIS, see Section F.1, "SETTING UP IIS". For the setting of an FTP server, see Section F.2, "SETTING UP FTP SERVER".
- 572 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
F.1
SETTING UP IIS
This appendix explains how to set up IIS for use by the i CELL Web function. Once you are finished with installing i CELL, you set up IIS.
NOTE If the OS is Windows NT, see subsections F.1.1 and F.1.2 written for Windows NT. If the OS is Windows 2000, see subsections F.1.3 and F.1.4 written for Windows 2000.
F.1.1
- 573 -
F.SETTING UP PC
2.
APPENDIX
B-75074EN/04
In the dialog box shown above, click [OK] to give the "IUSR_ICELL" user the [Full Control] access permission for the [WEB Directory.]
F.1.2
- 574 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
3.
Add "i CELL Web Site" by selecting the computer icon with the mouse, right-clicking, and selecting [New] [Web Site.]
4.
The "New Web Site" wizard screen opens. Enter "i CELL Web Site" in the [Web Site Description], and click [Next.]
5.
If you do not restrict the IP addresses to be used on the Web site, click [Next.]
- 575 -
F.SETTING UP PC
6.
APPENDIX
B-75074EN/04
Specify the WEB directory (for example, C:\FANUC\ICELL\WEB) in the directory where i CELL is installed as the path to your home directory, and click [Next.]
7.
Make sure that [Allow Read Access] and [Allow Script Access] are on as the access permissions for your home directory, and click [Finish.]
8.
- 576 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
9.
Click the Directory Security tab, and click [Edit] for Anonymous Access and Authentication Control.
11. Enter "IUSR_ICELL" in [Username] on "Anonymous User Account," and leave [Password] blank, then click [OK.]
- 577 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
12. Click [OK] on "Authentication Methods." 13. Click the Documents tab, delete "Default.htm" and "Default.asp," and add "Login.asp" as "Default Document," and then click [OK.]
14. Select [iCELL Web Site] with the mouse, right-click, and click [Start.]
- 578 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
Now you have constructed the Web site. When exiting Microsoft Management Console, you will see the following message. Click [Yes.]
- 579 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
F.1.3
2.
In the Name list box, select [iCELL], check the Allow check box of Full Control, then click [OK].
- 580 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
F.1.4
3.
Add "iCELL Web Site" by selecting the computer icon with the mouse, right-clicking, and selecting [New] [Web Site.]
4.
- 581 -
F.SETTING UP PC
5.
APPENDIX
B-75074EN/04
Enter [iCELL Web site] in the [Description] box. Then, click [Next].
6.
If you do not restrict the IP addresses to be used on the Web site, click [Next.]
7.
Specify the WEB directory (for example, H:\Program Files\FANUC\iCELL\WEB) in the directory where i CELL is installed as the path to your home directory, and click [Next.]
- 582 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
8.
Check that [Read] and [Run scripts [such as ASP]] are selected as access permissions for the home directory. Then, click [Next].
9.
Click [Finish.]
- 583 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
11. Click the Directory Security tab, and click [Edit] for Anonymous Access and Authentication Control.
13. Enter "IUSR_ICELL" in [Username] on "Anonymous User Account," and leave [Password] blank, then click [OK.]
- 584 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
15. Click the Documents tab, delete "Default.htm" and "Default.asp," and add "Login.asp" as "Default Document," and then click [OK.]
16. Select [iCELL Web Site] with the mouse, right-click, and click [Start.]
F.SETTING UP PC
APPENDIX
B-75074EN/04
F.2
NOTE If the OS is Windows NT, see subsection F.2.1 written for Windows NT. If the OS is Windows 2000, see subsection F.2.2 written for Windows 2000.
F.2.1
4 5
6 7
- 586 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
2 3
The [Microsoft Internet Service Manager] dialog box appears. Select a computer whose [Service] is set to "FTP", then execute [Properties] > [Service Properties] on the menu. The [FTP Service Properties] dialog box appears. Display the [Service] tag, then uncheck the [Allow only anonymous connections] check box, then click the [OK] button.
- 587 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
Click the [Groups] button, then set a group to which you belong. Depending on the group set here, the actual read/write access right can be affected when FTP-based communication is performed. So, set a group carefully.
5 6
Click the [OK] button. The screen display returns to the [New User] dialog box. When you click the [OK] button, the user name is registered, and you can log in using the user name and password.
- 588 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
F.2.2
The [Internet Information Services (IIS)] dialog box appears. Check [File Transfer Protocol (FTP) Server].
Click the [OK] button. The screen display returns to the previous screen. Click the [Next] button to install the necessary files.
- 589 -
F.SETTING UP PC
APPENDIX
B-75074EN/04
4 5
Select a computer, then display the menu by right-clicking, then select Properties. Select [FTP Service] in Master Properties, then click the [Edit] button.
B-75074EN/04
APPENDIX
F.SETTING UP PC
Check [Read] and [Write] of [FTP Site Directory]. As [Directory Listing Style], [MS-DOS] is selected by default. However, it is recommended to check [UNIX]. When a file is displayed in the UNIX format, whether the file is accessible can be determined.
The dialog box shown above is displayed. Select [Default FTP Site] then click the [OK] button. With the standard [Default FTP Site], the directory "\Inetpub\ftproot" (drive where Windows 2000 is installed) becomes the home directory. Only those directories under this directory can be accessed. So, with the default setting, NC programs need to be managed under this directory.
- 591 -
F.SETTING UP PC
10
APPENDIX
B-75074EN/04
To access a directory other than this directory, a new FTP site needs to be created. In this case, select and right-click a computer in the [Internet Information Services] dialog box of step 3 above, then select [New] > [FTP Site] from the menu, then set a home directory and so forth. If a new FTP site is created, make a setting in the [Internet Information Services] dialog box of step 3 above so that the created FTP site is enabled. For details, refer to online help information and so forth.
Click the [Next] button, then enter a password for the specified user name.
- 592 -
B-75074EN/04
APPENDIX
F.SETTING UP PC
Click the [Next] button, then set an access right to be granted. Depending on the access right set here, the actual access right for reading from/writing to files can be affected when FTP-based communication is performed. So, set an access right carefully.
Click the [Finish] button. The user name is registered, and the user can log in using the user name and password.
- 593 -
B-75074EN/04
- 594 -
B-75074EN/04
APPENDIX
G.1
- 595 -
B-75074EN/04
See Subsection 2.1.3, "Setting the DNS (Mail Function) For Windows XP," Subsection 2.2.3, "Setting the DNS (Mail Function) For Windows 2000," or Subsection 2.3.3, "Setting the DNS (Mail Function) For Windows NT," in Part II, "Installation," for details.
Enter item 6 in "Mail Server" of "Mailer Configuration." Enter item 10 in "Mail Source Address" of "Mailer Configuration." See Section 3.2, "Mailer," in Part III, "Setting," for details.
You do not need to enter item 7, 8, and 9 because the i CELL mail function receives no mail at the PC where i CELL is running.
- 596 -
B-75074EN/04
APPENDIX
H
H.1
NOTE To use this function, FANUC LADDER-III must be purchased and installed in addition to i CELL. The i CELL install CD does not contain FANUC LADDER-III.
OVERVIEW
If both i CELL and FANUC LADDER-III are installed on a PC, FANUC LADDER-III can be executed from the i CELL screen for a machine selected on the overview screen. This function is enabled regardless of whether i CELL or FANUC LADDER-III is installed earlier.
NOTE 1 FANUC LADDER-III of Ver. 2.10 or after is necessary. 2 Before starting FANUC LADDER-III from i CELL, set up FANUC LADDER-III so that it can communicate independently with the NC. For details, refer to the operator's manual of FANUC LADDER-III. 3 FANUC LADDER-III and the NC must be connected by Ethernet. Use the value input on the i CELL setup screen as the IP address of the NC. 4 If the server PC and viewer PC are configured by CIMPLICITY viewer, install FANUC LADDER-III to each PC on which FANUC LADDER-III is to be executed. If both the server PC and viewer PC display the FANUC LADDER-III screen, the two PCs require FANUC LADDER-III. 5 The screen cannot be displayed in the Web view.
- 597 -
APPENDIX
B-75074EN/04
H.2
OPERATION
To start FANUC LADDER-III, follow these steps. 1 Select a machine on the overview screen. 2 Click the "FANUC LADDER-III" button. Now, FANUC LADDER-III of the selected NC starts.
- 598 -
B-75074EN/04
INDEX
INDEX
<A>
ABOUT THE FANUC CIMPLICITY i CELL .................4 About The NC Program Management Window ............ 259 ACTIVATING THE i CELL PROJECT....................... 237 ACTIVATING THE MAIN MENU ............................. 245 ACTUAL POSITION DISPLAY.................................. 338 ADDING SCREENS..................................................... 382 Adding the Access Permission for Directories for Windows 2000 .............................................................. 580 Adding the Access Permission for Directories for Windows NT ................................................................. 573 ALARM AND WARNING........................................... 371 ALARM HISTORY DISPLAY .................................... 348 Allocating Available Drives for Sharing Directories .... 209 Automatic Data Backup ................................................ 169 Available drive required for sharing the i CELL installation directory ..................................................... 209 Available drive required for sharing the NC program root directory................................................................. 210 COMMUNICATION ....................................................133 Communication Setting.................................................155 Communication with a Data Server (FTP server) .........284 Communication with the NC memory...........................273 Configuring a Large-scale Network ...............487, 492, 496, 502, 506, 511, 517, 522, 527, 532 Configuring a Small-scale Network ...............487, 492, 496, 502, 506, 511, 517, 522, 527, 532 Confirming Backup Archive File Paths.........................105 Confirming Data Server Communication Setting..........148 Confirming the Contents of the Backup Archive File ...106 Confirming the FOCAS2/Ethernet Communication Setting ...........................................................................138 CONNECTION TO THE INTERNET..........................594 Constructing Web Sites for Windows 2000 ..................581 Constructing Web Sites for Windows NT .....................574 CONTRACT WITH INTERNET SERVICE PROVIDERS...................................................................26 Copying an Overview Prepared Beforehand .................252 Copying the Backup Archive File .................................108 Copying, Moving, Deleting and Renaming Files (and Directories) in the PC....................................................265 Copying, Moving, Deleting, and Renaming Connection Destination Files (Directories) ......................................288 Creating a New Connection Destination Directory .......297 Creating New Directories in the PC ..............................272 Creating Operation Results .............................................45 Creation of a Basic Screen ............................................389 Creation of a Standard Screen and Function Screen .....392
<B>
Back Button................................................................... 397 BACKUP ...................................................................... 103 BACKUP AND RESTORATION................................. 102 BACKUP DATA DISPLAY......................................... 364 BASIC FUNCTIONS.................................................... 114 Browsing, Editing and Creating New Files in the PC ... 269
<C>
CALLING FANUC LADDER-III ................................ 597 CANCELING THE SETTINGS ................................... 232 CHANGING THE NUMBER OF CONNECTED MACHINES.................................................................. 252 Checking CIMPLICITY Viewer Communication......... 231 Checking Communication between the Viewer PC and Each NC ........................................................................ 229 Checking the Conditions for CIMPLICITY Viewer Operation and Communication ..................................... 203 CHECKS....................................................................... 229 CIMPLICITY Points and i CELL ................................. 562 CIMPLICITY VIEWER ............................................... 202 Clearing History Data ........................................... 350, 354 CNC ..................................................................................9
<D>
Data Backup ..................................................................356 Data display processing procedures ...................... 449, 466 Data Restoration............................................................357 Data Server Communication Setting .............................146 Data Server setting screen .............................................524 DATABASE MAINTENANCE....................................176 Database operation procedure ............................... 449, 455 DATABASE SPECIFICATIONS .................................425 Description of VBA Scripts .................................. 448, 455 DETAILS OF CIMPLICITY POINTS..........................561 Details of List File Batch Transfer Function ...................41 Details of List File Expended Transfer Function ............42
i-1
INDEX
Details of the Subprogram Batch Transfer Function....... 38 Details of the Subprogram Expanded Transfer Function 39 Determination of Basic Items........................................ 385 DIAGNOSIS ................................................................. 343 DIALOG BOX CONFIGURATION............................. 119 Display Format Alteration............................................... 53 Display Information ............................................ 46, 49, 55 DISPLAY TABLE ........................................................ 201 Displaying a Dialog Box When the Project Has Not Been Updated................................................................ 126 Displaying Acquired Data............................................. 442 DNC2 ............................................................................ 536 DNC2 Communication Setting ..................................... 142 Download Tab............................................................... 156 Downloading and Uploading NC Programs .................. 273
B-75074EN/04
<H>
History Data Display.....................................................349 History Signal Setting ...................................................354 HOT TO INSTALL CIMPLICITY ...............................470 How to Change Settings ................................................121 HOW TO INSTALL AND REGISTER CIMPLICITY 469 How to Start Installation ...............................................471
<I>
i CELL -Common Points...............................................571 i CELL Database ...........................................................426 i CELL Database Configuration....................................426 i CELL MACHINE .......................................................161 iCELL_ErrorMessage ...................................................401 iCELLDef......................................................................403 iCELLRW .....................................................................403 If an Attempt to Reflect Point Settings to CIMPLICITY Fails .......................................................127 IMPLEMENTATION OF THE MAIL FUNCTION BY DIAL-UP CONNECTION ..............................................64 IMPLEMENTING THE MAIL FUNCTION AND WEB FUNCTION WITH 24-HOUR CONNECTION ...67 INFORMATION TO BE AUTOMATICALLY SAVED TO THE TCP/IP SERVICE FILE ...................................98 INSTALLATION......................................................91, 92 Installing CIMPLICITY ................................................470 Installing CIMPLICITY (Basic Function) for Windows 2000.................................................................................83 Installing CIMPLICITY (Basic Function) for Windows XP ...................................................................................78 Installing i CELL...........................................................108 Installing IE5.5 (Basic Function) for Windows 2000......82 Installing IE5.5 (Basic Function) for Windows NT ........89 Installing IE6.0 (Basic Function) for Windows XP.........77 Installing IIS 4.0 (Web Function) for Windows NT........88 Installing IIS 5.0 (Web Function) for Windows 2000 .....81 Installing IIS 6.0 (Web Function) for Windows 2003 Server ..............................................................................76 Installing New Options with CIMPLICITY HMI .........476 Installing the CIMPLICITY (Basic Function) for Windows NT ...................................................................90 Installing the CIMPLICITY Service Pack (Basic Function) for Windows 2000 ...............................83
<E>
EDIT LIST FILE SCREEN OPERATIONS ................. 301 Editing List Files........................................................... 304 Editing the Overview Screen......................................... 253 ERROR CODES ........................................................... 550 ErrorMessage ................................................................ 401 Ethernet parameter screen ..................................... 498, 503 Event ............................................................................. 423 EXAMPLE CONTRACT FOR DIALUP CONNECTION............................................................. 595 Example of Usage ......................................... 402, 416, 423 EXAMPLES OF NC OPERATIONS............................ 535 EXECUTION................................................................ 232
<F>
File creation .................................................................. 392 File Deletion.................................................................. 358 File List Refreshing............................................... 357, 362 File Modification........................................................... 400 Flow of Setting.............................................................. 185 FOCAS2/Ethernet Parameter Screen ............ 484, 489, 513 FOCAS2/Ethernet Screen ............................................. 508 FROM Data Backup...................................................... 360 FROM Data Deletion .................................................... 363 FROM Data Restoration................................................ 361 FROM/SRAM DATA BACKUP/RESTORATION...... 359
<G>
General Tab................................................................... 152 GENERAL-PURPOSE OBJECTS FOR THE i CELL . 396
i-2
B-75074EN/04
INDEX
NC PROGRAM MANAGEMENT MACHINE SETTINGS....................................................................151 NC PROGRAM MANAGEMENT ERROR CODES ...551 NC PROGRAM TRANSFER .........................................30 NC Program Transfer by Operating the NC....................32 NC Program Transfer by Operating the NC Program Management Screen ........................................................30 NC SETTING................................................................482 NC SETTINGS ............................................................. 179 NETWORK CONFIGURATION ...................................24 Newly Installing CIMPLICITY HMI............................472 Newly Registering for CIMPLICITY HMI...................478
Installing the CIMPLICITY Service Pack (Basic Function) for Windows NT .................................. 90 Installing the CIMPLICITY Service Pack (Basic Function) for Windows XP .................................. 78 Internet Information Service for Windows 2000........... 589 ITEM NAME ................................................................ 200 ITEMS COMMON TO THE SCREENS ...................... 242
<L>
List File Monitor Operations......................................... 311 LIST FILE MONITOR SCREEN OPERATIONS........ 309 LIST FILE TRANSFER FUNCTION............................. 40 List File Transfer Monitor and Control Function ............ 42 LIST OF POINTS ......................................................... 564 Logon Screen ................................................................ 194
<O>
Opening the Configuration Dialog Box.........................119 Opening the IcellBkupRstr Dialog Box.........................103 OPERATING ENVIRONMENT ......................................6 Operating the Database with the i CELL ......................425 OPERATION ........................................................ 246, 598 OPERATION HISTORY DISPLAY ............................351 Operation History Display ............................................352 OPERATION MONITOR...............................................44 OPERATION RESULT SCREEN ..................................45 Outputting History Data ........................................ 349, 353 OVERVIEW MENU.....................................................247
<M>
MACHINE COUNT CONFIGURATION .................... 128 Machine Detail Screen .................................................. 195 MACHINE INFORMATION ....................................... 130 MACHINE SELECTION CONTROL.......................... 418 Machine Selection Screen ............................................. 194 Machine-Specific Points ............................................... 564 Machining Result .......................................................... 179 MACHINING RESULT........................................ 427, 314 MAIL ............................................................................ 182 MAIL CONFIGURATION ........................................... 187 Mail Destinations .......................................................... 183 MAIL FUNCTION ......................................................... 63 Mail Message and Message Point ................................. 184 MAILER ....................................................................... 186 MAIN MENU ............................................................... 244 Menus............................................................................ 120 Message Line ................................................................ 398 Method .......................................................... 401, 403, 421 Method of Operation ............................................. 445, 453 Modification to the Function Switch Tab...................... 387
<P>
PARAMETER SETTING .............................................341 Parameter setting screen for Data Server functions.......528 Parameter setting screen for the FTP file transfer function .........................................................................518 Peer Web Services for Windows NT.............................586 PERSONAL COMPUTER/HARDWARE......................18 PERSONAL COMPUTER/SOFTWARE .......................21 Planned Parts Count Input...............................................54 POINT FOR WEB ........................................................198 Point Naming Rules ......................................................563 Precautions to be Observed when Using the Data Server Functions for the First Time....................... 497, 523 Precautions to be Observed when using the FOCAS2/Ethernet Functions for the First Time .............................................................. 483, 488, 507, 512 PREFACE ......................................................................p-1 PREPARATION ..................................................... 72, 203 PREPARATION (FOR Windows 2000) .........................79
<N>
Names of Screen Components ...................................... 242 NC DISPLAY AND OPERATION ........................ 57, 332 NC MAINTENANCE ............................................. 59, 344 NC PROGRAM FORMAT ............................................. 34 NC PROGRAM MANAGEMENT ......................... 27, 255 NC PROGRAM MANAGEMENT - FTP CLIENT SETTINGS.................................................................... 159
i-3
INDEX
PREPARATION (FOR Windows NT)............................ 84 PREPARATION (FOR Windows XP)............................ 74 Procedure for Setting the Server PC.............................. 221 Procedure for Setting the Viewer PC ............................ 226 PROGRAM CHECK..................................................... 340 PROJECT PROPERTY................................................. 129 Properties ...................................................................... 410 Property......................................................................... 418 Public variables ............................................................. 408
B-75074EN/04
SCREEN OPERATION (2) ALARM LOG DISPLAY SCREEN .......................................................................377 SCREEN OPERATION (2) SCREEN LIST FOR EACH OVERVIEW MACHINE ..................................251 Screen Switching................................................... 384, 395 SCREEN SYSTEM OF THE i CELL ...........................383 ScreenID.ini ..................................................................400 Selecting Information to be Backed Up ........................104 Selecting Information to be Restored ............................108 SEND TEST..................................................................191 SETTING ......................................................................221 Setting Change and CIMPLICITY Project....................124 Setting Flow ..................................................................196 Setting for Sharing the Server PC (Required When Windows XP Is Used) ...................................................213 Setting Options..............................................................298 Setting the Connection Host.................................. 503, 528 SETTING THE DATA SERVER FOR Series 16i/18i/21i-A/B AND Series 0i-B/C .............................497 SETTING THE DATA SERVER FOR Series 30i/31i/32i-A .................................................................523 Setting the DNS (Mail Function) for Windows 2000......81 Setting the DNS (Mail Function) for Windows NT ........86 Setting the DNS (Mail Function) for Windows XP.........76 SETTING THE EMBEDDED Ethernet FOR Series 16i/18i/21i-B .................................................................488 SETTING THE EMBEDDED Ethernet FOR Series 30i/31i/32i-A .................................................................512 Setting the FOCAS2/Ethernet Functions.......................489 Setting the FOCAS2/Ethernet Functions.......................513 SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 16i/18i/21i-A/B, Power Mate i, AND Series 0i-B/C........................................................483 SETTING THE FOCAS2/Ethernet OF THE OPTION BOARD FOR Series 30i/31i/32i-A...............................507 Setting the FTP file transfer function parameters..........493 Setting the FTP File Transfer Functions................ 493, 518 Setting the FTP Server .......................................... 498, 524 Setting the screen variables (screen level variables) .....393 Setting the TCP/IP (Basic Function) for Windows 2000.80 Setting the TCP/IP (Basic Function) for Windows NT ...85 Setting the TCP/IP (Basic Function) for Windows XP ...75 Setting up Communication.................................... 117, 133 SETTING UP DNC2.....................................................533
<R>
READER/PUNCHER ................................................... 542 Reader/Puncher Communication Setting ...................... 144 Referencing and Editing Connection Destination Files. 293 REFERENCING THE ACCESS DATABASE FROM EXCEL.......................................................................... 436 REFERENCING THE DATABASE............................. 435 Referencing the Database.............................................. 437 Registering for CIMPLICITY HMI Options and Upgrading the Functions ............................................... 480 Registering the New User "IUSR_ICELL" (Web Function) for Windows 2000................................. 82 Registering the New User "IUSR_ICELL" (Web Function) for Windows 2003 Server ..................... 77 Registering the New User "IUSR_ICELL" (Web Function) for Windows NT ................................... 89 REGISTERING USE OF CIMPLICITY ...................... 477 Registering Use of CIMPLICITY HMI Software ......... 477 RESTORATION ........................................................... 108 RunTimeAConfig - Machine Result Setting Table ....... 427 RunTimeAData - Machining Result Data Table ........... 427
<S>
SAFETY PRECAUTIONS ............................................ s-1 SAMPLE MACHINING RESULT SCREEN............... 445 SAMPLE WORKPIECES PROCESS RESULT SCREEN ....................................................................... 452 Saving the Backup Archive File.................................... 107 SCREEN ADDITION ................................................... 385 Screen Configuration .................................................... 383 SCREEN OPERATION ...................................... 236, 259, 316, 322, 334, 346, 368 SCREEN OPERATION (1) ALARM MESSAGE SCREEN ....................................................................... 374 SCREEN OPERATION (1) OVERVIEW SCREEN .... 249
i-4
B-75074EN/04
INDEX
<W>
Warning and Alarm Lamps ...........................................399 WEB..............................................................................192 WEB FUNCTION...........................................................66 WEB INITIAL CONFIGURATION.............................197 Web Screen Flow ..........................................................193 WKPCData - Workpieces Process Result Data Table...431 WKPCDspLastState - Machining End State Display Table .............................................................................434 WKPCDspMcnCnd - Progress Status Display Table ....433 WKPCLastStateConfig - Machining End ID Setting ....430 WKPCMcnName - Workpieces Process Result Setting Table .............................................................................429 WKPCPlan - Planned Workpiece Machining Count Setting Table .................................................................431 WKPCUserConfig - User Area ID Setting Table..........430 WKPCWorkName - Workpiece ID Setting Table.........430 Work Flows for Adding and Deleting Machines...........122 Work with the File List in the PC..................................262 Workpiece Machining Result Data .................................48 WORKPIECE MACHINING RESULTS .......................48 Workpiece Process Result .............................................165 WORKPIECE PROCESS RESULTS ...........................320 Workpieces Process Result ...........................................179 WORKPIECES PROCESS RESULT ...........................429 WORKPIECES PROCESS RESULT SYSTEM CONFIGURATION ......................................................173
Setting up FOCAS2/Ethernet Communication.............. 134 SETTING UP FTP SERVER ........................................ 586 Setting up i CELL ......................................................... 118 SETTING UP IIS .......................................................... 573 Setting up Machine Information.................................... 117 Setting up NC Program Management............................ 117 Setting Up ODBC (Basic Function) for Windows NT .... 87 SETTING UP PC .......................................................... 572 SETTING UP READER/PUNCHER............................ 534 Setting up the Number of Machines According to Order Password ............................................................. 115 Setting up the Number of Machines to be Connected and the Functions to be Used ........................................ 117 Setting Up the TCP/IP (Basic Function) for Windows 2000................................................................................. 79 Setting Up the TCP/IP (Basic Function) for Windows NT ................................................................................... 84 Setting Up the TCP/IP (Basic Function) for Windows XP ................................................................................... 74 SRAM Data Backup...................................................... 362 Starting Backup............................................................. 106 Starting Restoration....................................................... 109 Stopping and Updating the i CELL Project................... 125 Structure of Edit List File Screen .................................. 301 Structure of List File Monitor Screen............................ 309 SUBPROGRAM TRANSFER FUNCTION ................... 36 SWITCHING AMONG THE SCREENS ..................... 239
<T>
TERMINATING THE i CELL PROJECT.................... 238 TERMINATING THE MAIN MENU .......................... 246 Timer processing procedures......................................... 450 Title Bar ........................................................................ 397 Tool Life ....................................................................... 181 TOOL LIFE MANAGEMENT ............................... 55, 366 Trigger Point and Trigger Criteria................................. 183
<U>
UNINSTALLATION ............................................ 100, 101 Upload Tab.................................................................... 158 Using CIMPLICITY HMI without License .................. 481
<V>
VARIOUS DATA BACKUP/RESTORATION ........... 355
i-5
Revision Record
04
Oct., 2004
- Applicable to Version 2.0 - Applied to Series 30i/31i/32i, and Series 0i, WindowsXP, and CIMPLICITY HMI v6.1 - Addition of explanations for functions to the NC program management screen
03
- Applicable to Version 1.3 - NC program management is applied to the Data Server (FTP server). Sep., 2003 - Addition of explanations related to Automatic data backup function - Addition of explanations related to User customization
02
- Applicable to Version 1.2 - Applied to DNC2 and Reader/Puncher connection Nov., 2002 - Addition of explanations to use on the CIMPLICITY viewer
01
Oct., 2001
Edition
Date
Contents
Edition
Date
Contents
2. Summary of change
Group
Name / Outline
Applicable Date
Basic Function
Add the following addtions and collections - PREFACE - II. INSTALLATION 3.1 INSTALLATION - III . SETTING 2. BASIC FUNCTIONS - III. SETTING 2.4 PROJECT PROPERTY - V. USER CUSTOMIZE 2. ADDING SCREENS
Addition Correction
Immediately
Optional Function Unit Maintenance parts Notice Correction Another This document is available for A08B-9510-J920#EN version 2.1
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
1/9
PREFACE
This manual describes the FANUC CIMPLICITY i CELL that operates on a personal computer (called PC for short). The FANUC CIMPLICITY i CELL is an application that runs on the CIMPLICITY HMI Plant Edition. Using the Ethernet, DNC2, reader/puncher, or Data Server communication function available with an CNC produced by FANUC, the FANUC CIMPLICITY i CELL transfers data such as NC programs between the CNC and personalcomputer. This manual is applicable to FANUC CIMPLICITY i CELL Version 2.1.
(2) Replace the following explanation of the "Related manuals" in the "PREFACE"
Related manuals This manual also covers FANUC NCs, their communication functions, and CIMPLICITY related to the use of this software. However, this manual does not cover all required information. Refer to the following manuals in addition to this manual: (1) CIMPLICITY HMI Plant Edition Online help
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
2/9
(3) Replace the following bitmap in item 1 of the "II.INSTALLATION 3.1 INSTALLATION"
(4) Replace the following bitmap in item 2 of the "II.INSTALLATION 3.1 INSTALLATION"
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
3/9
(5) Replace the following explanation and bitmap in item 3 of the "II.INSTALLATION 3.1 INSTALLATION"
3.
On the installation component select screen, the buttons indicating the server and viewer components of the CIMPLICITY viewer are displayed. When you want to install i CELL on the server PC of the CIMPLICITY viewer or does not want to use the CIMPLICITY viewer, select the "server" component. When you want to install i CELL on the viewer PC of the CIMPLICITY viewer, select the "viewer" component. When you don't want to install i CELL and you want to create your specified screens and points, select "CNC Communication Mode"
(6) Replace the following bitmap in item 4 of the "II.INSTALLATION 3.1 INSTALLATION"
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
4/9
(7) Replace the following bitmap in item 5 of the "II.INSTALLATION 3.1 INSTALLATION"
(8) Replace the following bitmap in item 6 of the "II.INSTALLATION 3.1 INSTALLATION"
(9) Replace the following bitmap in item 7 of the "II.INSTALLATION 3.1 INSTALLATION"
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
5/9
3.1 INSTALLATION"
2
2.2.1
2. BASIC FUNCTIONS"
BASIC FUNCTIONS
(--- 3rd paragraph ---) It is necessary to make it a development server temporarily by using OEM Key when a setting is changed when run time server of CIMPLICITY is used. Refer to the chapter "System management", in the CIMPLICITY HMI Plant Edition online help for the details of OEM Key.
(12) Add the following NOTE to the "III.SETTING 2.2.1 Opening the Configuration Dialog Box"
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
6/9
(13) Replace the following explanation and bitmap in the "III.SETTING 2.4 PROJECT PROPERTY"
2.4
PROJECT PROPERTY
Selecting Project from the menu bar of the Configuration dialog box, then Property from the Project menu displays the Project Property dialog box. < In case of i CELL > < In case of CNC communication mode >
This dialog box lets you make the settings related to the entire i CELL project and CNC communication mode.
Connect Machine Count Specify the number of machines you want to connect. You can specify as many machines as the total number of machines allowed for the available order passwords. The range of numbers you can enter is displayed to the right of the entry box. CAUTION It is impossible to include, as a target for deletion, any machine for which functions are enabled in i CELL settings. To include a machine as a target for deletion, make sure that all i CELL functions are disabled for the machine. It is impossible to include, as a target for deletion, any machine for which has points created by point customization. To include a machine as a target for deletion, make sure that there are no points which are created by point customization of the machine to delete.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
7/9
If you want to use any functions from NC Connection to Web in the i CELL project, turn on the corresponding check boxes to select the functions. The tree displays the setting items for the selected functions.
CNC Connection To transfer data between CIMPLICITY and the CNC, turn on this check box. Be sure to turn on the check box. Program Management i CELL Mail Web To perform program management on a PC, turn on this check box. Be sure to turn on the check box. To use i CELL, turn on this check box. Be sure to turn on the check box. To use the main function, turn on this check box. To use the Web function, turn on this check box. This item can be selected only on a Windows 2003 server, Windows 2000 server or Windows NT server. For a Windows XP Professional, Windows 2000Professional or Windows NT workstation, the Webfunction cannot be selected because it is unavailable.
Clicking the OK button saves what you specified and closes the Project Property dialog box. Clicking the Cancel button discards what you specified when closing the dialog box.
Custom Point Point Name Rule Setting To use the Custom Points function, turn on this chek box. To use Point Name Rule Setting, turn on this chekbox. This check box is displayed ati CNC communication mode. Refer to the "V User Customize 6.4 Point Name Rule Setting" for details. Read Data from CNC This box lets you set the method of reading data from the CNC. Sequential Parallel Data is sequentially read for each CNC every reading cycle. Data is read at the same time for each CNC every reading cycle. Refer to the " V. USER CUSTOMIZE 5.5.1 Read Methods and Read Intervals - Parallel Process and Sequential Process " for details. Please check the "Parallel" when you use iCELL.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
8/9
This box lets you set whether to enable the Point Setting Notification. The FOCAS2/Ethernet connection is required for this function. Use Don't use To use this function turn on this check box. To don't use this function turn on this check box. Refer to the " V. USER CUSTOMIZE 5.5.8.3 Point Setting Notification" for details. When you change this setting, please select the "Script" of the "Project" menu to display the "Init/Term scripts general setting" dialog. Then click <OK> button to set Point Setting Notification again.
This box lets you set the machine number format in logs. Serial Number of Each Path Number of Each IP Address Sequential numbers for each CNCs system number are used. The machine of same Internet Protocol address assumes the same machine number, and Pxx (xx are system number) which shows the system number at the head of each log is added. Please refer to the "V. USER CUSTOMIZE 5.5.7 Log"
Clicking the OK button saves what you specified and closes the Project Property dialog box. Clicking the Cancel button discards what you specified when closing the dialog box.
2
01
EDIT
(14) Replace the following explanation in the "V.USER CUSTOMIZE 2. ADDING SCREENS"
ADDING SCREENS
(--- 3rd paragraph ---) For details of operating the editor CimEdit for creating screens, refer to the "Screens" section of CIMPLICITY HMI online help.
TITLE:
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
9/9
2.Summary of Change New Add Correct Delete Add Applicable Date Immediately
Group
Name/Outline
Basic Function
The following explanations are added to Section V "USER CUSTOMIZATION" of B-75074EN/04. 5. Point Customization 6. CNC Communication Mode
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
1/98
5.1.1 5.1.2
5.2
5.2.1
5.2.1.1 5.2.1.2
Read intervals.................................................................................................................................................. 7
Display ...................................................................................................................................................... 8 Setting....................................................................................................................................................... 8
5.2.2
5.2.2.1 5.2.2.2 5.2.2.3
5.2.3
5.2.3.1 5.2.3.2 5.2.3.3 5.3
Point Group.................................................................................................................................................... 21
Display .................................................................................................................................................... 21 Creating new point group control points............................................................................................... 21 Editing, deletion, and renaming ............................................................................................................ 24
5.3.1 5.3.2
5.3.2.1 5.3.2.2
5.3.3
5.4
PMC Data ...................................................................................................................................................... 39 Custom Macro Variables ............................................................................................................................... 43 Parameters..................................................................................................................................................... 45 Alarm Numbers ............................................................................................................................................. 47 Alarm Types................................................................................................................................................... 49 Number of Operator's Message..................................................................................................................... 51 Operator's Message Strings .......................................................................................................................... 53
CNC CONNECTION ............................................................................................................................................. 55
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
2/98
Read Methods and Read Intervals - Parallel Process and Sequential Process .......................................... 55 Write Methods and Write Intervals.............................................................................................................. 57 Point Group.................................................................................................................................................... 57 CNC Power Status Monitor Function........................................................................................................... 58 Reconnection Function in the Event of a Communication Error in Read/Write Processes ....................... 59 Reconnection Function in the Initialization Process during CNC Connection Initiation and in the Power
Logs ................................................................................................................................................................ 61
PWRLOG CNC power status .............................................................................................................. 62 CPULOG Progress of internal processing .......................................................................................... 63 RTLOG CNC data read and point write time .................................................................................... 63 NCRTLOG CNC data read process time ............................................................................................ 65
5.5.8
5.5.8.1 5.5.8.2 5.5.8.3 5.5.8.4 5.5.8.5 5.5.8.6 5.5.8.7 5.5.8.8 5.5.8.9
5.5.9
6 6.1
Description of CNC Communication Mode................................................................................................... 73 Comparison between i CELL and CNC Communication Mode ................................................................... 74 Procedure for Using CNC Communication Mode ........................................................................................ 75
OPERATING ENVIRONMENT............................................................................................................................ 76
Available CNCs.............................................................................................................................................. 76 Ethernet Boards and CNC Options .............................................................................................................. 76 Network Configuration ................................................................................................................................. 76 Number of CNCs Connected ......................................................................................................................... 76 CIMPLICITY HMI ........................................................................................................................................ 76
INSTALLATION AND ORDER PASSWORD REGISTRATION ........................................................................ 77
6.3.1 6.3.2
6.3.2.1 6.3.2.2
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
3/98
6.4
Overview ........................................................................................................................................................ 80 Point Name Rules of CNC Communication Mode........................................................................................ 81 Using Point Name Rule Setting.................................................................................................................... 83
Enabling and disabling the Point Name Rule Setting Function .......................................................... 83 Displaying the Point Name Rule Setting dialog box............................................................................. 85 Setting point name rules........................................................................................................................ 86
6.4.4
6.4.4.1
Setting Examples........................................................................................................................................... 98
Using the point name rules of another project...................................................................................... 98
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
4/98
5
5.1
5.1.1
POINT CUSTOMIZATION
This chapter describes how to add CIMPLICITY points for inputting new CNC data to and outputting it from i CELL. This function can be used in i CELL 2.1 or later.
OVERVIEW
Description of Point Customization
Point Customization is a function for creating CIMPLICITY points necessary for performing communication with a CNC by using the function for communication with a CNC (CNC CONNECTION). It can be used in i CELL or in CNC Communication Mode, which is one of the operating modes of i CELL. For an explanation of CNC Communication Mode, see chapter 6, "CNC COMMUNICATION MODE". Point Customization can be used in i CELL 2.1 or later only if the FOCAS1/Ethernet or FOCAS2/Ethernet is used. For an explanation of the operating environment to be assumed if the FOCAS1/Ethernet or FOCAS2/Ethernet is used, refer to "When the FOCAS2/Ethernet is used" in Section 3.1, "CNC", in Part I, "General", in the i CELL Operator's Manual. Also, a CIMPLICITY HMI development server is required. (The FOCAS2/Ethernet contains the functions of the FOCAS1/Ethernet, and the FOCAS1/Ethernet and the FOCAS2/Ethernet are collectively referred to as the FOCAS2/Ethernet throughout the remainder of this document.) Point Customization can be configured with the "Custom Point" tree in the i CELL Configuration dialog box, shown below.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
5/98
5.1.2
Communicable Data
By setting points using Point Customization, it is possible to communicate data of the kinds given in the table below with a CNC. It should be noted that a CNC requires an option to communicate some kinds of data. For details of each data kind, see Section 5.4, "POINTS FOR DATA INPUT/OUTPUT".
No 1 2 3 4
Data kind PMC data Custom macro variable Parameter Alarm number Alarm type
Valid data range G,F,X,Y,R,A,T,K, C,D,M,N,E Local variable Common variable Axis/non-axis Axis/non-axis
Reading O O O O O
Writing O X O O X
External message function or external data input function option For an explanation of the CNC editions for enabling the 2nd to 4th messages in the Series 16i /18i /21i, see Subsection 5.4.6, "Number of Operator's Message". The function for the Series 30i /31i /32i A is under development.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
6/98
5.2
POINT SETTING
This section describes how to set CIMPLICITY points using Point Customization. The basic procedure for setting points is as follows: <1> Set read intervals. (See Subsection 5.2.1, "Read intervals".) <2> Create points. (See Subsection 5.2.2, "Point List".) <3> Set points. (See Subsection 5.2.2, "Point List".) <4> Create Point Group Control Points. (See Subsection 5.2.3, "Point Group".) <5> Set Point Group Control Points. (See Subsection 5.2.3, "Point Group". If you add or change a point to i CELL, please terminate i CELL Configuration dialog box, then execute "iCELL Project" from the start menu, then execute [Configuration Update] from the [Project] menu.
5.2.1
Read intervals
This subsection describes how to set the intervals at which to read CIMPLICITY point data from CNCs. There are two methods of reading, a parallel process and a sequential process. In a parallel process, read instructions are issued to each CNC at the same time at each read interval. This can shorten the time required to read values from multiple CNCs, but will increase the CPU load at the peak of the read process. In a sequential process, read instructions are issued to one CNC at a time at each read interval. This will increase the time required to read values from multiple CNCs, but can keep the increases in CPU load low at the peak of the read process. For a parallel process, three different read intervals can be set for each CNC; for a sequential process, three different read intervals common to all CNCs can be set. No matter which process is used, the read interval settings will have a great impact on CPU load. Care must be exercised so that the read interval settings are sufficiently large as compared with the time required to actually read data from CNCs to prevent the CPU utilization at the peak of the process from reaching 100%. For details of the read methods, see Subsection 5.5.1, "Read Methods and Read Intervals - Parallel Process and Sequential Process". The time required to actually read from CNCs can be output to a log. For an explanation of how to do this, see Subsection 5.3.2, "Setting"; for details, see Subsection 5.5.7.3, "RTLOG CNC data read and point write time".
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
7/98
5.2.1.1
Display
From the tree on the left-hand side of the i CELL Configuration dialog box, select [Custom Point]>[Read Interval], and the read interval list will appear. For a parallel process, a list of the read intervals for each CNC is displayed; for a sequential process, the read intervals (up to three different intervals) common to all CNCs are displayed. <Display shown for a parallel process> <Display shown for a sequential process>
5.2.1.2
Setting
This subsection describes how to set read intervals. The setting procedure can be started by first displaying a read interval list, described in Subsection 5.2.1.1, "Display".
Unit
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
8/98
Number
Number of the machine for which a read interval is to be changed. This item is displayed for a parallel process only. Name of the machine for which a read interval is to be changed. This item is displayed for a parallel process only. Intervals at which CNC Connection reads values from machines. If i CELL is used, Interval 1 and Interval 2 cannot be changed. Set a numeric value in the range permitted for the unit selected. 10 millisecond Second Minute Hour 0-999 0-999 0-999 0-99
Name
Interval 1 - 3
Used to apply the settings for the current machine to other machines. Clicking this button causes a dialog box to appear, allowing the read interval settings to be applied to multiple machines. This item is displayed for a parallel process only.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
9/98
List of machines to which the settings can be applied. List of machines to which the settings are to be actually applied. Used to add a machine selected from the Applicable Machines list to the Target Machines list. Used to add all the machines in the Applicable Machines list to the Target Machines list. Used to delete a machine selected from the Target Machines list from the list. When deleted from the list, the machine will be added to the Applicable Machines list. Used to delete all the machines in the Target Machines list from the list. When deleted from the list, the machines will be added to the Applicable Machines list.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
10/98
5.2.2
Point List
Point List is used to create CIMPLICITY points for data input/output and to make various settings. NOTE Those points that are in use with i CELL cannot be edited, deleted, renamed, duplicated, or duplicated to other machines.
5.2.2.1
Display
From the tree on the left-hand side of the i CELL Configuration dialog box, select [Custom Point]>[Point List], and the Point List window will appear. Various operations can be started by displaying this window first.
5.2.2.2
Use one of the following methods to display the Create Point dialog box: From the [Edit] menu, select [New]. Select the last record (blank record), and select [Property] from [Edit]. Double-click the last record (blank record). <2> Make the setting for each item (referring to [Create Point]), and click the <Create> button. <3> The Point Property dialog box appears. <4> Make the setting for each item (referring to [Point Property]), and click the <OK> button.
<1>
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
11/98
[Create Point]
Communication
Name of the machine for which to create a point. Path of the machine for which to create a point. Name of the point to create. Set the character string to follow "FNCxxxyy.U_" (where xxx is a machine number and yy is a path number). A string of 32 characters including "FNCxxxyy.U_" can be set. Data kind of the point to create. Available kinds are PMC data, custom macro variable, parameter, alarm number/type, and number of operator's message/operator's message string. Data class of the point to create. Available classes are Boolean, Analog, and Text. Depending on the data kind selected, some data classes may not be selectable. Indicates the status of communication with CNCs. Used to create a set point.
Data Kind
Data Class
NOTE When the Create Point dialog box is displayed and a machine is selected, the power status of the machine is checked. For operation with the setting that suppresses the use of a C4 server, if the power of the machine is OFF, it takes the FwLib time-out time, set in [Communication setting], to check the power status. If it is obvious that the power of the machine is OFF, the power status check time can be shortened by enabling a C4 server when creating a point and disabling a C4 server when actually communicating with the machine.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
12/98
[Point Property]
Point Name
Name of the point to create. The value set in the Create Point dialog box is displayed. Data kind of the point to create. The value set in the Create Point dialog box is displayed. Data class of the point to create. The value set in the Create Point dialog box is displayed. Allows description of the point to create. Select from Interval 1, Interval 2, and Interval 3. For an explanation of setting each interval, see Subsection 5.2.1.2, "Setting". Data type of the point to create. Selectable data types are BOOL, SINT, USINT, INT, UINT, DINT, UDINT, and REAL. Depending on the data class selected, some data types may not be selectable. For the BOOL type only, allows specification of the bit to be referenced with a number between 0 and 7. For other types, set the bit
Data Kind
Data Class
Data Type
Bit Offset
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
13/98
offset to 0. Elements NOTE1 Read Only NOTE1 Specify the number of data elements to read and write. For the BOOL type, specify 1 or a multiple of 8. Place a check to make the point read only. Do not place a check to make it read-and-write enabled. Depending on the data kind selected, the point can only be made read only. Make detailed settings for creating a point. Depending on the data kind selected, the items that can be set differ. Specify whether to use the Default Point Group. If the Default Point Group is used, when a point is created, it is automatically set in the Default Point Group. If the Default Point Group is not used, it is necessary to set a Point Group with point group setting. Indicates the status of communication with CNCs. If "Com.Enable" is displayed, a data range check is performed when a point is created (when the <OK> button is clicked) (Data Range Check:Enable). If "Com. Disable" is displayed, the data range check is not performed (Data Range Check:Disable). Indicates whether a data range check is enabled. If "Enable" is indicated, the system communicates with CNCs when the <OK> button is clicked to check whether the data is in the valid data range. If it is outside the valid data range, an error message such as the one on the next page will be displayed. When the power of a CNC is turned on, clicking this button allows the communication status to be checked. This button is displayed only if the settings are such that a C4 server is not used and the power is OFF.
Communication
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
14/98
For details of each item, see Section 5.4, "POINTS FOR DATA INPUT/OUTPUT". NOTE1 If a point is made read-and-write enabled and a value other than 1 is set for Elements, when the value of any element is changed, the values of all elements are written to the CNC. For data elements that need to be written individually, set them at separate points and set 1 for Elements. NOTE2 If [Com. Status] indicates Com. Disable, the data range check is not performed, so that points may be created with invalid CNC settings. Be sure to create points after checking that communication is enabled. If creating a point when communication with CNCs is not possible, use the following procedure to perform a point data range check again before communicating with CNCs: (1) Select the point to check, select [Property] from the [Edit] menu to display the Point Property dialog box. (2) Check that [Data Range Check] indicates "Enable" before clicking the <OK> button.
Error example If a data range check detects an error, an error message such as the following is displayed. In this example, 10 data elements are set in addresses starting with PMC R9990.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
15/98
5.2.2.3
Editing
Change the settings of a point as follows: <1> Use either of the following methods to display the Point Property dialog box: Select the point to edit, and select [Property] from the [Edit] menu. Double-click the point to edit. <2> Change settings as desired, and click the <OK> button. For an explanation of each item, see [Point Property] in Subsection 5.2.2.2, "Creating new points".
Deletion
Delete a point as follows: Select the point to delete, and select [Delete] from the [Edit] menu.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
16/98
List of points that can be deleted. Specify the condition for the points that can be displayed on the list of points. Used to select all the points contained in the list of points. Used to unselect all the points selected in the list of points.
Renaming
Rename a point as follows: <1> From the [Edit] menu, select [Rename]. <2> The ReName Point dialog box appears. Enter a new name and click the <OK> button.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
17/98
Point to rename. New name for the point. Set the character string to follow "FNCxxxyy.U_" (where xxx is a machine number and yy is a path number). A string of up to 32 characters including "FNCxxxyy.U_" can be set.
Duplication
Copy a point to the same machine as follows: <1> Select the point to copy, and from the [Edit] menu, select [Duplicate]. <2> The Duplicate Point dialog box appears. In the To field, enter a point name, and click the <OK> button.
From To
Name of the source point. Name of the point to be newly created by duplication. Set the character string to follow "FNCxxxyy.U_" (where xxx is a machine number and yy is a path number). A string of up to 32 characters including "FNCxxxyy.U_" can be set. Specify whether to use the Default Point Group. If the Default Point Group is used, when a point is created, it is automatically set in the Default Point Group. If the Default Point Group is not used, it is necessary to set a Point Group with point group setting.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
18/98
<1> Select the point to duplicate to other machines, and from the [Edit] menu, select [Dup. to other Mcn]. <2> The Dup. to other Mcn dialog box appears. Select the machine(s) to which the point is to be copied, and click the <OK> button.
Applicable Machines
List of machines to which the point can be copied. Communication statuses are also displayed. If a communication status is not displayed, this indicates that the power of the machine is ON and the point settings are appropriate. Communication statuses are as follows: Switched Off Com. Disable Out of range Data Type Error Sign Error The power is OFF. Communication has failed. The point settings are not appropriate. The data type is not appropriate. The sign of the data type is not appropriate.
Target Machines
List of machines to which the point will actually be copied. The communication statuses are also displayed. The communication statuses are the same as those displayed with applicable machines. Specify whether to use the Default Point Group. If the Default Point Group is used, when a point is created, it is automatically set in the Default Point Group. If the Default Point Group is not used, it is necessary to set a Point Group with point group setting.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
19/98
NOTE The point is duplicated as that a point on the same path. not possible to copy it as that on a different path. Example) Machine 1 (path 3), machine 2 (path 1), machine 3 (path 4) O: Duplication enabled, X: Duplication disabled A. Duplication from machine 1 to machine 2 Machine 1 (path 3) Machine 2 (path 1) Point on path 1 O Point on path 2 X Point on path 3 X B. Duplication from machine 1 to machine 3 Machine 1 (path 3) Machine 3 (path 4) Point on path 1 O Point on path 2 O Point on path 3 O
It is
NOTE When a point is edited or is duplicated to other machines, the power status of the machine is checked. For operation with the setting that suppresses the use of a C4 server, if the power of the machine is OFF, it takes the FwLib time-out time to check the power status (for duplication to other machines, FwLib time-out time multiplied by the number of machines to which the point is to be copied). If it is obvious that the power of the machine is OFF, the power status check time can be shortened by enabling a C4 server when creating a point and disabling a C4 server when actually communicating with the machine.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
20/98
5.2.3
Point Group
Multiple points grouped together are referred to as a Point Group. By using the Point Group function to set a group of points for constant reading and another group of points for reading only when necessary, it is possible to reduce network load. A Point Group must have a single BOOL type point corresponding to it. This point is called the Point Group Control Point. While the value of this control point is True, reading from the points in the group is performed. If the value of the control point is False, reading from the points in the group is not performed. Multiple Point Groups may be set. Reading from points not in a Point Group is not performed; all points from which to read data must be set in a Point Group. For details of Point Groups, see Subsection 5.5.3, "Point Group".
5.2.3.1
Display
From the tree on the left-hand side of the i CELL Configuration dialog box, select [Custom Point]>[Point Group], and a list of Point Group Control Points appears.
5.2.3.2
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
21/98
<2>
Make the setting for each item (referring to [Create Point Group Control Point]), and click the <Create> button. <3> The Point Group dialog box appears. <4> Add the points to be set with the control point to be created to the Target Point area, and click the <OK> button.
Machine
Name of the machine for which to create a control point. To create a control point common to machines, select "Common". Path of the machine for which to create a control point. The path cannot be changed. If "Common" is selected for Machine, nothing is displayed. Name of the control point to create. If a machine is selected for Machine, set "FNCxxx01.U_"; if Common is selected, set the character string to follow "FNCSYSP.U_" (where xxx is a machine number). A string of 32 characters including "FNCxxx01.U_" or "FNCSYSP.U_" can be set. Data class of the control point to create. Boolean is selected.
Path
Point Name
Data Class
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
22/98
[Point Group]
Control Point
Name of the control point. The name set in the Create Point Group Control Point dialog box is displayed. Allows description of the point to be created. Initial value of the control point. Specify 0 or 1. If the value of the control point is 1 (True), reading from the points in the group with the control point is performed. If the value is 0 (False), reading from the points in the group is not performed. Displays a list of points that can be set with the control point. Those points that have already been set with other control points are not displayed. Specify the condition for the points that can be displayed in the Applicable Point area. Displays a list of points to be set with the control point. Number of points to be set with the control point.
Applicable Point
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
23/98
i CELLPoint (reference)
Displays a list of i CELL points currently set with the control point. No points are displayed if a new control point is to be created. Points are displayed only if i CELL is used. Displays the number of i CELL points currently set with the control point. 0 if a new control point is to be created. A number is displayed only if i CELL is used.
5.2.3.3
Editing
Change the points currently set with a control point as follows: <1> Use either of the following methods to display the Point Group dialog box: Select the control point to edit, and select [Property] from the [Edit] menu. Double-click the control point to edit. <2> Change settings as desired. <3> Click the <OK> button.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
24/98
Name of the control point. Allows description of the control point. Initial value of the control point. Specify 0 or 1. If the value of the control point is 1 (True), reading from the points in the group with the control point is performed. If the value is 0 (False), reading from the points in the group is not performed. Displays a list of points that can be set with the control point. Those points that have already been set with other control points are not displayed. Specify the condition for the points that can be displayed in the Applicable Point area. Displays a list of points to be set with the control point. Those points that have already been set are also displayed. Number of points to be set with the control point. Displays a list of i CELL points currently set
Applicable Point
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
25/98
with the control point. Points are displayed only if i CELL is used. Displays the number of i CELL points currently set with the control point to be set. A number is displayed only if i CELL is used.
Deletion
Delete control points as follows: Select the control point to delete, and from the [Edit] menu, select [Delete].
Renaming
Rename control points as follows: <1> From the [Edit] menu, select [Rename] to display the ReName Point dialog box.
<2>
Enter a new name, and click the <OK> button. Point to rename. New name for the point. Set the character string to follow "FNCxxxyy.U_" (where xxx is a machine number and yy is a path number). A string of up to 32 characters including "FNCxxxyy.U_" can be set.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
26/98
5.3
5.3.1
em_init.bcl
This script is automatically executed when the project is initiated. The initiation process for CNC Connection is inserted there. The setting file and various options for use with CNC Connection are also set there. Clicking the <OK> button in the [Script] dialog box causes the settings to be inserted into em_init.bcl as a script. The settings that have been written before the insertion remain unchanged. For information on customizing em_init.bcl, see Subsection 5.3.3, "Settings in the Initialization/Termination Scripts". When CNC Connection is started, the icon shown below appears in the task bar.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
27/98
em_term.bcl
This script is automatically executed when the project is terminated. The termination process for CNC Connection is set there. Clicking the <OK> button in the [Script] dialog box causes the settings to be inserted into em_term.bcl as scripts. The settings that have been written before the insertion remain unchanged. For information on customizing em_term.bcl, see Subsection 5.3.3, "Settings in the Initialization/Termination Scripts".
5.3.2
Setting
With the procedure below, it is possible to make settings in em_init.bcl and em_term.bcl and set various options for CNC Connection. <1> From the [Project] menu in the i CELL Configuration dialog box, select [Script] to start the Init/Term Scripts General Settings window. <2> Make the setting for each item (referring to Subsection 5.3.2.1, "Init/Term Scripts General Settings"). <3> Click the <Detail> button to start the Init/Term Scripts Detail Settings window. <4> Make the setting for each item (referring to Subsection 5.3.2.2, "Init/Term Scripts Detail Settings"), and click the <OK> button. <5> The Init/Term Scripts General Settings window reappears. Click the <OK> button to exit from the Init/Term Scripts General Settings window. NOTE If settings are changed, exit from the setting session by clicking the <OK> button in the Init/Term Scripts General Settings window. If the setting session is exited by clicking the <Cancel> button in the Init/Term Scripts General Settings window, all changes (including any changes made in the Init/Term Scripts Detail Settings window) will be canceled, preventing them from being reflected in the scripts.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
28/98
5.3.2.1
Item 1.
Init script File File name of the CIMPLICITY initiation script. The setting cannot be changed in i CELL or CNC Communication Mode.
Item 2.
Term script File File name of the CIMPLICITY termination script. The setting cannot be changed in i CELL or CNC Communication Mode.
Item 3.
Comm. setting File Name of the setting file for CNC Connection. i CELL: CNCSetting.txt (cannot be changed) CNC Communication Mode: CimVrtlCnc.cfg (cannot be changed)
Item 4. Project Target project name. The setting cannot be changed in i CELL or CNC Communication Mode. Item 5. Result Point Name of the initiation result storage point. i CELL: Cannot be changed.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
29/98
CNC Communication Mode: Any point name may be used. If the specified point does not exist in the target project, the point will be created when the Configuration dialog box is exited. For details, see Subsection 5.5.8.1, "Result Point". Default = FNCSYSP.F_NCC_STATUS Item 6. End Point Point for termination instructions. i CELL: Cannot be changed. CNC Communication Mode: Any point name may be used. If the specified point does not exist in the target project, the point will be created when the Configuration dialog box is exited. For details, see Subsection 5.5.8.2, "End Point". The default is FNCSYSP.F_PROJECT_END. Item 7. Point Setting Notification Point for point setting completion notification. A name is displayed only if the Point Setting Notification Function is used. i CELL: Cannot be changed. CNC Communication Mode: Any point name may be used. If the specified point does not exist in the target project, the point will be created when the Configuration dialog box is exited. For details, see Subsection 5.5.8.3, "Point Setting Notification Point". The default is FNCSYSP.F_COM_PSET_NOTIFY. <Detail> Button Used to make detailed settings. See Subsection 5.3.2.2, "Init/Term Scripts Detail Settings". <Default> Button Used to change all items in the initialization/termination scripts (including those in the Init/Term Scripts Detail Settings window) to their defaults.
NOTE It is not possible to delete any of Result Point, End Point, and Point Setting Notification newly created in this window from the Configuration dialog box. If they need to be deleted, delete them from the CIMPLICITY Workbench.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
30/98
5.3.2.2
Group 1
Item 1.
Item 2.
Retry Interval Retry interval (ms) to be assumed if a communication error occurs in the initialization process or in reading/writing during initiation or if initialization fails when the power is switched from OFF to ON. Default = 30000
Item 3.
Additional time to the terminal process timer Additional time (ms) to the terminal process timer. Default = 5000
Item 4.
Terminal waiting time of communication thread Terminal waiting time (ms) of a child thread of a communication thread. Default = 180000 NOTE
Item 5.
Terminal waiting time of dialog thread Terminal waiting time (ms) of a child thread of a dialog thread. Default = 5000
Item 6.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
31/98
Terminal waiting time (ms) of a log thread. Default = 5000 Item 7. Retry interval in busy case Retry interval (ms) to be assumed if a write process is busy. Default = 1000 Item 8. Retry number in busy case Number of retries to be assumed if a write process is busy. Default = 2 <Default (Only Detail)> Button Used to change all items (of groups 1 and 2) in the Init/Term Scripts Detail Settings window to their defaults. This does not change the items in the Init/Term Scripts General Settings window. NOTE The time required for a termination process varies depending on the number of CNCs connected. If the following message appears during termination, it is possible that the termination process is not completed in the default timeover time.
If this occurs, change the setting of Terminal waiting time of communication thread (item 4). Also, the following are recorded in the CimVrtlCnc Error Log: Example 1: There is no response of the completion of end preparation from a [thread-name]. Example 2: End Processing of [thread name] went wrong. Example 3: There is no response from a [thread-name]. (ErrNo.0x???.0x?) where [thread-name] is replaced by one of the following character st rings: Point setting thread Point change surveillance thread Power supply check thread Writing thread Reading thread (1) Reading thread (2) Reading thread (3)
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
32/98
Group 2
Item 1.
Check PWE of CNC on writing parameter Whether to the CNC parameter write enable setting when changing the values of CNC parameters from a personal computer. Check placed: Check Check not placed: Not check (default)
Item 2.
Log power status of CNC (PWRLOG) Whether to output CNC power ON/OFF status changes to the log. Check placed: Output (default) Check not placed: Not output For details of the log, see Subsection 5.5.7.1, "PWRLOG CNC power status".
Item 3.
Log Internal progress (CPULOG) Whether to output the log for checking the progress of internal processing. Check placed: Output Check not placed: Not output (Default) For details of the log, see Subsection 5.5.7.2, "CPULOG Progress of internal processing".
Item 4.
Log real read time (RTLOG) Whether to output the real read process time for each CNC and for each read interval (time required to read CNC data and time required to write to a point) to the log. Check placed: Output Check not placed: Not output (default)
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
33/98
For details of the log, see Subsection "5.5.7.3, "RTLOG CNC data read and point write time" Item 5. Log CNC read time (NCRTLOG) Whether to output the read process time for each CNC and for each read interval to the log. Check placed: Output Check not placed: Not output (default) For details of the log, see Subsection 5.5.7.4, "NCRTLOG CNC data read process time". Item 6. Change the point value *** when error Whether to set the value of a point to an invalid value (***) in the event of a communication error. Check placed: Set it to an invalid value (default) Check not placed: Not set it to an invalid value Item 7. Exclusive control in getting FOCAS2/Ethernet library handle Whether to execute exclusive control in getting a FOCAS2/Ethernet library handle. Check placed: Execute exclusive control Check not placed: Not execute exclusive control (default) Item 8. Write the value of CNC to CIMPLICITY on every time How to write the values read from the CNC to CIMPLICITY points. Check placed: Write every time Check not placed: Write only when values differ (default) <Default (Only Detail)> Button Used to change all items (of groups 1 and 2) in the Init/Term Scripts Detail Settings window to their defaults. This does not change the items in the Init/Term Scripts General Settings window.
NOTE Creating a log causes communication processing speed to decrease. Set the log creation options only if required; usually, refrain from creating logs other than those created by default.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
34/98
5.3.3
Initiation process for CNC Connection that is written to em_init.bcl em_init.bcl can contain the following scripts for the initiation of CNC Connection. (Some are written on more than one line.) The "Argument No." column indicates the item numbers in "Command line arguments of CNC Connection" on the next page.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
35/98
Line 1 2 3 4 5 6 8 9 10 11
12
13
14
15
16
17
18 19
Initiation process for CNC Connection that is written to em_init.bcl Argument Script Description No ' <<FConfig.exe Script Begin>> Insertion start comment Dim FNC_TaskID As Long Variable declaration Dim FNC_Process As Long Variable declaration Dim FNC_ExeData as String Variable declaration Dim FNC_InstallDir as String Variable declaration Dim FNC_ProjectDir as String Variable declaration FNC_InstallDir = i CELL installation directory "C:Program FilesFANUCiCELL" FNC_ProjectDir = Environ$("SITE_ROOT") PointSet End Point initialization "FNCSYSP.F_PROJECT_END", 0 FNC_ExeData = Command line arguments are crated on the 11th FNC_InstallDir + to 16th lines. "binCIMVrtlCNC.exe 1 Communication setting file name /F=" + FNC_ProjectDir + 2 Project name "CimVrtlCnc.cfg /P=CIMPROJECT" FNC_ExeData = FNC_ExeData + " /PWE=1 3 Check PWE of CNC on writing parameter = Yes /C4=127.0.0.1 4 C4 Server /R= FNCSYSP.F_NCC_STATUS 5 Result Point /Q= FNCSYSP.F_PROJECT_END" 6 End Point FNC_ExeData = FNC_ExeData + " /PWRLOG=1 7 Log power status of CNC (PWRLOG) = Yes /CPULOG=0 8 Log Internal progress (CPULOG) = No /RTLOG=0 9 Log real read time (RTLOG) = No /NCRTLOG=0" 10 Log CNC read time (NCRTLOG) = No FNC_ExeData = FNC_ExeData + " /RUNFALIB=0 11 (None) /EVERYWRITE=0 12 Write the value of CNC to CIMPLICITY on /RETRY=30000 13 every time=No /KEEPOLD=0" 14 Retry Interval Change the point value *** when error = Yes FNC_ExeData = FNC_ExeData + " /TIMEOUT1=5000 15 Additional time to the terminal process timer /TIMEOUT2=180000 16 Terminal waiting time of communication thread /TIMEOUT3=5000 17 Terminal waiting time of dialog thread /TIMEOUT4=5000" 18 Terminal waiting time of log thread FNC_ExeData = FNC_ExeData + " /EXCLUSIVEFWLIB=0 19 Exclusive control in getting FOCAS2/Ethernet /WRETRY=1000 library handle = No /WRETRYNUM=2" 20 Retry interval in busy case 21 Retry number in busy case FNC_ExeData = FNC_ExeData + " /PSET_NOTIFY= 22 Point Setting Notification name (only if a Point FNCSYSP.F_COM_PSET_NOTIFY" Setting Notification Point is used) FNC_TaskID = Shell(FNC_ExeData) Initiation of CNC Connection ' <<FConfig.exe Script End>> Insertion end comment
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
36/98
Command line arguments of CNC Connection The command line arguments, represented by "/???", used in the initiation process for CNC Connection are as described below. The "Item in the Configuration dialog box" column indicates where in the [Script] dialog box each argument is set. Command line arguments of CNC Connection No. 1 2 3 4 5 6 7 8 9 10 11 12 Command line argument /F=[file-name] /P=[project-name] /PWE=[0/1] /C4=127.0.0.1 /R=[point-ID] /Q=[point-ID] /PWRLOG=[0/1] /CPULOG=[0/1] /RTLOG=[0/1] /NCRTLOG=[0/1] /RUNFALIB=0 /EVERYWRITE=[0/ 1] /RETRY=[retry-inter val] /KEEPOLD=[0/1] /TIMEOUT1=time /TIMEOUT2=time /TIMEOUT3=time Item in the Configuration dialog box Name of the setting file for CNC Connection General (Default =CimVrtlCNC.cfg) Item 3 Specification of the name of the target project General (CIMPLICITY project on which to execute CNC Item 4 Communication Mode) Whether to check the PWE of the CNC when writing Detail, Group 2 parameters. 0:Check, 1:Not check (default = 0:Check) Item 1 Host name of the C4 sever Detail, Group 1 Set 127.0.0.1. Item 1 Name of the initiation result storage point General (Default =FNCSYSP.F_NCC_STATUS) Item 5 Name of the point for termination instructions General (Default = FNCSYSP.F_PROJECT_END) Item 6 Whether to record power ON/OFF status changes to the log Detail, Group 2 0:Not output, 1:Output (default = 1:Output) Item 2 Whether to record the progress of internal processing to the Detail, Group 2 log Item 3 0:Not output, 1:Output (default = 0:Not output) Whether to record the read process time for each machine to Detail, Group 2 the log Item 4 0: Not output, 1:Output (default = 0:Not output) Whether to record the read process time for CNC data to the Detail, Group 2 log Item 5 0:Not output, 1:Output (default = 0:Not output) Be sure to set 0. (None) Whether to write the values read from the CNC to Detail, Group 2 CIMPLICITY every time Item 8 0:Write only when values differ, 1:Write every time (Default = 0) Retry interval (ms) to be assumed if initialization fails Detail, Group 1 (Default = 30000ms) Item 2 Whether to set the value of a point to an invalid value (***) Detail, Group 2 in the event of a communication error. Item 6 0:Set, 1:Not set (default = 0:Set) Additional time (ms) for the terminal process timer Detail, Group 1 (Default = 5000ms) Item 3 Terminal waiting time (ms) of a child thread of a Detail, Group 1 communication thread Item 4 (Default = 180000ms) Terminal waiting time (ms) of a child thread of a dialog Detail, Group 1 th d Description
13 14 15 16 17
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
37/98
18 19 20 21 22
thread (Default = 5000ms) Terminal waiting time (ms) of a log thread (Default = 5000ms) Whether to execute exclusive control in getting a FOCAS2/Ethernet library handle 0:Not execute, 1:Execute (default = 0:Not execute) Retry interval (ms) to be assumed if a write process is busy (Default = 1000ms) Retry number to be assumed if a write process is busy (Default = 2:Yes) Point Setting Notification name (Default = FNCSYSP.F_COM_PSET_NOTIFY)
Item 5 Detail, Group 1 Item 6 Detail, Group 2 Item 8 Detail, Group 1 Item 7 Detail, Group 1 Item 8 General Item 7
Termination process for CNC Connection that is written to em_term.bcl em_term.bcl can contain the following scripts for the termination of CNC Connection. The "Argument No." column indicates the item numbers in "Command line arguments of CNC Connection" on the previous page. Termination process for CNC Connection that is written to em_term.bcl Argument Script Description No. ' <<FConfig.exe Script Begin>> Insertion start command PointSet 6 Termination by setting End Point to 1 "FNCSYSP.F_PROJECT_END", 1 ' <<FConfig.exe Script End >> Insertion end comment
Line 1 2 3
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
38/98
5.4
5.4.1
PMC Data
Items
Data Class Description Read interval Boolean, Analog Allows description of the point. Select from among intervals 1, 2 and 3 specified as described in Subsection 5.2.1, "Read intervals". BOOL, SINT, USINT, INT, UINT, DINT, UDINT For the non-array BOOL type only, allows specification of the bit to be referenced with a number between 0 and 7. For other types, set the bit offset to 0.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
39/98
BOOL: 1 or a multiple of 8 only Other: Number of addresses to read and write Read only or read-and-write enabled G, F, X, Y, R, A, T, K, C, D, M, N, E PMC address number Set the method of specifying the PMC to input/output. A method can be specified only for the Series30i /31i /32i. The following methods can be specified: Series16 i-compatible(1st PMC) Input data to and output data from the first PMC in the same way as the Series16i . 1st PMC, 2nd PMC, 3rd PMC, Dual-check safety PMC Input data to and output data from each PMC unit. Path Can be specified for G and F addresses only. It causes data to be input to and output from the PMC set on a specified path.
It is not possible to write data to the entire address F and X area or to addressees R9000 to R9999. Note also that data must not be written to addresses K0017 to K0019 or to addresses K900 to K999. In the Series30i /31i /32i, multipath PMCs can be used, and G and F addresses can be allocated freely to each path of a CNC. For example, in the Series16i, addresses starting with G0000 are always allocated to the G area of path 1, but in the Series30i /31i /32i, G2000 of the third PMC and subsequent addresses can be allocated to the G area of path 1.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
40/98
Allocation examples for PMCs Series16i CNC Path 1 G0000 F0000 G1000 Path 2 F1000 PMC
Series30i CNC Path 1 G0000 F0000 G1000 Path 2 F1000 Signal I/F G2000 F2000 G3000 F3000 2nd PMC PMC 3rd PMC
With a path specification, regardless of the allocation of a CNC path to a PMC, the G and F addresses according to the CNC path are accessed. For both G and F addresses, set values starting with 0 for numbers. Note that unlike in the Series16i, in which offsets are used, such as 0 for path 1 and 1000 for path 2, values starting with 0 must always be set. A path specification is effective to reading G and F addresses in the Series30i /31i /32i and to writing to G addresses. Example) Comparison of specification methods for reading the G0 area of the second path in the Series16i /30i for the "allocation examples for PMCs" on the previous page
Series16i Series30i Address: Address: or Address: G, Number: G, Number: G, Number: 1000 0000, Specific method: 3000, Specific method: Path 2nd PMC
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
41/98
Specification examples
a) If Point Name: R0200, Data Type: BOOL, Bit Offset: 0, Elements: 8, and Number: 200 R0200(0) = R0200#0 data R0200(1) = R0200#1 data R0200(2) = R0200#2 data R0200(3) = R0200#3 data R0200(4) = R0200#4 data R0200(5) = R0200#5 data R0200(6) = R0200#6 data R0200(7) = R0200#7 data b) If Point Name: R0200, Data Type: SINT, Bit Offset: 0, Elements: 3, and Number: 200 R0200(0) = R0200 data R0200(1) = R0201 data R0200(2) = R0202 data
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
42/98
5.4.2
Items
Data Class Description Read interval Data Type Bit Offset Elements Read Only Number Analog (fixed) Allows description of the point. Select from among intervals 1, 2, and 3 specified in Subsection 5.2.1, "Read intervals". REAL (fixed) 0 (fixed) Number of addresses to read and write Read only or read-and-write enabled Custom macro variable number NOTE 1 NOTE2
NOTE1 If a value greater than 0 is specified for Elements (for an array), as many elements as the value are read from and written to the specified address. NOTE2 Only common variables can be read-and-write enabled; local variables can be read only.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
43/98
Specification examples
a) If Point Name: CMV0900, Elements: 3, and Number: CMV0900(0) = Custom macro number 900 data CMV0900(1) = Custom macro number 901 data CMV0900(2) = Custom macro number 902 data 900
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
44/98
5.4.3
Parameters
Items
Data Class Description Read interval Data Type Bit Offset Boolean, Analog Allows description of the point. Select from among intervals 1, 2, and 3 specified in Subsection 5.2.1 , "Read intervals". BOOL, SINT, USINT, INT, UINT, DINT, UDINT, REAL For the BOOL type only, allows specification of the bit to be referenced with a number between 0 and 7. For other types, set the bit offset to 0. For a non-axis type: 1 For an axis type: Number of axes to read (equal to or less than the number of controlled axes) NOTE1 Read only or Read-and-write enabled Parameter number
Elements
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
45/98
Axis Number
For a non-axis type: 0 For an axis type: Number of axes (equal to or less than the number of controlled axes) NOTE1
NOTE1 For an axis type parameter with no axis number specified (Axis number = 0), an array of axes may be specified. The number of array elements must be equal to or less than the number of controlled axes. For an axis type parameter with an axis number specified (Axis number not equal to 0) and for a non-axis type parameter, set 1 for Elements.
Specification examples
a) If Point Name: PA3623, Data type: SINT, Bit offset: 0, Elements: 3, Number: 3623, and Axis number: 0 PA3623 (0) = Data for the 1st axis of parameter 3623 PA3623 (1) = Data for the 2nd axis of parameter 3623 PA3623 (2) = Data for the 3rd axis of parameter 3623 b) If Point Name: PA3715A3, Data type: BOOL, Bit offset: 2, Elements: 1, Number: 3715, and Axis number: 3 PA3715A3 = #2 data for the 3rd axis of parameter 3715 c) If Point Name: PA3715, Data type: BOOL, Bit offset: 2, Elements: 3, Number: 3715, and Axis number: 0 PA3715(0) = #2 data for the 1st axis of parameter 3715 PA3715(1) = #2 data for the 2nd axis of parameter 3715 PA3715(2) = #2 data for the 3rd axis of parameter 3715
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
46/98
5.4.4
Alarm Numbers
Items
Data Class Description Read interval Data Type Bit Offset Elements Read Only Axis Number Analog (fixed) Allows description of the point. Select from among intervals 1, 2, and 3 specified in Subsection 5.2.1, "Read intervals". INT (fixed) 0 (fixed) Maximum number of alarms to read for the specified axis Read only (fixed) Axis number (equal to or greater than the number of controlled axes) 0: Alarm not related to the axis
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
47/98
Specification examples
a) If Point Name: ALMA0, Elements: 3, and Axis number: 0 ALMA0 (0) = Number of the first alarm not related to the axis ALMA0 (1) = Number of the second alarm not related to the axis ALMA0 (2) = Number of the third alarm not related to the axis A value of -1 is placed if no alarm is generated. b) If Point Name: ALMA1, Elements: 3, and Axis number: 1 ALMA1 (0) = Number of the first alarm of the first axis ALMA1 (1) = Number of the second alarm of the first axis ALMA1 (2) = Number of the third alarm of the first axis A value of - 1 is placed if no alarm is generated.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
48/98
5.4.5
Alarm Types
Items
Data Class Description Read interval Analog (fixed) Allows description of the point. Select from among intervals 1, 2 and 3 specified as described in Subsection 5.2.1, "Read intervals". INT (fixed) 0 (fixed) Maximum number of alarms to read for the specified axis Read Only (fixed) Axis number (equal to or greater than the number of controlled axes) 0: Alarm not related to the axis
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
49/98
Specification examples
a) If Point Name: ALMTA0, Elements: 3, and Axis number: 0 ALMTA0 (0) = Alarm type for the first alarm not related to the axis ALMTA0 (1) = Alarm type for the second alarm not related to the axis ALMTA0 (2) = Alarm type for the third alarm not related to the axis A value of -1 is placed if no alarm is generated. b) If Point Name: ALMTA1, Elements: 3, and Axis number: 1 ALMTA1 (0) = Alarm type for the first alarm of the first axis ALMTA1 (1) = Alarm type for the second alarm of the first axis ALMTA1 (2) = Alarm type for the third alarm of the first axis A value of -1 is placed if no alarm is generated.
Alarm types
The table below gives the alarm types that can be acquired. Series 16i /18i /21i, Series 30i /31i /32i Value Power Mate i D/H, Series 0i 0 P/S100 Parameter write switch ON 1 P/S000 Input of parameters that require power off 2 P/S101 I/O error 3 P/S, other Foreground P/S 4 Overtravel alarm Overtravel/external data input error 5 Overheat alarm Overheat alarm 6 Servo alarm Servo alarm 7 System alarm Data input/output error 8 APC alarm Macro alarm 9 Spindle alarm Spindle alarm 10 P/S5000 to P/S5999, punch press Other alarms alarm 11 Laser alarm Alarm related to the malfunction prevention function 12 Unused Background P/S 13 Rigid tapping alarm SYNC EXCESS ERROR 14 Unused Reserved 15 External alarm message External alarm message 16 Unused Reserved 17 Unused Reserved 18 Unused Reserved 19 Unused PMC error
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
50/98
5.4.6
NOTE 1 To enable the second to fourth messages in the Series16i /18i /21i, 0i, bit 0 of parameter No. 3207 must be set. 2 In the Power Mate i D/H, only the first message is enabled. 3 In the Series30i /31i /32i, this function is under development and cannot be used.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
51/98
Items
Data Class Description Read interval Analog (fixed) Allows description of the point. Select from among intervals 1, 2 and 3 specified as described in Subsection 5.2.1, "Read intervals". INT (fixed) 0 (fixed) 1 (fixed) Read only (fixed) Kind of operator's message For the Series16i /18i /21i, 0i First message 1 Second message 2 Third message 3 Fourth message 4 For the Power Mate i D/H First message 1
Specification examples
a) If Point Name: OPMN4 and Kind of operator's: 4 OPMN4 = Number of the fourth message A value of -1 is placed if no operator's message is generated.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
52/98
5.4.7
Items
Data Class Description Read interval Text (fixed) Allows description of the point. Select from among intervals 1, 2 and 3 specified as described in Subsection 5.2.1, "Read intervals". STRING (fixed) 0 (fixed) 255 (fixed) Read only (fixed)
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
53/98
Kind of operator's
Kind of operator's message For the Series16i /18i /21i, 0i First message 1 Second message 2 Third message 3 Fourth message 4 For the Power Mate i D/H First message 1
Specification example
a) If Point Name: OPMM1 and Kind of operator's: OPMM1 = First message string 1
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
54/98
5.5
CNC CONNECTION
CNC Connection performs CIMPLICITY point input/output by communicating with CNCs. CNC Connection is used in i CELL and in CNC Communication Mode. This section describes the main specifications of CNC Connection.
5.5.1
Read Methods and Read Intervals - Parallel Process and Sequential Process
There are two methods of reading CIMPLICITY points from CNCs, a parallel process and a sequential process. A parallel process and a sequential process cannot be used at the same time. A parallel process and a sequential process differ as described below.
Parallel process
Read instructions are issued to each CNC at the same time at each read interval. This can shorten the time required to read values from multiple CNCs, but will increase the CPU load at the peak of the read process.
Sequential process
Read instructions are issued to one CNC at a time at each read interval. This will increase the time required to read values from multiple CNCs, but can keep the increases in CPU load at the peak of the read process.
Difference between parallel and sequential processes in reading (if communicating with two CNCs) Parallel process
2 1 2 1 2 1 1 2 1 2 1 2
Sequential process
Read interval 1
Time
Read interval
Time
and
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
55/98
No matter which process is used, the read interval settings will have a great impact on CPU load. Care must be exercised so that the read interval settings are sufficiently large as compared with the time required to actually read data from the CNCs to prevent the CPU utilization at the peak of the process from reaching 100%. The time required to actually read from CNCs can be recorded to a log. For details, see Subsection 5.5.7.3, "RTLOG CNC data read and point write time". For a parallel process, three different read intervals can be set for each CNC; for a sequential process, three different read intervals common to all CNCs can be set. It is possible to specify which of these read intervals to use on a point-by-point basis. This function makes it possible to set the data that is to be updated frequently and the data that is not on a point-by-point basis. If multiple read intervals are set, they are processed in parallel. The figure below shows an outline of a parallel process and a sequential process.
2 1 2 1
Duplicate
2 1 2 1
2 1 2 1
1 2
Duplicate Duplicate
1 2 1 2 1 2
1 2
Duplicate
2 1
1 2
1 2
Time
Time
and
If there are reads from the same CNC at the same time, the reads are performed in parallel. For an explanation of how to set read methods and set read intervals, refer to Section 2.4, "PROJECT PROPERTY" in Part III, "SETTING", in the i CELL Operator's Manual and see Subsection 5.2.1, "Read intervals", respectively.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
56/98
5.5.2
5.5.3
Point Group
Multiple points grouped together are referred to as a Point Group. Using the Point Group function to set a group of points for constant reading and another group of points for reading only when necessary, it is possible to reduce network load. Setting a Point Group is effective only to the reading from points. As for the writing to points, if a value at a CIMPLICITY point is changed, it will immediately be reflected in the CNC, regardless of whether a Point Group is set or not. A Point Group must have a single BOOL type point corresponding to it. This point is called the Point Group Control Point. While the value of this control point is True, reading from the points in the group is performed. If the value of the control point is False, reading from the point in the group is not performed. Point group
Point group A for constant reading Point group A Control point A Point A1 Point A2
Point group A
Point group B for reading when necessary Point group B Control point B Point B1 Point B2
Point group A is for constant reading, so control point A must always be set to True. Point group B is for reading only when control point B is set to True.
Control point A Point A1 Point A2 Point group B Control point B Point B1 Point B2
True False
True False
Read interval
Time
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
57/98
Multiple Point Groups may be set. Reading from points not in a Point Group is not performed; all points from which to read data must be set in a Point Group. A Point Group is not related to a particular machine; it is possible to set points in different machines in a single Point Group. For an explanation of how to set Point Groups, see Subsection 5.2.3, "Point Group".
5.5.4
The PC and the CNCs belong to different networks connected via a router.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
58/98
5.5.5
Reconnection method
Disable Does not make a reconnection automatically. If a communication error occurs, any subsequent reading from or writing to the CNC will be canceled. If the power status of the CNC turns OFF and then back ON, a reconnection will be made. Select by Point Used to specify whether to make a reconnection according to the value of a point. The point used for this purpose is called the communication reconnection instruction point. For an explanation of communication reconnection instruction points, see Subsection 5.5.8.8, "Communication reconnection instruction point". If a communication error occurs, CNC Connection sets the communication reconnection instruction point to True. The user application must monitor the communication reconnection instruction point, and if it becomes True, perform appropriate action such as notifying the operator of the communication error, so that the operator can decide whether to make a reconnection. To make a reconnection, set the communication reconnection instruction point to False. If the communication reconnection instruction point becomes False, CNC Connection makes a reconnection. If a reconnection cannot be made, a reconnection is attempted at every specified retry time until it is successful. If this function causes a reconnection to be attempted, a log called
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
59/98
"Retry Connection (2)" will be created in "CimVrtlCnc Error Log" regardless of whether it is a success or a failure. After a reconnection is successful, this log will not be created. If a communication error occurs, CNC Connection sets the communication reconnection instruction point to True, and upon realizing that the power OFF state of the CNC subsequently, CNC Connection sets the communication reconnection instruction point to False. Enable Makes a reconnection automatically if a communication error occurs. If a reconnection cannot be made, a reconnection is attempted at every specified retry time until it is successful. If the quality of the communication line is poor, it is possible that an error recurs immediately after a connection is made. If a communication error frequently occurs, improve the quality of the communication line, rather than relying on the reconnection function. When the function is enabled, use caution because communication errors may go unnoticed even if they frequently occur. If this function causes a reconnection to be attempted, a log called "Retry Connection (1)" will be created in "CimVrtlCnc Error Log" regardless of whether it is a success or a failure. After a reconnection is successful, this log will not be created.
Setting method
For an explanation of setting a reconnection method, refer to Subjection 2.6.2, "Setting up FOCAS2/Ethernet Communication" in Part III, "SETTING", in the i CELL Operator's Manual. For an explanation of setting the retry time to be assumed if a reconnection is attempted, see "Group 1" in Subsection 5.3.2.2, "Init/Term Scripts Detail Settings".
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
60/98
5.5.6
Reconnection Function in the Initialization Process during CNC Connection Initiation and in the Power ON Initialization Process
If a communication error occurs when CNC Connection is initiated and is executing an initialization process, a retry is always made and if the retry is successful, a log called "Retry Initialization" is created in "CimVrtlCnc Error Log". Also, if a communication error occurs in initialization at the time of switching from power OFF to ON, a retry is always made and if the retry is successful, a log is output to "Retry Connection". For an explanation of setting the reconnection retry time in the initialization process during initiation and in initialization at the time of switching from power OFF to ON, see "Group 1" in Subsection 5.3.2.2, "Init/Term Scripts Detail Settings".
5.5.7
Logs
The error status, the progress, and other information are recorded to logs. Whether to output the progress can be specified with the appropriate initiation-time option. For an explanation of specifying the option, see Subsection 5.3.2, "Setting". In the event of an error, view "CimVrtlCnc Error Log" and "CimVrtlCnc Detail Log", using the log viewer installed together with i CELL or CNC Communication Mode. As the machine number to be output to a log, the path-specific serial number or the IP address-specific number may be specified. For the path-specific serial number, the serial numbers allocated sequentially to the individual machines on a path-by-path basis, starting with the path number 1 of the machine number 1, will be machine numbers. For the IP address-specific number, machines with the same IP address are allocated the same machine number, and Pxx (where xx denotes a path number), indicating the path number, is added at the beginning of each log. As for those logs that do not depend on the machine number (file read failures, application initiations/terminations, total process time at each read interval, etc.), the machine number is assumed 0, and Pxx is not added. Pxx is not added, either, if only one path is set. Settings and the machine numbers output to a log will be as follows:
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
61/98
Examples) Machine information in the Configuration dialog box Path number Machine number 1 1 1 2 2 3 1 5 1 Machine number output to a log Path-specific serial number 1 2 3 4 5 IP address-specific number 1 2 2 3 4
The machine number to be output to a log can be set with the appropriate project property. Refer to Section 2.4, "PROJECT PROPERTY", in Part III, "SETTING", in the i CELL Operator's Manual. NOTE Creating a log causes communication processing speed to decrease. Set the log creation options only if required; usually, refrain from creating logs other than those created by default. The following explains logs in detail.
5.5.7.1
Log format
Power Log: Old=previous New=present Reboot=restart Msg=message Old New ReBoot Msg Previous power status. 0 = OFF, 1 = ON Present power status. 0 = OFF, 1 = ON Whether a restart has been done. 0 = No restart done, 1 = Restart done Whether a power message has been sent. 0 = Not sent, 1 = Sent
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
62/98
Example) <For a machine number in the setting file> Power Log: Old=1 New=0 Reboot=0 Msg=0 <For an IP address-specific machine number (path number: P01 Power Log: Old=1 New=0 Reboot=0 Msg=0
1)>
5.5.7.2
Log format
Power Log: Processing thread number - processing message number Thread Number Number of the machine on which processing is performed + thread number. Thread numbers are as listed below. 0x10 0x2X 0x30 0x40 0x50 0x60 0x70 0xFF Message Number MsgMng thread NCRead thread NCWrite thread PtSet thread OnChng thread C4Chk thread TimMng thread Dialog box
Number of the message processed with the PreTranslateMessage function on the thread.
Example) If the WM_CHECKPOWER(0x07F9) message is processed on the C4Chk thread with the machine number 1 <For a machine number in the setting file> CPU Log: 0160 - 07F9 < For an IP address-specific machine number (path number:1)> P01 CPU Log: 0160 - 07F9
5.5.7.3
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
63/98
Idle time
Total of the times for the processes for all machines (log output time) Specified read interval
Log format
R Time Log: TID=Read interval /Process time R TotalTime Log: TID=Read interval /Process time Read interval Process time Read interval at which the process is performed. 0 = Interval 1, 1 = Interval 2, 2 = Interval 3 Time required for the process (ms).
Example 1) If the read is a parallel process, the machine number is 1, the read interval is 1, and the process time is 50 [ms] <For a machine number in the setting file> R Time Log: TID=0000 /50 <For an IP address-specific machine number (path number: 1)> P01 R Time Log: TID=0000 /50 Example 2) If the read is a sequential process, the machine number is 1, the read interval is 1, the process time is 50 [ms], and the total process time is 100 [ms] <For a machine number in the setting file>
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
64/98
5.5.7.4
Log contents
The time for the process for reading data from a CNC for each CNC read interval is output to the log.
CNC1 read process Power check process time Time for the process for reading data from the CNC (log output time) Real read process time Specified read interval Time for the process for creating the data to be written Idle time
Log format
NC R Time Log: TID=Read interval /Process time Read interval Process time Read interval at which the process is performed. 0 = Interval 1, 1 = Interval 2, 2 = Interval 3 Time required for the process (ms).
Example) If the machine number is 1, the read interval is 1, and the process time is 10 [ms] <For a machine number in the setting file> NC R Time Log: TID=0001 /10 <For an IP address-specific machine number (path number: 1)> P01 NC R Time Log: TID=0001 /10
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
65/98
5.5.8
5.5.8.1
Result Point
This is the point for storing the results of initiating CNC Connection, and a single Result Point is necessary for a project. In CNC Communication Mode, a Result Point may be created with any name. For an explanation of how to create a Result Point, see Subsection 5.3.2.1, "Init/Term Scripts General Settings". Data Type Elements Initial Value Point Name Detail INT 1 -1 FNCSYSP.F_NCC_STATUS, or any name A value is set by CNC Connection. When the initiation process for CNC Connection terminates, a result will be set. If operation is normal, 0 is set; if an error such as "no setting file found" occurs, a positive error code is set.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
66/98
5.5.8.2
End Point
This is the point for terminating CNC Connection, and a single End Point is necessary for a project. In CNC Communication Mode, an End Point can be created with any name. For details of how to create an End Point, see Subsection 5.3.2.1, "Init/Term Scripts General Settings". Data Type Elements Initial Value Point Name Detail BOOL 1 False FNCSYSP.F_PROJECT_END, or any name A value is set by the user. Setting the value to True causes CNC Connection to terminate.
5.5.8.3
Overview
The Point Setting Notification Point is used to notify that a user application is ready to use points when i CELL or CNC Communication Mode is initiated. The Point Setting Notification Point is of two types, general Point Setting Notification Point and path-specific Point Setting Notification Point. When a path-specific Point Setting Notification Point becomes TRUE, this means that a series of communications for the path terminates and the application is ready to reference the points on the path. A path-specific Point Setting Notification Point is NONE at initiation, and becomes TRUE when the following processes terminate: (1) CNC power ON/OFF status check (2) In the power ON status, reading of data at all read intervals If, however, 0 m/s is specified as a read interval, the point is set TRUE with no reading. Those points that are not contained in a Point Group and those points for which the initial value of the Point Group Control Point is 0 so that no read instructions are issued are set TRUE when the process (1) is performed. They are also set TRUE if an error occurs in the above processes. A general Point Setting Notification Point becomes TRUE when all path-specific Point Setting Notification Points become TRUE. Path-specific and general Point Setting Notification Points change from NONE to TRUE only once when CNC Communication Mode is initiated.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
67/98
Then, they remain constant values until CNC Communication Mode is terminated.
Detail
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
68/98
5.5.8.4
5.5.8.5
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
69/98
5.5.8.6
Detail
5.5.8.7
Detail
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
70/98
5.5.8.8
5.5.8.9
Detail
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
71/98
5.5.9
Dialog box termination process Terminal process timer Additional time to the terminal process timer Termination wait time for the child thread in the dialog box Termination wait time for a log thread
Termination process for a child thread of a communication thread Termination wait time for a child thread of a communication thread
The timeover time for the default termination wait time for a child thread of a communication thread is 180 seconds. In this case, the maximum wait time until CNC Connection terminates is 195 seconds, including the timeover time of 15 seconds in other processes. If the termination process terminates normally, CNC Connection terminates in a shorter time.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
72/98
6
6.1
6.1.1
OVERVIEW
Description of CNC Communication Mode
CNC Communication Mode, one of the operating modes of i CELL, is a mode in which only the function for communicating with a CNC (CNC Connection) of all the i CELL functions is used. Whether to use i CELL functions or use CNC Communication Mode can be specified on the installation window when i CELL is installed. CNC Communication Mode can be used only when FOCAS2/Ethernet is used for communication. Also, a CIMPLICITY HMI development server is required. If CNC Communication Mode is installed, functions other than CNC Connection (such as NC program management, CNC display and operation, operation result management, and maintenance) cannot be used.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
73/98
6.1.2
i CELL The various functions of i CELL are installed (such as program management, CNC display and operation, operation result management, and maintenance). The points for use with the various functions of i CELL are automatically created during machine setting. Those points that are required by the user must be created using Point Customization. 5
Those points that are required by user applications must be created using Point Customization.
Number of CNCs that can be connected during installation Maximum number of CNCs that can be connected using CNC connection options Method of communication with the CNC
20
75
FOCAS2/Ethernet
Drawing numbers of A08B-9510-J940 available CNC connection A08B-9510-J941 options A08B-9510-J942 NOTE Hatched drawing numbers are for CNC Communication Mode only. They cannot be used with i CELL.
5 10 15 20 30 40 50 60 70
NOTE
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
74/98
6.1.3
6.3.1 Installation 6.3.2.1 Creating target projects 6.3.2.2 Registering an order password
Section 2.4, PROJECT PROPERTY, III. Setting NOTE Section 2.5, MACHINE INFORMATION, III. Setting NOTE Section 2.6, COMMUNICATION, III. Setting NOTE
5 Set machine information 6 Set up communication with the machines 7 Set points 8 Add the initiation/termination processes for CNC Communication Mode to the script of the target project
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
75/98
6.2
6.2.1
OPERATING ENVIRONMENT
Available CNCs
Available CNSs are the same as those when FOCAS2/Ethernet is used with i CELL. Refer to "When the FOCAS2/Ethernet is used" in Section 3.1, "CNC", in Chapter 3, "OPERATING ENVIRONMENT", in Part I, "GENERAL", in the i CELL Operator's Manual.
6.2.2
6.2.3
Network Configuration
The network configuration is the same as that when the FOCAS2/Ethernet is used with i CELL. Refer to Section 3.3, "NETWORK CONFIGURATION", in Part I, "GENERAL", in the i CELL Operator's Manual.
6.2.4
6.2.5
CIMPLICITY HMI
A development server is required.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
76/98
6.3
6.3.1
Installation
NOTE It is not possible to install i CELL and CNC Communication Mode at the same time. Perform installation with the following procedure: <1> Insert the installation CD of i CELL. If the installer is not automatically started, execute "Setup.exe", located in the root directory of the CD. <2> In the installation component select window, select "CNC Communication Mode".
6.3.2
6.3.2.1
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
77/98
<4> When the Project Property dialog box appears, make the settings for the necessary items and click <OK>. <5> When the CIMPLICITY project wizard appears, click <Exit>. <6> The workbench for the created project appears. If "Select OK to start this project." appears, click <Cancel>. <7> Create a single dummy virtual point. The point may have any point name and point class. <8> From the [Project] menu of the workbench, select [Update configuration] to update. <9> Exit from the workbench.
6.3.2.2
<3> When the created CIMPLICITY project is selected for the first time, the following confirmation dialog box appears. Click <OK>.
<4> Confirm that at least one point is registered with the CIMPLICITY project.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
78/98
If a point has been created as described in Subsection 6.3.2.1, "Creating target projects", click <OK>. If there is no point, create a dummy virtual point, then click <OK>. The dummy virtual point may have any name and class.
<5>
<6> From the [Project] menu, click [Machine count configuration], and register an order password. For an explanation of how to register an order passwords, refer to Section 2.3, "MACHINE COUNT CONFIGURATION", in Part III, "SETTING", in the i CELL Operator's Manual.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
79/98
6.4
6.4.1
Point name rules of CNC Communication Mode FNC+3-digit machine number+2-digit path number
By using Point Name Rule Setting, it is possible to create point names using the point name rules for the user, as the figure below shows.
NOTE The Point Name Rule Setting Function can be used only when Point Customization is used in CNC Communication Mode in i CELL 2.1 or later. If Point Customization is used with i CELL, the Point Name Rule Setting Function cannot be used.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
80/98
What this function cannot do Point Name Rule Setting is the function that enables setting of name rules by the user for each machine number and path number. Even by using Point Name Rule Setting, it is not possible to set irregular point names. Nor is it possible to set the same point name for different machines or different paths. Example) Neither point (1) nor (2) can be set for a machine with the machine number 3 and the second path: Point (1) MCN3_PATH2.D1000 Point (2) M3_P2.D1001
6.4.2
Point for the first path of a machine Per-machine Point for each path of a machine Point Point for a common point group point Machine-unrelated Result Point, End point, Point Setting Notification Point *1)
Machine-specific point
The name of a machine-specific point consists of a first part identifying the machine and the path and a second part identifying the type of the point, the parts being separated with a period ".". The point name format is as follows: FNCxxxyy.<identifier> where FNC is a fixed character string. xxx is a three-digit machine number. It can range from 001 to 999. yy is a two-digit path number. <identifier> is a name identifying the type of the point.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
81/98
Example) The point name with a machine number of 1, a path name of 1, and an identifier of "F_AL" (CNC alarm) is "FNC00101.F_AL".
Machine-unrelated point
The name of a machine-unrelated point consists of a first part, which is a fixed character string, and a second part identifying the point name, the parts being separated with a period ".". The point name format is as follows: FNCSYSP.<identifier> where FNCSYSP is a fixed character string. <identifier> is a name identifying the type of the point. By using Point Name Rule Setting, it is possible to change the Point Name Rules for common Point Group points of all machine-unrelated points. Machine-unrelated points include Result Points, End Points, and Point Setting Notification Points, which can be set in the [Script] dialog box in the [Project] menu.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
82/98
6.4.3
6.4.3.1
Placing a check in the "Point Name Rule Setting" checkbox in the [Project Property] menu must be performed after one of the steps given below. In other words, the function must be enabled after an order password is set and before communication is set up. Set an order password Set the number of machine Set machine information
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
83/98
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
84/98
Conditions under which this function can be enabled and disabled Performing [Communication setting] causes control points for use in CNC Communication Mode to be created, so that the enable/disable setting of this function cannot be changed. It should be noted that points are created when [Communication setting] is performed before data communication points and Point Group Control Points are created. Point creation with [Script] in the [Project] menu can be executed at any time, regardless of the enable/disable setting of [Point Name Rule Setting].
If, after points are created using the point name rules of CNC Communication Mode, the enable/disable setting of this function is to be changed, first delete all data communication points and Point Group Control Points, then delete all communication settings made with [Communication setting]. There is no need to delete the machine settings made with [Machine setting].
6.4.3.2
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
85/98
At this time, provided that a check is placed in the "Point Name Rule Setting" checkbox, clicking the <OK> button in the machine information window causes the Point Name Rule Setting dialog box to automatically appear.
6.4.3.3
<1> Rule for data communication point name <3> Control point name (2) Path point
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
86/98
Making entries in the Point Name Rule Setting dialog box Enter the setting for each item as described below: (1) To enter the setting for each of the items A, C, and D under [Rule for data communication point name], use the mouse or the tab key to select the desired gravity area and enter a character string. (2) In cells in table format, enter settings as described below: Select the desired cell, using the mouse or the cursor and tab keys as appropriate. After the cell is selected, pressing <ENTER> or <Space> bar allows an input operation to be started at the end of the existing character string. After the cell is selected, entering an alphanumeric character causes the existing character string to be deleted, allowing an input operation to be started with the first character entered. After the cell is selected, pressing the <BackSpace> key causes the existing character string to be deleted, allowing an input operation. Pressing the <Esc> key during an input operation causes the cell to return to the state before input. Upon completion of an input operation, perform one of the following: - Press <ENTER> - Move from the cell using the up or down cursor key - Click another location with the mouse (3) Click the <Save> button, and the point name rules will be saved. (4) Click the <Cancel> button to cancel the entries.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
87/98
Conditions under which point name rules can be set The conditions under which point name rules can be set are as given in the figure below. Those items whose settings cannot be changed are displayed gray. To change such items, the following procedure is necessary: Items A, C, and D under <1> [Rule for data communication point name] Delete the data communication points and Point Group Control Points for all machines. Item B under <1> Rule for data communication point name and control point name rules <2> to <4> Delete the communication settings for all machines.
Point creation with [Script] in the [Project] menu can be executed at any time, regardless of the enable/disable setting of [Point Name Rule Setting].
<2> Control point name rule (1) Machine point Cannot be changed if [Communication setting] is performed <1> Rule for data communication point name The settings for items A, C, and D cannot be changed if a data communication point is set on any of the paths of the machines for which communication settings have been made. The setting for item B cannot be changed if [Communication setting] is performed.
<3> Control point name rule (2) Path point Cannot be changed if [Communication setting] is performed.
<4> Control point name rule (3) Point-group point Cannot be changed if [Communication setting] is performed.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
88/98
<1>
Rule for data communication point name Under [Rule for data communication point name], set the point name rules for points for CNC data input/output. "FNCxxxyy.U_", displayed in the window, is the rule for data communication point names in CNC Communication Mode. Change this rule to that for the user.
Items A, C, and D can be changed even after [Communication setting] is performed, but once a data communication point is created, they cannot be changed for the path on which it is created. Item B cannot be changed if [Communication setting] is performed. Those items that cannot be changed are displayed gray. In the "Point Name Example" area, a point name example to be created with the rule specified with A, B, C, and D, set as in the figure above is displayed. "(PointName)" is replaced by a point name identifier, such as "D1000", entered in the point customization window. Whenever a cell in the "Setting" grid for B is selected, the display under "Point Name Example" is updated using the setting for the selected path. The number in parentheses () represents the character string length of the point. If the number of characters permitted for a point name is exceeded, the number is displayed red. If this occurs, an error message is displayed during storage.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
89/98
The items under [Rule for data communication point name] are as follows:
Rule for data communication point name No Item Description Specify the character string to be added at the beginning of all data communication point names. It is possible to select not to specify any character string. It is recommended to set a character string that makes it possible to distinguish the points for use in CNC Communication Mode from other device points such as PLC points. The character string must start with an alphabetic character or an underscore. Specify the character strings used to identify machine and their paths. A setting is required for each machine set in the machine information window. For a machine with multiple paths, a setting is required for each path. This item is required. Be sure to set character strings different from other settings. If a setting is deleted or if the same setting as another setting is set, an error message is displayed. When this window is displayed for the first time after machine names are set through Machine setting, the following character strings are automatically set: - For a path number of 1, the machine name is set. - For another path number, the machine name + "??" is set. Specify the character string to be placed between A+B above and D below. It is possible to select not to set it. It is recommended to set a "." so that points can be easily displayed in a tree on the CIMPLICITY workbench. Character string to be placed in the middle of a data communication point name. It is possible to select not to set it. Value in CNC Communication Mode "FNC"
1 A. FNC
2 B. xxxyy
3-digit machine number + 2-digit path number Example: A machine number of 5 and a path number of 8 result in "00508".
3 C. .
"."
4 D. U_
"U_"
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
90/98
<2>
Control point name (1) Machine point Under [Control point name (1) Machine point], set the point name rule for control points that use machine numbers of all control points other than data communication points. The settings cannot be changed if [Communication setting] is performed. Those items whose settings cannot be changed are displayed gray.
The left side of the grid shows the point names in CNC Communication Mode minus the character string "FNCxxxyy.U_" as determined with the point name rule, such as F_PWR. In the right side labeled "Setting", enter settings to change these point names. Each setting requires the character string $MCN$, which is converted into a machine number during point name setting. $MCN$ is replaced by the machine number of each machine with a path number of 1 of the values set for "xxxyy" (item B) under <1> Rule for data communication point name.
Example: If the following is set for "xxxyy" (item B) under <1> Rule for data communication point name
In the "Point Name Example" area, the point name resulting from combining the setting in a cell selected from the "Setting" area with the setting of a path selected from the "Setting" area for item B under [Rule for data communication point name] is displayed. Enclosed in parentheses () is the number of characters of the point name. If the number of characters permitted for a point name is exceeded, the number is displayed red. If the
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
91/98
<Save> button is clicked in this state, an error message appears, and storage is canceled; correct the point name rule. The settings are as follows:
Control point name (1) Machine point Description ($MCN$ is required.) Power status monitor point name rule setting Set the name rule for a point for representing the power ON/OFF status of each machine. Be sure to set this item. F_NCC_ERROR Error message storage point name rule setting Set the name rule for a point for indicating an error that has (FNC$MCN$.F_NCC_ERROR) occurred in CNC Communication Mode. Even if this function is not used, be sure to set this item. F_COM_ACTIVATE Communication enable instruction point name rule setting Set the name rule for a point for instructing whether to (FNC$MCN$.F_COM_ACTIVATE) perform communication with the CNC to which CNC Communication Mode is connected. Be sure to set this item. F_COM_STATUS Communication status monitor point name rule setting Set the name rule for a point for checking a response to a (FNC$MCN$.F_COM_ STATUS) communication enable instruction point. Be sure to set this item. F_COM_RETRY Communication reconnection instruction point name rule setting (FNC$MCN$.F_COM_ RETRY) Set the name rule for a point for using the communication reconnection function by specifying a point name in CNC Communication Mode. Even if this function is not used, be sure to set this item. F_COM_PSET_NOTIFY Communication start notification point name rule setting (FNC$MCN$.F_COM_PSET_NOTIFY) Set the name rule for a point for using the communication reconnection function by specifying a point name in CNC Communication Mode. Even if this function is not used, be sure to set this item.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
92/98
<3>
Control point name rule (2) Path point Under [Control point name rule (2) Path point], set the point name rule for control points that use path numbers of all control points other than data communication points. The settings cannot be changed if [Communication setting] is performed. Those items whose settings cannot be changed are displayed gray.
Each setting requires the character string $MCNPATH$, which is converted into a machine number and a path number during point name setting. $MCNPATH$ is replaced by "xxxyy" (item B) set under <1> Rule for data communication point name.
Example: If the following is set for "xxxyy" (item B) under <1> Rule for data communication point name
In the "Point Name Example" area, the point name resulting from combining the setting in a cell selected from the "Setting" area with the setting of a path selected from the "Setting" area for item B under [Rule for data communication point name] is displayed. Enclosed in parentheses () is the number of characters of the point name. If the number of characters permitted for a point name is exceeded, the number is displayed red. If the <Save> button is clicked in this state, an error message appears, and storage is canceled; correct the point name rule.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
93/98
No 1
Control point name rule (2) Path point Items (default) Description ($MCNPATH$ is required.) F_COM_ON Communication enable instruction point name rule setting (FNC$MCNPATH$. F_COM_ON) Set the name rule for a point for instructing whether to perform communication with the CNC to which CNC Communication Mode is connected. Be sure to set this item. F_COM_COND Communication status monitor point name rule setting (FNC$MCNPATH$.F_COM_COND) Set the name rule for a point for checking a response to a communication enable instruction point. Be sure to set this item. F_COM_PSET_NOTIFY Point Setting Notification name rule setting (FNC$MCNPATH$. Set the name rule for a point for the notification of a power F_COM_PSET_NOTIFY) ON/OFF check and a completion of data reading. Be sure to set this item.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
94/98
<4>
Control point name rule (3) Point-group point Under [Control point name rule (3) Point-group point], set the point name rule for Point Group Control Points. The settings cannot be changed if [Communication setting] is performed. Those items whose settings cannot be changed are displayed gray.
A point name example to be created with the settings is displayed In the "Point Name Example" area. In the "Point Name Example" area, the point name resulting from combining the setting in a cell selected from the "Setting" area with the setting of a path selected from the "Setting" area for item B under [Rule for data communication point name] is displayed. Enclosed in parentheses () is the number of characters of the point name. If the number of characters permitted for a point name is exceeded, the number is displayed red. If the <Save> button is clicked in this state, an error message appears, and storage is canceled; correct the point name rule.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
95/98
Control point name rule (3) Point-group point Description Machine-specific Point Group Control Point name rule setting If any Point Group Control Point name is to be created with Point Customization, the point name rule "FNCxxxyy.U_zzzz" is applied. As described earlier, xxxyy is a 3-digit machine number and a 2-digit path number, and a point name may be specified for the identifier zzzz. For the setting for "FNCxxxyy.U_", set the character string to replace "FNCxxxyy.U_" of the point name rule above. This setting requires the character string $MCN$, which is replaced by a machine number during point name setting. $MCN$ is replaced by the machine number of each machine with a path number of 1 of the values set for "xxxyy" (item B) under <1> Rule for data communication point name. 2 FNCSYSP.U_ Common Default Point Group Control Point name setting (FNCSYSP.U_) When a machine-independent, common Point Group Control Point name is created with Point Customization, "FNCSYSP.U_zzzzz" is created. A point name may be specified for zzzzz. For the setting of "FNCSYSP.U_", set the character string for use in place of FNCSYSP.U_. Note however that $MCN$, which is replaced by a machine name, and $MCNPATH$, which is replaced by a machine name + path name, cannot be used. 3 F_POINT_GROUP Machine-specific Default Point Group Control Point name setting (F_POINT_GROUP When a data communication point is created for a machine, the Default Point ) Group Control Point "FNCxxxyy.F_POINT_GROUP" is created. For the setting of "F_POINT_GROUP", set the character string for use in place of F_POINT_GROUP. Note however, that $MCN$, which is replaced by a machine name, and $MCNPATH$, which is replaced by a machine name + path name, cannot be used.
Example: If the following is set for "xxxyy" (item B) under <1> Rule for data communication point name
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
96/98
CAUTION It is not possible to set the same identifier for a data communication point name and a machine-specific point group point name. Example If the point name rules shown in the figure below are set, it is not possible to create both DATA.MCN01_P1.U_TEST_POINT and PG.MCN01_P1. U_TEST_POINT.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
97/98
6.4.4
6.4.4.1
Setting Examples
Using the point name rules of another project
It is possible to copy the point name rules of one project created in CNC Communication Mode to another project in CNC Communication Mode. (1) Create a new CNC Communication Mode project. When the following message appears, click <OK>, and wait for the Configuration dialog box to be activated.
(2) When the Configuration dialog box appears, copy the point name rule file created for another project in CNC Communication Mode to the new project before placing a check in the [Point Name Rule Setting] checkbox in [Property]. There is no need to exit from the Configuration dialog box. The point name rule file is located in the following folder: project-folderFanucDataPointNameRule.ini (3) After copying the point name rule file to the new project, place a check in the [Point Name Rule Setting] checkbox in [Property] in the Configuration dialog box. When the Point Name Rule Setting dialog box appears, the point name rule created for the project is displayed.
CAUTION Be sure to copy the point name rule file PointNameRule.ini before placing a check in [Point Name Rule Setting] with [Property] in the Configuration dialog box.
TITLE:
01
EDIT
05.05.19
DATE
Matsukura DESIGN
Newly registered
DRAW.NO.
DESCRIPTION
FANUC LTD.
98/98