Cura Machine Settings G-Codes

Software and Firmware Discussion - related to source code, firmware updates, etc.
Post Reply
Mr SNG
Reactions:
Posts: 74
Joined: January 1st, 2018, 11:02 am
3D Printer(s): hictop auto leveling desktop 3d printer prusa i3

Cura Machine Settings G-Codes

Post by Mr SNG »

Wow! Its been a good few years since I was last active on the forum, but I've just blown the dust off of my trusty old Hictop and fired it up.

Previous to switching my machine on I had installed Cura 4.3.0. But after a hard failure a couple of years ago I lost my Cura G-code settings. So running a test print today everything worked fine, except that is at the end of the print were the bed would move to the back of the machine, then the extruder would park to one side then the bed move to the front for print removal.

So could anyone here please check my start and end G-Codes in Cura machine settings and let me know if anything is missing please?

Start G-Code

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 F9000 ;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 F9000
M420 S1
;Put printing message on LCD screen
M117 Printing...
M220 S32.000000 ; Set print speed to 40% for 1st layer only


End G-Code

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 F9000 ;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
M84 ;steppers off
G90 ;absolute positioning

Many thanks
Dave

P.S To Roberts_Clif are you still active on here mate?
User avatar
LePaul
Reactions:
Posts: 3970
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: Cura Machine Settings G-Codes

Post by LePaul »

Welcome back!

He is, hopefully he chimes in soon
User avatar
Roberts_Clif
Reactions:
Posts: 1380
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: Cura Machine Settings G-Codes

Post by Roberts_Clif »

I will be here for a long time to come.

For me this G-Code is( for my Hictop 3DP11- or 12 printers ):
It has been a long time though I believe the code should be.

Code: Select all

G28 X0 Y270 ;move nozzle to back Left, so the head is out of the way
My Bed size is 220mm X x 270mm Y
queenmari
Reactions:
Posts: 4
Joined: October 19th, 2022, 2:55 am
3D Printer(s): s printer

Re: Cura Machine Settings G-Codes

Post by queenmari »

Mr SNG wrote: June 3rd, 2023, 7:33 am Wow! Its been a good few years since I was last active on the forum, but I've just blown the dust off of my trusty old Hictop and fired it up.

Previous to switching my machine on I had installed Cura 4.3.0. But after a hard failure a couple of years ago I lost my Cura G-code settings. So running a test print today everything worked fine, except that is at the end of the print were the bed would move to the back of the machine, then the extruder would park to one side then the bed move to the front for print removal.

So could anyone here please check my start and end G-Codes in Cura machine settings and let me know if anything is missing please?

Start G-Code

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 F9000 ;move the platform pintodown 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
M420 S1
;Put printing message on LCD screen
M117 Printing...
M220 S32.000000 ; Set print speed to 40% for 1st layer only


End G-Code

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 F9000 ;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
M84 ;steppers off
G90 ;absolute positioning

Many thanks
Dave

P.S To Roberts_Clif are you still active on here mate?
Your G-code appears to cover the necessary operations for a typical 3D print job, including homing the axes, heating, extruding filament, and finishing. If your bed movement at the end of the print is not behaving as expected, you may want to check your printer's hardware, especially the endstop switches and wiring, to ensure they are functioning correctly. Also, verify that your printer's firmware supports the G-code commands you're using.
User avatar
Roberts_Clif
Reactions:
Posts: 1380
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: Cura Machine Settings G-Codes

Post by Roberts_Clif »

In Cura Click on Preferences select Printers
Select Machine Settings.
Cura Machine Settings.jpg
You will see the settings used in my Hictop 3D Printers

Below is the code line you want.

Code: Select all

G1 X0 Y270                      ;move extruder to rear left, Model to front.
User avatar
Roberts_Clif
Reactions:
Posts: 1380
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: Cura Machine Settings G-Codes

Post by Roberts_Clif »

I should have noted that not all Hictop 3D Printers have the 220 X 270 Bed surface.
Mr SNG
Reactions:
Posts: 74
Joined: January 1st, 2018, 11:02 am
3D Printer(s): hictop auto leveling desktop 3d printer prusa i3

Re: Cura Machine Settings G-Codes

Post by Mr SNG »

Hi Clif
A bit late in the day but better late than never!

Many thanks for your reply and help. 8-)
Post Reply

Return to “Software and Firmware Discussion”