Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    GCode cancelling immediately

    Scheduled Pinned Locked Moved Solved
    CNC
    2
    4
    190
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wikipedia_Brownundefined
      wikipedia_Brown
      last edited by

      [0_1600705645386_JocelynSign1.nc](Uploading 100%) [0_1600705627775_config.g](Uploading 100%) Hello,

      I have finally got my machine to the point that I am ready to cut. I am using a 1515 workbee from Bulkman. With a Duet 3 and a VFD controlled spindle. When I go to carve my first set of Gcode, I get a message saying cancelled printing file immediately. I'm not sure what I have set up wrong. I have attached my config files as well as the gcode i'm trying to run. Any help would be greatly appreciated.[0_1600705618404_config.json](Uploading 100%)

      1 Reply Last reply Reply Quote 1
      • wikipedia_Brownundefined
        wikipedia_Brown
        last edited by

        Realized I cannot attach files. Heres beginning of my GCode :

        (JocelynSign1)
        G21
        G90

        (Engrave1)
        G0 X66.040 Y-17.860 Z15.000
        G0 X66.040 Y-17.860 Z15.000
        G0 X66.040 Y-17.860 Z4.000
        G1 X66.040 Y-17.860 Z-2.270 F1000
        G1 X66.037 Y-18.002 Z-2.270 F1000

        My Config File:

        ; Configuration file for Duet 3 (firmware version 3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 30 2020 01:47:07 GMT-0400 (Eastern Daylight Time)

        ; General preferences
        G90 ; send absolute coordinates...
        M83 ; ...but relative extruder moves
        M550 P"Duet 3" ; set printer name

        ; Drives
        M569 P0.3 S1 ; physical drive 0.3 goes backwards
        M569 P0.0 S1 ; physical drive 0.0 goes forwards
        M569 P0.4 S1 ; physical drive 0.4 goes forwards
        M584 X0.3 Y0.0:1 Z0.4 ; set drive mapping
        M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
        M92 X400.00 Y400.00 Z400.00 ; set steps per mm
        M566 X1200.00 Y1200.00 Z12.00 ; set maximum instantaneous speed changes (mm/min)
        M203 X4800.00 Y4800.00 Z180.00 ; set maximum speeds (mm/min)
        M201 X350.00 Y350.00 Z100.00 ; set accelerations (mm/s^2)
        M906 X2200 Y2200 Z2000 I30 ; set motor currents (mA) and motor idle factor in per cent
        M84 S30 ; Set idle timeout

        ; Axis Limits
        M208 X0 Y0 Z0 S1 ; set axis minima
        M208 X1300 Y1300 Z60 S0 ; set axis maxima

        ; Endstops
        M574 X2 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
        M574 Y2 S1 P"io1.in" ; configure active-high endstop for high end on Y via pin io1.in
        M574 Z1 S1 P"io2.in" ; configure active-high endstop for low end on Z via pin io2.in
        ; Z-Probe
        M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
        M557 X15:215 Y15:195 S20 ; define mesh grid

        ; Heaters

        ; Fans

        ; Tools
        M106 F-1 C"OUT9" ; Disable fan Out9
        M563 P0 S"Spindle" FOUT9 ; Define Tool 0 assign to OUT9 PWM (our Spindle)
        G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
        G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

        ; Custom settings are not defined
        ; CNC
        M453 C"OUT9" R24000 F1000 ; Set to CNC mode, using Tool 0, 24000 Max RPM, 1khz

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @wikipedia_Brown
          last edited by

          @wikipedia_Brown said in GCode cancelling immediately:

          (JocelynSign1)
          G21
          G90
          (Engrave1)
          G0 X66.040 Y-17.860 Z15.000
          G0 X66.040 Y-17.860 Z15.000
          G0 X66.040 Y-17.860 Z4.000
          G1 X66.040 Y-17.860 Z-2.270 F1000
          G1 X66.037 Y-18.002 Z-2.270 F1000

          do you not have ";" in front of the comments:

          ; (JocelynSign1)

          etc

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • wikipedia_Brownundefined
            wikipedia_Brown
            last edited by

            I got it sorted. I was missing the WCS, and G55 commands.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA