Comments (9)
Send $message/level=debug and give us the debug log from a homing failure
from fluidnc.
What type of switches are you using?
Use FluidTerm to do what Mitch suggested and send $H.
from fluidnc.
Send $message/level=debug and give us the debug log from a homing failure
I'm out of the workshop for today, will send the terminal log first thing in the morning
What type of switches are you using?
I use the most common ones used with Arduino, similar to these:
https://www.amazon.de/dp/B08734MSDD/
from fluidnc.
$h
[MSG:DBG: Homing Cycle Z]
[MSG:DBG: Homing nextPhase FastApproach]
[MSG:DBG: Starting from 300.000,200.000,0.000]
[MSG:DBG: Planned move to 300.000,200.000,198.000 @ 2000.000]
[MSG:DBG: Z Pos Limit 1]
[MSG:DBG: Homing limited Z]
[MSG:DBG: Homing nextPhase Pulloff0]
[MSG:DBG: Starting from 300.000,200.000,3.916]
[MSG:DBG: Planned move to 300.000,200.000,0.916 @ 300.000]
[MSG:DBG: Z Pos Limit 0]
[MSG:DBG: CycleStop Pulloff0]
[MSG:DBG: Homing nextPhase SlowApproach]
[MSG:DBG: Starting from 300.000,200.000,0.916]
[MSG:DBG: Planned move to 300.000,200.000,4.216 @ 300.000]
[MSG:DBG: Z Pos Limit 1]
[MSG:DBG: Homing limited Z]
[MSG:DBG: Homing nextPhase Pulloff1]
[MSG:DBG: Starting from 300.000,200.000,3.797]
[MSG:DBG: Planned move to 300.000,200.000,0.797 @ 300.000]
[MSG:DBG: Z Pos Limit 0]
[MSG:DBG: CycleStop Pulloff1]
[MSG:DBG: Homing nextPhase Pulloff2]
[MSG:DBG: mpos was 300.000,200.000,0.797]
[MSG:DBG: mpos becomes 300.000,200.000,0.000]
[MSG:DBG: mpos transformed 300.000,200.000,0.000]
[MSG:DBG: Homing Cycle XY]
[MSG:DBG: Homing nextPhase FastApproach]
[MSG:DBG: Starting from 300.000,200.000,0.000]
[MSG:DBG: Planned move to -1108.000,-1208.000,0.000 @ 4242.641]
[MSG:DBG: Y2 Neg Limit 1]
[MSG:DBG: Y Neg Limit 1]
[MSG:DBG: Homing limited Y2]
[MSG:DBG: Homing limited Y Y2]
[MSG:DBG: Homing replan with X]
[MSG:DBG: Starting from 94.505,-5.486,0.000]
[MSG:DBG: Planned move to -1313.495,-5.486,0.000 @ 3000.000]
[MSG:DBG: X Neg Limit 1]
[MSG:DBG: Homing limited X Y Y2]
[MSG:DBG: Homing nextPhase Pulloff0]
[MSG:DBG: Starting from -5.733,-5.486,0.000]
[MSG:DBG: Planned move to -2.733,-2.486,0.000 @ 424.264]
[MSG:DBG: X Neg Limit 0]
[MSG:DBG: Y2 Neg Limit 0]
[MSG:DBG: Y Neg Limit 0]
[MSG:DBG: CycleStop Pulloff0]
[MSG:INFO: ALARM: Homing Fail Pulloff]
ALARM:8
[MSG:ERR: Macro can only be used in idle state]
ok
from fluidnc.
I just found out that this homing failures and random limit switches over travel only occur when connecting via Bluetooth. When connected by USB cable homing works fine. But cable connection is clumsy and unreliable for me, so I would prefer to use Bluetooth.
from fluidnc.
It is possible that the Bluetooth system code is blocking a thread causing realtime response problems with homing. That is just a guess. I am away from the office with no way to test this hypothesis.
from fluidnc.
Thank you for reply.
I am trying to figure this out all day long, about 500 homing cycles later I found out that this really does have something to do only with Bluetooth connection, but it is partially an issue in version 3.7.1 too. It looks like the Bluetooth connection can randomly overload the CPU during homing, so it becomes unresponsive, sometime even for 30 seconds with many $h commands in rapid succession.
This does not happen in 3.7.0, at least not so much it becomes unresponsive.
One of the enhancements in 3.7.1 is "5ms switch "debouncing" added.", can this be what puts so much load on the CPU?
Is there anything else I can do to help figure this out?
from fluidnc.
I'm sorry, I am not in a position to look into this right now. Realtime response in the face of a multicore,multithreaded system built on top of much third-party code is a very difficult problem.
from fluidnc.
I just donated 50$ to Honu Putters LLC/FluidNC.
Maybe that can help with the development just a little. I understand that creating open source must be difficult challenge.
Hope sometime in the future the Bluetooth can be used again on the newer versions.
Thank anyway.
from fluidnc.
Related Issues (20)
- Probe not working on 6x board or Wemos D1 HOT 4
- Problem: XPRO v5 with Laser Head. Relay not switch on and PWM always 4.96V HOT 6
- No movement HOT 35
- Unable to connect to Wifi HOT 13
- Abnormal operating speed HOT 9
- Problem: Keyboard jogging not working HOT 2
- Problem: Installing the FluidNC on an esp32-s3 HOT 5
- Error when re-initializing TMC 2209 stepper motors from version 3.7.15. HOT 2
- Problem: Probing seems to incorrectly affect machine Coordinates HOT 8
- Problem: TMC driver not detected after reinitialize, only one axis driver test passed at the beginning. HOT 4
- Problem: How to install FluidNC the esp32-s2 or esp32-c3. HOT 1
- Feature: Trinamic position control via SPI HOT 1
- Problem: GPIO2 use for limit_neg_pin can't pu 3.3v only 0.31v HOT 4
- Wifi porblem HOT 1
- Problem: FluidNC 6XCNC Controller - strange LED lights and steppers suddenly not working HOT 13
- Problem: All the TMC drivers not detected HOT 1
- [MSG:ERR: Command requires idle state] HOT 4
- Problem: Homing X in >3.7.10 not working on ESP32 HOT 6
- Problem: slow homing speed. `seek_mm_per_min` has no effect HOT 2
- Problem: how to home at hold state (by config file or programmatically) HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluidnc.