Selecting different machine profiles. #388
Replies: 2 comments 6 replies
-
There are several options available. What is currently not available is the option to have additional PWM spindles or the option to route the default PWM spindle output to two different spindles. This can more or less easily be "fixed" by plugin code, possibly also by the extending the spindle plugin.
Routing the current PWM spindle output(s) to two or more spindles can be done by adding a switch (relay?) that is controlled by a pin.
Plugin code can subscripe to the
A plugin can claim an interrupt capable aux input and call spindle_select() on a state change to select the spindle. The next major commit will change how additional spindles are included in a build, up to four specific spindles can be enabled in my_machine.h (or by drop-downs in the Web Builder):
To conclude: the core has the needed functionality to handle multiple spindles and switching between them. Driver and/or plugin code is needed to make them available. |
Beta Was this translation helpful? Give feedback.
-
Seguo con interesse, aspetto la nuova build. Attualmente gestisco un co2+405nm mediante 1 uscita pwm che arriva ad un interruttore e devio il segnale dove mi serve, naturalmente a macchina spenta. Si potrebbe anche implementare un sistema per segnalare alla macchina l'esatto offset fra i 2 utensili. Altra cosa, non meno inportante, dovrebbe essere di mantenere il pin di uscita (al momento non utilizzato) in uno stato di 0v o qualcosa vicino. Questo in quanto se stacco il filo del pwm, o sbaglio a commutare, il co2 (o il diodo) si accende al 100% e questo è pericoloso |
Beta Was this translation helpful? Give feedback.
-
So a number of people are putting lasers on their machines next to their spindles. With significantly more powerful diode lasers (40W actual power available now), it is looking like a pretty desirable thing to do. (I'm not going to worry about the safety of this, people are doing it anyway.)
The problem is switching between using a spindle and a laser is clunky. You need to make sure the right one is on and the wrong one is off. You also have to change $32. I've worked out a couple of ways to ensure that only one tool is active at a time but switching $32 seems easy to forget. I do not think there is a way to have an output that says whether grblHAL is in normal or laser mode so the only way is to look at the setting. I don't even know if a plug-in could be written to do that. You can put $32=1 in a macro but not GCode.
So, any ideas or thoughts? My ideal would be a switch on the machine that you could flip to Laser or Spindle and everything would just work.
Beta Was this translation helpful? Give feedback.
All reactions