CNC Practical Report
CNC Practical Report
Mechatronics Department
CNC Technology
under the supervision of:
Dr. Wisam Faruk
TA.ENG. Islam Mohamed
student:
Sobhi Al-Saeed Sobhi Qamh
Sec.3
1|Page
1- Tool Life
Problem –1
The useful tool life of a HSS tool at 18 m/min is 3 hours and n = (0.125). Calculate
the tool life when the tool operates at 24 m/min.
Givens Solution
𝑇1 = 3 ℎ 𝑐𝑎𝑠𝑒1 𝑐𝑎𝑠𝑒2
𝑉2 = 24 𝑚/𝑚𝑖𝑛
𝑉1 ∗ 𝑇1𝑛 = 𝑉2 ∗ 𝑇2𝑛
𝐹𝑖𝑛𝑑 𝑇2
1
𝑛 𝑛 𝑛
𝑉1 ∗ 𝑇1 𝑉1 ∗ 𝑇1
𝑇2𝑛 = ⟶ 𝑇2 = ( )
𝑉2 𝑉2
1
0.125 0.125
18 ∗ 180
𝑇2 = ( ) = 18 𝑚𝑖𝑛
24
2|Page
Problem –2
If in turning of a steel rod by a given cutting conditions, the tool life decreases from
80 min to 20 min due to increase in cutting velocity, v from 60 m/min to 120
m/min, then at what cutting velocity the life of that tool under the same condition
and environment will be 40 min?
Givens Solution
𝑇2 = 20 𝑚𝑖𝑛
From Case1 & Case2 → n
𝑇3 = 40 𝑚𝑖𝑛
𝑇1𝑛 𝑉2 𝑇1 𝑛 𝑉2 𝑇1 𝑛 𝑉2
𝑉1 = 60 𝑚/𝑚𝑖𝑛 ( 𝑛 ) = ( ) ⟶ ( ) = ( ) ⟶ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑉1 𝑇2 𝑉1 𝑇2 𝑉1
𝑉2 = 120 𝑚/𝑚𝑖𝑛
𝑇1 𝑉2
𝐹𝑖𝑛𝑑 𝑉3 𝑛 ∗ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑉1
𝑙𝑛(𝑉2⁄𝑉1) 𝑙𝑛(120⁄60)
𝑛= = = 0.5
𝑙𝑛(𝑇1⁄𝑇2) 𝑙𝑛(80⁄20)
𝑉1 ∗ 𝑇1𝑛 = 𝑉3 ∗ 𝑇3𝑛
𝑉1 ∗ 𝑇1𝑛 𝑉1 ∗ 𝑇1𝑛
𝑉3 = ⟶ 𝑉3 =
𝑇3𝑛 𝑇3𝑛
60 ∗ 800.5
𝑉3 = = 85 𝑚/𝑚𝑖𝑛
400.5
3|Page
Problem –3
During turning a metallic rod at a given condition, the tool life was found to
increase from 25 min to 50 min. when V was reduced from 100 m/min to 80
m/min. How much will be the life of that tool if machined at 90 m/min ?
Givens Solution
𝑇2 = 50 𝑚𝑖𝑛
From Case1 & Case2 → n
𝑉1 = 100 𝑚/𝑚𝑖𝑛
𝑇1𝑛 𝑉2 𝑇1 𝑛 𝑉2 𝑇1 𝑛 𝑉2
𝑉2 = 80 𝑚/𝑚𝑖𝑛 ( 𝑛 ) = ( ) ⟶ ( ) = ( ) ⟶ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑉1 𝑇2 𝑉1 𝑇2 𝑉1
𝑉3 = 90 𝑚/𝑚𝑖𝑛
𝑇1 𝑉2
𝐹𝑖𝑛𝑑 𝑇3 𝑛 ∗ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑉1
𝑙𝑛(𝑉2⁄𝑉1) 𝑙𝑛(80⁄100)
𝑛= = = 0.32
𝑙𝑛(𝑇1⁄𝑇2) 𝑙𝑛(25⁄50)
𝑉1 ∗ 𝑇1𝑛 = 𝑉3 ∗ 𝑇3𝑛
1
𝑛 𝑛 𝑛
𝑉1 ∗ 𝑇1 𝑉1 ∗ 𝑇1
𝑇3𝑛 = ⟶ 𝑇3 = ( )
𝑉3 𝑉3
1
0.32 0.32
100 ∗ 25
𝑇3 = ( ) = 34.74 𝑚𝑖𝑛
90
4|Page
Problem –4
While drilling holes in steel plate by a 20 mm diameter HSS drill at a given feed, the
tool life decreased from 40 min to 24 min. when speed was raised from 250 rpm to
320 rpm. At what speed (rpm) the life of that drill under the same condition would
be 30 min.?
Givens Solution
𝑇1 = 40 𝑚𝑖𝑛
From Case1 & Case2 → n
𝑇2 = 24 𝑚𝑖𝑛
𝑇1𝑛 𝑁2 𝑇1 𝑛 𝑁2 𝑇1 𝑛 𝑁2
𝑇3 = 30 𝑚𝑖𝑛 ( 𝑛 ) = ( ) ⟶ ( ) = ( ) ⟶ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑁1 𝑇2 𝑁1 𝑇2 𝑁1
𝑁1 = 250 𝑟. 𝑝. 𝑚
𝑇1 𝑁2
𝑁2 = 320 𝑟. 𝑝. 𝑚 𝑛 ∗ 𝑙𝑛 ( ) = 𝑙𝑛 ( )
𝑇2 𝑁1
𝐹𝑖𝑛𝑑 𝑁3 𝑙𝑛(𝑁2⁄𝑁1) 𝑙𝑛(320⁄250)
𝑛= = = 0.48
𝑙𝑛(𝑇1⁄𝑇2) 𝑙𝑛(40⁄24)
𝑁1 ∗ 𝑇1𝑛 = 𝑁3 ∗ 𝑇3𝑛
5|Page
2- Turning Calculation
Problem –1
150 mm long. 13 mm diameter stainless steel rod is being machined by turning on a
centre lathe to 12 mm. The spindle rotates at N = 400 r.p.m and the feed = 0.5
w.s
mm/rev and the specific energy for stainless steel = 4 mm3 .
Calculate:
A- Cutting Speed.
B- Machining Time.
C- Material Removal Rate.
D- Power Dissipated.
Givens Solution
𝑁 = 400 𝑟. 𝑝. 𝑚 𝐷𝑚𝑎𝑥 + 𝐷𝑓 13 + 12
𝐷𝑎𝑣𝑔 = = = 12.5 𝑚𝑚
2 2
𝐹 = 0.5 𝑚𝑚/𝑟𝑒𝑣
𝐷𝑚𝑎𝑥 − 𝐷𝑓 13 − 12
𝑤. 𝑠 𝑑= = = 0.5 𝑚𝑚
𝑆𝐸 = 4 ( ) 2 2
𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 𝐷𝑎𝑣𝑔 ∗ 𝑁 ∗ 𝐹 ∗ 𝑑
4 𝑤. 𝑚𝑖𝑛
𝑆𝐸 = ( )
60 𝑚𝑚3 𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 12.5 ∗ 400 ∗ 0.5 ∗ 0.5 = 3925
𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
4
𝑉, 𝑇, 𝑀𝑅𝑅 𝑎𝑛𝑑 𝑃 𝑃 = 𝑆𝐸 ∗ 𝑀𝑅𝑅 = ∗ 3925 = 261.7 𝑤𝑎𝑡𝑡
60
6|Page
Problem –2
500 mm long. 26 mm diameter steel rod is being machined by turning on a centre
lathe to 20 mm. The spindle rotates at N = 800 r.p.m and the feed = 0.5 mm/rev and
w.s
the specific energy for this steel = 5 mm3 .
Calculate:
A- Cutting Speed.
B- Machining Time.
C- Material Removal Rate.
D- Power Dissipated.
Givens Solution
𝑁 = 800 𝑟. 𝑝. 𝑚 𝐷𝑚𝑎𝑥 + 𝐷𝑓 26 + 20
𝐷𝑎𝑣𝑔 = = = 23 𝑚𝑚
2 2
𝐹 = 0.5 𝑚𝑚/𝑟𝑒𝑣
𝐷𝑚𝑎𝑥 − 𝐷𝑓 26 − 20
𝑤. 𝑠 𝑑= = = 3 𝑚𝑚
𝑆𝐸 = 5 ( ) 2 2
𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 𝐷𝑎𝑣𝑔 ∗ 𝑁 ∗ 𝐹 ∗ 𝑑
5 𝑤. 𝑚𝑖𝑛
𝑆𝐸 = ( )
60 𝑚𝑚3 𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 23 ∗ 800 ∗ 0.5 ∗ 3 = 86707.95
𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
5
𝑉, 𝑇, 𝑀𝑅𝑅 𝑎𝑛𝑑 𝑃 𝑃 = 𝑆𝐸 ∗ 𝑀𝑅𝑅 = ∗ 86707.95 = 7225.66 𝑤𝑎𝑡𝑡
60
7|Page
Problem –3
100 mm long. 14 mm diameter steel rod is being machined by turning on a centre
lathe to 12 mm. The spindle rotates at N = 500 r.p.m and the feed = 0.4 mm/rev and
w.s
the specific energy for this steel = 5 mm3 .
Calculate:
A- Cutting Speed.
B- Machining Time.
C- Material Removal Rate.
D- Power Dissipated.
Givens Solution
𝑁 = 500 𝑟. 𝑝. 𝑚 𝐷𝑚𝑎𝑥 + 𝐷𝑓 14 + 12
𝐷𝑎𝑣𝑔 = = = 13 𝑚𝑚
2 2
𝐹 = 0.4 𝑚𝑚/𝑟𝑒𝑣
𝐷𝑚𝑎𝑥 − 𝐷𝑓 14 − 12
𝑤. 𝑠 𝑑= = = 1 𝑚𝑚
𝑆𝐸 = 5 ( ) 2 2
𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 𝐷𝑎𝑣𝑔 ∗ 𝑁 ∗ 𝐹 ∗ 𝑑
5 𝑤. 𝑚𝑖𝑛
𝑆𝐸 = ( )
60 𝑚𝑚3 𝑚𝑚3
𝑀𝑅𝑅 = 𝜋 ∗ 13 ∗ 500 ∗ 0.4 ∗ 1 = 8164
𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
5
𝑉, 𝑇, 𝑀𝑅𝑅 𝑎𝑛𝑑 𝑃 𝑃 = 𝑆𝐸 ∗ 𝑀𝑅𝑅 = ∗ 8164 = 680 𝑤𝑎𝑡𝑡
60
8|Page
3- Milling calculation
Problem –1
d = 150 mm, a = 1 mm, b = 40 mm, L = 400 mm, N = 50 r.p.m, number of inserts =
cm3
10, S = 0.05 mm/tooth, V' = 0.1
kw.min
Calculate:
A- The machining time.
B- The machine power in KW.
Givens Solution
𝑁 = 50 𝑟. 𝑝. 𝑚
𝑀𝑅𝑅 1
𝑍 = 10 𝑡𝑜𝑜𝑡ℎ 𝑃= = = 10 𝑤𝑎𝑡𝑡
𝑉′ 0.1
𝑚𝑚
𝑆 = 0.05
𝑡𝑜𝑜𝑡ℎ
′
𝑐𝑚3
𝑉 = 0.1 ( )
𝑘𝑤. 𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
𝑇 𝑎𝑛𝑑 𝑃
9|Page
Problem –2
d = 60 mm, number of teeth = 6, Block to be removed (80 x 300 x 6), l = 300 mm, S
cm3
= 0.08 mm/tooth, a = 1.5 mm, b = 40 mm, v = 16 m/min, V' = 0.15 kw.min
Calculate:
A- The machining time.
B- The machine power in KW.
Givens Solution
𝑑 = 60 𝑚𝑚 𝑉𝑐 ∗ 1000 16 ∗ 1000
𝑁= = = 85 𝑟. 𝑝. 𝑚
𝜋∗𝑑 𝜋 ∗ 60
𝐴 = 6 𝑚𝑚
𝑆 ′ = 𝑆 ∗ 𝑍 ∗ 𝑁 = 0.08 ∗ 6 ∗ 85 = 40.8 𝑚𝑚/𝑚𝑖𝑛
𝐵 = 80 𝑚𝑚
𝑙+𝑑 𝐴 𝐵 300 + 60 6 80
𝑇=( ) ( ∗ ) = ( ) ( ∗ ) = 70.58 𝑚𝑖𝑛
𝑎 = 1.5 𝑚𝑚 𝑆′ 𝑎 𝑏 40.8 1.5 40
𝑉𝑐 = 16 𝑚/𝑚𝑖𝑛
′
𝑐𝑚3
𝑉 = 0.15 ( )
𝑘𝑤. 𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
𝑇 𝑎𝑛𝑑 𝑃
10 | P a g e
Problem –2
In a CNC milling operation the diameter of cutter (d) = 120 mm, number of teeth =
12, Block to be removed (300 x 80 x10), feed per tooth (S) = 0.2 mm/tooth, width of
cm3
cutter (b) = 80 mm, speed (v) = 16 m/min, V' = 0.2 kw.min
Calculate:
A- The machining time.
B- The machine power in KW.
Givens Solution
′
𝑐𝑚3
𝑉 = 0.2 ( )
𝑘𝑤. 𝑚𝑖𝑛
𝐹𝑖𝑛𝑑:
𝑇 𝑎𝑛𝑑 𝑃
11 | P a g e
4- G code (Milling)
Homework
Write the G and M codes for machining the outside contour of the workpiece shown in
figure under the following conditions: Thickness = 10 mm Spindle speed = 1000 rpm Feed
rate = 50 mm/min lubricant is required for drilling only. Choose suitable zero point.
Coordinate table
12 | P a g e
Code Explanation
;N10 G54 نقل نقطة الصفر من الماكينة إىل نقطة الصفر الخاصة
بقطعة العمل.
;N15 G21 G90 T01 M3 S1000 ر
بالمليمب ( ،)G21الوضع المطلق ( ،)G90اختيار البمجة
ر
األداة رقم ،1تشغيل المغزل مع عقارب الساعة برسعة
1000دورة/دقيقة.
;N20 G00 X0 Y0 Z5 حركة رسيعة إىل بداية القطع فوق نقطة الصفر بـ 5مم.
;N25 G41 تفعيل تعويض نصف قطر األداة إىل اليسار ( Cutter
.)Compensation Left
;N30 G01 Z-10 F50 النهائ Z=-10برسعة تغذية 50 زز
البول إىل عمق القطع
ي
مم/دقيقة.
;N35 G01 X35 Y90 حت .X=35, Y=90 التحرك زف اتجاه خط مائل ر
ي
;N40 G01 X130 Y90 حت .X=130, Y=90 التحرك ً
أفقيا ر
;N45 G02 X160 Y60 R30 حت X=160, Y=60 قوس دائري باتجاه عقارب الساعة ر
بنصف قطر 30مم.
;N50 G01 Y0 حت ).Y=0 (X=160 نزول عمودي ر
;N50 G01 X0 حت ( X=0إغالق الشكل). التحرك ً
أفقيا إىل اليسار ر
;N55 G00 Z5 رفع األداة برسعة إىل Z=5مم.
;N55 M8 تشغيل ر ز
البييت (يبدأ اآلن ألغراض الحفر فقط).
;N60 G00 X70 Y30 تحريك األداة برسعة إىل أول ثقب.
;N65 G01 Z-10 الحفر بعمق 10مم.
;N70 G00 Z5 رفع األداة.
;N75 G00 X70 Y60 التحرك إىل الثقب ز
الثائ.
ي
;N80 G01 Z-10 الحفر بعمق 10مم.
;N85 G00 Z5 رفع األداة.
;N90 G00 X120 Y30 االنتقال للثقب الثالث.
;N95 G01 Z-10 الحفر بعمق 10مم.
;N100 G00 Z5 M9 فع األداة +إيقاف ر ز
البييت بعد انتهاء الحفر.
;N105 G40 إلغاء تعويض نصف قطر األداة.
;N110 G00 X-30 Y-30 Z100 االبتعاد عن القطعة إىل موقع آمن.
;N115 M30 ز
تعيي الماكينة. البنامج وإعادة
نهاية ر
13 | P a g e
Manufacturing Abbreviations:
CAM: Computer Aided Manufacturing. التصنيع بمساعدة الحاسوب
CIM: Computer Integrated Manufacturing. التصنيع المتكامل بالحاسوب
CAD: Computer Aided Design. التصميم بمساعدة الحاسوب
NC: Numerical Control. الرقم
ي التحكم
CNC: Computer Numerical Control. الرقم بالحاسوب
ي التحكم
DNC: Direct Numerical Control. الرقم المبارس
ي التحكم
CAP: Computer Assisted Programming. البمجة بمساعدة الحاسوب ر
APT: Automatically Programmed Tool. ً
تلقائيا أداة رمبمجة
FMS: Flexible Manufacturing System. نظام التصنيع المرن
CAPP: Computer Aided Process Planning. تخطيط العمليات بمساعدة الحاسوب
RPT: Rapid Prototyping. النمذجة الرسيعة
Mechatronics impact on manufacturing engineering: :تأثب الميكاترونكس عىل هندسة التصنيع
Mechatronics has a significant and increasing impact on engineering with emphasis on the
design, development, and operation of manufacturing engineering systems.
مع ر،ومبايد عىل الهندسة
الب ز
.كب عىل تصميم وتطوير وتشغيل أنظمة الهندسة التصنيعية يؤثر الميكاترونكس بشكل كبب ر ز
The main objective of this interdisciplinary engineering field is the study of automation from an
engineering perspective, thinking on the design of products and manufacturing processes and
systems.
مع التفكب ز يف تصميم المنتجات،هندس
ي الهندس متعدد التخصصات هو دراسة األتمتة من منظور
ي ئيس لهذا المجال
الهدف الر ي
.وعمليات وأنظمة التصنيع
An Introduction to NC & CNC Systems & Machines:
NC - A method of accurately controlling the operation of a machine by a series of coded instructions,
consisting of numbers, letters of the alphabet, and symbols that the machine control unit can
understand.
ر
الت تتكون من أرقام ز
ي،( طريقة للتحكم الدقيق يف تشغيل الماكينة من خالل سلسلة من التعليمات المشفرةNC) - الرقمي التحكم
.وحروف ورموز يمكن لوحدة التحكم ز يف الماكينة فهمها
CNC - Computer Numerical Control - computer provides machine codes to the MCU.
.( باألكواد التشغيليةMCU) ببويد وحدة التحكم ز يف الماكينة
( يقوم الحاسوب ر زCNC) - التحكم الرقم بالحاسوب
ي
MCU - Machine Control Unit - decodes NC codes to drive and monitor servo motor movements.
. لتشغيل ومراقبة حركات المحركات السبفوNC ( تقوم بفك شيفرة أكوادMCU) - وحدة التحكم ز يف الماكينة
History of NC and CNC:
Need to manufacture large number of products for the war (WWII).
.الحاجة إىل تصنيع عدد كبب من المنتجات للحرب العالمية الثانية
Need for quantity and quality. ٍّ الحاجة إىل تحقيق
.كل من الكمية والجودة
U.S. Air Force set up companies to develop and produce NC systems to handle volume and
repeatability.
. لمعالجة الحجم الكبب والتكراريةNC قامت القوات الجوية األمريكية بإنشاء رسكات لتطوير وإنتاج أنظمة
Repeatability: the ability to perform the same operation over & over within specified
parameters.
14 | P a g e
. القدرة عىل تنفيذ نفس العملية مر ًارا وتكر ًارا ضمن معايب محددة:التكرارية
NC Timeline الرقم ز
الزمت للتحكم الجدول
ي ي
1949 - First contract awarded for NC machine. .رقم
تم منح أول عقد لماكينة تحكم ي
1951 - Servo system for machines developed. .تم تطوير نظام السبفو للماكينات
1952 - Tape-fed machine was created. .تم إنشاء ماكينة تعمل بواسطة رسيط مثقوب
1960s - Development of APT language followed by G codes - Punch tape input.
.عب الرسيط المثقوب
إدخال ر- G تالها أكواد،APT تطوير لغة
1970s - Development of computer chips. .تطوير رقائق الحاسوب
o Faster and cheaper processing power. .قدرة معالجة أرسع وأقل تكلفة
o Smaller computers. ً
.حجما حواسيب أصغر
o More reliable. .أكب موثوقية
Specific Goals of NC and CNC: :الرقم بالحاسوب
ي الرقم والتحكم
ي اىل التحكم
االهداف المحددة ي
Increase production. .زيادة اإلنتاج
Improve quality & accuracy of machined parts. ز
.تحسي الجودة والدقة لألجزاء الميكانيكية
Stabilize manufacturing costs. .استقرار تكاليف التصنيع
Speed up production & assembly operations. .ترسيـ ـع عمليات اإلنتاج والتجميع
15 | P a g e
Development of CNC: : تطويرCNC
Further developments in the computer allowed it to be used to control the machine instead of the
paper tape.
ً
.بدال من رسيط الورق التطورات اإلضافية ز يف الكمبيوتر سمحت باستخدامه للتحكم ز يف اآللة
Advantages of CNC:
Increased productivity after programming is completed. .البمجة
زيادة اإلنتاجية بعد إتمام ر
Reliability - reduces human error. . تقليل األخطاء البرسية- الموثوقية
Often eliminates need for special jigs and fixtures.
تلغ الحاجة إىل األدوات ر
.والبكيبات الخاصة ز ً
غالبا ما ي
Makes possible the machining of complex shapes requiring simultaneous 3 axis motion.
الت تتطلب حركة ثالثية المحاور ر ز
.مبامنة ر
يجعل من الممكن تصنيع األشكال المعقدة ي
Single part and production runs can be programmed and machined with minimum effort and
cost.
.يمكن برمجة وتصنيع القطع الفردية أو دفعات اإلنتاج بأقل جهد وتكلفة
Programs can readily be altered and re-run. .البامج بسهولة وإعادة تشغيلها
يمكن تعديل ر
Reduced inspection costs (more reliable). .)تقليل تكاليف الفحص (أكب موثوقية
Once programming, setup and verified the equipment can be operated by a less skilled
operator.
. يمكن تشغيلها بواسطة مشغل أقل مهارة،بمجرد برمجة المعدات وإعدادها والتحقق منها
Disadvantages of CNC:
Initial cost of CNC machine tools. .التكلفة األولية ألدوات اآلالت
Servicing of equipment. .صيانة المعدات
Larger machines require more space. .أكب
اآلالت األك رب تتطلب مساحة ر
Personnel must be trained in the programming and operation of this equipment.
ز
.العاملي عىل برمجة وتشغيل هذه المعدات يجب تدريب
Machines that use CNC System:
Lathes.
Milling Machines.
Grinding Machines.
Bending M/cs.
Welding M/cs.
Wood Routers.
Laser Cutters.
Glass Cutters.
Embroidery.
3D Printers.
16 | P a g e
The drive shaft in conventional machines has a trapezoidal thread shape, while in digital control
machines it is spherical and has ball bearings.
ً ً بينما زف ماكينات التحكم الرقم يكون،عمود القيادة زف الماكينات التقليدية يكون عىل شكل سن لولت شبه منحرف
كرويا ومزودا ي ي ري ي
Feedback
17 | P a g e
Product design determines: :يحدد تصميم المنتج
The function. .الوظيفة
Appearance. .المظهر
Cost of production. .تكلفة اإلنتاج
Great care of the design calculation, material selection and estimation of the resources and cost
required to produce a part are committed at its design phase.
. وتقدير الموارد والتكلفة المطلوبة إلنتاج الجزء خالل مرحلة التصميم، واختيار المواد،يتم إيالء اهتمام كبب لحسابات التصميم
Engineering Materials:
Metals: :المعادن
o Ferrous Metals. .المعادن الحديدية
o Nonferrous Metals. .المعادن غب الحديدية
Ceramics: :السباميك
o Crystalline Ceramics. .السباميك البلوري
o Glasses. .الزجاج
Polymers: :البوليمرات
o Thermoplastics. .اللدائن الحرارية
o Thermosets. .اللدائن المتصلدة حرا ًريا
o Elastomers. .اللدائن المرنة
Composites: :المواد المركبة
o Metal Matrix Composites. .المواد المركبة ذات القاعدة المعدنية
o Ceramic Matrix Composites. .المواد المركبة ذات القاعدة الخزفية
o Polymer Matrix Composites. .المواد المركبة ذات القاعدة البوليمرية
Natural Materials: :المواد الطبيعية
o Timber. .الخشب
o Leather. .الجلد
o Rubber. .المطاط
o Bone. .العظام
o Granite. .الجرانيت
Materials available to engineers:
There are about more than 50,000 materials available to the engineer.
. مادة متاحة للمهندس50,000 هناك أكب من
In designing a structure or device, how the engineer chooses from this vast menu, the material
which best suits the purpose?
كيف يختار المهندس من ز،عند تصميم هيكل أو جهاز
بي هذا العدد الهائل المادة األنسب للغرض؟
Based on calculations. .يعتمد االختيار عىل الحسابات
Mistakes can cause disasters. .يمكن أن تؤدي األخطاء إىل كوارث
Classification of manufacturing: :تصنيف التصنيع
18 | P a g e
Manufacturing can be classified into two ways, one technologic and the other economic.
ز
. إحداهما تكنولوجية واألخرى اقتصادية،بطريقتي يمكن تصنيف التصنيع
Technologically, manufacturing is the application of physical and chemical processes to alter the
geometry, properties, and/or appearance of a given starting material to make parts or products.
أو المظهر/الهندس والخصائص و الفبيائية والكيميائية لتغيب الشكل َّ ُي،من الناحية التكنولوجية
عرف التصنيع بأنه تطبيق العمليات ز
ي
.لمادة أولية معينة من أجل تصنيع األجزاء أو المنتجات
Manufacturing also includes assembly of multiple parts to make products.
ً
.كما يشمل التصنيع أيضا تجميع أجزاء متعددة لصنع المنتجات
The processes to accomplish manufacturing involve a combination of machinery, tools, power, and
labor, as depicted in Figure.
The key point is that manufacturing adds value to the material by changing its shape or properties, or
by combining it with other materials that have been similarly altered.
أو من خالل دمجها مع مواد أخرى تم،ه أن التصنيع يضيف قيمة إىل المادة عن طريق تغيب شكلها أو خصائصهاالنقطة األساسية ي
.تعديلها بطريقة مماثلة
The material has been made more valuable through the manufacturing operations performed on it.
ر
.الت يتم إجراؤها عليها
تزداد قيمة المادة من خالل عمليات التصنيع ي
When iron ore is converted into steel, value is added. . تضاف قيمة،عند تحويل خام الحديد إىل فوالذ
When sand is transformed into glass, value is added. . تضاف قيمة،عند تحويل الرمل إىل زجاج
When petroleum is refined into polymers, value is added. عند تكرير ر
. تضاف قيمة،الببول إىل بوليمرات
19 | P a g e
And when polymer is molded into the complex geometry of a product, it is made even more valuable.
ز
. تزداد قيمته أكب،معي وعند تشكيل البوليمر ز يف هندسة معقدة لمنتج
Cost of machined part:
20 | P a g e
Milling Operations: :عمليات التفريز
Cutting Fluids (Lubricants and Coolants): :)والتبيد السوائل المستخدمة زف القطع (مواد ر ز
البييت ر ي
Effect of cutting fluids: :تأثب سوائل القطع
Cool the cutting zone. .رتبيد منطقة القطع
Reduce w/p temp and distortion. .تقليل درجة حرارة الشغلة والتشوه
Reduce friction & wear. .تقليل االحتكاك والتآكل
Improve tool life & surface finish. ز
.تحسي عمر األداة وجودة السطح المشغل
Reduce force & energy consumption. .تقليل القوى واستهالك الطاقة
ً
Wash the chips away. .بعيدا إزالة الرايش
Protect the machined surface from environmental attack.
.حماية السطح المشغل من العوامل البيئية
Types of cutting fluids: :أنواع سوائل القطع
Oils. .الزيوت
Emulsions. .المستحلبات
Semi-synthetics. .شبه االصطناعية
Synthetics. .االصطناعية
Methods to apply lubricants: طرق تطبيق مواد ر ز
:البييت
o Flood cooling. .التبيد بالغمر ر
o Mist cooling. .التبيد بالرشر
o High pressure refrigerated cooling. .والمبد
ر العاىل
ي التبيد بالضغط
ر
o Cryogenic machining. .بالتبيد العميق
التشغيل ر
21 | P a g e
The Processing Equipment:
The processing equipment performs the sequence of processing steps to transform the starting
workpiece into a completed part.
.تقوم معدات التشغيل بتنفيذ سلسلة من خطوات المعالجة لتحويل قطعة العمل األولية إىل جزء مكتمل
It operates under the control of the MCU according to the instructions in the part program.
ً
.)Part Program( وفقا للتعليمات الموجودة ز يف برنامج التشغيل MCU تعمل تحت تحكم وحدة
Working Principles of CNC Machine:
22 | P a g e
ُ
أو لتوجيه األداة أو رأس العمل بزاوية معينة بالنسبة،تستخدم المحاور الدورانية لتدوير قطعة العمل لعرض أسطح مختلفة للتشغيل
.للقطعة
Most NC systems do not require all six axes.
. جميع المحاور الستةNC ال تتطلب معظم أنظمة
23 | P a g e
ُ ُ
"Z.بينما حركة رأس الماكينة ألعىل وألسفل عىل العمود تعرف بالمحور "" "Yحركة الطاولة إىل الداخل والخارج تعرف بالمحور
24 | P a g e
M Code:
25 | P a g e
G81 Drilling cycle, spot boring cycle. ثقب عادي أو نقطة بداية للثقوب األخرى.
ً
مؤقتا عند القاع.
G82 Drilling cycle or counter boring cycle مثل G81ولكن تتوقف األداة
(Dwells at the End).
G83 Peck drilling cycle. لحفر الثقوب العميقة بخطوات صغبة.
G84 Tapping cycle. داخىل.
ي تستخدم لعمل قالوظ
G85 Reaming cycle. تستخدم لتوسيع الثقب بدقة عالية.
G87 & Pocket milling cycle (Rectangle داخىل بمسار مستطيل أو مربــع.
ي حفر جيب
Square).
G88 Slot Milling cycle. لقطع فتحات طويلة مستقيمة.
G89 Circular pocket cycle. حفر جيب دائري داخل الشغلة.
G90 Absolute command. يعتمد عىل اإلحداثيات المطلقة من نقطة الصفر.
G91 Increment command. حاىل لألداة.
يعتمد عىل المسافة من الموقع ال ي
G92 Setting for work coordinate system. يحدد نظام إحداثيات جديد من نقطة محددة.
G98 Return to initial point in canned cycle. االبتدائ.
ي تعود األداة إىل الموضع
G99 Return to R point in canned cycle. تعود األداة إىل موضع االرتفاع Rبعد التشغيل.
26 | P a g e
Example (1):Write the CNC program for manufacturing the part shown in figure (PART1) on
centerlathe using G & M Codes language, given that the stock diameter = 50 mm while the rotational
speed = 300 rpm and the feed = 0.1 mm/rev. Note that all dimensions and diameters are given in
mm. Constant surface speed and lubrication is required. Maximum depth of cut does not exceed 4
mm.
اول خطوة نحسب قيمة Depth of Cutالذي سوف نستخدمه ز يف كل Strokeباستخدام هذا القانون بحث ال يتعدى قيمة 4mm
ز يف المشوار الواحد:
𝒇𝑫 𝑫𝑴𝒂𝒙 −
=𝒅
2
أكب قطر والقطر الذي يليه:
سوف نستخدم هذا القانون لحساب قيمة Depth of Cutلحساب قيمة اول مشوارين بن ر
𝟓 𝟓𝟎 − 𝟑𝟕.
=𝒅 𝒎𝒎 𝟓𝟐 = 𝟔.
2
مليمب لذلك سوف يتم تقسيم هذه القيمة عىل مشوارين :Two Strokes ر هذا الرقم كبب ويتعدى 4
مىل. ز ز
الثائ نختار 3ي
المشوار األول سوف نستخدم عمق القطع بقيمة اقل من 4نختار مثال 3.25يف المشوار األول اما المشوار ي
نكرر نفس العلمية ز يف القطر الذي وقفنا عنده والقطر الذي يليه:
𝟓 𝟑𝟕. 𝟓 − 𝟐𝟕.
=𝒅 𝒎𝒎 𝟓 =
2
مليمب لذلك سوف يتم تقسيم هذه القيمة عىل مشوارين :Two Strokes ر هذا الرقم كبب ويتعدى 4
مىل ز يف المشوار الثالث اما المشوار الرابع نختار 2.5
المشوار الثالث سوف نستخدم عمق القطع بقيمة اقل من 4نختار مثال 2.5ي
مىل.
ي
نكرر نفس العلمية ز يف القطر الذي وقفنا عنده والقطر الذي يليه:
𝟓 𝟐𝟕. 𝟓 − 𝟏𝟕.
=𝒅 𝒎𝒎 𝟓 =
2
مليمب لذلك سوف يتم تقسيم هذه القيمة عىل مشوارين :Two Strokes ر هذا الرقم كبب ويتعدى 4
مىل ز يف المشوار الخامس اما المشوار السادس نختار
المشوار الخامس سوف نستخدم عمق القطع بقيمة اقل من 4نختار مثال 2.5ي
مىل.
2.5ي
27 | P a g e
البنامج: ز
جدول إحداثيات النقاط المستخدمة يف ر
Points X-axis Z-axis
𝑃0 0 0
𝑃1 52 0
𝑃2 -2 0
𝑃3 43.5 1
𝑃4 43.5 -45
𝑃5 52 -45
𝑃6 52 1
𝑃7 37.5 1
𝑃8 37.5 -45
𝑃9 32.5 1
𝑃10 32.5 -27
𝑃11 40 -27
𝑃12 40 1
𝑃13 27.5 1
𝑃14 27.5 -27
𝑃15 22.5 1
𝑃16 22.5 -15
𝑃17 30 -15
𝑃18 30 1
𝑃19 17.5 1
𝑃20 17.5 -15
البنامج:
رسح ر
Code Explanation
N5 %OPART1 البنامج (.)OPART1 تعريف اسم ر
;N10 G54 نقل نقطة الصفر من الماكينة إىل نقطة الصفر الخاصة بقطعة العمل.
;N15 G21 ر
المليمب (.)mm ه ز
البنامج ي
تحديد أن الوحدات المستخدمة يف ر
;N16 G90 تحديد أن اإلحداثيات مطلقة (.)Absolute Positioning
;N20 T0101 F0.1 M8 التبيد.
اختيار األداة رقم ،01وتحديد رسعة التغذية 0.1مم/دورة ،وتفعيل سائل ر
;N25 G92 S1000 ضبط الحد األقىص للرسعة عند 1000دورة ز يف الدقيقة.
;N30 G96 S300 ضبط الرسعة السطحية الثابتة عند 300م/دقيقة.
;N35 M3 تشغيل عمود الدوران ز يف اتجاه عقارب الساعة الن األداة موجودة ز يف االتجاه
الجنوئ.
ري
;N40 G00 X52 Z0 التحرك الرسي ــع إىل نقطة البداية عند .Z0 X52
;N45 G01 X-2 Z0 التخشي األول ( )Facingر
حت X-2إلزالة المادة الزائدة من الوجه ز تنفيذ قطع
األمام للقطعة.
ي
;N50 G00 Z1 الرجوع الرسي ــع إىل Z1بعد إنهاء المشوار.
;N55 G00 X43.5 االنتقال إىل بداية قطع المشوار األول ،حيث تم تحديد عمق القطع بقيمة 3.25
نضب عمق القطع ز يف ،2ألننا نري مم .بما أن محور ُ Xيقاس بالقطر ،فإننا ز
ز
الطرفي األعىل مقطع من الشغلة الدورانية ولكن ز يف الحقيقة هذا العمق يآكل من
واالسفل ليصبح 6.5مم.
الخارج ( 50مم) ،فيكون الناتج
ر ي بعد ذلك ،نطرح هذه القيمة من القطر
مىل.
X43.5ي
ً
وبالتاىل ،يتم التوقف عند X43.5مم لبدء عملية القطع وفقا للعمق المحدد. ي
;N60 G01 Z-45 حت الوصول اىل .Z-45 تنفيذ مشوار الخشونة األول بعمق 3.25مم ر
28 | P a g e
;N65 G01 X52 تنفيذ تسوية األكتاف األوىل ( )Shoulder Facingعند X52وهذا يستخدم
لتسوية الزوايا القائمة الناتجة ز يف نهاية كل مشوار.
;N70 G00 Z1 الرجوع الرسي ــع إىل Z1بعد المشوار.
;N75 G00 X37.5 الثائ عند .X37.5 ز
االنتقال إىل بداية المشوار ي
;N80 G01 Z-45 حت.Z-45 الثائ بعمق 3مىل ر ز
ي تنفيذ مشوار الخشونة ي
;N85 G01 X52 تنفيذ تسوية األكتاف الثانية عند .X52
;N90 G00 Z1 الرجوع الرسي ــع إىل .Z1
;N95 G00 X32.5 االنتقال إىل بداية المشوار الثالث عند .X32.5
;N100 G01 Z-27 تنفيذ مشوار الخشونة الثالث بعمق 2.5مىل ر
حت .Z-27 ي
;N105 G01 X40 تنفيذ تسوية األكتاف الثالثة عند .X40
;N110 G00 Z1 الرجوع الرسي ــع إىل .Z1
;N115 G00 X27.5 االنتقال إىل بداية المشوار الرابع عند .X27.5
;N120 G01 Z-27 تنفيذ مشوار الخشونة الرابع بعمق 2.5مىل ر
حت .Z-27 ي
;N125 G01 X40 تنفيذ تسوية األكتاف الرابعة عند .X40
;N130 G00 Z1 الرجوع الرسي ــع إىل .Z1
;N135 G00 X22.5 االنتقال إىل بداية المشوار الخامس عند .X22.5
;N140 G01 Z-15 تنفيذ مشوار الخشونة الخامس بعمق 2.5مىل ر
حت .Z-15 ي
;N145 G01 X30 تنفيذ تسوية األكتاف الخامسة عند .X30
;N150 G00 Z1 الرجوع الرسي ــع إىل .Z1
;N155 G00 X17.5 االنتقال إىل بداية المشوار السادس عند .X17.5
;N160 G01 Z-15 تنفيذ مشوار الخشونة السادس بعمق 2.5مىل ر
حت .Z-15 ي
;N165 G01 X30 تنفيذ تسوية األكتاف السادسة عند .X30
;N170 G00 Z1 الرجوع الرسي ــع إىل .Z1
ً
استعدادا إلنهاء التشغيل.
;N175 G00 X100 Z100 االبتعاد عن قطعة العمل
;N180 M30 البنامج وإعادة ضبط الماكينة.
إنهاء ر
29 | P a g e
Example (2):
Write the G and M codes for machining the outside contour of the workpiece shown in figure under
the following conditions: Thickness = 6mm Spindle speed = 1000 rpm Feed rate = 250 mm/min No
lubricant is required Use the given zero point.
:البنامج ز
جدول إحداثيات النقاط المستخدمة يف ر
30 | P a g e
Code Explanation
General functions and border cut:
;N10 G54 نقل نقطة الصفر من الماكينة إىل نقطة الصفر الخاصة بقطعة العمل.
;N15 G21 G90 T01 M3 S1000 والبمجة المطلقة ( ،)G90واستخدام ر
البمجة بالمليمب ( ،)G21ر اختيار ر
ز
األداة رقم ،)T01( 1وتشغيل عمود الدوران يف اتجاه عقارب الساعة
( ،)M3وتحديد رسعة دوران 1000لفة/دقيقة (.)S1000
;N20 G00 X0 Y0 Z5 حركة رسيعة إىل نقطة البداية عند Y=0 ،X=0وعىل ارتفاع Z=5مم فوق
سطح قطعة العمل (بدون قطع).
;N25 G42 اليمي من مسار القطع ( Cutter ز تعويض نصف قطر األداة إىل
.)Compensation Right
;N30 G01 Z-6 F250 (سمك القطعة) باستخدام تغذية البول إىل عمق القطع النهائ Z=-6مم ُ زز
ي
خطية برسعة 250مم/دقيقة.
;N35 G01 X120 أفقيا إىل X=120مم. التحرك ً
;N40 G01 Y40 أسيا إىل Y=40مم. التحرك ر ً
;N45 G03 X100 Y60 R20 عكس (عكس عقارب الساعة) بنصف قطر 20مم من الموضع ي تنفيذ قوس
حت النقطة .X=100, Y=60 الحاىل ر
ي
;N50 G01 X74.124 التاىل). ً
التحرك أفقيا إىل X=74.124مم (نقطة تسبق القوس ي
;N55 G02 X45.858 Y60 I-14.142 J-5 تنفيذ قوس باتجاه عقارب الساعة إىل X=45.858, Y=60باستخدام
تعويض مركز القوس ( Iو.)J
;N60 G01 X20 أفقيا إىل X=20مم. التحرك ً
;N65 G03 X0 Y40 R20 عكس آخر من X=20إىل X=0, Y=40بنصف قطر 20 ي تنفيذ قوس
مم.
;N70 G01 Y0 أسيا لألسفل إىل ( Y=0إغالق المحيط). التحرك ر ً
;N80 G00 Z5 رفع األداة برسعة إىل Z=5مم (خروج من القطعة).
;N85 G40 إلغاء تعويض نصف قطر األداة (.)Cancel Cutter Compensation
ً
;N90 G00 X-30 Y-30 Z100 تحريك األداة بعيدا عن قطعة العمل ( ،)X=-30, Y=-30ورفع إىل
البنامج. ً
Z=100مم استعدادا إلنهاء ر
;N95 M30 تعيي تشغيل الماكينة (.)End of Program ز البنامج وإعادة نهاية ر
31 | P a g e