Manual Gcode for 3d Printer Create Square
by costy35 in Workshop > 3D Printing
5654 Views, 3 Favorites, 0 Comments
Manual Gcode for 3d Printer Create Square
In this tutorial we will learn how use machine with manual gcode.
This mode is util when need to create sample figures and not have advanced knowledge about 3d printer programs or when really you want create simple figures only with few gcode lines program.
Downloads
My Prusa I3
I have a popular 3d printer Prusa I3...
All 3d printer is same ... different is type of program that printer use.
All 3d printer know gcode ...except few typics commands.
Prepare Gcodesender
I use gcodesender from chrome to comunicate with my 3d printer.
You can find gcodesender extension for chrome here:https://chrome.google.com/webstore/detail/gcode-sender/ngncibnakmabjlfpadjagnbdjbhoelom
You need to set baud rate to 250 000 ( for my machine this is baudrate that working ... for your machine can differ)
When connect with your 3d stamp machine need to see in your gcodesender windows strings same in photo.
Now you are ready to send your machine a sample movement for test.
Send G28 Command (all Axis to Home)
Now send G28 command with gcodesender to machine (write as in picture and push send button) that mean the machine go to 0 coordonate...
If all its ok ... the machine need to set all 3 axis (x,y,z) to 0.
Write Gcode in Notepad
Open notepad and write :
M109 S240 ;set head and wait to arrive at 240 grade celsius G21 ; set system to metter (10 mean 10mm) G91 ; set to incremental ( any x10 mean move 10mm on axe x) M83 ; Set extruder to incremental ( any E10 mean 10mm wire on extruder) G28 ; Go home all axes (X,Y,Z) ;Go to coordonate 10,10 without wire G1 X10 Y10 ;Make a square 30x30mm with 1mm/cm wire ( E3 because is 3cm to make) G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2 ; rise with 0.2mm
So ... after machine create a square ... machine rise 0.2 mm
now copy
;Make a square 30x30mm with 1mm/cm wire ( E3 because is 3cm to make) G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2 ; rise with 0.2mm</p>
and paste for 10 times ( for height 2 cm) or or whenever you want ... same bellow
G21 ; set system to metter (10 mean 10mm)<br>G91 ; set to incremental ( x10 mean move 10mm on axe x) M83 ; Set extruder to asolute ( E10 mean 10mm wire on extruder) G28 ; Go home all axes (X,Y,Z);Go to coordonate 10,10 without wire G1 X10 Y10 ;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2;Make a square 30x30mm with 1mm/cm wire G1 X30 Y0 E3 G1 X0 Y30 E3 G1 X-30 Y0 E3 G1 X0 Y-30 E3 Z0.2G28 ; Go home all axes (X,Y,Z) M84 ; disable all steppers</p>
Downloads
Create Your Square
After prepare gcode file with notepad ... save file as test.txt and open with gcodesender.
One things! ... if you can set head temperature directly from your machine ,,, in my case from lcd printer menu Prepare > Preheat ABS... not need use M190 S240 in gcode.
If use M190 S240 in gcode ,in my case , need too much time to prepare machine because temperature begin up and low for many times until begin print. If Not use M190 S240 the printer begin instantly... but first the head temperature need to be more than 220 grade
From gcodesender select Load File >Open Local File
If you not can see your test.txt file ... select all files and select and open test.txt
Finally is same as photo...
Now you can use Send to macchine button to send file to machine!