Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: elpablito on April 09, 2010, 11:23:11 PM

Title: Ismoving not working when feedholding a G83 command
Post by: elpablito on April 09, 2010, 11:23:11 PM
Hi,

this problem happens when my code is running canned cycles (as G83) and press the feedhold buttom.
My feedhold button executes this macro

'FeedHold
DoOemButton(1001)
While IsMoving()
   Sleep (100)
Wend
SetUserLED(2001,1)
 
This routine works great when holding during a G0,G1,G2 etc, but when feedholfing a G83 the movement actually pauses but the Ismoving() never returns false, and the loop never exits

Any clue about what can cause this behavior?

Thanks
Title: Re: Ismoving not working when feedholding a G83 command
Post by: ALLEN on April 20, 2010, 08:22:46 AM
HELLO OFFLINE:
       I am a beginner
      I  want turn on a led of the FEED HOLD on,it`s led is on ,please give me a example
file is the "m1001.mls"
thanks
gys16435@sina.com
Title: Re: Ismoving not working when feedholding a G83 command
Post by: Kenneth on January 21, 2014, 10:33:31 AM
elpablito,
as you said.g83 is a canned cycle and mcodes don't work well in them.

allen, there's a standard led for pause/feedhold. OEM-code 80