-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Feature Request] Need to be able to run Macros #26
Comments
I'd love to be able to run macros too. I would use it for tool changing, unless there's already a way to do that from this interface? I run this interface on an iPad at the machine. It's very useful. Had a few bad things happen when using the main cncjs interface from a touch screen, because of accidentally touching the wrong controls - the exact reasons that this interface was created. Thanks for the great work! |
You could just put the macro into a named file and run that. There is very little difference between a GCode file and a macro. |
I guess there is the variable substitution thing. |
Actually, now that look inside the CNCjs server code, I think that variables work the same way regardless of whether you are running a macro or a GCode file. |
The way I organize my jobs is to have a folder for each production job. Files in the folder are named like "0Setup.nc", "1Top.nc", "2Roundover.nc", etc. I just run the files in numerical order, doing whatever manual steps are necessary between steps. |
Ok. So instead of having one nc file that does the whole job with tool change commands inserted, you have separate files for each different tool section and have a separate file for doing tool changes? Sounds ok. I'll give it a try. Thanks for the tip! BTW, I usually generate my nc files from FreeCAD. I like to generate one file with all the tool changes, which works best for simulation, but it wouldn't be hard to split it up to feed it to my machine, which is a Shapeoko 3 XXL. |
I have a number of Macros I use for a multiple station complicated job. It would be extremely helpful to be able to run macros directly from shop floor tablet.
The text was updated successfully, but these errors were encountered: