Beruflich Dokumente
Kultur Dokumente
University of Auckland
21 September 2010
i
2010-ME01
ABSTRACT
This project focuses on the integration of a tool pre-setting and tool delivery for
tool set up system at Accord Precision. One of the major problems faced by the
company is to transfer tool offset data produced by the measuring device to the
Computer Numerical Control (CNC) machines efficiently. This is because the
current manual approach is evaluated as a bottleneck process; therefore, reduces
the efficiency of the production process. In conjunction with that, the main goal of
this project is to create an automated system to integrate the tool pre-setting and
tool delivery tasks.
As a result, the automated system is more efficient when 12 or more tools are
used. It is estimated that 55% of time can be saved when measuring forty different
tools. Furthermore, the accuracy of a tool set-up and tool deliver processes can be
increased since the human mistakes and abnormalities from the manual approach
can be eliminated.
Thus, it was concluded that by implementing the automated system, the tool set-
up process will become more efficient, organized, systematic and accurate.
ii
2010-ME01
Acknowledgement
First, I would like to thank my academic supervisor Dr. Martin McCarthy, lecturer in Mechanical
Engineering department for providing me with a lot of academic support and guidelines throughout the
project. Furthermore, I would like to express my gratitude to Accord‟s employees, especially Mr.
Russell Craft for allowing me carrying out the project the inside the company facility and giving me
advice regarding the technical aspects of the project. Last but not least I would like to express my
utmost appreciation to my project partner, Aqmal Zahran Amzah for his commitment and contribution
to this project. Thank you.
.................................................................
(MOHD KAMARULNIZAM ABDUL RAHIM)
iii
2010-ME01
Table of Contents
Glossary of Terms and Abbreviations ................................................................................................ vi
1.0 Introduction ..................................................................................................................................... 1
1.1 Company Background ................................................................................................................... 1
1.2 Current Problem ............................................................................................................................ 1
1.3Terms and Definitions .................................................................................................................... 1
1.3.1 Tool Offset Values ................................................................................................................. 1
1.3.2 Tool Pre-Setting and Tool Delivery ....................................................................................... 2
1.4 Goal and Objectives ...................................................................................................................... 2
2.0 Current System Overview .............................................................................................................. 3
2.1 Plant Layout .................................................................................................................................. 3
3.0 Literature Review............................................................................................................................ 4
3.1 Measuring Device ......................................................................................................................... 4
3.2 Post Processor ............................................................................................................................... 4
3.3 CNC Milling Machines ................................................................................................................. 5
3.4 Data Delivery Modes .................................................................................................................... 5
4.0 Current System Time Cycle ........................................................................................................... 6
5.0 Data Transfer – Measuring Device to Computer ......................................................................... 6
6.0 Electronic Offset File - Formatting................................................................................................ 7
6.1 Post Processor ............................................................................................................................... 7
6.2 CNC Milling Machines ................................................................................................................. 7
6.3 Solutions........................................................................................................................................ 8
6.3.1 Alter Post Processor Codes .................................................................................................... 9
6.3.2 Acquire New Post Processor .................................................................................................. 9
6.3.3 File Conversion by Microsoft Excel ...................................................................................... 9
7.0 Electronic Offset File Converter by Microsoft Excel ................................................................. 10
7.1 Creating a Macro ......................................................................................................................... 12
7.2 Working Procedure ..................................................................................................................... 12
7.3 Outputs ........................................................................................................................................ 13
8.0 File Delivery Methods and Tool Pre-Setting............................................................................... 14
8.1 Flash Drive .................................................................................................................................. 14
8.2 Intranet system ............................................................................................................................ 14
8.2.1 CNC Machine Tool Pre-Setting ........................................................................................... 15
8.2.2 Computer Server Configuration ........................................................................................... 16
9.0 Automated System Trial ............................................................................................................... 17
9.1 Time Cycle Analysis ................................................................................................................... 17
9.2 System Compatibility Analysis ................................................................................................... 18
9.2.1 Outcomes.............................................................................................................................. 18
10.0 Results and Discussions .............................................................................................................. 19
10.1 Time Cycle Analysis ................................................................................................................. 19
iv
2010-ME01
10.2 System Efficiency ..................................................................................................................... 19
10.3 System Compatibility ................................................................................................................ 20
10.3.1 Systems Comparison .......................................................................................................... 21
10.4 Automated System Overview.................................................................................................... 22
11.0 Conclusion .................................................................................................................................... 23
12.0 Challenges .................................................................................................................................... 23
13.0 Recommendations for Future Works ........................................................................................ 24
13.1 Remaining Issues ...................................................................................................................... 24
13.2 Recommendations for improvement ......................................................................................... 24
14.0 List of References ........................................................................................................................ 25
Appendix 1 – CNC Milling Machines ................................................................................................ 26
Appendix 2 – Manual Approach Time Study ................................................................................... 27
Appendix 3 – Data Transfer Connection .......................................................................................... 28
Appendix 4 – Excel Template Screenshots ....................................................................................... 31
Appendix 5 – Creating Macro ............................................................................................................ 33
Appendix 6 – Tool Offset File for CNC Machines ........................................................................... 35
Appendix 7 – CNC Machines Control Panel .................................................................................... 38
Appendix 8 – Automated System Time Study Sheet ........................................................................ 40
Appendix 9 – Excel Data Sheet for Five Tools.................................................................................. 44
Appendix 10 – Excel Data Sheet for Forty Tools and System Efficiency Data Sheet ................... 44
v
2010-ME01
Table of Contents
Figure 1: Accord Precision Ltd. .............................................................................................................. 1
Figure 2: Broken Tools. .......................................................................................................................... 2
Figure 3: Current System Overview........................................................................................................ 3
Figure 4: Plant Layout. ............................................................................................................................ 3
Figure 5: Measuring Device. ................................................................................................................... 4
Figure 6: CNC Machines......................................................................................................................... 5
Figure 7: Heidenhain Post Processor Output. ......................................................................................... 7
Figure 8: Maho Post Processor Output. .................................................................................................. 7
Figure 9: Mill Plus Post Processor Output. ............................................................................................. 7
Figure 10: Correct Offset File Format..................................................................................................... 8
Figure 11: Heidenhain Post Processor Codes.......................................................................................... 9
Figure 13: Machine 70 Offset File Template . ...................................................................................... 10
Figure 12: File Conversion by Microsoft Excel. ................................................................................... 10
Figure 14: Measured Values Template. ............................................................................................... 11
Figure 15: Output File Produced by the Excel Converter. .................................................................... 13
Figure 16: CNC Machine Tool Pre-Setting procedures. ....................................................................... 15
Figure 17: Computer Server Configuration Procedures. ....................................................................... 16
Figure 18: Time Cycle for Five Measured Tools. ................................................................................. 17
Figure 19: Time Cycle for Forty Measured Tools. ............................................................................... 19
Figure 20: Tool Number vs. Time Cycle. ............................................................................................. 20
Figure 21: Systems Comparison. .......................................................................................................... 21
Figure 22: Automated System Overview. ............................................................................................. 22
vi
2010-ME01
1.0 Introduction
In most manufacturing facilities, every CNC milling machine requires a set-up system of the
machining tools in order to allow the machine to identify the condition of the tools before
manufacturing process can begin. As a tool will be used in thousands of operation throughout its life
cycle, its condition and dimensions might change over time. The purpose of this project is to set up an
“automated system of tool pre-setting and tool delivery for the machining operation” at Accord
Precision Limited in Pakuranga, Auckland. This system to be developed to assist the operators of the
company to do their job more efficiently and systematically.
The tool offset values can be obtained by using a measuring device called DMG Micro vision 2. This
device measures the dimensions of the tools and compared them with the standard calibrated
dimensions to obtain the offset values. The details of the measuring device will be discussed later in
the report.
Furthermore, the absence of a tool offset values in CNC machines could be hazardous. This is because
the machines will assume that the conditions of the tools are perfect. As a result, it could damage the
tools and the machine‟s die. Consequently, the machining products are manufactured outside of their
specifications. Following figures are the examples of broken tool‟ images due to the absence of offset
values.
1
2010-ME01
2
2010-ME01
Measure tools
Tool offset
values
Record tool offset
values
Container MC67 3 MC 61 MC 58
MC 63 MC 70
2
MC 60 MC 59
Legends
MC 66 1 – Measuring Device
Other manufacturing 2 – Computer connected to
area measuring device
3 – Computer connected to
CNC machines
MC 59 - Control Panel
- Travelling route
3
2010-ME01
Connection to the external tool management system (computer) can be achieved by using Ethernet
interface or RS-232 port (see section 3.4). This connection will transfer the measured data from the
measuring device to the computer. In this case, computer will act as the controller for the measuring
device. Besides, Microvision 2 has a simple menu control system, operated with a regular mouse in
which all functions can be selected easily through the menu bar.
A post processor will create a new electronic output file or document of the measured tool offset
values, which can be uploaded and interpreted by the CNC machines. Note that different version of
CNC machine requires a different output format, thus requires a different version of post processor.
Usually the CNC machine manufacturer or the measuring device manufacturer will provide a suitable
post processor for a particular machine. Examples of the post processor available in Accord are
Heidenhain, Maho and Mill Plus.
Furthermore, post processor software is used for data transmission between a computer and a
measuring device. Although the post processors create a new electronic output file; it does not have
the function to transfer those file to the computer. Thus, software called TNCremont is used to obtain
the file created by the post processor. In order to obtain the file, computer and measuring device are
connected through the serial interface (RS-232) or the Ethernet interface. Moreover, the software
provides a convenient data transfer interface to establish a new output file created by the post
processor [5]. This software also can locate the newly converted output file into a desirable folder on
4
2010-ME01
the computer or into the main server storage. In addition, the output file can be viewed using a simple
Notepad or Word Pad program.
Most of the CNC machines have up to forty slots for tool placement (refer figure above). This means a
machine can be operated by using up to forty different tools in one time. This also means that one
machine can receive up to forty different offset values. Currently, operators will key in each offset
value to the machine via a control panel. Control panel for every machine is operated by a controller.
This controller will obtain those values and send the signal to the milling centre. Note that every
control panel has a different version of controller, thus can only interpret a specified format of the tool
offset file. Refer appendix 1 for a detailed list of the machines along with its properties.
For the purpose of this project, Accord requires nine machines inside the factory line to be integrated
with the new automated system. There are four different machine manufacturers which are HAAS,
Fanuc, Akira Seiki and Mynx. HAAS uses its own controller while others machine uses controller
designed by Fanuc. To summarise, HAAS machines can only receive an offset file format set by
HAAS and the same things is true for Fanuc machines [6] [7]. Further analysis of the controllers and
its suitable file format is discussed on section 6.2.
As technology evolves, new modes have been introduced. Hence, many machine manufacturers begin
to use the flash drive or widely known as the USB drive for data delivery operation. This mode
requires a USB port on both machine and computer to accommodate the flash drive. The data delivery
operation using a flash drive is much quicker and easier. Besides, the drive is typically removable and
rewritable [10].
5
2010-ME01
Another mode for data delivery is by using Intranet system of the company. An intranet is a private
computer network that uses Internet Protocol technologies to share any part of an organization‟s
information [11]. This means all computers and machines inside the Accord facility are connected to
the main server which stores all information of the company. Nobody outside the company has access
to this network, and it is also protected by a security codes. Currently, Accord uses its intranet system
to transfer the G codes from a computer to the milling machines for the machining process. There are
few computers in the factory that have access to the server‟s information and can deliver the data
directly to the machine (refer section 2.1). Therefore, there might be a possibility to transfer the offset
values file using Intranet system.
1) Click on „System‟ tab on the measuring device monitor interface. Then click „PP-
measurement series‟ >>‟ New‟ >> „Heidenhain‟
2) Put tool in the slot and measure the offset by using the knob
3) Click „print‟ icon on the monitor
4) Key in tool number inside the blank space (beside T-NR). Then click „store‟
5) Repeat step 2 until step 4 to measure different tools
6) Open TNCremont software on the computer
7) Click on „server application‟ button
8) Open configuration window by clicking „configuration‟ button at the server window. At the
configuration window, select „MILL PLUS‟ as the control model and select „Receive (Data
I/O)‟ as the transfer protocol. Then click „OK‟
9) Create new file for the offset value by clicking „File‟ button. Then key in the file name and
choose the location of the file to be saved (for example c:/measuring outputs). Then click
„Save‟.
10) On the measuring device monitor, click Heidenhain icon
11) On the Heidenhain window, click „send list‟. List of offset values will be transferred to the
computer
12) Close the server window on the computer and open the offset file at the saved location
**This steps are accompanied by pictures to aid the users which can be referred at appendix 3.
6
2010-ME01
From the output results, we can see that each post processor produces a different version of the offset
file. As mentioned earlier, the CNC machine can only accept the format of the output file determined
by its manufacturer. Hence, to prove this statement, these offset files were uploaded to the CNC
machine. Machine 70 was used to carry out this experiment. Unfortunately, the machine cannot
interpret any offset file produced by these post processors. Thus, it was assumed that these post
processors are not suitable for any CNC machine in the company.
Using a flash drive is fairly easy. The first step is to insert the flash drive into the USB port on the
control panel. Then copy the tool offset values file to the flash drive by navigating the buttons on the
control panel. Most of the new HAAS milling machines has the USB port installed on its control
panel, and has the „copy‟ keypad on their control panel [6]. Example of HAAS machines which have
the USB compatibility are machine number 59, 66, and 70 (refer to appendix 1 for machine‟s
compatibility and refer section 8.2.1 for detailed steps on how to obtain offset file from the machines).
For the old machines or the machines which do not have USB compatibility, intranet network is used
to obtain the file. As mentioned in section 2.1, Accord has several computers connected to the main
server via intranet network. Data transfer between these two devices is accomplished using software
called Easy DNC. This software provides direct data transfer from computer to CNC machine using an
intranet network [12]. Usually, user is required to copy G-Codes file into the software, and the data
7
2010-ME01
will be automatically transferred to the machine (detailed steps on how to transfer or receive data is
explained in section 8.2.1). The advantage of this software is that it can communicate both ways. If
data can be uploaded to the machine, data also can be downloaded from the machine. Hence, to
acquire the correct offset file format from the machine, Easy DNC software has the function to do that.
To illustrate, figure below represents the example of a correct offset file format from the machine:-
%
(TOOL OFFSET)
N000 V13898
(DIMENSIONING= MM)
(LENGTH AND WEAR)
( CLNT_P L_GEOM L_WEAR R_GEOM R_WEAR FLUTES)
H01 C19 L0.000 W0.000 R0.000 E0.000 F2
H02 C17 L0.000 W0.000 R0.000 E0.000 F2
H03 C16 L0.000 W0.000 R0.000 E0.000 F2
H04 C17 L0.000 W0.000 R0.000 E0.000 F2
H05 C19 L0.000 W0.000 R0.000 E0.000 F2
H06 C19 L0.000 W0.000 R0.000 E0.000 F2
H07 C22 L0.000 W0.000 R0.000 E0.000 F2
H08 C19 L0.000 W0.000 R0.000 E0.000 F2
H09 C15 L0.000 W0.000 R0.000 E0.000 F2
......
......
6.3 Solutions
As mentioned in previous section, the main problem is how to transform measured tool offset values
file into a desirable format accepted by the CNC machines. The differences among the formats are due
to the incorrect post processors used. Thus, to solve this problem, post processors must be changed or
the codes within the post processors need to be altered. In conjunction with that, three approaches
were executed in order to produce a desirable format. Those approaches are:-
8
2010-ME01
6.3.1 Alter Post Processor Codes
An experiment was conducted by altering few codes within the post processor file to find out whether
it can produce a similar desirable format. This is more of a trial and error approach. Few codes are
adjusted, omitted, added or replaced to see any adjustment made to the file. Example of codes used to
create a post processor is shown below.
[PARAMETER]
NAME="Heidenhain TNC-1"
UNIT="MM"
X="ABS"
X_DIA="NO"
Z="ABS"
Z_DIA="NO"
[TOOL_VALUE]
?Z?="%-9.3f"
?X?="%-9.3f"
[TOOL_INPUT]
?T-NR?="%2u"
[LIST]
?T-NR?
?Z?
[HEADER]
"BEGIN TOOL.T MM\r\n"
"T L R R2 DL DR PLC\r\n"
[TOOL]
"%-8u",?T-NR?
"%-+12.3f",?Z?
"+0",?X?
"\r\n"
[END]
Figure 11: Heidenhain Post Processor Codes.
The codes shown above are used inside the Heidenhain post processor. These codes produce an exact
offset file as illustrated on figure 10. Many alterations have been made to produce an output file
similar to the figure. However, none of these alterations produce the exact format. Furthermore, these
codes are not based on any familiar programming language such as C, C++ or JAVA. It is based on a
standard format approved by the machine‟s manufacturer and only people in that organization know
about the codes. As mentioned before, post processor is a translator, not common programming
software. Thus, it is almost impossible to learn this code in a restricted time scale and this experiment
is considered as unsuccessful.
9
2010-ME01
File produced
by the Excel
measuring Accepted file
device Converter
Figure above represent the template required for machines 70. Note that this template is similar to the
desirable offset file as illustrated on figure 10. Moreover, as this project requires nine CNC machines
to be integrated, there will be nine different Excel converters for each machine. This is so since every
machine requires different offset formatting. Screen shot of every machine‟s template can be referred
at appendix 4.
Referred to the excel template above, there are two tabs on the program. One tab named „MC70‟ and
the other tab named „input‟. The function of the „input‟ tab is to list all measured tool offset values.
These values are obtained from the file produced by the measuring device (refer section 5.0). The
following figure illustrates this tab.
10
2010-ME01
Note that this template represents the output file produced by the measuring device using the
Heidenhain post processor. However, the format is slightly different in comparison to the output
format shown in figure 7 on section 6.1. This is because the codes inside the Heidehain post processor
are altered for this machine. As a consequence, due to the different format requirement for every
machine, there are three different types of post processors used for this project. Basically, these post
processors were being altered from the original Heidenhain post processor to be used by the measuring
device to produce an output file of the offset values. Then, the output file was transferred into Excel
converter for conversion purposes as shown in the diagram above. The newly altered codes of the post
processors and the outputs it produce are shown as followed.
11
2010-ME01
1) Imports CNC machine offset file (see section 6.2) into the Excel and locate it under the
„MC##‟ tab name. While importing, use the „Delimited‟ during the „import file wizard‟. Then
click next and choose „Tab‟ and „Space‟ as the delimiters
2) Click on the „Developer‟ tab.
3) On the CNC machine template, produce two separate buttons using „Insert‟ tab on the
„Controls‟ panel
4) Create Macros for both buttons by selecting the „Record Macro‟ function on the „Code‟ panel.
Note that each button used different macro
5) A „Record Macro‟ window will appear. Enters all details required for the Macro
6) After clicking the „OK‟ button, the Macro will start automatically. This means every work or
action performs in the Excel will be recorded. Also note the stop button on the bottom left of
the Excel window. This button needs to be clicked when the process are completed.
7) Import the measured offset values file into the Excel. Example of the file is shown in figure
14. Then, place the file in the „Input‟ tab section. After that click the „stop‟ button
8) Assign this Macro to the first button by right click on the button, and select „Assign Macro‟.
Assign Macro window will appear and then choose the required Macro name
9) Perform „Copy‟ and „Paste‟ action between the „Input‟ tab and the „MC##” tab in order to
transfer the offset values into the MC## tab. Below is the example of formula used to perform
this action
=IF(ISNA(VLOOKUP(1,[MC70.xlsm]Input!A2:B199,2,FALSE)),"L0.000",VLOOKUP(1,[MC70.xlsm]Input!A2:B199,2,FALSE))
10) Repeat step 5, 6, 7, and 8 to produce another Macro for „Produce Output‟ button. Lastly, save
the complete Excel Converter to the required folder for further operation
**Refer appendix 5 for work instruction of the steps above accompanied with aided pictures
The objective of using the Macros is to ease the data conversion process. User does not have to copy
and paste every single measured value to the CNC machine template. Hence the time taken to
complete this task will be reduced.
1) Transfer the tool offset values file to the computer using post processor software, TNCremont
2) Open an Excel converter of the respected machine (for example machine number 70)
3) Click on the „MC70‟ tab. Located at bottom left of the window
4) Click on the „Import Measuring Data‟ button. An „import text file‟ window will appear
5) Select the file produced by the measuring device („measuring device output.txt‟). The location
of the file is the same as when user saves the file using TNCremont (discussed in section 5.0)
6) Then click on the „Produce Output‟ button. The conversion process is done automatically
when the button is clicked. A desirable offset values output with a correct format will
automatically be saved to the main server or to the flash drive
After carrying out these steps, the converted offset file is obtained from the computer that connects to
the main server (and CNC machines) for file transfer process to the CNC machines. Alternatively, file
also can be saved into a flash drive. For this project, the Excel converter will automatically save the
12
2010-ME01
file either to the server or to a flash drive. At this stage, the tool offset values are ready for delivery
process.
7.3 Outputs
For this project, nine different Excel Converters are created for nine different CNC machine. Hence,
there will be nine different offset output produced by those converter. Example of output produced for
machine number 70 by the Excel converter is illustrated below.
%
(TOOL OFFSET)
N000 V13898
(DIMENSIONING= MM)
(LENGTH AND WEAR)
( CLNT_P L_GEOM L_WEAR R_GEOM R_WEAR FLUTES)
H01 C19 L88.580 W0.000 R0.000 E0.000 F2
H02 C17 L0.000 W0.000 R0.000 E0.000 F2
H03 C16 L97.167 W0.000 R0.000 E0.000 F2
H04 C17 L0.000 W0.000 R0.000 E0.000 F2
H05 C19 L188.994 W0.000 R0.000 E0.000 F2
H06 C19 L0.000 W0.000 R0.000 E0.000 F2
H07 C22 L0.000 W0.000 R0.000 E0.000 F2
H08 C19 L157.754 W0.000 R0.000 E0.000 F2
H09 C15 L0.000 W0.000 R0.000 E0.000 F2
H10 C16 L0.000 W0.000 R0.000 E0.000 F2
H11 C18 L0.000 W0.000 R0.000 E0.000 F2
H12 C18 L168.744 W0.000 R0.000 E0.000 F2
.....
13
2010-ME01
1) In the Excel Converter, press the „Produce Output‟ button. The data will be transferred
automatically into a flash drive. Also make sure that a flash is already connected to the USB
port before the button clicked
2) Bring the flash drive to the particular machine and insert the flash drive into a USB port
3) To set up the tool offset, Press the „list prog‟ button on the control panel
4) Select USB on the screen interface by navigating the arrows button on the control panel
5) Press „‟ key and then press „offset‟ key. The screen will show the previous offset interface
6) Type the name of the file including its extension. For example „MC60.prn‟
7) The press „F3‟ key to upload the file. The offset values will transferred to the CNC machine
However, the CNC machines need to be in a „transfer mode‟ condition before the transfer process via
EasyDNC can take place. This is called tool pre-setting process. As a result, using an intranet system
as a delivery method comprises two phases, which are tool pre-setting and computer server
configuration.
14
2010-ME01
8.2.1 CNC Machine Tool Pre-Setting
As communication is done both ways between the computer server and CNC machine, an operator
need to set-up the CNC machine before data can be transferred from the computer server. Although
most of the machines are using Fanuc based controller, the version of the controllers are different
hence the control panel of the machines are also different. This means the set-up process for every
machine differs from one another. Table below describes the steps used to set-up the CNC machine
before the transfer process begins.
15
2010-ME01
8.2.2 Computer Server Configuration
Computer server configuration is carried out by using computer server that connects to the CNC
machines (refer section 2.1). This computer is located in the middle of the CNC machines. Thus, it is
easy for the operator to navigate between the computer and CNC machines at one time. Presently, an
operator will use this computer to transfer G-Codes file to the machine. However, for this project, the
computer will be used to transfer the offset file to the machines. Furthermore, communication between
the computer and the machines is done both ways. This means the CNC machines need to be preset-up
first before the data can be transferred (see previous section). The table below explains the steps to
transfer offset file to the machines.
Steps Figure
16
2010-ME01
Experiments were carried out in Accord facility to record all the time cycles required. Data are
recorded on the time study sheet. Refer appendix 8 for the sample of time study sheet used for every
machine. Furthermore, all of these time cycles comprise the measurements of five different tools. This
means five offset values were measured and transferred to the machine. In a real situation, each
machine could contain up to forty different tools. Analysis on using a greater number of tools will be
discussed later in the report.
Diagram below illustrated the results of the experiment including time cycle taken for the manual
approach. Also refer appendix 9 for the Excel data sheet of this diagram.
200
150
Time, s
Server/USB Config
100 Travelling
Excel Conversion
50
Transfer Data
Measuring Tools
0
Machine Number
Note from the chart above, there are three categories comprising the time cycle for the manual
approach. The top category is the „key in offset values‟ (orange bar) which is not indicated on legend
section. Other than that, travelling time for the manual approach is taken as the total average from
travelling time of all machines.
17
2010-ME01
As results, based on the figure 18, it is clearly shown that the manual approach is much quicker in
comparison to the new automated system. Time taken for the manual approach is 115.94 seconds
whereas the fastest machine using the automated system took 119.4 seconds to complete (refer
appendix 9 for the data spreadsheet of the graph). It was also found that slower machines could take
up to 200 seconds to complete the automated system while faster machine could take up to 120
seconds. Furthermore, it is also noted that the time cycle time for machines using USB delivery
method (machine 59, 66, 70) is quicker compare to machines using an intranet system. Lastly, the
major difference between each machine time cycle occurs on the Server or USB configuration
category. This is mainly due to the age of the machines and the technology it employs. Some of the
older machine may use less efficient and less reliable technology thus could cause a slower server or
USB configuration process than the new machines.
In brief, manual approach is quicker than the automated system. An early assumption was made, and it
is because of the number of tools measured. If more tools are used, time taken on the measuring tools
and key in values categories will increase significantly for the manual approach. Thus, the time cycle
of the automated system could be shorter than the manual approach. Refer section 10.1 for further
discussion on this matter.
1) The format of the converted offset file is different from the actual format (see section 6.2)
2) Insufficient amount of information in the offset file
3) The extension of the file is incorrect. For example, some machine required the file to be in
„*.prn‟ extension instead of „*.txt‟ extension.
For this project, offset file extension is standardized and will use „*.prn‟ extension only. This is
because all CNC machines in Accord can accept this file extension.
9.2.1 Outcomes
After the trial was conducted, it was found that every machine can accept the offset file transferred.
This means the CNC machines were successfully updated with the new values after the transfer
process is complete. Furthermore, every machine complies with its designated file delivery method,
either by using a flash drive or intranet system. However, there were some minor problems
encountered during the trial which is:-
1) An alarm signal appears on machine number 59, 66, and 70 after the transfer process is
completed. Nevertheless, the offset values still can be transferred successfully
2) Old offset values are being erased completely from the machines. This means the offset values
cannot being transferred in sequence
3) Wrong offset values are being transferred to the wrong machine. This usually happens when
using the intranet system delivery method where a user accidentally select the wrong machine
on the EasyDNC
All of these problems do not contradict with the objectives of this project. However, in order to
produce a perfect automated system, the problems need to be investigated and solved. Refer section
10.3 for further discussion on this matter.
18
2010-ME01
In this bar chart, time in Measuring Tools category for every machine including the manual approach
is multiplied by eight. This is to forecast the time cycle for forty tools based on time cycle of five
tools. As more tools are used, time taken to measure the tools is also increased. Other than that, the
time in the Key-In Values category for the manual approach (orange bar) was also multiplied by eight
because it depending on the number of tools used. The greater number of tools used, the longer will be
the time taken to key in the offset values. For the automated system, time for Server/ USB
Configuration category remain the same despite of large number of tools used. This is because offset
data is transfer electronically. Below is the figure of the projected bar chart using forty different tools
(refer appendix 10 for the Excel data sheet).
Machine Number
From the bar chart above, it was found that time cycle for the manual approach is significantly higher
compare to the automated system. This means the automated system is more efficient when many
tools are in used. It is also noted that the time gap between these two systems is really huge and at
least, 351.8 seconds of time cycle savings when using the automated system. This also meant at least
55% of time cycle can be saved on each machine if the automated system is implemented (based on
machine 68 and 69). As a result, it was proven that the new automated system is more efficient than
the manual approach if greater numbers of tools are used. The percentage of time that can be saved
also increases with the number of tools used. The key question is what would be the minimum number
of tools can be used in order for the automated system to be more time efficient? This will be
discussed in the next section.
500
400 Manual
300
Automated
200
100
0 12
0 5 10 15 20 25 30 35 40 45 50
Tool Number
Beforehand, note that the time cycle on machine 68 and 69 are used to produce the line chart for the
automated system above. This is so since both machines have an identical and the uppermost time
cycle compared to other machines.
Based on the line chart, it was found that time cycles for both systems increase linearly with the
number of tools. Furthermore, the gradient line of the manual approach is much steeper compared to
the automated system. This means that as more tools are used, the cycle time for the manual approach
will increase rapidly. On the other hand, the gradient line for the automated system is much flatter.
Thus, increase in a number of tools will not vigorously affect the time cycle. Moreover, it was found
that both lines intersected when 12 tools are used. Hence, it is estimated that the automated system
will become more efficient if 12 or more tools are used.
Besides that, this line chart can be used as a benchmark chart. This means, Accord can use this chart to
estimate time cycle for a specific number of tools used on a particular system. They also can estimate
how much time can be saved if an automated system is being implemented. This information could be
very important for the company if they want to analyse cost-profit margin between these two systems.
1) Alarm signals triggered from the machines can be turned off by using the „RESET‟ key on the
control panel. Every control panel has its own „RESET‟ key and operator only need to press
the key to set the alarm off. Pressing this key will not affect the tool offset file. Although the
alarm is triggered, the data still can be uploaded
2) When using the automated system, old offset values in the machine will be erased completely
and will be replaced by a new set of values. This means the converted offset values cannot be
transferred in sequence. The solution for this issue is to alert the operators that a set of tool
offset values must be transferred in „one go‟. Operators also must be aware that once offset
file is transferred to the machine, the old values will be erased
20
2010-ME01
3) The last concern is about transferring offset file to the wrong machine. As described earlier in
this report, every machine requires different version of offset file format. Thus, when an
operator accidentally transfers the file to the wrong machine, the machine will not accept the
file because the format is different
21
2010-ME01
Select tools
START
required
Measure tools
Tool offset
values
Transfer tool offset
file into the
computer
File accepted by
the machine?
Yes
End
22
2010-ME01
11.0 Conclusion
Moreover, it was also found that the automated system will only become more efficient if more than
12 tools are used. This is one of the disadvantages of the automated system given that there will be a
process requires less than 12 tools. Since this disadvantage is due to the operating system of the
machines (in computer server and USB configuration), it is difficult to improve the efficiency.
However, it is recommended to use the automated system even though the efficiency is low.
Automated system has the advantages of preventing the human errors as well as making the tool set-up
process more systematic and accurate.
Significant Advantages
The automated system provides greater advantages in comparison to the manual approach. Besides
reducing time cycle, this new system eliminates any human errors caused by the operators since every
single file, and data will be transferred and delivered electronically using a computer and electronic
storage system. This means tool delivery and tool pre-setup processes will become more organize,
systematic and accurate. On another context, employing this new cutting edge technology will
increase the competitive advantage of the company.
Compatibility
The automated system is compatible with all CNC machines. This means offset file produced by the
Excel converter can be accepted by all CNC machines and the offset values can be transferred
effectively. Although there are some concerns occurred while conducting the file transfer process, it
can be solved or neglected as these concerns will not affect the overall outcomes of the project.
Overall Evaluation
In a nutshell, this project is considered as successful. The new automated system is recommended to
be used in Accord to fix the problems from the manual approach.
12.0 Challenges
There are few challenges encountered during this project that affects its progresses. It is important to
notice these challenges in order to perceive the limitations and constraints while conducting the
project. Following list describes those challenges:-
1) Availability of the CNC machines due to machines engaged for actual operation. This means
every experiment and test carried out on the machines must wait until the machines become
available and not under operation
2) Lack of expertise and knowledge in the development of the post processor. This is because the
post processor does not use any familiar programming language. It is an interpreter. Therefore,
it is quite difficult to understand the codes inside the post file
3) Old CNC machines‟ operating system is outdated and time-consuming thus, resulting in the
automated system becoming less efficient. The efficiency of the system can be increased if
machines integrated have the USB port compatibility
4) Short of time to extend the project to a greater depth. Overall outcome of the project can be
improved if enough time is provided to understand the codes of the post processor and the
operating system of the CNC machines
23
2010-ME01
1) Inefficient working procedure to transfer data from the measuring device to the computer as
well as to convert the data into a correct format
2) Emergence of error message in some of the CNC machines after the offset data is uploaded
1) Integrate the process of transferring the data from the measuring device to the computer with
the file conversion of Excel converter
2) Develop a single program that is able to handle both the file transfer from the measuring
device and the file conversion into the desired format
24
2010-ME01
4 ICAM - Software Connecting CAD/CAM to CNC Machines. Retrieved June 26, 2010 from
http://www.icam.com/html/products/whatis/what_is_post.php
6 Haas Automation Inc. [Operators Manual]. Haas. California : s.n., 2007. 96-8000.
7 Fanuc Ltd. Fanuc Series O-MC. [Operators Manual]. Japan : s.n., 1991.
9 Watson, T. (2010) The Floppy Disk. Rogers Publishing Limited, May, 83, 17-17.
10 What is a Flash Drive? The Center for Technology and Professional Development.
Retrieved June 25, 2010 from
http://www.lakeland.cc.il.us/online/tutorials/flashdrive/print/flashdrive.pdf
11 Foreman, M. (1999) Save Trees, Build An Intranet. Index New Zealand, April, 17, 28-30.
14 Amzah, A.Z. 2010 Integration of a Tool Pre-Setting and Tool Deliver for Tool Set up System, Part
IV project report, 2010-ME05.
25
2010-ME01
Measuring Device
26
2010-ME01
27
2010-ME01
Steps Figures
1) Click „System‟ tab on the measuring
device monitor interface. Then click
„PP-measurement series‟ >> New >>
Haas
28
2010-ME01
5) Repeat step 2 until step 4 to measure
different tools
6) Open TNC Server window on the
computer
7) Click on server application button
29
2010-ME01
10) On the measuring device monitor, click
Haas icon
30
2010-ME01
Machine 59 Machine 60
Machine 61 Machine 63
Machine 66 Machine 67
31
2010-ME01
Machine 68 Machine 69
32
2010-ME01
Steps Figures
33
2010-ME01
34
2010-ME01
Offset File for Machine 59 Offset File for Machine 60 Offset File for Machine 61
% % &HEFWOFF SET:% %
(TOOL OFFSET) G10 G90 P001 R 88.58 G10 G90 P001 R 88.58
N000 V-3623 G10 G90 P002 R 0 G10 G90 P002 R 0
(DIMENSIONING= MM) G10 G90 P003 R 97.167 G10 G90 P003 R 97.167
(LENGTH AND WEAR) G10 G90 P004 R 0 G10 G90 P004 R 0
( CLNT_P L_GEOM L_WEAR DIA_GEOD_WEAR G10 G90 P005 R 188.994 G10 G90 P005 R 188.994
FLUTES) G10 G90 P006 R 0 G10 G90 P006 R 0
H01 C00 L88.580W0.000 D0.000 E0.000 F2 G10 G90 P007 R 0 G10 G90 P007 R 0
H02 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P008 R 157.754 G10 G90 P008 R 157.754
H03 C00 L97.167W0.000 D0.000 E0.000 F2 G10 G90 P009 R 0 G10 G90 P009 R 0
H04 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P010 R 0 G10 G90 P010 R 0
H05 C00 L188.99W0.000 D0.000 E0.000 F2 G10 G90 P011 R 0 G10 G90 P011 R 0
H06 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P012 R 168.744 G10 G90 P012 R 168.744
H07 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P013 R 0 G10 G90 P013 R 0
H08 C00 L157.75W0.000 D0.000 E0.000 F2 G10 G90 P014 R 0 G10 G90 P014 R 0
H09 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P015 R 0 G10 G90 P015 R 0
H10 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P016 R 0 G10 G90 P016 R 0
H11 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P017 R 0 G10 G90 P017 R 0
H12 C00 L168.74W0.000 D0.000 E0.000 F2 G10 G90 P018 R 0 G10 G90 P018 R 0
H13 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P019 R 0 G10 G90 P019 R 0
H14 C00 L0.000 W0.000 D0.000 E0.000 F2 G10 G90 P020 R 0 G10 G90 P020 R 0
....... G10 G90 P021 R 0 G10 G90 P021 R 0
....... G10 G90 P022 R 0 G10 G90 P022 R 0
G154 P91 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P023 R 0 G10 G90 P023 R 0
G154 P92 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P024 R 57.754 G10 G90 P024 R 57.754
G154 P93 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P025 R 0 G10 G90 P025 R 0
G154 P94 X0.000 Y0.000 Z0.000 A0.000 B0.000 ..... G10 G90 P026 R 0
G154 P95 X0.000 Y0.000 Z0.000 A0.000 B0.000 ...... G10 G90 P027 R 0
G154 P96 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P192 R 0 G10 G90 P028 R 0
G154 P97 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P193 R 0 G10 G90 P029 R 0
G154 P98 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P194 R 0 G10 G90 P030 R 0
G154 P99 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P195 R 0 G10 G90 P031 R 0
G92 X0.000 Y0.000 Z0.000 A0.000 B0.000 G10 G90 P196 R 0 G10 G90 P032 R 0
% G10 G90 P197 R 0 %
G10 G90 P198 R 0
G10 G90 P199 R 0
G10 G90 P200 R 0
%
35
2010-ME01
Offset File for Machine 63 Offset File for Machine 66 Offset File for Machine 67
% % %
G10 G90 L11 P001 R 0 (TOOL OFFSET) (TOOL OFFSET)
G10 G90 L13 P001 R 0 N000 V13898 N0000 V38512
G10 G90 L10 P001 R 88.58 (DIMENSIONING= MM) N0001 V88580
G10 G90 L12 P001 R 0 (LENGTH AND WEAR) N0002 V0
G10 G90 L11 P002 R 0 ( CLNT_P L_GEOM L_WEAR DIA_GEOM D_WEAR N0003 V97167
G10 G90 L13 P002 R 0 FLUTES) N0004 V0
G10 G90 L10 P002 R 0 H01 C19 L88.580 W0.000 D0.000 E0.000 F2 N0005 V188994
G10 G90 L12 P002 R 0 H02 C17 L0.000 W0.000 D0.000 E0.000 F2 N0006 V0
G10 G90 L11 P003 R 0 H03 C16 L97.167 W0.000 D0.000 E0.000 F2 N0007 V0
G10 G90 L13 P003 R 0 H04 C17 L0.000 W0.000 D0.000 E0.000 F2 N0008 V157754
G10 G90 L10 P003 R 97.167 H05 C19 L188.994 W0.000 D0.000 E0.000 F2 N0009 V0
G10 G90 L12 P003 R 0 H06 C19 L0.000 W0.000 D0.000 E0.000 F2 N0010 V0
G10 G90 L11 P004 R 0 H07 C22 L0.000 W0.000 D0.000 E0.000 F2 N0011 V0
G10 G90 L13 P004 R 0 H08 C19 L157.754 W0.000 D0.000 E0.000 F2 N0012 V168744
G10 G90 L10 P004 R 0 H09 C15 L0.000 W0.000 D0.000 E0.000 F2 N0013 V0
G10 G90 L12 P004 R 0 H10 C16 L0.000 W0.000 D0.000 E0.000 F2 N0014 V0
G10 G90 L11 P005 R 0 H11 C18 L0.000 W0.000 D0.000 E0.000 F2 N0015 V0
G10 G90 L13 P005 R 0 H12 C18 L168.744 W0.000 D0.000 E0.000 F2 N0016 V0
G10 G90 L10 P005 R 188.994 H13 C16 L0.000 W0.000 D0.000 E0.000 F2 N0017 V0
G10 G90 L12 P005 R 0 H14 C21 L0.000 W0.000 D0.000 E0.000 F2 N0018 V0
G10 G90 L11 P006 R 0 H15 C22 L0.000 W0.000 D0.000 E0.000 F2 N0019 V0
G10 G90 L13 P006 R 0 H16 C17 L0.000 W0.000 D0.000 E0.000 F2 N0020 V0
G10 G90 L10 P006 R 0 H17 C19 L0.000 W0.000 D0.000 E0.000 F2 N0021 V0
G10 G90 L12 P006 R 0 H18 C19 L0.000 W0.000 D0.000 E0.000 F2 N0022 V0
G10 G90 L11 P007 R 0 H19 C00 L0.000 W0.000 D0.000 E0.000 F2 N0023 V0
G10 G90 L13 P007 R 0 H20 C00 L0.000 W0.000 D0.000 E0.000 F2 N0024 V57754
G10 G90 L10 P007 R 0 H21 C24 L0.000 W0.000 D0.000 E0.000 F2 N0025 V0
G10 G90 L12 P007 R 0 H22 C27 L0.000 W0.000 D0.000 E0.000 F2 N0026 V0
G10 G90 L11 P008 R 0 H23 C20 L0.000 W0.000 D0.000 E0.000 F2 N0027 V0
G10 G90 L13 P008 R 0 H24 C21 L57.754 W0.000 D0.000 E0.000 F2 .....
G10 G90 L10 P008 R 157.754 H25 C00 L0.000 W0.000 D0.000 E0.000 F2 .....
G10 G90 L12 P008 R 0 H26 C16 L0.000 W0.000 D0.000 E0.000 F2 N1176 V32
G10 G90 L11 P009 R 0 ..... N1177 V32
...... ..... N1178 V32
...... T34 P9 L32 N1179 V32
G10 G90 L10 P063 R 0 T35 P28 L32 N1180 V32
G10 G90 L12 P063 R 0 T36 P26 L32 N1181 V32
G10 G90 L11 P064 R 0 T37 P14 L32 N1182 V32
G10 G90 L13 P064 R 0 T38 P3 L32 N1183 V32
G10 G90 L10 P064 R 0 T39 P39 L32 N1184 V32
G10 G90 L12 P064 R 0 T40 P32 L32 N1185 V32
% T41 P2 L32 %
%
36
2010-ME01
Offset File for Machine 68 Offset File for Machine 69 Offset File for Machine 70
% &H E:&FWOFF SET:% % &H E:& FWOFF SET :% %
G10 G90 L11 P001 R 0 G10 G90 L11 P001 R 0 (TOOL OFFSET)
G10 G90 L13 P001 R 0 G10 G90 L13 P001 R 0 N000 V13898
G10 G90 L10 P001 R 177.053 G10 G90 L10 P001 R 88.58 (DIMENSIONING= MM)
G10 G90 L12 P001 R 0 G10 G90 L12 P001 R 0 (LENGTH AND WEAR)
G10 G90 L11 P002 R 0 G10 G90 L11 P002 R 0 ( CLNT_P L_GEOM L_WEAR R_GEOM R_WEAR FLUTES)
G10 G90 L13 P002 R 0 G10 G90 L13 P002 R 0 H01 C19 L88.580 W0.000 R0.000 E0.000 F2
G10 G90 L10 P002 R 188.525 G10 G90 L10 P002 R 0 H02 C17 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L12 P002 R 0 G10 G90 L12 P002 R 0 H03 C16 L97.167 W0.000 R0.000 E0.000 F2
G10 G90 L11 P003 R 0 G10 G90 L11 P003 R 0 H04 C17 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L13 P003 R 0 G10 G90 L13 P003 R 0 H05 C19 L188.994 W0.000 R0.000 E0.000 F2
G10 G90 L10 P003 R 200.113 G10 G90 L10 P003 R 97.167 H06 C19 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L12 P003 R 0 G10 G90 L12 P003 R 0 H07 C22 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L11 P004 R 0 G10 G90 L11 P004 R 0 H08 C19 L157.754 W0.000 R0.000 E0.000 F2
G10 G90 L13 P004 R 0 G10 G90 L13 P004 R 0 H09 C15 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L10 P004 R 200.094 G10 G90 L10 P004 R 0 H10 C16 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L12 P004 R 0 G10 G90 L12 P004 R 0 H11 C18 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L11 P005 R 0 G10 G90 L11 P005 R 0 H12 C18 L168.744 W0.000 R0.000 E0.000 F2
G10 G90 L13 P005 R 0 G10 G90 L13 P005 R 0 H13 C16 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L10 P005 R 224.027 G10 G90 L10 P005 R 188.994 H14 C21 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L12 P005 R 0 G10 G90 L12 P005 R 0 H15 C22 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L11 P006 R 0 G10 G90 L11 P006 R 0 H16 C17 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L13 P006 R 0 G10 G90 L13 P006 R 0 H17 C19 L0.000 W0.000 R0.000 E0.000 F2
...... G10 G90 L10 P006 R 0 H18 C19 L0.000 W0.000 R0.000 E0.000 F2
...... G10 G90 L12 P006 R 0 H19 C00 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L11 P398 R 0 G10 G90 L11 P007 R 0 H20 C00 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L13 P398 R 0 G10 G90 L13 P007 R 0 H21 C24 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L10 P398 R 0 G10 G90 L10 P007 R 0 H22 C27 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L12 P398 R 0 G10 G90 L12 P007 R 0 H23 C20 L0.000 W0.000 R0.000 E0.000 F2
G10 G90 L11 P399 R 0 G10 G90 L11 P008 R 0 .......
G10 G90 L13 P399 R 0 G10 G90 L13 P008 R 0 .......
G10 G90 L10 P399 R 0 G10 G90 L10 P008 R 157.754 T33 P19 L32
G10 G90 L12 P399 R 0 G10 G90 L12 P008 R 0 T34 P25 L32
G10 G90 L11 P400 R 0 G10 G90 L11 P009 R 0 T35 P41 L32
G10 G90 L13 P400 R 0 G10 G90 L13 P009 R 0 T36 P24 L32
G10 G90 L10 P400 R 0 ...... T37 P29 L32
G10 G90 L12 P400 R 0 ...... T38 P23 L32
% G10 G90 L11 P399 R 0 T39 P28 L32
G10 G90 L13 P399 R 0 T40 P36 L32
G10 G90 L10 P399 R 0 T41 P4 L32
G10 G90 L12 P399 R 0 %
G10 G90 L11 P400 R 0
G10 G90 L13 P400 R 0
G10 G90 L10 P400 R 0
G10 G90 L12 P400 R 0
%
37
2010-ME01
Machine 59 Machine 66
Machine 67 Machine 70
38
2010-ME01
Machine 60 Machine 61
39
2010-ME01
Machine 70
Machine 68 & 69
40
2010-ME01
Machine 61
Machine 67
41
2010-ME01
Machine 63
Machine 59
42
2010-ME01
Machine 60
Machine 66
43
2010-ME01
Appendix 10 – Excel Data Sheet for Forty Tools and System Efficiency
Data Sheet
** Values for blank columns are projected using the line graph
44