steveuk
Posts: 2
Joined: Wed Dec 02, 2015 7:57 am

Script Wrong

Hi

I'm printing to a Malyan M180, but am having issues with the heating of the bed/extruder. Just looking a bit closer I believe the script to be wrong, but as I'm new to this need someone with experience to confirm this.

When using the right extruder the script looks like this

M109 S[bed0_temperature] T0
M104 S[extruder0_temperature] T0

When using the left extruder the script looks like this

M109 S[bed0_temperature] T0
M132 S[extruder1_temperature]

This doesn't look right to me, seems to be setting the right extruder to the bed temperature and I'm not sure what M132 is? I assumed setting the left extruder would be something like M109 S[extruder1_temperature] T1?

Thanks

Steve
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Script Wrong

Try this:

For the right extruder

Code: Select all

M140 S[bed0_temperature] T0 ; heat build platform
M134 T0 ; wait for bed to heat
M104 S[extruder0_temperature] T0 ; heat right extruder
M133 T0 ; wait for right extruder to heat
For the left extruder

Code: Select all

M140 S[bed0_temperature] T0 ; heat build platform
M134 T0 ; wait for bed to heat
M104 S[extruder1_temperature] T1 ; heat left extruder
M133 T1 ; wait for left extruder to heat
For both extruders

Code: Select all

M140 S[bed0_temperature] T0 ; heat build platform
M134 T0 ; wait for bed to heat
M104 S[extruder0_temperature] T0 ; heat right extruder
M104 S[extruder1_temperature] T1 ; heat left extruder
M133 T0 ; wait for right extruder to heat
M133 T1 ; wait for left extruder to heat
Just replace the old commands with those snippets
steveuk
Posts: 2
Joined: Wed Dec 02, 2015 7:57 am

Re: Script Wrong

That's absolutely perfect.

Thanks for the help.

Steve
kezg
Posts: 4
Joined: Mon Nov 30, 2015 9:41 pm

Re: Script Wrong

Hi can you tell me please where am i supposed to add this text?

Im guessing maybe the FFF profiles- under Scripts- then 'Starting script' ?
do i only overwrite the two lines about tempreture for extruder and bed?
anything need to go into 'ending script'?

thanks for your time.
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Script Wrong

Yes, you are just replacing the commands in the starting script. Remove all the old lines that had [extruder0_temperature] or [bed0_temperature] in them and replace with the new code above.

Also remember that if you use the "auto configure extruders" drop down in the top right, you will see options for the right extruder only, left extruder only, and both extruders. You will need to change all 3 of those with the text I listed above. So just select "right extruder only", and then replace the old lines with the new code I posted for the right extruder. Then do the same for the left and both extruder options.
Pilotboy
Posts: 2
Joined: Mon Dec 14, 2015 10:09 am

Re: Script Wrong

Using the above posted scripts it sets my temp on my heat bed but not my extruder this is very odd

Is there a cure for this?
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Script Wrong

It works for me. It heats the bed first. Once the bed reaches the set temperature, then the extruder starts heating.
User avatar
martinkopplow
Posts: 12
Joined: Thu Aug 13, 2015 2:33 pm
Location: Germany

Re: Script Wrong

CompoundCarl wrote:It works for me. It heats the bed first. Once the bed reaches the set temperature, then the extruder starts heating.
Can this be changed so that it first sets all temperatures and only then waits for them all to be reached? It is a pain waiting for heating to be completed in a one by one manner.
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Script Wrong

Can this be changed so that it first sets all temperatures and only then waits for them all to be reached? It is a pain waiting for heating to be completed in a one by one manner.
It's all in the order of the commands in the start up script. Read this thread and look at the scripts in both threads.: viewtopic.php?f=9&t=3945

Do,please, notice the warning in the referred thread about overloading your power supply, though.
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net
Kendrick
Posts: 1
Joined: Tue Jan 05, 2016 3:19 am

Re: Script Wrong

I've read it his thread and I think I understand it what confuses me is T0 there is no reference as to what T0 is, I understand it is a temperature value but in the earlier code it is not set nor is it changed if I set the temperature setting different but when I print the file the temperature settings I had Putin are there :?
Kendrick

Return to “Troubleshooting and Bug Reports”