. .
  1. #1
    Here's a quick spreadsheet which generates random G-code rapid moves (so just G0) within a specified area. It's useful for testing your motor tuning since it will cause the machine to tend to move in all directions with rapid changes in direction. I find it works well if you try a few different areas, so try it with the area set to be the whole bed, another with it a small area (25mm squared for instance) and another to test mainly Z. That way you can be reasonably confident that the machine wont stall in any position on the bed, or when cutting small parts with high acceleration. I have attached a few pieces of example code.

    To use it just enter the co-ordinates in the blue cells, copy column A and save it in notepad. Then open the file on your machine.
    Attachment 8366
    (Currently can't attach .xls files here, so I changed the file extension to .txt - put it back to .xls and it will open in MS Excel or Open Office)

    Examples:
    randomX25Y25Z0.txt
    randomX200Y200Z-50.txt

    Random screenshot:
    Click image for larger version. 

Name:	random gcode.PNG 
Views:	1031 
Size:	161.0 KB 
ID:	8369
    Attached Files Attached Files
    Last edited by Jonathan; 07-03-2013 at 10:16 PM.
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  2. The Following 5 Users Say Thank You to Jonathan For This Useful Post:


  3. #2
    Thanks for this Jonathan, about to use it on a new machine.
    .Me

  4. #3
    Just finished my machine, so will try it on that.

    Many thanks Paul

    Sent from my SM-G900F using Tapatalk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help withController dip switch settings and Mach3 motor tuning
    By liamo1991 in forum Motor Drivers & Controllers
    Replies: 2
    Last Post: 15-11-2013, 02:22 AM
  2. Cambium Code Web Tools – Parametric G-code Generation
    By CambiumMachines in forum Manufacturer News
    Replies: 0
    Last Post: 09-01-2013, 04:56 AM
  3. Help please with motor tuning mach 3.
    By Kevin1970 in forum Artsoft Mach (3 & 4)
    Replies: 6
    Last Post: 13-06-2012, 10:22 PM
  4. Random Z-Axis plunge
    By gomako in forum Machine Discussion
    Replies: 11
    Last Post: 15-05-2012, 07:38 AM

Bookmarks

Posting Permissions

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