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

ATC using Macros #75

Open
fireup924 opened this issue Sep 26, 2023 · 3 comments
Open

ATC using Macros #75

fireup924 opened this issue Sep 26, 2023 · 3 comments

Comments

@fireup924
Copy link

fireup924 commented Sep 26, 2023

I notice there's some code in the macros.c that has ATC code that uses macros to perform automatic tool changes. I want to activate this feature when there's an M6 command and it runs the tc.macro that is stored in the littleFS or SD card. Which flag do I have to set to turn this feature on?

@terjeio
Copy link
Contributor

terjeio commented Sep 26, 2023

SDCARD_ENABLE
NGC_EXPRESSIONS_ENABLE
Using LittleFS is a little complicated for the time beeing, you will need a Pico W and enable WebUI or WiFi with FTP.
Upload is then either via the WebUI maintenance page or FTP.

Uploads to the SD card is possible via ioSender if SDCARD_ENABLE is set to 2 (by using a slightly modified YModem protocol).

@terjeio
Copy link
Contributor

terjeio commented Sep 26, 2023

More here.

@fireup924
Copy link
Author

Thank you for the info. I was able to get the code to compile under Arduino IDE and use the plug-in that allow for LittleFS to upload macro files that I create under /data folder. This made it pretty easy for me to update macro files. I didn't want to use SDcard at this time as my test board don't have that feature.

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