Hello Guest it is November 14, 2019, 10:36:55 PM

Author Topic: STOP command  (Read 1102 times)

0 Members and 1 Guest are viewing this topic.

STOP command
« on: October 16, 2017, 08:28:04 AM »
I have created the M101 command

ActivateSignal(OUTPUT2)
Sleep 100000

It activates fine but does not go to sleep, other posts have offered this as valid script, any ideas?

Thanks,
Dave

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: STOP command
« Reply #1 on: October 16, 2017, 12:23:38 PM »
Try:
Sleep(100000)
Gerry

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

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

Offline TPS

*
  •  1,406 1,406
    • View Profile
Re: STOP command
« Reply #2 on: October 16, 2017, 01:08:22 PM »
hi,
if you have a look to the Mach Script Language Referenceit says:

Sleep  Sub
Sleep(Time As Integer)

so a 100000 is more than an integer can take.

Thomas
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: STOP command
« Reply #3 on: October 17, 2017, 09:35:29 PM »
Thanks guys, I figured it out and you were helpful!