If I start the spindle, ALARM:13 is displayed #620
-
Describe the bug Describe your hardware:
#ifndef BOADMAP_OVERRIDES_H #include "boardmap_reset.h" #define DIR3_BIT 3 #define STEP3_EN_BIT 7 #define PWM0_BIT 5 #ifndef CNC_HAL_OVERRIDES_H #include "cnc_hal_reset.h" #ifdef __cplusplus #ifndef CONFIG_AT_H #ifdef __cplusplus /* / * $0 * / //cnc_config.h //cnc_hal_config.h #ifdef __cplusplus #endif |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If this only happens when you run the spindle...most probably it's not a bug but a noise issue. You can confirm this by running the same GCODE with the spindle unpowered (but still using M3, M4 and M5 commands) and nothing trips. You can solve this with hardware. I recommend using some optocouplers (like the inexpensive PC817) and work with 2 voltage levels. 5V on the Arduino side (near the board) and 12V or 24V (or whatever power supply you are using on the other side (on the limits wires). Here is an example: I've also had this issue with my Spindle+VFD. The optocouplers solved it. EDIT |
Beta Was this translation helpful? Give feedback.
-
You were right, there are interferences with the Spindle+VFD and the relay that turns on the spindle cooling |
Beta Was this translation helpful? Give feedback.
If this only happens when you run the spindle...most probably it's not a bug but a noise issue.
If you can run GCODE ok and nothing goes wrong and when you turn the spindle on it trips an alarm now and then you have a noise issue.
You can confirm this by running the same GCODE with the spindle unpowered (but still using M3, M4 and M5 commands) and nothing trips.
You can solve this with hardware. I recommend using some optocouplers (like the inexpensive PC817) and work with 2 voltage levels. 5V on the Arduino side (near the board) and 12V or 24V (or whatever power supply you are using on the other side (on the limits wires).
Here is an example:
https://planet-cnc.com/wp-content/uploads/201…