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

Pass through “unknown gcode” mode? #125

Open
tarmon01 opened this issue Mar 25, 2020 · 5 comments
Open

Pass through “unknown gcode” mode? #125

tarmon01 opened this issue Mar 25, 2020 · 5 comments

Comments

@tarmon01
Copy link

It would be very nice if there was a “unknown gcode” pass through mode. Perhaps add a configuration option to either run in the existing mode or this new mode?

Thanks,

-TomH-

@martin2250
Copy link
Owner

Hi Tom,

I've started to work on this, but I've hit some road blocks that make it too unsafe for most people to use yet.

I want a command like "G38.2 Z-10" to make the G-Code interpreter forget where it was in the Z-axis (the interpreter needs to know the end and start point of a motion and this leaves the machine in a state where the start position is not well defined). This makes it so you always have to send a "G0 Zxx" after the previous command to avoid errors. Right now, this G0 Zxx gets ignored if the position before G38 was already Zxx and making it not ignore this move requires a lot of rewriting.

I'll see when I can work on this some more. If you absolutely want to try it in the current state, clone the passthrough branch and compile it with Visual Studio.

Martin

@tarmon01
Copy link
Author

tarmon01 commented Mar 28, 2020 via email

@tarmon01
Copy link
Author

tarmon01 commented Mar 28, 2020 via email

@martin2250
Copy link
Owner

You are saying that the before and after Z position ( with the g38 in the middle) has to be different for it to work correctly?

exactly! you can enter a list of codes to be passed through in the settings

@tarmon01
Copy link
Author

tarmon01 commented Mar 28, 2020 via email

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

No branches or pull requests

2 participants