Arduino + tb6560 + cd rom cnc machine help

Results 1 to 6 of 6

Thread: Arduino + tb6560 + cd rom cnc machine help

  1. #1
    Registered
    Join Date
    Nov 2013
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Arduino + tb6560 + cd rom cnc machine help

    I purchased an arduino and a 3 axis stepper motor(tb6560) after finding 3 stepper motors from cd roms. I hook them up the way the grbl wiki page says, and downloaded the universal gcode sender. I ran the gcode sender, and can move the stepper motors using the directional buttons. It works best with the step size set to .02. Whenever i upload gcode though the stepper motors will only move one click before stopping, even if it goes way past that. Any ideas? Is it the example gcode i used, or the controller/ stepper motors.

    Similar Threads:


  2. #2
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    This is just a guess - what is your setting for $8 (acceleration)?

    If that value is too high you may lose steps.

    Can you reduce it by half and try it again?



  3. #3
    Registered
    Join Date
    Nov 2013
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by doorknob View Post
    This is just a guess - what is your setting for $8 (acceleration)?

    If that value is too high you may lose steps.

    Can you reduce it by half and try it again?
    I am very new to this so I have no idea. Is this a setting in the software, gcode, or controller?



  4. #4
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    That is a setting within GRBL.

    If you hook up a terminal program to communicate with your Arduino (instead of the gcode sender) you can display or modify the GRBL settings.

    I forget which terminal program I have used to do that, but there are a number of them that are available - I believe that you can even use the Arduino IDE as a terminal program. Your gcode sender must be shut down so that it is not hogging the serial port used by the Arduino (over USB).

    Do a search for GRBL commands for more info - with the latest GRBL version (at least), if you enter $$ into the terminal, it will list the current configuration, including the $8 value that I mentioned above. You can change the value by entering something like $8 = xxx (where xxx is the new setting).

    See https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8 for more info.



  5. #5
    Registered
    Join Date
    Nov 2013
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    What should it be set to?



  6. #6
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    I'm not really sure - there may be an interaction with the other configured settings.

    So I might try setting it to half of its current value to see if that makes any difference in the behavior of the motors.

    BTW, I'm not sure how the 'step size' setting of the gcode sender translates into actual machine commands - so instead you could try inputting some simple Gcode manually and see how it responds - maybe make a relative move of one step, then several steps, etc.

    Something like G91 G0 X1 for example.



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

Arduino + tb6560 + cd rom cnc machine help

Arduino + tb6560 + cd rom cnc machine help