Hello Guest it is April 19, 2024, 08:04:45 AM

Author Topic: STOP command  (Read 1894 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,295 6,295
    • 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

*
  •  2,505 2,505
    • 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 to do 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!