Hello
Guest
it is
May 09, 2025, 07:06:43 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Editing M3 & M4 command to add delay?
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Editing M3 & M4 command to add delay? (Read 6934 times)
0 Members and 1 Guest are viewing this topic.
DICKEYBIRD
436
Editing M3 & M4 command to add delay?
«
on:
March 26, 2013, 02:10:34 PM »
I can manually add in a G4 pause to let my spindle get to full speed before the tool touches metal but would rather have it done automagically in case I forget to edit the code.
I can get m3 & m4.m1s open in the VB scripter window but my 'puter-foo ends there. I tried to look through the manual but I don't have a clue about programming. What do I need to add to DoSpinCW() to allow a 1 or 2 sec delay before the next line executes...or is that even the correct way to go about it?
Logged
Milton from Tennessee ya'll.
Hood
25,835
Carnoustie, Scotland
Re: Editing M3 & M4 command to add delay?
«
Reply #1 on:
March 26, 2013, 02:23:35 PM »
Config menu, Ports and Pins then Spindle Setup, you can set a delay there for M3 and M4 for both spin up and down.
Hood
Logged
DICKEYBIRD
436
Re: Editing M3 & M4 command to add delay?
«
Reply #2 on:
March 26, 2013, 02:56:50 PM »
Oops, even I should've known that. Thanks!
Logged
Milton from Tennessee ya'll.
metalnwood
2
Re: Editing M3 & M4 command to add delay?
«
Reply #3 on:
March 28, 2013, 05:58:29 PM »
I've known that but it doesnt seem to work for me. I set up a delay but my values are ignored. I either have to put a pause in the code or I move the spindle to a far corner to give it time to get going.
Not sure if it is an issue with the ethernet smoothstepper that this doesnt happen for me but adding a delay in mach3 isnt working.
Logged
Hood
25,835
Carnoustie, Scotland
Re: Editing M3 & M4 command to add delay?
«
Reply #4 on:
March 28, 2013, 06:04:24 PM »
I am sure I have had that set with the ESS and it worked, cant remember why I was trying it but.....
Hood
Logged
metalnwood
2
Re: Editing M3 & M4 command to add delay?
«
Reply #5 on:
March 28, 2013, 06:14:12 PM »
yes, I think it works for others as well but I know I am not the only one that it doesnt work for.
I think I will just have to spend 15 minutes seeing how to change the post processor in vectric so that it adds the delay there every time.
Logged
Print
Pages:
1
Go Up
« previous
next »