Problems running GCode from SD Card

New Home Forum Mostly Printed CNC – MPCNC Troubleshooting – MPCNC Problems running GCode from SD Card

This topic contains 5 replies, has 3 voices, and was last updated by Profile photo of David Roach David Roach 10 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8895
    Profile photo of David Roach
    David Roach
    Participant

    Smart controller is hooked up and working. I can control all axis from the controller. It recognizes my SD card and shows me the files on it. But when i try to run a gcode file it doesn’t do anything. What am I missing?

    #8901
    Profile photo of karltinsly
    karltinsly
    Participant

    How did you generate the gcode file? Are you sure the gcode file is good and has actual movements in it? Try a simulator like rep host or an online one like https://nraynaud.github.io/webgcode/. Is there any error displayed on the LCD? Can you paste in all or part of the gcode? Are you running marlin/ramps or another controller?

    #8920
    Profile photo of David Roach
    David Roach
    Participant

    I’m running marlin/ramps. I have a min heat error. But no 3d printer head installed yet.

    Just some gcode i snagged off the forums here.

    G01 X0 Y0
    G01 X0 Y10
    G01 X10 Y10
    G01 X10 Y0
    G01 X0 Y0

    G01 X0 Y0 Z1
    G01 X30 Y30 Z1
    G01 X30 Y30 Z0

    G01 X30 Y30
    G01 X30 Y40
    G01 X40 Y40
    G01 X40 Y30
    G01 X30 Y30

    G01 X30 Y30 Z1
    G01 X0 Y0 Z1
    G01 X0 Y0 Z0

    G01 X0 Y0
    G01 X0 Y10
    G01 X10 Y10
    G01 X10 Y0
    G01 X0 Y0

    G01 X0 Y0 Z1
    G01 X30 Y30 Z1
    G01 X30 Y30 Z0

    G01 X30 Y30
    G01 X30 Y40
    G01 X40 Y40
    G01 X40 Y30
    G01 X30 Y30

    G01 X30 Y30 Z1
    G01 X0 Y0 Z1
    G01 X0 Y0 Z0

    G01 X0 Y0
    G01 X0 Y10
    G01 X10 Y10
    G01 X10 Y0
    G01 X0 Y0

    G01 X0 Y0 Z1
    G01 X30 Y30 Z1
    G01 X30 Y30 Z0

    G01 X30 Y30
    G01 X30 Y40
    G01 X40 Y40
    G01 X40 Y30
    G01 X30 Y30

    G01 X30 Y30 Z1
    G01 X0 Y0 Z1
    G01 X0 Y0 Z0

    G01 X0 Y0
    G01 X0 Y10
    G01 X10 Y10
    G01 X10 Y0
    G01 X0 Y0

    G01 X0 Y0 Z1
    G01 X30 Y30 Z1
    G01 X30 Y30 Z0

    G01 X30 Y30
    G01 X30 Y40
    G01 X40 Y40
    G01 X40 Y30
    G01 X30 Y30

    G01 X30 Y30 Z1
    G01 X0 Y0 Z1
    G01 X0 Y0 Z0

    G01 X0 Y0
    G01 X0 Y10
    G01 X10 Y10
    G01 X10 Y0
    G01 X0 Y0

    G01 X0 Y0 Z1
    G01 X30 Y30 Z1
    G01 X30 Y30 Z0

    G01 X30 Y30
    G01 X30 Y40
    G01 X40 Y40
    G01 X40 Y30
    G01 X30 Y30

    G01 X30 Y30 Z1
    G01 X0 Y0 Z1
    G01 X0 Y0 Z0

    G01 X0 Y0 Z0
    G01 X10 Y10 Z0
    G01 X0 Y10 Z0
    G01 X10 Y0 Z0
    G01 X10 Y10 Z0
    G01 X5 Y15 Z0
    G01 X0 Y10 Z0
    G01 X0 Y0 Z0
    G01 X10 Y0 Z0

    G01 X10 Y0 Z1
    G01 X20 Y0 Z1
    G01 X20 Y0 Z0

    G01 X20 Y0 Z0
    G01 X30 Y10 Z0
    G01 X20 Y10 Z0
    G01 X30 Y0 Z0
    G01 X30 Y10 Z0
    G01 X25 Y15 Z0
    G01 X20 Y10 Z0
    G01 X20 Y0 Z0
    G01 X30 Y0 Z0

    G01 X30 Y0 Z1
    G01 X40 Y0 Z1
    G01 X40 Y0 Z0

    G01 X40 Y0 Z0
    G01 X50 Y10 Z0
    G01 X40 Y10 Z0
    G01 X50 Y0 Z0
    G01 X50 Y10 Z0
    G01 X45 Y15 Z0
    G01 X40 Y10 Z0
    G01 X40 Y0 Z0
    G01 X50 Y0 Z0

    G01 X50 Y0 Z1
    G01 X60 Y0 Z1
    G01 X60 Y0 Z0

    G01 X60 Y0 Z0
    G01 X70 Y10 Z0
    G01 X60 Y10 Z0
    G01 X70 Y0 Z0
    G01 X70 Y10 Z0
    G01 X65 Y15 Z0
    G01 X60 Y10 Z0
    G01 X60 Y0 Z0
    G01 X70 Y0 Z0

    G01 X70 Y0 Z1
    G01 X80 Y0 Z1
    G01 X80 Y0 Z0

    G01 X80 Y0 Z0
    G01 X90 Y10 Z0
    G01 X80 Y10 Z0
    G01 X90 Y0 Z0
    G01 X90 Y10 Z0
    G01 X85 Y15 Z0
    G01 X80 Y10 Z0
    G01 X80 Y0 Z0
    G01 X90 Y0 Z0

    G01 X90 Y0 Z1
    G01 X100 Y0 Z1
    G01 X100 Y0 Z0

    G01 X100 Y0 Z0
    G01 X110 Y10 Z0
    G01 X100 Y10 Z0
    G01 X110 Y0 Z0
    G01 X110 Y10 Z0
    G01 X105 Y15 Z0
    G01 X100 Y10 Z0
    G01 X100 Y0 Z0
    G01 X110 Y0 Z0

    G01 X110 Y0 Z1
    G01 X120 Y0 Z1
    G01 X120 Y0 Z0

    G01 X120 Y0 Z0
    G01 X130 Y10 Z0
    G01 X120 Y10 Z0
    G01 X130 Y0 Z0
    G01 X130 Y10 Z0
    G01 X125 Y15 Z0
    G01 X120 Y10 Z0
    G01 X120 Y0 Z0
    G01 X130 Y0 Z0

    G01 X130 Y0 Z1
    G01 X140 Y0 Z1
    G01 X140 Y0 Z0

    #9001
    Profile photo of David Roach
    David Roach
    Participant

    Got a little frustrated and put it away for a few days. I’m at work right now but, I will get a copy of the gcode when I get home. I coppied the code from a test that someone posted on here. The one where it drew two square boxes and alternated between them. I did try sticking the code in a web simulator and it didn’t show anything either. Could’ve been my lack of knowledge on how to run the page. I’ll try your example tonight.I have a Min Heat Error. But I don’t have a 3D printer head installed yet. Was just looking to make it move first.

    I appreciate your help.

    #9002
    Profile photo of vicious1
    vicious1
    Admin

    You need the resistor on pin T0 to get rid of the min temp error, then you can visualize the gcode, kinda, in repetier by checking the show movements box.

    #9038
    Profile photo of David Roach
    David Roach
    Participant

    I knew I forgot something! Thanks, vicious!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.