-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Integrating data into macro #479
Comments
Thank your for submiting, please be sure you followed template or your issue may be dismissed. |
currently macro just what you would do with the response of your command? |
My idea is to "ask" for the measured values of e.g. x1 and x2 (G38.2) at different locations of the work piece. Maybe I´m thinking too complicated and there are other alternatives. |
sorry to ask as it is not clear for me and I am not familiar with this command |
Found a nice video explaining G68. He can do better than by written words :-) The manual way by pausing is the second priority, it should be calculated automagically. The data is only needed to rotate the work piece once during milling. |
@JensHauser, I like to ask you what controller board / firmware you are using for this? |
The board is a self-developed one based on ESP32 devkit v4 and the firmware is GRBL_Esp32 and ESP3D master branch v2.1 Placing the XYZ finder on the work piece, editing the x1/x2 and y1/y2 distances in the ESP3D (so the edge finder can measure on existing workpiece and no beyond) and "go" would be nice :-) @luc-github wrote about LUA, does this mean some scripting approach, which goes beyond GRBL sending and allows some interaction between script/user and GRBL? |
Interesting. Didn't knew GRBL is supporting G68/G69. Seems I need to do an knowledge update. Thanks for the information. |
It doesn't yet, the functionality can also achieved by G38.2. If I just get back the X1/X2 and Y1/Y2 values, the script could calculate the corrective angle. |
Ok, I got what you try to do. Thanks for your answer. |
yes that is purpose of adding scripting language base is ready now need user case to add missing functions
…________________________________
From: DivingDuck <notifications@github.com>
Sent: Sunday, July 5, 2020 11:49:08 AM
To: luc-github/ESP3D <ESP3D@noreply.github.com>
Cc: Luc <luc.lebosse@tech-hunters.com>; Mention <mention@noreply.github.com>
Subject: Re: [luc-github/ESP3D] Integrating data into macro (#479)
Ok, I got what you try to do. Thanks for your answer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#479 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACDJ6GB4KHWNF6C2R3A6V33R2BEBJANCNFSM4OPXWFEQ>.
|
You have a volunteer for testing ;-)
|
well if you can share a situation with all actions that need to be done step by step it would be helpful for to see how to convert it in lua script |
Use case "XYZ edge finding with auto rotation" Motivation
Prerequisites
Workflow
I have some more material for handling and calculations, but wanted to start with this in order to align the way we could go. |
Is it possible to show up a custom message in ESP3D master, e.g. "Please change from tool A to tool B now" ? |
there is no such feature, you can only display text in terminal by usinh M118 command with Marlin like FW but grbl does not have such command as far I know |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
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. |
Hi,
I use an ESP32 with ESP3D and a working macro with XYZ edge finding.
Now I want to enhance it with potential work piece rotation (G68).
Based on the measured values I can calculate a rotation angle to shift the WCS fitting the work piece.
Inside a macro? Can I "get back" data from the CNC for calucations somehow?
Jens
The text was updated successfully, but these errors were encountered: