Hi, I searched in the old posts but I cannot find anything related. Perhaps I'm using the wrong keywords.
I want to display a messagebox every time a toolchange command is executed, reading the text in the gcode itself.
Of course I will configure the post processor to include a comment right before (or after) the M6 Tx instruction.
This would be very useful to me for a couple of reasons:
1. instead of manually looking at the gcode to remember what is the next tool to mount, it would be clearly stated in the message box (i.e. "Insert tool #3: 3 mm Z2 end-mill down-cut")
2. for some special application the toolchange instruction is just a way to let the operator to do some other operations (i.e. "Please, do this and that", or "Go ahead or end the job?")
Is it possible to read a comment on the line before (or after) the toolchange instruction and display a message box with that text?