Hello Guest it is April 26, 2024, 08:34:42 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - FrankL

Pages: 1
1
General Mach Discussion / Pause, turn off spindle, jog & resume
« on: April 08, 2009, 06:30:23 AM »
Hi,
I have searched the forum but didn't find a solution for what I want to do.
Maybe a basic question but I am just starting.

I'm going to a show with the machine and will have to demo it to visitors. I like to run a file in several small parts with long pauses in between. I know I can use "Pause" and "Start" to do this but that doesn't stop the spindle nor the dust collector. "Stop" will do that but then "Start" will not restart them. I also may need to jog somewhere during these pauses and come back to where the running file was stopped to continue it.
So, is there a way to do this without writing a macro and if yes, what is the correct procedure ? Or should I just restart spindle/dust collector manually before hitting "Start" ?

Thank you for your help.

2
Hi,

I have been looking at various posts regarding this, but I just can't find why the following code is not running correctly no matter how the "Stop on M1 command" is set in the General Config panel or if I use the button on the main screen.
In the code below, the 1st M01 command is ignored and the 3rd pause is not working at all. If I comment out the 1st M01 and use the 1st SystemWait, then I can stop on the 1st pause but then the second / 3rd pauses are ignored.
Any idea on why and how to get this to work ?
Thank you
(I'm running Mach3 v3.041 on XP)

=============

Sub Main()

'Test Stop on M01

Code "M01"            'sets a machine pause
Code "(Press Start to continue - 1)"   'this goes in the status bar
'SystemWaitFor (Start)

'Code "M01"            'sets a machine pause
Code "(Press Start to continue - 2)"   'this goes in the status bar
SystemWaitFor (Start)

Code "M01"            'sets a machine pause
Code "(Press Start to continue - 3)"   'this goes in the status bar
'SystemWaitFor (Start)

Code "(End)"            'this goes in the status bar
End Sub


Pages: 1