sandmmakers / BedLeveler5000

Bed Leveler 5000
https://sandmmakers.com/Projects/BedLeveler5000
Other
70 stars 11 forks source link

Error Message : Incorrect number of tokens in response #54

Closed FR009231 closed 7 months ago

FR009231 commented 7 months ago

BedLeveler5000.exe --log-level debug --log-file log.txt Artillery X1.json

I'm using a Artillery Sidewinder X1 Printer. I made my own configuration file to use it in BL5K. after clicking on connect , printer start, and got the error message : Incorrect number of tokens in response.

sandmmakers commented 7 months ago

Thank you for creating the issue. The first file you attached doesn't appear to be a log file. Can you please check. I think it might be the Bed Leveler 5000 executable.

Also, you might want to set your center manual probe point to fixed (fixed means "not adjustable with a screw").

FR009231 commented 7 months ago

log.txt sorry :-)

FR009231 commented 7 months ago

Configuration.txt this is my printer configuration

sandmmakers commented 7 months ago

I think I see the problem. The version of Marlin running on your printer appears to have a completely different response format for the M851 command. Do you happen to know the version of Marlin? I doubt I can get older versions of Marlin running in the simulator, but I can look through the source in case there are any other differences. Fixing this issue will require a code change.

FR009231 commented 7 months ago

Marlin V1.1.9, Arduino 1.8.19

FR009231 commented 7 months ago

https://github.com/artillery3d/sidewinder-x1-firmware

sandmmakers commented 7 months ago

Your printer is using Marlin 1, which I haven't worked with before. Looking at the code and your log, adding compatibility might not be a quick fix because the commands for Marlin 1 appear to have a lot of differences from Marlin 2. I can try to get it to work (the M851 doesn't appear to provide the information BL5K requires), but unless I can get Marlin 1.x running on one of my printers, I might need a lot of log files.

FR009231 commented 7 months ago

I can understand how challenging it could be. If you need I can provide you all the log files you will need :-). I think your BL5K software could be the best one! I'm using Pronterface which is not so user friendly compared to your solution. just tell me if you would like to get my support. Greetings from Germany

sandmmakers commented 7 months ago

After giving it a lot of thought and consideration, I don't think I will be able to add Marlin 1 support at this time. While technically possible, it would require a significant amount of effort and only a very small number of printers would be able to use the new support. Printers would need to have at least Marlin 1.1.2, a Z-probe, have not been updated to Marlin 2, and still be working.