vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.59k stars 538 forks source link

Delay in tool change spindle start #1102

Open leofaoro opened 5 years ago

leofaoro commented 5 years ago

Hello I use the tool change feature, and when I am done with putting the new tool in, the spindle starts and quickly moves to the workpiece without having spun to the target spindle speed. Would you please add a delay command of 5s or so so the spindle can speed up before plunging into the workpiece? Thanks

Harvie commented 5 years ago

Good point! Do you dare to create pull request? :-)

leofaoro commented 5 years ago

While I know some python, I have never made a contribution. I'd love to learn this.

MARIOBASZ commented 5 years ago

Look at the file cnc.py, it deals with the tool change in the sector: code to change manually tool

sfinexer commented 5 years ago

I think this is the prerogative of G-code and not the program B-cnc.

And if the tool is the filament? That at program delay its overheating is possible (for example in pyrography)?

leofaoro commented 5 years ago

Thanks. I know where to find this. I have to learn the process of using GIT.

leofaoro commented 5 years ago

I think this is the prerogative of G-code and not the program B-cnc.

And if the tool is the filament? That at program delay its overheating is possible (for example in pyrography)?

hmm. this is true, but AFAIK bCNC is not for 3D printing, but I may be mistaken. I know using it with laser is also supported. I'll let the maintainers decide. I added a pull request.

sfinexer commented 5 years ago

hmm. this is true, but AFAIK bCNC is not for 3D printing, but I may be mistaken. I know using it with laser is also supported. I'll let the maintainers decide. I added a pull request.

B-cnc is used to send G-code, including for 3D models (engraving, burning, printing).

G-code should be sent without any changes. When creating a G-code, its author (automatic script or otherwise) should take into account all the features of the machine in G-code.

Harvie commented 5 years ago

I guess the pause can be optional selectable in UI...

image

MARIOBASZ commented 5 years ago

Thanks and congratulations for contributing a plugin. Maybe create a new field to choose waiting time before starting spindle. In the probe / tool change sector or in the machine configuration.

leofaoro commented 5 years ago

Thanks and congratulations for contributing a plugin. Maybe create a new field to choose waiting time before starting spindle. In the probe / tool change sector or in the machine configuration.

Thanks Mario, but honestly I contributed exactly 1 line of code :) I am just getting started with python programming and contributing to OS projects.

About your comment: yes that would be ideal. Do we have a place where this field should go by default? I wouldn't want to clutter a place where it's not wanted.

leofaoro commented 5 years ago

I modified my version to include an option to set the time for the spindle to wait. I am away from my CNC so I can't test. Can I submit as a pull request and so someone can test before merging? Newbie here so just learning how to collaborate. thanks

hamster65 commented 5 years ago

Hi, I am also interested in this feature. I do not have an automated tool change but my spindle has a very slow soft start which cannot be switched off and if the position is close to the first "contact coordinates", it is not sufficient time to spin up.

leofaoro commented 5 years ago

It’s been pulled into master with 5s delay.


From: hamster65 notifications@github.com Sent: Friday, January 4, 2019 16:30 To: vlachoudis/bCNC Cc: leofaoro; Author Subject: Re: [vlachoudis/bCNC] Delay in tool change spindle start (#1102)

Hi, I am also interested in this feature. I do not have an automated tool change but my spindle has a very slow soft start which cannot be switched off and if the position is close to the first "contact coordinates", it is not sufficient time to spin up.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/vlachoudis/bCNC/issues/1102#issuecomment-451528081, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB2s8TLv2lrwidTJXYq87uknuXgfVEMCks5u_53QgaJpZM4ZXIQ-.