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

[FR] Pin Writes gCode #7932

Closed
AcrimoniousMirth opened this issue Oct 10, 2017 · 5 comments
Closed

[FR] Pin Writes gCode #7932

AcrimoniousMirth opened this issue Oct 10, 2017 · 5 comments
Labels
T: Feature Request Features requested by users.

Comments

@AcrimoniousMirth
Copy link

Hi all,
First off thanks to the awesome dev team for the work done to make this incredible software. Been using it for a long time now and love seeing the new updates roll in.
My request is perhaps a bit selfish but I’m looking for a sort of reverse M42. I’m working on an integrated design for my university final project that I can’t say too much about but will be making opensource after graduating.
Basically I need to easily send a command from a separate microcontroller to move to a specific X, Y and Z.
I could use “Park position” by figures if mention this as it could be useful. What I suggest is:
When not printing, if pin x written high, execute script.
This in my case would park the nozzle and bed precisely where they need to be but could be used for other things such as button-settable heating presets and so on. If this feature already exists, my apologies, I haven’t seen it! But if it doesn’t I think it should be decently easy to implement (oops, my naivety is showing).
Thanks and keep being awesome!

@terryb58
Copy link

terryb58 commented Oct 12, 2017

Can't you just send a G27 instead of having to mess with pins? Or are you trying to communicate with Marlin from, let's say, OctoPrint on a Raspberry Pi without using gcode?

@thinkyhead
Copy link
Member

An i2c interface would probably be more powerful and easier to implement. I've done just this sort of thing using the TWIBus class included with Marlin. See #4776 (comment) for the details.

@thinkyhead thinkyhead added the T: Question Questions, generally redirected to other groups. label Nov 15, 2017
@InsanityAutomation
Copy link
Contributor

This may be applicable to the discussion on input to trigger macro dealing with some hardware on the Dagoma printers. Basically another use case for the same function. Id tag it 2.1.

@boelle boelle added T: Feature Request Features requested by users. and removed T: Question Questions, generally redirected to other groups. labels Jul 21, 2019
@thisiskeithb
Copy link
Member

Added in #18389

@github-actions
Copy link

github-actions bot commented Sep 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Feature Request Features requested by users.
Projects
None yet
Development

No branches or pull requests

6 participants