Skip to content

Commit 793f147

Browse files
committed
qtdragon_hd -update docs: eternal offsets, probing
1 parent 9611d78 commit 793f147

1 file changed

Lines changed: 79 additions & 16 deletions

File tree

docs/src/gui/qtdragon.adoc

Lines changed: 79 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -641,14 +641,17 @@ If you use auto raise Z to lift the spindle on pause, you must combine the two w
641641
# load components
642642
########################################################################
643643
644+
loadrt logic names=logic-and personality=0x102
645+
addf logic-and servo-thread
646+
644647
# load a summing component for adding spindle lift and Z compensation
645648
loadrt scaled_s32_sums
646649
addf scaled-s32-sums.0 servo-thread
647650
648651
loadusr -Wn z_level_compensation z_level_compensation
649652
# method parameter must be one of nearest(2), linear(1), cubic (0)
650-
setp z_level_compensation.method 1
651653
setp z_level_compensation.fade-height 0.0
654+
setp z_level_compensation.method 1
652655
653656
# connect signals to LinuxCNC's motion component
654657
########################################################################
@@ -661,22 +664,25 @@ setp axis.z.eoffset-enable True
661664
662665
# external offsets for spindle pause function
663666
########################################################################
667+
net eoffset-clear qtdragon.eoffset-clear
664668
net eoffset-spindle-count <= qtdragon.eoffset-spindle-count
669+
net spindle-pause qtdragon.spindle-inhibit spindle.0.inhibit
665670
666-
# Z level compensation
667-
########################################################################
671+
## Z level compensation
672+
####################################################
673+
net eoffset-clr2 z_level_compensation.clear => logic-and.in-01
668674
net xpos-cmd z_level_compensation.x-pos <= axis.x.pos-cmd
669675
net ypos-cmd z_level_compensation.y-pos <= axis.y.pos-cmd
670676
net zpos-cmd z_level_compensation.z-pos <= axis.z.pos-cmd
671677
net z_compensation_on z_level_compensation.enable-in <= qtdragon.comp-on
672678
net eoffset-zlevel-count z_level_compensation.counts => qtdragon.eoffset-zlevel-count
673679
674-
# set up scaled sum component
675-
########################################################################
680+
# add Z level and scaled spindle raise level values together
676681
net eoffset-spindle-count scaled-s32-sums.0.in0
677-
net eoffset-zlevel-count scaled-s32-sums.0.in1 qtdragon.eoffset-value
682+
net eoffset-zlevel-count scaled-s32-sums.0.in1
678683
setp scaled-s32-sums.0.scale0 1000
679684
net eoffset-counts scaled-s32-sums.0.out-s
685+
680686
----
681687

682688
== Probing
@@ -689,9 +695,6 @@ This gives the operator the opportunity to watch the DROs and stop the routine a
689695
[NOTE]
690696
Probing is very unforgiving to mistakes; be sure to check settings before using.
691697

692-
.QtDragon - Versa Probe Option
693-
image::images/qtdragon_versaprobe.png["QtDragon Probe",scale="25%"]
694-
695698
QtDragon has 2 methods for setting Z0.
696699
The first is a touchplate, where a metal plate of known thickness is placed on top of the workpiece,
697700
then the tool is lowered until it touches the plate, triggering the probe signal.
@@ -709,10 +712,38 @@ For touching off with a touch probe, whether you use the touchplate operation wi
709712
the height from table to top of workpiece parameter is not taken into account and can be ignored.
710713
It is only for the tool setter.
711714

715+
=== Versa Probe
716+
717+
.QtDragon - Versa Probe Option
718+
image::images/qtvcp_versaProbe.png["QtDragon Probe",scale="25%"]
719+
720+
Versa probe is used to semi-automatically probe work pieces to find edges, centers and angles. +
721+
It can also be sued to auto probe tool length at tool changes with added remap code.
722+
723+
You must carefully set the 'Probing Parameters':
724+
725+
* 'DIAMETER':: This is the diameter of the probe tip. The accuracy of probe measurements is directly affected by the accuracy of the probe tip diameter.
726+
* 'TRAVEL':: The distance that the probe will travel during the initial search. If the search distance is too short, you will receive a message like "G38 finished without making contact". For safety reasons, it is recommended to set this parameter to 3-4 mm more than probe stylus diameter.
727+
* 'LATCH RTN':: The distance the probe is retracted after making initial contact with the workpiece. This should be a short distance because the second approach will be at a slow speed, but large enough for the probe to break contact and bring it to the search ready state. If the Latch Rtn distance too large, you will end up spending a lot of time waiting for the search to complete. Recommendation: 1-2 mm
728+
* 'SEARCH':: This is the feed rate at which the probe searches for the target workpiece in machine units per minute. The search speed should be slow enough to give an acceptable initial accuracy, but fast enough to not waste time waiting for movement. Recommendation: 200-500 mm/min.
729+
* 'PROBE':: Once initial contact has been made and the probe is retracted, it will wait for 0.5 seconds before performing the search again at a lower speed, the probe velocity. This lower speed ensures the machine can stop movement as quickly as possible on contact with the workpiece.
730+
* 'RAPID':: Axis movements not associated with searching are done at the speed defined by RAPID in machine units per minute.
731+
* 'SIDE/EDGE LENGTH':: This is the distance the probe will move at the rapid rate to the position where it will begin a search. If measuring a corner, it will move EDGE LENGTH units away from the corner, then move away from the workpiece by XY CLEARANCE, lower by Z CLEARANCE and begin the initial search. If measuring an inner circle, then EDGE LENGTH should be set to the approximate radius of the circle. Note: NOT the diameter.
732+
* 'PROBE HT':: The height of the tool sensor from the machine table surface. This value is used to calculate the Z zero height for the current work coordinate system when using the probe with a tool setter sensor.
733+
* 'BLOCK HT':: The height of the top of the workpiece from the machine table surface. This value is used to calculate the Z zero height for the current work coordinate system when using the probe with a tool setter sensor.
734+
* 'XY CLEARANCE':: The distance that the probe will move away from an edge or corner before performing a search. It should be large enough to ensure that the probe will not contact the workpiece or any other fixtures before moving down. It should be small enough to avoid excessive waiting for movement while searching.
735+
* 'Z CLEARANCE':: The distance that the probe will move down before performing a search. If measuring an inside hole, the probe could be manually jogged to the starting Z height and then set Z CLEARANCE to 0.
736+
737+
There are three toggle buttons:
738+
739+
* 'Auto Zero' This selects if after probing the relevant axis is set to zero in the current user system.
740+
* 'Auto Skew' This selects if after probing, the system will be rotated or just display the calculated rotation.
741+
* 'Tool Measure' This (if integrated) turns auto tool probing on and off.
742+
712743
=== Basic probe
713744

714745
.QtDragon - Basic Probe Option
715-
image::images/silverdragon_probe.png["QtDragon Probe",scale="25%"]
746+
image::images/qtvcp_basicProbe.png["QtDragon Probe",scale="25%"]
716747

717748
Basic probe is used to semi-automatically probe work pieces to find edges, centers and angles.
718749
The combo box allows selecting the basic type of probing buttons shown:
@@ -731,16 +762,16 @@ You must carefully set the 'Probing Parameters':
731762
* 'Probe Rapid': the speed of rapid moves in machine units
732763
* 'Probe Search': the speed of the first 'rough' search in machine units
733764
* 'Probe Feed': the speed of the second 'fine' search in machine units
734-
* 'Extra Depth': Lowers the probe further by this much
735765
* 'Step Off': back off and re-probe distance
736-
* 'Max XY Distance': the maximum distance the probe will search for in X and Y before erroring
737-
* 'Max Z Distance': the maximum distance the probe will search for in Z before erroring
738-
* 'XY Clearance': move away distance from probed point before rapid traversing in X and Y
739-
* 'Z Clearance': move away distance from probed point before rapid traversing in Z
766+
* 'Max XY Distance': the maximum distance the probe will search for in X and Y before failing with error
767+
* 'Max Z Distance': the maximum distance the probe will search for in Z before failing with error
768+
* 'XY Clearance': clearance distance from probe to wall edge before rapid traversing down in Z and 'rough' probng.
769+
* 'Z Clearance': clearance distance from probed to top of material
770+
* 'Extra Depth': distance from top of material to desired probe depth
740771

741772
There are also hint parameters depending on selected probing type:
742773

743-
* 'Edge Width': approximate distance the probe start position is from edge
774+
* 'Edge Width': desired distance from the probe start position, along wall edge before starting to probe
744775
* 'Diameter Hint': used by Round Boss or Round Pocket probing (start move: 1/2 diameter plus XY clearance)
745776
* 'X Hint': used by Rectangular Boss/Pocket probing (start move: 1/2 X length plus XY clearance)
746777
* 'Y Hint': used by Rectangular Boss/Pocket probing (start move: 1/2 Y length plus XY clearance)
@@ -755,6 +786,38 @@ The probing routine will start immediately.
755786
[NOTE]
756787
Pressing the stop button or the keyboard escape key, will abort the probing.
757788

789+
==== Corner Probe Example
790+
791+
Lets discuss inside corner probing using the top right button in Basic Probe (back_right_inside).
792+
While all probe entries must be correct, the most important settings to change for each each probe:
793+
794+
* XY CLEARANCE -distance away from edge before rough probing
795+
* Z CLEARANCE -distance from probe to top of material
796+
* EXTRA DEPTH -distance to lower probe from top of material
797+
* EDGE WIDTH -distance along edge wall (away from corner) to start probing.
798+
799+
[NOTE]
800+
These distance are always to be set in 'machine units' (mm for metric machine, inch for imprial machine)
801+
802+
Preset:
803+
804+
* manual set probe at the intersection of the edges (ie corner) of material as described by the green bullseye on the button. Set it Z CLEARANCE above the top of material. These can be done by eye.
805+
* set EXTRA CLEARANCE to a value that you want the probe to go below the _top_ of material.
806+
(So the probe will move from it's start position down Z Clearance + Extra Clearance distance)
807+
* set XY CLEARANCE to a value that definitely gives clearance from the wall so when the probe goes down it doesn't hit anything.
808+
* set EDGE WIDTH to a value that describes the distance measured from the corner, along the wall to where you wish to probe. this edge distance will be used along the X wall and then the Y wall.
809+
810+
Sequence after pressing the probe button: +
811+
812+
. rapid EDGE WIDTH distance away from corner at the same time moving XY CLEARANCE away from edge. So this is a slightly diagonal move.
813+
. move probe down by Z CLEARANCE + EXTRA DEPTH
814+
. probe wall twice (rough and fine)
815+
. move diagonally to the other wall as set by EDGE WIDTH and XY CLEARANCE
816+
. probe wall twice
817+
. raise probe up by Z CLEARANCE + EXTRA DEPTH 9returns to starting height)
818+
. rapid back to starting corner, now calculated using the probed walls.
819+
. if auto zero button is enabled, set X and Y of the current user system to zero.
820+
758821
== Touch plate
759822

760823
.QtDragon - Touch Plate

0 commit comments

Comments
 (0)