Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axis1 StepCounter too high #40

Open
nornagon opened this issue Jan 6, 2017 · 6 comments
Open

Axis1 StepCounter too high #40

nornagon opened this issue Jan 6, 2017 · 6 comments
Labels

Comments

@nornagon
Copy link

nornagon commented Jan 6, 2017

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

@storborg
Copy link
Owner

storborg commented Jan 6, 2017

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.

@storborg storborg added the bug label Jan 7, 2017
@satchmorun
Copy link

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.

@pwicks86
Copy link
Collaborator

pwicks86 commented Mar 1, 2017

@satchmorun Can you post the svg you were using when you got this error?

@satchmorun
Copy link

@kamiccolo
Copy link

@benIflock
Copy link

Hi just wondering if anyone ever worked this out
i am am having the same issue as those above - on windows
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants