-
Notifications
You must be signed in to change notification settings - Fork 67
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
Problem with probing #367
Comments
New edge versions with M66 bugfix uploaded - 2.0.45p5.
Which version are you running?
Save then edit works.
I'll have to look into how to better handle arbitrary M-commands when transforming the gcode, e.g. the L word is removed in the above example. |
Thank you, Terjeio! I made a test circle with a diameter of 300 mm and here are the extreme points after applying the height map in ioSender and Candle (before applying height map Z is 0.2mm): ioSender Candle ioSender .map file: MinX="-150" MinY="-150" MaxX="150" MaxY="150" SizeX="7" SizeY="7" ZOffset="0.385" Candle .map file: -150.00;-150.00;300.00;300.00 ioSender Edge XL 2.0.45p5 |
What kind of motion? Rapids (G0) or regular (G1, G2 or G3)? Are the map files above generated from scanning the same surface? And by following the same pattern? |
Motion is G1, normal. |
Here is the hegthmap from Candle, offset to 0 for the origin.
As you can se there is quite a bit of difference between them suggesting to me that the probed surface might be bending when probed. This might be due the probing speed beeing different. Or a bug somehwere causing the heighmaps to differ - it looks like ioSender is not probing the full width of the surface. |
Another strange behavior. I put probe to Z 1mm and start probing. And after probing is done probe returns to approx the same position but ioSender shows Z -4.xxx mm which is wrong. Not big problem because anyway I have to set new zero for Z axis with tool. But I think it should not be like this. |
Is Candle probing each point twice with different feed rates like ioSender does? |
I would also like to thank you for this amazing project. Helped me a lot... |
BTW. Now I'm using ESP32 TinyBee board with grblHAL and would like to ask you does any ESP32 board support I2C keypad? I've tried but no luck. I2C EEPROM is working but keypad is not. Now using keypad with UART. Not sure is it right place to ask... |
Do you have Set Z = 0 at X0Y0 checked when probing?
Ok, then you may set the ioSender Latch distance to 0 to skip the slow step. If you do so are the maps more equal?
This board has the pin definition for the keypad strobe. |
Yes. Now much better!!! Thank you!!! I also hope one day ioSender will stop braking my custom G-Code )))
Ok. I will try. Is there definition example to use UART 3 in ESP32 boards? If I want to use MPG on UART 2 and UART keypad (input) and Debug (output) on UART 3. Is it possible? Couldn't get it to work. |
This is a bit complicated since a block (line) may contain several gcodes and some parameter words are single meaning. If the gcode is unknown (which parameter letters are asscociated with it) it becomes impossible to parse unambiguously.
Not yet? You have to use instance number 2 to claim it - but it cannot be claimend by two "clients" unless you modify the code by commenting out or removing this line. |
Is it necessary to apply height map to M-Codes? Why not parse only G-code and leave M-codes as they are?
Thank you so much!!! With your help everything works now. I2C, Serial2, Serial3... Keypad plugin also contain display plugin but there is no description. Is there any info or examples? Will it work with ESP32 boards? |
I'll have to leave unknown M- and G-codes alone, and that can be tricky as explained above.
I'll fix this in the next commit.
It is for the Jog2K Jog Controller. Or for MPGs or displays that uses the grblHAL message parser.
No - at least not yet. The ESP compiler do not understand the assert statements and currrently the I2C driver code does not support the required API functions. So a bit more code, and testing, is required to make it work. |
In my G-Code file I have several M66P0L4Q5.000 commands and it works as expected. But after applying height map this command disappear everywhere. Even my custom G-Code M101 is remain but M66P0L4Q5.000 is disappear. After applying height map editing button is inactive and it's not possible to edit file and add these commands manually.
Another problem when probing with "Set Z = 0 at X0Y0:" option and negative X Y in "Area to probe". Z is not become 0 at X0Y0 in .map file. For example: Area to probe X -150, Y -150, W 300, H 300, Grid 50mm. Z0 will be at X-150 Y-150 but not at X0 Y0.
Or may be I am not understand how this option should work.
It's also would be nice to add possibility to edit and save G-Code file after applying height map.
My custom code visible but doesn't work after applying height map either. M101L1Q60 should send command via UART but it doesn't. Before applying height map everything works fine.
The text was updated successfully, but these errors were encountered: