axibot
axibot copied to clipboard
Axis1 StepCounter too high
At the end of every plot, when the head homes to (0,0), it stops halfway in the middle of the page with the following error:
axibot.ebb.EiBotException: Unexpected response from EBB:
Command: b'SM,30,-751,-79'
Response: b'Major malfunction Axis1 StepCounter too high : 32811'
Perhaps the speed is too high?
Relevant: https://github.com/evil-mad/EggBot/blob/master/EBB_firmware/app.X/source/ebb.c#L1425-L1434
Could you post the SVG that you are plotting and the sha1 of axibot?
There are some debug tools that may be helpful to sort out what aspect of the path planning is going wrong- the entry point to those tools is the axibot-debug
command line tool, which is unfortunately not documented yet. An example would be axibot-debug paths foo.svg
.
As another data point, I just got this same error.
axibot.ebb.EiBotException: Unexpected response from EBB:
Command: b'SM,30,-770,-110'
Response: b'Major malfunction Axis1 StepCounter too high : 33641'
This was on my first run with axibot. It drew all the lines in the SVG, and then looked to be trying park the pen, in the middle of which I got the error.
Looking at the command SM,30,-770,-110
, it's trying to travel ~777 steps in 0.03second, which is close to 26K steps/second, which is over the 25K limit.
I'll dig into the results and try out axibot-debug
as well, but just thought I'd share that I had this experience as well.
Lastly, thanks for the excellent software. I didn't really want to be driving via Inkscape all the time, and I definitely didn't want to have to write/port all the path planning code for use with the cncserver. I'm still generating SVGs, but I don't want to always have to do that, and the way you've modularized things means that I can probably just generate paths of points and just skip some of the svg parsing steps while still using the segment planning functionality.
@satchmorun Can you post the svg you were using when you got this error?
@pwicks86 Sure thing: https://gist.github.com/satchmorun/313128415a8866d64de4c020c72d77bd
Yet, another crashing one: https://gist.github.com/kamiccolo/1ecc12cb537b65214ef0e5431426a403
Hi just wondering if anyone ever worked this out i am am having the same issue as those above - on windows thanks