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

What to Replace B Commands With? #407

Open
krkeegan opened this issue Feb 27, 2018 · 4 comments
Open

What to Replace B Commands With? #407

krkeegan opened this issue Feb 27, 2018 · 4 comments
Labels

Comments

@krkeegan
Copy link
Collaborator

So, the B commands like B05 (which requests the firmware version) have to go if we want to be compliant with GCode standards and things like GRBL. I think the right thing is to move to something starting with $, because this would make it easy to allow the maslow specific commands to still be executed if the machine was in an alarm state.

My question, is what to replace them with. I started coding up something in the form of:

$MSLW4=Xxx $MSLW5=Xxx

Wherein the digit after MSLW denotes the command. We could do something like $M4 to save some typing of letters as well if people prefer that, GRBL doesn't currently use $M commands.

In this design, all commands would only accept one parameter after the equals sign. This works for nearly all the commands, some of the current commands would be split in to (left and right) to allow for this. The ones that don't are my own PID testing commands, which can probably be split into a number of commands and simplified.

Any thoughts or better ideas?

@blurfl
Copy link
Collaborator

blurfl commented Feb 27, 2018

I lean toward the single letter option, less serial overhead.

@BarbourSmith
Copy link
Member

I think that sounds well thought out and sound. I miss being able to specify both a L and R value, but it's no great loss

@krkeegan
Copy link
Collaborator Author

Agree I was kinda bummed by the L&R thing as well. I will keep them in order so for example L would be even and R odd.

@davidelang
Copy link
Contributor

davidelang commented Feb 27, 2018 via email

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

4 participants