There is a way to use the two read-only fields “Current” and “Voltage” as fields of the tool created with the button “Create Tool”?
My CNC board can control the Ampere of the plasma generator through a specific G-Code so this field is very interesting.
The CNC board uses an analogic input to manage THC and also Voltage parameter is useful.
I’ve already added two custom tool parameters:
--
--- SHEECAM CUSTOM TOOL PARAMETERS
--
--
post.DefineCustomToolParam("PlasmaTool","Generator Ampere","cutAmpere",sc.unit0DECPLACE, 0, 0, 500)
post.DefineCustomToolParam("PlasmaTool","THC Cut Volts","cutVolts",sc.unit0DECPLACE, 0, 0, 500)
but obviously when I create a new tool with “Create Plasma Tool” these fields are set to 0.
There is a lua script and info on how to extend behaviour ?
Thank you for suggestions.

