Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Bill_O on October 25, 2019, 04:15:24 PM

Title: error in mcs file code
Post by: Bill_O on October 25, 2019, 04:15:24 PM
I have a very specialized machine running Mach4.
I have one macro that is to cut the material and return to a starting position.
The operator of the machine has the choice to have the machine cut the material automatically or manual where they must press a button.
I made a message box to pop up when they chose the manual telling them to press the button.
On the first m60 of the program it works perfect.
On the second I get the error screen. If I click No the message box pops up and everything functions.
If I comment out the message box if-then section I do not get the error.
I have attached the error in a picture, the m60 code and the file that I was running.
Any ideas what I am missing?

Bill