Tips dan trik mengoperasikan mesin CNC bagi operator pemula

Smart CNC
13 Sept 202415:55

Summary

TLDRThis instructional video script outlines the process of running a CNC machine using Mastercam programs. It emphasizes selecting the correct toolpath, simulating the program, and editing the NC code for machine execution. The tutorial covers essential safety checks, including verifying machine settings, ensuring low spindle speeds, and adjusting feed rates. It also demonstrates how to execute the program in DNC mode, highlighting the importance of single block mode for safety and precision. The video concludes with a successful machining operation, reinforcing the importance of attentive operation and adherence to safety protocols.

Takeaways

  • 😀 The script is a tutorial on running a CNC program created in Mastercam, focusing on the execution of a contouring program.
  • 🛠️ The presenter explains the process of selecting and running a single operation due to differences in tooling, such as using an end mill for contouring and a drill for hole making.
  • 💾 The tutorial involves saving the CNC program onto a flash drive, with a specific file naming convention to avoid confusion.
  • ✂️ Before running the program on the machine, it's necessary to edit the NC code to remove unnecessary titles and adjust certain parameters for the machine's setup.
  • 🔍 The presenter emphasizes the importance of checking the machine's settings before running the program, including ensuring the workpiece is correctly positioned.
  • 🔧 The script outlines the steps to check the machine's settings using MDI mode, which includes inputting test commands to verify the machine's readiness.
  • 🚫 Safety is a key theme, with instructions to ensure the machine is in a safe state before starting, including setting spindle speed to the lowest and ensuring rapid movements are minimized.
  • 🔑 The use of 'single block' mode is highlighted for safely running the program line by line, allowing for manual control and verification at each step.
  • 🔄 The script describes the process of loading the NC program from an external source like a USB or flash drive into the machine's DNC system.
  • 🎛️ The importance of monitoring and controlling the machine's movements, spindle speed, and coolant during the machining process is discussed, with tips for adjusting these parameters as needed.
  • 🏁 The tutorial concludes with a demonstration of the machining process, emphasizing the need for continuous supervision and control to ensure a successful operation.

Q & A

  • What is the purpose of the video script?

    -The video script is intended to guide viewers through the process of running a CNC machine using a program created in Mastercam. It includes steps for simulation, file handling, and execution of the program on the machine.

  • Why is it necessary to simulate the program before running it on the machine?

    -Simulating the program before running it on the machine is crucial to verify the accuracy of the program and to ensure that it will perform correctly without causing any damage to the machine or the workpiece.

  • What is the significance of selecting a single program to run instead of all programs at once?

    -Selecting a single program is significant because different programs may use different cutting tools, such as end mills or drills with different diameters. Running one at a time allows for proper tool setup and reduces the risk of errors.

  • Why is it important to check the machine settings before running a program?

    -Checking the machine settings is important to ensure that the workpiece is correctly positioned and that the machine is set up according to the program's requirements, which helps prevent errors and potential damage during the machining process.

  • What is meant by 'single block' mode in the context of the script?

    -In 'single block' mode, the CNC machine reads and executes one line of the program at a time. This allows the operator to monitor and control the machine's movements step by step, ensuring safety and accuracy.

  • How does the operator ensure that the program runs smoothly and safely on the CNC machine?

    -The operator ensures smooth and safe operation by setting the spindle speed to the lowest, checking the feed rate, ensuring rapid movements are as minimal as possible, and activating the 'single block' mode for controlled execution.

  • What is the role of the 'MDI' mode in the process described in the script?

    -MDI (Manual Data Input) mode is used to manually input and execute short commands or to check the machine settings before running the full program. It allows the operator to test individual commands without engaging the entire program.

  • Why is it recommended to delete certain lines from the NC code before running it on the machine?

    -Certain lines in the NC code, such as comments or tool change commands, may not be necessary for the actual machining process. Deleting them can help prevent confusion and ensure that the machine operates efficiently.

  • What does the acronym 'DNC' stand for, and how is it used in the context of the script?

    -DNC stands for Direct Numerical Control. It refers to the process of running a program directly from an external memory source, such as a USB or flash disk, rather than from the machine's internal memory.

  • How does the operator know when the machining process is complete?

    -The operator can monitor the progress of the machining process through the machine's display, which shows the current position and depth of the tool. The process is complete when the tool reaches the programmed depth, and the machine automatically stops the spindle and returns to the home position.

  • What safety measures are emphasized during the execution of the CNC program?

    -Safety measures emphasized include keeping the emergency stop button within reach, ensuring that the 'single block' mode is activated for step-by-step execution, and maintaining control over the machine's movements throughout the machining process.

Outlines

00:00

🛠️ Setting Up CNC Machine for Operation

This paragraph explains the process of preparing a CNC machine for operation using Mastercam software. The speaker demonstrates how to run a program on the machine, focusing on creating two types of programs: contour and drilling. It's emphasized that each program uses different cutting tools, with the contour program using an 8mm diameter end mill and the drilling program using a 6mm diameter drill bit. The speaker also discusses the importance of selecting the correct toolpath and highlights the need to adjust the toolpad settings accordingly. The process of saving the NC code to a USB drive and preparing it for machine execution is also covered, including editing the NC code to remove unnecessary information and setting the correct tool offsets.

05:00

🔍 Verifying Machine Settings and Safety Checks

The second paragraph outlines the necessary steps to verify the machine settings and perform safety checks before running a program on the CNC machine. It details how to use the MDI mode to input and check the machine's position with specific G-codes. The speaker explains the importance of zeroing the machine, setting the spindle speed to a low value, and using the feed rate to adjust the machine's movement. The paragraph also covers the need to check the machine's rapid movement settings and ensure that the single block mode is enabled for safe operation. The speaker stresses the importance of adhering to five key safety conditions before executing a program, including checking settings, spindle speed, feed rate, rapid movement, and enabling single block mode.

10:02

🏗️ Executing the CNC Program in DNC Mode

In this paragraph, the focus is on executing the CNC program in DNC (Direct Numerical Control) mode, which allows the machine to read the program from an external memory source like a USB drive. The speaker guides through the process of selecting the program, ensuring the correct file name is chosen, and checking the program's details before starting. The paragraph also discusses the importance of setting the spindle speed, feed rate, and rapid movement to the correct values before initiating the program. The speaker demonstrates how to use the single block mode to control the machine's movement line by line, ensuring safety and accuracy during the operation. The paragraph concludes with a demonstration of how to monitor and control the machine's movements during the machining process.

15:03

🔧 Post-Operation Checks and Completion

The final paragraph describes the steps to take after the CNC program has been executed. It includes checking the machine's operation to ensure it has completed the task correctly and safely. The speaker explains how to observe the machine's movements and the importance of holding the emergency stop button during operation. The paragraph also covers the process of turning off the machine and spindle once the program has finished running, and how to check the final product for accuracy and quality. The speaker concludes by summarizing the five key points to remember when operating a CNC machine, emphasizing the importance of safety and precision in the process.

Mindmap

Keywords

💡Mastercam

Mastercam is a widely used computer-aided design (CAD) and computer-aided manufacturing (CAM) software program. It is employed for a variety of machining operations, including milling, turning, and wire EDM. In the video's context, Mastercam is used to create programs that are executed on a CNC machine. The script mentions creating and simulating programs in Mastercam, indicating its role in the design and manufacturing process.

💡Simulation

Simulation in this context refers to the process of imitating the operation of a machine or process under certain conditions. In the script, the speaker mentions simulating a program before executing it on the actual CNC machine. This step is crucial for verifying the accuracy and safety of the program without risking damage to the machine or workpiece.

💡Post Processor

A post processor in CNC programming translates the generic G-code generated by CAD/CAM software into a format that is specific to a particular machine tool. The script mentions selecting an operation and using the post processor to generate DNC (Direct Numerical Control) files, which are then used to run the program on the machine.

💡Toolpath

A toolpath is the physical path that a cutting tool follows during the manufacturing process. The term is used in the script when the speaker chooses to run a 'contour' program, which is a type of toolpath designed to follow the outline of a part. The choice of toolpath depends on the tool being used, as different tools have different cutting diameters and functions.

💡DNC (Direct Numerical Control)

DNC is a method of controlling a machine tool where the control signals are sent directly to the machine tool over a network, rather than being stored within the machine. In the script, DNC is mentioned as a method for transferring the program from a USB or flash disk to the CNC machine, allowing for the execution of the program.

💡NC Code

NC (Numerical Control) code is a programming language used to control the operation of machine tools. The script describes the process of generating NC code from a Mastercam program, which is then saved to a flash disk and later loaded onto the CNC machine for execution.

💡Toolpad

A toolpad in CNC programming refers to the layout or plan that shows the arrangement of tools in a tool changer. The script mentions that if the tools used are the same but the toolpads are different, each toolpad should be taken one by one, indicating the importance of tool organization and selection in the machining process.

💡G-code

G-code, short for G programming code, is a programming language used primarily in the computerized numerical control (CNC) industry. It is used to control automated machine tools and contains commands that describe the actions and functions of the machine. In the script, G-code is mentioned in the context of editing the NC code to remove unnecessary information before running it on the machine.

💡MDI (Manual Data Input)

MDI is a mode on CNC machines that allows operators to manually input commands and data to the machine controller. In the script, the speaker uses MDI to check the machine's settings by entering specific G-code commands such as G90, G54, and G1 to ensure the machine is set up correctly before running the program.

💡Rapid

In CNC programming, 'rapid' refers to the high-speed, non-cutting movement of the machine tool between different points in the program. The script mentions setting the rapid rate to the smallest possible value, which is important for safety and precision, especially when the machine is moving to a new position without cutting the material.

💡Single Block

Single block mode in CNC programming allows the machine to execute one line of the program at a time. This mode is used for troubleshooting and safety, as it allows the operator to control the machine's movements step by step. The script describes using single block mode to execute the program line by line, ensuring each step is correct before proceeding.

Highlights

Introduction to running a Mastercam program on a CNC machine.

Explanation of creating two programs: one for milling and one for drilling.

Emphasis on verifying the program's correctness before execution.

Selection of a contour program for demonstration purposes.

Discussion on the difference in tooling for contour and drilling programs.

Advice on selecting programs based on tool type to avoid confusion.

Instructions on how to save the program to a USB flash drive.

Importance of editing the NC code before running it on the machine.

Removal of unnecessary titles in the NC code to save space.

Instructions on deleting specific lines in the NC code for tool changes.

Explanation of the automatic tool change process using G43 and H codes.

Preparation steps before running the machine, including checking settings.

Use of MDI to check the machine's settings and zeroing the machine.

Setting the spindle speed and feed rate to the lowest before starting.

Ensuring all safety measures are in place before executing the program.

Enabling the single block mode for step-by-step program execution.

Explanation of the DNC (Direct NC) process for running programs from external memory.

Guidance on selecting and loading the program from a USB or flash disk.

Final checks and adjustments before starting the machine, including spindle speed and rapid movements.

Monitoring the machine's operation and making manual adjustments as needed.

Use of cooling during the machining process to prevent overheating.

Completion of the machining process and automatic return of the machine to its home position.

Review of the finished product and the importance of careful operation.

Summary of the five key points to remember when running a CNC program.

Transcripts

play00:02

ya asalamualaikum warahmatullahi

play00:04

wabarakatuh Di sini saya akan

play00:06

menjelaskan cara menjalankan program

play00:10

yang sudah kita buat di mastercam untuk

play00:13

kita eksekusi di mesin nah ini saya saya

play00:16

contohkan membuat dua program yaitu k

play00:19

sama ngebur ya kita simulasikan dulu

play00:26

kita

play00:28

sebel Apakah sudah benar atau atau belum

play00:32

ya Oke kita

play00:35

play oke nah kurang lebih sama seperti

play00:39

ini Programnya sudah benar Oke saya akan

play00:44

mengambil Salah satu program ya yaitu

play00:48

program kontur Mengapa saya ambil satu

play00:50

tidak kita ambil semua programnya karena

play00:54

di sini program kontur dan juga pack

play00:57

drill itu berbeda alat potongnya

play01:00

kalau kontour menggunakan nmil diameter

play01:03

8 kalau P drilnya menggunakan bur

play01:06

diameter 6 makanya kita pilih satu-satu

play01:10

Kalau mungkin ini toolpadnya lebih dari

play01:12

satu sedangkan tool yang digunakan sama

play01:15

bisa kita ambil sekalian beberapa

play01:19

toolpad tapi kalau toolnya berbeda ini

play01:22

Emil 8 sama ber diameter 6 maka kita

play01:26

sebaiknya ambil satu-satu Oke saya

play01:29

contohkan saya ambil program konturnya

play01:32

caranya bagaimana

play01:34

yang pertama kita tekan G1 atau post

play01:39

selected Operation

play01:42

oke di sini kita centang saja karena

play01:44

ekstensinya jenis file-nya sudah

play01:46

dnc kita tekan oke nah Ini penting

play01:51

sekali ya karena biasanya kalau

play01:55

settingan default di sini ada konfirmasi

play02:00

not all Operation ya Yang Yang kamu

play02:03

ambil nah have been selected yang kamu

play02:07

pilih di sini ditanyakan lagi Apakah

play02:09

anda akan mau all Apakah mau ngambil

play02:12

program semuanya di sini settingannya

play02:15

otomatis Yes nah ini hati-hati kalau

play02:18

kita pilihnya Yes maka semua program itu

play02:22

sudah terpilih karena kita hanya mengil

play02:25

to makanya kita tekan no ya

play02:30

kita hanya mengambil satu

play02:31

toolp nah kita letakkan di flash disk

play02:36

Nah ini USB Dri a kemudian kita pilih

play02:42

nama misalkan namanya kontur

play02:47

Oke kemudian kita

play02:49

save maka keluarlah NC kodenya ya Akan

play02:54

tetapi ncode ini tidak bisa kita

play02:57

jalankan di mesin kita harus edit dulu

play03:00

oke yang pertama di sini semua judul

play03:04

yang berwarna hijau ini sebaiknya

play03:06

dihapus kalau enggak dihapus enggak

play03:09

apa-apa ya tapi ini untuk menghemat

play03:12

ruang saja seperti keterangan nm

play03:14

diameternya material aluminium nah ini

play03:17

dihapus saja Kemudian ini perhatikan ini

play03:20

ada O sama 04 kali 0 4 kali kita hapus

play03:26

menggunakan EMP angka yang berbeda

play03:28

selain 1 2 3 4 misalkan 2 1 1 4 oke yang

play03:34

kedua t sama M ini dihapus saja karena

play03:39

di sini untuk pergantian tool Ching

play03:41

pergantian tool otomatis pasangannya

play03:43

menggunakan g43 sama H ya untuk tool

play03:48

offset-nya video lengkapnya di video

play03:51

yang smart sense yang sebelumnya cara

play03:54

mengambil NC kode ya ini tidak saya

play03:57

jelaskan panjang lebar ya

play04:01

Oke ini kita simpan ya oke kemudian kita

play04:07

close nah kemudian flash disknya kita

play04:11

ambil ini flash disknya kita ambil kita

play04:14

masukkan ke

play04:19

mesin Oke kita masukkan

play04:25

oke nah

play04:27

[Musik]

play04:31

langkah pertama sebelum menjalankan

play04:33

mesin

play04:35

atau memanggil program ya eksekusi

play04:38

program di mesin ya syaratnya ada empat

play04:42

yang pertama syarat yang pertama adalah

play04:44

mengecek hasil

play04:50

settingan mengecek hasil settingan tadi

play04:53

benda kerjanya ya di gambar itu saya

play04:56

setting di tengah-tengah ya Nah maka

play05:00

sebelum kita jalankan mesin kita cek

play05:01

hasil settingannya dulu caranya kita

play05:05

tekan program mdi atau tombol

play05:10

mdi kemudian kita pilih

play05:12

program masukkan program untuk ngecek

play05:15

hasil settingannya yaitu

play05:18

g90

play05:20

g54

play05:22

G1

play05:24

x0

play05:26

y z

play05:28

30

play05:30

f2000 kita input sebelum kita cle start

play05:34

kita cek dulu g90 g54 G1 Nah kalau benar

play05:39

kita nolkan semuanya baik dari fitr dan

play05:42

juga

play05:44

spindelnya yang ketiga ini juga di

play05:48

nolkan atau dikasih kecepatan 0,01 baru

play05:51

kita SLE start tangan kiri standb di

play05:54

tombol emergency kalau hasil

play05:56

settingannya salah Oke kita ar Nah kita

play06:01

bisa menggerakkan mengatur gerakan

play06:03

nilnya menggunakan F Ini

play06:06

oke Ya kita putar maka dia akan turun

play06:13

ya Nah letaknya di sini di tengah-tengah

play06:17

nmnya sudah di tengah-tengah benda kerja

play06:20

ketinggiannya ini sekitar 30 karena ini

play06:24

sekitar 20 mungkin ini ya pas Min 30-an

play06:27

ya Saya ee enggak punya yang 30 tapi

play06:30

kurang lebih sama oke nah karena

play06:33

settingannya sudah benar maka kita

play06:35

nolkan mesin Hero Z plus dia naik

play06:39

dulu

play06:42

x+ y plus kalau sudah naik Baru kita

play06:45

pakai kecepatan sat

play06:50

oke nah syarat yang kedua

play06:59

setelah ngecek hasil settingan syarat

play07:02

yang kedua kita cek skednya nol apa gak

play07:05

atau kecepatan paling Rah rendah apaak

play07:08

Oke 50 Syarat yang

play07:17

ketiga vatnya

play07:19

nol nol syarat yang keempat

play07:30

rapidnya dibuat sekecil mungkin tapi

play07:33

kalau rapid yang di mesin ini karena ini

play07:36

masih e belum standar yang ke mesin

play07:39

produksi ini harus dibuka

play07:42

25% atau mendekati nol yang paling kecil

play07:45

atau

play07:46

0,01 syarat yang

play07:55

kelima yaitu single wajib dihidupkan

play08:01

Saya ulangi lagi lima syarat ketika

play08:03

menjalankan program yaitu Cek hasil

play08:06

settingan

play08:08

mdi

play08:09

kemudian

play08:11

spindelnya kecepatan paling rendah atau

play08:14

50% yang ketiga Fit rate-nya

play08:18

dinolkan yang keempat rapidnya

play08:23

0,01 yang kelima single wajib nyala di

play08:26

sini nyala kuning nah oke le fsinya

play08:30

untuk apaingle itu artinyaingle bl

play08:34

membaca program setiap sat baris sat

play08:36

baris Mengapa Harus satu baris karena

play08:39

kalau ini tidak hidup ya bisa jadi

play08:43

ketika programnya salah atau setting

play08:45

Bend kerja salah diasung Jalan otomatis

play08:48

langsung

play08:49

menyay khawatirnya nanti bisaus

play08:53

setelah itu terakhir kita

play08:56

Jal kitanya di dnc dnc ini adalah direct

play09:03

NC atau memanggil program dari memori

play09:06

eksternal kalau auto memori internal

play09:09

mesin tapi kalau dnc memori eksternal di

play09:12

mana di USB atau flash disk ya oke

play09:16

setelah di dnc kita pilih

play09:20

program setelah kita pilih program kita

play09:23

cari nama file-nya di mana di folder

play09:25

kita pilih

play09:28

Dir di folder ini kita cari namanya tadi

play09:32

namanya Apa nama Programnya apa kontour

play09:36

Oke kita

play09:37

turunkan cari Nah ini

play09:40

nih kontur kalau sudah keblok warna

play09:44

kuning bisa kita input oke cek lagi nama

play09:49

programnya kontour

play09:50

oke ya

play09:53

oke sebelum kita Se lagi ya kita lebih

play09:57

waspada lagi yang pertama midnya 50%

play10:01

pitetnya 0 kemudian rapitnya

play10:06

0,01 single-nya nyala oke nah kalau

play10:09

sudah tangan kiri kita letakkan di

play10:13

eh tombol emergency standby tangan kanan

play10:17

pegang cle start kita Nyalakan cle

play10:21

start maka dia akan kebaca satu banis

play10:24

nah ini fungsi dari single block kita

play10:27

SLE start lagi kebaca satu baris lagi

play10:31

nanti pada M3 s3000 dia akan berputar

play10:34

pada baris kelima

play10:37

ini nah ini belum masih program pembuka

play10:40

nah ini dia

play10:43

berputar I kan Nah

play10:47

S3 kemudian kita turunkan lagi maka dia

play10:50

harus Berarti z25 kalau tidak berhenti

play10:53

di atas ya 25 mili masih turun terus

play10:56

kita tekan ensinya nah

play11:01

Nah itu 25 mili kemudian turun lagi fit

play11:06

l-nya pada jarak 10

play11:08

mili nah 10 mili kalau sudah benar ini

play11:12

di 10 mili bisa kita buka spindelnya

play11:17

100% maka dia akan meningkat

play11:19

kecepatannya

play11:22

Oke kalau sudah 100% single blocknya

play11:25

Gantian kita matikan supaya dia jalan

play11:28

otomatis terus single blocknya kita

play11:31

matikan Oke setelah itu bisa kita cle

play11:35

start nah dia akan nyala terus hijunya

play11:39

sekarang gerakannya kita kendalikan

play11:41

menggunakan

play11:43

Oke gitu ya Oke kita kend kendalikan

play11:46

bkan kita buka pelan-pelan saja

play11:50

Oke 60% atau 70% Oke kita lihat

play11:55

sana pada Z ini

play11:58

0, du nanti sampai z-8 total g-nya oke

play12:03

oke dia 0,1 saya pakai gerakan ranking

play12:07

jadi dia semakin gerakan XY sambil z-nya

play12:12

semakin turun sambil

play12:16

turun

play12:18

ininya turun

play12:21

ya ini sudah mulai nyayar turun ya ini

play12:25

kan mulai nyayar supaya lebih aman Bisa

play12:28

kita

play12:31

tutup kemudian kita hidupkan kolennya di

play12:34

sini kolen pakainya cooling

play12:39

[Musik]

play12:41

Oke Maaf bisa lihat

play12:46

Oke kita buka 100% gak apa-apa

play12:51

Oke kalau mau lihat

play12:53

posisinya posisi di absolutnya nah dia

play12:57

baru jalan di main 1 mili nah ini mulai

play13:00

nyayat totalnya nanti sampai berhenti

play13:03

pada z-8 mili lihatnya di posisi Nah

play13:08

sudah mulai nyayat ya suaranya ya

play13:12

ngengu Nah itu sudah mulai nyayat Nah

play13:15

kita lihat dulu sampai

play13:18

selesai ketika machining atau

play13:21

menjalankan program P ini wajib dipegang

play13:24

Mas Ya wajib

play13:26

dipegang Mengapa bisa jadi ini

play13:29

programnya error atau nabrak dan

play13:30

sebagainya Kalau salah kita masuk lkan

play13:33

maka dia akan berhenti I kan nah tapi

play13:36

kalau aman ya biar jalan

play13:39

aja

play13:42

ng bisa diung ke

play13:45

sana kelihatan ya

play13:54

oke

play13:57

[Musik]

play14:07

[Musik]

play14:11

jelas Ya

play14:17

jelas

play14:19

Pak ditahan dulu apa namanya

play14:23

itu nah ini sudah mau selesai pada

play14:27

kecepat pada kedalaman z-nya -7,9 nanti

play14:31

selesai pada 8

play14:35

ya z-8 Nah ini terakhir Dia gak turun

play14:39

lagi kita lihat pergannya

play14:42

sana Nah kalau sudah selesai otomatis

play14:46

nanti dia akan naik

play14:48

sendiri naik sendiri

play14:50

kemudian spindnya berhenti dan

play14:54

juganya mati sendiri kali ke home

play15:03

mesinnya Nah sudah

play15:08

selesai Nah kalau masih nyala kennya Oh

play15:11

mati ya karena

play15:13

M9 kita lihat ini

play15:16

hasilnya kitaak

play15:26

dulu Nah ini bisa dilihat tadinya

play15:30

kur mengerjakan Yang ini tadi ya Nah

play15:34

ini nah ini sudah selesai menggunakan

play15:37

nmil diameter 8 ya

play15:42

Oke saya kira mudah yang penting

play15:45

hati-hati ada lima poin penting dalam

play15:48

menjalankan program di mesin CNC GSK

play15:51

Selamat belajar

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
CNC MachiningMastercam TutorialMachine ExecutionProgramming GuideToolpath SimulationG-code EditingMachine SetupSafety MeasuresMachining ProcessTechnical Learning
¿Necesitas un resumen en inglés?