To Display Kerf width in the post

Hello,

I use Plasma and I should like to display the Kerf width or Toolname in the g-file (post.Text).
So that I also see the Kerf width when I open the g-file with a normal Editor.
I have different Tools T1:1.2 Kerf, Kerf T2:1.6 Kerf … for different Materials.

Thanks!

What post are you using? You can edit the post yourself to add this. Go to Options->machine->post processor and click on the ‘edit post’ button. Look for this line:
function OnToolChange()

Immediately after it, add these lines:
post.Text (" (“, toolName, “, kerf width”)
post.Number(toolDia, “0.0###”)
post.Text(”)\n")

It works! I use the ESSI post. My Machine works with essi too. i have made this modification:

function OnToolChange()
post.Text(“03\n”) – Text start
post.Text (" (", toolName, “)\n”)
post.Text(“04\n”) – Text end
end


The result is:

%
71
81
38
03
(Kerf 1,2 mm)
04
05
+382-394
06
07
-2-4+1-3+
+40+
+100+296
-56+1
-60-194
-2±1±
-53+193
-59+
+89-296
+4+3++3+
08


Thank you and Happy Christmas!