586,068 active members*
3,823 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    409

    Mach3 Compatible Axis Warmup Program

    Hello,

    I have a CNC machine I built, and I would like to run this warmup program. Someone else made this program for my machine but it was made to run in EMC2 and not Mach. It wont work in Mach3.

    Basically its a loop that runs the axis's to their limits and then increases the feedrate by 10 and runs again.

    can someone more experienced in Gcode and Mach help me out so I can get this working in Mach?

    Here is the code:

    (Axis Warmup)
    G20 G91

    #<_FEEDRATE> = 10

    O100 WHILE [#<_FEEDRATE> LE 100]

    O110 REPEAT [10]
    G1 F[#<_FEEDRATE>] X48.7 Y24.7 Z-8
    G1 F[#<_FEEDRATE>] Y-24.7 Z8
    G1 F[#<_FEEDRATE>] X-48.7 Y24.7 Z-8
    G1 F[#<_FEEDRATE>] X48.7 Y-24.7 Z8
    G1 F[#<_FEEDRATE>] Y24.7 Z-8
    G1 F[#<_FEEDRATE>] X-48.7 Y-24.7 Z8
    O110 ENDREPEAT

    #<_FEEDRATE> = [#<_FEEDRATE> + 10]

    O100 ENDWHILE

    M30



    Thanks

  2. #2
    Join Date
    Apr 2008
    Posts
    62
    This should work.

    N1(Axis Warmup)
    N3 (rev 00.00.00)
    N5 G17
    N7 G20
    N9 G40
    N11 G49
    N13 G80
    N15 G91
    N17 G54
    N19 G01 X48.7 Y24.7 Z-8. F10.
    N21 G01 Y-24.7 Z8.
    N23 G01 X-48.7 Y24.7 Z-8.
    N25 G01 X48.7 Y-24.7 Z8.
    N27 G01 Y24.7 Z-8.
    N29 G01 X-48.7 Y-24.7 Z8.
    N31 G01 X48.7 Y24.7 Z-8. F20.
    N33 G01 Y-24.7 Z8.
    N35 G01 X-48.7 Y24.7 Z-8.
    N37 G01 X48.7 Y-24.7 Z8.
    N39 G01 Y24.7 Z-8.
    N41 G01 X-48.7 Y-24.7 Z8.
    N43 G01 X48.7 Y24.7 Z-8. F30.
    N45 G01 Y-24.7 Z8.
    N47 G01 X-48.7 Y24.7 Z-8.
    N49 G01 X48.7 Y-24.7 Z8.
    N51 G01 Y24.7 Z-8.
    N53 G01 X-48.7 Y-24.7 Z8.
    N55 G01 X48.7 Y24.7 Z-8. F40.
    N57 G01 Y-24.7 Z8.
    N59 G01 X-48.7 Y24.7 Z-8.
    N61 G01 X48.7 Y-24.7 Z8.
    N63 G01 Y24.7 Z-8.
    N65 G01 X-48.7 Y-24.7 Z8.
    N67 G01 X48.7 Y24.7 Z-8. F50.
    N69 G01 Y-24.7 Z8.
    N71 G01 X-48.7 Y24.7 Z-8.
    N73 G01 X48.7 Y-24.7 Z8.
    N75 G01 Y24.7 Z-8.
    N77 G01 X-48.7 Y-24.7 Z8.
    N79 M09
    N81 M05
    N83 G00 Z8.
    N85 G00 X0. Y0.
    N87 M30


    Timothy

Similar Threads

  1. SPINDLE WARMUP
    By CNC_BOB in forum OKK
    Replies: 4
    Last Post: 05-01-2009, 09:32 PM
  2. My VF-5 freaked on warmup this morning(3-2-09)
    By revlimit in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 9
    Last Post: 03-07-2009, 04:37 AM
  3. Replies: 0
    Last Post: 07-16-2007, 11:44 AM
  4. Mach3/EMC2.0 compatible tool setter required
    By ints99 in forum Calibration / Measurement
    Replies: 0
    Last Post: 04-08-2007, 07:47 PM
  5. VF 6 Trying to get to warmup settings
    By SpringKing in forum Haas Mills
    Replies: 7
    Last Post: 09-28-2006, 03:39 PM

Posting Permissions

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