CNC Programming. Lecture 25. Engineering 475 Automated Production Systems



Similar documents
Presentation on CNC MACHINES. By: Hafiz Muhammad Rizwan

ME 1355 CAD/CAM LABORATORY CNC MILLING PROGRAM. Study of G Codes and M Codes to Write Manual Part Programming for Fanuc Control Systems

Mach4 CNC Controller Mill Programming Guide Version 1.0

G and M Programming for CNC Milling Machines. Denford Limited Birds Royd Brighouse West Yorkshire England HD6 1NB Tel: +44 (0)

GSK928MA Milling Machine CNC System. User Manual. GSK CNC Equipment

Course outline. Know Your Machine From A Programmer s Viewpoint 11 If you ve had experience with conventional (non-cnc) machine tools 11

Mill Series Training Manual. Haas CNC Mill Programming

CNC Applications. Introduction to Machining Centers

Proficiency Test For Machining Center

Sample. CNC Programming product family... CNC Programming: Basics & Tutorial Textbook. & CNC Programming: Reference Book. CNC Programming: Workbook

CNCTRAIN. Cnc Simulation Systems, 1985,2009

INTRODUCTION. Definition

Summary Of GCODE Commands By Category (HTT0196)

HUST Lathe CNC Controller

H6C-M Mill CNC Controller

HUST H9C CNC OPERATION MANUAL. (Suitable for the controller: H6C. Feb., 2011

Computer-Aided Numerical Control (CNC) Programming and Operation; Lathe Introduction, Advanced Mills

BRIDGEPORT CNC DX32. Programmer s Manual

Queensborough Community College NSF Tech ASCEND

3300M CNC Control Editing, Part Programming and Running simple program

Chapter 2: Computer Aided Manufacturing TECH 4/

Part Programming Commands

2.008 Design & Manufacturing II

Lathe Series Training Manual. Live Tool for Haas Lathe (including DS)

Module 5. CNC Machines. Version 2 EE IIT, Kharagpur 1

H6C-T Lathe CNC Controller

FAGOR CNC 8055 ia-mc Control

Setting up the DeskCNC controller.

Motion Program 1000 Contains the G-code Subroutines OPEN PROG 1000 CLEAR ; G00: Rapid mode (N0 is implied)

INTRODUCTION TO COMPUTER NUMERICAL CONTROL

CNC 8055 / CNC 8055i SELF-TEACHING MANUAL ( TC OPTION) (REF 0607) (Ref 0607)

Understanding Gcode Commands as used for Image Engraving

G10 Data Setting Command

COURSE : CNC TURN-MILL CENTRE - PROGRAMMING & OPERATION. (FANUC Oi-TB)

Radius Compensation G40, G41, & G42 (cutter radius compensation for machining centers, tool nose radius compensation for turning centers)

FANUC Series 0 -MODEL D. For Machining Center System USER S MANUAL B-64304EN-2/01

5. Tutorial. Starting FlashCut CNC

Easy Machining Center Setup

TL-Series Sub-Spindle Operator s Addendum

Module 7: CNC Programming and Industrial Robotics Lecture 1 CNC programming: fundamentals

"The CNC Baron...in service to the one who commands it!"

WORKBOOK PROGRAMMING AND SUPERVISION OF CNC MACHINES

CNC 8055 MC. Self-teaching manual REF. 1010

Custom Macro Programming

SINUMERIK 802D SINUMERIK 802D base line. Programming and Operating Turning. Introduction 1. Turning On, Reference Point Approach 2.

SAMSUNG Machine Tools

CNC Applications. Tool Radius Compensation for Machining Centers

NCGuide Academic packages

FACULTY OF ENGINEERING UNIVERSITY OF STELLENBOSCH USER INSTRUCTIONS FOR LEADWELL VMC40 NUMERICALLY CONTROLED MILLING MACHINE

GE FANUC 18i CONTROL OPERATOR MANUAL

SINUMERIK 810/840D DIN Programming for Milling

Computer Numerical Control (CNC)

ISO Dialects for SINUMERIK

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

Shop-Talk Cad/Cam The language between man and machine!

Machine Tool Control. Besides these TNCs, HEIDENHAIN also supplies controls for other areas of application, such as lathes.

CNC Applications. Programming Arcs

SINUMERIK 802D sl/840d/840d sl/ 840Di//840Di sl/810d. Programming Manual ISO Milling. Programming Basics 1. Commands Calling Axis Movements 2

POSITIONING AND CONTOURING CONTROL SYSTEM APCI-8001, APCI-8008 AND CPCI G-Code Interface. Rev. 6/

CNC Machine Control Unit

Lead Screw Backlash and Mach3, version 2

SmartCut EVS Series CNC Mills Combination of CNC technology and manual capability SC EVS-350B CNC SC EVS-550B CNC

The Basics of a Rotary Table with Cross Slide mounted on a Mill Table, Version 2

MITSUBISHI CNC M700V Series, M70 Series Simple programming function NAVI MILL / NAVI LATHE

GE FANUC 0i MC OPERATOR S MANUAL

Renishaw apply innovation TM. Calibrating 5-axis machines to improve part accuracy. 5Align

SAMSUNG Machine Tools

Operating Instruction

Teachware CNC Technology

TEST PROJECT TEACHER GUIDELINES

SINUMERIK SINUMERIK 808D ADVANCED Programming and Operating Manual (ISO Turning/Milling) User Manual

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder.

SINUMERIK 802D sl840d/ 840D sl 840Di/840Di sl/810d. Programming Manual ISO Turning. Programming Basics 1. Commands Calling Axis Movements 2

AXIS DESIGNATION IN NC PART PROGRAMMING

CNC PILOT 4290 NC Software xx V7. User s Manual

User Manual V

GSK980TD Turning Machine CNC System. User Manual. GSK CNC Equipment

B.1 LIST OF ALARM CODES

TA-A BED TYPE MILLING CENTRE

RENISHAW measuring OMP 40 system EN3M0-0 Edgecam Advanced Milling ENS-M0-G EdgeCam Solid Machinist for Granite

BED TYPE MILLING CENTRE

CNC USB Controller. User manual

The Boxford range of 3-axis CNC Machining Centres are

CNC Turning Training CNC MILLING / ROUTING TRAINING GUIDE. Page 1

Overview. Milling Machine Fundamentals. Safety. Shop Etiquette. Vehicle Projects Machine Shop

From Wikipedia, the free encyclopedia

Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) Module S01 Fundamentals of CNC Programming with SinuTrain

MILLPWR Setup Access Code

Pos. Qty. Article Description Price / Drilling capacity in steel 60 Ø 25 mm Tapping capacity M 20 Milling capacity in steel cm³/min.

Precision made in Europe. As per DIN The heart of a system, versatile and expandable.

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

Signature Norman Crepeau Special Condition Subject to prior sale Johnford ST60B. CNC Turning Center

Optimized NC programming for machinery and heavy equipment. Summary NX CAM software redefines manufacturing productivity with a full range of NC

CNC HARDWARE & TOOLING BASICS

SAMSUNG Machine Tools PL60 CNC TURNING CENTER

SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO COURSE OUTLINE. Tim Candido - tim.candido@saultc.on.ca Ext.

Precision Manufacturing Regional Alliance Project (PMRAP) Accelerated Weekend Program. Springfield Technical Community College.

Getting Started With Setup Reduction Curriculum:

MACHINING OPERATIONS AND MACHINE TOOLS

Transcription:

CNC Programming Lecture 25 Engineering 475 Automated Production Systems

Information Needed by a CNC Machine 1. Preparatory Information: units, incremental or absolute positioning 2. Coordinates: X,Y,Z, RX,RY,RZ 3. Machining Parameters: Feed rate and spindle speed 4. Coolant Control: On/Off, Flood, Mist 5. Tool Control: Tool and tool parameters 6. Cycle Functions: Type of action required 7. Miscellaneous Control: Spindle on/off, direction of rotation, stops for part movement This information is conveyed to the machine through a set of instructions arranged in a desired sequence Program.

Cartesian Coordinate Systems Consists of three axes positioned 90 degrees from each other. Chang, Fig. 10.1

Right Hand Rule Z Y X The right hand rule is used to define the positive direction of the coordinate axes. Nanfara, Fig. 2.1

Standard Lathe Coordinate System Nanfara, Fig. 2-4

Gantry Mill Coordinate System Nanfara, Fig. 2-3

Vertical Mill or Drill Coordinate System Chang, Fig. 10.3

Milling Tool Coordinate System Nanfaro, Fig. 2-6(b)

Cartesian Coordinate System Planes X-Y Plane X-Z Plane Y-Z Plane Nanfaro, Fig. 2-7

Absolute Coordinates x Nanfaro, Fig. 2-10

Incremental Coordinates Nanfaro, Fig. 2-11

Coordinate System Exercise

Letter Codes Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Each instruction to the machine consists of a letter followed by a number. Each letter is associated with a specific type of action or piece of information needed by the machine. Letters used in Codes N,G,X,Y,Z,A,B,C,I,J,K,F,S,T,R,M

Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Letter Codes (G and M Codes) G-codes: Preparatory Functions involve actual tool moves. M-codes: Miscellaneous Functions involve actions necessary for machining (i.e. spindle on/off, coolant on/off).

Letter Codes (G Codes) G00 G01 G02 G03 G04 G08 G09 G17 G18 G19 G20 G21 Rapid traverse Linear interpolation Circular interpolation, CW Circular interpolation, CCW Dwell Acceleration Deceleration X-Y Plane Z-X Plane Y-Z Plane Inch Units (G70) Metric Units (G71) G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation- right G70 Inch format G71 Metric format G74 Full-circle programming off G75 Full-circle programming on G80 Fixed-cycle cancel G81-G89 Fixed cycles G90 Absolute dimensions G91 Incremental dimensions

Letter Codes (M Codes) M00 M01 M02 M03 M04 M05 M06 M08 M09 M10 M11 M30 Program stop Optional program stop Program end Spindle on clockwise Spindle on counterclockwise Spindle stop Tool change Coolant on Coolant off Clamps on Clamps off Program stop, reset to start

Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Letter Codes (N Codes) N-codes: Gives an identifying number for each block of information. It is generally good practice to increment each block number by 5 or 10 to allow additional blocks to be inserted if future changes are required.

Letter Codes (X,Y, and Z Codes) Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 X, Y, and Z codes are used to specify the coordinate axis. Number following the code defines the coordinate at the end of the move relative to an incremental or absolute reference point. The number may require that a specific format be used (i.e. 3.4 means three numbers before the decimal and four numbers after the decimal).

Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Letter Codes (I,J, and K Codes) I, J, and K codes are used to specify the coordinate axis when defining the center of a circle. Number following the code defines the respective coordinate for the center of the circle. The number may require that a specific format be used (i.e. 3.4 means three numbers before the decimal and four numbers after the decimal).

Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Letter Codes (F, S, and T Codes) F-code: used to specify the feed rate S-code: used to specify the spindle speed T-code: used to specify the tool identification number associated with the tool to be used in subsequent operations.

Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Letter Codes (R and P Codes) R-code: Retract distance when used with G81, 82, and 83. Radius when used with G02 and G03. P-code: Used to specify the dwell time associated with G04.

Program Start Flag and Program Identification Number Example CNC Program % :1045 N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 % Program start flag. Placed at the beginning of each program. :1025 Program identification number. Follows the program start flag at the beginning of each program. Only two commands that don t start with a letter.

Three Major Phases of a CNC Program Phase 1 - Program Setup % (Program start flag) :1001 (Four digit program number) N5 G90 G20 (Absolute units, inches) N10 M06 T2 (Stop for tool change, use tool # 2) N15 M03 S1200 (Turn the spindle on CW to 1200 rpm) Nanfara, pg. 36

Three Major Phases of a CNC Program Phase 2 Material Removal N20 G00 X1 Y1 (Rapid to X1,Y1 from origin point) N25 Z0.125 (Rapid down to Z0.125) N30 G01 Z-0.125 F5 (Feed down to Z-0.125 at 5 ipm) N35 G01 X2 Y2 (Feed diagonally to X2,Y2) N40 G00 Z1 (Rapid up to Z1) N45 X0 Y0 (Rapid to X0,Y0) Nanfara, pg. 36

Three Major Phases of a CNC Program Phase 3 System Shutdown N50 M05 N55 M30 (Turn the spindle off) (End of program) Nanfara, pg. 36

Block Format Sample Block N135 G01 X1.0 Y1.0 Z0.125 F5 Restrictions on CNC blocks Each may contain only one tool move Each may contain any number of non-tool move G-codes Each may contain only one feedrate Each may contain only one specified tool or spindle speed The block numbers should be sequential Both the program start flag and the program number must be independent of all other commands (on separate lines) The data within a block should follow the sequence shown in the above sample block Nanfara, pg. 36

Modal G-CodesG Example CNC Program N5 G90 G20 N10 M06 T3 N15 M03 S1250 N20 G00 X1 Y1 N25 Z0.1 N30 G01 Z-0.125 F5 N35 X3 Y2 F10 N40 G00 Z1 N45 X0 Y0 N50 M05 N55 M30 Most G-codes set the machine in a mode which stays in effect until it is changed or cancelled by another G- code. These commands are called modal. In the example, G00 and G01 are modal.

Modal G-Code G List G00 Rapid Transverse G01 Linear Interpolation G02 Circular Interpolation, CW G03 Circular Interpolation, CCW G17 XY Plane G18 XZ Plane G19 YZ Plane G20/G70 Inch units G21/G71 Metric Units G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right G43 Tool length compensation (plus) G43 G44 G49 G80 G81 G82 G83 G90 G91 Tool length compensation (plus) Tool length compensation (minus) Tool length compensation cancel Cancel canned cycles Drilling cycle Counter boring cycle Deep hole drilling cycle Absolute positioning Incremental positioning

Assignment Review the material presented. Next class we look at an example, and will develop G-code programs in class.