|
Thought I would share the console output in hopes it might shed some light on what I'm seeing (Spindle at speed seems to alarm out after what ever delay I've set. From what I'm guessing FS:.... is the spindle (Not sure what the first number is but second number appears to be set speed then read speed) What I've noticed
Hope this helps shed some light as to what may be going on (Be is something I've done or code) |
Replies: 3 comments 4 replies
|
Something else I just noticed... With spindle at speed disabled (value 0) the spindle is reporting its speed. |
|
Saw you pushed some changes so I pulled and tried again. No go same behaviour first part is with spindle at speed enabled (not updating the rpm) then with it disabled (rpm is getting updated) For what its worth it is stopping the spindle now. [VER:1.1f.20220109:] |
|
That has it working thank you :) The first Had to make the following changes to get it to compile with STMIDE. The first one the compiler thought braces were missing based on how it was indented. The second one ifdef i2c_enable resolves true even when i2c_enable is set to 0 diff --git a/Src/driver.c b/Src/driver.c
@@ -2007,7 +2008,7 @@ bool driver_init (void) -#ifdef I2C_ENABLE |
That has it working thank you :)
The first
Had to make the following changes to get it to compile with STMIDE. The first one the compiler thought braces were missing based on how it was indented. The second one ifdef i2c_enable resolves true even when i2c_enable is set to 0
diff --git a/Src/driver.c b/Src/driver.c
index 8af4b52..00fa0e3 100644
--- a/Src/driver.c
+++ b/Src/driver.c
@@ -1879,8 +1879,9 @@ static bool driver_setup (settings_t *settings)
hal.spindle.set_state((spindle_state_t){0}, 0.0f);
hal.coolant.set_state((coolant_state_t){0});
@@ -2007,7 +2008,7 @@ bool driver_init (void)
stream_…