Page 1 of 1

Starting script working out before heating up!?

Posted: Tue Aug 16, 2016 2:27 am
by Sirnicha
Hello folks,
I would like to do the following like in the past with slic3r:
At the beginning of a print I want to move XYZ to zero (after homing) where I placed a bit of bluetape to the bed.
After that move the nozzle should heat up.
The bluetape seales the nozzle, so no oozing happens. This works very well for me!
The problem in S3D is that the starting script is worked out AFTER the heating up commands happened! :-(
Does anybody know how I can change the order? First starting script, then heating up!
Help very appreciated! :-)

Sincerely,
Felix

Re: Starting script working out before heating up!?

Posted: Tue Aug 16, 2016 6:24 am
by dkightley
Its the starting script that includes the gcode instructions to switch on the extruder and bed heaters. You simply need to modify the gcode before the switch on commands??

Re: Starting script working out before heating up!?

Posted: Tue Aug 16, 2016 7:41 am
by Sirnicha
In my starting script there are only the two commands: homing all axes and the move to zero.
But in the generated G-Code there are the heating up commands appesr before the starting script.
The heating commands are generated by S3D, not from the starting script.
That is my problem. I want to execute the starting script at first, before the S3D generated things (heating) happen.
I hope I explained it good enough :oops:

Thanks!

Felix

Re: Starting script working out before heating up!?

Posted: Wed Aug 17, 2016 9:45 am
by CompoundCarl
You just need to place the heating commands manually into your starting script then wherever you want them. For example:

G28
M190 S[bed0_temperature]
M109 S[extruder0_temperature]
etc

Whenever you use the [extruder*_temperature] or [bed*_temperature] variables, then it knows you're placing the heating commands on your own, so it won't add them automatically at the start.

There's about 50 similar threads already on the forum, but you can read more about it here: viewtopic.php?f=8&t=1959