GE Fanuc Automation
Computer Numerical Control Products
Open CNCMachining Status Monitor Package
Operator's Manual
GFZ-63364EN/03 August 2000
GFL-001
Warnings, Cautions, and Notesas Used in this Publication
WarningWarning notices are used in this publication to emphasize that hazardous voltages, currents,temperatures, or other conditions that could cause personal injury exist in this equipment or maybe associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, aWarning notice is used.
CautionCaution notices are used where equipment might be damaged if care is not taken.
NoteNotes merely call attention to information that is especially significant to understanding andoperating the equipment.
This document is based on information available at the time of its publication. While effortshave been made to be accurate, the information contained herein does not purport to cover alldetails or variations in hardware or software, nor to provide for every possible contingency inconnection with installation, operation, or maintenance. Features may be described herein whichare not present in all hardware and software systems. GE Fanuc Automation assumes noobligation of notice to holders of this document with respect to changes subsequently made.
GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutorywith respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, orusefulness of the information contained herein. No warranties of merchantability or fitness forpurpose shall apply.
©Copyright 2000 GE Fanuc Automation North America, Inc.
All Rights Reserved.
s - 1
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.
� Read this manual carefully, and store it in a safe place.
SAFETY PRECAUTIONS
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.
SAFETY PRECAUTIONS B-63364EN/03
s - 2
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
allowable feedrate. The appropriate feedrate varies with the
intended operation. Refer to the manual provided with the
machine to determine the maximum allowable feedrate. If a
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/03 SAFETY PRECAUTIONS
s - 3
CAUTION
The operator’s manual on the Machining Status Monitor Package does
not cover the functions and operation of CNCs. For details of the
functions and operation of a CNC, refer to the operator’s manual for the
CNC.
NOTE
� Command programs, parameters, and variables are stored in
nonvolatile memory in the CNC. Generally, the contents of memory
are not lost by a power on/off operation. However, the contents of
memory may be erased by mistake, or important data in nonvolatile
memory may have to be erased 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/03
s - 4
Warnings and Cautions Relating to theMachining Status Monitor Package
This manual explains the warnings and cautions related to the Machining
Status Monitor Package. Before using the package, read this manual
thoroughly to ensure that you are familiar with all the Warnings, Cautions,
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.
B-63364EN/03 SAFETY PRECAUTIONS
s - 5
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
�If 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.
�If 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.
�If 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.
�Whenever 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 B-63364EN/03
s - 6
CAUTION (continued)
• When a screen for which the title is "Microsoft Excel" is
displayed (for example, the screen displayed when a
worksheet is deleted)
� 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/03 PREFACE
p - 1
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 are registered trademarks of Microsoft
Corporation.
Machining Status Monitor Package Features and Restrictions
The Machining Status Monitor Package has the following features:
Features�The 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.
�The running results of the program and the number of processed parts can
be monitored and output as the logging data.
�The data acquired from the CNC machine and the logging data output can
be customized.
�Maximum number of CNC machines to be monitored
・HSSB version
CNC machines up to eight can be monitored at the same time. (In the
personal computer connected with the High Speed Serial Bus)
・Ethernet version
CNC machines up to thirty-two can be monitored at the same time.
PREFACE B-63364EN/03
p - 2
The following restrictions are imposed on the Machining Status Monitor
Package:
Limitations�This software is the add-on software which runs with Microsoft Excel 97
or Microsoft Excel 2000. Microsoft Excel 97 or Microsoft Excel 2000 is
required for the execution of this software.
Please purchase Microsoft Excel 97 or Microsoft Excel 2000 by the
customer yourself, separately.
�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, Intelligent Terminal 3, and a personal
computer connected to the FS16i/18i/21i/15i via the Ethernet. This
software cannot be used on the MMC-IV, a personal computer connected
with the HSSB type 1 or the Intelligent Terminal type 1.
� This software supports the following CNCs:
• FS160i-M/T, FS180i-M/T, FS210i-M/T, FS150i-M
• FS16i-M/T, FS18i-M/T, FS21i-M/T, and FS15i-M connected to a
commercially available personal computer via the High Speed Serial
Bus Type 2, or the Ethernet.
NOTE
� 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.
� 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.
� The maximum number of CNC machines which can be monitored at the
same time might be limited by the performance of the personal computer.
� As for the Ethernet version, the maximum number of CNC machines
which can be monitored at the same time might be limited by the
condition of the Ethernet communication.
B-63364EN/03 PREFACE
p - 3
Contents of the Product Package
This product package software consists of the following:
�Floppy disks (HSSB version)
FANUC Open CNC Machining Status Monitor Package
(A02B-0207-K780#EN07)
�Floppy disks (Ethernet version)
FANUC Open CNC Machining Status Monitor Package (FOCAS1/Ethernet)
(A02B-0207-K782#EN07)
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.
PREFACE B-63364EN/03
p - 4
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.
B-63364EN/03 PREFACE
p - 5
Notation Conventions
The following explains the notation conventions used in this manual:
�Menu, command, screen, and worksheet notations
Example Explanation
[File] menu Menu names are enclosed in brackets
[].
[Setting...] Command names are enclosed in
brackets [].
[Log Output Item] Screen Screen names (displayed on the title
bars) are enclosed in brackets [].
[Monitor Information] worksheet Worksheet names (displayed as sheet
titles) are enclosed in brackets [].
<OK> button Command buttons on the screens and
worksheets are enclosed in angle
brackets <>.
�Key notations and operation
Example Explanation
[Enter] key Key names are enclosed in brackets [].
[Ctrl]+[Tab] keys 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 The [→], [←], [↑], and [↓] keys are
collectively called the direction keys.
�Mouse operations
Example Explanation
Click Pushing and releasing a mouse button
immediately.
Double-click Clicking a mouse button twice in quick
succession.
Drag Moving the mouse while holding down
a mouse button, then releasing the
button at a desired location.
�Folders
This manual collectively refers to directories and folders as folders.
PREFACE B-63364EN/03
p - 6
�Sample 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.
�CNCs
Unless otherwise specified, FS160/180/210 denotes the FS160i/180i/210i-
M/T and FS16i/18i/21i-M/T connected to a personal computer via the High
Speed Serial Bus Type 2, or the Ethernet.
And FS150 denotes the FS150i-M and FS15i-M connected to a personal
computer via the High Speed Serial Bus Type 2,or the Ethernet.
B-63364EN/03
c - 1
Table of Contents
Table of Contents
SAFTY PRECAUTIONS........................................................................................................... s-1PREFACE ................................................................................................................................... p-1
1 SETUP ................................................................................................................................. 11.1 SET UP (HSSB VERSION).................................................................................................................... 2
1.1.1 Environment ................................................................................................................................. 2
1.1.2 Installing the Machining Status Monitor Package ........................................................................ 4
1.1.3 Uninstalling the Machining Status Monitor Package.................................................................... 5
1.1.4 Updating the Machining Status Monitor Package ........................................................................ 7
1.2 SET UP (ETHERNET VERSION) ......................................................................................................... 8
1.2.1 Environment ................................................................................................................................. 8
1.2.2 Installing the Machining Status Monitor Package ........................................................................ 10
1.2.3 Uninstalling the Machining Status Monitor Package.................................................................... 11
1.2.4 Updating the Machining Status Monitor Package ........................................................................ 13
2 BASIC KNOWLEDGE ...................................................................................................... 142.1 STARTING AND TERMINATING THE MACHINING STATUS MONITOR PACKAGE ................. 15
2.1.1 Starting the Machining Status Monitor Package .......................................................................... 15
2.1.2 Terminating the Machining Status Monitor Package ................................................................... 17
2.2 SCREEN CONFIGURATION AND TERMS......................................................................................... 18
2.3 BASIC OPERATION.............................................................................................................................. 20
2.3.1 Selecting a Worksheet .................................................................................................................. 20
2.3.2 Inputting Data to a Cell................................................................................................................ 21
2.3.3 Scrolling a Worksheet .................................................................................................................. 22
2.4 OPERATION FLOW AND WORKSHEET OUTLINE ......................................................................... 24
3 REGISTERING CNC MACHINES TO BE MONITORED AND DELETINGREGISTERED CNC MACHINES ................................................................................... 273.1 REGISTERING CNC MACHINES TO BE MONITORED AND DELETING
REGISTERED CNC MACHINES (HSSB VERSION).......................................................................... 28
3.1.1 Registering CNC Machines to Be Monitored and Deleting Registered CNC Machines ............. 28
3.1.2 Registering CNC Machines to Be Monitored .............................................................................. 30
3.1.3 Deleting CNC Machines Not to Be Monitored............................................................................ 33
3.1.4 Reregistering Deleted CNC Machines......................................................................................... 37
3.2 REGISTERING CNC MACHINES TO BE MONITORED AND DELETING
REGISTERED CNC MACHINES (ETHERNET VERSION) ............................................................... 39
3.2.1 Registering CNC Machines to Be Monitored and Deleting Registered CNC Machines ............. 39
3.2.2 Registering CNC Machines to Be Monitored .............................................................................. 41
3.2.3 Deleting CNC Machines Not to Be Monitored............................................................................ 44
3.2.4 Registering CNC Machines as the Target to Be Monitored......................................................... 46
3.2.5 Unregistering CNC Machines from the Target to Be Monitored ................................................. 48
B-63364EN/03
c - 2
Table of Contents
4 SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUSMONITOR PACKAGE...................................................................................................... 504.1 SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR
PACKAGE .............................................................................................................................................. 51
4.1.1 Setting Data for Log Data Output Files ....................................................................................... 53
4.1.2 Setting Monitor and Log Items to Be Referenced for CNC Machine Registration...................... 58
5 SETTING AND REGISTERING DATA FOR EACH CNC MACHINE ...................... 605.1 SETTING PARAMETERS FOR EACH CNC MACHINE .................................................................... 61
5.1.1 Specifying whether to Start a Monitor Automatically at Startup.................................................. 63
5.1.2 Setting the Monitor Data Sampling Interval ................................................................................ 65
5.1.3 Setting Log Data Output File Data for Each CNC Machine ........................................................ 67
5.1.4 Setting the Destination of Error Occurrence Information ............................................................ 71
5.2 REGISTERING TARGET ITEMS FOR MONITORING AND LOG DATA OUTPUT........................ 75
5.2.1 Monitor Items and Log Output Items........................................................................................... 78
5.2.2 Example of Registering and Changing Monitor Items and Log Output Items ............................. 104
5.2.3 Inserting Rows into Monitor Items and Log Output Items........................................................... 122
5.2.4 Facilitating Registration and Modification by Displaying Assistance Lists
(Monitor Items and Log Output Items) ........................................................................................ 125
5.2.5 Facilitating Registration and Modification by Displaying Assistance Lists (Log Output Items).. 127
5.2.6 Deleting Rows from Monitor Items and Log Output Items.......................................................... 139
5.3 REGISTERING MACHINING PROGRAM INFORMATION.............................................................. 142
5.3.1 Machining Program Information.................................................................................................. 144
5.3.2 Inserting Rows into Machining Program Information.................................................................. 147
5.3.3 Deleting Rows from Machining Program Information................................................................. 149
6 MONITORING CNC MACHINES AND OUTPUTTING LOG DATA........................ 1516.1 DISPLAYING THE CNC MACHINE MONITOR STATUS ................................................................. 152
6.2 STARTING MONITORING CNC MACHINES .................................................................................... 154
6.2.1 Starting the Monitoring CNC Machines Manually ...................................................................... 155
6.3 STOPPING THE MONITORING OF CNC MACHINES ..................................................................... 157
6.3.1 Stopping the Monitoring of CNC Machines from the Machining Status Monitor Package ......... 158
6.3.2 Stopping the Monitoring of CNC Machines from the Log Data Output File ............................... 160
6.4 OUTPUTTING LOG DATA................................................................................................................... 161
6.4.1 Notes on Outputting Log Data ..................................................................................................... 162
6.4.2 Outputting Error Occurrence Information.................................................................................... 163
6.4.3 Handling Exceptions that Occur during Log Data Output ........................................................... 165
APPENDIXA SYSTEM DATA WORKSHEETS .................................................................................... 169B EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT
ITEMS.................................................................................................................................171
B-63364EN/03 1. SETUP
- 1 -
1 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. SETUP B-63364EN/03
- 2 -
1.1 SET UP (HSSB VERSION)
This section describes the information related to the setup of the HSSB version
of the Machining Status Monitor Package.
See Section 1.2, "SET UP (ETHERNET VERSION)," for the explanations
about the setup of the Ethernet version of the Machining Status Monitor
Package.
1.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
Intelligent Terminal type 2, Intelligent Terminal 3.
�The necessary environment for execution is as follows:
In case of Windows 95
• 75MHz Pentium or higher processor
• 16MB memory or more
In case of Windows NT 4.0
• 120MHz Pentium or higher processor
• 32MB memory or more
In case of Windows 2000 Professional
• 166MHz Pentium or higher processor
• 48MB memory or more
�The commendable environment for execution is as follows:
In case of Windows 95
• 120MHz Pentium or higher processor
• 32MB memory or more
In case of Windows NT 4.0
• 150MHz Pentium or higher processor
• 64MB memory or more
B-63364EN/03 1. SETUP
- 3 -
In case of Windows 2000 Professional
• 233MHz Pentium or higher processor
• 64MB memory or more
�The necessary free space of hard disk is as follows:
20MB free space or more
♦Required software
Microsoft Excel 97 or Microsoft Excel 2000
Microsoft Excel 97 or Microsoft Excel 2000 must be executed normally on
the above-mentioned computer.
NOTE
Please purchase Microsoft Excel 97 or Microsoft Excel 2000 besides the
Machining Status Monitor Package.
1. SETUP B-63364EN/03
- 4 -
1.1.2 Installing the Machining Status Monitor Package
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. (<drive-
name> is the name of the 3.5-inch floppy disk drive.)
5. Perform installation by following the prompts displayed on the screen.
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 one of the followings:
�Personal computer connected to the High Speed Serial Bus Type 2,
FS160i/180i/210i having personal computer functions, or Intelligent
Terminal Type 2, Intelligent Terminal 3
- Release Note (README.TXT) on the driver library floppy disk
(A02B-0207-K730#ZZ07-1)
- Release Note (README.TXT) on the drivers disk (A02B-0207-
K791#ZZ07-1)
- Release Note (README.TXT) on the drivers disk (A02B-0207-
K792#ZZ07-1)
- Release Note (README.TXT) on the drivers disk (A02B-0207-
K793#ZZ07-1)
B-63364EN/03 1. SETUP
- 5 -
1.1.3 Uninstalling 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.
1. SETUP B-63364EN/03
- 6 -
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.
B-63364EN/03 1. SETUP
- 7 -
1.1.4 Updating the Machining Status Monitor Package
To update the Machining Status Monitor Package, you must uninstall the old
one before installing the new one.
But all items that you have customized will be lost by this procedure and the
Machining Status Monitor Package will be restored to the initial setting. So
copy old “Machining Status Monitor Package.xls” as the backup before
uninstalling the old one. Then paste up the items that you have customized on
the worksheets of the new one after updating the Machining Status Monitor
Package.
“Machining Status Monitor Package.xls” usually exists in the following folder.
C:\Program Files\Fanuc\Machining Status Monitor Package\Machining
Status Monitor Package.xls
1. SETUP B-63364EN/03
- 8 -
1.2 SET UP (ETHERNET VERSION)
This section describes the information related to the setup of the Ethernet
version of the Machining Status Monitor Package.
See Section 1.1, "SET UP (HSSB VERSION)," for the explanations about
the setup of the HSSB version of the Machining Status Monitor Package.
1.2.1 Environment
The execution environment of the Machining Status Monitor Package is shown
below.
♦Personal computer
A personal computer connected to FS16i/18i/21i/15i via the Ethernet.
�The necessary environment for execution is as follows:
In case of Windows 95
• 120MHz Pentium or higher processor
• 32MB memory or more
In case of Windows NT 4.0
• 166MHz Pentium or higher processor
• 48MB memory or more
In case of Windows 2000 Professional
• 166MHz Pentium or higher processor
• 48MB memory or more
�The commendable environment for execution is as follows:
In case of Windows 95
• 166MHz Pentium or higher processor
• 48MB memory or more
In case of Windows NT 4.0
• 200MHz Pentium II or higher processor
• 64MB memory or more
In case of Windows 2000 Professional
• 333MHz Pentium II or higher processor
• 128MB memory or more
B-63364EN/03 1. SETUP
- 9 -
�The necessary free space of hard disk is as follows:
20MB free space or more
♦Required software
Microsoft Excel 97 or Microsoft Excel 2000
Microsoft Excel 97 or Microsoft Excel 2000 must be executed normally on
the above-mentioned computer.
NOTE
Please purchase Microsoft Excel 97 or Microsoft Excel 2000 besides the
Machining Status Monitor Package.
1. SETUP B-63364EN/03
- 10 -
1.2.2 Installing the Machining Status Monitor Package
Procedure
1. Insert the disk (A02B-0207-K782#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. (<drive-
name> is the name of the 3.5-inch floppy disk drive.)
5. Perform installation by following the prompts displayed on the screen.
NOTE
The Machining Status Monitor Package is realized using socket
communication (TCP/IP communication) with the FANUC Ethernet
board. Before starting to use this function, check the following items by
referencing the FANUC Ethernet Board Operator’s Manual (B-
63354EN).
• TCP/IP setting at the personal computer
• Setting of the FANUC Ethernet board and FOCAS1
(DNC1)/Ethernet function at the CNC
• Network connection between the personal computer and the CNC
B-63364EN/03 1. SETUP
- 11 -
1.2.3 Uninstalling 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 (Ethernet).
5. Click the <Add/Remove…> button.
The uninstall function starts, asking you whether you really want to
uninstall the Machining Status Monitor Package.
1. SETUP B-63364EN/03
- 12 -
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.
B-63364EN/03 1. SETUP
- 13 -
1.2.4 Updating the Machining Status Monitor Package
To update the Machining Status Monitor Package, you must uninstall the old
one before installing the new one.
But all items that you have customized will be lost by this procedure and the
Machining Status Monitor Package will be restored to the initial setting. So
copy old “Machining Status Monitor Package E.xls” as the backup before
uninstalling the old one. Then paste up the items that you have customized on
the worksheets of the new one after updating the Machining Status Monitor
Package.
“Machining Status Monitor Package E.xls” usually exists in the following
folder.
C:\Program Files\Fanuc\Machining Status Monitor Package\Machining Status
Monitor Package E.xls
2. BASIC KNOWLEDGE B-63364EN/03
- 14 -
2 BASIC KNOWLEDGE
This chapter provides the basic information with which the user must be
familiar before attempting to use the Machining Status Monitor Package.
� Following explanation is described for the HSSB version, but this is
applicable also to the Ethernet version.
B-63364EN/03 2. BASIC KNOWLEDGE
- 15 -
2.1 STARTING AND TERMINATING THE MACHINING STATUSMONITOR 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
Procedure
1. Click the Windows [Start] button.
2. Click [Program].
3. Click
[Machining Status Monitor Package] :HSSB version
[Machining Status Monitor Package (Ethernet)]:Ethernet version
to start it.
If the MS Excel macro virus protection option is not enabled, the
Machining Status Monitor Package starts immediately.
Otherwise, the following message appears:
4. Click the <Enable Macros> button.
The Machining Status Monitor Package screen shown below appears.
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.
2. BASIC KNOWLEDGE B-63364EN/03
- 16 -
Machining Status Monitor Package
B-63364EN/03 2. BASIC KNOWLEDGE
- 17 -
2.1.2 Terminating the Machining Status Monitor Package
Procedure
1. Click [File], then [Exit]. Alternatively, click the button in the upper
right corner 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.
Otherwise, the following message appears:
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.
2. BASIC KNOWLEDGE B-63364EN/03
- 18 -
2.2 SCREEN CONFIGURATION AND TERMS
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
�Menu bar
Used to initiate commands such as [File] and [Edit], and so on.
�Worksheet
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 the 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."
B-63364EN/03 2. BASIC KNOWLEDGE
- 19 -
�Cell
The 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 as “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."
�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."
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.
NOTE
The Machining Status Monitor Package can handle cell positions only in
the A1 format mentioned above. The Machining Status Monitor Package
cannot handle cell positions specified in R1C1 format. If column headers
are numeric as shown below, however, cells are referenced in R1C1
format.
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.
2. BASIC KNOWLEDGE B-63364EN/03
- 20 -
2.3 BASIC OPERATION
This section explains the basics of using the Machining Status Monitor Package.
With the Machining Status Monitor Package, processing is performed by
repeatedly selecting a worksheet and inputting data into its cells.
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 button, located on the left side of the sheet name tabs, to
display the sheet name tab of the target worksheet. Then, click it.
B-63364EN/03 2. BASIC KNOWLEDGE
- 21 -
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. The example assumes that the worksheet has already been selected.
Procedure
1. If the cell into which data is to be input has not been selected (not
indicated with a bold frame) yet, 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.
2. BASIC KNOWLEDGE B-63364EN/03
- 22 -
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.
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.
B-63364EN/03 2. BASIC KNOWLEDGE
- 23 -
When using the vertical 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.
2. BASIC KNOWLEDGE B-63364EN/03
- 24 -
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.
B-63364EN/03 2. BASIC KNOWLEDGE
- 25 -
<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
�[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."
�[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."
�[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."
�[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."
�[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."
2. BASIC KNOWLEDGE B-63364EN/03
- 26 -
�[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.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 27 -
3This chapter describes how to register CNC machines to be monitored and how
to subsequently delete registered CNC machines.
REGISTERING CNC MACHINES TOBE MONITORED AND DELETINGREGISTERED CNC MACHINES
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 28 -
3.1 REGISTERING CNC MACHINES TO BE MONITORED ANDDELETING REGISTERED CNC MACHINES (HSSB VERSION)
This section describes the information related to registering CNC machines and
deleting registered CNC machines about the HSSB version of the Machining
Status Monitor Package.
As for the Ethernet version, see Section 3.2, "REGISTERING CNC
MACHINES TO BE MONITORED AND DELETING REGISTERED
CNC MACHINES (ETHERNET VERSION)".
3.1.1 Registering CNC Machines to Be Monitored and DeletingRegistered CNC Machines
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
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. At this time, never modify the value selected
in the monitor combo box, nor the cell values of the worksheet.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 29 -
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.
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.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 30 -
3.1.2 Registering CNC Machines to Be Monitored
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.
When the Machining Status Monitor Package is started, the CNC machine
registration status is as follows:
� 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
NOTE
�The [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 one of the
followings.
- Release note (README.TXT) on the driver library floppy disk
(A02B-0207-K730#ZZ07-1).
- Release note (README.TXT) on the drivers disk (A02B-0207-
K791#ZZ07-1).
- Release note (README.TXT) on the drivers disk (A02B-0207-
K792#ZZ07-1).
- Release note (README.TXT) on the drivers disk (A02B-0207-
K793#ZZ07-1).
�When 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).
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 31 -
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 Package,
the CNC machine name in the Machining Status Monitor Package becomes
"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.1.3, "Deleting CNC Machines Not
to Be Monitored."
To reregister a CNC machine again after it has been deleted, perform CNC
machine registration. For details of CNC machine reregistration, see
Section 3.1.4, "Reregistering Deleted CNC Machines."
� 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.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 32 -
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.1.3, "Deleting
CNC Machines Not to Be Monitored."
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 33 -
3.1.3 Deleting CNC Machines Not to Be Monitored
A CNC machine can be deleted in the following cases.
�When 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 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.1.4, "Reregistering Deleted
CNC Machines."
�When 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.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 34 -
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.1.2, "Registering CNC Machines to Be
Monitored."
Procedure
�Deleting 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.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 35 -
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.
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.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 36 -
�Deleting 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.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 37 -
3.1.4 Reregistering Deleted CNC Machines
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.
3. Click the <Save> button.
The confirmation message below appears.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 38 -
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.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 39 -
3.2 REGISTERING CNC MACHINES TO BE MONITORED ANDDELETING REGISTERED CNC MACHINES(ETHERNET VERSION)
This section describes information related to registering CNC machines and
deleting registered CNC machines about the Ethernet version of the Machining
Status Monitor Package.
As for the HSSB version, see Section 3.1, "REGISTERING CNC
MACHINES TO BE MONITORED AND DELETING REGISTERED
CNC MACHINES (HSSB VERSION)".
3.2.1 Registering CNC Machines to Be Monitored and DeletingRegistered CNC Machines
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
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. At this time, never modify the value selected
in the monitor combo box, nor the cell values of the worksheet.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 40 -
2. Change the selection item in the monitor combo box of the CNC
machine to be deleted or be as a target to be monitored.
The <Save> and <Cancel> buttons appear.
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 registration, see the subsequent
sections.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 41 -
3.2.2 Registering CNC Machines to Be Monitored
In case of the Ethernet version, you have to register the CNC machine that is
connected via the Ethernet and monitored, by the following procedure
explicitly.
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
2. At the [CNC Machine Registration] worksheet, input IP address in the
column of IP ADDRESS and Port number in the column of Port No. A
host name can be input in IP ADDRESS. And select the column of CNC
Type, then the CNC Type combo box appears. Select a CNC type.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 42 -
3. After selecting a CNC type, select the column of Monitor. The monitor
combo box appears. Select "Execute" or "Do Not Execute".
The <Save> and <Cancel> buttons appear.
4. Click the <Save> button.
The CNC machine is automatically registered as the CNC machine to be
monitored. For the CNC machine, parameter settings, monitor items,
log output items, and the machining program information registration
worksheet are created automatically.
In case that a “host name” is specified for the IP ADDRESS, if the host
name includes the character that is not accepted as the host name, the IP
ADDRESS in the Machining Status Monitor Package becomes "NC-*"
(*: Serial number).
When you don’t want to register the CNC machine, click <Cancel>
button. Input items will be discarded.
NOTE
� When you assign the CNC machine by the “host name” at IP
ADDDRESS, use the following characters for the “host name”:
•Alphabet, A ... Z
•Numerical number, 0 ... 9
•Hyphen
If the “host name” has the other characters than listed above, the IP
ADDRESS in the Machining Status Monitor Package will be "NC-*" (*:
Serial number).
� A unique host name and IP address must be specified to each CNC
machine.
� When you set the CNC type, select the correct CNC type according
the CNC machine to be connected. If CNC type is different from the
connected CNC type, the CNC machine registration must be deleted
and registered again.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 43 -
Explanation
When <Save> button is clicked, parameter settings, monitor items, log
output items and the machining program information registration worksheet
are created automatically, even if the item ,"Execute" or "Do Not Execute",
is selected.
But when "Do Not Execute" is selected, the CNC machine is not registered
into [Monitor Information] worksheet, and it is not recognized as the target
of monitoring.
As for the detail of CNC machine registration at [Monitor Information], see
Section 3.2.4, "Registering CNC Machines as the Target to Be Monitored "
and 3.2.5, "Unregistering CNC Machines from the Target to Be
Monitored".
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 44 -
3.2.3 Deleting Registered CNC Machines Not to Be Monitored
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
2. Change the setting of the monitor combo box to "Do Not Execute."
for the CNC machine to be deleted.
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 IP address, port number, CNC type and monitor combo box
setting of the CNC machine are deleted from the [CNC Machine
Registration] worksheet.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 45 -
The <Save> and <Cancel> buttons disappear, indicating the
completion of CNC machine deletion.
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.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 46 -
3.2.4 Registering CNC Machines As the Target to Be Monitored
A CNC machine that has been registered in the Machining Status Monitor
Package and for which "Do Not Execute" is indicated in the monitor combo
box, can be registered in the [Monitor Information] worksheet and recognized
as the target to be monitored.
At the CNC machine registering, if "Execute" was selected at the monitor
combo box, the CNC machine is already registered in the [Monitor
Information] worksheet.
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
2. Change the setting of the monitor combo box for the CNC machine from
"Do Not Execute" to "Execute".
The <Save> and <Cancel> buttons appear.
3. Click the <Save> button.
The confirmation message below appears.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 47 -
4. Click the <Yes> button.
The <Save> and <Cancel> buttons disappear, the registration of the CNC
machine is added to the [Monitor Information] worksheet.
3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES B-63364EN/03
- 48 -
3.2.5 Unregistering CNC Machines from the Target to Be Monitored
A CNC machine that has been registered in the Machining Status Monitor
Package and for which "Execute" is indicated in the monitor combo box, can be
deleted from the [Monitor Information] worksheet, and recognized as the target
not to be monitored.
At the CNC machine registering, if "Do Not Execute" was selected at the
monitor combo box, the CNC machine is not registered in the [Monitor
Information] worksheet, and not recognized as the target to be monitored.
After this operation being performed, the CNC machine’s parameter settings,
monitor items, log output items, and the machining program information
registration worksheet are not deleted.
Changing the setting of the monitor combo box for the CNC machine to
"Execute" and Clicking <Save> button in the [CNC Machine Registration], the
CNC machine can be registered in the [Monitor Information] worksheet and
recognized as the target to be monitored, again.
Procedure
1. Select the [CNC Machine Registration] worksheet.
The [CNC Machine Registration] worksheet appears.
2. Change the setting of the monitor combo box for the CNC machine from
"Execute" to "Do Not Execute."
The <Save> and <Cancel> buttons appear.
B-63364EN/03 3. REGISTERING CNC MACHINES TO BE MONITORED AND DELETING REGISTERED CNC MACHINES
- 49 -
3. Click the <Save> button.
The confirmation message below appears.
4. Click the <Yes> button.
The <Save> and <Cancel> buttons disappear, the registration of the CNC
machine is deleted from the [Monitor Information] worksheet.
4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE B-63364EN/03
- 50 -
4This chapter describes how to set the general parameters for the Machining
Status Monitor Package, as well as the meanings of those parameters.
SETTING THE GENERALPARAMETERS FOR THE MACHININGSTATUS MONITOR PACKAGE
B-63364EN/03 4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
- 51 -
4.1 SETTING THE GENERAL PARAMETERS FOR THEMACHINING STATUS MONITOR PACKAGE
This section describes how to set the general parameters for the Machining
Status Monitor Package.
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.
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.
4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE B-63364EN/03
- 52 -
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.
B-63364EN/03 4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
- 53 -
4.1.1 Setting Data for Log Data Output Files
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 you select 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."
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.
4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE B-63364EN/03
- 54 -
3. Click the <Save> button.
The change is executed, after which the <Save> and <Cancel> buttons
disappear.
Explanation
�Specification 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.
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.
B-63364EN/03 4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
- 55 -
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
�Specification 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.
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. A character string representing
4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE B-63364EN/03
- 56 -
year/month information is not added to the log data output file names.
For details of the log data output file names, see "Specification of log
data output file name," below.
� 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.
� 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."
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.
B-63364EN/03 4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
- 57 -
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
�Specification 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"
�Specification 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
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.
4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE B-63364EN/03
- 58 -
4.1.2 Setting Monitor and Log Items to Be Referenced for CNC Machine Registration
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. You can set a CNC
machine number as the reference source of the default data .
This setting is available only for the HSSB version.
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.
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.
B-63364EN/03 4. SETTING THE GENERAL PARAMETERS FOR THE MACHINING STATUS MONITOR PACKAGE
- 59 -
Explanation
�Reference 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 60 -
5This chapter explains how to set and register data for each CNC machine and
describes the meaning of that data.
SETTING AND REGISTERING DATAFOR EACH CNC MACHINE
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 61 -
5.1 SETTING PARAMETERS FOR EACH CNC MACHINE
This section explains how to set the parameters for each CNC machine.
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 "FS160-1," the worksheet
name is:
Worksheet name: "Parameter(FS160-1)"
The following explanation assumes the CNC machine name to be "FS160-1."
Procedure
1. Select the [Parameter(FS160-1)] worksheet.
The [Parameter(FS160-1)] worksheet appears.
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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 62 -
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(FS160-1)] worksheet, click the <Cancel> button.
Explanation
For details of the parameters, see the description below.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 63 -
5.1.1 Specifying whether to Start a Monitor Automatically at Startup
The monitor for each CNC machine can be started automatically when the
Machining Status Monitor Package is started.
In case that monitoring items and log output items has been fixed, by setting the
parameter described in this section so that the monitor is started automatically
at startup, simply starting the Machining Status Monitor Package starts the
monitoring.
Procedure
1. Select the [Parameter(FS160-1)] worksheet.
(This worksheet is for setting the parameters for a CNC machine named
"FS160-1.")
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 explanation below.
When the setting of the checkbox is changed, the <Save> and <Cancel>
buttons appear.
NOTE
Even if the monitoring for the CNC machine is set up such that it starts
automatically at startup, the monitor will not be started in case that the
monitor and log output items for that CNC machine contain errors.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 64 -
3. Click the <Save> button.
The change is applied and the <Save> and <Cancel> buttons disappear.
Explanation
� 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:
From 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 65 -
5.1.2 Setting the Monitor Data Sampling Interval
The Machining Status Monitor Package obtains, from a CNC machine, the data
for the monitor items registered on the monitor and 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.
NOTE
� 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.
� It is not guaranteed the sampling of the monitoring data is executed every
specified sampling interval. The sampling interval might be longer than the
specified value when some processes which require the heavy CPU power
are executed on the Machining Status Monitor Package or other
applications.
� 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 shorter 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.
� For the Ethernet version, the real sampling interval might be longer than the
specified one according to the condition of the Ethernet communication
traffic, so it is not guaranteed the sampling of the monitoring data is
executed every specified sampling interval.
In the following condition, the number of machine signals to be acquired is
about twenty.
CPU: Pentium 166MHz
The sampling Interval: 1 sec.
The condition of Ethernet connection: one PC + one CNC
When the sampling time is over, an error log is output (Only first occurring).
Set the appropriate interval according to the operating environment and use.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 66 -
Procedure
1. Select the [Parameter(FS160-1)] worksheet.
(This worksheet is for setting the parameters for a CNC machine having
the name "FS160-1.")
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
� Monitor data sampling interval
Set the time interval at which monitor data is to be obtained from the CNC
machine.
・HSSB version
A value between 0.1 and 60.0 seconds can be set.
・Ethernet version
A value between 1.0 and 60.0 seconds can be set.
The default is 1.0 second.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 67 -
5.1.3 Setting Log Data Output File Data for Each CNC Machine
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 parameter setting in this section, the following data is set:
• Output style when a new month begins, automatic saving interval, output
file name, output folder name, and so on, for the log output file of the CNC
machine in case that the log data is set to be output to a separate file.
Procedure
1. Select the [Parameter(FS160-1)] worksheet.
(This worksheet is for setting parameters for a CNC machine with the name
"FS160-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 explanation below.
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."
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 68 -
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
�Specification 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.
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:
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 69 -
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.
�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.
�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."
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 "FS160-1" and the
specified file name is "LOGFILE," the following log data output file
names are used:
LOGFILE(FS160-1)(1998-4).xls: Log file for FS160-1 for
April 1998
LOGFILE(FS160-1)(1998-5).xls: Log file for FS160-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 "FS160-1" and the
specified file name is "LOGFILE," the following log data output file
name is used:
LOGFILE(FS160-1).xls
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 70 -
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(FS160-1)(1998-5).xls: Existing file having the
same name
LOGFILE(FS160-1)(1998-5)-1.xls: Newly created log file for
May 1998
�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"
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 71 -
5.1.4 Setting the Destination of Error Occurrence Information
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(FS160-1)] worksheet.
(This worksheet is for setting parameters for a CNC machine having the
name "FS160-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 explanation below.
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:
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 72 -
When the <OK> button is clicked, worksheets are added to or 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 73 -
Explanation
�Specification 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.
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.
�Specification 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.
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."
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 74 -
The default output position is "A4."
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 75 -
5.2 REGISTERING TARGET ITEMS FOR MONITORING AND LOGDATA OUTPUT
This section explains how to register monitor items and log output items.
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 "FS160-1," the worksheet name is:
Worksheet name: "Monitor, Log(FS160-1)"
The following explanation assumes the CNC machine name to be "FS160-1."
Procedure
1. Select the [Monitor, Log(FS160-1)] worksheet.
The [Monitor, Log(FS160-1)] worksheet appears.
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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 76 -
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 or 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 77 -
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(FS160-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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 78 -
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 Description
Item type 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 79 -
Member name Description
I/O type 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 80 -
2. Item type
Item types prepared in the Machining Status Monitor Package and its
function of the each item type are as follows.
Item type Function
Machine Signal 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 Current date is acquired from the personal computer.
Week Current day of the week is acquired from the personal
computer.
Time Current time is acquired from the personal computer.
Calculate The calculated value is acquired.
Machining Result 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 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 81 -
The item types are divided into the following groups.
�Monitoring item
All item types except "Log Output"
�Logging output item
"Log output"
NOTE
�When in the DNC operation mode, the correct main program number
cannot be acquired at item type "O Number(Main)".
� 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 82 -
The effective member for each item type is as follows.
Member
Item type
Item
Name
Con-
dition
I/O
Type
Real
Value
Output
Value
Add-
ress
Data
Type
Machine Signal O O O ∆ O O O
Log Output O O O × O O ×
Date O O O ∆ O × ×
Week O O × ∆ O × ×
Time O O O ∆ O × ×
Calculate O × × × O × ×
Machining Result O O × ∆ O ∆ ∆
O Number (Current) O O O ∆ O × ×
O Number (Main) O O O ∆ O × ×
Sequence Number O O O ∆ O × ×
Parts Total O O O ∆ O × ×
Parts Required O O O ∆ O × ×
Parts Count O O O ∆ O × ×
Power On O O O ∆ O × ×
Operating Time O O O ∆ O × ×
Cutting Time O O O ∆ O × ×
Free Purpose O O O ∆ O × ×
Cycle Time O O O ∆ O × ×
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.
�Item 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 83 -
�Condition
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.
�I/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.
�Real 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."
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 84 -
�Output 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.
• 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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 85 -
�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
�Data 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)
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 86 -
-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
The setting example for monitoring the following machine signal is
illustrated below.
Monitor data : Counter signal of CNC machine (Address:C0000).
Data type : Long type
Condition : When the value changes
I/O type : 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.
�Item 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.
/ : [ ] *
�Condition
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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 87 -
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.
�I/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 B
Specified top 1 Index 1 Index 2
cell position 2 Log1-1 Log2-1
3 Log1-2 Log2-2
4 Log1-3 Log2-3
NOTE
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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 88 -
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 B C D
3 Log11-1 Log12-1
4 Log21-1 Log22-1
5 Log11-2 Log12-2
6 Log21-2 Log22-3
�Output value
Set the cell position of the monitoring item where the logging data is
acquired, by the calculation formula.
NOTE
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.
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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 89 -
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.
�Address
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
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 90 -
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. Refer to "(1) Machine
Signal" for setting the monitoring item.
Output worksheet name : Value of counter
Cell position for output : Counter1 = A2, Counter 2= B2
Condition : When either value of counters changes
I/O type : Overwrite output
(3) Date, Time
• Date
The current date is acquired from the personal computer.
• Time
The current time is acquired from the personal computer.
�Item 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.
�Condition
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
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 91 -
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.
�I/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.
�Real 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
�Output 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
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 92 -
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 : None (Acquire at sampling intervals)
I/O type : Current value
Output value : = Real value
(4) Week
The current day of the week is acquired from the personal computer.
�Item 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.
�Condition
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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 93 -
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.
�Real 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 5 : Thursday
2 : Monday 6 : Friday
3 : Tuesday 7 : Saturday
4 : Wednesday
�Output 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 94 -
• 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 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.
�Item 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.
�Output 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& ")"
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 95 -
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.
�Item 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.
�Condition
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).
NOTE
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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 96 -
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.
�Real 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.
�Output 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
NOTE
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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 97 -
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.
�(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.
�(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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 98 -
(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.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 99 -
�Item 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.
�Condition
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.
NOTE
�When in the DNC operation mode, the correct main program number
cannot be acquired at item type "O Number(Main)".
� 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 100 -
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.
�I/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.
�Real 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.
�Output value
Set the calculation formula to convert the "Real value" into the
"Output value", or the display format of outputting as the logging
data.
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 101 -
• 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 : Start of the program
I/O type : 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.
5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE B-63364EN/03
- 102 -
Function
name
Interface, Description, and Example
F_ISON Interface:
F_ISON(Cell position)
Description:
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)
B-63364EN/03 5. SETTING AND REGISTERING DATA FOR EACH CNC MACHINE
- 103 -
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 Condition 1
Monitor item N+1 *****************
Monitor item N+2 Condition 2(depends on the value of monitoring
item N)
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 151 -
6This chapter explains how to start and stop the monitoring of CNC machines,
and how to handle exceptions that occur during log data output.
� Following explanation is described for the HSSB version, but this is
applicable also to the Ethernet version.
MONITORING CNC MACHINESAND OUTPUTTING LOG DATA
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 152 -
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 Monitor state
Executing Monitoring of the corresponding CNC machine is being
performed normally.
Stop Monitoring the corresponding CNC machine is stopped.
Power Off 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 at
a High Speed Serial Bus driver, or an Ethernet communication
error at Ethernet connection environment.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 153 -
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.
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 154 -
6.2 STARTING MONITORING CNC MACHINES
In order to start-up the monitoring the CNC machines, there are two methods as
follows.
�Manual
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."
�Auto
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.
NOTE
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.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 155 -
6.2.1 Starting the Monitoring CNC Machines Manually
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.
"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
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 156 -
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.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 157 -
6.3 STOPPING THE MONITORING OF CNC MACHINES
In order to terminate the monitoring the CNC machines, there are two methods
as follows.
�From 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."
�From 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."
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 158 -
6.3.1 Stopping the Monitoring of CNC Machines from 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.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 159 -
3. Click the <Apply> button.
The monitoring of CNC machines ends, and "Executing" or "Power-
Off," 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.
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 160 -
6.3.2 Stopping the Monitoring of CNC Machines from 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."
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 161 -
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.
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 162 -
6.4.1 Notes on Outputting Log Data
NOTE
�Do 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.
� 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.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 163 -
6.4.2 Outputting Error Occurrence Information
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
6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA B-63364EN/03
- 164 -
NOTE
� Error 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."
� Error 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.
� In the Ethernet version, some error logs are outputted in [Common Error
Output Sheet] worksheet when a monitoring is started.
B-63364EN/03 6. MONITORING CNC MACHINES AND OUTPUTTING LOG DATA
- 165 -
6.4.3 Handling 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.
�When 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.
�When 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.
APPENDIX
B-63364EN/03 A. SYSTEM DATA WORKSHEETS
- 169 -
A SYSTEM DATA WORKSHEETS
The system data worksheets are used to define and store data related to the
Machining Status Monitor Package.
The following describes the types and names of system data worksheets and
outlines the data.
�Default 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."
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.
A. SYSTEM DATA WORKSHEETS B-63364EN/03
- 170 -
�Storage of system data
Worksheet name
SYS_WORK_WORK
Outline of data
Data related to this system is stored when the Machining Status Monitor
Package terminates.
�Definition of message data
Worksheet name
SYS_MESSAGEDT
Outline of data
Message data used by the Machining Status Monitor Package is defined.
B-63364EN/03�� B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 171 -
BThis 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:
�O number and sequence numbers of the program being executed
�Main program operation data (start date and time, end date and time,
main program number, execution time, cutting time, and noncutting
time)
�Data 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)
EXAMPLES OF REGISTERING MONITORITEMS AND LOG OUTPUT ITEMS
B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS B-63364EN/03
- 172 -
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.
�Line 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.].
NOTE
�The following option is required to obtain correct cutting and
noncutting times:
• Machining Time, Parts Count option
�To 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 of how to register machining program
information, see Section 5.3, "REGISTERING MACHINING
PROGRAM INFORMATION."
B-63364EN/03�� B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 173 -
�Line 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.].
�Line 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].
�Line 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:
F0000] is obtained at each sampling [Condition: None], and the
obtained value is used as the output value [Output Value: =E9] as is.
The name of this monitor item is "SPL" [Item Name: SPL].
�Line 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.
B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS B-63364EN/03
- 174 -
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."
�Line 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.
�Line 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.
�Line 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.)
B-63364EN/03�� B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 175 -
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.
�Line 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.
�Line 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.
B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS B-63364EN/03
- 176 -
� Line 16
Calculation is performed [Item Type: 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.
�Line 17
Calculation is performed [Item Type: Calculation] using the
computational expression [=Executing 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].
�Line 18
Calculation is performed [Item Type: Calculation] using the
computational expression [=Blank(cell E18)], and the result is used as
the output value [Output Value: =E18].
The name of this monitor item is "Dummy Data" [Item Type: Dummy
Data].
�Line 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.
B-63364EN/03�� B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 177 -
� 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.
�Line 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: Executing
Program] 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.
� 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.
� 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)))].
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.
B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS B-63364EN/03
- 178 -
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.
� 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.].
� 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].
� 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].
B-63364EN/03�� B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 179 -
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.)
B-63364EN/03
i - 1
INDEX
C
Cell
Cell .................................................................................19
A1 format........................................................................19
R1C1 format ...................................................................19
Inputting data to a cell ....................................................21
D
Deleting
Deleting CNC machines.............................................33,44
Reregistering deleted CNC machines .............................37
E
Environment .......................................................................2,8
Error
Outputting error occurrence information ......................163
Setting the destination of error occurrence information..70
I
Installing the machining status monitor package ..............4,10
M
Machining program information
About machining program information.........................144
Registering machining program information ................142
Menu bar..............................................................................18
Monitor data sampling interval ............................................65
Monitoring
Registering CNC machines as the target to be monitored
.............................................................................................46
Displaying the CNC mahine monitor status..................152
Starting monitoring CNC machines ..................63,154,155
Stopping the monitoring of CNC machines ...157,158,160
Unregistering CNC machines from the target to be
monitored.............................................................................48
Monitor items and log output items
Example of registering and changing monitor items and
log output items................................................................. 104
Facilitating registration and modification by displaying
assistance list ..................................................................... 125
Registering target items for monitoring and log data
output ............................................................................ 75
O
Operation flow and worksheet outline................................. 24
Outputting a log data
Handling exceptions that occur during log data output 165
Notes on outputting log data ........................................ 162
Specification of a log data file used when a transition is
made from one month to the next........................................ 55
Specification of a log data output desitnation for each
CNC machine ...................................................................... 54
Specification of an automatic save interval for a log data
output file ............................................................................ 56
Specification of the log data output file name ................ 56
Specification of the log data output folder name............ 57
Specification of whether to prohibit the overwriting of an
existing file.......................................................................... 57
P
Parameter
Setting parameter for each CNC machines..................... 61
Setting the general parameter for the machining status
Monitor Package ................................................................. 51
R
Registering
Registering CNC machines ....................................... 30,41
S
Scroll bar ........................................................................ 18,23
B-63364EN/03
i - 2
INDEX
Starting
Being enables macros .....................................................15
Specifying whether to start a monitor automatically at
startup ..................................................................................63
Starting the machining status monitor package.............. 15
Special logical function of the machining status monitor
Package..............................................................................101
T
Terminating the machining status monitor package.............17
U
Uninstalling the machining status monitor package..........5,11
Updating the machining status monitor package ..............7,13
W
Worksheets
[CNC Machine Registration] worksheet ........................ 25
[Parameter(Common)] worksheet .................................. 25
[Parameter( )] worksheet ................................................ 25
[Monitor.Log( )] worksheet............................................ 25
[Program( )] worksheet .................................................. 25
[Monitor Information] worksheet................................... 26
System data worksheets................................................ 169
Worksheets..................................................................... 18
Worksheet name tabs...................................................... 18
Scrolling a worksheet ..................................................... 22
Selecting a worksheet ...................................................... 20
Re
vis
ion
Re
co
rd
FA
NU
C O
PE
N C
NC
Ma
chin
ing
Sta
tus
Mo
nit
or
Pa
cka
ge
OP
ER
AT
OR
’S M
AN
UA
L (
B-6
33
64
EN
)
03
Au
g.,
20
00
- A
dd
itio
n o
f E
the
rne
t
02
No
v.,
19
99
- F
S1
50
i is
su
pp
ort
ed
.-
Mic
roso
ft E
xce
l 2
00
0 i
s su
pp
ort
ed
.
01
De
c.,1
99
8
Ed
itio
nD
ate
Co
nte
nts
Ed
itio
nD
ate
Co
nte
nts
· No part of this manual may bereproduced in any form.
· All specifications and designsare subject to change withoutnotice.