Hello Guest it is March 28, 2024, 09:23:34 PM

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 - hose

Pages: 1
1
General Mach Discussion / Question about IsMoving...
« on: March 15, 2017, 06:21:06 PM »
I'm new to Mach3 (well a newbie @ CNC all-together) evaluating the latest build (demo) to see how it works with my new Chinese Novusun-NVEM controller. Turns out not great but it seems to be the controller and not Mach3; So I'm modifying the 'ref-all-home' macro to help a bit, as I get better at operating the CNC machine.

The issue I have is with IsMoving() as follows:

(Soft Limits are off)....
.......
code(G00 X30 Y30 Z-7)
While IsMoving()
Wend
'Sleep 2000
DoOEMButton(119)

Soft limits will not turn on, and I get a 'Machine out of limits for Soft Limits Activation' error message; However if I uncomment the Sleep command and wait the 2 secs, it works fine. Does IsMoving() not wait on movements issued via the code() command ??? What did I miss

Pages: 1