Comments (3)
Got this problem too. Maybe it is a collision between the sensorless.cfg and the knomi macro. Mainsail console logs about five g28 commands while the error happens.
from knomi.
I was able to solve this.
If you have a [homing_override]
in your printer.cfg
you will have to change G28
in there with G28.1
.
Similar to mine:
There might be more similar recursive calls that you will have to look for.
Think of it like.
old G28 gets renamed to G28.1,
new G28 sets variable to true, then calls old G28 by it's new name G28.1, and after it finishes sets variable to false.
When you try homing from the UI it will execute G28 and by extension [homing_override]
. Which most likely also calls G28 with parameters X, Y or Z.
So without changing those variables it will call itself over and over again.
from knomi.
Thanks for the reply, Specker!
I tested your solution and it worked! But i had to change the G28s in the sensorless.cfg too. I found another solution after looking for a fix to the bed mesh calibration for kamp here:
#25
I commented the Knomi G28 macro completly out
#[gcode_macro G28]
#rename_existing: G28.1
#gcode:
#SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=True
#G28.1 {rawparams}
#SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=False
and changed the macros in my sensorless.cfg like this:
{% if home_all or 'X' in params %}
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=True
_HOME_X
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=False
{% endif %}
{% if home_all or 'Y' in params %}
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=True
_HOME_Y
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=False
{% endif %}
{% if home_all or 'Z' in params %}
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=True
G90
G0 X150 Y150
G28 Z
G1 Z10
SET_GCODE_VARIABLE MACRO=_KNOMI_STATUS VARIABLE=homing VALUE=False
Worked perfectly and i dont have to mess around with modified G28s.
from knomi.
Related Issues (20)
- Clarify licensing on the Knomi project. HOT 2
- Mounting plate Knomi V2 HOT 1
- Knomi2 you can get stuck in the preheat screen if you set the goal temp below the ambient temp of the room HOT 2
- Accel bars do not work
- Unable to get connect KNOMI or KNOMI 2 to Voron using OctoPrint HOT 2
- Knomi 2 and K1 Screen HOT 2
- Unable to update Knomi1 firmware
- Knomi 2 V1.0.2 and bed-slinger style printers: Zero acceleration bar display on Y-Axis HOT 2
- Cant save brightness on knomi 2
- Unable to compile HOT 1
- KNOMI 2 PRINTER IS UNOPERATIONAL ERROR?
- Screen Brightness is very faint
- SCREEN BLACK AFTER UPLOAD GIF HOT 8
- Screensaver automatic Dim option
- Built-in support is hanging in V1.1 of StealthBurner Main Body.
- knomi v2 black screen HOT 1
- Epic CAD errors on to many files.
- ERCF pause not shown on the Knomi
- Knomi v2 Can't flash through VS code
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 knomi.