For now, I have a routine to probe on the workpiece and the tool sensor, so I manually enter a value for the block height.
probe_blockheight.ngc is a Gmoccapy macro.
Move to the position of any workpiece and set the touch sensor. =>
Start macro. =>
Start by entering the probe height used for the workpiece. =>
Workpiece height is displayed.
Next, I try and put this work into the panel.
1. Enter the probe height.
Actually press a button and enter a calculator like gmoccapy
And want to display it on the label on the right.(Because I use a touch panel.)
Remember even after restarting LINUXCNC.
2. Start routine. Workpiece height is displayed on the right.
3, Set the height of the work piece.
I can't do it here.
Isn't it possible to simulately press the block height button and paste the result?
If not, change the block height with one click.
Please show me the way.
I'm also challenging python, but I've just started Linux and Linuxcnc and I'm puzzled by the sheer volume of manuals.
I'm sorry if English is strange because I rely on translation.