Welcome! Log In Create A New Profile

Advanced

heated bed wont turn off on finish

Posted by luismanson 
heated bed wont turn off on finish
April 04, 2014 10:03PM
Hi, im having this problem...heated bed works perfect on start and temperature control, but after the print ends it wont turn it off. i have to reset the arduino.
In Marlin works just fine, using the exact same settings, only chaing firmware
Re: heated bed wont turn off on finish
April 05, 2014 06:04AM
You mean
M140 S0

does not turn it off?
That would be strange as it is also used to enable the bed.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: heated bed wont turn off on finish
April 05, 2014 04:56PM
nope... just in case this is my end code:

G92 E0 ; reset extrusion distance
M107 ; disable fan
M104 S0 ; turn off temperature
M140 S0 ; apagamos CAMA
G1 Z10 F5000
G28 X0  ; home X axis
G1 Z20 F5000
M84     ; disable motors
Re: heated bed wont turn off on finish
April 05, 2014 08:44PM
Also, since the bed cant be off, it will get hotter, BUT the next print will work and turn it off, until it reaches the new (lower) temp
Re: heated bed wont turn off on finish
April 06, 2014 03:39AM
The bed function works perfectly for me and many others. Apperently it also works for you, but something seems to change the pin as well. So you need to do more testing to find the real reason for the failure. I guess some function is set to use the same pin as the bed.

First you should start freshly resetted and turn bed on and off in manual control. Check if the lcd shows the correct temperature. The log with enabled ack should also show something like this:
09:22:22.155 : ok 11
09:22:22.155 : TargetBed:50
09:22:22.327 : ok 12
09:22:23.325 : wait
09:22:23.965 : ok 13
09:22:23.965 : TargetBed:0
09:22:24.963 : wait

When then works try other functions and see if bed turns on. Especially the command you send after turning bed off.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: heated bed wont turn off on finish
April 06, 2014 02:47PM
First case, set bed to a few degrees higher than enviroament (25 -> 30) it went a bit higer, after it got <30 it went on again, got to >30, but after i pressed the button again, to disable the bed, which was off because it was on the rigght temp the button click caused it to go ON :\ another press of the button requested 30 degrees again, this caused to get it off, since it was already at 50
Note: i was also requesting the extruder to get hot, and the temp was reached.

log:
14:50:00.129 : wait
14:50:01.132 : wait
14:50:02.028 : N13 M140 S30 *68
14:50:02.033 : ok 13
14:50:02.034 : TargetBed:30
14:50:02.133 : ok 14
14:50:03.131 : wait
14:50:04.133 : wait
14:50:05.134 : wait
14:50:05.231 : ok 15
14:50:06.231 : wait
14:50:07.233 : wait
14:50:08.232 : ok 16
14:50:09.231 : wait
14:50:10.231 : wait
14:50:11.235 : wait
14:50:11.333 : ok 17
14:50:12.332 : wait
14:50:13.336 : wait
14:50:14.335 : ok 18
14:50:15.334 : wait
14:50:16.337 : wait
14:50:17.336 : wait
14:50:17.433 : ok 19
14:50:18.433 : wait
14:50:19.435 : wait
14:50:20.436 : ok 20
14:50:21.434 : wait
14:50:22.432 : wait
14:50:23.438 : ok 21
14:50:24.435 : wait
14:50:25.435 : wait
14:50:26.439 : wait
14:50:26.536 : ok 22
14:50:27.534 : wait
14:50:28.539 : wait
14:50:29.537 : wait
14:50:29.635 : ok 23
14:50:30.635 : wait
14:50:31.638 : wait
14:50:32.638 : wait
14:50:32.737 : ok 24
14:50:33.739 : wait
14:50:34.737 : wait
14:50:35.738 : ok 25
14:50:36.736 : wait
14:50:37.740 : wait
14:50:38.738 : wait
14:50:38.836 : ok 26
14:50:39.836 : wait
14:50:40.840 : wait
14:50:41.838 : ok 27
14:50:42.838 : wait
14:50:43.841 : wait
14:50:44.839 : wait
14:50:44.938 : ok 28
14:50:45.942 : wait
14:50:46.940 : wait
14:50:47.939 : ok 29
14:50:48.939 : wait
14:50:49.938 : wait
14:50:50.942 : wait
14:50:51.039 : ok 30
14:50:52.038 : wait
14:50:53.041 : wait
14:50:54.041 : ok 31
14:50:55.040 : wait
14:50:56.042 : wait
14:50:57.041 : wait
14:50:57.111 : N32 M104 S30 *71
14:50:57.117 : ok 32
14:50:57.123 : TargetExtr0:30
14:50:57.140 : ok 33
14:50:58.139 : wait
14:50:59.143 : wait
14:51:00.142 : ok 34
14:51:01.140 : wait
14:51:02.140 : wait
14:51:03.143 : wait
14:51:03.242 : ok 35
14:51:04.241 : wait
14:51:05.243 : wait
14:51:06.243 : ok 36
14:51:07.241 : wait
14:51:08.247 : wait
14:51:09.245 : ok 37
14:51:10.243 : wait
14:51:11.243 : wait
14:51:12.246 : wait
14:51:12.344 : ok 38
14:51:13.344 : wait
14:51:14.343 : wait
14:51:15.346 : ok 39
14:51:16.345 : wait
14:51:17.344 : wait
14:51:18.347 : wait
14:51:18.444 : ok 40
14:51:19.443 : wait
14:51:20.443 : wait
14:51:21.448 : wait
14:51:21.545 : ok 41
14:51:22.545 : wait
14:51:23.547 : wait
14:51:24.545 : wait
14:51:24.645 : ok 42
14:51:25.644 : wait
14:51:26.646 : wait
14:51:27.646 : ok 43
14:51:28.645 : wait
14:51:29.646 : wait
14:51:30.648 : wait
14:51:30.746 : ok 44
14:51:31.749 : wait
14:51:32.748 : wait
14:51:33.748 : ok 45
14:51:34.747 : wait
14:51:35.750 : wait
14:51:36.749 : wait
14:51:36.848 : ok 46
14:51:37.846 : wait
14:51:38.849 : wait
14:51:39.848 : ok 47
14:51:40.847 : wait
14:51:41.850 : wait
14:51:42.851 : ok 48
14:51:43.850 : wait
14:51:44.852 : wait
14:51:45.851 : wait
14:51:45.950 : ok 49
14:51:46.948 : wait
14:51:47.952 : wait
14:51:48.951 : wait
14:51:49.050 : ok 50
14:51:50.048 : wait
14:51:51.052 : wait
14:51:52.051 : ok 51
14:51:53.050 : wait
14:51:54.050 : wait
14:51:55.051 : wait
14:51:55.151 : ok 52
14:51:56.154 : wait
14:51:57.153 : wait
14:51:58.151 : ok 53
14:51:59.150 : wait
14:52:00.151 : wait
14:52:01.153 : wait
14:52:01.252 : ok 54
14:52:02.250 : wait
14:52:03.254 : wait
14:52:04.255 : ok 55
14:52:05.252 : wait
14:52:06.251 : wait
14:52:07.255 : wait
14:52:07.353 : ok 56
14:52:08.353 : wait
14:52:09.355 : wait
14:52:10.353 : ok 57
14:52:11.354 : wait
14:52:12.353 : wait
14:52:13.357 : wait
14:52:13.454 : ok 58
14:52:14.454 : wait
14:52:15.456 : wait
14:52:16.456 : wait
14:52:16.555 : ok 59
14:52:17.552 : wait
14:52:18.555 : wait
14:52:19.556 : ok 60
14:52:20.553 : wait
14:52:21.559 : wait
14:52:22.558 : wait
14:52:22.655 : ok 61
14:52:23.657 : wait
14:52:24.656 : wait
14:52:25.657 : ok 62
14:52:26.655 : wait
14:52:27.659 : wait
14:52:28.658 : wait
14:52:28.757 : ok 63
14:52:29.756 : wait
14:52:30.760 : wait
14:52:31.757 : ok 64
14:52:32.756 : wait
14:52:33.760 : wait
14:52:34.757 : wait
14:52:34.857 : ok 65
14:52:35.856 : wait
14:52:36.859 : wait
14:52:37.860 : ok 66
14:52:38.858 : wait
14:52:39.858 : wait
14:52:40.861 : wait
14:52:40.958 : ok 67
14:52:41.958 : wait
14:52:42.961 : wait
14:52:43.961 : ok 68
14:52:44.959 : wait
14:52:45.961 : wait
14:52:46.960 : wait
14:52:47.060 : ok 69
14:52:48.058 : wait
14:52:49.062 : wait
14:52:50.061 : ok 70
14:52:51.060 : wait
14:52:52.058 : wait
14:52:53.062 : wait
14:52:53.161 : ok 71
14:52:54.160 : wait
14:52:55.162 : wait
14:52:56.163 : ok 72
14:52:57.162 : wait
14:52:58.164 : wait
14:52:59.163 : ok 73
14:53:00.163 : wait
14:53:01.162 : wait
14:53:02.161 : wait
14:53:02.264 : ok 74
14:53:03.262 : wait
14:53:04.261 : wait
14:53:05.265 : wait
14:53:05.364 : ok 75
14:53:06.363 : wait
14:53:07.362 : wait
14:53:08.364 : ok 76
14:53:09.363 : wait
14:53:10.363 : wait
14:53:11.363 : ok 77
14:53:12.365 : wait
14:53:13.363 : wait
14:53:14.362 : wait
14:53:14.467 : ok 78
14:53:15.464 : wait
14:53:16.465 : wait
14:53:17.462 : ok 79
14:53:18.465 : wait
14:53:19.467 : wait
14:53:20.466 : wait
14:53:20.566 : ok 80
14:53:21.566 : wait
14:53:22.564 : wait
14:53:23.564 : ok 81
14:53:24.567 : wait
14:53:25.567 : wait
14:53:26.566 : wait
14:53:26.669 : ok 82
14:53:27.667 : wait
14:53:28.667 : wait
14:53:29.665 : ok 83
14:53:30.668 : wait
14:53:31.668 : wait
14:53:32.668 : ok 84
14:53:33.666 : wait
14:53:34.669 : wait
14:53:35.668 : wait
14:53:35.766 : ok 85
14:53:36.770 : wait
14:53:37.768 : wait
14:53:38.769 : ok 86
14:53:39.771 : wait
14:53:40.770 : wait
14:53:41.770 : wait
14:53:41.869 : ok 87
14:53:42.872 : wait
14:53:43.871 : wait
14:53:44.869 : ok 88
14:53:45.868 : wait
14:53:46.872 : wait
14:53:47.871 : wait
14:53:47.968 : ok 89
14:53:48.972 : wait
14:53:49.972 : wait
14:53:50.970 : ok 90
14:53:51.973 : wait
14:53:52.973 : wait
14:53:53.971 : wait
14:53:54.070 : ok 91
14:53:55.074 : wait
14:53:56.073 : wait
14:53:57.072 : ok 92
14:53:58.071 : wait
14:53:59.074 : wait
14:54:00.074 : wait
14:54:00.171 : ok 93
14:54:01.174 : wait
14:54:02.173 : wait
14:54:03.172 : ok 94
14:54:04.172 : wait
14:54:05.175 : wait
14:54:06.174 : wait
14:54:06.273 : ok 95
14:54:07.276 : wait
14:54:08.275 : wait
14:54:09.273 : ok 96
14:54:09.706 : N97 M140 S0 *123
14:54:09.712 : ok 97
14:54:09.713 : TargetBed:0
14:54:10.712 : wait
14:54:11.710 : wait
14:54:12.274 : ok 98

at this stage the hot end is keeping its temp, the bed is waiting to get to the requested 30C, i click "disconnect", i get the message "some heaters are still on, shall i disable..." if i click YES the bed gets ON with no temp controll
last commands are:
15:00:27.059 : N222 M104 T0 S0 *3
15:00:27.059 : N223 M140 S0 *70

Next test:
reset arduino, close and re open repetier host
* arduino reset causes bed to go off

connect log:
15:02:13.832 : waistart
15:02:13.832 : Info:External Reset
15:02:13.832 : Info: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
15:02:13.832 : Free RAM:5250
15:02:13.832 : wait
15:02:14.327 : N1 M110 *2
15:02:14.329 : N1 M110 *2
15:02:14.330 : N2 M115 *4
15:02:14.332 : N3 M111 S6 *68
15:02:14.334 : N4 M111 S6 *67
15:02:14.334 : ok
15:02:14.334 : ok
15:02:14.336 : N5 M80 *62
15:02:14.338 : N6 M80 *61
15:02:14.338 : ok 2
15:02:14.353 : N8 M220 S100 *73
15:02:14.353 : FIRMWARE_NAME:Repetier_0.91 FIRMWARE_URL:[github.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:2
15:02:14.353 : N9 M221 S100 *73
15:02:14.355 : N10 M111 S6 *118
15:02:14.355 : Printed filament:47.63m Printing time:0 days 16 hours 40 min
15:02:14.357 : ok 3
15:02:14.357 : ok 4
15:02:14.357 : ok 5
15:02:14.357 : ok 6
15:02:14.357 : ok 7
15:02:14.375 : ok 8
15:02:14.380 : SpeedMultiply:100
15:02:14.380 : ok 9
15:02:14.386 : FlowMultiply:100
15:02:14.386 : ok 10
15:02:15.361 : wait
15:02:16.359 : wait
15:02:17.363 : wait
15:02:17.416 : ok 11
15:02:18.421 : wait
15:02:19.418 : wait
15:02:20.419 : ok 12
15:02:21.419 : wait
15:02:22.422 : wait
15:02:23.420 : wait
15:02:23.518 : ok 13
15:02:24.521 : wait
15:02:25.520 : wait

TEST: do not touch anyting else, request 60C (since the bed is at 55, to reduce wait time)
*bed reaches 56C LED goes off
*click button again so it can go cold - bed goes ON with no temp control
15:04:25.247 : ok 53
15:04:26.245 : wait
15:04:27.250 : wait
15:04:28.249 : wait
15:04:28.346 : ok 54
15:04:29.345 : wait
15:04:30.348 : wait
15:04:31.349 : ok 55
15:04:32.347 : wait
15:04:33.347 : wait
15:04:34.348 : wait
15:04:34.448 : ok 56
15:04:35.446 : wait
15:04:35.963 : N57 M140 S50 *66
15:04:35.971 : ok 57
15:04:35.972 : TargetBed:50
15:04:36.970 : wait
15:04:37.450 : ok 58
15:04:38.448 : wait
15:04:39.446 : wait
15:04:40.452 : wait
15:04:40.549 : ok 59
15:04:41.547 : wait
15:04:42.551 : wait
15:04:43.551 : ok 60
15:04:44.549 : wait
15:04:45.548 : wait
15:04:46.551 : wait
15:04:46.650 : ok 61
15:04:47.648 : wait
15:04:48.648 : wait
15:04:49.651 : ok 62
15:04:50.651 : wait
15:04:51.649 : wait
15:04:52.652 : wait
15:04:52.752 : ok 63
15:04:53.750 : wait
15:04:54.753 : wait
15:04:55.752 : ok 64
15:04:56.752 : wait
15:04:57.751 : wait
15:04:58.753 : wait
15:04:58.853 : ok 65
15:04:59.850 : wait
15:05:00.850 : wait
15:05:01.854 : ok 66
15:05:02.852 : wait
15:05:03.852 : wait
15:05:04.855 : wait
15:05:04.955 : ok 67
15:05:05.954 : wait
15:05:06.955 : wait
15:05:07.955 : ok 68
15:05:08.953 : wait
15:05:09.952 : wait
15:05:10.955 : wait
15:05:11.054 : ok 69
15:05:12.053 : wait
15:05:12.171 : N70 M140 S0 *114
15:05:12.177 : ok 70
15:05:12.178 : TargetBed:0
15:05:13.176 : wait
15:05:14.057 : ok 71
15:05:15.055 : wait
15:05:16.054 : wait
15:05:17.057 : wait
15:05:17.156 : ok 72
15:05:18.154 : wait
15:05:19.153 : wait
15:05:20.158 : wait
15:05:20.256 : ok 73
15:05:21.253 : wait
15:05:22.258 : wait
15:05:23.258 : wait
15:05:23.355 : ok 74
15:05:24.354 : wait
15:05:25.356 : wait
15:05:26.357 : ok 75
15:05:27.357 : wait
15:05:28.355 : wait
15:05:29.359 : ok 76
15:05:30.358 : wait


Next TEST using marlin:
start log

15:16:46.384 : OpenGL version:3.0 Mesa 9.1.7
15:16:46.384 : OpenGL renderer:Gallium 0.4 on AMD RS780
15:16:46.384 : Using fast VBOs for rendering is possible
15:16:56.167 : starstart
15:16:56.167 : echo: External Reset
15:16:56.167 : Marlin1.0.0
15:16:56.167 : echo: Last Updated: Apr  6 2014 15:16:20 | Author: (Luis, Repetier config)
15:16:56.167 : Compiled: Apr  6 2014
15:16:56.167 : echo: Free Memory: 5338  PlannerBufferBytes: 1232
15:16:56.167 : echoconfused smileytored settings retrieved
15:16:56.167 : echoconfused smileyteps per unit:
15:16:56.167 : echo:  M92 X-0.00 Y196.00 Z33.00 E290.00
15:16:56.167 : echo:Maximum feedrates (mm/s):
15:16:56.167 : echo:  M203 X400.01 Y0.00 Z0.25 E0.00
15:16:56.168 : echo:Maximum Acceleration (mm/s2):
15:16:56.168 : echo:  M201 X0 Y0 Z1207959552 E872415299
15:16:56.168 : echo:Acceleration: S=acceleration, T=retract acceleration
15:16:56.168 : echo:  M204 S-0.00 T0.00
15:16:56.168 : 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),  E=maximum E jerk (mm/s)
15:16:56.168 : echo:  M205 S0.00 T0.00 B19968 X20.00 Z0.40 E5.00
15:16:56.168 : echo:Home offset (mm):
15:16:56.168 : echo:  M206 X0.00 Y0.00 Z0.00
15:16:56.609 : N1 M110 *2
15:16:56.609 : N1 M110 *2
15:16:56.611 : N2 M115 *4
15:16:56.611 : ok
15:16:56.613 : N3 M111 S6 *68
15:16:56.615 : N4 M111 S6 *67
15:16:56.615 : ok
15:16:56.617 : N5 M80 *62
15:16:56.619 : N6 M80 *61
15:16:56.638 : N8 M220 S100 *73
15:16:56.638 : FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:[github.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Luis i3 EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
15:16:56.638 : ok
15:16:56.639 : N9 M221 S100 *73
15:16:56.641 : ok
15:16:56.641 : ok
15:16:56.641 : ok
15:16:56.641 : ok
15:16:56.642 : N10 M111 S6 *118
15:16:56.662 : ok T:27.8 /0.0 B:31.0 /0.0 T0:27.8 /0.0 @:0 B@:0
15:16:56.664 : ok
15:16:56.665 : ok
15:16:56.665 : ok
15:16:59.704 : ok T:27.7 /0.0 B:31.0 /0.0 T0:27.7 /0.0 @:0 B@:0
15:17:02.804 : ok T:27.7 /0.0 B:31.0 /0.0 T0:27.7 /0.0 @:0 B@:0
15:17:05.810 : ok T:27.5 /0.0 B:31.0 /0.0 T0:27.5 /0.0 @:0 B@:0
15:17:08.803 : ok T:27.5 /0.0 B:31.0 /0.0 T0:27.5 /0.0 @:0 B@:0
15:17:11.903 : ok T:27.5 /0.0 B:31.0 /0.0 T0:27.5 /0.0 @:0 B@:0

request BED 40 (bed bas on 30)

15:17:30.206 : ok T:27.4 /0.0 B:30.6 /0.0 T0:27.4 /0.0 @:0 B@:0
15:17:33.207 : ok T:27.4 /0.0 B:30.6 /0.0 T0:27.4 /0.0 @:0 B@:0
15:17:36.307 : ok T:27.4 /0.0 B:30.6 /0.0 T0:27.4 /0.0 @:0 B@:0
15:17:37.127 : N24 M140 S40 *71
15:17:37.134 : ok
15:17:39.309 : ok T:27.4 /0.0 B:30.6 /40.0 T0:27.4 /0.0 @:0 B@:0
15:17:42.408 : ok T:27.4 /0.0 B:30.6 /40.0 T0:27.4 /0.0 @:0 B@:127
15:17:45.409 : ok T:27.4 /0.0 B:30.6 /40.0 T0:27.4 /0.0 @:0 B@:127
15:17:48.511 : ok T:27.4 /0.0 B:31.1 /40.0 T0:27.4 /0.0 @:0 B@:127
15:17:51.614 : ok T:27.4 /0.0 B:32.1 /40.0 T0:27.4 /0.0 @:0 B@:127
15:17:54.714 : ok T:27.4 /0.0 B:33.2 /40.0 T0:27.4 /0.0 @:0 B@:127
15:17:57.715 : ok T:27.4 /0.0 B:34.6 /40.0 T0:27.4 /0.0 @:0 B@:127
15:18:00.712 : ok T:27.4 /0.0 B:35.7 /40.0 T0:27.4 /0.0 @:0 B@:127
15:18:03.816 : ok T:27.4 /0.0 B:37.0 /40.0 T0:27.4 /0.0 @:0 B@:127
15:18:06.813 : ok T:27.4 /0.0 B:38.3 /40.0 T0:27.4 /0.0 @:0 B@:127
15:18:09.917 : ok T:27.4 /0.0 B:39.7 /40.0 T0:27.4 /0.0 @:0 B@:127
15:18:12.915 : ok T:27.4 /0.0 B:41.2 /40.0 T0:27.4 /0.0 @:0 B@:0

*bed got the requested temp, led goes off, next step, disable bed heater
*click button again so it can go cold - bed STAYS off

15:18:16.013 : ok T:27.5 /0.0 B:42.4 /40.0 T0:27.5 /0.0 @:0 B@:0
15:18:19.020 : ok T:27.6 /0.0 B:43.2 /40.0 T0:27.6 /0.0 @:0 B@:0
15:18:33.632 : N43 M140 S0 *114
15:18:33.637 : ok
15:18:34.418 : ok T:27.9 /0.0 B:45.2 /0.0 T0:27.9 /0.0 @:0 B@:0
15:18:37.419 : ok T:27.9 /0.0 B:45.2 /0.0 T0:27.9 /0.0 @:0 B@:0

With this test i hope i have discarded electrical bug/noise, since as i stated before marlin controls the bed right. Im not sure why this is not working right for me only.

attached Marlin and Repetier configurations
Attachments:
open | download - Config-marlin.txt (30.4 KB)
open | download - Config-Repetier.txt (21.5 KB)
Re: heated bed wont turn off on finish
April 17, 2014 10:53AM
Any ideas?
Re: heated bed wont turn off on finish
May 30, 2015 08:47PM
Sorry for the necromancy, but I'm having the same issue. Did you ever get it sorted out?

EDIT: Try switching to PID control if you're on bang-bang at the moment.

Edited 1 time(s). Last edit at 05/30/2015 09:03PM by epicepee.
Re: heated bed wont turn off on finish
May 30, 2015 09:23PM
to be honest, i finally moved to another FW which does not present this issue long time ago
Sorry, only registered users may post in this forum.

Click here to login