David Roncal
Discussion -Hello everybody!!
Finally I got the Smoothie working and I am programming new features with it. One of them is a thermistor with a timeout, just to set a temperature for a while.
For this, I copied the struct done in the code of TemperatureControl.cpp about the "set and wait mcode". Well, it did not work at first, and I supposed it was because of my code. However, If I use the code from git (smoothieware-edge, the last update) and I try the set and wait mcode as it is said in the documentation, it also crashes.
This is what I see, I open a cutecom and I send the command (M109 S40) and it outputs an "ok" and the temperatures (T: 22.3 /25 @31, for example) and it appears several times. The temperature can not change, because I am not connecting anything in the pin (just a led to see if it flashes). After several times of this output, it stops and the leds 1,2 and 4 stay on (not flashing).
When I use the "set temperature" m code it works okey, it does not stop.
It also happens that when I am using the pid autotune It stops without finishing...
I hope I could explain my problem. I was wondering, do you know what is going on?
Thank you very much,
Finally I got the Smoothie working and I am programming new features with it. One of them is a thermistor with a timeout, just to set a temperature for a while.
For this, I copied the struct done in the code of TemperatureControl.cpp about the "set and wait mcode". Well, it did not work at first, and I supposed it was because of my code. However, If I use the code from git (smoothieware-edge, the last update) and I try the set and wait mcode as it is said in the documentation, it also crashes.
This is what I see, I open a cutecom and I send the command (M109 S40) and it outputs an "ok" and the temperatures (T: 22.3 /25 @31, for example) and it appears several times. The temperature can not change, because I am not connecting anything in the pin (just a led to see if it flashes). After several times of this output, it stops and the leds 1,2 and 4 stay on (not flashing).
When I use the "set temperature" m code it works okey, it does not stop.
It also happens that when I am using the pid autotune It stops without finishing...
I hope I could explain my problem. I was wondering, do you know what is going on?
Thank you very much,
1
26 commentaires
+David Roncal Then this is possibly a smoothie bug, you can open an issue on github. In the meantime, you'll have to only use one serial port.
· Traduire
Ajoutez un commentaire...