Hello Guest it is May 17, 2021, 06:49:44 PM

Author Topic: error in mcs file code  (Read 292 times)

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  366 366
    • View Profile
error in mcs file code
« 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