Macro Programming is the Most Powerful Tool in Swiss Machining

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 210

  • @Kardos55
    @Kardos55 Год назад +34

    Macros AKA branching/looping logic open up a whole new world of possibilities and they have existed way before CAM systems. People who use macros, especially combined with CAM output are on an another level in manufacturing.

    • @donniehinske
      @donniehinske Год назад

      Yes! I really do think they are an insanely powerful tool to master. When I was doing applications work in Michigan they got me out of so many tough spots

    • @kw2519
      @kw2519 Год назад +3

      The Fanuc macro B book is like $50 on Amazon. It changed my career…

    • @GrumpyMachinist
      @GrumpyMachinist Год назад +1

      @@kw2519 For those that want it a pdf version can be found online for free.

    • @mattiasarvidsson8522
      @mattiasarvidsson8522 Год назад +3

      @@GrumpyMachinist don't say that without typing the url ;)

    • @kw2519
      @kw2519 Год назад

      @@GrumpyMachinist link?

  • @joesmith2465
    @joesmith2465 Год назад +46

    somehow like always you guy find the perfect person to fit right into your team and is a natural behind the camera. can't wait for more macro videos I have a fadal and that's what it likes

  • @danishcombos6239
    @danishcombos6239 Год назад +30

    Macros in all aspects of manufacturing are incredible. Both in CAD drawing, and in programming. It's so much more efficient if you have multiple similar parts or operations

  • @Awesomewasom1
    @Awesomewasom1 Год назад +16

    I’ve owned my own shop for 3.5 years and been in the industry for 8. I know nothing of programming macros. Please please please do a masterclass on macros.

    • @gerhardvictor5475
      @gerhardvictor5475 Год назад +2

      Yes please!

    • @blueovalfan23
      @blueovalfan23 Год назад

      i can't really weigh in on this but what we do at work has logic in it and uses macros. i'm just an operator, not a program guy at work. i do have a simple understanding of it as i also troubleshoot when i see something off. i'm also their trainer.. long and short of it is redirecting the program. you can have a program to do a bunch of different operations and tailor it to what you need done. honestly it's not that complicated once you see it. really handy to have for reman stuff, what i do. anyway say you want to bore a hole but want the option to do several different sizes.. you have the code to do all the different sizes with tool paths and all that, all with an n number at first. before that you'll have several lines that say "if[#150eq3]goto500" just use the macro number, 150 in the example, to tell it what you what to do, 3 in the example. it'll then direct it to the part of the code you need, n500 in the example. even cooler, you can send it back to the macro line if you use the n numbers right so you can do multiples. if you're just doing stuff out of stock, probably not all that helpful. making a machine so anyone can feed it in a fast paced manner while fixing wore out junk, it's what you want. i know that example line of code will work on a fanauc controller, i'm looking at the same program i've ran at work. might not be that simple one other machines.

  • @milkcorez
    @milkcorez Год назад +5

    Finally, macro's showed up here. Using macros + advanced programming options (like if, while and etc) to create 2.5D milling contours with 1 pass on Z, and then my "cycle" creating other passes from start z to end z with needed depth of cut. This makes programms soo small

  • @leonschumann2361
    @leonschumann2361 Год назад +4

    Donnie screwing around on the Tornos for his first video. great work, a natural and pretty cool machine

  • @motoNudziarz
    @motoNudziarz Год назад +4

    I did some complex macros, togheter with logic checks (i.e. when the lenght of item is greater than 550mm, drill additonal hole), and switches. It was absolute gamechanger for custom kitchen furniture. Instead of making program for each single board, you only pit numbers, check options, and run program. Programming whole kitchen went from two hours, to 10-15 minutes.

  • @timothykraft4909
    @timothykraft4909 Год назад +3

    What kind of threading Sorcery is this! All the variables with deflection! Disengaging and reengaging in the thread cut and maintaining the correct Minor Dia with perfect blends! Then i was waiting for the GO gauge to have them hard spots! Nope! Smooth as glass! This ones making my brain hurt a little bit!🙃 Awesome Video Donnie! More Macros Please!🙂

    • @jakebpau2396
      @jakebpau2396 Год назад

      All very nice. But let's remember that was 360 Brass. Butter material.

  • @derbacksteinbacker4942
    @derbacksteinbacker4942 Год назад +9

    We use macros in our shop for a ton of things, we actually have custom cycles completely written with variables. It’s crazy what you can do with variables if you know how to use them

  • @jeffreymcjefferson1917
    @jeffreymcjefferson1917 Год назад +5

    More of this guy! Great personality on camera and communicates his knowledge with ease 👍👍

  • @brianroby8214
    @brianroby8214 Год назад +6

    Have been writing macros (on Okuma Mills and Lathes) for well over 30 years. You can do ANYTHING with the correct thought process. Some of the original macros I made at the start are still being used in the workshop today, with no changes to them... must have done them good LOL. Always great to see the effect of a good macro on being able to get a good part done flawlessly with ease.

  • @charlvanniekerk8009
    @charlvanniekerk8009 Год назад +6

    Thoroughly enjoying learning about macros on the cnc machine. Its news to me and definitely something to consider!
    Really enjoying Donnie, great work!

    • @donniehinske
      @donniehinske Год назад +1

      Thank you!

    • @rodrigojara6634
      @rodrigojara6634 Год назад

      @@donniehinske Hey Donnie, where can I get a copy of that program? I need to machine a part exactly like that on my Tsugami

  • @raydewley9796
    @raydewley9796 Год назад +8

    Looking forward to more Swiss machining videos!

  • @shirothehero0609
    @shirothehero0609 Год назад +3

    Would love to see more macro videos and use cases where you guys employ them. Love looking at instances that I've never come up against and how others would solve them versus how I would do it. That's one of the best parts of collaborative cnc machining - seeing how others minds work to get to the same end result.

  • @ramonstvol8662
    @ramonstvol8662 Год назад +6

    This reminds me to Q-Parameters in Heidenhain control, if you master them you can program extremly efficient and you can program complex forms in just a few lines of Code

    • @ipadize
      @ipadize Год назад

      i have several Q-parameter programs for different usecases which also use cycles, for example face milling, threadmilling etc

    • @markmall7142
      @markmall7142 Год назад

      @@ipadize yip they are great its probably the easier control to do it with.

    • @ipadize
      @ipadize Год назад +1

      @@markmall7142 i just wish we had something like "if this and this and this equals this then"

  • @kevinmcdonough3518
    @kevinmcdonough3518 Год назад +1

    Awesome seeing you on here Donnie. I had the pleasure of working with you in Jackson MI a few years back and you are definitely talented. Keep up the good work.

  • @662OutdoorAdventures
    @662OutdoorAdventures Год назад +1

    Now you are speaking my language!!! Love some macro B programming! I have one that will turn and thread in the specified segment length.

  • @GrumpyMachinist
    @GrumpyMachinist Год назад +1

    Ask and you shall receive... Just yesterday our Star sales rep was in the shop and I asked about this. I'm ashamed to say it publicly but I turned down quoting a couple of jobs because I don't have time, at the moment, to perfect the operation for a production setting. Especially on what I consider a short run. You give me hope because how easily it worked for you. We don't have Tornos but we do have Fanuc servos. I was thinking servo lag would be a big problem.
    I'm really curious about the code. Looking forward to more content.

  • @gamer2x532
    @gamer2x532 Год назад +1

    I made myself a simple milling macro programm for my 5 axis machine if i need a new block of any size or material.
    checking 6 lines of program - takes about 12 seconds to change - program ready

  • @cbyrdtopper
    @cbyrdtopper Год назад

    QC probing all done with macros in our shop. Also our OD grinding is made conversational with Macros. Super powerful!

  • @shaniegust1225
    @shaniegust1225 Год назад +2

    Great video Donnie! Welcome to the team! Can’t wait to learn more from you 💪👍

  • @jimcarriesa1911
    @jimcarriesa1911 Год назад +3

    Absolutely correct macros are a must in my field.

  • @FNmey
    @FNmey Год назад +2

    Those swiss machines are something else! Love this content!

  • @jelias999
    @jelias999 Год назад +1

    Macro programming can be extremely effective in many situations. I used them alot in tool life alerts or a stop check for sizes after so many parts.

  • @mattiasarvidsson8522
    @mattiasarvidsson8522 Год назад +1

    Peter Smid made a good book about Fanuc macro B .. its very interesting to read .. its a bit old, printed in 2005, but still relevant .

  • @TilmaCNC
    @TilmaCNC Год назад

    I tested the treading in multiple Z-staps on a normal CNC lathe with Siemens control. It worked gread! (I know it isn't for this type of machines but I wanted to test the principels)
    Thanks a lot! And by the way, macro's are endles!!

  • @carrigan308
    @carrigan308 Год назад

    Most people think about parametric programming and making it easy to program similar parts when they think about macros, but the really powerful stuff is when you start using macros to automate processes. A creative macro programmer with a probe can create processes so stable that you know for a fact the machine will alarm out or will adjust an offset or tool length or whatever before things start to go sideways. You combine that with using redundant tooling and tool life, and you can start to do a lot of things most companies don't even know is possible.

  • @rossmcd_5023
    @rossmcd_5023 Год назад +2

    Intro to Macro's for CNC lathes! 🙏

  • @VoddyShots
    @VoddyShots Год назад +1

    I made a macro program for a mill where I used to work just a facing cycle but you could easily change the stock height, depth of cut and how much material to remove just a simple easy way to face off blocks of material without loads of programmes. But anyway really good example of how to use these Swiss lathes. That’s pretty impressive how well it picks back up the thread. I do wonder how well it would do on more of a finer thread as that thread looked pretty coarse and no offence may be due to no coolant/oil but the thread finish didn’t look the best visually

  • @johnnymachine5576
    @johnnymachine5576 Год назад +2

    Great video! I have a Tornos GT32 and pretty much self taught through trial and error. Would like to more tutorials on macros and Swiss in general.

    • @donniehinske
      @donniehinske Год назад +1

      Thank you! We plan on making plenty of tutorials on the Tornos machines! Stay tuned for more

    • @Cnctornaustasi
      @Cnctornaustasi 4 месяца назад

      ​@@donniehinske merhaba 320 mm boyunda m16x1.5 dış çekilecek bana örnek program yazabilirmisiniz? Tezgah goodway sv20 saygılar

  • @austinbell8750
    @austinbell8750 Год назад +1

    Natural on camera my guy💪🏻 yes we want to see more macro work!

  • @greengoat5654
    @greengoat5654 Год назад +1

    The best of both worlds, assembly line and machining

  • @Glenrok
    @Glenrok Год назад

    Excellent! I love macro programming, & have been writing them for years, but if I bring up macros with most machinists I encounter, their eyes just glaze over and I’m asked “ why the hell would you want to mess around with that when (mazatrol/heidenhein, etc) does everything you need??” Er, because it doesn’t do everything I WANT!! I see a nice canned cycle on one machine that isn’t in another I use (or even think of one)- I write it- & then EVERYONE can use it!?! The possibilities are endless, and I’m forever trying to find someone with more knowledge than me whose brain I can pick. (I always feel there’s more I could learn). Bring ‘em on- the more macro vids the better!! 👌👌

  • @User-th6yy
    @User-th6yy Год назад +8

    Didn't know it's considered ground breaking for some other machinists. We basically do every standardized feature like threads, helix machining and standard milling paths with these macros. We call them "under programs" as sometimes they are a program within the program. Nice explanation!

    • @kw2519
      @kw2519 Год назад +3

      Interesting, we call them “sub programs”.

    • @nerfzinet
      @nerfzinet Год назад +1

      @@kw2519 In general-purpose programming languages (the kind of languages we use to make most computer programs like for example the software on your cnc machine) they're generally referred to as functions or methods, I think some older languages refer to them as subroutines. That is of course if I understand correctly what a macro is in this context, he never really said anything about what macros actually are and I haven't written any G-code in the last 15 years.

    • @Chris-du7hi
      @Chris-du7hi Год назад

      The macros he is talking about are different than a standard gcode subprogram. Pretty sure he is using fanuc maco b. Quick example of what you can do:
      N1 (line number 1)
      #500=#500+1 (set variable #500 to its value plus 1)
      IF[#500LT100]GOTO1 (if variable #500 is less than 100, jump to line number 1)
      M30
      So this would loop 100 times from line number 1 to the if statement then end.

    • @nerfzinet
      @nerfzinet Год назад

      @@Chris-du7hi So you're saying macros are language constructs like ifs and gotos, as opposed to regular G codes? Interesting, I didn't know you could do that but I also always wondered why not.
      This is basically just regular computer programming. It's more primitive than what you'd see in a language like Java or C# but essentially the same thing.
      Thanks for elaborating

  • @threeaxis359
    @threeaxis359 Год назад

    Absolutely is I use Macro programming every chance I get. I would love to see that program. Then I wouldn't have to clamp one end of the part with the sub and sync main and sub to machine a long thread in case the bar is not supported by the guide bushing enough to eliminate taper in the thread.

  • @warko4
    @warko4 Год назад

    Macro programming is my favorite, and i agree that is the essential for swiss type machining! It is so powerful so i didnt use CAM anymore, for me it's just easier and faster than a CAM..

  • @marcogarcia8450
    @marcogarcia8450 5 месяцев назад +1

    Hi from Chicago
    I want to learn macro.
    Ti is the good video

  • @willpeterson1177
    @willpeterson1177 Год назад +1

    That Swiss machine is a beast!! 😊

  •  Год назад

    Make more video about Swiss machining, please! I'm working with Swiss lathe and I always want to learn more about the machine, it is such a different aspect compare to other CNC lathe yet very interesting and has a strong potential.

    • @toanjack3214
      @toanjack3214 Год назад

      Lần đầu mình thấy kiểu tiện nối ren này luôn, bt cây ren dài như này mình sẽ chống tâm tiện nó mới đều và k bị rung đầu do dài. Máy tiện này cũng hay thiệt đấy

  • @CarlosHernandez-pi5te
    @CarlosHernandez-pi5te Год назад

    As a dude that works on Citizens and Hanawas this is very interesting but went over my head please explained it like I’m 5 years old.

  • @willbaker3102
    @willbaker3102 Год назад +1

    Need more macro action. Don’t hear enough about them

  • @mos1954
    @mos1954 Год назад

    The Call Polymechanic in Swiss or CNC Fraser and Dreser , in English is milling , people in Switzerland learn 4 years or 3 years or 2 years it depends your school grade but after that with a experience minimum 5 years you will be able to become expert . But to land a job it’s instantly after you finish . Because all ready you go to school Two Days and work for 3 Days as an apprentice.

  • @Innovativeindustries
    @Innovativeindustries Год назад +1

    Donnie is an absolute badass!

  • @williamcupples3681
    @williamcupples3681 Год назад

    Hydromat, Bufolli, I set these up at delta faucets company in Jackson tn. Awesome machines

  • @nicocastillo500
    @nicocastillo500 Год назад

    This kid brings some fresh energy to the group.

  • @jacoporinaldi9194
    @jacoporinaldi9194 Год назад

    Already created a macro like that on my Citizen L32x and it work pretty fine

    • @Cnctornaustasi
      @Cnctornaustasi 4 месяца назад

      Merhaba benim goodway sv20 var 320 mm boyunda m16x1.5 dış cekilecek bana yardımcı olur musunuz? Macro örnek program yazabilirmisiniz?

  • @Sara-TOC
    @Sara-TOC Год назад +2

    Excellent video Donnie! I appreciate the level of skill shown. Beau Nogoh knows all about no-go gages. You should ask him for tips 😂 just kidding.

  • @spxdesu
    @spxdesu Год назад

    Oh yeah praise macros! We got lots of parts with the same shape but different sizes. I just need to change few variables and the rest of the program basically writes itself. An enormous improvement over having to rewrite every value by hand before xd

  • @walid7820
    @walid7820 Год назад

    With tornos swiss you can use the second spindle M40x for long part , it can be found at tornis tips nd tricks website.

  • @jenpsakiscousin4589
    @jenpsakiscousin4589 Год назад

    Loops and macros used to be all we had for repetitive programming. Same as 3pL. When was the last time you wrote a loop or subroutine for a wonky peck drill cycle? Or used an algebraic expression as a variable to define a spline? Sometimes I think the Cad:Cam has made us less imaginative. I miss the creativity of hand coding, but in reality we don’t have the luxury of the extra time to write creative programs when the cad is so much faster, usually anyway.

  • @AlphaSierra375
    @AlphaSierra375 Год назад

    More macros! Love the topic of prgramming🔥🤘Can't get enough of the swiss machines!

  • @vianmuller4617
    @vianmuller4617 Год назад

    I'd love to learn more about macro's. I've recently started to teach myself and implement it in my workshop with great results but I know I am barely scratching the surface of macro programming and I'm struggling to find more detailed information on this.

  • @adambunce272
    @adambunce272 Год назад

    Hecks ya man!! U have to make that "have a great day" thing your signature!! U have to!! Love it!!

  • @RobbieRobsProductions
    @RobbieRobsProductions Год назад

    Impressive! For it to pick up a thread that fast and it gage's out nicely.. love it, sweet technique! Perfect, 🤔 I personally can see the thread starts at each start point when the part is turning (light shows a lot of little details like runout and small imperfections). Can any of you? In my mind, definitely still a perfect part.. 🤘 Keep it up guys!

  • @joshuahedgepath5120
    @joshuahedgepath5120 Год назад

    I’m lost on macros…some things I get but others I will get confused over. So yes please do an intro to macros to advanced courses.

  • @SilvanoBressan
    @SilvanoBressan 2 часа назад

    I find it interesting. Is there any way to have sample of the macro

  • @trevorgoforth8963
    @trevorgoforth8963 Год назад +3

    Great explanation Donny! Sorry for being so loud 😂

  • @MillTurn4Life
    @MillTurn4Life Год назад

    Using a G32-G33???? It's the only way I can think of to engage the encoder. I'm gonna have to try this I have plenty of experience with basic macros but this looks like a fun project really melt my brain.. love it

  • @eddrm4685
    @eddrm4685 Год назад +3

    Great video...more macros please!
    Do you guys use them on other machines?

  • @HectorRodriguez_servant4Christ

    I'd ike to see a video with afro Berry and Donnie the mad scientist! Phenomenal work fella!

  • @Jatsekusama
    @Jatsekusama Год назад +1

    More on macros please!!! :D

  • @brianmcbrinn7564
    @brianmcbrinn7564 Год назад

    Yes, do more macros program videos. A little more detail would help.

  • @christianmiller1321
    @christianmiller1321 Год назад

    Yeah for sure more programming tips and tricks specifically for Swiss machines.

  • @kevinkc3onohelijeepworld953
    @kevinkc3onohelijeepworld953 Год назад +1

    Great job on your 1st Vid 😊👍🇺🇸

  • @seththomas2490
    @seththomas2490 Год назад +1

    I'd to see you cut keys and test them. Quick simple but might be fun

  • @chaddaigle5273
    @chaddaigle5273 24 дня назад

    I’m not a Swiss guy… 😢. But I have been milling for 20 years, 3-5 axis. Any chance I can see tool life macro for a mill?

  • @Shadow-vu7tq
    @Shadow-vu7tq Год назад

    The spindle servos if they still use servos are amazing

  • @christophervillalpando1815
    @christophervillalpando1815 Год назад +1

    Awesome Job Donnie!

  • @zer001
    @zer001 Год назад

    i love how awesome a variable can be in the US. ;)

  • @kentl7228
    @kentl7228 Год назад

    I wonder if the segment or thread whirling approach is faster. At least in brass. Thread whirling on stainless can be a bit slow

  • @warriordanzo
    @warriordanzo Год назад

    Any chance we could get the full example of your macro used would love to see what the whole thing looks like

  • @Cnctornaustasi
    @Cnctornaustasi 4 месяца назад

    Merhaba birtane iş var 320 mm boyunda m16x1.5 dış çekilecek örnek program yazabilirmisiniz macro olarak biz uğraştık fatve tutmadı lütfen yardımcı olur musunuz?

  • @AlejandroPerez-pu5zc
    @AlejandroPerez-pu5zc Год назад

    Any Macro lessons coming in the Academy? We run some nice ones but not like this. We would love all our our guys here to understand them!!

  • @vonpredator
    @vonpredator Год назад +3

    Question: was this at “production speed” or with cooling, could you have gone faster?

    • @TITANSofCNC
      @TITANSofCNC  Год назад +2

      Yep, it was for camera and no coolant

    • @mattiasarvidsson8522
      @mattiasarvidsson8522 Год назад

      extremly fast with long threads if a thread whirling attatchment can be put on the macine ..

  • @jimc4731
    @jimc4731 Год назад

    Just how do you get the finished part out of the machine without damaging it during production?
    JIM

  • @kentl7228
    @kentl7228 Год назад

    Where can one find sample programs for metric machines? We use a Doosan Swiss lathe.

  • @andrews554
    @andrews554 Год назад

    @TITANSofCNC Can you send an example program? How well would that work with rechucks?

  • @sstt33vv33
    @sstt33vv33 Год назад

    This video is really cool I would love to looked at the whole macro program. Is it available at the Titan Academy?

  • @adammiller4879
    @adammiller4879 Год назад

    I’m currently learning macros and it is a LOT touched than g code, it’s the same concept but way different. Way more to know and way more ways to fuk
    Up

  • @jonathandelgado717
    @jonathandelgado717 Год назад

    Hello titans, amazing video, I'm from Mexico, I'm new to Swiss lathes and it would be great if you could give me these tips, on how to use that code in that way (example G33), and on macros, this video got me called a lot. attention, if I would like more information about macros

  • @barrysetzer
    @barrysetzer Год назад +1

    Very cool, Donnie

  • @gooblio
    @gooblio Год назад +1

    Macro for threading? While I'll be dipped, I've used them on a mill for bolt circles with a Sub-program, but never tried one for threading. Cool. 🤓

  • @traqnhristov960
    @traqnhristov960 Год назад

    How do you pick up the tread? Do you calculate where it ended? Or is is it just starting and finishing on the same place so then you move the coordinate system take out the part and continue where you left off?

  • @jakeb8838
    @jakeb8838 Год назад

    I run Citizen Swiss machines. My company uses thread whirlers for threading. It’s a more efficient for threading

  • @donavanjones5850
    @donavanjones5850 Год назад +1

    Hey there! This is cool! I work on STAR Swiss machines and do some macro programs. Please make more videos on macro programming! Did you do this manually or did you use a software to post your macro programming. Thanks!

    • @donniehinske
      @donniehinske Год назад +1

      All programmed manually. A macro like the one shown requires a lot of practice before attempting. I’d recommend something simpler like learning WHILE statements first

  • @miguelqwerty13
    @miguelqwerty13 Год назад +2

    Do it stainless.
    From Portugal.

  • @JorgeLuisTorres91
    @JorgeLuisTorres91 Год назад

    Any get the whole code? I would like to examine it completely and learn it

  • @sergiolopez8599
    @sergiolopez8599 Год назад

    Hey guys would you make a review about the MR-1 machine? And compre it with Tormach machines, it would be interesting

  • @pappaflammyboi5799
    @pappaflammyboi5799 Год назад

    Like, no way dude! You're like a massively cool programmer dude. Wow dude! Who'd a thought dude?

  • @makipsee
    @makipsee 4 месяца назад

    at almost a year and a half old i guess this isnt coming back.... i have always struggled with section threading...

  • @thedude5869
    @thedude5869 Год назад

    What are, or what are some of the prerequisites to parametric programming?

  • @leejerry8425
    @leejerry8425 Год назад +1

    what software is going to be used for CAM on the swiss machines?

  • @zackroberts7818
    @zackroberts7818 Год назад

    GIVE US MORE
    MACRO LESSONS BABY

  • @Contest4Freedom
    @Contest4Freedom Год назад

    I’d love videos on that

  • @Yourmommaluvsme
    @Yourmommaluvsme Год назад

    Great video! Nice job Donnie!

  • @michaelg3911
    @michaelg3911 Год назад

    More Macro's!

  • @leonardbixler102
    @leonardbixler102 Год назад

    Great content very useful!! Yes more on macros

  • @Vik_ru
    @Vik_ru Год назад +1

    Хорошая штука!
    Very good! 🙂

  • @ogregolabo
    @ogregolabo Год назад

    Thanks

  • @darinellifritz1335
    @darinellifritz1335 Год назад

    Where can I go to learn more about macro programming?