Welcome! Log In Create A New Profile

Advanced

Cura and M80

Posted by BOBOSS 
Cura and M80
September 22, 2014 01:54PM
Hi

On Cura 14.07 on Mac,

From the Start / end gcode;

Is it possible to put a first line M80 before the M140 M109 because I have an ATX power supply.

For now I inserted the line manually with Textedit.

But if it can be done automatically it would be better ;-) .

Does anyone have an idea, thank you in advance.

Boboss
Re: Cura and M80
September 22, 2014 02:28PM
Why not - you are free to put whatever you want in the start G Code.
Re: Cura and M80
September 22, 2014 03:08PM
Good evening,

Of course but if I add M80 :

M80
;Sliced at: {day} {date} {time}
;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
;Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M109 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M106 S250 ;start with the fan on
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;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 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...



Gcode becomes like this:

M140 S100.000000
M109 T0 S240.000000
T0
M190 S100.000000
M80
;Sliced at: Mon 22-09-2014 21:01:37
;Basic settings: Layer height: 0.3 Walls: 0.6 Fill: 0
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#


And it can not work

Because the M80 line after line boot heaters
and ATX will not start ---> not power to heat


BOBOSS
Re: Cura and M80
September 22, 2014 04:31PM
I wasn't aware that cura puts statements before the start code.
Re: Cura and M80
September 24, 2014 10:33AM
Quote
BOBOSS
Gcode becomes like this:

M140 S100.000000
M109 T0 S240.000000
T0
M190 S100.000000
M80
;Sliced at: Mon 22-09-2014 21:01:37
;Basic settings: Layer height: 0.3 Walls: 0.6 Fill: 0
;Print time: #P_TIME#
;Filament used: #F_AMNT#m #F_WGHT#g
;Filament cost: #F_COST#
BOBOSS

I normally delete those first few lines so that it runs what I put in the start gcode area. I hate that I cannot delete those values and Cura puts them in automatically.
Oh well just a small price to pay considering the issues ive had with other slicers.
Sorry, only registered users may post in this forum.

Click here to login