Jump to content

g-code problem on Anet a8


gui-rider

Recommended Posts

Posted · g-code problem on Anet a8

Hi guys,

 

I'm using cura 3.2.1 on my anet a8 and I'm having problems with my gcode. Because of the udapte (I think it's because of that), there is 2 gcode section, one for the machine (start/end gcode) and one for the extruder (extruder start/end gcode), the problem is that when I try to find a g-code for my printer on the internet I only find one (start/end) g-code, it's not separated in two section and I don't know what to put in each section

 

Here is my start gcode :

 

G21 ;metric values

G90 ;absolute positioning

M82 ;set extruder to absolute mode

M107 ;start with the fan off

G28 X0 Y0 ;move X/Y to min endstops

G28 Z0 ;move Z to min endstops

G1 Z15.0 F3600 ;move the platform down 15mm

G92 E0 ;zero the extruded length again

G1 F3600

M117 Printing...

 

end :

 

M104 S0 ;extruder heater off

M140 S0 ;heated bed heater off (if you have it)

G91 ;relative positioning

G1 E-1 F300 ;retract the filament a bit before lifting

the nozzle, to release some of the pressure

G1 Z+0.5 E-5 X-20 Y-20 ;move Z up a bit and retract

filament even more

G28 X0 Y0 ;move X/Y to min endstops, so the head

is out of the way

G1 X0 Y+180 F3600 ;move buildplate forward

M84 ;steppers off

G90 ;absolute positioning

 

 

What should I put in both section ?

 

At this point, what my printer does is home, start the skirt, randomly goes at the Y axes end, keep doing the skirt and randomly goes at the X axes end..

 

Can someone please help me ?

 

 

  • Link to post
    Share on other sites

    • 1 month later...
    • 3 months later...

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...