No video

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 М.
Unlimited Part Sizes With This Genius Macro Program
11:11
TITANS of CNC MACHINING
Рет қаралды 56 М.
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 194 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 90 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 13 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 15 МЛН
THESE G-CODE SHORTCUTS Will Speed Up Your Programming Process SIGNIFICANTLY
7:29
Master the G71 Roughing Cycle! - Haas Automation Tip of the Day
14:27
Haas Automation, Inc.
Рет қаралды 115 М.
How to Program with Variables Using G-Code
6:15
Practical Machinist
Рет қаралды 905
Introduction to Canned Cycles
7:44
Practical Machinist
Рет қаралды 22 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 34 М.
Secret Art of MACRO PROGRAMMING on a CNC Machine | G-Code Genius
12:03
TITANS of CNC MACHINING
Рет қаралды 106 М.
Shorten Your G-Code Using a WHILE Loop! | CNC Macro Programming Tutorial
6:14
Hot-Rush Jobs: THREE THINGS You Need to Know | Machine Shop Talk Ep.115
13:19
The Haas CNC Certification Program - Haas Automation, Inc.
1:59
Haas Automation, Inc.
Рет қаралды 22 М.
Hand Programming with M98 and M97 sub programming routines
12:17
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 194 МЛН