CNC Machining Center Programming Manual
CNC Machining Center Programming Manual
Forward
While similar in appearance your CNC Machining Center operates somewhat differently from your conventional mill. Although they may share the same work envelope and number of axis the CNC does not have the array of knobs, levers or handles associated with the manual machine. In place of these are motors that move the X, Y, and Z-axis. The axis motors receive commands from the control, which is user programmed with a series of instructions. It is these instructions which determine the shape of the part to be machined.
Notice of Disclaimer
This manual is intended not to replace but to supplement the control manufactures original manual. The control manufactures manual will be the final say in any discrepancy that may evolve.
Introduction to Programming
Programming of your Daewoo Machining Center involves the sequential study of the operations required to produce a component, using established engineering methods.
Finished P art
S up et M achine
M achine P art
Example
S4000 M03 Set spindle speed to 4000 (S4000) and turn on spindle clockwise (M03). A number of Words can be programmed on the same line. Once the line is complete this forms a Block of information.
Example of a Block
N40 G1 X20.0 Y-8.0 F80. It contains the Words: N40, G1, X20.0, Y-8.0, F80. The Addresses used are N, G, X, Y, and F, and the values are 40, 1, 20.0, -8.0 and 80.
Function
Rapid Positioning Feedrate Positioning Arc Clockwise Arc counter Clockwise Dwell High Speed Machining Look Ahead Control Exact Stop Data Setting Data Setting Cancel X and Y Plane Selection Z and X Plane Selection Y and Z Plane Selection Input in Inch Input in Metric Return to Reference Position Return to 2nd Reference Position Cutter Compensation Cancel Cutter Compensation Left Cutter Compensation Right Tool Length Compensation Tool Length Compensation Cancel Work piece Coordinate System 1 Work piece Coordinate System 2 Work piece Coordinate System 3 Work piece Coordinate System 4 Work piece Coordinate System 5 Work piece Coordinate System 6 Macro Call High Speed Peck Drilling Canned Cycle Cancel Drilling Cycle Peck Drilling Cycle Tapping Cycle Boring Cycle Absolute Command Incremental Command Setting Work Coordinate System Feed Per Minute Feed Per Rotation Return to Initial Point in Canned Cycle Return to R Point in Canned Cycle Standard Standard Standard Standard Standard Optional Optional Standard Optional Optional Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard Standard
Control Panel
RST EE
O( N X
U , # [
) V A = ]
GE P C Z
W
7 4 1 _ /
8 5 2 0
E B O
9 6 3
AT R LE
P WR O E O N
HL EP
Y J S D
IN E T SR
I M
K@ R T H
* &
DL T EEE
L B
S P
S IF H T
OF F
C N A
IN U P T
P S O P G A E P G A E
P O R G
OF E FST S T IN ET G
C SO UT M
SSE YTM
MSA E ES G
GAH R P
M D OE
T P AE MM R E OY MI D RF T . E .R N JO G
F E O E A IO ED PR T N
80 60
25
RF O T E .P IN
S IN L P DE
100 120 130 140 180
WR OK L H IG T
O N OF F AA M L R
6 0 8 0
5 0 10 0
E IT D H N L A DE
F O
40 20
E E G N YS O MR E C T P
M D SL C OE EE T
X
R P O E ID A ID V R E
4T H
0 F E R T O E ID ED AE VR E
4 0 30
50
2 0 90 10
M 2/M 0 LU . M C IN 0 3 B A H E
M C IN R A Y E E G N YR L A E A H E E D MR E C EE S
A ISS L C X EE T
FE H L E D OD C C ES A T Y L T R
R P A ID
S IN L O E ID P DE VR E
10 0
RST EE
F N T N U C IO
O N OF F
P O R MR S A T R G A ET R
FO D L O
MN A A U L A T UO OF F C OA T O L N
T R U H H OG
S G EB O K O T N L S O O IO A B O KS IP D YR N IN L L C P IO A T P P N L L C K R U
C NEO OVY R
M C IN L C A H E OK
P O R MP O E T R GA R T C
C W
SO T P
C W C
All screen pictures in this manual are from the 18i control and may differ from the control you are running.
Axis Movement
Every Vertical Machining Center has three axes: X - side to side Y - forwards and backwards Z - up and down
All Horizontal Machining Centers have four axes: X - side to side Y - up and down Z - forwards and backwards B - rotary
4H T
X 1
X 0 1
X 0 10
_
0 9 0 8 0 1 0
+
2 0
7 0 6 0 5 0 4 0
3 0
The Manual Pulse Generator (MPG) or Hand Wheel is used during the setup of the machine. This is separate from the machine control and gives better control of all axis during setup.
Workpiece
Using a combination of the jog buttons and MPG, bring the tool down to the predetermined "Z" point.
Work piece
Operators choice of 'Z' zero position. (This example uses the top of the work piece).
OFFSET SETTING
and then the [OFFSET] soft key to display the following screen.
Cursor down to Tool Number to be set. Key in value displayed in Actual Position (Relative) and press INPUT.
10
OFFSET SETTING
and then the [OFFSET] soft key to display the following screen.
Cursor down to tool number to be set. Press 'Z' and then the 'INP.C' soft key. Position value is automatically transferred in to the offset.
If using height and cutter compensation for the same tool the program should look like this N15 G43 Z.10 H1 N20 G41 X-5.0 D1 You also have the ability to adjust the tool length and diameter in the wear column.
11
Work Coordinates
Every CNC machine has a reference or machine zero. This is a position that is constant to the machine. When a machine is turned on or powered up by the operator it must first be referenced. When the machine reaches its limit switches the control registers this location as home. Using the home position as a reference you can now tell the control where the work piece is located on the machine table.
W ork Piece
Machine Table
12
OFFSET SETTING
and then the [WORK] soft key to display the following page.
Method
Using an edge finder or indicator locate the part datum position. Without moving go to the work offset screen and highlight desired offset. Press hard key X, hard key 0 soft key [measure] hard key Y, hard key 0 soft key [measure] (Position value is automatically transferred in to Offset).
13
Work Coordinate System Addition's are called in the following way. Example. N4 (.75 DIA. ENDMILL ) N5 G0 G54.1 P1 G90 X-2.25 Y.625 S8000 M3 N6 G43 Z.1 H1 N7 G1 Z-1. F25
14
PROGRAMMING
Linear Interpolation (G00/G01)
GOO Rapid Traverse path (Axis will take the shortest path at 45 degrees)
Y X
G00 Rapid Path
P2
P1
All axis of the machine tool will move in linear at either RAPID or FEEDRATE traverse rates. Any movement preceded by G00 will occur at RAPID traverse G00 X4.0 Y-3.0 Any movement preceded by G01 will occur at FEEDRATE. G01 X4.00 Y-3.00 F100.
These commands are MODAL and will stay in effect until changed.
15
In incremental programming dimensioning is taken from the last position programmed and NOT from a fixed point.
16
Datum
Y+
X+
ABSOLUTE (G90) A X __________ _ Y__ B X __________ _ Y__ C X __________ _ Y__ D X __________ _ Y__ E X __________ _ Y__ F X __________ _ Y__
G17
X +
When generating an arc in the 'X' and 'Z' axis G17must be selected.
G3 0
G2 0
V iewfro to o m in m p f ach e
G18
When generating an arc in the 'X' and 'Y' axis G18 must be selected.
Z+
G03
G19
When generating an arc in the 'Y' and 'Z' axis G19 must be selected.
G02
X+
Plane selection is MODAL and will stay effective until another plane is selected.
Z +
Y +
G3 0
G2 0
V wfro le sid o m c in ie m ft e f ah e
18
'I' is the Incremental value parallel to the 'X' axis. 'J' is the Incremental value parallel to the 'Y' axis. 'K' is the Incremental value parallel to the 'Z' axis.
Datum
0 000 R1.
G02
J-1.00
G03
I-1.00
Datum
Example G03 X1.0 Y0. I-1.0 J0.0 G03 (Counter Clockwise movement) X 1.0 (Tool finish position in 'X') Y 0.0 (Tool finish position in 'Y') I-1.0 (Arc offset in 'X') J 0.0 (Arc offset in 'Y')
N 6
A offset rc parallel to the Xaxis. I 1.5
N 7
X&YZ R E O
R .75
S tart N 3 F ish N in 10
R 1.5
N 8
A offset rc parallel to the Yaxis. J 1.5
N 9
O1066 (Program number) N1G17G40G80G90 (Safe start) N2T1M6 (Calls T1 and changes tool) N3G54G90G0X-1.5Y0.S718M3 (Tool moves to start position) N4G43Z.1H1 (Picks up tool length value) N5G1Z-.1F20. (Feeds to Z-depth) N6G2X0.Y1.5I1.5F40. (Clock-wise move) N7G1X3.75Y.75 (Linear move) N8G2Y-.75J-.75 (Clock-wise move) N9G1X0.Y-1.5 (Linear move) N10G2X-1.5Y0.J1.5 (Clock-wise move) N11G0Z.1 (Lifts up in Z) N12G91G28Z0Y0. (Returns Z and Y to home position) N13G90 (Back into absolute) N14M30 (Return to beginning of program)
20
N 9
N 8
R .5 1 S rt N ta 3 F ish N 0 in 1
A offset rc p arallel to the Xaxis. I1 .5 C ttin d u g irectio n G3 0
X&YZ R E O
N 7
R 5 .7
N 6
O1066 (Program number) N1G17G40G80G90 (Safe start) N2T1M6 (Calls T1 and changes tool) N3G54G90G0X-1.5Y0.S718M3 (Tool moves to start position) N4G43Z.1H1 (Picks up tool length value) N5G1Z-.1F20. (Feeds to Z-depth) N6G3X0.Y-1.5I1.5F40. (Counter Clock-wise move) N7G1X3.75Y.75 (Linear move) N8G3Y-.75J.75 (Counter Clock-wise move) N9G1X0.Y-1.5 (Linear move) N10G3X-1.5Y0.J-1.5 (Counter Clock-wise move) N11G0Z.1 (Lifts up in Z) N12G91G28Z0Y0. (Returns Z and Y to home position) N13G90 (Back into absolute) N14M30 (Return to beginning of program)
21
8 7
1 2
6 5 4
This example machines a radius on each corner. The datum is the top left-hand corner of the part. The tool diameter is .500. Position No. G1X3.5Y.25 G2X4.25Y-.5R.75 G1Y-3.5 G2X3.5Y-4.25R.75 G1X.5 G2X-.25Y-3.5R.75 G1Y-.5 G2X.5Y.25R.75 1 2 3 4 5 6 7 8
The R+ command can only be used for arcs up to 180 degrees. The R- command can only be used for arcs greater than 180 degrees.
22
If your control has cutter compensation 'B' then different offset numbers have to applied to 'H' and 'D' values. Your program should look like this G0 G43 Z1. H1 G1 G41 Y0. D11 F50.
If your control has cutter compensation 'C' then the same offset numbers can be applied to 'H' and 'D' values. Your program should look like this G0 G43 Z1. H1 G1 G41 Y0. D1 F50.
23
Always apply cutter compensation at 90 degrees to the work piece. The program for applying cutter compensation should look like this. G1G41Y0 D1 F25. or if using cutter compensation 'B' it should look like this G1G41Y0 D11F25. When turning of cutter compensation the program should be as follows. G1G40Y.5. G41 and G42 are Modal commands and will stay active until canceled by G40.
24
D irection of travel
Always apply cutter compensation at 90 degrees to the work piece. The program for applying cutter compensation should look like this. G1G42Y0D1F25. or if using cutter compensation 'B' it should look like this G1G42Y0 D11F25. When turning of cutter compensation the program should be as follows. G1G40Y.5. G41 and G42 are Modal commands and will stay active until canceled by G40.
25
The formats for the most commonly used canned cycles are High Speed Peck Drilling Cycle G73 X _____ Y_____ Z_____ Q_____ R_____ F_____ Drilling G81 X _____ Y_____ Z_____ R_____ F_____ Peck Drilling G83 X_____ Y_____ Z_____ Q_____ R_____ F_____ Tapping G84 X_____ Y_____ Z_____ R_____ F_____ Boring G86 X_____ Y_____ Z_____ R_____ F_____ Legend X = X Co-ordinate Position Z = Finale depth of Hole Q = Depth of Peck Y = Y Co-ordinate Position R = Rapid Plane Depth F = Feedrate
G80 cancels all Canned Cycles For additional canned cycles please consult your Fanuc Operators Manual
26
G98
Initial Point Level
G99
R Point Level
Point Z
Point Z
G98 - Returns the tool to the INITIAL plane. G99 - Returns the tool to the RAPID plane.
27
RPoint(R.25) 'Z' - Zero is topof part. 1st Peck 2ndPeck 3rdPeck 4th Peck Final H Depth(Z-1.25) ole
Unlike G83 (peck drilling) G73 does not rapid to the R plane after each peck.
28
Drilling (G81)
Example G98 G81 X0.0 Y0.0 Z-1.25 R.25 F20.
When G98 is used 'Z' will return to the Initial point. When G99 is used 'Z' will return to the R point.
Initial Point (G43 Z1. H01) Tool will stop 1.0" above part. R Point(R.25) 'Z' - Zero is top of part.
29
RPoint(R .25) 'Z' - Zero is topof part. 1st Peck. 2ndPeck. 3rdPeck. 4thPeck. Final H D (Z-1.25) ole epth
After each peck 'Z' will rapid to the 'R' plane and then back to within 0.1" of where it finished cutting.
30
Tapping (G84)
Example G98 G84 X0.0 Y0.0 Z-1.25 R.25 F10.
Initial Point (G43 Z1. H01) Tool will stop 1.0" above part.
W G98 is used 'Z' will hen return to the Initial point. W G99 is used 'Z' will hen return to the R point.
31
Initial Point (G43 Z1. H01) Tool will stop 1.0" above part.
W G98 is used 'Z' will hen return to the Initial point. W G99 is used 'Z' will hen return to the R point.
Final Hole Depth (Z-1.50) Spindle stops. Moves .005" away frompart. Rapids out.
Please consult your machine operation manual for correct orientation when using a single point-boring tool. 'Q' represents the amount tool will move away from machined face before lifting out of hole.
Set the direction and axis in which you want to move away in using parameter 5101 bit 4 and 5
32
Initial Point (G43 Z1. H01) Tool will stop 1.0" above part.
W G98 is used 'Z' will hen return to the Initial point. W G99 is used 'Z' will hen return to the R point.
Example (1/2-13 Tap) G0 G90 G54 X0 Y0 G43 H01 Z.25 M8 G95 S1000 (G95 feed per rotation) M29 (Rigid tapping mode) G98 G84 Z-1.5 R.25 F.0769 (Tapping cycle with 'F' = pitch of thread) G80 M9 G94 (Feed per minute) G91 G28 Z0 M5 G90 M30
Important thing to remember when Rigid Tapping the feedrate must be the pitch of the thread.
When rigid tapping it is possible to retract the tap up to 200% faster than the programmed feedrate. This is achieved by changing the following parameters: Parameter 5200 bit 4 (DOV) to 1 Parameter 5211 enter amount 1% - 200% The only limitation is that once the parameter is changed it will be the same for every tap.
33
Make sure that the program contains the correct reference plane selection. G18 X and Z G19 Y and Z
N10 G0 G19 G54 G90 X0. X0. N20 G43 Y.5 H01 N30 G95 S1000 N40 M29 N50 G84 G98 Y-1. R.5 F.0769 N60 X-3.25 Z-.75 N70 X-.75 N80 Z-3.25 N90 G80 N100 G94
34
Example G0 G90 X0 Y0 (1st hole position) G91 G98 G81 X0.50 Y0.0 Z-1.R.25 K6 F20. G90
Example 2 G0 G90 X0 Y0 (1st hole position) G91 G98 G81 X0.50 Y0.50 Z-1.R.25 K3 F20. G90
The 'K' command should only be used with G91(incremental). If G90 (absolute) were to be used only the 1st hole would be machined.
35
T01 M6 (SPOT DRIL) G90 G54 X0. Y0. S8000 M03 G43 H01 Z1. M8 G98 G81 Z-.25 R.1 F5. K0 - Peck cycle M98 P1000 (call sub program) G0 G80 Z1. T02 M6 (DRILL) G90 G54 X0. Y0. S6500 M03 G43 H02 Z1. M8 G98 G83 Z-1.0 R.1Q.1F10. K0 - Drill cycle M98 P1000 (call sub program) G0 G80 Z1. T03 M6 ( TAP) G90 G54 X0. Y0. G43 H03 Z1. M8 G95 S1000 M29 G98 G84 Z-1.2 R.3 F.05 K0 - Tap cycle M98 P1000 (call sub program) G94 G0 G80 Z1. G91 G28 Z0. Y0 G90 M30
36
O e re o tio m s n v lu n u t e u l p h o th a q a itc f re d
P itch
A a s fe do lw y e n u in c tte s g u r c me s s n o p n a io
37
N10 G G G X Y S1000 M 0 90 54 0. 0. 3 The m achine m to the part datumusing the oves G54 w coordinate and starts the spindle at ork 1000 r.p.m .
N20 G Z.250 H M 43 1 8 The m achine applies Tool Length Offset and turns on the coolant. N40 G X-.75 D F20. 41 31 The m achine m to the start position oves applying cutter com pensation at 20 i.p.m . (U cutter com sing pensation allow for easy s adjustm of the thread). ent
N30 G Z-.500 F50. 01 The m achine m to the required Zdepth at oves 50 i.p.m .
N50 G I-.750 Z-.6666 02 The m achine m 360 degrees and feeds in Z oves to finished depth of thread (.500 +.1666)
N60 G G X0. 0 40 The m achine m back to center of the hole at oves the sam tim canceling cutter com e e pensation.
N70 G G G Z0. 0 91 28 The m achine m clear of the part to the Z oves hom position. e
This example machines a 11/2 - 6 thread .50" deep Pitch of thread is .1666
38
E IT D H N L A DE
M D SL C O E EE T
Press the PROG hard key and the following screen will be displayed.
In this example the machine will rapid to the X and Y zero location using the G54 work offset. Then the spindle will start at 2000 rpm.
Enter the program manually using the key pad, include end of block (EOB) at the end of each line. Pressing the RESET key will clear the MDI screen.
39
Starting a Program
M D O E
T P AE M I D RF T . E .R N J G O
MM R E O Y
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key and the following screen will be displayed.
Manually key in the program number and then press the insert hard key. Before any more lines can be added you must enter an end of block. Example O1234 - INSERT - EOB - INSERT
40
Program Numbers
Technically the numbers O0000 through O9999 are available for creating program numbers. However some numbers are used by other functions and are best avoided when creating a program. O9000 through O9999. These numbers are used for Macro programs and for 'Tool change' and 'Pallet change' programs. It is possible to call these programs using a 'G' or 'M' code by setting parameters.
O9000 program numbers are protected. To unprotect them change parameter 3202 bit 4 (NE9) to 0.
O8000 through O8999 O8000 program numbers can be protected by changing parameter 3202 bit 0(NE8) to 1. These numbers are also used for Macro programs and can also be protected against accidental editing and deletion by setting a parameter.
O0001 through O7999 These numbers are generally used for 'G' code programs and can not be protected by parameters.
To prevent accidental editing or deletion of programs, turn program protect key to lock and remove the key.
P O R MP O E T R GA R TC
41
Editing a Program
The following is the procedure for Inserting, Altering and Deleting a command in a program which is registered in the controls memory.
M D O E
T P AE MI D RF T . E .R N J G O
MM R E O Y
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key and make sure that the program requiring editing is displayed.
Once the command is highlighted it is possible to change it. If the command is no longer needed simply press the Delete key to erase it. If the value needs to be changed simply key in the new value and press Alter. If a command has to be added, highlight the command before the point were the new data is to be inserted, key in the new command and press Insert. Delete Example N20 G1 X3.265 Y-2.987 F30. Pressing the Delete key will remove Y-2.987 N20 G1 X3.265 F30. Alter Example N20 G1 X3.265 Y-2.987 F30. Key in new value (Y-2.950) Pressing the Alter key will change Y-2.987 to the new value N20 G1 X3.265 Y-2.950 F30.
Insert Example N20 G1 X3.265 Y-2.987 F30. Key in new value (Z-1.250) Pressing the Insert key will insert the new value after Y-2.987 N20 G1 X3.265 Y-2.987 Z-1.250 F30.
42
T P AE MM R E O Y
MI D
RF T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key and make sure that the program you want to copy is displayed.
After displaying the program press soft key [(OPRT)] then the continuous menu key until the [EX-EDT] soft key appears. Pressing this key will display the COPY, MOVE and MERGE keys. If you want to copy the whole program. Press soft key COPY and then soft key ALL. Enter a new program number and press INPUT. Then press the [EXEC] key. Copy Example O1234 G90 G80 G40 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9 G91 G28 Z0 Y0 M30 Press COPY key Press ALL key Enter new program number (O2468) Press INPUT key Press EXEC key
O2468 G90 G80 G40 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9 G91 G28 Z0 Y0 M30
Always make a backup copy of your program before attempting to alter it. This way should an error occur while using COPY, MOVE or MERGE you will always have the original for backup.
43
Move Example O1234 G90 G80 G40 T1 M6 (CRSR~) G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9(~CRSR) G91 G28 Z0 Y0 M30
O2468 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9
OR
Press MOVE key Position 1st cursor [CRSR~] Position 2nd cursor [~BTTM] Enter new program number (O2468) Press INPUT key Press EXEC key
Move Example O1234 G90 G80 G40 T1 M6 [CRSR~] G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9 G91 G28 Z0 Y0 M30 [~BTTM]
O2468 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9 G91 G28 Z0 Y0 M30
44
Merge Example. O1234 G90 G80 G40 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9(~CRSR) G91 G28 Z0 Y0 M30
Press MERGE key Position cursor [~CRSR] Enter program number to be inserted (O2468) Press INPUT key Press EXEC key
O2468 T2 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H21 M8 G98 G81 Z-1. R.1 F15. G80 M9
O1234 G90 G80 G40 T1 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H1 M8 G98 G81 Z-1. R.1 F15. G80 M9 T2 M6 G90 G0 G54 X0.0 Y0.0 S3500 M3 G43 Z.1 H21 M8 G98 G81 Z-1. R.1 F15. G80 M9 G91 G28 Z0 Y0 M30
It is not possible to move information within a program. You must first copy the range of information to a new program and then it is possible to insert it back into the original program at a different location.
45
Press the 'Change' soft key and the above screen appears. Enter the data that you want to change. e.g. F100. Then press the 'Before' soft key the screen below will be displayed.
Enter the new data and then press the 'After' soft key. e.g.. F50. The screen below will be displayed.
Pressing the 'EXES' soft key will change all F100. in the program to F50. Pressing the 'EX-SGL' soft key will change one line at a time. If you not want to change a particular block press the 'SKIP' soft key.
46
Background Edit
Background Edit gives the programmer the ability to create a new program or edit an existing program while a program is being executed. While the machine is running press the hard key PROG then press soft key [(OPRT)] and then soft key [BG-EDT].
When you have finished using Background Edit press soft key BG-END to return to normal operation.
47
M0
Program Stop. A program stop is used whenever the operator requires the program cycle to stop and allow the operator to perform some manual function such as inspection, manual tool change, coolant adjustment, etc.
M1
Optional Program Stop. This M-code stops the machine in the same manner as program stop (M0) except the operator must turn on the Optional stop switch anytime prior to the M1 being read. If the Optional stop switch is not turned on then the M1 command is ig-
/
Optional Block Delete. It is possible to skip a line or lines of information without having to delete them from the program. By placing a forward slash (/) at the beginning of a line and by turning on the block delete switch the control will ignore these lines. Example. N10 G0 G90 G54 X2.00 Y2.00 / N20 S4000 M3 N30 G1X-4.00 F20. With block delete turned ON the program will move from line N10 to N30 ignoring N20. With block delete turned OFF all lines of information are read.
48
Program Restart
This function gives you the option of restarting a tool anywhere in a program
Before starting you must set parameter 7310 X=1 Y=2 Z=3
P O R MR S A T RGA ETR
1) Retract the spindle, send all the axis to reference point. 2) Reset Tool. 3) Go to Edit Mode. 4) Hit Reset Button. 5) Go To MDI, type in the original RPM, press cycle start 6) Go to Auto Mode. 7) Flip Toggle Switch to PROGRAM RESTART. 8) Hit (Oprt) button on Soft Keys. 9) Hit Right Arrow Key (Soft Key). 10) You will see (Ptype)(Qtype) soft keys. 11) Type in the sequence # you want to start. 12) Press (Ptype) Soft Key. 13) Turn OFF the Rstart/Prgm Toggle switch. 14) HIT (CYCLE START).
If the program has been run through completely press Ptype. If the program has not been partially run press Qtype.
49
Tool Registry
To access the machines tool registry
SYSTEM
PMC
PMCPRM
DATA
G.DATA
450 Tool in spindle 452 Waiting tool Use the Page down key to display the complete Tool Registry on one page.
Tool Registry only applies to machines with random select tool magazines.
POCKET No Pocket 1 Pocket 2 Pocket 3 Pocket 4 etc To change settings parameter write must be turned on. (see page 51)
50
Changing Parameters
Before changing parameters you must first enable parameter write
M D O E
T P AE MM R E O Y
MI D
RF T . E .R N J G O
E IT D H N L A DE
M D SL C O E EE T
Offset Setting
and then the [setting] soft key to display the Setting screen.
Once this is done you are now able to change machine parameters.
Always make a back up copy of the machines parameters before making changes.
Offset Setting
Input parameter number to be changed and then press the No. Search key.
51
Sample Program
In this sample program the following operations are performed. Tool 1 - 3/4" end mill, machines part profile & roughs 2" hole. Tool 2 - 5/8" Spot drill, spots all holes. Tool 3 - 27/64" drill, drills 4 holes. Tool 4 - 1/2-13 tap, taps 4 holes. Tool 5 - 1/2" end mill, finish 2.0" thru hole.
52
Sample Program
O1066 (DEMO) - - - - - - - - - -- Program Number with comment N1G0G90G80G40G17- - - - - G80 & G40 Cancels any offsets stored in memory, G17 sets plane selection N2G91G28Y0Z0- - - - - - - - - - Sends Z & Y to the G28 reference position N3T1M6- - - - - - - - - - --- - - - - Calls tool 1 and places tool in spindle
Program Start
Tool 1
Blank Material
N4 (.75 DIA. ENDMILL )- - - - - - - - - Tool description N5G0G54G90X-2.25Y.625S8000M3- - Moves to 1st position using G54 work offset starts spindle at 8000 rpm N6G43Z.1H1T2 - - - - - - - - - - - - - - - - -Picks up the tool length offset, turns on the coolant and calls next tool N7G1Z-1.F25.- - - - - - - - - - - - - - - - - - Feeds to finale Z depth at 25 ipm. N8G3X-2.Y.375I.25- - - - - - - - - - - - N8 through N18 machines profile N9G1X-.5 N10G2X.375Y-.5J-.875 N11G1Y-3.5
N12G2X-.5Y-4.375I-.875 N13G1X-3.5 N14G2X-4.375Y-3.5J.875 N15G1Y-.5 N16G2X-3.5Y.375I.875 N17G1X-2. N18G3X-1.75Y.625J.25 N19G0Z.1- - - - -- - - -- - - - - - - - Rapid move to 0.1 above the part N20X-2.Y-2.- - - - - - - - - - - - - - Rapid move to hole center N21G1Z-1.F25.- - - - - - - - - - - - Feeds to finale Z depth at 25 ipm N22G1Y-1.75F15. - - - - - - - - - - N22 through N27 machines 2" hole N23G3J-.25 N24G1X-1.75Y-1.625 N25G3X-2.Y-1.375I-.25 N26J-.625 N27X-2.25Y-1.625J-.25 N28G0Z.1- - - - -- - - -- - - - - - -Rapid move to 0.1 above the part
53
Sample Program
Tool 2
N29M01- - - - -- - - - - - - - - - - - Optional stop N30T2- - - - - - - - - - - - - - - - - -Verifies tool 2 is in waiting pocket N31M6- - - - - - - - - - - - - - - - - Change to tool 2 ( .625 DIA. SPOT DRILL )- - - - -Tool description N32G0G54G90X-2.Y-2.S6000M3- Moves to 1st position using G54 work offset starts spindle at 6000 rpm N33G43Z.1H2M8T3- - - - - - - - - Picks up the tool length offset, turns on the coolant and calls next tool
After spot drilling holes
N34G81G98X-2.Y-2.Z-.275R.1F10.- - - G81drilling cycle N35X-3.25Y-.75- - - - - - - - - - - -N35 through N38 next hole positions N36X-.75 N37Y-3.25 N38X-3.25 N39G80Z.1- - - - - - - - - - - - - - - G80 cancels pecking cycle
Tool 3
N40M1- - - - -- - - - - - - - - - - - - Optional stop N41T3- - - - - - - - - - - - - - - - - - Verifies tool 3 is in waiting pocket N42M6- - - - - - - - - - - - - - - - - Change to tool 3 ( .4375 DIA. DRILL )- - - - -- - - - Tool description N43G0G54G90X-2.Y-2S8000M3- - Moves to 1st position using G54 work offset starts spindle at 8000 rpm N44G43Z.1H3M8T4- - - - - - - - - Picks up the tool length offset, turns on the coolant and calls next tool
After drilling holes
N45G83G98X-2.Y-2.Z-1.25R.1Q.2188F10.- - - G83 peck drilling cycle N46X-3.25Y-.75- - - - - - - - - - - - -N46 through N49 next hole positions N47X-.75 N48Y-3.25 N49X-3.25 N50G80Z.1- - - - - - - - - - - - - - - G80 cancels pecking cycle
54
Sample Program
Tool 4
N51M1- - - - -- - - - - - - - - - - - - Optional stop N52T4- - - - - - - - - - - - - - - - - - Verifies tool 4 is in waiting pocket N53M6- - - - - - - - - - - - - - - - - Change to tool 4 ( 1/2-13 UNC TAP )- - - - -- - - - - Tool description N54G0G54G90X-2.Y-2.- - - - - - - -Moves to 1st position using G54 work offset N55G43Z.1H4M8T5- - - - - - - - - Picks up the tool length offset, turns on the coolant and calls next tool N56G95S1000- - - - - - - - - - - - - -G95 feed per rotation
After tapping holes
N57M29- - - - - - - - - - - - - - - - Rigid tapping mode N58G84G98X-2.Y-2.Z-1.5R.5F.0769- - - G84 tapping cycle with F = pitch of thread N59X-3.25Y-.75- - - - - - - - - - - - N59 through N62 next hole positions N60X-.75 N61Y-3.25 N62X-3.25 N63G80Z.5- - - - - - - - - - - - - - - G80 cancels pecking cycle N64G94 - - - - - - - - - - - - - - - - Change back to feed per minute
Tool 5
N65M1- - - - -- - - - - - - - - - - - - Optional stop N66T4- - - - - - - - - - - - - - - - - - Verifies tool 5 is in waiting pocket N67M6- - - - - - - - - - - - - - - - - Change to tool 5 (.5 FINISHING ENDMILL )- - - - Tool description N68G90G54G0X-1.75Y-1.75S8000M3- Moves to 1st position using G54 work offset starts spindle at 8000 rpm N69G43Z.1H5T1- - - - - - - - - - - - - - Picks up the tool length offset, turns on the coolant and calls next tool N70G1Z-1.F25.- - - - - - - - - - - - - - - Feeds to final Z depth at 25 ipm
After finishing 2" hole
N71G41Y-1.5D55 - - - - - - - - - - - - - Feeds on to part applying cutter compensation N72G3X-2.Y-1.25I-.25- - - - - - - - - - -N72 through N74 machines hole N73J-.75 N74X-2.25Y-1.5J-.25 N75G40G1Y-1.75 - - - - - - - - - - G40 Cancels cutter compensation N76G0Z.1- - - - -- - - -- - - - - - -Rapid move to 0.1 above the part N77G91G28Y0.Z0.M5- - - - - - - Returns machine to Y and Z G28 reference position
Program End
55
Sub Programs
The control has the ability to access 'sub programs' from outside the program that is running in the control memory. This is useful when tools are using the same information when machining a part e.g. center drill, drill and tapping a number of holes. Sub programs are accessed by using M98 followed by the desired program number with the letter P replacing the O. e.g. N20 M98 P1066
( .625 DIA. SPOT DRILL ) N32G0G54G90X-2.Y-2.S6000M3 N33G43Z.1H2M8T3 N34G81G98X-2.Y-2.Z-.275R.1F10. N35M98P1066- - - - -(call sub program) - - - - - N39G80Z.1 N40M1 N41T3 N42M6 ( .4375 DIA. DRILL ) N43G0G54G90X-2.Y-2S8000M3 N44G43Z.1H3M8T4 N45G83G98X-2.Y-2.Z-1.25R.1Q.2188F10. N46M98P1066- - - - -(call sub program) - - - - N50G80Z.1 N51M1 N52T4 N53M6 ( 1/2-13 UNC TAP ) N54G0G54G90X-2.Y-2. N55G43Z.1H4M8T5 N56G95S1000 N57M29 N58G84G98X-2.Y-2.Z-1.5R.5F.0769 N59M98P1066- - - - -(call sub program) - - - - - N63G80Z.5 N64G94
O1066 (hole sub program) N10X-3.25Y-.75 N20X-.75 N30Y-3.25 N40X-3.25 N50M99 (return to main program
O1066 (hole sub program) N10X-3.25Y-.75 N20X-.75 N30Y-3.25 N40X-3.25 N50M99 (return to main program
O1066 (hole sub program) N10X-3.25Y-.75 N20X-.75 N30Y-3.25 N40X-3.25 N50M99 (return to main program
56
Searching Programs
It is possible to search for information contained in a program. You can search Line numbers, Tool numbers, G-codes, Feedrate, etc.
M D O E
T P AE MI D RF T . E .R N J G O
MM R E O Y
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key and the following screen will be displayed.
Enter the Line number, Tool number, G-code or Feedrate to search for then press the
SR H
57
MM R E O Y
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key and the following screen will be displayed. Key in the desired program number and then press the Soft key or the down cursor arrow.
OSH R
58
Deleting a Program
When no longer needed, programs stored in the controls memory can be deleted, either one at a time or all programs at once.
Make sure that parameter 3202 bit 5 is set to a 1. If you do not set this parameter once you press the 'Delete' key the program is removed immediately.
M D O E
T P AE MM R E O Y
M I D
RF T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Check that you have entered the correct program number to be deleted. Press 'EXEC' to delete the program or 'CAN' to cancel the delete operation.
To delete all programs in the control enter O-9999 and then press the 'Delete' hard key.
Before deleting all programs check that parameter 3202 bit 4 (NE9) is set to 1. This will prevent the user from deleting the O9000 series programs which are used for Tool change, pallet change etc.
59
The PCMCIA cards and stand alone reader/writers are available from most computer stores (CompUSA, EGGHEAD, etc.) And also several sites on the internet.
When using the PCMCIA card you must first set the I/O Channel to 4
60
Insert PCMCIA card Select EDIT using the Mode Select switch.
T P AE MM R E O Y
M I D
RF T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key then the + soft key and CARD soft key to display the following screen.
To read a program from the memory card. Select Edit mode. Press PRGRN - + - CARD - OPRT - F READ. Enter the file number you wish to load and press F SET. Enter a program number and press O SET and then press the EXEC soft key.
To send a program to the card. Select Edit mode. Press PRGRN - OPRT - PUNCH - enter Program No - EXEC
61
Insert PCMCIA card. Select TAPE using the Mode Select Switch.
T P AE MM R E OY
MI D
RF T . E .R N JO G
E IT D H N L A DE
M D SLC OE EE T
Press the PROG hard key then the + soft key twice and then DNC-CD soft key to display the following screen.
Parameter 138 bit 7 must be set to 1 to display the DNC-CD soft key.
Enter the desired file number, the soft keys will automatically change and then press the DNC-ST soft key. To run the selected program press CYCLE START.
62
(.625 DIA. SPOT DRILL) N32G0G54G90X-2.Y-2.S6000M3 N33G43Z.1H2M8T3 N34G81G98X-2.Y-2.Z-.275R.1F10. N35M198P1066- -(call subprogram from PCMCIA card) N39G80Z.1 N40M1 N41T3
O1066 (hole sub program) N10X-3.25Y-.75 N20X-.75 N30Y-3.25 N40X-3.25 N50M99 (return to main program
When calling a program from the PCMCIA card use M198 instead of M98. E.g. N20 M198 P1066
Remember to set the I/O Channel to 4
Parameter 3404 bit 2 (SBP) and parameter 138 bit 7 must be set to 1 for this option to work.
63
Press PROG hard key to display program screen and press cycle start to start the program.
Enter the line number of the tool that you wish to start at (do not enter the N). Then press the N Search soft key. Once you have reached the correct line number turn off single block and press the start button to continue machining. This example starts at T2, assuming T2 is already in the spindle
O1066 - - - Start program in single block 200 - - - Enter line number to search to and hit N Search N200 G90 G0 G54 X0 Y0 S2000 M3 - - - Read work offsets, rpm and start spindle. N210 G43 Z1. H2 M8- - -Read Z offset 500 - - - Enter line number you wish to continue from and hit N search N500 G1 X-5. F15 - - - Turn off single block and press Cycle Start to continue machining
Your program must contain line numbers to be able to use the N Search function
You must remember to read all relevant information for the tool that you need to restart. e.g.. work offsets, Z offsets, rpm,work plane cutter comp etc
64
65
T P AE MM R E O Y
MI D
RF T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Press the PROG hard key then the OPRT soft key to display the following screen.
Press the READ soft key. The screen soft keys will change, then press the EXCE soft key. Starting your communication software now will send the program.
Daewoo uses and recommends Multi-DNC as its communication software of choice. Available at www.multi-dnc.com.
66
T P AE MM R E O Y
MI D
RF T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Turn single block switch to ON (without single block switch on, the machine will start to move as soon as you start sending the program).
SIN LEB C G LO K
CYCLESTA T R
67
68
Additional Options
Look Ahead Control (G08)
This option is designed for high-speed-machining applications that require precession and accuracy. When rounding corners and curves the delay due to acceleration/ deceleration in the servo system is suppressed. Use the following format to turn G08 on and off G08 P1 - Turns look-ahead control ON G08 P0 - Turns look-ahead control OFF
N4 (.75 DIA. ENDMILL ) N5G0G54G90X-2.25Y.625S8000M3 N6G43Z.1H1T2 N7G1Z-1.F25. N8G08P1- - - - - - Turns ON Look-ahead control N9G3X-2.Y.375I.25 N10G1X-.5 N11G2X.375Y-.5J-.875 N12G1Y-3.5 N13G2X-.5Y-4.375I-.875 N14G1X-3.5 N15G2X-4.375Y-3.5J.875 N16G1Y-.5 N17G2X-3.5Y.375I.875 N18G1X-2. N19G3X-1.75Y.625J.25 N20G08P0- - - - - - -Turns OFF Look-ahead control N20G0Z.1
G08 must be specified on a separate line and cannot be combined with any other information.
69
Use the following format to turn AICC on and off G05.1 Q1 - Turns AICC ON G05.1 Q0 - Turns AICC OFF
N2G40G80G49 N3G05.1 Q1- - - - - - Turns ON AICC N4G0G17G54G90X-2.Y-.985S8000M3 N5G43Z.1H1T1 N7G1Z-1.005F238. N8X-.1969Z-.9647 N9X-.1733Z-.9415 N10X-.156Z-.9393 N11X-.1346Z-.955 N12X-.095Z-1.005 N13G05.1 Q0- - - - - -Turns OFF AICC N14G0 Z1. G05.1 must be specified on a separate line and cannot be combined with any other information.
AI NANO - Artificial Intelligence contour control (180 Block look-ahead) 16i,18i and 21i. AICC - Artificial Intelligence contour control (40 Block look-ahead) available on all controls. AI APC - Artificial Intelligence Advanced Preview Control (15 Block look-ahead) standard on all controls.
70
To update all work coordinates, the beginning of the program should look like this. O1066 G10L2P1X16.234Y-3.435Z-1.0 G10L2P2X15.234Y-4.435Z-1.0 G10L2P3X14.234Y-5.435Z-1.0 G10L2P4X13.234Y-6.435Z-1.0 G10L2P5X12.234Y-7.435Z-1.0 G10L2P6X11.234Y-8.435Z-1.0
To write to the G54.1 P1P48 extended offsets the line of information would be
G10L20P1X16.234Y-3.435Z-1.0
71
Mirror Image
There are two types of Mirror Image available for the machine. One is to set the desired axis manually in the Offset Setting screen. The second is using programmable mirror image in the program (G51.1).
Manual Setting
Machine your 1st part and then at the end of the program move to your next X and Y home position (e.g G55 X0 Y0) and stop the program (M00).
M D O E
T P AE MM R E O Y
M I D
R F T . E .R N J G O
E IT D H N L A DE
M D S L C O E EE T
Press the function key OFFSET SETTING and then the [setting] soft key to display the Setting screen. Press the down page key to display the following page.
Enter 1 to activate the desired axis. Return the Mode Switch to Auto and press cycle start to continue machining the 2nd part.
G 55
X
The program format should look like this P1066 M98 - - - Main program containing all information to machine part. G55 X0 Y0 - - -Move to next part datum M00 - -- - - - - -Program stop (change to MDI and set X Mirror Image on). P1066 M98- - - -Call main program and machine mirrored part.
72
Mirror Image
Programmable Mirror Image
There are two ways of including Mirror Image in the program. 1. Using G51.1 2. Using M-code G51.1 (Turns Mirror Image On) G50.1 (Turns Mirror Image Off) The program format should look like this: P1066 M98 - - - Main program containing all information to machine part. G55 X0 Y0 - - - Move to next part datum G51.1 X0- - - - Mirror Image in X -axis P1066 M98- - - -Call main program and machine mirrored part. G50.1 X0 - - - - Cancel Mirror Image
M81 (Turns Mirror Image On in X-Axis) M82 (Turns Mirror Image On in Y-Axis) M80 (Turns Mirror Image Off)
The program format should look like this: P1066 M98 - - - Main program containing all information to machine part. G55 X0 Y0 - - - Move to next part datum M81- - - - Mirror Image in X -axis P1066 M98- - - -Call main program and machine mirrored part. M80 - - - - - -- Cancel Mirror Image
73
To use Coordinate System Rotation the program format should look like this: P1066 M98 - - -- - - Main program containing all information to machine part. G68 X0 Y0 R45. - - Rotates part 45 degrees with X & Y zero being center of rotation. P1066 M98- - - - - - -Call main program and machine rotated part. G69 - - - - - --- - - - Cancel Coordinate System Rotation
If no R value is specified the value in parameter 5410 is used as the angle of rotation.
74
Scaling
Using the Scaling option it is possible to enlarge or reduce the size of a part without having to change the program.
If part A is the original part size, to produce part B which is 1.5 times original. The program should look like this. G90 G0 G54 X0 Y0 (Move to center of part) G51 X0 Y0 P1500 (Turn on Scaling, magnification = 1.5) M98 P1066 (Main program containing all information to machine part) G50(Cancel Scaling mode) To produce part C which is half original size. The program should look like this. G90 G0 G54 X0 Y0 (Move to center of part) G51 X0 Y0 P500 (Turn on Scaling, magnification =0.5) M98 P1066 (Main program containing all information to machine part) G50(Cancel Scaling mode)
75
6800 .2 6810
76
Before using TLM you must first set the tool groups using the format in the above program
O1000 T201M6 (Selects 1st tool from group 1) G0G90G54X0Y0S2000M3 G43H99Z5. ( H99 must be assigned when using TLM) G98G81Z3. R.1F50. G0G80Z5. G0G91G28Z0 T202M6 (Selects 1st tool from group 2) G0G90G54X0Y0S2000M3 G43H99Z1.( H99 must be assigned when using TLM) G98G81Z3. R.1F50. G0G80Z5. G0G91Z0Y0 M30
Once both tools have been used 15 times the next tool assigned in the group is selected.
77
To display the TLM screen press the Offset Setting hard key then the key and then the TOOLLF soft key.
+ soft
A @ sign is displayed next to the tool that is being used. A * appears when the tool life has expired.
78
Pressing the GRAPH hard key will bring up the Tool Path Graphic screen.
Setting parameter 6500 bit 6 to 1 will always position the graphic in the center of the screen.
79
Horizontal Setup
The horizontal machining center gives the operator the ability to set up multiple parts. It is also possible to machine three sides of a part in one setup.
Choose a face to set all you Tool Length Offsets from. This is usually the face of the part at G54 B0.
A
Using an indicator measure the distance from the face you touched your tools off to the face of the next part to be machined. Enter this amount (A) in your work offset Z value you have assigned for that part. eg. G55 X-16.500 Y-12.290 Z-1.250
80
Horizontal Setup
All faces to be machined should be assigned there own work offset numbers. This gives better control over each work piece.
G 54 G 58 G 55 G 59 G 57
G P5 54
G P1 54
G 56
G P3 54 G P2 54
G P4 54
G P6 54
B0
B90
G P13 54
G54 P10
G P15 54 G P14 54
G P16 54
G P18 54
B180
B270
The above example is for pallet 1. Each work piece on pallet 2 should also be given individual work offset numbers.
81
O2000 (MAIN PROGRAM) M61 (Calls pallet 1) P1976 M98 (calls program O1976) M62 (Calls pallet 2) P1976 M98 (calls program O1976)
O1976 ( MAIN SUB PROGRAM) N1G0G17G40G94G90G80 N6G91G28Z0. G28X0Y0 G90 T1M6 (T1 FACE MILL) (calls tool 1) G54B0 (G54 work offset at B0 part 1) P0001M98 (calls program O001) G0Z8. (move tool away from pallet) G54.1P1B90 (G54.1 P1 work offset at B90 part 2) P0001M98 (calls program O001) G0Z8. G54.1P7B180(G54.1 P7 work offset at B180 part 3) P0001M98 G0Z8. G54.1P13B270(G54.1 P13 work offset at B270 part 4) P0001M98 G0Z8.M9 T2M6 (T2 1/2 END MILL) (calls tool 2) G54.1P13B270(G54.1 P13 work offset at B270 part 4) P0002M98 (calls program O002) G0Z8. (move tool away from pallet) G54.1P7B180(G54.1 P7 work offset at B180 part 3) P0002M98 (calls program O002) G0Z8. G54.1P1B90 (G54.1 P1 work offset at B90 part 2) P0002M98 G0Z8. G54B0(G54 work offset at B part 1) GP0002M98 G0Z8.M9 G91G28X0Y0Z0M5 G90 M99 O0002( T2 .750 FINISH) G90G0X-.8751Y2.4995S1600M3T1 G43Z.1H01M8 G1Z-1.F15. X-.3751F50. G3X.1249Y-1.9995J.5 G1Y-.9995 G2X.9999Y-.1245I.875 G1X3.9999 G2Y-3.8745J-1.875 G1X.9999 G2X.1249Y-2.9995J.875 G1Y0. G0Z.2 M99 O0001(T1 FACE MILL) G0G90X-2.5Y2.S1000M3T2 G43Z.5H01 G1Z0F50. G1X9.F20. G0Z2. M99
Always use the tool in the spindle to machine all parts on the tombstone before changing to the next tool. As it is quicker to do a B axis move than a tool change.
82
Always clamp the 'W' axis before machining. M68 - Clamp M69 - Unclamp Machine's built after 2003 now do the clamp/ unclamp automatically so it is not necessary to use M68 and M69.
83
Macro Programming
Fanuc controls have an option feature known as custom Macro. This is powerful program language that allows programs to be written using variables instead of fixed numbers.
There are several ways to call a Macro program. 1. Using G65 followed by the Macro program number. e.g. G65 P9010 2. Using a custom G-code. G100 variables are set in parameters 6050 - 6059 3. Using an M code. M-code variables are set in parameters 6071 - 6079.
By putting 100 in parameter 6050 every time G100 is placed in the program Macro 9010 will be called.
6050 G Code to call Macro program 9010 6051 G Code to call Macro program 9011 6052 G Code to call Macro program 9012 6053 G Code to call Macro program 9013 6054 G Code to call Macro program 9014 6055 G Code to call Macro program 9015 6056 G Code to call Macro program 9016 6057 G Code to call Macro program 9017 6058 G Code to call Macro program 9018 6059 G Code to call Macro program 9019
M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program M Code to call Macro program
By putting 100 in parameter 6071 every time M100 is placed in the program Macro 9001 will be called.
84
Macro Programming
This Bolt Hole Macro allows for quick and easy programming of a bolt hole circle without the operator having to calculate the position of each hole. The line of information in the program to call this macro should look like this: G100 X0.0 Y0.0 Z-.750 D2.0 R.1 C83. A45. H4. F20. Q.15 X Y Z R D C H A F T Q X axis center Y axis center Depth to drill Reference point above part Diameter of bolt circle G code to be used Number of holes in pattern Starting angle of 1st hole Feedrate Dwell value Peck depth (G73 & G83 only)
O9010(BOLT HOLE MACRO) IF[#7EQ#0]THEN #3000=1(NO DIAMETER GIVEN) IF[#11EQ#0]THEN #3000=2(NO HOLES GIVEN) IF[#9LT#0]THEN #3000=3(NO FEEDRATE "F" GIVEN) IF[#3EQ#0]THEN #3000=4(NO DRILL CYCLE GIVEN) IF[#18EQ#0]THEN #3000=20(NO REFERENCE POINT GIVEN) #100=1 #27=#7/2.0 G0X[[COS[#1]*#27]+#24]Y[[SIN[#1]*#27]+#25] G98G#3Z#26R#18F#9Q#17P#20 #101=360/#11 N1WHILE[#100LTABS[#11]]DO1 X[[[COS[[#101*#100]+#1]*#27]+#24]]Y[[[SIN [[#101*#100]+#1]*#27]+#25]] #100=#100+1 END1 M99
85
Circle-Pocket Macro
#14=0 G91G1Z-#6F#3 WHILE[[#12+#14]LT[#145]]DO2 N4G1G91Y-#12F#3 #14=#14+#12 N5G#7X0Y[2*#14]R#14F#9 N6G#7X0Y-[2*#14]R#14 N31G0Y0.0 N32END2 N2000#106=#106+1 N19G90G1Y[#143] G#7G91X0.0Y#146R145F#9 G#7X0.0Y-#146R145 G0Y0 N8G90G0X#141Y#142 N201GOTO500 N3000IF[#5EQ#0]GOTO4000 N9G90G0X#141Y#142 #14=0 N10G1Z#27F#3 N40WHILE[[#12+#14]LT[#145]]DO3 N11G1G91Y-#12F#3 #14=#14+#12 N12G#7X0Y[2*#14]R#14F#9 N13G#7X0Y-[2*#14]R#14 N14G0Y0 END3 N19G90G1Y#143 G#7G91X0.0Y#146R#145F#9 G#7X0.0Y-#146R#145 G0Y0 N4000G0G90X#141Y#142 N14G1Z#26F#3 #14=0 WHILE[[#12+#14]LT[#145]]DO1 G1G91Y-#12F#3 #14=#12+#14 G#7X0Y[2*#14]R#14F#9 G#7X0Y-[2*#14]R#14 G0Y0 END1 N1000IF[#4EQ#0]GOTO23(IF NO FIN ALLOW) N19G90G1Y#143 G#7G91X0.0Y#146R#145F#9 G#7X0.0Y-#146R#145 G0Y0 IF[#5003NE#26]GOTO4000 N23G90G1Y[#142-#10] N24G#7G91X0Y[2*#10]R#10F#9 N25G#7X0Y-[2*#10]R#10 N26G#7X#104Y[ABS[#104]]R[ABS[#104]] N67G0G90Z#140 G0X#141Y#142 M99
O9012(CIRCULAR POCKET) IF[#3EQ#0]THEN#3000=8(NO PLUNGE FEEDRATE GIVEN) IF[#9EQ#0]THEN#3000=3(NO FEEDRATE GIVEN) IF[#23EQ#0]THEN#3000=5(NO WIDTH OF CUT GIVEN) IF[#1EQ#0]THEN#3000=21(NO REFERENCE POINT) N1G0X#24Y#25Z#1 #100=0 #106=0 #140=#5003 #141=#5001 #142=#5002 #32=#4107+12000 #32=#[#32] #33=#4107+13000 #33=#[#33] #144=#32+#33(D+2000) #10=#18-#144(POCKETRAD-EMRAD) #143=#142-[#10-#4] #145=[#10-#4] #146=2*#145 #12=#23*[#144*2](WIDTH-OF-CUT) #104=[#12*.01] #27=#26+#5(ZDEPTH-FINISH) IF[#7EQ2]THEN#104=[#104*[-1]] IF[#6EQ#0]GOTO3000 #100=ABS[FIX[[#26-#1+#5]/#6]] #101=#100 N2G90G0Z#1 N3G0G90X#141Y#142 N500IF[#106GE#100]GOTO3000 86
Milling Formulas
The following formulas are used to calculate speed and feeds, metal removal rate, surface feet per minute and horse power used.
Symbols and Measurement Units D = diameter of milling cutter (inches) d = depth of cut (inches) F = feed rate (inches per minute) f = feed (inches per tooth) K = power constant of work material E = spindle efficiency (varies from 75% to 90%) W = width cut (inches) Z = number of teofeth in the cutter mrr = metal removal rate ( cubic in/min) HPc = horse power at the cutter sfm = surface feet per minute To calculate Surface Feet per Minute (SFM) sfm = .262 x D x rpm To calculate Feed rate (inches per minute) F = f x Z x rpm To calculate Feed (inches per tooth) f = F/Z x rpm To calculate Metal Removal rate (mrr) mrr = W x d x F To calculate Horse Power at the cutter (HPc) HPc = mrr/K
'K' Factors Hardness BHN Work Material steels, wrought and cast (plain carbon, alloy steels, tool steels) Precipitation hardening stainless steels 85-200 201-253 254- 286 287-327 328-371 372-481 482-560 561-615
'K' Factor 1.64 1.56 1.28 1.10 0.88 0.69 0.59 0.54
150-175 110-190 Cast Irons 176-200 (grey, ductile and 201-250 malleable) 251-300 301-320
Stainless steels, wrought and cast 135-275 1.54-0.76 (ferritic, austenitic 286-421 0.74-0.50 & martensitic) Titanium 250-375 1.33-0.87
High-temperature alloys, nickel, 200-360 0.83-0.48 colalt base Iron Base Nickel alloys 180-320 0.91-0.53 80-360 30-150 40-90 150 100-150 151-243 0.91-0.53 6.25-3.33 10.0-6.67 3.33 3.33 2.00
Example: To find the Surface Feet per Minute (smf) of a 3/4" 4 flute end mill running at 2500 r.p.m sfm = .262 x D x rpm sfm = .262 x .750 x 2500 = 49
smf = 491
87
Trouble Shooting
88
1. Restore Power (It is not necessary to Zero return the machine) 2. On the Automatic Tool Changer (ATC) box at the back of machine, set switch to manual. 3. In MDI key in M39; and press the start button. (This starts maintenance mode and allows you to use the 2 keys for rotating the tool magazine as jog keys for the tool changing arm.) 4. Turn mode switch to JOG If you have a tool in the spindle make sure that the tool is unclamped (Green light on). If not, manually press tool unclamp button. 5. Using the jog keys (on the ATC box) move the tool changer arm to home position (you will have to press the key several times). Carefully watch the tool that is being placed in the spindle. Once it is in position in the spindle manually press tool clamp before proceeding otherwise the tool will drop. Finish pressing the jog key until the arm is at home position. 6. Turn mode switch to MDI 7. In MDI key in M19; and press the start button (spindle orientation) 8. Key in M41 (will complete 1 complete tool change) 9. Set APC box back to Auto. 10. Check to make sure that you have the correct tool number in spindle before continuing. To display tool register Press SYSTEM ? PMC ? PMCPRM ? DATA ? G.DATA Page to show parameters D450 & D452 D450 Head Tool (shows tool number in spindle) D452 Next Tool (shows tool number in waiting pot)
89
Horizontal Machining Center Tool Changer Recover (DHP and DHC 400)
During a normal tool change (1) Next tool is placed in spindle. (2) Tool from spindle is returned to waiting pot. (3) Tool is returned to correct pocket in magazine. After this the next tool called is brought to the waiting pot position, then the magazine rotates back so that the pocket number and the tool in the spindle are the same. At all times the magazine should have (2) empty spaces.
T5
T1
90
Horizontal Machining Center Tool Changer Recover (DHP and DHC 400)
Occasionally due to tool changing errors (2) pots will be in the waiting pot position. For this example we have T5 in the spindle and T10 as the waiting tool. The Pot position's were the spindle tool and waiting tool came from should be empty (e.g. P5/P10). Look in the magazine to see were the third pot is missing from (e.g. P20). Manually rotate the magazine so that the third empty pocket and the misplaced pot are in line. On the CRT press Hard Key - SYSTEM, (soft keys) - PMC - PMCPRM - DATA - G.DATA. This will display the following. N0 ADDRESS DATA 0000 0001 D0450 DO452 5 (This is the tool in the spindle) 10 (This is the tool in the waiting pot) Change D0452 to matched the third empty pocket number (e.g. 20). In manual bring pot over to magazine side. Change D0452 back to waiting pot number (e.g. 10). Return magazine back to auto mode. The magazine should now be back in sequence.
P 10
P 5
M isplaced P ot I -S pindle
T10
T5
P 20
91
M D O E
T P AE MM R E O Y MI D RF T . E .R N J G O
M D S L C O E EE T
3. Make sure that the ATC box is connected to the tool changer and set to Manual. 4. On the ATC box set switch to Tool Change Step Reverse. 5. Keep pressing Start key (green button). Carefully watch the tool being placed in the spindle. Once the tool is in the spindle manually press the tool clamp button before preceding otherwise the tool will drop. Finish pressing the start button until the arm is in the home position. 6. Set switch to Close Door and press start switch. 8. Check to make sure that you have the correct tool in the spindle before continuing.
A TC C N IT N O D IO
A PC C N ITIO OD N
EM G C STO ER EN Y P
SPIN LE D O IEN TIO R TA N TO LC A G O HNE 1C C Y LE TO LC A G O HNE STEP FO W R R AD TO LC A G O HNE STEP R ER EV SE M TO B A E O R RK R ELEA SE
D O C SE O R LO DO O O R PEN
W TU C M -PO N LA P W TC M -PO LA P
AC T
STO P STA T R
A PC
92
M D OE
T P AE MM R E OY MI D RF T . E .R N JO G
H N L A DE
M D SLC OE EE T
3. Make sure that the APC box is connected to the pallet changer, and set to Manual. 4. On APC box set switch to Pallet Change Reverse. 5. Press Start Key (Green Start Button , wait for pallet to finish rotating before continuing). 6. Set switch to Clamp Pallet and press Start. 7. Set APC switch back to Auto. 8. Check to make sure that you have the correct pallet in the machine before continuing.
When doing a pallet change all doors must be closed at all times.
93
Part No
To Order Call:
316-45 311-18
94
Part No
To Order Call:
711-23 711-25
95
BT 30 PULL STUD
This pull stud will fit all 30 taper Daewoo Machining Centers.
1 m 8 m
M 2x1 5 1 .7
1m 1 m
7 m m
2m 5 m
Part No 311-09H
To Order Call: Retention Knob Supply Company Tel: 937-686-6405 Fax: 937-686-4125
96
W eight C enter
Calculate the tools 'Moment' as follows 1. Find the tools center of gravity 2. Measure the distance from the tools center of gravity to taper gage line. 3. Weight x length = Moment
The easiest way to find the tools center of gravity is to tie a piece of string around the tool, and then find the point at which the tool is balanced. Measure from the string to the taper gage line.
M easure fromcenter point to taper gage line
97
E p m ty P ck o ets
Tool's with numbers 70 and higher are considered 'large Tools'. Before you start to use a large tool you must first set the 'Tool Registry'.
When loading a large tool make sure that the pots on either side are empty. In the 'Tool Registry' set the empty pots to "00".
In this example 'Pot 8' has the large tool with Pots 7 and 9 empty. When T70 is called in the program it will always be placed back in Pot 8.
98
Lubrication Requirements
The following is a list of oils used on Daewoo machining Centers. Way Lube 'G' Oil Hydraulic 'B' Oil Spindle Cooler 'A' Oil Grease 'Y' Oil Air Service Unit 'B2' Oil Table 'E' Oil
Comparative Oils
Shell Oil Tellus C10 Tellus 32 Tellus 68 Tonna T68 Alavniagrease EP2
Sun Oil
Solnus 55
Mold cut on DMV 3016LS In 1 Hour 32 minutes. H13 Tool Steel RC50
99
Datum
Y+
X+
100
Index
A. Axis Movement - 7 Absolute Coordinate Programming (G90) - 16,17 Additional Options - 69 Artificial Intelligence Contour Control (AICC) - 70 Artificial Intelligence Advanced Preview Control (AI APC) - 70 B. Boring, Fine Boring (G76) - 32 Back Ground Edit - 47 Block Delete - 48 Boring Mill Program Example - 83 C. Codes, M Codes (Most Commonly Used) - 5 G Codes (Most Commonly Used) - 4 Control Panel - 6 Coordinate Programming - 16 Circular Programming (G02,G03) - 19,21 Cutter Compensation (G40,G41,G42) - 23,25 Canned Cycles - 26,33 Control Options - 69 Coordinate Rotation - 74 D. Drilling, High Speed (G73) - 28 Drilling (G81) - 29 Peck Drilling (G83) - 30 DNC, Using PCMCIA Card - 62 Using Laptop Computer - 67 Down Loading, Using PCMCIA Card - 61 Using Laptop Computer - 65
101
E. Extended Part Program, Edit - 43 Move - 44 Merge - 45 Change - 46 F. Fixed Cycles - 28,33 G. G - Codes (Most Commonly Used) - 4 Graphics (Tool Path) - 79
H. High Speed Peck Drilling (G73) - 28 Helical Interpolation - 37,38 Horizontal Machining Center Setup - 80,81 Horizontal Program Example - 82 I. Incremental Coordinate Programming (G91) - 16,17 Initial Plane (G98) - 27 J. K. 'K' In Canned Cycles - 36 L. Linear Interpolation (G00/G01) - 15 Look-ahead Control (G8) - 69 Lubrication Requirements - 98
102
M. M-Codes (Most Commonly Used) - 5 M.P.G (Manual Pulse Generator) - 8 M.D.I (Manual Data Input) - 39 Memory Card - 60 Milling Formulas - 87 MBL APC (Multi Block Look-a-head Advanced Preview Control) - 70 Mirror Image - 71,73 Macro Programming Example - 84,86 N.
O. Optional Stop - 48 Options - 69 P. Programming - 15 Plane Selection - 18 Program, Starting - 40 Numbers - 41 Editing - 42 Sample - 52,55 Searching - 57 Searching For - 58 Deleting - 59 Program Stop - 48 Program Restart - 49 Parameters (Changing) - 51 PCMCIA Cards, PCMCIA Cards - 60 Uploading and Downloading - 61 DNC Operation - 62 Calling Subprograms (M198) - 63
103
P. Continued, Restarting a program - 64 Programmable Data Input (G10) - 71 Pull Studs - 93,95 Q.
R. Radius Command - 22 Rapid Plane - (G99) -27 Rigid Tapping - 33 Rigid Tapping Using an Alternative Axis - 34 Repetition of canned cycles (L) - 35 Restart - 49 RS231C Communication - 68 S. Starting a Program - 40 Sample Program - 52,55 Subprogram (M98) - 56 Subprogram - Calling from PCMCIA Card (M198) - 63 Scaling - 75 T. Tool Length Offset - 9 Setting Method - 10 Tool Offset Memory 'C' - 11 Tapping, (G84) - 31 Rigged Tapping - 33 Rigged Tapping Using an Alternative Axis - 34 Thread Milling - 37,38 Tool Registry - 50 Tool Life Management - 76,78 Tool Path Graphics - 79
104
T. Continued, Trouble Shooting, Side Mounted Tool Changer - 88 Horizontal Tool Changer (400 series) - 89,90 Horizontal Tool Changer (HP500/630) - 91 Pallet Recovery (HP500/630) - 92 Heavy Tool Limitations - 96 Uses of Large Tool - 97 U. Uploading from PCMCIA Card -61 Uploading from Laptop Computer - 66 V.
W. Work Coordinates - 12 Work Coordinate System Setting Method - 13 Work Coordinate System (G54-G59/G54.1P1-P300) - 14
Y.
Z.
105
Phil Misseldine Applications Engineer Machining Centers Doosan Infracore America Corporation 8 York Avenue West Caldwell, New Jersey 07006 Main Tel: Direct: Fax: E-mail: 973-618-2500 973-618-2436 973-618-2472 [email protected]
106