Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M3 doesn't recall spindle speed upon resume.g

    CNC
    2
    2
    29
    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.
    • EducatingSavvas
      EducatingSavvas last edited by

      Hi - I'm using RRF3.01-RC5 and I can't get the M3 command to recall the spindle speed (PWM) when resuming after a pause . This is how my files are set up.

      CNC mode in Config.g file:
      M453 C"e1heat" Q300 R24000 T1 ; Set to CNC mode, using Tool 1, 24000 Max RPM

      Pause.g
      G91 ; Relative positioning
      G1 Z5 F500 ; Slowly move z axis to safe location clearing material
      G90 ; Absolute positioning
      M5 ; Turn off Spindle PWM
      M42 P0 S0 ; Turn off spindle enable
      M117 Turning off and Raising spindle ;
      G4 p1000 ; Dwell while spindle slows to stop
      G53 G1 F1000 Z-1 ; move z axis to safe z

      Resume.g
      M3 R1 ; Turn on PWM
      M42 P0 S1 ; Turn on spindle enable
      G4 P4000 ; Dwell
      M291 P"STAND CLEAR! Job Resuming." R"Warning" S2

      When I pause the console reads.
      M220 S120
      Printing paused at X61.0 Y104.4 Z-95.0 U-1.0

      Any advice on checking what information is saved and how to recall? Is is possible this functionality is available in Laser Mode but not CNC mode?

      droftarts 1 Reply Last reply Reply Quote 0
      • droftarts
        droftarts administrators @EducatingSavvas last edited by

        @EducatingSavvas Resolved in this thread? https://forum.duet3d.com/topic/12864/pause-g-and-resume-g-with-vfd-router-spindle/18

        Ian

        Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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