CNC Router Programming Some basics for FIRST Robotics.

Slides:



Advertisements
Similar presentations
Introduction to CNC Machining
Advertisements

Introduction to G-Code Programming
Automatic Generation of 3D Machining Surfaces With Tool Compensation
Computer Numeric Control
Industrial Engineering Program King Saud University
CANNED CYCLES AND SUBROUTINES
NC and CNC machines and Control Programming
Circular interpolation
C2 – CAM SYSTEMS Option C: CAD/CAM. Additive manufacturing techniques. The manufacture of 3D parts by depositing molten material in a series of layers.
CNC Programming “Milling”
Machining and CNC Technology
G-Code Fundamentals.
Know the Code… Students will participate in an activity that will help them understand CNC programming and how machines read programmed information.
CNC Lathe Machine Nurfaizey b. Abdul Hamid 26 February 2008.
Machine Shop Hazards, Machine Tool Safety
Shape Editor Programming Example
Manufacturing Automation
CHOCOLATE MOLD If there is anything missing from this PowerPoint beyond what is acknowledged, please tell Grant Dunbar. Thanks!!!
Using Surfcam to Produce a Numeric Control (NC) Program An Introduction to the CAD/CAM Process Instructions for 3 Axis Programming Using the D&M CNC Milling.
Presented By: Louie Pronstroller Fall 2009 Class: IE 203 Professor Paul G. Ranky Due: November 25, 2009 My 22 Visual Models & Graphic Designs + Robot Program.
Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Tapping A Hole Introduction In this lesson you will learn to: – Produce internal threads for a specific.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-9 CNC Fundamentals Industrial Engineering Department King Saud University.
Computer Integrated Manufacturing CIM
Computer Numerical Control CNC by Anil Gajjar. Computer Numerical Control Computer Numerical control is a method of automatically operating a manufacturing.
Features of CNC Machining Centers
Outline 1. Introduction to CNC machine 2. Component and Function of CNC 3. Coordinate System.
Module 1: Introduction to CNC Turning
Router Table Safety Fence Table The motor is inside here. Router bit.
Numerical Control I NC Numerical Control - Software control of manufacturing processes. NC - Numerical Control - Software control of manufacturing processes.
Fabrication II By Ryan Sharp and Andrew Keisic. Topics How to machine a simple part. Things to Keep in Mind When Designing Parts Tooling Setup CNC.
china.com/2f0j00zZFTqvdREfoe/Hobby-Lover-Metal-Lathe- W10003M-.jpg Chuck Tailstock Cross Slide Toolpost Centre Cutting tool Saddle.
The Milling Machine.
CNC Programming Prepared by Reza.
Optical Manufacturing Solutions 1 FOLLOW THE DIRECTIONS BELOW AFTER INSTALLING A NEW CUTTER BODY WITH POLISHING WHEELS INTO THE 7E TYPE MACHINES. IT IS.
Chapter 5 Architectural Lines and Lettering. 2 Links for Chapter 5 Types of Lines Line Techniques Lines with CADD Lettering.
Intuitive Programming System For The Mill
(0,0) The Cartesian Coordinate System I IV III II +,- -,- +,+ -,+ Y+ Y- Z+ Z- X+ X- Basis for plotting all machine table positions The left/right axis.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
Numerical Control Programming
Introduction To CNC-Programming
The Cartesian Coordinate System
Router Router What does a Router Do? Removes wood by using different shaped cutting bits.
Subtractive Manufacturing Exercise #1 Part 3 Key Fob Project Using Velocity CNC Software for the CNC Milling Machine Note: In order to use this set of.
Subtractive Manufacturing Exercise #1 Step #2 Key Fob Project Using Velocity CNC Software for the CNC Milling Machine Note: In order to use this set of.
Axyz ToolPath Software Introduction
BMFS 3373 CNC TECHNOLOGY Lecture 10
Using Surfcam to Produce a Numeric Control (NC) Program An Introduction to the CAD/CAM Process Instructions for 3 Axis Programming Using the D&M CNC Milling.
G Code Basics. G Code Myths G Code is obsolete. G Code is the most widely used CNC programming language in the world. CAD/CAM programs generate G Code.
CNC Motion BenchMill 6000 Machining Center
CNC Codes and Letters NOTE: The following will be a listing and description of Computer Numerical Control (CNC) Codes and Letter designations. We will.
SNS COLLEGE OF ENGINEERING
By Martinus Bagus Wicaksono
G-Code 101 With the Mike Mattera
CAD/CAM Unit 79.
Features of CNC Machining Centers
Special motion types Special interpolation types Helical motion
An Introduction to Process Planning and G-Code
COMPUTER INTEGRATED MANUFACTURING
Features of CNC Machining Centers
Part Programming Turning Applications.
Vertical Milling Machine Safety
IENG 475: Computer-Controlled Manufacturing Systems
Horizontal Milling Operations
Using Surfcam to Produce a Numeric Control (NC) Program
NC,CNC machines and Control Programming.
ЧПУ Delta Electronics G-коды. Примеры
Computer Integrated Manufacturing
Lathe Operations. Lathe Operations Lathe Operations.
NC and CNC machines and Control Programming
Presentation transcript:

CNC Router Programming Some basics for FIRST Robotics

ROBOTICS ACADEMY: FRC CNC Router Safety First Safety glasses at all times in the shop Router – As with any router, ensure it is unplugged prior to changing or touching the tool. Mill table – Standard setup practices Position cross head out of the way Disable cross head with the E-stop Mill table – Standard operating practices Hearing protection Guards up, hands out of the way Be prepared to hit the E-stop if something goes awry

ROBOTICS ACADEMY: FRC CNC Router CNC – Computer Numerical Control Programming 1) It’s not hard The CNC “G-Code” is simply connect the dots Commands are lines in a plain text file 2) Attention to detail is essential Simple programming errors can break things Operation 1) It’s not hard Just hit the button and go 2) Attention to detail is essential Watch for binding, hot tooling, programming errors

ROBOTICS ACADEMY: FRC CNC Router Basic Controls Our CNC mill software has control over: Location of coordinate system origin Units : in or mm X, Y & Z tool location Cutting velocity Industrial mills also control Cutter selection Cutter rotation start / stop Cutter rotational speed Coolant flow rate Etc…. X Y Z

ROBOTICS ACADEMY: FRC CNC Router Basic G-Code Named “G-Code” because most commands begin with “G” G0 X2.3 Y4.2 Z-0.5 Move at high speed to Ending Location G1 X2.3 Y4.2 Z-0.5 Move at controlled speed to Ending Location Each G1 command creates a single line segment The ending location “X”, “Y” and “Z” only need to be specified if they are different than the current location Used for positioning, not cutting Used for cutting or positioning Green numbers are for illustration. The red and black are keywords X Y Z

ROBOTICS ACADEMY: FRC CNC Router Connect the dot example (0, 0) (0.5, 0) (0.5, 2.0) (1.5, 2.0) (1.5, 2.5) (-1.0, 2.5) (-1.0, 2.0) (0.0, 2.0) G0 Z0.2 G0 X0.0 Y0.0 Z0.2 G1 X0.0 Y0.0 Z-0.25 G1 X0.5 Y0.0 Z-0.25 G1 X0.5 Y2.0 Z-0.25 G1 X1.5 Y2.0 Z-0.25 G1 X1.5 Y2.5 Z-0.25 G1 X-1.0 Y2.5 Z-0.25 G1 X-1.0 Y2.0 Z-0.25 G1 X0.0 Y2.0 Z-0.25 G1 X0.0 Y0.0 Z-0.25 G0 X0.0 Y0.0 Z0.2 G0 X-2.0 Y4.0 Z0.2 The light colored coordinates can be omitted Hollow “T” shape

ROBOTICS ACADEMY: FRC CNC Router Connect the dot example (0, 0) (0.5, 0) (0.5, 2.0) (1.5, 2.0) (1.5, 2.5) (-1.0, 2.5) (-1.0, 2.0) (0.0, 2.0) G0 Z0.2 G0 X0.0 Y0.0 G1 Z-0.25 G1 X0.5 G1 Y2.0 G1 X1.5 G1 Y2.5 G1 X-1.0 G1 Y2.0 G1 X0.0 G1 Y0.0 G0 Z0.2 G0 X-2.0 Y4.0 Raise tool Get tool out of the way Raise tool Set at starting point Lower tool Unneeded coordinates omitted Hollow “T” shape

ROBOTICS ACADEMY: FRC CNC Router Circles and arcs in G-Code Circular arcs are the other basic shape that can be cut G2 X2.3 Y4.2 Z-0.5 I1.1 J2.3 K-0.5 Clockwise arc to Ending Location Starting point for arc is previous tool location The “K” center location will always be omitted for the CNC router with Arc center G3 X2.3 Y4.2 Z-0.5 I1.1 J2.3 K-0.5 Counter clockwise arc to Ending Location with Arc center

ROBOTICS ACADEMY: FRC CNC Router G0 Z0.2 G0 X1.0 Y G1 Z-0.25 G3 X-1.0 Y I0.0 J G1 X1.0 Y G2 X-1.0 Y I0.0 J G0 Z0.2 G0 X0.0 Y5.0 G1 Z-0.25 G1 Y-5.0 G0 Z0.2 G0 X-4 Y6 Example with arcs and lines Circular arcs have radius 2 and centers Raise tool Initial position Lower tool Raise tool Go to top of line Lower tool Vertical line Raise tool Get out of the way Top arc Line Bot arc

ROBOTICS ACADEMY: FRC CNC Router Tool speed control (Non-”G”-Code) Rotation speed of the router Use the manual speed control on the router Translation speed for cutting Use the “F” command Sets speed in “inches/minute” Example G0 Z0.2 G0 X0.0 Y0.0 F5.0 Lower slowly G1 Z-0.25 F15.0Cut faster G1 X0.5 G1 Y2.0 G1 X1.5 …. “F” speed remains in effect until changed Affects G1, G2 & G3 Does not affect G0 Rotation and translation speeds are coupled by the amount of material that can be removed by the cutter without stalling or overheating. If it smokes, melts or grunts, STOP!!

ROBOTICS ACADEMY: FRC CNC Router Standard commands in the control file % G20 G40 G50 G53 G90 G90.1 ( Use parentheses to add comments) … Machining related code … M0 M30 % Use “%” at top and bottom First line of code sets operating modes and will likely be the same for all programs. Look them up as an exercise. The “M-Code” numbers says stop and end of program. TIP: The M-codes and % can be used as an incremental debugging tool. Place within a large code to terminate the code early. “Boilerplate” commands for all codes

ROBOTICS ACADEMY: FRC CNC Router  G-Code programming is simply a connect the dots text file with a few standard lines at the top and bottom of the file  Our mill cuts wood and can cut aluminum with a sharp tool and coolant  Tool can only cut as deep as the cutting flutes on the tool bit  Dull tools can make wood smoke and melt aluminum  The mill program provides a picture of the tool path and lists the minimum and maximum coordinates found in the program. Use these to double check the program.  Test new code with router off and tool elevated above the workpiece.  Remember to zero the mill coordinates with respect to the workpiece.  Most common error we have encountered is using a G0 instead of a G1. This causes rapid motion which breaks the tool, ruins the part, and scares the operator. Odds and ends

ROBOTICS ACADEMY: FRC CNC Router Questions?