Programming Concepts And Applications 150401f Flashcards
List two applications where you can use sub-programs
Using cutter comp to rough and finish Milling using the same set of programs
Machining holes that need multiple operations, like Center drilling, spot drilling, drilling, tapping.
What codes would you use to end a main program?
M30, M02
What type of program is used to invoke a sub-program?
A main program or sub program
What codes would you use to end a sub program?
AIT
M99
Why would you not end a sub-program with M30?
It will cause the sub program to end and reset without returning to the main program
What code do you use to call a subroutine?
AIT
M97, Pnnnn identifies an N sequence number where a local subroutine starts
What M codes to invoke and end a sub program?
M98, M99
What is the P word used for?
Program number of sub program.
What is the L word used for?
Number of times sub program is executed. If omitted sub program is executed once
What are two benefits of using sub-programs?
Reduce the number of commands you write in type. Take up less memory space and reduce potential for writing, typing mistakes
To verify. Correct first time correct every time
What can you do to minimize the effort required to load a main program and its sub-programs?
Clearly specify in setup documentation, which programs are related to each job. Be sure set-up people know where to find related programs.
Include all of the programs related to a job in one text file
Name two applications for sub programs
Multiple identical Machining operations
Utility programs
What must the programmer specify each time the program zero point is relocated using G 52?
The distance from the original program zero point to its new location.
How Can rough and finish side Milling be done with one set of tool path coordinates?
Specify the toolpath coordinates twice, once for roughing once for finishing.
What happens when a main program ends with M 99?
The machine returns to beginning of the main program and executes the program again, without stopping