me 440 - cnc simulator (rev. 1)

28
ME 440: Numerically Controlled Machine Tools Department of Mechanical Engineering Middle East Technical University CNCSIMULATOR http://www.cncsimulator.com

Upload: muhammed-said

Post on 29-Nov-2014

137 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: ME 440 - CNC Simulator (Rev. 1)

ME 440: Numerically Controlled Machine Tools

Department of Mechanical EngineeringMiddle East Technical University

CNCSIMULATORhttp://www.cncsimulator.com

Page 2: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 2

CNCSIMULATORChoose the correct application (Milling, Turning or Plasma Cutting)

Page 3: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 3

MILLING / Editing Tools

Page 4: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 4

MILLING / Editing Tools

Page 5: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 5

MILLING / Setting Dimension of Work piece

Page 6: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 6

MILLING / Setting Dimension of Work piece

Page 7: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 7

MILLING6 different point on the workpiece could be defined as zero point;

Page 8: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 8

MILLING

Page 9: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 9

Click here to execute the program

MILLING

Program is written here

Indicates coolant statusOperation Time is

presented here

Feed RateTool No

Coordinates

Page 10: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 10

G0 or G00 Rapid movement

G1 or G01 or L Linear interpolation

G2 or G02 or DR- Clockwise interpolation

G3 or G03 or DR+ Anti-clockwise interpolation

G40 Turns off cutter compensation

G41 Cutter compensation to the left

G42 Cutter compensation to the right

G92 Zero point displacement

MILLING

G-codes for milling

G-codes for milling:

Page 11: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 11

MILLINGM-codes for milling :

M0 or M00 Program stop

M3 or M03 Spindle start clockwise

M4 or M04 Spindle start anti-clockwise

M5 or M05 Spindle stop

M8 or M08 Coolant on

M9 or M09 Coolant off

M17 Return from subprogram

M30 or M02 or M2 Program end

Page 12: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 12

Other codes for milling :

MILLING

F Feed rate

S Spindle speed

N Block number

T or TOOL CALL

Tool

X Code for the X-axis

Y Code for the Y-axis

Z Code for the Z-axis

I Incremental distance to the center in the X-axis

J Incremental distance to the center in the Y-axis

K Incremental distance to the center in the Z-axis

Page 13: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 13

MILLING

Simulation Time

Execute the whole program Execute only the present line of the program

Page 14: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 14

MILLING

Page 15: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 15

TURNINGChoose the correct application (Turning)

Page 16: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 16

TURNINGSet the dimension of the workpiece;

Page 17: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 17

TURNING

Page 18: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 18

TURNINGLet make a drill operation with Tool 21 to a workpiece Diameter of 52mm

Page 19: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 19

TURNINGWhat is the drill diameter? Or you want to drill this hole with a 50 mm. Which tool corresponds to 50 mm?

Page 20: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 20

TURNINGEdit Tool Box of the Turning Mode does not give any sufficent information about the dimensions of the tools. Therefore, you must go to the files of the tools in the program directory to get the information about their dimensions or to modify them

Page 21: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 21

TURNINGOpen the related file with Wordpad or NotePad

Page 22: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 22

TURNINGYou will see some numbers written in a sequence orders.

E.g. (0 0 10 -18 200 -18 200 18 10 18 0 0)

They are the coordinates of the tool 21 sharp points such as;

P1 (0,0)P2 (10,-18)P3 (200,-18)P4 (200,18)P5 (10,18)P6 (0,0) P1,P6

P2 P3

P4P5

Diameter of the Tool 21 is calculated as 36 mm from the coordinates of the points.

Page 23: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 23

TURNINGLet’s change the diameter of the T21 such as 50 mm. Modify the text program written in the wordpad and then, save the file or give a new name

E.g. (0 0 10 -25 200 -25 200 25 10 25 0 0)

Page 24: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 24

TURNINGLet’s run the program again with this modified Tool 21.

(Workpiece Dia : 52 mm, Tool Dia : 50 mm)

Therefore, you can modify or generate desired Tools by writting appropriate numbers in a sequencial order.

Page 25: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 25

TURNINGG-codes for turning :

G0 or G00 Rapid movement

G1 or G01 Linear interpolation

G2 or G02 Clockwise interpolation

G3 or G03 Anti-clockwise interpolation

G25 Subprogram call

G26 Separate subprograms (disk)

G90 Absolute programming

G91 Incremental programming

G92 Zero point displacement

G94 Specify feed rate in mm/min

G95 Specify feed rate in mm/revolution

Page 26: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 26

TURNINGM-codes for turning:

M0 or M00 Program stop

M3 or M03 Spindle start clockwise

M4 or M04 Spindle start anti-clockwise

M5 or M05 Spindle stop

M8 or M08 Coolant on

M9 or M09 Coolant off

M17 Return from subprogram

M30 Program end

Page 27: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 27

TURNINGOther codes for turning :

F Feed rate

S Spindle speed

N Block number

T Tool

X Code for the X-axis

Z Code for the Z-axis

I Incremental distance to the center in the X-axis

K Incremental distance to the center in the Z-axis

R or Z Arc <180 grader

R- or Z- Arc >180 grader

L Threading cycle parameter diam/radius, point A

D Threading cycle depth mm/cut

H Threading cycle total thread depth

U Sub program amount of repetitions

Page 28: ME 440 - CNC Simulator (Rev. 1)

CNC Simulator ME 440 28

CNCSIMULATORThe Program has a very useful Help Guide