SBL Magnaturn Retrofit - Page 5


Page 5 of 5 FirstFirst ... 2345
Results 81 to 99 of 99

Thread: SBL Magnaturn Retrofit

  1. #81
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi Tom,

    You should be able to do this. Instead of Zeroing use the "SetX" button and enter the measured diameter.
    Will give it a go.

    The canned cycles iam refering to is like the ones Fanuc uses, see links below.

    Fanuc G71 Turning Cycle - Helman CNC
    CNC Fanuc G72 Canned Cycle Facing - Helman CNC

    Thanks,
    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  2. #82
    Member
    Join Date
    May 2012
    Location
    canada
    Posts
    537
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Sounds like Morays C program should be great for X. Tom if you used "SetX" wouldnt that set a G54 value and not actually set anything for the tool? A second tool, would just set another different value for g54 then, so not sure that would work. Whatever your doing for Z in your mill should work in the lathe too. Bunch of ways of doing it, everybody has their favorite.

    I have a friend who uses Mach3 on a lathe and it seems to work well. Generates its own code for simple stuff like Moray is saying. I wouldnt use it as a controller, but probably not a bad idea to generate some basic code. Tom, the G71 roughing cycles (not actually a canned cycle) are basically used to define finished shape of a part, and the control generates multiple depth passes to rough out the final shape without a million lines of code. Probably not an easy thing to add.

    Troy, post some pics of the press brake as your building it. Thats a project ive been meaning to do soon too.



  3. #83
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Tom if you used "SetX" wouldnt that set a G54 value and not actually set anything for the tool? A second tool, would just set another different value for g54 then, so not sure that would work.
    Thats what i just found out. Although i think it just sets the global as the Work offsets dont change when set X.

    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  4. #84
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi mark,
    Here is 1st stages of press.
    SBL Magnaturn Retrofit-20181209_133849-jpegSBL Magnaturn Retrofit-20181209_133859-jpeg

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  5. #85
    Member
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    355
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Here's the code from an old backup I've got on my laptop, although I have a niggle in my mind that I had to change the offset calculation on the lathe.



  6. #86
    Member
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    355
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Here's the code from an old backup I've got on my laptop, although I have a niggle in my mind that I had to change the offset calculation on the lathe.
    I would got out to the workshop to check, but I'm choked with a cold so have been having a very lazy weekend staying inside where it's warm!

    Couple notes are this checks to ensure you're in metric mode, and you have to move the X axis back to the cut position before setting the offset I.e. if you do a pass at 10mm then pull out to stop rubbing, you have to ensure the axis is moved back to 10mm before running this offset program. I normally do a single pass, pull out, move far enough in Z to clear the stock, move X back to the cut depth, then run the program.

    Code:
    #include "KMotionDef.h"
    #include "cyclone.h"
    #include "KflopToKMotionCNCFunctions.c"
    
    main()
    {
    	int	Units, TWORD, HWORD, DWORD;
    	double DROx, DROy, DROz, DROa, DROb, DROc, OffsetX;
    	double XMeasured, XDiff, XNewOffset;
    	float XEntered;
    	// get current DRO reading (we only need X, but we have to handle them all)
    	GetDROs(&DROx, &DROy, &DROz, &DROa, &DROb, &DROc);
    	// get the current Units and ToolTblID (and ignore the H and D Words)
    	GetMiscSettings(&Units, &TWORD, &HWORD, &DWORD);
    	// if KMotionCNC is in inch/G20 mode, then quit as it shouldn't be
    	if(Units == CANON_UNITS_INCHES){
    		MsgBox("KMotion set to inches. Set to MM and retry",MB_OK|MB_ICONEXCLAMATION);
    		ThreadDone();
    	}
    	// get the X offset from the tool table using the TWORD as index
    	GetToolOffsetX(TWORD, &OffsetX);
    	// now we have those, ask the operator for the actual size
    	int Answer = InputBox("Enter measured diameter in MM",&XEntered);
    	printf("Entered Value-%f\n",XEntered);
    	XMeasured = XEntered;
    	if(Answer) {	// if true/1, then user cancelled
    		MsgBox("X Offset adjustment cancelled",MB_OK|MB_ICONEXCLAMATION);
    		ThreadDone;		// and kill the thread
    	} else { // else we got a value and need to do some calcs
    		// first up we'll calculate the difference
    		XDiff = DROx - XMeasured;
    		// then the new offset with some rounding
    		XNewOffset = RoundToReasonable(OffsetX + XDiff,Units);
    		// and finally update the tool table
    		SetToolOffsetX(TWORD, XNewOffset);
    	}
    }
    And I've just noticed that calls my cyclone header file. You can delete that line, and just add a define for TMP if you don't already have one.
    This was one of the included example files that I modified.



  7. #87
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi m_c,
    Dont blame ya on the cold, its getting like that here.

    Just did a quick eyeball check and it looks like C program worked great. Will do an actual test cut and reset tools to see if calculation is correct.

    Thanks again,
    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  8. #88
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Here is another part for press.... fresh off the press
    Troy SBL Magnaturn Retrofit-20181211_210535-jpeg

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  9. #89
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Here is completed press break attachment. Did some test bends at they came out good. Will be making my servo covers with it in a few days and post some more pics then.
    TroyAttachment 408068SBL Magnaturn Retrofit-20181218_195808-jpeg

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  10. #90
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi Troy,

    So what moves the press to do the bend?

    Regards
    TK http://dynomotion.com


  11. #91
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi Tom,
    This attachment will go in a H- frame hydraulic press. Will post a pic of it when I make my gaurds.
    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  12. #92
    Member
    Join Date
    May 2012
    Location
    canada
    Posts
    537
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Nice work, is it just mild steel or something harder? Is that a purchased piece in the bottom or did you machine that too?



  13. #93
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Top and bottom shoe are mild steel. Top punch is 4140 and the bottom die I thought was 4140 but was definatly not as it machined like D2. Got materials at a shop I used to work at. Machined everything here at home.

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  14. #94
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Here is press attachment on the press.
    SBL Magnaturn Retrofit-20181221_180423-jpegSBL Magnaturn Retrofit-20181221_180234-jpeg

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  15. #95
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Your work is so nice. What is the gear gizmo on the right? Does that somehow measure the press distance?

    Regards
    TK http://dynomotion.com


  16. #96
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Hi Tom,
    Thanks, thats what i believe about your coding work.But, what i lack in C code skills i think i make up in other areas. The gizmo is just a boat winch modified slightly with a cable that attaches to both sides of the press table to raise and lower it with a cordless drill. Its a bit to heavy to change height without assistance.
    Troy

    www.tsjobshop.com, www.homecncstuff.elementfx.com


  17. #97
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    Just realized had not shown my covers i made nor updated where machine is. Also been waiting almost 2 months for my z axis ballscrew Covers to be made.
    Here is some pics of paint prep.

    Attached Thumbnails Attached Thumbnails SBL Magnaturn Retrofit-paintprep1-jpg   SBL Magnaturn Retrofit-paintprep2-jpg   SBL Magnaturn Retrofit-paintprep3-jpg  
    www.tsjobshop.com, www.homecncstuff.elementfx.com


  18. #98
    Member Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default Re: SBL Magnaturn Retrofit

    more paint pics and views of servo motor covers...

    Attached Thumbnails Attached Thumbnails SBL Magnaturn Retrofit-paintprep4-jpg   SBL Magnaturn Retrofit-paintprep5-jpg   SBL Magnaturn Retrofit-primer-jpg   SBL Magnaturn Retrofit-paint-jpg  

    SBL Magnaturn Retrofit-ballscrewcoverbracketsandwrap-jpg  
    www.tsjobshop.com, www.homecncstuff.elementfx.com


  19. #99

    Default Re: SBL Magnaturn Retrofit

    I'm just wondering how this project is working out. I have a number of these machines and am considering their destiny.



Page 5 of 5 FirstFirst ... 2345

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

SBL Magnaturn Retrofit

SBL Magnaturn Retrofit