Results 1 to 3 of 3

Thread: Lookahead script

  1. #1
    Registered
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    11
    Downloads
    0
    Uploads
    0

    Lookahead script

    Hi,
    I have a homemade machine that controlls by Mach-2. I program the machine with PowerMIL and have pretty good feedrate. I have always used a Postprocessor changing between G64 and G61 depending on block angle, but that is not the best solution.

    I have now written a visualBasic script that checks the angle, length of block and what ever i want.

    Is there anyone with idees what parameter a serious controler is checking, or better, anyone with a formula of the braking feed.

    My first test is just reducing feedrate by the angle, but i will add distance and also possibility for my VB to add blocks in the code.

    Any one with idees?

    Best regards

    Rikard


  2. #2
    Registered
    Join Date
    Mar 2003
    Location
    USA
    Posts
    332
    Downloads
    0
    Uploads
    0
    What if; round corners are g02 g03 you can look for those and if the radius is smaller than a given percentage of your tool diameter you can slow down to avoid stuffing the tool?


  3. #3
    Registered
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    11
    Downloads
    0
    Uploads
    0
    In my postprocessor i have polygons instead of arcīs. Because i found mach-2 slower on arcs than on polygons.. Todays testrun is slowed down by angle, and also reduced if distance of block is smaller than 10mm by percentage from 1-70% of Angled reduced feedrate..

    I must make more test to find correct parameters, but i can se i can run the code quicker and more accurate than before !!

    Also, this is quite fun to play with.. Is there an interest of an Lookahead to mach out there? Or is it only me having trouble with accuracy with mach2? Maybe my Xylotech force me to have a'soft' settings on motors at high feedrate because of only 2.5A and low voltage.. Maybe some geckos will make this unneccesary??

    Any input? Comments?

    //Rikard


Similar Threads

  1. Script errors
    By anoel in forum Forum Questions or Problems
    Replies: 6
    Last Post: 04-14-2013, 01:48 PM
  2. Lookahead Script
    By Rikard L in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 0
    Last Post: 09-10-2007, 03:06 PM
  3. Engraving Script
    By id 10 t in forum Rhino 3D
    Replies: 0
    Last Post: 07-07-2006, 12:17 AM
  4. Macro/script-can this be done?
    By Splint in forum Rhino 3D
    Replies: 3
    Last Post: 02-12-2006, 10:50 PM
  5. Backup Script..
    By Rekd in forum Mastercam
    Replies: 3
    Last Post: 09-11-2003, 10:34 AM

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.