You are on page 1of 181

GE Fanuc Automation

Computer Numerical Control Products

Open CNC Machining Status Monitor Package


Operator's Manual
B-63364EN/01 December 1998

Warnings and notices for this publication


Warning

GFLE-003

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.

Notice
This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information contained herein does not purport to cover all details or variations in hardware or software, nor to provide every contingency in connection with installation, operation, or maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made. GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes no responsibility for accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply. The following are Registered Trademarks of GE Fanuc Automation CIMPLICITY Genius

The following are Trademarks of GE Fanuc Automation Alarm Master CIMSTAR Field Control Genet Helpmate LogicMaster Modelmaster PowerMotion ProLoop PROMACRO Series Five Series 90 Series One Series Six Series Three VuMaster Workmaster

Copyright 1998 FANUC Ltd. Authorized Reproduction GE Fanuc Automation Europe S.A.
All Rights Reserved No part of this manual may be reproduced in any form. All specifications and designs are subject to change without notice.

SAFETY PRECAUTIONS

This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warnings and Cautions according to their bearing on safety. Also, supplementary information is described as Notes. Read the Warnings, Cautions, and Notes thoroughly before attempting to use the machine.

WARNING Applied when there is a danger of the user being injured or when there is a danger 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 Notes is used to indicate supplementary information other than Warnings and Cautions.

Read this manual carefully, and store it in a safe place.

SAFETY PRECAUTIONS

B-63364EN/01

General Warnings and Cautions


The following warnings and cautions describe the safety precautions related to the use of CNC units. It is essential that these precautions be observed by users to ensure the safe operation of machines equipped with a CNC unit.

WARNING 1. Before operating the machine, thoroughly check the entered data. Operating the machine with incorrectly specified data may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. 2. Never attempt to machine a workpiece without first checking the programmed value, compensation value, current position, and external signal settings. Also, never attempt to machine a workpiece without first checking the operation of the machine. Before starting a production run, ensure that the machine is operating correctly by performing a trial run using, for example, the single block, feedrate override, or machine lock function, or by operating the machine with neither a tool nor workpiece mounted. Failure to confirm the correct operation of the machine may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. 3. Ensure that the specified feedrate is appropriate for the intended operation. Generally, for each machine, there is a maximum The appropriate feedrate varies with the Refer to the manual provided with the If a allowable feedrate. intended operation.

machine to determine the maximum allowable feedrate.

machine is run at other than the correct speed, it may behave unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. 4. When using a tool compensation function, thoroughly check the direction and amount of compensation. Operating the machine with incorrectly specified data may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. 5. The parameters for the CNC and PMC are factory-set. Usually, there is no need to change them. When, however, there is no alternative other than to change a parameter, ensure that you fully Failure to set a parameter correctly may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user.

B-63364EN/01

SAFETY PRECAUTIONS

CAUTION The operator's manual on the Machining Status Monitor Package does not cover the functions and operation of CNCs. CNC. For details of the functions and operation of a CNC, refer to the operator's manual for the

NOTE l 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 because of recovery 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.

SAFETY PRECAUTIONS

B-63364EN/01

Warnings and Cautions Relating to the Machining Status Monitor Package


This manual explains the warnings and cautions related to the Machining Status Monitor Package. and Notes. The next page summarizes the points to be noted when using the Machining Status Monitor Package. Note that these points are not explained in the body of this manual. Therefore, read this part carefully before attempting to use the package. Before using the package, read this manual thoroughly to ensure that you are familiar with all the Warnings, Cautions,

B-63364EN/01

SAFETY PRECAUTIONS

Important Notice
The following summarizes the points to be noted when using the Machining Status Monitor Package. Before attempting to use the Machining Status Monitor Package, read the following carefully:

CAUTION lIf a worksheet containing a macro definition is copied, the Machining Status Monitor Package will not operate normally. If the Machining Status Monitor Package does not operate normally after a worksheet has been copied, terminate then restart the Machining Status Monitor Package. lIf a worksheet containing a macro definition is deleted, the Machining Status Monitor Package will not operate normally. If the Machining Status Monitor Package does not operate normally after a worksheet has been deleted, terminate then restart the Machining Status Monitor Package. lIf the name of a worksheet referenced by the Machining Status Monitor Package (a worksheet automatically created by the Machining Status Monitor Package) is changed, the Machining Status Monitor Package may fail to operate normally. If the Machining Status Monitor Package does not operate normally after a worksheet is renamed, restore the original worksheet name, terminate the Machining Status Monitor Package, then restart it. lWhenever MS Excel is placed in the input wait state during monitoring or log data output, all the monitoring and log data output operations are halted. During normal operation of the Machining Status Monitor Package, all monitoring and log data output operations are halted in the states listed below. Do not leave such a state as is for an extended period.

Cell input wait state When a screen for setting the cell display format, "Format Cells," is displayed.

SAFETY PRECAUTIONS
CAUTION (continued)

B-63364EN/01

When a screen for which the title is "Microsoft Excel" is displayed (for example, the screen displayed when a worksheet is deleted)

l This manual describes as many reasonable variations in usage as possible. It cannot, however, address every combination of features, options, and commands that should not be attempted. If a particular combination of operations is not described, therefore, it should not be attempted.

B-63364EN/01

PREFACE

PREFACE
Thank you for purchasing the Machining Status Monitor Package. The Machining Status Monitor Package is designed to monitor the program operation status of CNC machines, the number of processed parts and so forth, and output log data. The Machining Status Monitor Package is designed to run under Microsoft Windows. This manual does not explain the basic common operations of Windows. Users who are using Windows for the first time should first read the documentation provided with Windows to become familiar with the basic operation of Windows. Read this manual thoroughly to ensure the correct use of the Machining Status Monitor Package.

Microsoft, Windows, and Microsoft Excel are registered trademarks of Microsoft Corporation.

Machining Status Monitor Package Features and Restrictions


The Machining Status Monitor Package has the following features:

Features
lThe machining status monitor package outputs the logging data in the form of Microsoft Excel (hereafter, MS Excel). As a result, the list total function and the graphic display function etc. of MS Excel can be used. lThe running results of the program and the number of processed parts can be monitored and output as the logging data. lThe data acquired from the CNC machine and the logging data output can be customized. lCNC machines up to eight can be monitored at the same time. (In the personal computer connected with the High Speed Serial Bus)

PREFACE

B-63364EN/01

Notes l When the program which does not have O-number is run on the DNC operating mode, the program results and the number of processed parts cannot be correctly monitored. l When the relations between a main program and the number of processed parts are not registered in the machining status monitor package, the number of processed parts cannot be correctly monitored. l The maximum number of CNC machines which can be monitored at the same time might be limited by the performance of the personal computer.

The following restrictions are imposed on the Machining Status Monitor Package:

Limitations
l This software is the add-on software which runs with MS Excel97. MS Excel97 is required for the execution of this software. Please purchase MS Excel97 by the customer yourself, separately. l This software is available on a personal computer connected with the High Speed Serial Bus (HSSB) type 2, FS160i/180i/210i with PC function and the Intelligent Terminal type 2. This software cannot be used on the MMC-IV, a personal computer connected with the HSSB type 1 or the Intelligent Terminal type 1. l This software supports the following CNCs: FS160i-M/T, FS180i-M/T, FS210i-M/T FS16i-M/T, FS18i-M/T, and FS21i-M/T connected to a commercially available personal computer via the High Speed Serial Bus Type 2

Contents of the Product Package


This product package software consists of the following: lFloppy disks FANUC Open CNC Machining Status Monitor Package (A02B-0207K780)

B-63364EN/01

PREFACE
NOTE Read the Release Note (README.TXT), provided on the first floppy disk of the product package. It provides detailed information on this product package and information not described in the operator's manual.

Organization of This Manual


This manual is organized as follows: SAFETY PRECAUTIONS Explains the general precautions which must be observed to ensure safety when using the Machining Status Monitor Package. PREFACE Briefly explains the features of the Machining Status Monitor Package. Also explains how to use information on the usage of the Machining Status Monitor Package, including this manual. 1 SETUP Explains how to set up the environment for using the Machining Status Monitor Package and how to prepare the Machining Status Monitor Package for use. 2 BASIC KNOWLEDGE Provides basic information with which the user should be familiar before attempting to use the Machining Status Monitor Package. 3 REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES Explains how to register a CNC machine to be monitored and how to delete a registered CNC machine. 4 SETTING THE GENERAL PARAMETERS FOR MACHINING STATUS MONITOR PACKAGE
Explains how to set the general parameters for the Machining Status Monitor Package, and also explains the meanings of these parameters.

5 SETTING

AND

REGISTERING

DATA

FOR

EACH

CNC

MACHINE Explains how to set and register data for each CNC machine, and also explains the meanings of the data items. 6 MONITORING CNC MACHINES AND OUTPUTTING LOG DATA Explains how to start and terminate CNC machine monitoring and how to handle exceptions generated during log data output. APPENDIX Provides supplementary information to be read as required, such as examples of registering monitor items and log output items.

PREFACE

B-63364EN/01

Notation Conventions
The following explains the notation conventions used in this manual: lMenu, command, screen, and worksheet notations Example [File] menu [Setting...] [Log Output Item] Screen [Monitor Information] worksheet <OK> button []. Command names are enclosed in brackets []. Screen names (displayed on the title bars) are enclosed in brackets []. Worksheet names (displayed as sheet titles) are enclosed in brackets []. Command buttons on the screens and worksheets are enclosed in angle brackets <>. lKey notations and operation Example [Enter] key [Ctrl]+[Tab] keys Explanation Key names are enclosed in brackets []. When keys are to be pressed and held down sequentially, the keys are indicated by connecting them with +, as shown on the left. Direction keys lMouse operations Example Click Double-click Drag Explanation Pushing and releasing a mouse button immediately. Clicking a mouse button twice in quick succession. Moving the mouse while holding down a mouse button, then releasing the button at a desired location. lFolders This manual collectively refers to directories and folders as folders. The [], [], [], and [] keys are collectively called the direction keys. Explanation Menu names are enclosed in brackets

B-63364EN/01

PREFACE
lSample worksheets and screens The worksheets and screens shown in this manual are examples of the standard system supplied by FANUC. Note that the screen layouts and displayed file names may vary with the equipment being used and according to customization. lCNCs Unless otherwise specified, FS160/180/210 refers to the FS160i/180i//210iM/T and FS16i/18i//21i-M/T connected to a personal computer via the High Speed Serial Bus Type 2.

B-63364EN/01

CONTENTS

SAFTY PRECAUTIONS
General Warnings and Cautions Warnings and Cautions Relating to the Machining Status Monitor Package Important Notice

PREFACE
Machining Status Monitor Package Features and Restrictions Contents of the Product Package Organization of This Manual Notation Conventions

CONTENTS 1 SETUP..............................................................................................................
1.1 1.2 1.3 Environment............................................................................................................................................ Installing the Machining Status Monitor Package................................................................................... Uninstalling the Machining Status Monitor Package ..............................................................................

1
2 3 4

BASIC KNOWLEDGE ..................................................................................


2.1 Starting and Terminating the Machining Status Monitor Package .......................................................... 2.1.1 Starting the Machining Status Monitor Package.......................................................................... 2.1.2 Terminating the Machining Status Monitor Package ................................................................... 2.2 2.3 Screen Configuration and Names............................................................................................................ Basic Operation ...................................................................................................................................... 2.3.1 Selecting a worksheet .................................................................................................................. 2.3.2 Inputting data to a cell ................................................................................................................. 2.3.3 Scrolling a worksheet................................................................................................................... 2.4 Operation Flow and Worksheet Outline..................................................................................................

6
7 7 9 10 13 13 14 15 17

REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES ......................................... 20
3.1 3.2 3.3 3.4 Registering CNC Machines To Be Monitored and Deleting Registered CNC Machines........................ Registering CNC Machines To Be Monitored ........................................................................................ Deleting CNC Machines Not To Be Monitored...................................................................................... Reregistering Deleted CNC Machines .................................................................................................... 21 23 26 30

SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE.................................................................. 32
4.1 Setting the General Parameters for the Machining Status Monitor Package.......................................... 4.1.1 Setting data for log data output files ............................................................................................ 4.1.2 Setting monitor and log items to be referenced for CNC machine registration ........................... 33 35 41

SETTING AND REGISTERING DATA FOR EACH CNC MACHINE ....................................................................................................... 43


5.1 Setting Parameters for Each CNC Machine ............................................................................................ 5.1.1 Specifying whether to start a monitor automatically at startup .................................................... 5.1.2 Setting the monitor data sampling interval .................................................................................. 5.1.3 Setting log data output file data for each CNC machine.............................................................. 5.1.4 Setting the destination of error occurrence information............................................................... 5.2 Registering Target Items for Monitoring and Log Data Output .............................................................. 5.2.1 Monitor items and log output items ............................................................................................. 5.2.2 Example of registering and changing monitor items and log output items .................................. 5.2.3 Inserting rows into monitor items and log output items............................................................... 5.2.4 Facilitating registration and modification by displaying assistance lists (monitor items and log output items) ................................................................................................................................ 5.2.5 Facilitating registration and modification by displaying assistance lists (log output items) ........ 5.2.6 Deleting rows from monitor items and log output items.............................................................. 5.3 Registering Machining Program Information.......................................................................................... 5.3.1 Machining program information.................................................................................................. 5.3.2 Inserting rows into machining program information.................................................................... 5.3.3 Deleting rows from machining program information................................................................... 110 113 125 129 131 134 136 44 46 48 51 55 59 62 88 107

MONITORING CNC MACHINES AND OUTPUTTING LOG DATA ................................................................................................................ 138


6.1 6.2 6.3 Displaying the CNC Machine Monitor Status......................................................................................... Starting Monitoring CNC Machines ....................................................................................................... 6.2.1 Starting the monitoring CNC machines manually........................................................................ Stopping the Monitoring of CNC Machines ........................................................................................... 6.3.1 Stopping the monitoring of CNC machines from the Machining Status Monitor Package.......... 6.3.2 Stopping the monitoring of CNC machines from the log data output file.................................... 6.4 Outputting Log Data ............................................................................................................................... 6.4.1 Notes on outputting log data........................................................................................................ 6.4.2 Outputting error occurrence information ..................................................................................... 6.4.3 Handling exceptions that occur during log data output................................................................ 139 141 142 144 145 147 148 149 150 152

APPENDIX 1 SYSTEM DATA WORKSHEETS............................................. 153 APPENDIX 2 EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS .............................................................. 155 INDEX .................................................................................................................... 164

B-63364EN/01

1. SETUP

SETUP
This chapter explains how to set up the environment required to operate the Machining Status Monitor Package and how to prepare the Machining Status Monitor Package for use.

-1-

1. SETUP

B-63364EN/01

1.1

Environment
The execution environment of the machining status monitor package is shown below. Personal computer A personal computer connected with the High Speed Serial Bus (HSSB) type 2, FS160i/180i/210i with PC function and the Intelligent Terminal type 2. lThe necessary environment for execution is as follows: In case of Windows 95 75MHz Pentium or higher processer 16MB memory or more In case of Windows NT 4.0 120MHz Pentium or higher processer 32MB memory or more lThe commendable environment for execution is as follows: In case of Windows 95 120MHz Pentium or higher processer 32MB memory or more In case of Windows NT 4.0 150MHz Pentium or higher processer 64MB memory or more lThe necessary free space of hard disk is as follows: 20MB free space or more Required software MS Excel 97 MS Excel97 must be executed normally on the above-mentioned computer.

Notes Please purchase MS Excel97 besides the machining status monitor package.

-2-

B-63364EN/01

1. SETUP

1.2

Installing the Machining Status Monitor Package


This section explains how to install the Machining Status Monitor Package.

NOTE Before the Machining Status Monitor Package can be installed, the High Speed Serial Bus driver must be installed and set up according to the operating environment. For details, refer to the following: lPersonal computer connected to the High Speed Serial Bus Type 2, FS160i/180i/210i having personal computer functions, or Intelligent Terminal Type 2 Release Note (README.TXT) on the driver library floppy disk (A02B0207-K730#ZZ07-1)

Procedure 1. Insert the disk (A02B-0207-K780#EN07-1) into the floppy disk drive. 2. Click the Windows [Start] button. 3. Select [Run]. 4. Enter <drive-name>:SETUP, then click the <OK> button. name> is the name of the 3.5-inch floppy disk drive.) 5. Perform installation by following the prompts displayed on the screen. (<drive-

-3-

1. SETUP

B-63364EN/01

1.3

Uninstalling the Machining Status Monitor Package


This section describes how to uninstall the Machining Status Monitor Package. Procedure 1. Click the Windows [Start] button. 2. Click [Settings], then [Control Panel]. 3. Click [Add/Remove Programs]. The [Add/Remove Programs Properties] screen appears.

4. Select Machining Status Monitor Package. 5. Click the <Add/Remove> button. The uninstall function starts, asking you whether you really want to uninstall the Machining Status Monitor Package.

-4-

B-63364EN/01

1. SETUP
6. To uninstall the Machining Status Monitor Package, click the <Yes> button. Subsequently, the uninstall function will display several prompts, such as whether to delete the shared files. Perform uninstallation by clicking <Yes> or <No> as required. When the Machining Status Monitor Package has been uninstalled normally, it is deleted from the Windows program menu.

-5-

2. BASIC KNOWLEDGE

B-63364EN/01

BASIC KNOWLEDGE
This chapter provides basic information with which the user must be familiar before attempting to use the Machining Status Monitor Package.

-6-

B-63364EN/01

2. BASIC KNOWLEDGE

2.1

Starting and Terminating the Machining Status Monitor Package


This section describes how to start and terminate the Machining Status Monitor Package and provides notes on starting it.

2.1.1

Starting the Machining Status Monitor Package


This section describes how to start the Machining Status Monitor Package and provides notes on starting it.
Procedure

1. Click the Windows [Start] button. 2. Click [Program]. 3. Click Machining Status Monitor Package to start it. If the MS Excel macro virus protection option is not enabled, the Machining Status Monitor Package starts immediately. appears: If the MS Excel macro virus protection option is enabled, the following message

4. Click the <Enable Macros> button.


NOTE If you click the <Disable Macros> button or <Do Not Open> button, the Machining Status Monitor Package will not start correctly. Follow the procedure described in Section 2.1.2, "Terminating the Machining Status Monitor Package," then retry the start procedure.

The Machining Status Monitor Package screen shown below appears.

-7-

2. BASIC KNOWLEDGE

B-63364EN/01

Machining Status Monitor Package

-8-

B-63364EN/01

2. BASIC KNOWLEDGE

2.1.2

Terminating the Machining Status Monitor Package


The following describes how to terminate the Machining Status Monitor Package.

Procedure 1. Click [File], then [Exit]. Alternatively, click the upper right part of the screen. When no CNC machine is being monitored, the Machining Status Monitor Package screen is cleared from the screen, and the Machining Status Monitor Package terminates. When CNC machine monitoring is being performed, the following message appears: button in the

2. To terminate all the monitoring operations and terminate the Machining Status Monitor Package, click the <Yes> button. All log output files are saved, then the Machining Status Monitor Package terminates. To continue CNC machine monitoring, click the <No> button. In this case, the Machining Status Monitor Package does not terminate.

-9-

2. BASIC KNOWLEDGE

B-63364EN/01

2.2

Screen Configuration and Names

This section explains the screen configuration and the names of the items displayed by the Machining Status Monitor Package. The Machining Status Monitor Package runs under MS Excel, as shown below.

Explanation lMenu bar Used to initiate commands such as [File] and [Edit]. lWorksheet Worksheets are used for inputting and editing data with MS Excel. They are basically groups of cells configured in a row/column arrangement. For details of cells, see the description below. The operation of the Machining Status Monitor Package is based on worksheets. Worksheet name tabs Worksheet name tabs are displayed at the bottom of a worksheet. The name of the displayed worksheet is indicated. To select a worksheet to be manipulated, click the worksheet name tab. For an explanation of how to select a worksheet, see Section 2.3.1, "Selecting a worksheet."

- 10 -

B-63364EN/01

2. BASIC KNOWLEDGE
Cell That part of a worksheet where a column and row intersect is called a cell. Cells correspond to positions on a one-to-one basis. For example, the position where column A and row 4 intersect is referred to as cell A4. To specify this cell position with the Machining Status Monitor Package, specify A4. This cell position specification format is called the A1 format. A cell being used for the current operation, such as data input, is indicated by a bold frame. When working with the Machining Status Monitor Package, input data into the cells of each worksheet. For an explanation of how to input data into cells, see Section 2.3.2, "Inputting data to a cell."

NOTE The Machining Status Monitor Package can handle cell positions only in the A1 format mentioned above. The Machining Status Monitor If Package cannot handle cell positions specified in R1C1 format. referenced in R1C1 format.

column headers are numeric as shown below, however, cells are

If cell positions are indicated in R1C1 format, click [Tools], then [Options], and remove the check mark from the [R1C1 Reference style] check box in the [General] panel display format group box.

Scroll bar The scroll bar scrolls the cells of a worksheet. For an explanation of how to scroll a worksheet, see Section 2.3.3, "Scrolling a worksheet."

- 11 -

2. BASIC KNOWLEDGE

B-63364EN/01

NOTE Only the screen parts and their names that are required by the Machining Status Monitor Package are explained in this manual. For details of the MS Excel screen configuration, refer to the manuals provided with MS Excel, the online Help, and so forth. In the subsequent explanations of procedures in this manual, MS Excel operations other than the functions used by the Machining Status Monitor Package are not explained. For details of the operation of MS Excel, also refer to the manuals provided with MS Excel, the online Help, and so forth.

- 12 -

B-63364EN/01

2. BASIC KNOWLEDGE

2.3

Basic Operation
This section explains the basics of using the Machining Status Monitor Package. cells. With the Machining Status Monitor Package, processing is performed by repeatedly selecting a worksheet and inputting data into its

2.3.1

Selecting a worksheet
Select a worksheet to be used for operation. Procedure 1. Click the sheet name tab of the desired worksheet.

If the sheet name tab of a desired worksheet is not displayed on the screen, click the click it. button, located on the left side of the sheet name tabs, to display the sheet name tab of the target worksheet. Then,

- 13 -

2. BASIC KNOWLEDGE

B-63364EN/01

2.3.2

Inputting data to a cell


Input data to a cell. In the following example, data is input into "Reference CNC Number of Monitor & Log Item:" on the [Parameter(Common)] worksheet. selected. The example assumes that the worksheet has already been

Procedure 1. If a cell into which data is to be input has not already been selected (not indicated with a bold frame), click the cell. In this example, click cell B14. If the cell into which data is to be input is not actually on the screen, display the cell by applying the procedure explained in Section 2.3.3, "Scrolling a worksheet."

2. Enter data from the keyboard. In this example, we want to enter 2. Pressing the [Enter] key submits the input data.

- 14 -

B-63364EN/01

2. BASIC KNOWLEDGE
NOTE Until the [Enter] key is pressed in step 2, MS Excel awaits the input to the cell. If CNC machine monitoring and log data output are performed in parallel with cell input, all the CNC machine monitoring and log data output operations are halted while MS Excel is in this wait state. Therefore, do not leave MS Excel in the cell input wait state for an extended period.

2.3.3

Scrolling a worksheet
If a desired cell is not displayed, it can be displayed by scrolling the worksheet. In the following explanation, the worksheet is assumed to have been selected.

Procedure 1. Use the vertical scroll bar (located on the right side of the screen) or the horizontal scroll bar (in the lower right part of the screen) to display a desired cell.

- 15 -

2. BASIC KNOWLEDGE

B-63364EN/01

When using the virtual scroll bar, for example, perform the following: To scroll vertically by one line only, click or .

To scroll vertically by one page, click the scroll bar. To scroll to an arbitrary position, drag the scroll box.

- 16 -

B-63364EN/01

2. BASIC KNOWLEDGE

2.4

Operation Flow and Worksheet Outline


This section explains the operation flow from the customization of the Machining Status Monitor Package to the acquisition of specific monitor data to log data output. The section also outlines the worksheet used for each operation step. Before customizing the Machining Status Monitor Package, stop the monitoring operation. Flow of operation and worksheet to be handled <1>Registration and deletion of CNC machines to be monitored Register the CNC machines to be monitored to the machining status monitor package, or delete the CNC machine which has been registered. Worksheet name CNC machine registration <2>Setting concerning whole of machining status monitor package Set the parameters concerning whole of the machining status monitor package, such as output format of the logging data file. Worksheet name Parameter (Common) <3>Setting and registration of the data of each CNC machine. Set and register the parameters, monitoring items, output items as the logging data, to each CNC machine. <3>-1 Setting of parameters of each CNC machine Worksheet name Parameter(********) <3>-2 Registration of monitoring items and output items as the logging data. Worksheet name Monitor,Log(********) <3>-3 Registration of machining program information. Worksheet name Program(********)

Each worksheet exists for each CNC machine and each CNC machine name is set in "********" of the above-mentioned worksheet name. You can set and register the data for each CNC machine when that CNC machine is not monitored even if other CNC machines are monitored.

- 17 -

2. BASIC KNOWLEDGE

B-63364EN/01

<4>Execution of monitoring of CNC machine and output of log data Worksheet name Monitor information

The basic operation flow is shown above. This operation sequence, however, need not always be followed. Each operation in the above flow may be performed in any sequence at any time. On each worksheet, defaults are set. When no modification is made to the worksheets, CNC machine monitoring and log data output can be performed directly. Outline of each worksheet l[CNC Machine Registration] worksheet This worksheet is used to register and delete the CNC machines to be monitored. Since CNC machines are registered automatically when the Machining Status Monitor Package is started, the user normally does not have to work with this worksheet. For details of the [CNC Machine Registration] worksheet, see Chapter 3, "REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES." l[Parameter(Common)] worksheet This worksheet is used to set the general parameters related to the Machining Status Monitor Package. For details of the [Parameter(Common)] worksheet, see Chapter 4, "SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE." l[Parameter(*****)] worksheet (*****: CNC machine name) This worksheet is used to set the parameters for a CNC machine. For details of the [Parameter(*****)] worksheet, see Section 5.1, "Setting Parameters for Each CNC Machine." l[Monitor, Log(*****)] worksheet (*****: CNC machine name) This worksheet is used to register monitor items and log output items for a CNC machine. For details of the [Monitor, Log(*****)] worksheet, see Section 5.2, "Registering Target Items for Monitoring and Log Data Output." l[Program(*****)] worksheet (*****: CNC machine name) This worksheet is used to register machining program information for a CNC machine. For details of the [Program(*****)] worksheet, see Section 5.3, "Registering Machining Program Information." - 18 -

B-63364EN/01

2. BASIC KNOWLEDGE
l[Monitor Information] worksheet This worksheet is used to specify the start and end of monitoring for a CNC machine. For details of the [Monitor Information] worksheet, see Chapter 6, "MONITORING CNC MACHINES AND OUTPUTTING LOG DATA."
NOTE Do not change the name of a worksheet. If the worksheet name of a worksheet explained above or a log output destination worksheet is changed, the Machining Status Monitor Package may not operate correctly. If a worksheet name is changed by mistake, and the Machining Status Monitor Package cannot operate correctly, restore the original worksheet name, then terminate and restart the Machining Status Monitor Package.

- 19 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES


This chapter describes how to register CNC machines to be monitored and how to subsequently delete registered CNC machines.

- 20 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

3.1

Registering CNC Machines To Be Monitored and Deleting Registered CNC Machines


This section describes how to register CNC machines to be monitored in the Machining Status Monitor Package and how to subsequently delete registered CNC machines.
NOTE CNC machines can be registered, and registered CNC machines can be deleted, only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. worksheet. At this time, never modify the value selected in the monitor combo box, nor the cell values of the

Procedure 1. Select the [CNC Machine Registration] worksheet. The [CNC Machine Registration] worksheet appears.

2. Change the selection item in the monitor combo box of the CNC machine to be deleted or reregistered. The <Save> and <Cancel> buttons appear.

- 21 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

3. Click the <Save> button to execute the change. Click the <Cancel> button to cancel the change. If another worksheet is selected after the monitor combo box selection is changed, the message below appears.

Click the <Yes> button to execute the change. Click the <No> button to abandon the change. Click the <Cancel> button to return to the [CNC Machine Registration] worksheet. Explanation For details of CNC machine deletion and reregistration, see the subsequent sections.

- 22 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

3.2

Registering CNC Machines To Be Monitored


This section describes how the CNC machines to be monitored are registered in the Machining Status Monitor Package. CNC machines to be monitored are automatically registered according to the setting of the driver for the High Speed Serial Bus when the Machining Status Monitor Package is started. When registering an additional CNC machine to be monitored, terminate the Machining Status Monitor Package, then change the setting of the driver for the High Speed Serial Bus.
NOTE lThe [CNC Machine Registration] worksheet cannot be used to add, modify or delete those CNC machines that are managed by the driver of the High Speed Serial Bus. Set the driver of the High Speed Serial Bus to add, modify, or delete CNC machines. For an explanation of how to set the driver of the High Speed Serial Bus, refer to the release note (README.TXT) on the driver library floppy disk (A02B-0207-K730#ZZ07-1). lWhen setting the driver of the High Speed Serial Bus, use the following conventions to assign node names to CNC machines: A unique node name must be assigned to each CNC machine. The following characters cannot be used: /:\[]*?,;"<>| If a specified node name does not satisfy the above conventions, the CNC machine name in the Machining Status Monitor Package will be "NC-*" (*: Serial number).

When the Machining Status Monitor Package is started, the CNC machine registration status is as follows: l When the Machining Status Monitor Package is started for the first time after being installed The node names of those CNC machines that are managed by the driver of the High Speed Serial Bus are automatically recognized. The node names are used as the CNC machine names in the Machining Status Monitor Package. Those CNC machines are automatically registered as the CNC machines to be monitored. For each CNC machine, parameter settings, monitor items, log output items, and the machining program information registration worksheet are created automatically. If a node name includes a character that cannot be used with the Machining Status Monitor - 23 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

Package, the CNC machine name in the Machining Status Monitor Package is "NC-*" (*: Serial number). The restrictions imposed on node names are described in Notes, above. If two CNC machines are connected according to the setting of the driver of the High Speed Serial Bus, for example, the [CNC Machine Registration] worksheet is as follows:

In the above status, the default values are set on the setting and registration worksheet of each CNC, so that each CNC machine can be monitored. To monitor these two CNC machines, no operation is required on this worksheet. When a CNC machine is connected by setting the driver of the High Speed Serial Bus but is not to be monitored, delete the CNC machine. For details of CNC machine deletion, see Section 3.3, "Deleting CNC Machines Not To Be Monitored." To reregister a CNC machine once it has been deleted, perform CNC machine registration. For details of CNC machine reregistration, see Section 3.4, "Reregistering Deleted CNC Machines." l When the Machining Status Monitor Package is started after being terminated at least once. 1) When a node name connected by setting of the driver of the High Speed Serial Bus is modified The CNC machine name registered in the Machining Status Monitor Package is automatically updated to the modified node name. The parameter settings, monitor items, log output items, and machining program information registration worksheet name of the CNC machine are automatically updated according to the modified CNC machine name. If a node name includes an invalid character, a CNC machine name is automatically created in the same way as when the Machining Status Monitor Package is started for the first time.

- 24 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

2) When a CNC machine is additionally connected by changing the setting of the driver of the High Speed Serial Bus If a CNC machine is added, it is automatically registered at Machining Status Monitor Package registration as a CNC machine to be monitored. The parameter settings, monitor items, log output items, and the machining program information registration worksheet of the CNC machine are created automatically. If a node name includes an invalid character, a CNC machine name is automatically created in the same way as when the Machining Status Monitor Package is started for the first time. 3) When a CNC machine is deleted by changing the setting of the driver of the High Speed Serial Bus If a CNC machine is deleted, the monitor combo box displays "CNC Not Found" as shown below.

The settings and registration worksheet of the deleted CNC machine remain undeleted, but the CNC machine is no longer monitored. To monitor the deleted CNC machine, terminate the Machining Status Monitor Package. Next, change the setting of the driver of the High Speed Serial Bus, then reregister the CNC machine. To delete the CNC machine from the Machining Status Monitor Package, apply the procedure described in Section 3.3, "Deleting CNC Machines Not To Be Monitored."

- 25 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

3.3

Deleting CNC Machines Not To Be Monitored


This section describes how to delete, from the Machining Status Monitor Package, a CNC machine that is not to be monitored.

NOTE CNC machines can be deleted only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. At this time, never modify a value selected in the monitor combo box or a cell value on the worksheet.

NOTE If a CNC machine is deleted, the following message appears when the worksheet is deleted:

In response to this message and subsequent messages, click all <OK> button. If you inadvertently click the <Cancel> button, delete the worksheet by selecting [Edit] then the [Delete Sheet] command under MS Excel.

A CNC machine can be deleted in the following cases. lWhen a CNC machine is registered as a CNC machine to be monitored With the Machining Status Monitor Package, those CNC machines that are connected by the setting of the driver of the High Speed Serial Bus are automatically registered as CNC machines to be monitored. For a CNC machine to be monitored, parameter settings, monitor items, log output items, and machining program information registration worksheets are created, thus consuming memory space. When a CNC machine is not to be - 26 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

monitored, delete that CNC machine.

The settings and registration

worksheet for the CNC machine are deleted, thus saving memory space. A CNC machine is monitored if "Execute" appears in the monitor combo box as shown below.

A CNC machine that has been deleted in the above state can be reregistered by applying the reregistration procedure. Even if a CNC machine is reregistered, the data existing before the deletion, such as the parameter settings, monitor items, log output items, and machining program information registration worksheet, cannot be restored. For an explanation of CNC machine reregistration, see Section 3.4, "Reregistering Deleted CNC Machines." lWhen a CNC machine has been deleted by changing the setting of the driver of the High Speed Serial Bus If a CNC machine is thus deleted, the parameter settings, monitor items, log output items, and machining program information registration worksheet of the CNC machine are not deleted automatically. The parameter settings, monitor items, log output items, and machining program information registration worksheet can all be deleted manually, however, thus saving memory space. A CNC machine has been deleted from the management of the driver of the High Speed Serial Bus if "CNC Not Found" appears in the monitor combo box as shown below.

A CNC machine deleted in the above state cannot be reregistered with the Machining Status Monitor Package. To reregister such a CNC machine, terminate the Machining Status Monitor Package, then change the setting of the driver of the High Speed Serial Bus. For an explanation of CNC machine registration, see Section 3.2, "Registering CNC Machines To Be Monitored." - 27 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

Procedure lDeleting a CNC machine to be monitored 1. Select the [CNC Machine Registration] worksheet.

2. Change the setting of the monitor combo box for the CNC machine to be deleted from "Execute" to "Do Not Execute." The <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The confirmation message below appears.

4. Click the <Yes> button. Then, click the <OK> button for all the displayed messages. The <Save> and <Cancel> buttons disappear, indicating the completion of CNC machine deletion.

- 28 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

lDeleting a CNC machine for which "CNC Not Found" is indicated 1. Select the [CNC Machine Registration] worksheet.

2. Change the setting of the monitor combo box from "CNC Not Found" to "CNC Delete." The <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The confirmation message below appears.

4. Click the <Yes> button. Then, click the <OK> button for all the displayed messages. The node number, CNC machine name, and monitor combo box setting of the CNC machine are deleted from the [CNC Machine Registration] worksheet. The <Save> and <Cancel> buttons disappear, indicating the completion of CNC machine deletion.

- 29 -

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

B-63364EN/01

3.4

Reregistering Deleted CNC Machines


This section describes how to reregister a CNC machine that has been deleted from the Machining Status Monitor Package.

NOTE CNC machines can be reregistered only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. worksheet. At this time, never modify the value selected in the monitor combo box, nor the cell values of the

A CNC machine that has been deleted from the Machining Status Monitor Package and for which "Do Not Execute" is indicated in the monitor combo box can be reregistered by means of registration. By reregistering a CNC machine, the registration worksheet and settings are re-created for that CNC machine so that the CNC machine can be monitored. When the registration worksheet and settings are re-created, however, the Machining Status Monitor Package defaults are set; the settings and registration worksheet data existing before the deletion of the CNC machine are not restored. Procedure 1. Select the [CNC Machine Registration] worksheet.

2. Change the setting of the monitor combo box for the CNC machine to be reregistered from "Do Not Execute" to "Execute." The <Save> and <Cancel> buttons appear.

- 30 -

B-63364EN/01

3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES

3. Click the <Save> button. The confirmation message below appears.

4. Click the <Yes> button. Then, click the <OK> button for all the displayed messages. The <Save> and <Cancel> buttons disappear, indicating the completion of CNC machine reregistration.

- 31 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
This chapter describes how to set the general parameters for the Machining Status Monitor Package, as well as the meanings of those parameters.

- 32 -

B-63364EN/01

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

4.1

Setting the General Parameters for the Machining Status Monitor Package
This section describes how to set the general parameters for the Machining Status Monitor Package.

NOTE The general parameters for the Machining Status Monitor Package can be set only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. At this time, never modify the values selected in the check boxes nor the cell values on the worksheet.

Procedure 1. Select the [Parameter(Common)] worksheet. The [Parameter(Common)] worksheet is displayed.

2. Change the desired parameter check boxes and cell values. The <Save> and <Cancel> buttons appear.

3. Click the <Save> button to execute the change. Click the <Cancel> button to cancel the change.

- 33 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

If another worksheet is selected after the parameters have been changed, the following message appears.

Click the <Yes> button to execute the change. Click the <No> button to abandon the change. Click the <Cancel> button to return to the [Parameter(Common)] worksheet. Explanation For the meanings of the parameters, see the descriptions on the following pages.

- 34 -

B-63364EN/01

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

4.1.1

Setting data for log data output files


This section describes how to set an output style, file name, output folder name and so forth for log data output to a file.
NOTE The general parameters for the Machining Status Monitor Package can be set only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. At this time, never modify the values selected in the check boxes nor the cell values on the worksheet.

For the simultaneous monitoring of multiple CNC machines and log data output, one of the following log data output methods can be used: 1) The log data for all CNC machines is output to a single log data output file. 2) The log data for each CNC machine is output to a log data output file assigned to that CNC machine. The following data is set for parameter setting: Selection from the two log data output methods described above Automatic save interval, output style for transition from one month to the next, output file name, output folder name, and so forth when the log data for all CNC machines is output to a single file Whether to prohibit overwriting when a new log data output file is created If the user selects output of the log data for each CNC machine to a log data output file for each CNC machine, a log data output file name, output folder name, and so forth are set for each CNC machine in the log data output file setting. For an explanation of log data output file setting for each CNC machine, see Section 5.1.3, "Setting log data output file data for each CNC machine."

- 35 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

Procedure 1. Select the [Parameter(Common)] worksheet.

2. Set the parameters, "Log Data File Output Format" and "Create New Log File." For details of the setting method, see Explanation, below. When a parameter is changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The change is executed, after which the <Save> and <Cancel> buttons disappear. Explanation lSpecification of a log data output destination for each CNC machine When multiple CNC machines are monitored simultaneously, and log data is output, whether to output the log data of each CNC machine to a separate file can be specified. It is recommended that the log data for a given CNC machine be output to a file assigned to that machine. Doing so allows log data output files to be managed for each CNC machine, and prevents a log data output file from becoming too large to handle. The default method outputs log data to a file assigned to each CNC machine. When log data is to be output to a file assigned to each CNC machine, ensure that a check mark is placed in the check box as shown below.

- 36 -

B-63364EN/01

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

The following queries, related to parameter setting, become invalid and disappear:
Log data file output style used when a transition is made from one

month to the next


Automatic save interval for a log data output file Log data output file name Log data output folder name

In this case, set the above parameters in log data output file setting for each CNC machine. For log data output file setting for each CNC machine, see Section 5.1.3, "Setting log data output file data for each CNC machine." When outputting the log data for all CNC machines to a single file, clear the check mark from the check box, as shown below.

The parameters below become valid and appear:


Log data file output style used when a transition is made from one

month to the next


Automatic save interval for a log data output file Log data output file name Log data output folder name

lSpecification of a log data output file used when a transition is made from one month to the next This parameter is valid only when the log data for all the CNC machines is output to a single file. When a transition is made from one month to the next month, specifying this parameter allows a separate log data output file to be prepared. This means that log data can be output to a separate log data output file for each month. It is recommended that log data be output to a separate log data output file for each month. Doing so allows log data output files to be managed for each month, and prevents a log data output file from becoming too large to handle. The default method outputs log data to a separate file assigned to each month. When outputting log data to a separate file assigned to each month, place a check mark in the check box as shown below. - 37 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

If a transition has been made from one month to the next when log output items registered as monitor items and log items are output, the current log data output file is closed after being saved to an external storage device. Then, log data is output to a new log data output file. A character string representing year/month information is added to each log data file name. For details of the log data output file names, see "Specification of log data output file names," below. When outputting log data on other than a month-by-month basis, clear the check mark from the check box, as shown below.

Even when a transition is made from one month to the next, the same log data output file continues to be used. file names. A character string representing year/month information is not added to the log data output For details of the log data output file names, see "Specification of log data output file name," below. l Specification of an automatic save interval for a log data output file This parameter is valid only when the log data for all CNC machines is output to a single file. This parameter specifies the automatic save interval for a log data output file. The units are minutes, and a value from 0 to 44640 can be set. The contents of a log data output file are saved to an external storage device at intervals of the specified value. If 0 is specified, automatic saving is not performed during monitoring. The default is 60 minutes. l Specification of log data output file name This parameter is valid only when the log data for all CNC machines is output to a single file. This parameter specifies a log data output file name. The standard Windows restrictions are imposed on the naming of files. The default file name is "LOGFILE."

- 38 -

B-63364EN/01

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

The actually created log data output file names are as follows:
When log data is output to a separate file for each month

A character string representing year/month information is added to a file name set with this parameter. When the specified file name is "LOGFILE," for example, the following log data output file names are created: LOGFILE(1998-4).xls: Log file for April, 1998 LOGFILE(1998-5).xls: Log file for May, 1998
When log data is output on other than a month-by-month basis

A file name set with this parameter is used as a log data output file name. When a specified file name is "LOGFILE," for example, the following log data output file name is used: LOGFILE.xls If an attempt is made to create a new log data output file, but a file having the same name already exists and the setting of "Create New Log File" is such that overwriting is prohibited, a log data output file name with a serial number suffixed is created as indicated below. LOGFILE(1998-5).xls : Existing log data output file having the same name LOGFILE(1998-5)-1.xls : New log data output file for May, 1998 lSpecification of log data output folder names This parameter is valid only when the log data for all CNC machines is output to a single file. This parameter specifies a log data output folder name. The standard Windows restrictions are imposed on the naming of folders. The default file name is as follows: Folder where the Machining Status Monitor Package is placed + "\Logdata" lSpecification of whether to prohibit the overwriting of an existing file If an attempt is made to create a new log data file, but a file having the same name already exists, this parameter specifies whether to prohibit overwriting of the existing file. When this parameter is specified to prohibit overwriting, a log data output file is created with its file name suffixed with a serial number. When the specification of this parameter is such that overwriting is allowed, the contents of the existing file are - 39 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

deleted automatically. It is recommended that overwriting be prohibited to protect the existing files. The default is such that overwriting is prohibited. When prohibiting the overwriting of a file having the same name, place a check mark in the check box as shown below.

When enabling the overwriting of a file having the same name, clear the check mark from the check box as shown below.

NOTE When the overwriting of a file having the same name is not prohibited, the contents of the file are lost.

- 40 -

B-63364EN/01

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

4.1.2

Setting monitor and log items to be referenced for CNC machine registration
This section describes how to set a source CNC machine number used to reference the monitor items and log items to be set on the monitor and log registration sheet of a CNC machine that has been deleted but which is to be reregistered.
NOTE The general parameters for the Machining Status Monitor Package can be set only when the monitoring of all CNC machines is stopped. During the monitoring of a CNC machine, the message shown below appears on the worksheet. In this case, never modify the values selected with the check boxes, nor the cell values on the worksheet.

When a CNC machine that has been deleted is reregistered, a monitor and log registration sheet is created for the reregistered CNC machine. To this sheet, the data on an existing sheet is copied as the default data. The user can set a CNC machine number as the reference source of the default data. Procedure 1. Select the [Parameter(Common)] worksheet.

2. In the cell on the "Reference CNC Number of Monitor & Log Item:" line, set the CNC machine number to be referenced.

For details of the CNC machine numbers, see the Explanation below. - 41 -

4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE

B-63364EN/01

When the number is changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The change is executed, then the <Save> and <Cancel> buttons disappear. Explanation lReference CNC Number of Monitor & Log Item Set the number of the CNC machine whose data is to be referenced as the default data to be registered on the monitor and log registration sheet that is created when a CNC machine is reregistered. Specify a CNC machine number registered in the Machining Status Monitor Package. If a CNC machine having the specified number does not exist, the default data for the Machining Status Monitor Package is referenced. By default, the monitor and log registration sheet data for the first CNC machine is referenced.

- 42 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


This chapter explains how to set and register data for each CNC machine and describes the meaning of that data.

- 43 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.1

Setting Parameters for Each CNC Machine


This section explains how to set the parameters for each CNC machine.
NOTE Parameters can be set for each CNC machine only while the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet or the selection made in any checkbox.

For each CNC machine, a worksheet for setting parameters for that CNC machine is provided. The worksheet name is as follows: Worksheet name: "Parameter(" + CNC Machine Name + ")" For example, for a CNC machine having the name "NC Machine 1," the worksheet name is: Worksheet name: "Parameter(NC Machine 1)" The following explanation assumes the CNC machine name to be "NC Machine 1." Procedure 1. Select the [Parameter(NC Machine 1)] worksheet. The [Parameter(NC machine 1)] worksheet appears.

- 44 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


2. Change the values in the checkbox and cells for the parameters to be changed. The <Save> and <Cancel> buttons appear.

3. To apply the changes, click the <Save> button. Otherwise, click the <Cancel> button. If the setting of "Output Worksheet Name:" under "Error Information Output" is changed, worksheets may be added and deleted when another worksheet is selected. For details of setting the parameters under "Error Information Output," see Section 5.1.4, "Setting the destination of error occurrence information." If another worksheet is selected after parameters have been changed, the following message appears:

To apply the changes, click the <Yes> button. Otherwise, click the <No> button. To return to the [Parameter(NC Machine 1)] worksheet, click the <Cancel> button. Explanation For details of the parameters, see the description below.

- 45 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.1.1

Specifying whether to start a monitor automatically at startup


This section explains how to start the monitor for each CNC machine automatically when the Machining Status Monitor Package is started.

NOTE Parameters can be set for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet or the selection made in any checkbox.

The monitor for each CNC machine can be started automatically when the Machining Status Monitor Package is started. When the parameter described in this section is set so that the monitor is started automatically at startup, simply starting the Machining Status Monitor Package starts the monitor, such that log data is output, provided that the monitor items and log output items are fixed.
NOTE When the monitor for a CNC machine is set up such that it starts automatically at startup, the monitor will not be started if the monitor and log output items for that CNC machine contain errors.

Procedure 1. Select the [Parameter(NC Machine 1)] worksheet. (This worksheet is for setting the parameters for a CNC machine named "NC Machine 1.")

- 46 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

2. Click the "Automatic Monitor Start" checkbox under "Start Up Option" to specify whether to start the monitor automatically at startup. For details of the data to be specified, see the description below. When the setting of the checkbox is changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The change is applied and the <Save> and <Cancel> buttons disappear. Explanation l Specification of whether to start the monitor automatically at startup To start the monitor automatically at startup, place a check mark in the checkbox, as shown below:

The next time the Machining Status Monitor Package is started, the monitor for that CNC machine will be started automatically. If the monitor is not to be started automatically at startup, remove the check mark from the checkbox, as shown below:

By default, the monitor is not started automatically. - 47 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.1.2

Setting the monitor data sampling interval


This section explains how to set the interval at which data for a CNC machine is to be sampled.
NOTE Parameters can be set for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet or the selection in any checkbox.

The Machining Status Monitor Package obtains, from a CNC machine, the data for the monitor items registered on the monitor and the log item registration sheet to output log data. It is possible to set the time interval at which the data to be monitored from the CNC machine. The same time interval is applied to all monitor data received from the CNC machine.

- 48 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

Notes l If the sampling interval of the monitoring data is set short, more accurate data can be acquired from correspondence CNC machine. However, if so, more CPU time is consumed and other applications do not work properly. l It is not guaranteed the sampling of the monitoring data is executed every sampling interval which is specified. The sampling interval might be longer than the specified value when some processes which require the heavy CPU power is executed on the machining status monitor package

or other applications.
l In case of monitoring the standing up and down of the machine signals, it is not possible to acquire the correct monitoring data if the time between the standing up and down of the signal is shorten than the sampling interval of the monitoring data.

Sampling interval When the monitoring is done like as above, standing up and down of the signal cannot be detected. Set the appropriate interval according to the operating environment and use.

Procedure 1. Select the [Parameter(NC Machine 1)] worksheet. (This worksheet is for setting the parameters for a CNC machine having the name "NC Machine 1.")

- 49 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

2. Set the desired value in the cell in the "Sampling Interval:" row.

For details of the data to be specified, see the description below. When the value is changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The change is applied and the <Save> and <Cancel> buttons disappear. Explanation l Monitor data sampling interval Set the time interval at which monitor data is to be obtained from the CNC machine. A value between 0.1 and 60.0 seconds can be set. The default is 1.0 second.

- 50 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.1.3

Setting log data output file data for each CNC machine
This section explains how to set the output style, file name, and output folder name used to output log data for each CNC machine to a file.
NOTE Parameters can be set for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet or the selection in any checkbox.

If multiple CNC machines are monitored simultaneously to output log data, the following log data output methods can be specified: 1) Output log data for all the CNC machines to a single log data output file 2) Output log data for each CNC machine to a separate log data output file for that CNC machine For the parameters described in this section, the following data is set: Output style, automatic save interval, output file name, and output folder name of the log output file for each CNC machine that are to be assumed when a new month begins, if log data for that CNC machine is to be output to a separate file
NOTE These parameters are effective only when the general parameters for the Machining Status Monitor Package are set so that log data for each CNC machine is output to a separate file. When the parameters are set so that log data for all CNC machines is output to a single file, these parameters are not displayed. For an explanation of setting the parameters so that log data for all CNC machines is output to a single file, see Section 4.1.1, "Setting data for log data output files."

- 51 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Procedure
1. Select the [Parameter(NC Machine 1)] worksheet.

B-63364EN/01

(This worksheet is for setting parameters for a CNC machine with the name "NC Machine 1.")

2. Set the following parameters: "Log Data File Output Format," "Log Data Output File Name:," and "Log Data Output Folder:." For details of the data to be specified, see the description below. When parameters are changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The changes are applied and the <Save> and <Cancel> buttons disappear. Explanation lSpecification of the log data file output style to be assumed when a new month begins This parameter is effective only when log data for each CNC machine is output to a separate file. It is possible to use a new log data output file when a new month begins, so that log data is output to a separate log data output file for each month. It is recommended that log data be output to a separate file for each month because the log data output files for the individual months can be managed separately. In addition, this prevents a log data output file from becoming excessively large and hence hard to handle. By default, log data is output to a separate file for each month. - 52 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


To output log data to a separate file for each month, place a check mark in the checkbox, as shown below:

If a new month begins while the log output items registered through monitor item and log item registration are being output, the current log output file is saved to external storage and closed, then log data is output to a new log data output file. A character string indicating the year/month is added to a log data file name. For details of the log data file names, see the explanation of log data output file names, below. If log data is not to be output to a separate file for each month, remove the check mark from the checkbox, as shown below:

The log data output file does not change when a new month begins. A character string indicating the year/month is not added to the log data file name. For details of the log data file names, see the explanation of log data output file names, below. l Specification of the interval for automatic saving of the log data output file This parameter is effective only when log data for each CNC machine is output to a separate file. Set the interval for automatic saving of the log data output file. A value between 0 and 44640 minutes can be set. The log data output file is saved to external storage at the specified intervals. If 0 is set for the automatic save interval, automatic saving is not performed during monitoring. The default is 60 minutes. l Specification of the log data output file name This parameter is effective only when log data for each CNC machine is output to a separate file. Set the log data output file name. The restrictions imposed on the file name are the same as those imposed by Windows. The default file name is "LOGFILE." - 53 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

The file names of the actually created log output files are as follows: When log data is output to a separate file for each month A character string indicating the CNC machine name and the year/month is added to the file name set for this parameter. For example, if the CNC machine name is "NC Machine 1" and the specified file name is "LOGFILE," the following log data output file names are used: LOGFILE(NC Machine 1)(1998-4).xls: Log file for NC machine 1 for April 1998 LOGFILE(NC Machine 1)(1998-5).xls: Log file for NC machine 1 for May 1998 When log data is not output to a separate file for each month A character string indicating the CNC machine name is added to the file name set for this parameter. For example, if the CNC machine name is "NC Machine 1" and the specified file name is "LOGFILE," the following log data output file name is used: LOGFILE(NC Machine 1).xls When a new log data file is created, if a file with the same file name exists and the setting of "Create New Log File" is overwrite prohibited, a character string indicating an additional number is added to the end of the log data file name. LOGFILE(NC Machine 1)(1998-5).xls: Existing file having the same name LOGFILE(NC Machine 1)(1998-5)-1.xls: Newly created log file for May 1998 l Specification of the log data output folder name This parameter is effective only when the log data for each CNC machine is output to a separate file. Set the name of the output folder for log data files. The restrictions on the folder name are the same as those imposed by Windows. The default folder name is as follows: Folder where the Machine Status Monitor Package is placed + "\Logdata"

- 54 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.1.4

Setting the destination of error occurrence information


This section explains how to set the destination for error occurrence information. Error occurrence information is generated if an error occurs while a CNC machine is being monitored, such as failing to obtain monitor data from the CNC machine.
NOTE Parameters can be set for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet or the selection in any checkbox.

If an error occurs while a CNC machine is being monitored, such as a failure to obtain monitor data from the CNC machine, error occurrence information is output to a worksheet. It is possible to set the name of the worksheet to which error occurrence information is to be output, as well as the output position on the worksheet. Procedure 1. Select the [Parameter(NC Machine 1)] worksheet. (This worksheet is for setting parameters for a CNC machine having the name "NC Machine 1.")

2. Set the desired data in the cells in the "Output Worksheet Name:" and "Output Top Cell:" rows under "Error Information Output." For details of the data to be specified, see the description below. - 55 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

When data is changed, the <Save> and <Cancel> buttons appear.

3. Click the <Save> button. The changes are applied and the <Save> and <Cancel> buttons disappear. If the setting of "Output Worksheet Name:" is changed, the following message may appear when another worksheet is selected:

When the <OK> button is clicked, worksheets are added to and deleted from the Machining Status Monitor Package according to the change in "Output Worksheet Name:." Subsequently, click the <OK> button for every worksheet deletion confirmation message.
NOTE Before a worksheet is deleted, the following message appears:

Each time this message appears, click the <OK> button. When the <Cancel> button is clicked, choose [Edit] from MS Excel, then the [Delete Sheet] command to delete the worksheet. When this message appears, monitoring and log data output are interrupted for all CNC machines. Do not leave this message displayed for an extended period.

- 56 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Explanation lSpecification of the error information output worksheet name Specify the name of the worksheet to which the error occurrence information generated while the CNC machine is being monitored is to be output. If an error occurs, error occurrence information is output to the worksheet in the log data output file that has the worksheet name specified here.
NOTE If error occurrence information cannot be output to the error information output worksheet, it is output to the error information output worksheet of the Machining Status Monitor Package. For an explanation of the output of error occurrence information, see Section 6.4.2, "Outputting error occurrence information."

The worksheet name can consist of up to 31 characters. The following characters cannot be used. / : \ [ ] * The default worksheet name is "Error Information." If a new error information output worksheet name is specified, the following error information output worksheet is created automatically. On the automatically created error information output worksheet, item headers are set one row above that specified in "Output Top Cell:" of error information output, described later.

An error information output worksheet that is no longer referenced by any CNC machine as a result of changing the error information output worksheet name is automatically deleted from the Machine Status Monitor Package.
lSpecification of the top cell of the error information output

Specify the position of the top cell on the error information output sheet to which the first error information is to be output. For example, if the first error information is to be output to column 1 on row 4 of the worksheet, as shown below, specify "A4." The subsequent error occurrence information is added to the rows of the error information output sheet.

- 57 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

The default output position is "A4."

- 58 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.2

Registering Target Items for Monitoring and Log Data Output


This section explains how to register monitor items and log output items.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

For each CNC machine, a worksheet for registering monitor items and log output items is provided. The worksheet name is as follows: Worksheet name: "Monitor, Log(" + CNC Machine Name + ")" For example, for the CNC machine name "NC Machine 1," the worksheet name is: Worksheet name: "Monitor, Log(NC Machine 1)" The following explanation assumes the CNC machine name to be "NC Machine 1." Procedure 1. Select the [Monitor, Log(NC Machine 1)] worksheet. The [Monitor, Log(NC Machine 1)] worksheet appears.

- 59 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

2. Change the values in the cells for the monitor and log data to be changed. The <Save> and <Cancel> buttons appear.

3. To apply the changes, click the <Save> button. Otherwise, click the <Cancel> button. If the name of the worksheet to which log data is to be output is changed, the following message may appear, asking whether to add and delete worksheets when another worksheet is selected.

When the <OK> button is clicked, worksheets are added and deleted according to the change. Subsequently, click the <OK> button for every worksheet deletion confirmation message.

NOTE Before a worksheet is deleted, the following message appears:

Each time this message appears, click the <OK> button. When the <Cancel> button is clicked, choose [Edit] from MS Excel, then the [Delete Sheet] command to delete the worksheet. When this message appears, monitoring and log data output are interrupted for all CNC machines. Do not leave this message displayed for an extended period.

- 60 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


If another worksheet is selected after registered data has been changed, the following message appears:

To apply the changes, click the <Yes> button. Otherwise, click the <No> button. To return to the [Monitor, Log(NC Machine 1)] worksheet, click the <Cancel> button. Explanation For an explanation of the monitor items and log output items, and how to register them, see the description below.

- 61 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.2.1

Monitor items and log output items


1. Overview In the Machining Status Monitor Package, you can customize the monitoring data of the CNC machine and the data for logging output. The data group which specifies the data acquired to monitor the CNC machine is called "Monitoring item." And, the data group which specifies the data which is output as the logging is called "Logging output item." The output of the logging data is specified by the following steps. <1> Register the data acquired from the CNC machine or the personal computer as the monitoring items. <2> Register the name of the worksheet where the data specified at above <1>is acquired and output as the logging data, and the cell position, etc. as the logging output items. Register one monitoring item or one logging output item to the one line of the worksheet, respectively. The monitoring item or the logging output item consists of the multiple elements, which are called "Member." The members which are used for the monitoring items and the logging output items are as follows.
Member name Item type Description Shows the kind of the monitoring item and the logging output item. You can use only the item type which have been prepared in the Machining Status Monitor Package. The item types are divided into 2 groups, one for the monitoring item and one for the logging output item. As for the monitoring item, different item types are prepared for the different monitoring data. Refer to "2. Item type" in this paragraph for the item type included in the Machining Status Monitor Package. Item name In case of the monitoring item, Shows the name representing that monitoring item. In case of the logging output item, Shows the worksheet name where the logging data is output. Condition In case of the monitoring item, Shows the condition for acquiring the monitoring data. In case of the logging output item, Shows the output condition of logging data.

- 62 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Member name I/O type Description In case of the monitoring item, Shows the type of acquiring monitoring data(acquire the current or acquire the differential value). In case of the logging output item, Shows the type of outputting the logging data(overwrite output or additional output). Real value In case of the monitoring item, Shows the area where the raw data from the CNC machine or the personal computer is stored. In case of the logging output item, This member does not exist. Output value In case of the monitoring item, Shows the conversion formula which converts the data stored at "Real value" to the output value. In case of the logging output item, Shows the calculation formula which specifies the position of the monitoring item where the logging data is acquired. Address In case of the monitoring item, Item type: Machine Signal Shows the address of the acquired machine signal. Item type: Machining Results Shows the area where the processed part name acquired from the machining results is stored. In case of the logging output item, Shows the destination cell for the logging data. Data type In case of the monitoring item, Item type: Machine Signal Shows the data type of the acquired machine signal (long type, word type, byte type, and bit type). Item type: Machining Results Shows the area where the machining process name acquired from the machining results is stored. In case of the logging output item, This member does not exist.

Refer to "3. Item type and member's content" in this paragraph for each member's detail.

- 63 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


2. Item type

B-63364EN/01

Item types prepared in the Machining Status Monitor Package and its function of the each item type are as follows.
Item type Machine Signal Function The value of an arbitrary machine signal of the CNC machine (long type, word type, byte type, and bit type) is acquired. Log Output Output worksheet of logging data, output cell position etc. are specified. Date Week Current date is acquired from the personal computer. Current day of the week is acquired from the personal computer. Time Calculate Machining Result Current time is acquired from the personal computer.

The calculated value is acquired.


The machining results (processed part name, machining process name, and number of processed parts) are acquired from the data registered in the machining program information about the program running in the CNC machine.

O Number(Current)

O number of the program which is on execution or executed last is acquired from the CNC machine.

O Number(Main)

O number of the main program which is on execution or executed last is acquired from the CNC machine.

Sequence Number

Sequence number in the program which is on execution or executed last is acquired from the CNC machine.

Parts Total

The total number of processed parts is acquired from the CNC machine.

Parts Required

The required number of parts to be processed is acquired from the CNC machine.

Parts Count

The number of processed parts is acquired from the CNC machine.

Power On
Operating Time

The power on time is acquired from the CNC machine.

The operating time is acquired from the CNC machine. The cutting time is acquired from the CNC machine.
The free purpose time is acquired from the CNC machine.

Cutting Time

Free Purpose

Cycle Time

The cycle time is acquired from the CNC machine.

- 64 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


The item types are divided into the following groups. lMonitoring item All item types except "Log Output" lLogging output item "Log output"

Notes

l When in the DNC operation mode, the correct main program number
cannot be acquired at item type "O Number(Main)".

l In case of the following item types, the Machining Status Monitor


Package cannot acquired the correct monitoring data unless the CNC machine has the proper options and ladder program. Item type Parts Total, Parts Required, Parts Count, Power On, Operating Time, Cutting Time, Free Purpose, Cycle Time Necessary options and ladder program Options Machining Time, Parts Count Ladder program Ladder program to count the total number of the processed parts and the number of the processed parts.

- 65 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


The effective member for each item type is as follows.
Member Item type Machine Signal Log Output Date Week Time Calculate Machining Result O Number (Current) O Number (Main) Sequence Number Parts Total Parts Required Parts Count Power On Operating Time Item Name O O O O O O O O O O O O O O O O O O Condition O O O O O O O O O O O O O O O O O I/O Type O O O O O O O O O O O O O O O Real Value

B-63364EN/01

Output AddValue O O O O O O O O O O O O O O O O O O ress O O

Data Type O

Cutting Time
Free Purpose Cycle Time

O : Effective (it is necessary to set the data) : Effective (it is not necessary to set the data) : Not used At the registration of the monitoring item and the logging output item, you specify the key word for the item type and set the value to the cell of the required members(marked with "O" at the above table). Refer to "3. Each item type and member's content" in this paragraph for the content of the member of each item type. 3. Each item type and member's content The content of the member of the item type and its setting example are as follows. (1) Machine Signal The value of an arbitrary machine signal of the CNC machine (long type, word type, byte type, and bit type) is acquired. lItem name
Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item.

- 66 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


lCondition Set the condition formula to acquire the monitoring data of this monitoring item from the CNC machine. When the condition is set, the data acquisition is executed if the condition formula is satisfied (=TRUE). When the condition is not set, the data acquisition is executed at every sampling interval of that CNC machine. The format of the condition formula follows to the grammar of MS Excel. For instance, when the monitor data is acquired only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0 Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel. And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package. lI/O type Set the acquisition method to get the monitoring data of this monitoring item from the CNC machine. The relation between the set value and the acquisition method is as follows. 0 : The current value is acquired The current value of the specified monitoring data is acquired. 1 : The differential value is acquired. When the acquisition condition is not set at "Condition", the differential value of the current value against the value of the monitoring start time(= current value - value of start time) is acquired. When the acquisition condition is set at "Condition", the differential value of the current value against the value which was acquired when the condition was satisfied(= current value - value when the condition was satisfied) is acquired. The value is acquired only when the condition formula is satisfied.
lReal value

It is not necessary to set the value. The monitoring data from the CNC machine is stored. The type of the stored data depends on the setting of "Data type."

- 67 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


lOutput value

B-63364EN/01

Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data. Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, when the position of the cell of the acquisition value is E6 and the acquisition value should be output as it is, set the following calculation formula. = E6 Instead, when the value by a factor of 10 over the acquisition value should be output, set the following calculation formula. = E6*10 Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Display form The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting method of the display format. Refer to the manual and help of MS Excel for details of the display format of MS Excel.

- 68 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


l Address Set the address of the acquired machine signal. The address is set in the following format.

Set the figure of four digits by which the address value of the acquired machine signal is indicated. The address value which can be acquired is different depending on the type of the address and the kind of PMC. Refer to the manual of corresponding CNC machine for details. Set one alphabet character by which the type of the address of PMC is indicated. The character which can be set and the relation of the type of the address are as follows. G : Signal from PMC to CNC F : Signal from CNC to PMC Y : Signal from PMC to machine X : Signal from machine to PMC A : Message demand R : Internal relay T : Variable timer K : Keep relay C : Counter D : Data table For instance, in order to acquire the machine signal of the following address, set as follows. Address type: Signal from CNC to PMC Address value: 1 F0001
lData type

Set the data type of the acquired machine signal. The relation between a set value and the data type is as follows. 3 : Long type 2 : Word type 1 : Byte type 0 : Bit type(Bit-0) -1 : Bit type(Bit-1) -2 : Bit type(Bit-2) - 69 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


-3 : Bit type(Bit-3) -4 : Bit type(Bit-4) -5 : Bit type(Bit-5) -6 : Bit type(Bit-6) -7 : Bit type(Bit-7) Setting example

B-63364EN/01

The setting example for monitoring the following machine signal is illustrated below. Monitor data : Counter signal of CNC machine (Address:C0000). Data type Condition I/O type : Long type : When the value changes : Current value

Output value : Real value*1000

(2) Log output The output of the logging data is specified by setting the output item as the logging data, the cell position of the item at the destination, the output worksheet name, and so on. lItem name Set the worksheet name where the logging data is output. The worksheet name is up to 31 characters. However, the following characters cannot be used. / : [ ] * lCondition Set the condition formula to output the logging data When the condition is set, the logging data is output if condition formula is satisfied (=TRUE). When the condition is not set, the logging data is output every sampling interval of that CNC machine. The format of the condition formula follows to the grammar of MS Excel. For instance, when the log data output only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0 Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel.

- 70 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package.
Notes If you set the following conditions for outputting the logging data, the logging data is accumulated in the worksheet of the logging output within a short time. Condition : None I/O type : Additional output When the logging data cannot be output because the logging data is too much accumulated, the Machining Status Monitor Package creates the new logging data output file and then continues to output the logging data. Consequently many logging data output files are created in a short time and the problems such that the capacity of the external memory device becomes insufficient may occur. Please set the condition so that the logging data output is reduced to minimum when the logging data is output as the adding style. In case that the logging data is output as the overwriting style, you are recommended so as to set condition to prevent the decrease of the performance of the Machining Status Monitor Package.

lI/O type

Set the output method of outputting the logging data. The relation between the set value and the output method is as follows. 0 : Overwrite output Always the logging data is overwritten to the specified output cell 1 : Additional output The logging data is output downward from the specified output cell <Log data output worksheet> A Specified top cell position 1 2 3 4 Index 1 Log1-1 Log1-2 Log1-3 B Index 2 Log2-1 Log2-2 Log2-3

- 71 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

It is impossible to output the logging data of different logging output item to the same line on the worksheet. For instance, when the following logging output items are set, the log is output as follows. Log output item 1: Additional outputs to cell A3 and B3 under condition A. Log output item 2: Additional outputs to cell C3 and D3 under condition A.

<Log data output worksheet> A 3 4 5 6


Notes One purpose of the additional outputting the logging data to the worksheet is that list-sum-up function of the MS Excel is applied on the worksheet. The list of the MS Excel is illustrated as follows. It has the index on the top of the line and the same kind of data is registered under index.

C Log21-1

D Log22-1 Log22-3

Log11-1 Log12-1 Log11-2 Log12-2 Log21-2

With this type of list, you can do the advanced analysis using the sum-up function of the MS Excel. However, some list management function of the MS Excel, such as Filter, can use only on one list per one worksheet at a time. So, making one list per one worksheet is recommended for the list data of logging output. Refer to the manual or the help file of MS Excel for the list of MS Excel and details of the total function.

lOutput value Set the cell position of the monitoring item where the logging data is acquired, by the calculation formula. - 72 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


The format of the calculation formula follows the grammar of MS Excel. Only the cell position can be described and only the operator, "+" can be used. For instance, in order to get the value from the cell position F6 of the monitoring item, set the following calculation formula. = F6

Get the value of cell F6 as the logging data

In order to get multiple data as the logging data, set following formula using the operator, "+". = F6+F7+F8

Get the value of cell F6, F7 and F8 as the logging data

Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. lAddress Set the output cell position for the logging data by the calculation formula. The format of the calculation formula follows the grammar of MS Excel. Only the cell position can be described and only the operator, "+" can be used. For instance, in order to output the first logging data specified at the "Output value" to the cell position A2, set the following calculation formula. = A2

The first data specified at "Output value" is output to the cell position A2 as the logging data

In order to output multiple logging data to multiple position, set following calculation formula using the operator, "+". = A2+B2+C2

The first data specified at "Output value" is output to the cell position A2 as the logging data, and the second output to position B2, and the third output to position C2

- 73 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

It is necessary to set the same number for the output position specified at "Address" with the number of outputs specified at "Output value" Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Setting example The setting example for outputting the logging data which is acquired from the monitoring item is illustrated below. "(1) Machine Signal" for setting the monitoring item. Output worksheet name : Value of counter Cell position for output : Counter1 = A2, Counter 2= B2 Condition I/O type : When either value of counters changes : Overwrite output Refer to

(3) Date, Time Date The current date is acquired from the personal computer. Time The current time is acquired from the personal computer. lItem name Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item. lCondition Set the condition formula to acquire the monitoring data of this monitoring item from the CNC machine. When the condition is set, the data acquisition is executed if the condition formula is satisfied (=TRUE). When the condition is not set, the data acquisition is executed at every sampling interval of that CNC machine. The format of the condition formula follows to the grammar of MS Excel. For instance, when the monitor data is acquired only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0

- 74 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel. And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package. lI/O type Set the acquisition method to get the monitoring data of this monitoring item from the CNC machine. The relation between the set value and the acquisition method is as follows. 0: The current value is acquired The current value of the specified monitoring data is acquired. 1: The differential value is acquired. When the acquisition condition is not set at "Condition", the differential value of the current value against the value of the monitoring start time(= current value - value of start time) is acquired. When the acquisition condition is set at "Condition", the differential value of the current value against the value which was acquired when the condition was satisfied(= current value - value when the condition was satisfied) is acquired. The value is acquired only when the condition formula is satisfied. lReal value It is not necessary to set the value. The monitoring data from the personal computer is stored. This data consists of the serial value for date, and the double precision of 8 byte for time. It can be added and subtracted lOutput value Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data. Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, when the position of the cell of the acquisition value is E6 and the acquisition value should be output as it is, set the following calculation formula. = E6

- 75 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

Instead, when the value by a factor of 10 over the acquisition value should be output, set the following calculation formula. = E6*10 Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Display form The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting method of the display format. Refer to the manual and help of MS Excel for details of the display format of MS Excel. Setting example The setting example for monitoring the following data from the personal computer is illustrated below. Monitor data : Current time Condition I/O type : None (Acquire at sampling intervals) : Current value

Output value : = Real value

(4) Week The current day of the week is acquired from the personal computer. lItem name Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item. lCondition Set the condition formula to acquire the monitoring data of this monitoring item from the CNC machine. When the condition is set, the data acquisition is executed if the condition formula is satisfied (=TRUE). When the condition is not set, the data acquisition is executed at every sampling interval of that CNC machine.

- 76 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


The format of the condition formula follows to the grammar of MS Excel. For instance, when the monitor data is acquired only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0 Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel. And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package. lReal value It is not necessary to set the value. The monitoring data from the personal computer is stored. The data is stored in 1 byte integer representing the day of the week. The correspondence on the value and the day of the week is as follows. 1 : Sunday 2 : Monday 3 : Tuesday 4 : Wednesday lOutput value Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data. Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, when the position of the cell of the acquisition value is E6 and the acquisition value should be output as it is, set the following calculation formula. = E6 Instead, when the value by a factor of 10 over the acquisition value should be output, set the following calculation formula. = E6*10 Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. - 77 5 : Thursday 6 : Friday 7 : Saturday

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Display form

B-63364EN/01

The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to the manual and help of MS Excel for details of the display format of MS Excel. Setting example The setting example for monitoring the following data from the personal computer is illustrated below. Monitor data : Current day of the week Condition : None (Acquire at sampling intervals) Output value : = Real value

(5) Calculate The calculated value is acquired.

lItem name Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item. lOutput value Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data. Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, in order to add the value of cell position F6 and F7 where the monitoring data are stored, Set the following calculation formula. = F6+F7 When the alarm number is being monitored and it is stored to the cell position F6, in order to output data including the character string, such as "Alarm(number : OOOO)", set the following calculation formula. ="Alarm(number : " &F6& ")" - 78 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Display form The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting method of the display format. Refer to the manual and help of MS Excel for details of the display format of MS Excel. Setting example The setting example for outputting the string data, such as "Counter number =OOOO", from cell F6 is illustrated below.

(6) Machining Results The machining results (processed part name, machining process name, and number of processed parts) are acquired from the data registered in the machining program information about the program running in the CNC machine.

Notes It is impossible to output the machining results(processed part name, machining process name, and number of processed parts) to the logging data if the machining information is not registered. Refer to "5.3 Registering Machining Program Information" for registering of machining program information.

lItem name Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item. lCondition Set the condition formula to acquire the monitoring data of this monitoring item from the CNC machine. When the condition is set, the data acquisition is executed if the condition formula is satisfied (=TRUE). - 79 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

When the condition is not set, the data acquisition is executed at every sampling interval of that CNC machine. The format of the condition formula follows to the grammar of MS Excel. For instance, when the monitor data is acquired only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0 Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel. And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package.
Notes Specify the termination of the main program for the timing for acquiring the monitoring data specified at the condition of item type "Machining Results". Otherwise, It is not possible to acquire the machining results correctly. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting example of "Machining Results" monitor data.

lReal value It is not necessary to set the value. The processed part count acquired from the machining program information is stored. The data is 2 byte integer. lOutput value Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data. Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, when the position of the cell of the acquisition value is E6 and the acquisition value should be output as it is, set the following calculation formula. = E6 Instead, when the value by a factor of 10 over the acquisition value should be output, set the following calculation formula. - 80 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

= E6*10 Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Display form The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting method of the display format. Refer to the manual and help of MS Excel for details of the display format of MS Excel. l(Address) It is not necessary to set the value. The processed part name acquired from machining program information is stored. When processed part name should be output as the logging data, set this cell position. l(Data type) It is not necessary to set the value. The machining process name acquired from machining program information is stored. When machining process name should be output as the logging data, set this cell position. Setting example The setting example for outputting the machining results(the processed part name, the machining process name, and the number of processed parts) as the logging data when the program is terminated is illustrated below. Refer to the figure of "Monitor items and log output items to be registered" of "5.2.2 Example of registering and changing monitor items and log output items" for the end condition of the program.

- 81 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

(7) O Number(Current), O Number(Main), Sequence Number, Parts Total, Parts Required, Parts Count, Power On, Operating Time, Cutting Time, Free Purpose, Cycle Time O Number(Current) O number of the program which is on execution or executed last is acquired from the CNC machine. O Number(Main) O number of the program which is on execution or executed last is acquired from the CNC machine. Sequence Number Sequence number in the program which is on execution or executed last is acquired from the CNC machine. Parts Total The total number of processed parts is acquired from the CNC machine. Parts Required The required number of parts to be processed is acquired from the CNC machine. Parts Count The number of processed parts is acquired from the CNC machine. Power On The power on time is acquired from the CNC machine. Operating Time The operating time is acquired from the CNC machine. Cutting Time The cutting time is acquired from the CNC machine. Free Purpose The free purpose time is acquired from the CNC machine. Cycle Time The cycle time is acquired from the CNC machine.

- 82 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

Notes

l When in the DNC operation mode, the correct main program number
cannot be acquired at item type "O Number(Main)".

l In case of the following item types, the Machining Status Monitor


Package cannot acquired the correct monitoring data unless the CNC machine has the proper options and ladder program. Refer to the manual of CNC machine for details of these data. Item type Parts Total, Parts Required, Parts Count, Power On, Operating Time, Cutting Time, Free Purpose, Cycle Time Necessary options and ladder program Options Machining Time, Parts Count Ladder program Ladder program to count the total number of the processed parts and the number of the processed parts.

lItem name Set the name by which the character of this monitoring item is shown. The item name becomes the key word for referring to the output item on the registration auxiliary screen of the logging output item. lCondition Set the condition formula to acquire the monitoring data of this monitoring item from the CNC machine. When the condition is set, the data acquisition is executed if the condition formula is satisfied (=TRUE). When the condition is not set, the data acquisition is executed at every sampling interval of that CNC machine. The format of the condition formula follows to the grammar of MS Excel. For instance, when the monitor data is acquired only when the value of cell F6 is larger than 0, set the following condition formula. = F6>0 Refer to the manual and help of MS Excel for details of the format of the condition formula of MS Excel.

- 83 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

And you can use the special logical functions prepared in the Machining Status Monitor Package for the condition formula. Refer to "4. Special logical functions of the Machining Status Monitor Package" in this paragraph for the special logical functions of the Machining Status Monitor Package. lI/O type Set the acquisition method to get the monitoring data of this monitoring item from the CNC machine. The relation between the set value and the acquisition method is as follows. 0 : The current value is acquired The current value of the specified monitoring data is acquired. 1 : The differential value is acquired. When the acquisition condition is not set at "Condition", the differential value of the current value against the value of the monitoring start time(= current value - value of start time) is acquired. When the acquisition condition is set at "Condition", the differential value of the current value against the value which was acquired when the condition was satisfied(= current value - value when the condition was satisfied) is acquired. The value is acquired only when the condition formula is satisfied. lReal value It is not necessary to set the value. The monitoring data from the CNC machine is stored. The stored data is as follows. O Number(Current), O Number(Main), Sequence Number, Parts Total, Parts Required, Parts Count The data is 4 byte integer. Power On, Operating Time, Cutting Time, Free Purpose, Cycle Time
This data consists of the serial value for date, and the double precision of 8 byte for time.

lOutput value Set the calculation formula to convert the "Real value" into the "Output value", or the display format of outputting as the logging data.

- 84 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Calculation formula The format of the calculation formula follows to the grammar of MS Excel. For instance, when the position of the cell of the acquisition value is E6 and the acquisition value should be output as it is, set the following calculation formula. = E6 Instead, when the value by a factor of 10 over the acquisition value should be output, set the following calculation formula. = E6*10 Refer to the manual and help of MS Excel for details of the format of the calculation formula of MS Excel. Display form The display format of the cell where this "Output value" is output as the logging data is specified using the formatting function of MS Excel. Refer to "5.2.2 Example of registering and changing monitor items and log output items" for setting method of the display format. Refer to the manual and help of MS Excel for details of the display format of MS Excel. Setting example The setting example for outputting the main program number as the logging data when the program is started is illustrated below. Refer to the figure of "Monitor items and log output items to be registered" of "5.2.2 Example of registering and changing monitor items and log output items" for the start condition of the program. Monitor data : Main program number Condition I/O type : Start of the program : Current value

Output value : = Real value

4. Special logical function of the Machining Status Monitor Package In the Machining Status Monitor Package, the following logical functions are prepared for the condition formula for acquiring monitoring data outputting the logging data.

- 85 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Function name F_ISON Interface: F_ISON(Cell position) Description: Interface, Description, and Example

B-63364EN/01

At the data on the cell specified by the argument, when the value acquired at this time increases than the value acquired at previous sampling, this function returns TRUE. Otherwise, and the argument is not a numerical value, this function returns FALSE. In case that the sampling interval is set long, this function may not return the correct value. Refer to "5.1.2 Setting the monitor data sampling interval" for the relation between the sampling interval and the monitoring data. Example: The cell F6 has the monitoring data of machine signal in the bit type, and you want to get the rising state (0 1) for the logging data output, set the following condition formula to the "Condition". = F_ISON(F6)) F_ISOFF Interface: F_ISOFF(Cell position) Description: At the data on the cell specified by the argument, when the value acquired at this time decreases than the value acquired at previous sampling, this function returns TRUE. Otherwise, and the argument is not a numerical value, this function returns FALSE. In case that the sampling interval is set long, this function may not return the correct value. Refer to "5.1.2 Setting the monitor data sampling interval" for the relation between the sampling interval and the monitoring data. Example: The cell F6 has the monitoring data of machine signal in the bit type, and you want to get the down state (1 0) for the logging data output, set the following condition formula to the "Condition". = F_ISOFF(F6)

- 86 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


F_ISCHG Interface: F_ISCHG(Cell position) Description: At the data on the cell specified by the argument, when the value acquired at this time is different from the value acquired at previous sampling, this function returns TRUE. Otherwise, and the argument is not a numerical value, this function returns FALSE. In case that the sampling interval is set long, this function may not return the correct value. Refer to "5.1.2 Setting the monitor data sampling interval" for the relation between the sampling interval and the monitoring data. Example: The cell F6 has the monitoring data of machine signal in the bit type, and you want to get the change state for the logging data output, set the following condition formula to the "Condition". = F_ISCHG(F6)

5. Order of registering the monitoring item and the logging output item In case that one monitoring item refers the value acquired from other monitoring item between multiple monitoring items with the conditions, it is necessary that the referred monitoring item is registered before the referring one. Monitor item N Monitor item N+1 Monitor item N+2 Condition 1 ***************** Condition 2(depends on the value of monitoring item N)

- 87 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.2.2

Example of registering and changing monitor items and log output items
This section provides an example of registering and changing the data on the monitor item and log item registration sheet.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

The following explains how to register monitor items and log output items. Monitor items and log output items to be registered The times at which the "Cycle Start Lamp signal (STL)"and the "Feed Hold Lamp signal (SPL)" are in the states shown in the figure below are assumed to be the program start and end times. The following log data is output at the program end time: Main program number of the executed program Main program start time Main program end time Main program execution time Name of the part machined by the executed main program Name of the process in which the part was machined by the executed main program Number of parts machined by the executed main program

STL signal SPL signal Start time End time

- 88 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


NOTE To correctly output the name of the part machined by the executed main program, the name of the process, and the number of processed parts, machining program information must be registered separately. For an explanation of registering the machining program information, see Section 5.3, "Registering Machining Program Information."

Those users who are familiar with monitor items, log output items and their registration formats can register and change these items by directly changing the values in the cells. The following example explains the procedure for registering data more easily by displaying lists and screens that assist in the registration. For details of the monitor items and log output items that can be registered, and their registration formats, see Section 5.2.1, "Monitor items and log output items." For this explanation, assume that nothing has been registered on the monitor item and log output item registration worksheet. Procedure 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is for registering monitor items and log output items for the CNC machine named "NC Machine 1.")

2. Register the monitor item for monitoring the "Cycle Start Lamp signal (STL)" of the CNC machine. The details of the "Cycle Start Lamp signal (STL)" to be monitored are: Item type Monitor item name : Machine Signal : "STL"

Source of monitoring : Bit 5 of the machine signal (F0000) Monitoring condition : None (monitoring at the sampling interval) Data acquisition type : Acquisition of the current value - 89 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Double-click the area of cell A6. The lists assisting in registration appear on row 6.

B-63364EN/01

Register the above data. When an item type is selected from the item type list, the assistance lists and cell hatching change according to the item type. Registration can be performed by selecting list items and setting data in cells other than those indicated by hatching. No data need be set in the cells indicated by hatching. Item Type No operation is required because the "Machine Signal" item type has been selected. Item Name Enter "STL" in cell B6.

Condition

Nothing need be set because monitor data is to be obtained unconditionally (at the sampling interval). I/O Type No operation is required because the item "Current" has been selected. Output Value The default formula need not be changed because obtained data is to be output directly. Change the display format of the output value to numeric. Follow the steps below: 1) Select cell F6.

- 90 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


2) Choose the Format command from the MS Excel menu bar to set the display format for cell F6. Choose [Format], then the [Cell...] command. The following screen appears.

3)

Select the "Number" tab.

4) 5)

Select "Number" from the category list. Select "-1234" from the negative number display format list.

6)

Click the <OK> button. The display format is now set.

- 91 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Address

B-63364EN/01

In cell G6, enter the address type and address number, "F0000," for the "Cycle Start Lamp signal (STL)."

Data Type Set the data type of the data to be monitored. Select "Bit 5" from the data type list because the "Cycle Start Lamp signal (STL)" is bit 5 of the machine signal specified in Address.

Data is now set for the monitor item for monitoring the "Cycle Start Lamp signal (STL)." To save the settings, click the <Save Combo Box Data> button.

The data in the assistance lists is reflected in the cells, and the monitor item for monitoring the "Cycle Start Lamp signal (STL)" is registered. 3. Using the same steps, register the monitor item for monitoring the "Feed Hold Lamp signal (SPL)" of the CNC machine on row 7 of the worksheet. The details of the "Feed Hold Lamp signal (SPL)" to be monitored are: Item type Monitor item name : Machine Signal : "SPL"

Source of monitoring : Bit 4 of the machine signal (F0000) Monitoring condition : None (monitoring at the sampling interval) Data acquisition type : Acquisition of the current value The figure below shows the monitor item registered for the "Feed Hold Lamp signal (SPL)."

- 92 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


4. Using the monitor values of the already registered STL and SPL signals, register the monitor items for monitoring main program information (main program number, start time, end time, execution time, and processing results). Register the monitor item for monitoring the main program number. The details of the main program number to be monitored are: Item type : O Number (Main) Monitor item name : "Main Program No." Monitoring condition: Start of the program Data acquisition type : Acquisition of the current value Double-click the area of cell A8. The lists assisting in registration appear on row 8.

Item Type

Select "O Number (Main)."

Item Name

Enter "Main Program No." in cell B8.

Condition

The program start condition with the monitor values of the STL and SPL signals is described below. (For an explanation of the start condition, see the figure under "Monitor items and log output items to be registered," at the beginning of this section.) Rising of the STL signal (0 1) and Other than the falling of the SPL signal (1 0) This is translated into the following conditional expression because the STL signal is monitored in cell F6 and the SPL signal is monitored in cell F7. = AND(F_ISON(F6),NOT(F_ISOFF(F7)))

- 93 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Enter the above conditional expression in cell C8.

B-63364EN/01

I/O Type

No operation is required because the "Current" item has been selected.


Output Value

The default formula need not be changed because obtained data is to be output directly. Change the display format of the output value to numeric. Follow the steps below: 1) Select cell F8.

2) Choose the Format command from the MS Excel menu bar to set the display format for cell F8. Choose [Format], then the [Cell...] command. The following screen appears.

3) Select the "Number" tab and set the display format. In this example, an 8-digit numeric value with leading 0s is set. 4) From the category list, select "Custom." 5) Enter "00000000" for the type item. - 94 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

6) Click the <OK> button. The display format is now set. Data is now set for the monitor item for monitoring the main program number at the start of the program. To save the settings, click the <Save Combo Box Data> button.

The data in the assistance lists is reflected in the cells, and the monitor item for monitoring the main program number is registered. 5. Using the same steps, register the monitor item for monitoring the start time of the main program on row 9 of the worksheet. The details of the start time to be monitored are: Item type Monitor item name : Time : "Start Time"

Monitoring condition : Start of the program Data acquisition type : Acquisition of the current value The monitor condition is the same as that for the monitor item for the main program number. For an explanation, therefore, see the section on registering the monitor item for the main program number.

- 95 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

For the output value display format, choose the [Format] command from MS Excel, select "Time" from the category list, and select the type shown in the figure below.

The figure below shows the monitor item registered for the start time.

6. Using the same steps as those used to register the monitor item for the start time, register the monitor item for monitoring the end time of the main program on row 10 of the worksheet. The details of the end time to be monitored are: Item type Monitor item name : Time : "End Time"

Monitoring condition : End of the program Data acquisition type : Acquisition of the current value The monitor condition is as follows: The program end condition with the monitor values of the STL and SPL signals is described below. (For an explanation of the end condition, see the figure under "Monitor items and log output items to be registered," shown at the beginning of this section.) Falling of the STL signal (1 0) and Other than the rising of the SPL signal (0 1) This is translated into the following conditional expression because the STL signal is monitored in cell F6 and the SPL signal - 96 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


is monitored in cell F7. = AND(F_ISOFF(F6),NOT(F_ISON(F7)))

The figure below shows the monitor item registered for the end time.

7. Register the monitor item for monitoring the execution time of the main program. In this example, the execution time is determined from the start and end times that have already been monitored. The execution time can be obtained by subtracting the start time from the end time. Use item type "Calculate," which obtains a calculated value.
NOTE If the execution time is determined as in this example, the correct execution time cannot be obtained if the start and end times are on different dates. To determine the execution time correctly, corrective action is required such as taking the dates into consideration.

The details of the execution time to be monitored are: Item type Output value : Calculate : End Time Start Time Monitor item name: "Executing Time"

Double-click the area of cell A11. The lists assisting in registration appear on row 11.

Select the item type "Calculate" and enter "Executing Time" for the item name. Set the output value and the output value display format as follows:

- 97 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Output Value

B-63364EN/01

The execution time is equal to the end time minus the start time. Because the end time is monitored in cell F10 and the start time is monitored in cell F9, the formula is as follows: =F10-F9 Enter the above formula in cell F11.

Change the display format of the output value to time. Follow the steps below: 1) Select cell F11.

2)

Choose the Format command from the MS Excel menu bar to set the display format for cell F11. Choose [Format], then the [Cell...] command. The following screen appears.

3) 4) 5)

Select the "Number" tab. Select "Custom" from the category list. Select "[h]:mm:ss" for the type item.

- 98 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

6)

Click the <OK> button. The display format is now set.

Data is now set for the monitor item for monitoring the execution time. To save the settings, click the <Save Combo Box Data> button.

The data in the assistance lists is reflected in the cells, and the monitor item for monitoring the execution time is registered. 8. Register the monitor item for monitoring the processing results of the part machined by the executed main program (processed part name, process name, and number of processed parts). The details of the processing results to be monitored are: Item type Monitor item name : Machining Result : "Machining Result"

Monitoring condition : End of the program The monitor condition is the same as that for the monitor item for the end time. For an explanation, therefore, see the section on registering the monitor item for the end time. Specify Numeric for the display format because the number of processed parts is output as an output value. The obtained processed part name and process name are stored in the Address and Data Type cells. To output the processed part name and process name as log data, output the values from these cells. The figure below shows the data set for the monitor item for monitoring the processing results at the end of the program. - 99 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

The necessary monitor items are now registered. 9. Register the log output item for outputting the monitored data as log data. In this example, the following log output item members are registered: Output worksheet name : Log Output Example Output condition Output format type A 2 3 4 5 00000001 00000002 : End of the program : Additional output B 9:30:55 10:40:30 C End time 10:20:18 11:58:43 D

Main Program No. Start time

As shown above, the main program number, start time, end time, execution time, processed part name, process name, number of processed parts are output in columns. This additional output starts at row 3. Double-click the area of cell A13. The lists assisting in registration appear on row 13.
Item Type

Select "Log Output."

When item type "Log Output" is selected, the <Aux. Screen Display> button appears.

- 100 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


1) Click the <Aux. Screen Display> button. The following screen appears.

2)

Set the name of the worksheet to which log data is to be output. Click the <Add New Worksheet> button. The following screen appears.

Enter "Log Output Example" in the worksheet name field. Click the <OK> button.

3)

Set the items to be output as log data and their destination cells. Click the <Insert> button. The following screen appears.

- 101 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

The output item name list shows the registered monitor item names. Select the monitor items to be output as log data and their destinations. From the output item name list, select "Output Main Program No." Enter "A3" as the destination cell.

Click the <OK> button. This causes the main program number to be output to cell A3 as log data.

Next, perform the necessary setup to output the start time to cell B3 as log data. - 102 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


From the output item list, select only the last item

"*****************." (On the list, a selected item (displayed in reverse video) can be deselected by clicking it again.)

Click the <Insert> button. The screen for selecting the monitor items to be output as log data and their destinations appears. Select the monitor items to be output as log data and their destinations. From the output item name list, select "Output Start Time." Enter "B3" as the destination cell.

Click the <OK> button. This causes the start time to be output to cell B3 as log data.

- 103 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

Similarly, set the following output items and their destinations. Output item End Time Executing Time Part Name Process Name Machining Result Output cell C3 D3 E3 F3 G3

3) Set the log data output condition. Because log data is to be output at the end of the program, the conditional expression should be as shown below: = AND(F_ISOFF(F6),NOT(F_ISON(F7))) Enter the above conditional expression in the Output Condition field.

4) Set the log data output type. Select the "Add" option button.

Data is now set for the log output item. To save the settings, click the <OK> button on the log output item registration screen.

The data on the assistance screen is reflected in the cells, and the log output item is registered.

- 104 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


All the necessary monitor items and log output item are now registered. 10. Save the registered monitor items and log output item. On the worksheet, click the <Save> button. The changes are applied and the <Save> and <Cancel> buttons disappear.

The registration of the monitor items and log output item is completed.

- 105 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Explanation lPreparation of the log output worksheet

B-63364EN/01

If another worksheet is selected after the end of the operation described above, the log output worksheet set through log output item registration is added.

The added worksheet is blank. Prepare the default log output worksheet by setting the width of the header and each column, as required.

When log data is output, a copy of this default log output worksheet is made and log data is output to the copy. If, after the machining program information is registered, the monitor is started and the program is executed, the following log data is output at the end of the program. For an explanation of registering the machining program information, see Section 5.3, "Registering Machining Program Information." For an explanation of starting the monitors for CNC machines, see Chapter 6, "MONITORING CNC MACHINES AND OUTPUTTING LOG DATA."

- 106 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.2.3

Inserting rows into monitor items and log output items


This section explains how to insert rows when registering monitor items and log output items.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

To add a new item to an existing monitor or log output item, first insert a blank row and then register the item. To insert a blank row, use the <Insert> button on the worksheet or the [Insert] command. Procedure To insert a row using the <Insert> button 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is for registering monitor items and log output items for the CNC machine named "NC Machine 1.")

- 107 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

2. Select the cell where a row is to be inserted. A cell in any column may be selected.

3. Click the <Insert> button.

A blank row is added to the position of the selected cell, so that a monitor item or log output item can be registered. For an explanation of registering monitor items and log output items, see Section 5.2.2, "Example of registering and changing monitor items and log output items." To insert a row using the [Insert] command 1. Display the [Monitor, Log(NC Machine 1)] worksheet. Select the cell where a row is to be inserted. A cell in any column may be selected.

2. Choose [Insert], then [Rows].

- 108 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

A blank row is added to the position of the selected cell, so that a monitor item or log output item can be registered. Explanation lInsertion of blank rows By selecting cells in multiple rows in step 2. in the above procedure, multiple blank rows can be inserted.

If, however, the cells selected in step 2. or 1. in the above procedure include rows not less than the header rows, no rows can be inserted.
NOTE A monitor item or log output item, in which all the members are blank, is regarded as being the last item. Thus, when a blank row is added, and left blank, any monitor items and log output items registered after that blank row are ignored.

If the reference cell positions of monitor items and log output items change due to the insertion of a row, they are automatically changed to the cell positions assumed after the insertion of the row. For the above example, the reference cell position of the monitor data for the machine signal SPL changes from F7 to F8 due to the insertion of the row. In any conditional expressions and formulas in other monitor items and log output items that reference cell F7, the reference cell position is automatically changed as shown below:

- 109 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.2.4

Facilitating registration and modification by assistance lists (monitor items and log output items)

displaying

This section explains how to display assistance lists to facilitate registration and modification when registering monitor items and log output items.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

When monitor items and log output items are to be registered, assistance lists can be displayed and any cells that do not require the setting of data can be indicated by hatching. When a list is displayed, data can be set merely by selecting an item from the list. Assistance lists can be displayed for the following members: Item Type, I/O Type, and Data Type. The assistance lists displayed and the cells shown by hatching differ depending on the item type selected from the item type list. Procedure 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is used for registering monitor items and log output items for the CNC machine having the name "NC Machine 1.")

- 110 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


2. Double-click a cell in a monitor item row. For example, double-click the area of cell A6. Assistance lists, the <Save Combo Box Data> button, and the <Cancel Combo Box Data> button appear. If an item has already been registered on row 6, assistance lists and cell hatching appear according to the registered items.

If no item is registered on row 6, an assistance list for the Machine Signal and cell hatching appear. Click in the item type list. The following list appears.

From the item type list, select the item type to be registered.
NOTE If the CNC machine does not support the "Machining Time, Parts Count" options, the item "Parts Total" and the subsequent items do not appear on the item type list. If, however, the existence or absence of the options cannot be determined for reasons such as the disconnection of the power from the CNC machine, all the items are shown.

- 111 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

3. Register a log output item. No values need be set in those cells shown by hatching. For details of registering monitor items and log output items, see Section 5.2.2, "Example of registering and changing monitor items and log output items." 4. To save the data set using the assistance lists, click the <Save Combo Box Data> button. The contents of the assistance lists are reflected in the cells. To cancel the data set using the assistance lists, click the <Cancel Combo Box Data> button. The assistance lists, the <Save Combo Box Data> button, and the <Cancel Combo Box Data> button disappear.

- 112 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.2.5

Facilitating registration and modification assistance lists (log output items)

by

displaying

This section explains how to display assistance lists to facilitate registration and modification when registering log output items.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

When log output items are to be registered, assistance lists can be displayed to facilitate registration and modification. interactive registration of log output items. Procedure To register a new log output item 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is for registering monitor items and log output items for the CNC machine named "NC Machine 1.") Assistance lists enable the

2. Double-click a cell in a monitor item column on the row on which a new log output item is to be registered.

- 113 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

For example, if a log output item is to be registered on row 8, double-click the area of cell A8. Assistance lists, the <Save Combo Box Data> button, and the <Cancel Combo Box Data> button appear. In the item type list, the "Machine Signal" item is selected.

3. From the item type list, select "Log Output." The assistance lists and cell hatching change according to item type "Log Output." The <Aux. Screen Display> button appears.

4. Click the <Aux. Screen Display> button. The [Log Output Item] screen appears.

5. Set the desired output worksheet name, log output item, destination cell, and so on. For details of the functions of the [Log Output Item] screen and the operations performed on the screen, see "Explanation," below. - 114 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


6. To save the data set on the [Log Output Item] screen, click the <OK> button. The contents of the [Log Output Item] screen are reflected in the cells. To cancel the data set on the [Log Output Item] screen, click the <Cancel> button. The [Log Output Item] screen disappears. To change a registered log output item 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is for registering monitor items and log output items for the CNC machine named "NC Machine 1.")

2. Select the cell containing the log output item to be changed. A cell in any column may be selected.

The <Aux. Screen Display> button appears.

3. Click the <Aux. Screen Display> button. The [Log Output Item] screen, shown below, appears.

- 115 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

4. Change the data as required. For details of the functions of the [Log Output Item] screen and the operation on the screen, see "Explanation," below. 5. To save the data changes made on the [Log Output Item] screen, click the <OK> button. The contents of the [Log Output Item] screen are reflected in the cells. To cancel the data changes made on the [Log Output Item] screen, click the <Cancel> button. The [Log Output Item] screen disappears.

- 116 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Explanation The functions of the [Log Output Item] screen and the operation on the screen are explained below. For details of the log output items, see Section 5.2.1, "Monitor items and log output items."

lOutput Worksheet Name Set the name of the worksheet to which log data is to be output. This field provides the following functions:
Selection of an existing worksheet Renaming of an existing worksheet Addition of a new worksheet

1) Selection of an existing worksheet


Description

Allows the specification of a worksheet that has already been registered in the Machining Status Monitor Package as a output worksheet.
Operation

Click

in the Output Worksheet Name field. From the

worksheet name list that appears, select the desired worksheet. 2) Renaming of an existing worksheet
Description

When an output worksheet has been set, enables the renaming of the worksheet. The addition and deletion of worksheets due to the renaming of a worksheet is carried out upon exiting from the monitor item and - 117 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


log output item registration sheet.
Operation

B-63364EN/01

Click the <Worksheet Name Modify> button. The [Log Output Worksheet Name] screen, shown below, appears.

Change the worksheet name. The worksheet name can consist of up to 31 characters. following characters cannot be used. / : \ [ ] * Click the <OK> button. 3) Addition of a new worksheet
Description

The

Allows the addition of a new log output worksheet. The addition of a worksheet due to the addition of a worksheet is carried out upon exiting from the monitor item and log output item registration sheet.
Operation

Click the <Add New Worksheet> button. Worksheet Name] screen appears.

The [Log Output

Specify the worksheet name. The worksheet name can consist of up to 31 characters. following characters cannot be used. / : \ [ ] * Click the <OK> button. The

- 118 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


lOutput Monitor Item and Destination Cell A list appears indicating the monitor items to be output as log data, as well as the destination cells. Log data items are output in the order in which they appear in the list. Output Monitor Item and Destination Cell provide the following functions:
Insertion of output monitor items and destination cell data Modification of output monitor items and destination cell data Deletion of output monitor items and destination cell data

1) Insertion of output monitor items and destination cell data


Description

Allows the insertion and addition of output monitor items and destination cell data
Operation

From the list, select the log output item and destination cell data for specifying the data insertion position. A new output monitor item and destination cell data will be added before the selected output monitor item and destination cell data. If multiple list items are selected, they will be added before the list item selected first.

Click the <Insert> button. The [Log Output Item] screen appears. The output item name list shows the names of the monitor data items registered as monitor items on the worksheet.

- 119 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

From the output item name list, select the item to be output as log data. Set the destination of the log data.

Click the <OK> button.

2) Modification of output monitor items and destination cell data


Description

Allows the modification of existing output monitor items and destination cell data.
Operation

From the list, select the output monitor item and destination cell data to be changed. If multiple list items are selected, the list item selected first will be changed.

Click the <Modify> button. The [Log Output Item] screen appears. The output item name list shows the names of the monitor data items registered as monitor - 120 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


items on the worksheet.

From the output item name list, select the item to be output as log data. Set the destination of the log data.

Click the <OK> button.

3) Deletion of output monitor items and destination cell data


Description

Allows the deletion of output monitor items and destination cell data.

- 121 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

Operation

From the list, select the output monitor item and destination cell data to be deleted.

Click the <Delete> button. The selected output monitor item and destination cell data are deleted.

By selecting multiple list items, multiple items can be deleted. lOutput Condition Set the conditional expression under which log data is to be output. When a condition is set, log data is output if the conditional expression is satisfied (=TRUE). For example, if log data is to be output only when the value in cell F6 is greater than 0, set the conditional expression below: =F6>0 If no conditional expression is set, log data is output at the sampling interval set for the CNC machine. For details of output conditional expressions, see "(2) Log output" in Section 5.2.1, "Monitor items and log output items." To determine the cell positions of the monitor items to be referenced in an output conditional expression, use the monitor item reference function. 1) Monitor Item Reference
Description

Allows referencing of the cell position of a monitor item to be - 122 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


referenced in an output conditional expression.
Operation

For example, if item "STL" is registered on row 6 on the worksheet through monitor item registration, and STL is to be referenced in a conditional expression, follow the steps below. As an example, the following conditional expression is set: = F6>0 Enter "=" in the Output Condition text box.

Click the <Monitor Item Ref.> button. The [Monitor Item Reference] screen appears. The item name list shows the names of the monitor data items registered as monitor items on the worksheet.

Select the monitor item to be referenced. In this example, select "F6 Output STL." Click the <Add> button. Reference cell position F6 is added to the Output Condition text box.

Note that the reference cell position is always added to the end of the character string in the text box.

- 123 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


lOutput Type

B-63364EN/01

Set the output type (Overwrite or Add) to be assumed when log data is output. Select either option button.

- 124 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.2.6

Deleting rows from monitor items and log output items


This section explains how to delete rows when registering monitor items and log output items.
NOTE Monitor items and log output items can be registered for a CNC machine only when the monitor for the CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

To delete a row, use the <Delete> button on the worksheet or the [Edit] command.
NOTE If the monitor item or log output item to be deleted is on a row other than the last, and all the members of the monitor item or log output item are made blank without deleting the row, any monitor items and log output items registered after the blank row are ignored. To delete a row, use the <Delete> button or the [Edit] command.

Procedure To delete a row using the <Delete> button 1. Select the [Monitor, Log(NC Machine 1)] worksheet. (This worksheet is for registering monitor items and log output items for the CNC machine named "NC Machine 1.")

- 125 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

2. Select a cell in the row to be deleted. A cell in any column may be selected.

3. Click the <Delete> button. The row containing the selected cell is deleted.

To delete a row using the [Edit] command 1. Display the [Monitor, Log (NC Machine 1)] worksheet. Select a cell in the row to be selected. A cell in any column may be selected.

2. Choose [Edit], then [Delete...]. The row containing the selected cell is deleted.

- 126 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


Explanation lDeletion of rows By selecting cells in multiple rows in step 2. in the above procedure, multiple rows can be deleted.

If, however, the cells selected in step 2. or 1. in the above procedure include rows not less than the header rows, these rows cannot be deleted. If the reference cell positions of monitor items and log output items change due to the deletion of a row, they are automatically changed to the cell positions assumed after the deletion of the row. For the above example, the reference cell position of the monitor data for machine signal STL changes from F8 to F7 and the reference cell position of the monitor data of machine signal SPL changes from F9 to F8 due to the deletion of the row. In any conditional expressions and formulas in other monitor items and log output items that reference cell F8 and F9, the reference cell positions are automatically changed as shown below:

- 127 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

NOTE If the deletion of a row results in the deletion of a cell referenced by another monitor item or log output item, the cell position data for the deleted cell is not deleted automatically, but remains as un-referenced cell position data. The un-referenced cell position data is displayed as "#REF!" and results in the following error message being output when monitor item and log output item registration terminates. "Referenced cell does not exist." Correct or delete the un-referenced cell position data.

To restore a row that has been deleted by mistake, click the <Cancel> button.

- 128 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.3

Registering Machining Program Information


This section explains how to register machining program information for outputting machining results.

NOTE Machining program information can be registered for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

For each CNC machine, a worksheet for registering machining program information is provided. The worksheet name is as follows: Worksheet name: "Program(" + CNC Machine Name + ")" For example, for the CNC machine name "NC machine 1," the worksheet name is: Worksheet name: "Program(NC Machine 1)" The following explanation assumes the CNC machine name to be "NC Machine 1." Procedure 1. Select the [Program(NC Machine 1)] worksheet. The [Program(NC Machine 1)] worksheet appears.

- 129 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

2. Register machining program information by setting the main program number, the name of the part to be machined by the program specified with the main program number, process name, and the number of parts to be machined.

For an explanation of machining program information, see the description below.

- 130 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

5.3.1

Machining program information


In the Machining Status Monitor Package, it is possible to output the name of processed part, the machining process name, and the number of processed parts as the logging data by registering the following data beforehand. lThe relation between the main program number of the CNC machine and the name of the processed part by the main program, the machining process name, the number of the processed parts. lThe monitoring item which acquires the data of "Machining Results" at the program termination. lThe logging output item which outputs processed part name, the machining process name, and the number of processed parts at the program termination. Information for the program to be executed and the part to be machined by the main program is referred to as "machining program information." For an explanation of registering monitor items and log output items, see Section 5.2, "Registering Target Items for Monitoring and Log Data Output" and Appendix 2, "EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS."
Notes The Machining Status Monitor Package has the logging output items which outputs the machining results logging data as the default monitoring items and logging output items. So, you can output the logging data of machining results by registering the machining program information data. However, by the default setting, the logging data of machining results is output by the termination of the main program whether the success or the failure of the processing. For an explanation of the default monitor items and log output items, see Appendix 2, "EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS."

Explanation l Machining program information Register the running main program number and the information of the processed part by that main program into the one line of the worksheet. The monitoring item or the logging output item consists of the multiple elements, which are called "Member". - 131 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

The members which are used for the monitoring items and the logging output items are as follows. Member name Main Program No. Part Name Process Name Parts Machined Num. Description Main program number of NC program specified for processing the part Processed part name which is processed by the "Main Program No." Machining process name at which the part is processed by the "Main Program No." Number of parts processed by the "Main Program No." For instance, for the following machining program information, register as the following form. Main program number Processed part name Machining process name : O0001 : Processed part 1 : Machining process 1

Number of processed parts : 16 pieces

It is necessary to specify the main program number with the corresponding the processed part name, the machining process name, and the number of processed parts. The Machining Status Monitor Package acquires the machining results information corresponding the main program executed on the CNC machine as the monitoring data. It is not concerned the order of the machining program information.

- 132 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

NOTE l When many rows of machining program information are registered, the amount of memory that corresponds to the registered information is consumed when the monitor is executed and log data is output. It is recommended that machining program information be deleted as soon as it is no longer necessary. For an explanation of deleting machining program information, see Section 5.3.3, "Deleting rows from machining program information program." l A row on which all the members of the machining program information are blank is regarded as being the last row. Thus, any machining program information registered after a blank row is ignored.

The following registered data is handled as described below:

The main program number is invalid (for example, 0 or less, blank, or a non-numeric value) The machining program information is ignored.

The number of processed parts is invalid (for example, blank or nonnumeric value) The number of processed parts is assumed to be 0.

- 133 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.3.2

Inserting rows into machining program information


This section explains how to insert rows when registering machining program information.
NOTE Machining program information can be registered for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

To insert new machining program information between rows of existing machining program information, first insert a blank row and then register the machining program information. To insert a blank row, use the <Insert> command. Procedure 1. Select the [Program(NC Machine 1)] worksheet. (This worksheet is for registering machining program information for the CNC machine named "NC Machine 1.")

2. Select the cell where a row is to be inserted. A cell in any column may be selected.

- 134 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


3. Choose [Insert], then [Rows]. A blank row is added to the position of the selected cell, so that machining program information can be registered. For an explanation of registering machining program information, see Section 5.3, "Registering Machining Program Information."

Explanation l Insertion of blank rows By selecting cells in multiple rows in step 2. in the above procedure, multiple blank rows can be inserted.

If, however, the cells selected in step 2. in the above procedure include rows not less than the header rows, no rows can be inserted.
NOTE Machining program information in which all the members are blank is regarded as being the last information. Thus, when a blank row is added, and left blank, any machining program information registered after the blank row is ignored.

- 135 -

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE

B-63364EN/01

5.3.3

Deleting rows from machining program information


This section explains how to delete rows when registering machining program information.

NOTE Machining program information can be registered for each CNC machine only when the monitor for that CNC machine is stopped. While the CNC machine is being monitored, the following message appears on the worksheet. At this time, do not change the value of any cell on the worksheet.

To delete a row from the machining program information, use the [Edit] command.

NOTE If the machining program information to be deleted is in a row other than the last, and the cells for all the members of the machining program information are made blank without deleting the row, any machining program information registered after the blank row is ignored. To delete a row, use the [Edit] command.

Procedure 1. Select the [Program(NC Machine 1)] worksheet. (This worksheet is for registering machining program information for the CNC machine named "NC machine 1.")

- 136 -

B-63364EN/01

5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE


2. Select a cell in the row to be deleted. A cell in any column may be selected.

3. Choose [Edit], then [Delete...]. The row containing the selected cell is deleted.

Explanation lDeletion of rows By selecting cells in multiple rows in step 2. in the above procedure, multiple rows can be deleted.

If, however, the cells selected in step 2. in the above procedure include rows not less than the header rows, these rows cannot be deleted.

- 137 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

MONITORING CNC MACHINES AND OUTPUTTING LOG DATA


This chapter explains how to start and stop the monitoring of CNC machines, and how to handle exceptions that occur during log data output.

- 138 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

6.1

Displaying the CNC Machine Monitor Status


This section explains how to display the status of CNC machine monitoring. Procedure 1. Select [Monitor], then the [Information] command.

Alternatively, Select the [Monitor Information] worksheet. The [Monitor Information] worksheet appears.

Explanation The combo box which indicates CNC machine names and their monitor status appears. The items displayed in the monitor combo box indicate the monitor states listed in the table below.
Displayed item Executing Monitor state Monitoring of the corresponding CNC machine is being performed normally. Stop Power Off Monitoring the corresponding CNC machine is stopped. When monitoring of the corresponding CNC machine started, the power to the CNC machine was off or the power to the CNC machine was turned off during the execution of monitoring. When the power to the CNC machine is turned on, the displayed item changes to Executing. "Power Off" is equivalent to an HSSB communication error in a High Speed Serial Bus driver.

- 139 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

Starting or stopping the monitoring of a CNC machine can be specified by selecting an item in the monitor combo box. For an explanation of how to start and stop monitoring, see the description below.

- 140 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

6.2

Starting Monitoring CNC Machines


This section explains how to start the monitoring of CNC machines. In order to start-up the monitoring the CNC machines, there are two methods as follows. lManual Start the machining of the CNC machine by selecting the item on the monitoring combo-box of the [Monitor Information] worksheet. For an explanation of how to start the monitoring of CNC machines manually, see Section 6.2.1, "Starting the monitoring CNC machines manually." lAuto Specify the parameter, then you can start the monitoring of the CNC machine when the Machining Status Monitor Package is invoked. To automatically start the monitoring CNC machines at startup, set the corresponding parameters as explained in Section 5.1.1, "Specifying whether to start a monitor automatically at startup," and restart the Machining Status Monitor Package.

Notes It is impossible to change the CNC machine registration and the settings of parameter(common) after starting of monitoring the CNC machines. The data registered to each CNC machine can be changed when the monitoring the CNC machine is stopped.

- 141 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

6.2.1

Starting the monitoring CNC machines manually


This section explains how to start the monitoring of CNC machines manually from the [Monitor Information] worksheet. Procedure 1. Choose the [Monitor Information] worksheet.

2. Change "Stop," displayed in the CNC machine monitor combo box, to "Start." To start the monitoring all CNC machines for which "Stop" is displayed, click the <Start All Monitors> button. The <Apply> button appears.

3. Click the <Apply> button. "Stop," displayed in the monitor combo box, changes to "Executing" or "Power off," and monitoring starts.

"Executing," displayed in the monitor combo box, indicates that monitoring of the corresponding CNC machine is being executed normally.

- 142 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

"Power Off," displayed in the monitor combo box, indicates that the power to the corresponding CNC machine is off. When the power to the CNC machine is turned on, "Power Off," displayed in the monitor combo box, changes to "Executing." If an error other than power-off occurs in the CNC machine when an attempt is made to start monitoring, monitoring is not started. If an item in the monitor combo box is changed, then another worksheet is chosen without clicking the <Apply> button, the following message appears:

Click the <Yes> button, to execute the change. Click the <No> button, to abandon the change. Click the <Cancel> button, to return to the [Monitor Information] worksheet.

- 143 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

6.3

Stopping the Monitoring of CNC Machines


This section explains how to stop the monitoring of CNC machines. In order to terminate the monitoring the CNC machines, there are two methods as follows. lFrom the Machining Status Monitor Package Terminate the monitoring the CNC machines by selecting the items of the [Monitor] menu bar, or monitoring combo-box of the [Monitor Information] worksheet of the Machining Status Monitor Package. For an explanation of how to stop the monitoring of CNC machines from the Machining Status Monitor Package, see Section 6.3.1, "Stopping the monitoring of CNC machines from the Machining Status Monitor Package." lFrom logging data output file Terminate the monitoring the CNC machines by selecting the items of the [Monitor] menu bar of the logging data output file. For an explanation of how to stop CNC machines from the log data output file, see Section 6.3.2, "Stopping the monitoring of CNC machines from the log data output file."

- 144 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

6.3.1

Stopping the monitoring of CNC machines from the Machining Status Monitor Package
This section explains how to stop the monitoring of CNC machines from the [Monitor] menu bar or the [Monitor Information] worksheet of the Machining Status Monitor Package. Procedure To stop the monitoring of CNC machines from the [Monitor] menu bar: 1. Choose [Monitor], then [End] of the Machining Status Monitor Package.

The [Monitor Information] worksheet appears. The monitoring of all the CNC machines currently being monitored ends, and "Executing," displayed in the monitor combo box, changes to "Stop."

To stop the monitoring of CNC machines from the [Monitor Information] worksheet: 1. Choose the [Monitor Information] worksheet.

2. Change "Executing" or "Power Off," displayed in the CNC machine monitor combo box, to "Stop." To stop the monitoring of all CNC machines for which "Executing" or "Power Off" is displayed, click the <Stop All Monitors> button. The <Apply> button appears.

- 145 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

3. Click the <Apply> button. The monitoring of CNC machines ends, and "Executing" or "PowerOff," displayed in the monitor combo box, changes to "Stop."

If an item in the monitor combo box is changed, then another worksheet is chosen without clicking the <Apply> button, the following message appears:

Click the <Yes> button, to execute the change. Click the <No> button, to abandon the change. Click the <Cancel> button, to return to the [Monitor Information] worksheet.

- 146 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

6.3.2

Stopping the monitoring of CNC machines from the log data output file
This section explains how to stop the monitoring of CNC machines from the [Monitor] menu bar of the log data output file. Procedure 1. Choose [Monitor], then [End] of the log data output file.

The [Monitor Information] worksheet for the Machining Status Monitor Package appears. The monitoring of all the CNC machines currently being monitored ends, and "Executing" or "Power Off," displayed in the monitor combo box, changes to "Stop."

- 147 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

6.4

Outputting Log Data


This section provides notes on outputting log data and how to handle exceptions that may occur during log data output. When the monitoring of CNC machines starts, log data is output according to the registered monitor items and log output items. The following provides notes on outputting log data, the output format of error occurrence information, and how to handle exceptions that occur during log data output.

- 148 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

6.4.1

Notes on outputting log data


This section provides notes on outputting log data.
NOTES

lDo not edit the log data output file during log data output. If the user wishes to edit the log data output file, stop the monitoring of all CNC machines, open the log data output file using a program such as MS Excel independently of the Machining Status Monitor Package, and edit it. l If MS Excel is in the input wait state during the execution of monitoring
or the output of log data, the monitoring of all CNC machines or the output of log data is halted. Do not leave MS Excel in any of the following states for an extended period: A cell is awaiting input. The screen for setting the cell display format, "Format Cells," is displayed.

The screen whose title is "Microsoft Excel" (for example, the following worksheet delete screen) is displayed.

- 149 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

6.4.2

Outputting error occurrence information


This section explains how error occurrence information is output during the monitoring of CNC machines. If an error such as monitor data not to be obtained from a CNC machine occurs during the monitoring of CNC machines, error occurrence information is output to a worksheet. The user can set the name of the worksheet to which error occurrence information is to be output and the position of the first error information output cell using parameters set for each CNC machine. For an explanation of how to set the name of a worksheet to which error occurrence information is to be output, and the position of the first error information output cell, see Section 5.1.4, "Setting the destination of error occurrence information." The output format of the error occurrence information is as shown below:

As shown above, if an error occurs, the error information is output to the row immediately below the last error information row. The following items are output in the error occurrence information. Some items may not be output, depending on the nature of the error.
Error occurrence date and time Location of error Cause of the error Auxiliary message Names of the file and of the worksheet on which the error occurred Numbers of the row and of the column on which the error occurred Name of the CNC machine on which the error occurred

- 150 -

B-63364EN/01

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

NOTES lError occurrence information is usually output to the error occurrence information output sheet of the log data output file. If error occurrence information cannot be output to the log data output file (such as when the log data output file cannot be created), however, it is output to the error occurrence information output sheet of the Machining Status Monitor Package. The name of the error occurrence information output sheet of the Machining Status Monitor Package is "Common Error Output Sheet." lError occurrence information is added to the error occurrence information output sheet and stored on the sheet. Storing error occurrence information consumes memory area. therefore, regularly deleting unnecessary error occurrence information is recommended. Deleting error occurrence information during the monitoring of CNC machines is not effective because the next error occurrence information is output following the last line before deletion. Open the log data output file using a program such as MS Excel independently of the Machining Status Monitor Package and delete the error occurrence information. The user normally need not delete the error occurrence information of the error occurrence information output sheet (worksheet name: "Common Error Output Sheet") of the Machining Status Monitor Package because the information is output from the first row again each time the monitoring CNC machines starts. Stop the monitoring of all CNC machines before deleting the error occurrence information.

- 151 -

6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA

B-63364EN/01

6.4.3

Handling exceptions that occur during log data output


This section explains how to handle exceptions that occur during log data output. The method of processing the exception when the following errors occur at the logging data output is described. lWhen the Machining Status Monitor Package cannot output the log data to the log output file. It is caused by the case such that the system memory runs short when the size of the logging data output file becomes huge. For this case, processed as follows. <1> The logging data output file is saved on the specified folder and then closed. <2> The new logging output file is created. For the name of this file, the number which is attached to the previous file name plus one is assigned. <3> The Machining Status Monitor Package continues to output the logging data to the new file. lWhen the Machining Status Monitor Package cannot save the logging output file to the specified folder. It is caused by the case such that the hard disk capacity runs short. For this case, processed as follows. <1> The Machining Status Monitor Package stops the monitoring of all CNC machines. <2> In order to specify the saving destination for the un-saved logging output file, the following dialog box is displayed.

<3> Specify the destination folder and click the <Save > button. If you do not save the file, click the <Cancel> button. And contents of the logging output file is lost. - 152 -

B-63364EN/01

APPENDIX 1. SYSTEM DATA WORKSHEETS

APPENDIX

SYSTEM DATA WORKSHEETS

The system data worksheets are used to define and store data related to the Machining Status Monitor Package.

NOTE If the contents of a system data worksheet are modified, the Machining Status Monitor Package may not operate normally. Do not modify the contents of any system data worksheets.

The following describes the types and names of system data worksheets and outlines the data. lDefault data definition of monitor and log item registration Worksheet name SYS_RGMNT_DEFAULT Outline of data The default data of the monitor and log item registration is defined. The monitor and log item registration defined in this worksheet is used as the default data for the added monitor and log item registration sheet in the following cases: When the monitor and log item registration sheet for the first CNC machine is added when the Machining Status Monitor Package is started. When the CNC machine having the number specified by "Reference CNC Number of Monitor & Log Item:" in the [Parameter(Common)] worksheet is not found during the reregistration of a CNC machine. For an explanation of the "Reference CNC Number of Monitor & Log Item:," see Section 4.1.2, "Setting monitor and log items to be referenced for CNC machine registration."

- 153 -

APPENDIX 1. SYSTEM DATA WORKSHEETS


lStorage of system data Worksheet name SYS_WORK_WORK Outline of data

B-63364EN/01

Data related to this system is stored when the Machining Status Monitor Package terminates.

lDefinition of message data Worksheet name SYS_MESSAGEDT Outline of data Message data used by the Machining Status Monitor Package is defined.

- 154 -

B-63364EN/01

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

APPENDIX

EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

This appendix explains registered data by using the following examples of registering monitor items and log output items: 1) Default monitor and log output items of the Machining Status Monitor Package 2) Log data output of number and used time of each tool used in the program For details of the monitor and log output item data, see Section 5.2.1, "Monitor and log output items." For an explanation of the registration of the monitor and log output item data, see Section 5.2.2, "Examples of registering and changing monitor items and log output items." 1) Default monitor and log output items of the Machining Status Monitor Package The following log data items are output as the default monitor and log output items: lO number and sequence numbers of the program being executed lMain program operation data (start date and time, end date and time, main program number, execution time, cutting time, and noncutting time) lData related to machining according to the main program (end date and time, processed part name, machining process name, processed part count, and main program number)

- 155 -

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

B-63364EN/01

NOTES lThe following option is required to obtain correct cutting and noncutting times: Machining Time, Parts Count option lTo output the processed part name, machining process name, and processed part count as log data, machining program information must be registered separately. For an explanation information, of see how to register 5.3, machining program Machining Section "Registering

Program Information."

For the default monitor and log output item data, the start and end times of the main program are assumed to be the timings at which the "Cycle Start Lamp signal (STL)" and "Feed Hold Lamp signal (SPL)" are in the states as shown in the figure below:

STL signal SPL signal Start time End time

Start and end times of the main program

The following explains the registered data on each line. lLine 6 The current value [I/O Type: 0] of the O number being executed or last executed [Item Type: O Number (Current)] is obtained from the CNC machine at each sampling [Condition: None], and the obtained value is used as the output value [Output Value: =E6] as is. The name of this monitor item is "O No." [Item Name: O No.].

- 156 -

B-63364EN/01

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS lLine 7 The current value [I/O Type: 0] of the sequence number being executed or last executed [Item Type: Sequence Number] is obtained from the CNC machine at each sampling [Condition: None], and the obtained value is used as the output value [Output Value: =E7] as is. The name of this monitor item is "Sequence No." [Item Name: Sequence No.]. lLine 8 The current value [I/O Type: 0] of the machine signal [Item Type: Machine Signal] of bit 5 [Data Type: -5] at address F0000 [Address: F0000] is obtained at each sampling [Condition: None], and the obtained value is used as the output value [Output Value: =E8] as is. The name of this monitor item is "STL" [Item Name: STL]. lLine 9 The current value [I/O Type: 0] of the machine signal [Item Type: Machine Signal] of bit 4 [Data Type: -4] at address F0000 [Address: None], and the F0000] is obtained at each sampling [Condition:

obtained value is used as the output value [Output Value: =E9] as is. The name of this monitor item is "SPL" [Item Name: SPL]. lLine 10 The current value [I/O Type: 0] of the main program number [Item Type: O Number (Main)] is obtained from the CNC machine at the start of the main program [Condition: =AND(F_ISON(F8),NOT(F_ISOFF(F9)))], and the obtained value is used as the output value [Output Value: =E10] as is. The name of this monitor item is "Main Program No." [Item Name: Main Program No.]. The program start condition according to the monitored values of the STL and SPL signals can be expressed in words as follows. (For the start condition, see the figure, "Main program start and end times" in this section.) Rising edge of the STL signal (0 1) and Other than falling edge of the SPL signal (1 0) The conditional expression of this status is the expression described above because the STL signal is monitored in cell F6 and the SPL signal is monitored in cell F7.

- 157 -

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

B-63364EN/01

If the value of this conditional expression is TRUE, monitor data is obtained. For details of MS Excel computational expressions, refer to the MS Excel manual and the online help. F_ISON and F_ISOFF, described above, are logical functions specific to the Machining Status Monitor Package. For an explanation of these logical functions, see item 4 in Section 5.2.1, "Monitor items and log output items." lLine 11 The current value [I/O Type: 0] of the date [Item Type: Date] is obtained from the personal computer at the start of the main program [Condition: =AND(F_ISON(F8),NOT(F_ISOFF(F9)))], and the obtained value is used as the output value [Output Value: =E11] as is. The name of this monitor item is "Date (Start)" [Item Name: Date (Start)]. For an explanation of the condition, see the explanation of line 10 because the condition is the same as that for the monitor item on line 10. lLine 12 The current value [I/O Type: 0] of the time [Item Type: Time] is obtained from the personal computer at the start of the main program [Condition: =AND(F_ISON(F8),NOT(F_ISOFF(F9)))], and the obtained value is used as the output value [Output Value: =E12] as is. The name of this monitor item is "Time (Start)" [Item Name: Time (Start)] For an explanation of the condition, see the explanation of line 10 because the condition is the same as that for the monitor item on line 10. lLine 13 The current value [I/O Type: 0] of the date [Item Type: Date] is obtained from the personal computer at the end of the main program [Condition: =AND(F_ISOFF(F8),NOT(F_ISON(F9)))], and the obtained value is used as the output value [Output Value: =E13] as is. The name of this monitor item is "Date (End)" [Item Name: Date (End)]. The program end condition according to the monitored values of the STL and SPL signals can be expressed in words as follows. (For an explanation of the end condition, see the figure, "Main program start and end times" in this section.)

- 158 -

B-63364EN/01

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS Falling edge of the STL signal (1 0) and Other than rising edge of the SPL signal (0 1) The conditional expression of this status is the expression described above because the STL signal is monitored in cell F6 and the SPL signal is monitored in cell F7. lLine 14 The current value [I/O Type: 0] of the time [Item Type: Time] is obtained from the personal computer at the end of the main program [Condition: =AND(F_ISOFF(F8),NOT(F_ISON(F9)))], and the obtained value is used as the output value [Output Value: =E14] as is. The name of this monitor item is "Time (End)" [Item Name: Time (End)]. For the condition, see the explanation of line 13 because the condition is the same as that for the monitor item on line 13. lLine 15 The increment value [I/O Type: 1] of the cutting time [Item Type: Cutting Time] during execution of the main program [Condition: =OR(F8>0,F9>0)] is obtained from the CNC machine, and the obtained value is used as the output value [Output Value: =E15] as is. The name of this monitor item is "Cutting Time" [Item Name: Cutting Time]. The program executing condition according to the monitored values of the STL and SPL signals can be expressed in words as follows. (For an explanation of the program executing condition, see the figure, "Main program start and end times" in this section.) STL signal ON (= 1) or SPL signal ON (= 1) The conditional expression of this status is the expression described above because the STL signal is monitored in cell F6 and the SPL signal is monitored in cell F7.

- 159 -

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS l Line 16 Calculation is performed [Item Type:

B-63364EN/01

Calculation] using the

computational expression [=(Date(End)(cell F13)+Time(End)(cell F14))-(Date(Start)(cell F11)+Time(Start)(cell F12))] is calculated, and the result is used as the output value [Output Value: =(F13+F14)(F11+F12)]. The name of this monitor item is "Executing Time" [Item Name: Executing Time]. Addition and subtraction can be performed for date and time data as described above because the data is stored as 8-byte double-precision data indicating the date and time. lLine 17 Calculation is performed [Item Type: computational expression [=Executing Calculation] using the Time(cell F16)-Cutting

Time(cell F15)], and the result is used as the output value [Output Value: =F16-F15]. The name of this monitor item is "Non-Cutting Time" [Item Name: Non-Cutting Time]. lLine 18 Calculation is performed [Item Type: the output value [Output Value: =E18]. The name of this monitor item is "Dummy Data" [Item Type: Dummy Data]. lLine 19 The current value [I/O Type: 0] of the machining result (processed part count) [Item Type: Machining Result] is obtained from the personal computer at the end of the main program [Condition: =AND(F_ISOFF(F8),NOT(F_ISON(F9)))], and the obtained value is used as the output value [Output Value: =E19] as is. The name of this monitor item is "Machining Result" [Item Name: Machining Result]. For the condition, see the explanation of line 13 because the condition is the same as that for the monitor item on line 13. At the end of the main program, the processed part name and machining process name obtained together with the processed part count are stored in cells G19 and H19. Calculation] using the computational expression [=Blank(cell E18)], and the result is used as

- 160 -

B-63364EN/01

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS l Line 20 When either the O number or the sequence numbers of the program being executed [Output Value: =F6+F7] changes [Condition: =OR(F_ISCHG(F6),F_ISCHG(F7))], the numbers are overwritten [I/O Type: 0] in cells B2 and B3 [Address: =B2+B3] of the sheet named "Executing Program" [Item Name: Executing Program]. The above conditional expression is used for the condition "if either the O number or the sequence numbers changes" because the O number is monitored in F6 and the sequence number is monitored in F7. lLine 21 Program number 0 and sequence number 0 [Output Value: =F18+F18] are overwritten [I/O Type: 0] in cells B2 and B3 [Address: =B2+B3] of the sheet named "Executing Program" [Item Name: Program] at the end of the main program =AND(F_ISOFF(F8),NOT(F_ISON(F9)))]. For an explanation of the condition, see the explanation of line 13 because the condition is the same as that for the monitor item on line 13. l Line 22 The start date and time, end date and time, main program number, executing time, cutting time, and non-cutting time [Output Value: =F11+F12+F13+F14+F10+F16+F15+F17] are additionally output [I/O Type: 1] from cells A3, B3, C3, D3, E3, F3, G3, and H3 [Address: A3+B3+C3+D3+E3+F3+G3+H3] of the sheet named "Program Result" [Item Name: Program Result] at the end of the main program [Condition: =AND(F_ISOFF(F8),NOT(F_ISON(F9)))]. For an explanation of the condition, see the explanation of line 13 because the condition is the same as that for the monitor item on line 13. l Line 23 The end date and time, processed part name, machining process name, processed part count, and main program number [Output Value: =F13+F14+G19+H19+F19+F10] are additionally output [I/O Type: 1] from cells A3, B3, C3, D3, E3, and F3 [Address: A3+B3+C3+D3+E3+F3] of the sheet named "Machining Result" [Item Name: Machining Result] at the end of the main program [Condition: =AND(F_ISOFF(F8),NOT(F_ISON(F9)))]. - 161 Executing [Condition:

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

B-63364EN/01

For an explanation of the condition, see the explanation of line 13 because the condition is the same as that for the monitor item on line 13. 2) Log data output of number and used time of each tool used in the program The tool number is output starting at F0026 of the machine signal from CNC to PMC with a long value. This tool number and used time are monitored and output as log data.

The following explains the registered data on each line. l Line 6 The current value [I/O Type: 0] of the machine signal [Item Type: Machine Signal] in the long value [Data Type: 3] starting at address F0026 [Address: F0026] is obtained at each sampling [Condition: None], and the obtained value is used as the output value [Output Value: =E6] as is. The name of this monitor item is "Tool No." [Item Name: Tool No.]. l Line 7 The increment value [I/O Type: 1] of the time [Item Type: Time] during which the monitored tool number in use is the same (no change) [Condition: =NOT(F_ISCHG(F6))] is obtained, and the obtained value is used as the output value [Output Value: =E7] as is. The name of this monitor item is "Used Time" [Item Name: Used Time]. l Line 8 When the tool number changes [Condition: =F_ISCHG(F6)], the tool number and used time [Output Value: =F6+F7] are additionally output [I/O Type: 1] from cells A4 and B3 [Address: =A4+B3] of the sheet named "Used Tool" [Item Name: Used Tool].

- 162 -

B-63364EN/01

APPENDIX 2. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS

A sample log output is shown below:

(When the log is output, the lines for outputting the used time log are started one line before the lines for outputting the tool numbers. As the result, the tool number lines are adjusted to their corresponding used time lines. The used time output to the first line (line 3) has no meaning.)

- 163 -

B-63364EN/01

INDEX
MONITORING CNC MACHINES AND OUTPUTTING

B
BASIC KNOWLEDGE......................................................... 6 Basic Operation ................................................................... 13

LOG DATA .......................................................................138

N
Notes on outputting log data..............................................149

D
Deleting CNC Machines Not To Be Monitored .................. 26 Deleting rows from machining program information ........ 136 Deleting rows from monitor items and log output items ... 125 Displaying the CNC Machine Monitor Status................... 139

O
Operation Flow and Worksheet Outline ..............................17 Outputting error occurrence information ...........................150 Outputting Log Data ..........................................................148

E
Environment.......................................................................... 2 Example of registering and changing monitor items and log output items......................................................................... 88 EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS ..................................................... 155

R
Registering CNC Machines To Be Monitored.....................23 REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES ........20 Registering CNC Machines To Be Monitored and Deleting Registered CNC Machines...................................................21 Registering Machining Program Information ....................129

F
Facilitating registration and modification by displaying assistance lists (log output items) ...................................... 113 Facilitating registration and modification by displaying assistance lists (monitor items and log output items) ........ 110

Registering Target Items for Monitoring and Log Data Output..................................................................................59 Reregistering Deleted CNC Machines .................................30

S
Screen Configuration and Names ....................................... 10 Scrolling a worksheet...........................................................15 Selecting a worksheet ..........................................................13 SETTING AND REGISTERING DATA FOR EACH

H
Handling exceptions that occur during log data output ..... 152

I
Inputting data to a cell......................................................... 14 Inserting rows into machining program information ......... 134 Inserting rows into monitor items and log output items .... 107 Installing the Machining Status Monitor Package................. 3

CNC MACHINE .................................................................43 Setting data for log data output files ....................................35 Setting log data output file data for each CNC machine......51 Setting monitor and log items to be referenced for CNC machine registration.............................................................41 Setting Parameters for Each CNC Machine.........................44

M
Machining program information ....................................... 131 Monitor items and log output items..................................... 62

Setting the destination of error occurrence information.......55 SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE ...............32

- 164 -

Setting the General Parameters for the Machining Status Monitor Package ................................................................. 33 Setting the monitor data sampling interval.......................... 48 SETUP .................................................................................. 1 Specifying whether to start a monitor automatically at startup ............................................................................................. 46 Starting and Terminating the Machining Status Monitor Package ................................................................................. 7 Starting Monitoring CNC Machines ................................. 141 Starting the Machining Status Monitor Package ................... 7 Starting the monitoring CNC machines manually ............. 142 Stopping the Monitoring of CNC Machines ..................... 144

Stopping the monitoring of CNC machines from the log data output file...........................................................................147 Stopping the monitoring of CNC machines from the Machining Status Monitor Package ...................................145 SYSTEM DATA WORKSHEETS ....................................153

T
Terminating the Machining Status Monitor Package.............9

U
Uninstalling the Machining Status Monitor Package.............4

- 165 -

Revision Record
FANUC OPEN CNC Machining Status Monitor Package OPERATORS MANUAL (B-63364EN)

01

Dec.,98

Edition

Date

Contents

Edition

Date

Contents

You might also like