586,923 active members*
2,868 visitors online*
Register for free
Login

Thread: Zach's G0704

Results 1 to 20 of 155

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    1754
    It sounds like you think you need to do programming to use linuxcnc. It is very unlikely that you will have to. (but the option is there...)

    Between hal, INI and classic ladder - you should be able to do about anything without a lick of code.

    Quote Originally Posted by zamazz View Post
    The alternative is KFlop which isn't going to be programming free either.

  2. #2
    Join Date
    Feb 2013
    Posts
    164
    Quote Originally Posted by samco View Post
    It sounds like you think you need to do programming to use linuxcnc. It is very unlikely that you will have to. (but the option is there...)

    Between hal, INI and classic ladder - you should be able to do about anything without a lick of code.
    I was/am under that impression. I've never used LinuxCNC before, only Mach, but LinuxCNC seems to have far more features. I figured some programming would be required for some of the more exotic features I plan on adding, like the ATC and glass scales. But the less I have to code the better... One of the things I like about LinuxCNC is the ladder. I've programmed a few PLC's before, and the ladders are pretty easy.

    Finished up the initial Solidworks model. Everything is relatively accurate, +/- .010 on unimportant dimensions, +/- .003 on anything critical. My dovetail angles may be a little off, but I really don't think its going to mess anything up. I skimped on the head, for the time being. Once I get ready to upgrade the motor I'll put all the proper holes in it, for now its just there for aesthetics. Looks like I forgot the mounting slots on the base, I'll throw those in really quick. If anyone wants a copy of the drawing, PM me.


  3. #3
    Join Date
    Jul 2003
    Posts
    1754
    The tool chain/changer/barcode logic was all done in hal/ladder.

    [ame=http://www.youtube.com/watch?v=KplU8hkI0AQ&feature=share&list=UUHk52YjGT8 HryRYmJKSl-lg]Kearney and Trecker full tool change with spindle orient - YouTube[/ame]

    The spindle control (gear shift, spindle lock, collet) was done in 'Comp' which is a C like language that allows you to write realtime hal componants. I could have done it in ladder but I am not strong in it - I could wrap my head around it programically.

    sam

  4. #4
    Join Date
    Nov 2015
    Posts
    24

    Re: Zach's G0704

    Quote Originally Posted by zamazz View Post
    I was/am under that impression. I've never used LinuxCNC before, only Mach, but LinuxCNC seems to have far more features. I figured some programming would be required for some of the more exotic features I plan on adding, like the ATC and glass scales. But the less I have to code the better... One of the things I like about LinuxCNC is the ladder. I've programmed a few PLC's before, and the ladders are pretty easy.

    Finished up the initial Solidworks model. Everything is relatively accurate, +/- .010 on unimportant dimensions, +/- .003 on anything critical. My dovetail angles may be a little off, but I really don't think its going to mess anything up. I skimped on the head, for the time being. Once I get ready to upgrade the motor I'll put all the proper holes in it, for now its just there for aesthetics. Looks like I forgot the mounting slots on the base, I'll throw those in really quick. If anyone wants a copy of the drawing, PM me.
    Two questions:
    Why are you installing encoders? I didn't think you needed them if you CNC'd the mill.
    Also, why the solidworks rendering of the mill?

  5. #5
    Join Date
    Feb 2013
    Posts
    164

    Re: Zach's G0704

    Quote Originally Posted by jbar View Post
    Two questions:
    Why are you installing encoders? I didn't think you needed them if you CNC'd the mill.
    Also, why the solidworks rendering of the mill?
    I'm running my servos closed loop in Linuxcnc. Basically, Linux measures the axis position, calculates the positioning error, and adjusts the speeds of the motors in real time to ensure the machine is exactly where it needs to be. Any modern vmc will have closed loop servos. Typically, encoders are mounted on the servo motors are used. For the dmm servos, however, there was no encoder out signal. Therefore I had to add either rotary or linear encoders. I chose linear, since they would also compensate for ballscrew error. This is working well for x and y, but not so well for the z. I'll get to that in a later post.

    If you run stepper motors or servos in step direction mode you won't need to add encoders, but you also won't know where the machine actually is or if something goes wrong.

    Why Solidworks? Because I'm designing a mechanical device in the 21st century. I model even my simplest projects, even woodworking and welding. It allows the designer to check clearance and fit, get accurate material requirements, estimate weight, and, of course, make pretty pictures.

    -Zach

    Sent from my SM-G920V using Tapatalk

  6. #6
    Join Date
    Sep 2008
    Posts
    229

    Re: Zach's G0704

    Quote Originally Posted by zamazz View Post
    Why Solidworks? Because I'm designing a mechanical device in the 21st century. I model even my simplest projects, even woodworking and welding. It allows the designer to check clearance and fit, get accurate material requirements, estimate weight, and, of course, make pretty pictures
    Also, it's a weird kind of fun.

    One lesson I learned the hard way, though. Model the nuts and bolt heads too :-)

    My current project :-)

    Click image for larger version. 

Name:	Holbrook%u0025252520Minor.jpg 
Views:	2 
Size:	20.3 KB 
ID:	299970

Similar Threads

  1. DRO for G0704
    By UMR in forum Benchtop Machines
    Replies: 4
    Last Post: 07-06-2016, 04:04 AM
  2. No Joy with my New G0704
    By DogWood in forum Benchtop Machines
    Replies: 5
    Last Post: 07-05-2016, 05:49 PM
  3. Zach's Homebrew CNC Mill
    By Zach_G in forum Vertical Mill, Lathe Project Log
    Replies: 76
    Last Post: 06-27-2015, 04:28 AM
  4. G0704... Yes Another One ;)
    By ww_kayak in forum Benchtop Machines
    Replies: 24
    Last Post: 05-27-2013, 03:47 PM
  5. G0704 or a X-3
    By USN in forum Benchtop Machines
    Replies: 8
    Last Post: 05-30-2011, 08:24 AM

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
  •