Hello Guest it is March 28, 2024, 07:00:21 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

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