1

Topic: Temperature Control Problems

I am using Repetier and SLic3r in a Mac.  My problem is that my prints are not extruding correctly throughout the entire print.  I have the temp set to 200 and my temp will vary from 210 down to 185.  At 185 my extruder begins to dig into the filament and my extrusion isn't consistent.  Recently I took apart my hot end to clear a clog as it wasn't printing well and I believe that I have the hot end assembled correctly.  I have the temp sensor attached to the nozzle and the heating element is right above the nozzle.  If I have the hot end assemble incorrectly,  I would appreciate a photo of what "right looks like."   Thanks.

2 (edited by ronsii 2013-02-20 00:38:37)

Re: Temperature Control Problems

You need to use autotune command on the hotend to even out the temp swings

'M303 S200 C5'

This will autotune the hotend at 200 degrees C for 5 cycles, when it finishes it will print out the PID numbers in the bottom of your screen you type these number into the settings in repetier under Config menu - Firmware EEPROM settings.

3

Re: Temperature Control Problems

Google "M303 gcode"

4

Re: Temperature Control Problems

touche, ronsii. by three seconds.

5

Re: Temperature Control Problems

for once I beat someone smile LOL

6 (edited by nickythegreek 2013-02-22 02:28:50)

Re: Temperature Control Problems

I had no idea that this was a thing and it could explain some colored banding that I have observed several times.

Any idea how I would set the output numbers thru gcode since I dont have the EEPROM Config settings in my RH?

EDIT:
Would I just put that in my start gcode?

7

Re: Temperature Control Problems

nickythegreek wrote:

I had no idea that this was a thing and it could explain some colored banding that I have observed several times.

Any idea how I would set the output numbers thru gcode since I dont have the EEPROM Config settings in my RH?


You don't???

8

Re: Temperature Control Problems

Looked around... and voila

once you get the PID numbers..

issue a 'M301 Pxx.xx Ix.xx D xxx.xx

then issue a 'M500' to save to eeprom

9

Re: Temperature Control Problems

ronsii wrote:

You don't???

I believe it is a possible issue with mac.

When i received my SD2 back in october, I followed the installation instructions found here:
http://www.solidoodle.com/mac-instructions/

And I had to manually install the Arduino drivers from the site listed on that instruction page.

I would bet that might have something to do with it,

10 (edited by nickythegreek 2013-02-22 02:35:04)

Re: Temperature Control Problems

ronsii wrote:

Looked around... and voila

once you get the PID numbers..

issue a 'M301 Pxx.xx Ix.xx D xxx.xx

then issue a 'M500' to save to eeprom

jackpot. thank you! marking this thread as a favorite for future reference.

11

Re: Temperature Control Problems

Since I sill have 10.5.8 on my mac it won't run RH so for now I just use some old dell laptops I have laying around

BTW I have not actually tried the about mcodes but they should work ... in theory smile

12 (edited by nickythegreek 2013-02-22 02:57:14)

Re: Temperature Control Problems

Everything makes more sense about this EEPROM stuff. I was always worried about how I would verify if it actually saved.

Then I just noticed that when I connect RH to the printer it spits back all of these settings everytime.  2 teachable moments in 1! 

echo:Marlin 1.0.0
echo: Last Updated: 2012-09-17 | Author: Lawsy
echo: Free Memory: 952  PlannerBufferBytes: 1232
echo:Stored settings retreived:
echo:Steps per unit:
echo:  M92 X88.00 Y88.00 Z2268.00 E135.00  <- whoops, I'm pretty sure this isnt the right stepper value that I wanted for extruder calibration
echo:Maximum feedrates (mm/s):
echo:  M203 X500.00 Y500.00 Z5.00 E45.00
echo:Maximum Acceleration (mm/s2):
M201 X9000 Y9000 Z100 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo:  M204 S3000.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum xY jerk (mm/s),  Z=maximum Z jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00
echo:Home offset (mm):
echo:  M206 X0.00 Y0.00 Z0.00
echo:PID settings:
echo:   M301 P28.20 I1.64 D126.55 my new PID values

13

Re: Temperature Control Problems

Tried to do autotune and I get the following and it just keeps sending the same error.

Anyone seen this RESEND 90: error before?

17:26:09.938 : echo:PID settings:
17:26:09.938 : echo:   M301 P22.20 I1.08 D114.00
17:29:43.114 : PID Autotune start
17:33:51.219 : bias: 103 d: 103 min: 195.82 max: 206.11
17:34:48.753 : bias: 95 d: 95 min: 195.90 max: 204.96
17:35:45.132 : bias: 93 d: 93 min: 195.94 max: 204.15
17:35:45.132 : Ku: 28.83 Tu: 56.36
17:35:45.132 : Clasic PID
17:35:45.132 : Kp: 17.30
17:35:45.132 : Ki: 0.61
17:35:45.132 : Kd: 121.87
17:36:40.715 : bias: 91 d: 91 min: 196.56 max: 204.15
17:36:40.715 : Ku: 30.53 Tu: 55.58
17:36:40.715 : Clasic PID
17:36:40.715 : Kp: 18.32
17:36:40.715 : Ki: 0.66
17:36:40.715 : Kd: 127.27
17:37:35.612 : bias: 92 d: 92 min: 196.56 max: 203.75
17:37:35.659 : Ku: 32.59 Tu: 54.92
17:37:35.659 : Clasic PID
17:37:35.659 : Kp: 19.56
17:37:35.659 : Ki: 0.71
17:37:35.659 : Kd: 134.26
17:37:35.659 : PID Autotune finished ! Place the Kp, Ki and Kd constants in the configuration.h
17:37:38.436 : Error:checksum mismatch, Last Line:89
17:37:38.436 : Resend:90
17:37:41.509 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:41.509 : Resend:90
17:37:44.568 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:44.568 : Resend:90
17:37:47.625 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:47.625 : Resend:90
17:37:50.683 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:50.683 : Resend:90
17:37:53.741 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:53.741 : Resend:90
17:37:56.798 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:56.798 : Resend:90
17:37:59.856 : Error:Line Number is not Last Line Number+1, Last Line:89
17:37:59.856 : Resend:90
17:38:02.913 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:02.913 : Resend:90
17:38:05.971 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:05.971 : Resend:90
17:38:09.029 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:09.029 : Resend:90
17:38:12.086 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:12.086 : Resend:90
17:38:15.144 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:15.144 : Resend:90
17:38:18.202 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:18.202 : Resend:90
17:38:21.259 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:21.259 : Resend:90
17:38:24.317 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:24.317 : Resend:90
17:38:27.375 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:27.375 : Resend:90
17:38:30.436 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:30.436 : Resend:90
17:38:33.493 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:33.493 : Resend:90
17:38:36.551 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:36.551 : Resend:90
17:38:39.609 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:39.609 : Resend:90
17:38:42.666 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:42.666 : Resend:90
17:38:45.724 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:45.724 : Resend:90
17:38:48.782 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:48.782 : Resend:90
17:38:51.839 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:51.839 : Resend:90
17:38:54.897 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:54.897 : Resend:90
17:38:57.954 : Error:Line Number is not Last Line Number+1, Last Line:89
17:38:57.954 : Resend:90

14 (edited by nickythegreek 2013-02-22 22:57:03)

Re: Temperature Control Problems

ya that happened to me after my autotune (OS X 1.8.3). I just disconnected the printer in RH, unplugged and plugged back in and reconnected. I then saw it echo the old PID values.

I then sent my M301 command with the new values and sent a M500 command to save.  I disconnected and reconnected to the printer again in RH and saw it echo back the new values.

15

Re: Temperature Control Problems

Thanks Nicky,  Guess the same issue here but only I'm using WIN8.  I saw the PID and saved them to EEPROM.  now waiting for bed to heat so I can test

16

Re: Temperature Control Problems

dumb question how do I send M303 command? I tried in RH from print menu. Typed in hit send, i tried in gcode screen and hit run nothing

SD2 owner- Surestepr, filament holder,QUBD servo and heaters, glass bed
Print for fun and for parts for my sports cars
current car is 88 IROC

17

Re: Temperature Control Problems

Make sure your SD is in the 'Connected' state and that you see the message in the bottom log window.

18

Re: Temperature Control Problems

Of course lol I can print turn bed and extruder on off etc I see eveerything but send doesnt seem to work


Also while on Calibration I notice the echo: the accel values are 9000 and 10000 is this too high? I saw another ost where they recommended 3000?

SD2 owner- Surestepr, filament holder,QUBD servo and heaters, glass bed
Print for fun and for parts for my sports cars
current car is 88 IROC

19

Re: Temperature Control Problems

I have created a Wiki page on this topic here:

http://www.soliwiki.com/PID_tuning