New beta firmware 2.02beta1
-
@gizmotronx5000 You might have to update to the latest
MessageFormats.h
from DuetWifiSocketServerdev
branch. I had the same issues until I did that. No issues since then anymore. -
I thought it might have something to do with that, but I just grabbed the most recent version and tried again. No luck. It looks like I probably had the most recent version already, since it was last updated in March 2018. I added it to my includes. However, I see if I open WiFiInterface.h there is a warning saying "Unresolved inclusion MessageFormats.h". I must not be including it properly or maybe there is some sort of conflict?
-
@gizmotronx5000 Did you include it as a workspace path or as an absolute filesystem path in eclipse? I did the latter and explicitly have
DuetWifiSocketServer
not in my workspace at all. -
It's an absolute file system path not included in my workspace. I don't have the duetwifisocketserver project, just the messageformats.h, which worked before.
-
@gizmotronx5000 I'm sorry, but now I run out of ideas.
-
@gizmotronx5000 said in New beta firmware 2.02beta1:
I get about 30 errors coming from "WiFiInterface.h". Most are of the form "symbol/type xxxxx cannot be resolved." I also get this error: make: *** [Duet2CombinedFirmware.elf] Error 1.
it would help if you post the exact error messages.
-
@dc42 Good point! I managed to get rid of the make.exe errors somehow. I nuked the project and just restarted it from the build instructions. It now compiles, but I still get the following errors, which are apparently not critical to the build.
-
I cleaned all of the projects and restarted Eclipse (again). Everything compiles without errors now. Magic!
-
Eclipse sometimes reports Semantic Errors spuriously, or generates them correctly but doesn't remove them when you correct the problem - especially if the correction involves an include file that is outside the project. These are generated by Eclipse, not by the compiler. Often they go away if you run index rebuild on the project and bring the file for which the errors were reported to the foreground. Other times you may need to delete them, then clean and build the project to make sure there are no compiler errors or warnings.
-
@dc42 I am getting the same [Duet2CombinedFirmware.elf] Error 1 that others have posted about. I had this code running yesterday but when I tried to use it today I'm getting the error even after cleaning, restarting, and running index rebuild. I did not change any code or even exit Eclipse overnight.
-
@dc42 I would like to suggest to create a topic for each new feature and link them at the OP of these "new beta" posts. So we can focus and the subjects does not get lost.
For example my experience with DAA not showing much improvement
By the way. Besides the DAA not having much effect I had no issues or new bugs with this beta.
-
@dc42 said in New beta firmware 2.02beta1:
Have you read https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M703_Configure_filament to see how M703 is intended to be used?
Yes, I have already read that!
I just mentioned that unfortunately it does not work in "Load Filament" Macro!It works in other application cases.
-
@zerspaner_gerd said in New beta firmware 2.02beta1:
I just mentioned that unfortunately it does not work in "Load Filament" Macro!
Do you mean that in the
load.g
macro for the filament (configured via context-menu for this filament in DWC) you are loading you want to addM703
to immediately also load the same filament'sconfig.g
? -
@wilriker Here is a picture of my attempt:
But yes, I think we mean the same! -
@zerspaner_gerd Coincidently my loading macro looks exactly like your third line.
Anyway, the problem here certainly is that at this point in time the filament is not completely loaded in regards to firmware so it would not know whichconfig.g
to load withM703
.@dc42 and @chrishamm should this be like that? Is there a case where loading a filament (in software) could fail/abort? Otherwise the info about which filament is loaded could be saved as the very first step and this would resolve this race. I could look into changing this most likely on Monday.
-
Chrishamm wrote and maintains the filament management code, so I'll leave this for him to answer.
-
At present it is not intended to use M703 in the load.g macro because DWC already sends it after the filament has been loaded and because the filament name is NOT assigned until the load.g macro has finished AFAIR. A better place for M703 would be your tpost*.g macro because you usually want to apply different settings when you select a tool that is loaded with a different material.
At present DWC does the following when you load/change a filament:
- A tool is selected using a T-code (if the selected tool is different)
- If a filament is already assigned to the tool, it is unloaded via M702 which runs the unload.g macro of the old filament
- M701 is invoked with the corresponding filament name, which runs the corresponding load.g. Do only the loading here (e.g. set temperatures, ask the user to insert filament and eventually load it)
- M703 is invoked which runs config.g of the corresponding filament (if present). There you can set extrusion factors, pressure advance, temperatures and possibily the speed factor to use
-
@chrishamm said in New beta firmware 2.02beta1:
M703 is invoked which runs config.g of the corresponding filament (if present). There you can set extrusion factors, pressure advance, temperatures and possibily the speed factor to use
Would be interesting to call the config.g for filaments with another name to avoid consfusion. Something like fconfig.g
-
@dc42 great work on adding S parameter to control laser PWM
I have a suggestion to make it more compatible with other laser engravers and Laserweb software:
When S parameter is not provided it should keep the previous PWM value instead of turning off the laser, the G0 should turn off the laser
Example output from Laserweb:G0 X86.61 Y21.34
G1 X86.61 Y21.34 S255.00 F1300
G1 X86.61 Y21.33
G1 X86.62 Y21.33
G1 X86.62 Y21.33
G1 X86.62 Y21.33
G1 X86.62 Y21.33G0 X91.07 Y16.73
G1 X91.07 Y16.73 S255.00 F1300
G1 X91.07 Y16.73
G1 X91.07 Y16.73
G1 X91.06 Y16.73
G1 X91.06 Y16.73
G1 X91.06 Y16.72
G1 X91.06 Y16.72 -
@spw, it's a shame they chose to make it work that way. It would have been much safer to default to zero power. Anyway, I'll change it. I'll also need to make sure that the laser is turned off at pause and on again at resume. Tedious...