Need Help! Putting M3 command in G Code starts router but stops movement


Results 1 to 9 of 9

Thread: Putting M3 command in G Code starts router but stops movement

  1. #1
    Registered SystemX17's Avatar
    Join Date
    Feb 2019
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Putting M3 command in G Code starts router but stops movement

    I have a DIY CNC router table that was built a while ago by someone else. I am using LinuxCNC to control it and the gmoccapy interface. Basically a few days ago was my first introduction to this device and I am super excited. Worked out how to import my 3D model into Fusion 360 and generate the G Code. The machine moves around and follows the steps but doesn’t turn the router on unless I do it manually in the software. But it stops as soon as I hit play.

    If I put M3 on a line in the G Code the router switches it on and the program proceeds but the machine doesn’t move.
    If I take out the M3 the router doesn’t turn on and the program proceeds and the machine moves.

    I can just plug the router directly into a power point to force it on all the time but I know this isn’t how it is meant to work and am also concerned that it won’t allow it to switch off with the eStop.

    I figure the problem might have arisen from playing around with the conf wizard as I didn’t understand it all a few days ago when I first jumped in there. Always my problem with new gadgets (as I am sure many can relate lol).

    Does anyone know what would result in the problem I am facing and can anyone point me in the right direction? Any and all help is greatly appreciated.

    Similar Threads:


  2. #2
    Member
    Join Date
    May 2005
    Location
    canada
    Posts
    1403
    Downloads
    0
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    It sounds like the machine is waiting for a spindle-at-speed signal.
    If the motion command following M3 is G00 (rapid) does the machine still refuse to move? I think spindle-at-speed only inhibits feed moves.

    Anyone who says "It only goes together one way" has no imagination.


  3. #3
    Registered SystemX17's Avatar
    Join Date
    Feb 2019
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by cyclestart View Post
    It sounds like the machine is waiting for a spindle-at-speed signal.
    If the motion command following M3 is G00 (rapid) does the machine still refuse to move? I think spindle-at-speed only inhibits feed moves.
    Thanks for the reply. Will try this when I get home. Not sure if it goes on the same line as the M3 but I will try it on the same line and after it to test.



  4. #4
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    9283
    Downloads
    0
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    Quote Originally Posted by SystemX17 View Post
    Thanks for the reply. Will try this when I get home. Not sure if it goes on the same line as the M3 but I will try it on the same line and after it to test.
    M3 should be placed on it's on line with the spindle normally before any Axes moves

    S2650M3

    Mactec54


  5. #5
    Member
    Join Date
    May 2005
    Location
    canada
    Posts
    1403
    Downloads
    0
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    Roughly:
    M3 S1000
    G00 X3
    G00 Y4
    G00 X0 < program runs to here
    Feed Move < program stalls here or possibly line before here

    This is from memory as I don't have a machine with spindle feedback running presently.

    "spindle-at-speed" has specific meaning in hal.
    Does anything in this thread help?
    Link ---> https://forum.linuxcnc.org/49-basic-...and-m3?start=0
    If that's clear as mud I would suggest posting to linuxcnc.org forums.

    Anyone who says "It only goes together one way" has no imagination.


  6. #6
    Registered SystemX17's Avatar
    Join Date
    Feb 2019
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    So I have done some more testing and the program continues to run the g code but the machine doesn’t actually move.



  7. #7
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    2743
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SystemX17 View Post
    So I have done some more testing and the program continues to run the g code but the machine doesn’t actually move.
    You haven't put up enough gcode
    ... have you placed a feedrate on, at least, the 1st feed move ?
    A missing feedrate or a F0 will make the machine seem like is permanently paused... where a simulation may seem good



  8. #8
    Registered
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    3687
    Downloads
    4
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    Try:
    F100 S1000
    M3
    g0 or g1 moves

    Alternately, you might have a misconfigured I/O pin somewhere.

    Cheers
    Roger



  9. #9
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    9283
    Downloads
    0
    Uploads
    0

    Default Re: Putting M3 command in G Code starts router but stops movement

    Quote Originally Posted by SystemX17 View Post
    So I have done some more testing and the program continues to run the g code but the machine doesn’t actually move.
    First check the output to the Breakout Board, Ports and Pins may not be configured correct to match the Breakout Board

    Mactec54


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Putting M3 command in G Code starts router but stops movement

Putting M3 command in G Code starts router but stops movement