Hello Guest it is April 25, 2024, 10:20:45 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  563 563
    • 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