Write a program that draws the figure shown below Units are

Write a program that draws the figure shown below. Units are in inche Use tool 1, 5 ipm and 1200 rpm.

Solution

CNC Code for the given contour:

N05 G90 (Absolute Programming)

*Absolute programming is the way of coding with measurements from program zero, the program’s origin. Relative programming refers to the dimensions, which are measured from the current position.

N10 G90

* Dimensions are in inches

N15 M06 T1

* Tool change

N20 G00 X-0.5 Y1

*Rapid traverse | Tool go to this position without cutting

N25 M03 S1200

*Spindle ON | RPM set to 1200

N30 G02 X0.5 Y1 I0.5 J0

*G02 represents circular interpolation | X and Y represent end points of arc | I and J represents relative dimension of centre point from the starting point of arc

N35 G03 X1 Y0.5 I0.5 J0

* G03 represents anticlockwise movement

N40 G02 X1 Y-0.5 I0 J-0.5

N45 G03 X0.5 Y-1 I0 J-0.5

N50 G02 X-0.5 Y-1 I-0.5 J0

N55 G03 X-1 Y-0.5 I-0.5 J0

N60 G02 X-1 Y0.5 I0 J0.5

N65 G03 X-0.5 Y1 I0 J0.5

N70 G00 X0 Y0

* Spindle goes back to origin

N75 M05

* Spindle Stop

N80 M02

*End of program

 Write a program that draws the figure shown below. Units are in inche Use tool 1, 5 ipm and 1200 rpm. SolutionCNC Code for the given contour: N05 G90 (Absolute

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site