Manufacturing Technology: Unit V: Programming of CNC Machine Tools

part program on loops and unconditional jump in cnc machining

Programming of CNC Machine Tools - Manufacturing Technology

part program on loops and unconditional jump in cnc machining: Programming of CNC Machine Tools - Manufacturing Technology

PART PROGRAM ON LOOPS AND UNCONDITIONAL JUMP IN CNC MACHINING

Problem 5.17

Prepare a part program to mill 12×12 mm as shown in Figure 5.62 in a given specimen using GOTO loop for CNC milling machine.


Solution:


Code G25 is used for applying DO loop to perform particular action.

Program in incremental mode:


Problem 5.18

Prepare a part program to mill 30×15 mm for the total depth of cut of 0.5mm suitable multiple passes as shown in Figure 5.64 in a given specimen using Do while loop for CNC milling machine.


Solution:

Program in incremental mode:


Problem 5.19

Prepare a part program to perform peck drilling using IF statement (loop) for CNC milling machine.

Solution:


To keep the drill pecking and the program looping until the desired depth is reached, it is better to understand how IF statement logic works. IF statement on line N5 will only be executed once the value stored in variable #100 is less than zero. GOTO 5 will keep the program looping by sending the controller back to line N5. The GOTO 12 is required on line N5 in order to enable the controller to exit the loop by forcing the controller to jump to line N12.

Manufacturing Technology: Unit V: Programming of CNC Machine Tools : Tag: : Programming of CNC Machine Tools - Manufacturing Technology - part program on loops and unconditional jump in cnc machining


Related Topics



Related Subjects


Manufacturing Technology

ME3493 4th semester Mechanical Dept | 2021 Regulation | 4th Semester Mechanical Dept 2021 Regulation