CNC milling machine NC code simulator 1 Outline

  • Slides: 21
Download presentation
CNC milling machine NC code & simulator 1

CNC milling machine NC code & simulator 1

Outline ► Basic NC programming ► Basic G codes ► Basic M codes ►

Outline ► Basic NC programming ► Basic G codes ► Basic M codes ► NC codes for CNC milling machine ► Exercises & simulation 2

4. Basic NC programming WORD BLOCK PROGRAM N 10 G 01 Code Address Z-2.

4. Basic NC programming WORD BLOCK PROGRAM N 10 G 01 Code Address Z-2. F 1. 5 Value Address 3

Basic G-codes G 00 Positioning in Rapid ► G 01 Linear Interpolation ► G

Basic G-codes G 00 Positioning in Rapid ► G 01 Linear Interpolation ► G 02 Circular Interpolation (CW) ► G 03 Circular Interpolation (CCW) ► G 54 Workpiece Coordinate System ► G 55 Workpiece Coordinate System 2 ► G 56 Workpiece Coordinate System 3 ► 4

Basic M codes M 30 – Finish Programn M 03 – spindle cw M

Basic M codes M 30 – Finish Programn M 03 – spindle cw M 04 - spindle ccw M 05 – STOP spindle M 06 – Change Tool M 08 – open coolant M 09 - Close coolant 5

G 01 and G 90/G 91 6

G 01 and G 90/G 91 6

7

7

Exercise G 01/G 90/G 91 8

Exercise G 01/G 90/G 91 8

G 02/G 03 9

G 02/G 03 9

Determine the length for I and J 10

Determine the length for I and J 10

11

11

Exercise G 02/G 03 12

Exercise G 02/G 03 12

13

13

Cutter radius path compensation G 41/G 42 14

Cutter radius path compensation G 41/G 42 14

Technological fundamental of Milling ► Cutting ► Feed rate/cutting speed per tooth/ Feed rate

Technological fundamental of Milling ► Cutting ► Feed rate/cutting speed per tooth/ Feed rate 15

Program structure 17

Program structure 17

NC codes for CNC milling machine Controller: Fanuc) หวโปรแกรม ) % O____ G 17

NC codes for CNC milling machine Controller: Fanuc) หวโปรแกรม ) % O____ G 17 G 21 G 40 G 49 G 80 G 91 G 28 Z 0 กลบ Home position G 91 G 28 X 0 Y 0 M 6 T 01 M 3 S 2500 G 90 G 54 G 0 X 0 Y 0 G 90 G 43 H 01 G 0 Z 10. M 8 18

NC codes for CNC milling machine ► O_ ___ G 17 G 21 G

NC codes for CNC milling machine ► O_ ___ G 17 G 21 G 40 G 49 G 80 G 91 G 28 Z 0 G 91 G 28 X 0 Y 0 BAck Home position M 06 T 01 M 03 S 1000 G 90 G 54 G 0 X 0 Y 0 G 90 G 43 D 01 G 0 Z 20. Z 5. G 1 Z-1. F 50 19

NC codes ► การจบโปรแกรม Z 2. G 91 G 28 Z 0 G 91

NC codes ► การจบโปรแกรม Z 2. G 91 G 28 Z 0 G 91 G 28 X 0 Y 0 M 30 % 20

Practice 1 Material: Aluminum Tool: Endmill 10 Dia. Depth of cut = 2 mm

Practice 1 Material: Aluminum Tool: Endmill 10 Dia. Depth of cut = 2 mm Spindle speed = 500 rpm Feed rate = 100 mm/min จงเขยน โปรแกรมการกดงานท มระบบควบคม Fanuc 21