1
Mach4 General Discussion / Can Mach4 use custom m-codes to trigger a user alert box?
« on: December 06, 2019, 12:47:19 PM »
I would like to make custom m-codes in my cutting programs that trigger an alert box on the screen which has to be clicked on by the user before the program will continue.
I have two examples in mind:
1. An alert box close to the start of the cutting program which reminds the user to set Z-zero to the top of the workpiece or to the table.
2. An alert box which pauses cutting in order for the user to re-clamp the workpiece before continuing cutting.
I've tried searching for how to do this but I'm not finding any lua-scripting examples which trigger an alert box on the screen.
Is this possible? And can anyone steer me in the direction of where to start? I've read through the Mach4 scripting manual but there are no hints for how to make an alert box.
Any help would be much appreciated.
Leo
I have two examples in mind:
1. An alert box close to the start of the cutting program which reminds the user to set Z-zero to the top of the workpiece or to the table.
2. An alert box which pauses cutting in order for the user to re-clamp the workpiece before continuing cutting.
I've tried searching for how to do this but I'm not finding any lua-scripting examples which trigger an alert box on the screen.
Is this possible? And can anyone steer me in the direction of where to start? I've read through the Mach4 scripting manual but there are no hints for how to make an alert box.
Any help would be much appreciated.
Leo