Hi,
so now i have the parser connected to the Button "Load" of GCode and so the ToolDescription is always read after load new GCode. No other Button requiered.
Only change the "LOAD" Button to start a macro instead of the OEMCode 216 and in the macro i have do following:
DoOEMButton(216)
'M1999.m1s ist the PArser-Script
Code ("M1999")
On the close Button the same... macro with following:
DoOEMButton(169)
'M1999.m1s ist the PArser-Script
Code ("M1999")
'Also delete the UserLabels
SetUserLabel(101, "No GCode loaded!")
SetUserLabel(102, "")
SetUserLabel(103, "")
SetUserLabel(104, "")
SetUserLabel(105, "")
SetUserLabel(106, "")
SetUserLabel(107, "")
SetUserLabel(108, "")
SetUserLabel(109, "")
SetUserLabel(110, "")
Regards,
nighteagle