Hello Guest it is March 28, 2024, 07:37:49 PM

Author Topic: order  (Read 2328 times)

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  563 563
    • View Profile
order
« on: March 29, 2011, 08:21:56 AM »
Can anyone tell me why the output in this section of a macro is deactivating before the motor moves up?

'Lift Spindle to safe height
   DoOEMButton(104)
   While IsMoving()
   Sleep(10)
   Wend
'MDF Frame Up
   DeActivateSignal(Output10)
   SetUserLED(1010,0)
   Sleep(2000)

Thanks, Bill

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: order
« Reply #1 on: March 29, 2011, 11:33:40 AM »
Try it without the sleep(10)

'Lift Spindle to safe height
   DoOEMButton(104)
   While IsMoving()
   Wend
'MDF Frame Up
   DeActivateSignal(Output10)
   SetUserLED(1010,0)
   Sleep(2000)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html