Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: rpotthoff on October 24, 2012, 10:58:08 AM

Title: Overflow Error on line 2 for SpindleWarmup button
Post by: rpotthoff on October 24, 2012, 10:58:08 AM
After doing an upgrade to the latest version, I am now getting a Overflow error when i press my spindle warm up button.
this is the code for the button.
Can anyone help me with this?

Code "M3S8000"
Sleep 120000
Code "S12000"
Sleep (180000)
Code "S16000"
Sleep (180000)
Code "S21000"
Sleep (180000)
Code "S3000"
Sleep (10000)
Code "M5"  
'MsgBox ("The Router does not need to be warmed up.")