Using Subroutines with G70

  Рет қаралды 1,293

Practical Machinist

Practical Machinist

Күн бұрын

In this video, Marc, AKA the GCodeTutor, explains how we use subroutines to reuse our tool paths to minimize our code and speed up the programming process.
When we have programmed a roughing cycle, we can either program the same tool path again for our finishing cycle or we can use subroutines to recall that tool path again.
By using a subroutine we can cut down the amount of code that we need to write.
By using P and Q values that match the program number lines. We can recall that section of the program with just one line of code.
If you want any more information about these codes or other G-code information, head to
Website: gcodetutor.com/
Facebook: / gcodetutor
Twitter: / gcodetutor
KZbin: / @gcodetutor
Pinterest: www.pinterest.co.uk/gcodetuto...

Пікірлер: 5
@swamppifi6186
@swamppifi6186 2 жыл бұрын
I once had to run a vertical borer that had an old GE 1050H controller and only had memory to load just one file. We had to use a mix of subroutines and incremental/absolute programming. we had different start blocks ( N100, N200, N300 ) that had M30 after then to stop you from executing thru the program ,the start blocks would jump to the main section of the program for each different bore sizes that we machined in absolute mode, then when it needed to machined common features ( oil groove, bottom radius, & top chamfer) we drove to the start point and called a subroutine , the first line switched into incremental mode and machine the feature in incremental programming, then at the end, it switched back to absolute programming before jumping back into the main program. I didn't write this but I was impressed at how clever this program was put together.
@orangedream267
@orangedream267 2 жыл бұрын
You often get amazing stuff with limited resources. Especially in production (in any industry) environments. These days it's just stuff as much nonsense in as possible and pray it works.
@markhorner4982
@markhorner4982 2 жыл бұрын
that wont work on newer fanuc control machines it will come up monotonous error , the G42 will have to be on the g70 line and it wont like the finish line of X70 Z5 , unless of course a parameter change that i don't know about will fix it .
@steinarne79
@steinarne79 2 жыл бұрын
Just a general question. I'm really struggeling to see why such crazy manuall programming is needed any longer. Beside the normal conversational features on the controller, you should just use a CAD/CAM program to do the programming? Standing at the machine doing programming and the machine is not doing anything. its the most expencive "calculator" in the world for the business! Please, help me understand why.
@natedawg003
@natedawg003 2 жыл бұрын
This isn't crazy manual programming. It's pretty basic and you can make a template in which all you have to do is add the profile of your part. You don't need to do it at the control either. You can do it at the computer while the machines running and then upload it. A decent programmer will program a basic lathe routine faster than CAM. Also doing it this way gives way more function for editing at the control, and the code dimensions are the actual dimensions on the print. Makes verifying your code way easier.
Tips for Handwriting a Turning Program
6:43
Practical Machinist
Рет қаралды 1,3 М.
THESE G-CODE SHORTCUTS Will Speed Up Your Programming Process SIGNIFICANTLY
7:29
No empty
00:35
Mamasoboliha
Рет қаралды 10 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 11 МЛН
Master the G71 Roughing Cycle! - Haas Automation Tip of the Day
14:27
Haas Automation, Inc.
Рет қаралды 115 М.
Unlimited Part Sizes With This Genius Macro Program
11:11
TITANS of CNC MACHINING
Рет қаралды 56 М.
How to Program with Variables Using G-Code
6:15
Practical Machinist
Рет қаралды 905
Introduction to Canned Cycles
7:44
Practical Machinist
Рет қаралды 22 М.
Hand Programming with M98 and M97 sub programming routines
12:17
Use M99 To Loop, Jump, and Return! - Haas Automation Tip of the Day
7:56
Haas Automation, Inc.
Рет қаралды 84 М.
Secret Art of MACRO PROGRAMMING on a CNC Machine | G-Code Genius
12:03
TITANS of CNC MACHINING
Рет қаралды 106 М.
Hot-Rush Jobs: THREE THINGS You Need to Know | Machine Shop Talk Ep.115
13:19
Shorten Your G-Code Using a WHILE Loop! | CNC Macro Programming Tutorial
6:14
Cnc Custom Macro Variables.
17:57
Easy Custom Macros
Рет қаралды 887
КРАХ WINDOWS 19 ИЮЛЯ 2024 | ОБЪЯСНЯЕМ
10:04
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 2,3 МЛН
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 178 М.