- Posts: 572
- Thank you received: 115
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
JohnnyCNC wrote: I noticed something else. I have my machine units set to inch and at the end of the probe action using the Touch-Plate button on the Tool screen it switches to Metric.
Please Log in or Create an account to join the conversation.
persei8 wrote: QtDragon was never intended to be used with an ATC but I could certainly look into it. It would only affect the tool table when using a tool setter, not a touchplate.
As for the dialog, add the following to your stylesheet.
Adjust the color or any other parameters you like to suit whatever stylesheet you're using.Code:QDialog { background-color: gray; } QDialog QPushButton { width: 100px; height: 40px; }
Please Log in or Create an account to join the conversation.
cmorley wrote:
JohnnyCNC wrote: I noticed something else. I have my machine units set to inch and at the end of the probe action using the Touch-Plate button on the Tool screen it switches to Metric.
In 2.8 the macros for probing are in nc_files/probe/basicprobe/macrosCode:[RS274NGC] SUBROUTINE_PATH = ../../../../nc_files/probe/basic_probe/macros
looking at the macro for touch_plate.ngc:
Code:o<touch_plate> sub #<max_probe> = #<_ini[TOOLSENSOR]maxprobe> #<search_vel> = #<_ini[TOOLSENSOR]search_vel> #<probe_vel> = #<_ini[TOOLSENSOR]probe_vel> #<touch_height> = #<_ini[TOOLSENSOR]touch> (print, max_probe is #<max_probe>) (print, search vel is #<search_vel>) (print, probe vel is #<probe_vel>) (print, touch height is #<touch_height>) G21 (use metric units) G49 (cancel tool offset) G10 L20 P0 Z0 (clear current offsets) G91 (switch to incremental mode) ; this section commented out for sim ;G38.2 Z[-#<max_probe>] F#<search_vel> (probe down) ;G1 Z1.0 (go up 1 mm) ;G4 P0.5 (pause 0.5 sec.) ;G38.2 Z-2 F#<probe_vel> (probe down slower) ; this section used for sim, comment out otherwise G1 Z-10 F#<search_vel> G10 L20 P0 Z#<touch_height> (store offset in offset table) G90 (absolute distance mode) G53 G0 Z0 (move Z up to 0) o<touch_plate> endsub M2
It sets metric for it's process.
I'm sure there is away to record the current units before and restore them after.
Chris
Please Log in or Create an account to join the conversation.