586,560 active members*
3,948 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Mach 4 > Need a way to move my gantry back and forth over and over for tuning
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2011
    Posts
    104

    Question Need a way to move my gantry back and forth over and over for tuning

    I'm having a Teknic engineer logging in and helping tune my dual axis gantry tomorrow. In the email getting ready for this they requested this:

    "The most important thing to prepare in advance of the appointment is to set up a small macro, or program that automatically moves the gantry back-and-forth over and over. Around 10 inches of motion should be fine. The pattern should be something like:

    1. Move 10” in one direction
    2. Pause for around a second
    3. Move 10” back
    4. Pause for around a second
    5. Repeat hundreds of times"

    How can I go about this? I know I could create a simple cut gcode and move it back and forth but I don't know how I would create the pause for a second.

    Any suggestions?

  2. #2
    Join Date
    Jul 2018
    Posts
    6410

    Re: Need a way to move my gantry back and forth over and over for tuning

    Hi Db - Insert a G4 into the code. Peter

    https://en.wikipedia.org/wiki/G-code

  3. #3
    Join Date
    May 2011
    Posts
    104

    Re: Need a way to move my gantry back and forth over and over for tuning

    Thanks peteeng

    Now I'm realizing what a pain it is to create a cut file using a drawing to do this.

    Is there a simple way to tell it to repeat the sequence over and over until stopped?

  4. #4
    Join Date
    May 2011
    Posts
    104

    Re: Need a way to move my gantry back and forth over and over for tuning

    I did a little more googling. Took my simple mind a bit to get it but now I have it and it works!

    N100G00G20G17G90G40G49G80
    N110G70G91.1
    N130 (#RC-2250 MINI- SPOILBOARD 1-1/2" DIA 1/2"SHANK )
    N140G00G43Z1.0000H1
    N160(Toolpath:- Y Axis Cut)
    N180G94
    N190X0.0000Y0.0000F290.0
    N200G00X0.0000Y0.0000Z1.0000
    N210G00Z0.1969
    N220G1Z0.0000F145.0
    N230G1X25.0000F290.0

    M98 P01 L98
    M30
    O01
    G1Y35.0000
    G04X1.0
    G1Y45.0000
    G04X1.0
    M99
    %

  5. #5
    Join Date
    Jul 2018
    Posts
    6410

    Re: Need a way to move my gantry back and forth over and over for tuning

    Good on you - Chris

Similar Threads

  1. Replies: 1
    Last Post: 11-08-2022, 10:45 PM
  2. Replies: 0
    Last Post: 02-11-2013, 05:21 AM
  3. Looking to move back to Michigan
    By andywire in forum Mentors & Apprentice Locator
    Replies: 2
    Last Post: 04-06-2012, 10:12 AM
  4. motors move in tuning but not when done
    By dheintz4 in forum DIY CNC Router Table Machines
    Replies: 9
    Last Post: 12-27-2009, 09:39 PM
  5. Move a couple threads back here
    By davo727 in forum Charter Oak Automation Support Forum
    Replies: 5
    Last Post: 05-09-2007, 03:26 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
  •