1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

A little G-Code Help [KISSlicer]

Discussion in 'Troubleshooting' started by chrisisme, Oct 19, 2014.

Thread Status:
Not open for further replies.
  1. chrisisme

    chrisisme New Member

    Joined:
    Sep 10, 2014
    Messages:
    11
    Likes Received:
    4
    Hey, so I'm trying out a new slicer and printing from an SD card. So far it looks really promising, and I think I configured everything right, but my G-Code doesn't run quite as I'd like.

    So far it goes through the entire beginning routine, heats the bed and the nozzle fully, then runs the 9-point leveling. After that it pauses again, heats the nozzle to 240, and... nothing. Once the nozzle reaches 240, it just starts climbing back down in temperature again and nothing ever happens. The bed seems to have no trouble staying at 80 degrees!!!

    I can post the whole code (it's like 2MB though). I am 90% sure my problem is in the section of the code immediately before I print the raft.

    Code:
    ;nothing but comments precedes this
    ; *** G-code Prefix ***
    ;
    M190 S80 ; set bed temp
    M104 S240 ; set extruder temp fast
    M116 ; wait for temps to be reached
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle
    G28 Z0 ; Home Z again in case there was filament on nozzle
    M565 Z0
    G29 ; probe the bed
    G1 Z5 F5000 ; lift nozzle
    
    ;
    ; *** Main G-code ***
    ;
    ; Reset extruder pos
    G92 E0
    ; BEGIN_LAYER_RAFT z=1.25
    ;
    ; *** Warming Extruder 1 to 240 C ***
    M109 S240; is this right
    M116;
    ;
    G92 E0
    ;
    ;
    ; 'Raft Path', 3.1 [feed mm/s], 20.0 [head mm/s]
    G1 X131.24 Y114.39 Z1.5 E0 F3600
    G1 X131.24 Y114.39 Z1.25 E0 F210
    G1 E1.25 F900
    G1 X103.23 Y142.4 E7.4251 F1200
    G1 X102.31 Y141.9 E7.588
    G1 X131.18 Y113.03 E13.9542
    ; continues on
    Maybe I should be using M104 at the Warming line? Am I missing a command or two?

    Thanks for your help.

    -Chris
     
  2. chrisisme

    chrisisme New Member

    Joined:
    Sep 10, 2014
    Messages:
    11
    Likes Received:
    4
    I figured it out! I'll post what I did in case someone Googles this problem a few months later.

    Once I had the terminal output to my computer when I tried to run the code, I saw that I was getting an overheating error. After scratching my head for a bit, I realized the fan wasn't on! Since I haven't used this slicer before, I hadn't written a fan on command into the code anywhere.

    This is the code I replaced the prefix code with. I just eliminated the code before the raft.

    Code:
    M106 ; fan on
    M104 S235 ; set extruder temp fast
    M140 S80 ; set bed temp
    M190 S80 ; wait for bed to get hot
    M116 ; wait for temps to be reached
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle
    G28 Z0 ; Home Z again in case there was filament on nozzle
    G29 ; probe the bed
    G1 Z10 F5000 ; lift nozzle
     
    4 people like this.
Thread Status:
Not open for further replies.

Share This Page