-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Skipping To A New Position During Cutting But Didn't Loose Home Position #734
Comments
I would say that it is a very big deal! Here are some suggestions for isolating where the problem might be. Unfortunately, to be certain of any results, multiple test runs might be necessary, which could be time-consuming. In order to avoid continuous observation to detect "jolts", you could let the program run to completion and check the final position.
|
We had a $10k 4x8 machine at work that did the same thing. Manufacturer blamed it on a bad USB connection. A better shielded USB cord helped.
…________________________________
From: JAY <[email protected]>
Sent: Sunday, January 10, 2021 1:22:17 PM
To: bdring/Grbl_Esp32 <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [bdring/Grbl_Esp32] Skipping To A New Position During Cutting But Didn't Loose Home Position (#734)
I've notice over the last couple days during hour long jobs, my CNC will make a single faint jolt noise and skip to a new position(not more than an inch from where it was) and continue cutting. When then first happened I was a stepper had lost steps due to some resistance.
1012.zip<https://github.com/bdring/Grbl_Esp32/files/5793086/1012.zip>
However I stopped and hit "Return to Zero" in Universal Gcode Platform and it returned to the same 0,0,0 coordinates I set before the job was started. So if I didn't loose steps, what could this be? I have put together what I have to describe this below.
This is a test piece of oak for a new client. He wants a desk with an airport milled and filled with resin. The blue lines are the actual paths that are supposed to be taken. Sometime during the cut, my machine skipped to a new location and continued to cut. You can see if you move the paths down an inch where it decided to move to. After stopping the job and hitting "Return to Home" the router returned to it's original position. NC file attached
[image]<https://user-images.githubusercontent.com/603364/104131546-f0eede80-5344-11eb-8b95-7516e378560a.png>
The happened last night as well while trying to surface the actual slab. I was doing an adaptive cut and for some reason I heard the jolt(I wouldve missed it if I wasn't close) and looked up and the circle pattern had shifted. I hit stop and return to home and it returned to its orginal position. No lost steps.
Not a big deal but definitely worried this will happen on the actual cut of the airport.
GRBL_ESP32 [VER:1.3a.20201022:]
Windows 10.0.19041 Build 19041
Universal Gcode Platform Version 2.0
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#734>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACSMKRAQMG7UXO4JTE5WASTSZHV5TANCNFSM4V4TVDEQ>.
|
This happened again on me last week. I had already replaced my usb cord with this one: The combination of gold-plated connectors, bare copper conductors, and foil & braid shielding provides superior cable performance and error-free data transmission via USB cable extension. It is a 3.0 10ft extension usb A to B but is 2.0 capable. I don't see anyone else having this problem otherwise they would have commented here so I have to assume it's something with my setup. |
Could this issue I'm seeing be related to this? |
I had same problem with my laser, too.
2 Motor current saving |
Hey this was due to a “uart” coms bug. They fixed it in a firmware with a new uart driver.
I’m sorry I don’t know which version but I believe it was like 7 months ago or something. I had to flash my controller with the updated firmware and it hasn’t skipped yet.
…-Jay
On Aug 10, 2021, at 1:25 AM, atsukita1969 ***@***.***> wrote:
I had same problem with my laser, too.
My case, I got improvement with following change.
Add default stepping motor current setting "Machines/driver.h"
#define DEFAULT_X_CURRENT **
#define DEFAULT_X_HOLD_CURRENT **
(my case, machine has ganged Y axis, Y and Y2 also added.)
2 Motor current saving
during G code program, steeper motor had hot with max current.
I use 75% of default current and 40% of hold current instead of motor max current.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
You solved problem. Good news. I had this movement error even latest firmware. Thanks for your info. |
Oh no. I hope it never comes back.
…-Jay
On Aug 10, 2021, at 8:01 PM, atsukita1969 ***@***.***> wrote:
You solved problem. Good news.
I had this movement error even latest firmware.
Thanks for your info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Had the problem again last night. Very disappointed.
…-Jay
On Aug 10, 2021, at 8:07 PM, Jay Settle ***@***.***> wrote:
Oh no. I hope it never comes back.
-Jay
>> On Aug 10, 2021, at 8:01 PM, atsukita1969 ***@***.***> wrote:
>>
>
> You solved problem. Good news.
>
> I had this movement error even latest firmware.
>
> Thanks for your info.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Are you logging the command input and output? Either a command is getting dropped (due to electrical interference, or some other communication issue) or you are losing steps (a motor cord getting hung up on something, or debris temporarily jamming one of the axis.) Basic CNC's do not have any way to know when they lose sync with the internal coordinate system. The best way to resolve this is to babysit it until it has an error, then stop it and determine if there was a comms issue (which should show up in the logs as an error) or some physical issue (motion problems or a stepper overheating, etc...) There is support for G-Code checksums, but you will need to use a g-code sender that supports them. This will ensure that any communication errors that would still be parsable g-code are caught. You also may want to try using local storage (SD Card if you have one) as it isn't going to suffer from the same kinds of interference. |
@jaysettle How are you compiling the firmware. Are you using the Arduino IDE or PlatformIO? You mention changing the UART driver. I am not sure what you mean by that, but the true solution is mentioned here. https://github.com/bdring/Grbl_Esp32/wiki/Compiling-with-Arduino-IDE Use ESP32 library version 1.0.3 |
Check this video around the 3:40 minute mark. This is when my machine stopped. Look at the console. No errors.
https://photos.app.goo.gl/mwTUpewoENSwcL1DA
Also I was able “return to zero” and return to my original zero mark. Very odd.
![image](https://user-images.githubusercontent.com/603364/132613746-b92d5555-25a4-4c70-9bef-c2c8b31cf1bf.png)
…-Jay
On Sep 7, 2021, at 10:34 PM, Jason Benguerel ***@***.***> wrote:
Are you logging the command input and output? Either a command is getting dropped (due to electrical interference, or some other communication issue) or you are losing steps (a motor cord getting hung up on something, or debris temporarily jamming one of the axis.) Basic CNC's do not have any way to know when they lose sync with the internal coordinate system. The best way to resolve this is to babysit it until it has an error, then stop it and determine if there was a comms issue (which should show up in the logs as an error) or some physical issue (motion problems or a stepper overheating, etc...)
There is support for G-Code checksums, but you will need to use a g-code sender that supports them. This will ensure that any communication errors that would still be parsable g-code are caught. You also may want to try using local storage (SD Card if you have one) as it isn't going to suffer from the same kinds of interference.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I’m uploading via platform.io. As far as uart, I thought there was a fix for uart in the build I upload via platform.io. I can try another latest upload.
…-Jay
On Sep 7, 2021, at 11:11 PM, bdring ***@***.***> wrote:
@jaysettle How are you compiling the firmware. Are you using the Arduino IDE or PlatformIO? You mention changing the UART driver. I am not sure what you mean by that, but the true solution is mentioned here.
https://github.com/bdring/Grbl_Esp32/wiki/Compiling-with-Arduino-IDE
Use ESP32 library version 1.0.3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
PlatformIO should get the version correct. |
How do I know if I'm using Use ESP32 library version 1.0.3? |
If you compile the latest release version using PlatformIO in Visual Studio Code (with all the latest updates), the properly working library is used. Verifying what version of the library is used in whatever binary you may have is technically possible with the right developer tools and know-how, but telling you how to do that is beyond the scope of the proposed solution. The best way to ensure you have a fixed version is to build a 'known good' version as specified above. |
The boot messages tell you the SDK version. I do know know what number 1.0.3 is. Not at home this week. |
I've notice over the last couple days during hour long jobs, my CNC will make a single faint jolt noise and skip to a new position(not more than an inch from where it was) and continue cutting. When then first happened I was a stepper had lost steps due to some resistance.
However I stopped and hit "Return to Zero" in Universal Gcode Platform and it returned to the same 0,0,0 coordinates I set before the job was started. So if I didn't loose steps, what could this be? I have put together what I have to describe this below.
This is a test piece of oak for a new client. He wants a desk with an airport milled and filled with resin. The blue lines are the actual paths that are supposed to be taken. Sometime during the cut, my machine skipped to a new location and continued to cut. You can see if you move the paths down an inch where it decided to move to. After stopping the job and hitting "Return to Home" the router returned to it's original position. NC file attached 1012.zip
The happened last night as well while trying to surface the actual slab. I was doing an adaptive cut and for some reason I heard the jolt(I wouldve missed it if I wasn't close) and looked up and the circle pattern had shifted. I hit stop and return to home and it returned to its orginal position. No lost steps. 1016.zip
Not a big deal but definitely worried this will happen on the actual cut of the airport.
GRBL_ESP32 [VER:1.3a.20201022:]
Windows 10.0.19041 Build 19041
Processor Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2701 Mhz, 2 Core(s), 4 Logical Processor(s)
Universal Gcode Platform Version 2.0
Thanks
The text was updated successfully, but these errors were encountered: