Jump to content

Need help annotating g code


skeats

Recommended Posts

Posted · Need help annotating g code

Hi guys

I'm new around here so I'm not sure if this has been posted before but for an assessment we are doing in school we have to annotate the first ten lines of g code for our printed products. I've looked around but there doesn't seem to be anything on the topic.

here are the the lines of code:

;Layer count: 3039

;LAYER:0

M107

G0 F9000 X98.997 Y100.966 Z0.300

;TYPE:SKIRT

G1 F1200 X106.740 Y95.343 E1.14832

G1 X108.771 Y93.763 E1.45710

G1 X118.371 Y93.764 E2.60910

G1 X120.940 Y93.657 E2.91765

G1 X128.777 Y99.351 E4.08011

thanks for your time

  • Link to post
    Share on other sites

    Posted (edited) · Need help annotating g code

    I think this is what you want:

    http://reprap.org/wiki/G-code

    And to get you started:

    ;Layer count: 3039  //I think this is self explanatory

    ;LAYER:0 //I think this is self explanatory

    M107 //Print cooling fan off

    G0 F9000 X98.997 Y100.966 Z0.300 //Set Feedrate to 9000 (F) and do a rapid linear move (G0) to the specified XYZ coordinates

    ;TYPE:SKIRT //Start printing skirt

    G1 F1200 X106.740 Y95.343 E1.14832 //Feedrate to 1200 and Linear move (G1) to the specified XY coordinate, while extruding 1.14832 mm. filament

    etc.

    Btw. are you sure those are the first lines of code?

    I would expect something like this to come before it (Kind of a bad example as this is a 1 layer print with almost no time or filament used... but it was something I had lying on my desktop and I guess you get the idea):

    M190 S60.000000 ;Set bed target temp. to 60 degrees and wait

    M109 S220.000000 ;Set hotend target temp to 220 degrees and wait

    ;Sliced at: Tue 18-08-2015 21:19:56

    ;Basic settings: Layer height: 0.2 Walls: 0.8 Fill: 0

    ;Print time: 0 minutes

    ;Filament used: 0.02m 0.0g

    ;Filament cost: None

    ;M190 S60 ;Uncomment to add your own bed temperature line

    ;M109 S220 ;Uncomment to add your own temperature line

    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 F12000 ;move the platform down 15mm

    G92 E0                  ;zero the extruded length

    G1 F200 E3              ;extrude 3mm of feed stock

    G92 E0                  ;zero the extruded length again

    G1 F12000

    ;Put printing message on LCD screen

    M117 Printing...

    Edited by Guest
    • Like 1
    Link to post
    Share on other sites

    Posted (edited) · Need help annotating g code

    That's perfect thanks heaps guys.

    the other lines of code before that was:

    ;FLAVOR:UltiGCode

    ;TIME:41733

    ;MATERIAL:21332

    ;MATERIAL2:0

    ;Layer count: 3039

    ;LAYER:0

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Need help annotating g code

    Those are just comments. They do nothing other than inform humans about things.

    @tommyph1208 - don't you realize you just got some kid to get to skip over doing his homework? Don't make it *too* easy or they won't know how to do the same thing next time.

  • Link to post
    Share on other sites

    Posted · Need help annotating g code

    Those are just comments.  They do nothing other than inform humans about things.

    @tommyph1208 - don't you realize you just got some kid to get to skip over doing his homework?  Don't make it *too* easy or they won't know how to do the same thing next time.

     

    Haha, you are right about that but hey... Its his loss, not mine.

    I never believed in forcing people to learn stuff they don't actually have a genuine interest in... That especially goes for something like this.

    That fact that he found his way to this forum, gives me hope though ;)

  • Link to post
    Share on other sites

    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

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...