586,371 active members*
3,559 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Tormach Personal CNC Mill > New Machine, error running firstpart.nc
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2004
    Posts
    102

    New Machine, error running firstpart.nc

    Hey All,

    I just finished setting up the PCNC1100. And I am getting an error when i run the FIRSTPART.NC program.

    The error:

    After the tool change I get the following error:

    MACH3SCRIPTS (dialog box) Error on Line: 2 - unspecified error

    When i close the box, the program continues without starting the spindle and i get a debug box that opens and says:

    M3.m1s - DoSpincw()

    WHAT WORKS:

    - Manual spindle control works
    - starting spindle from MACH3 by clicking on the SPINDLE ICON will start the spindle through MACH3 and run it at what ever rate is entered into MACH3

    - all axis move properly
    - as far as I can tell everything else works

    Any ideas on why the spindle will not start? Here is a copy of the G-code, so you don't have to go a look for it. I included only the first few lines, as the coordinates for the tool path seem to run fine.

    =======START PASTE=========
    (FirstPart - Ver 8 Sept 08)
    N10 G20
    N15 G00 G17 G40 G49 G80 G90
    ( 0.25" End Mill )
    N25 T1 M06 G43 H1
    N30 G00 G90 G54 X0.9243 Y-2.2832 S1000 M03 <----- MACH3 ERROR on this line
    N40 G00 Z0.2 M08
    N45 F15.
    ( MILLING TEXT )
    ========END PASTE==========


    Any help is appreciated, thank you in advance.

    Brian

  2. #2
    Join Date
    Apr 2008
    Posts
    59
    I generally put the spindle start and speed on a line by themselves and with the start command before the speed. So I'd change the file to read like this:

    N29 M03 S1000
    N30 G00 G90 G54 X0.9243 Y-2.2832

  3. #3
    Join Date
    Jan 2004
    Posts
    102
    Thanks for the quick reply. I'll try it first thing on Tuesday. (closed for a holiday on Monday).

    Thanks again for the suggestion. I'll let you know how i make out.

  4. #4
    Join Date
    Aug 2006
    Posts
    111
    that works best for me. put the "m" commands on separate lines after m6 tool change.

  5. #5
    Join Date
    Jan 2004
    Posts
    102
    the only thing i find weird is that this is the sample code from Tormach, shouldn't it work?

    I'm a gcode rookie. The few programs i ran on our old machine, everything was generated by mastercam. I just copy and pasted the NC code from mastercam.

    Time to learn it right i guess.

  6. #6
    Join Date
    Jul 2005
    Posts
    1650
    what version of mastercam are you using?

  7. #7
    Join Date
    Jan 2004
    Posts
    102
    Well, mastercam wasn't used for this sample file. We always run the most current version.

    The fix was putting the s1000 M3 command on a seperate line, runs fine now.. THANKS EVERYONE!!!

Similar Threads

  1. Small machine running!
    By vger in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 12-02-2008, 02:12 PM
  2. Running Camsoft in a virtual machine
    By HuFlungDung in forum CamSoft Products
    Replies: 4
    Last Post: 08-21-2008, 05:28 PM
  3. How can I get my machine up and running?!
    By silverblown02 in forum Bridgeport / Hardinge Mills
    Replies: 7
    Last Post: 02-23-2008, 06:03 PM
  4. Running BobCad/Cam and Mach 3 on the same machine?
    By Corvus corax in forum BobCad-Cam
    Replies: 9
    Last Post: 01-12-2007, 04:19 AM
  5. error when running g code
    By craig in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 01-02-2007, 04:46 AM

Posting Permissions

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