Work with probe
Yes, this is an adapted latest version 2.8.
With remote disabling of tool metering?
Probe Screen allows the tool length to be automatically measured during g-code execution when an M6 command is encountered. The user will only have to remove the old one and install the new cutter in the designated place. Remap of M6 is required in .ini. If you don't need this feature, just don't remap M6 in .ini
When I comment out the remap instruction in the INI, I can make the tool change, but if I uncomment the error always appears: Linear move on line 31 Would exceed Zs positive limit and invalid params in linear comma
Resolved. I found the problem, since both the tool change position and the tool setter position are absolute positions, the Z values in the INI must be negative.
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
Have some issue, cant make Probe height for current tool / Probe height and dia of the current tool working
all other functions works, but that 2 probing remain disabled
versaprobe is set and working
pi4 / linuxcnc 2.9.1 / qtdragonhd
Tool measure enabled
M6 remap done
toolsetter xyz set, speed, dia, rev speed seet
[TOOLSENSOR] X = -112.285 Y = -253.954 Z = -30 MAXPROBE = -60 RAPID_SPEED = 600 TS_DIAMETER = 19.72 REV_ROTATION_SPEED = 0 [VERSA_TOOLSETTER] X = -135.39 Y = -233.91 Z = -2 Z_MAX_CLEAR = -2 MAXPROBE = 125 RAPID_SPEED = 600 TS_DIAMETER = 19.72 REV_ROTATION_SPEED = 2000 [CHANGE_POSITION] X = -135.39 Y = -233.91 Z = -2 [RS274NGC] PARAMETER_FILE = linuxcnc.var RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025 SUBROUTINE_PATH = ~/linuxcnc/nc_files:~/linuxcnc/nc_files/remap-subroutines:~/linuxcnc/nc_files/remap_lib:~/linuxcnc/nc_files/ngcgui_lib ON_ABORT_COMMAND=O call REMAP=M6 modalgroup=6 prolog=change_prolog ngc=qt_auto_probe_tool epilog=change_epilog
Please Log in or Create an account to join the conversation.
The tool probing measure routines are disabled in 2.9 (enabled in master).
The routines are there but I'm not sure if they are right - I'm sure master got more work done.
It's possible to enable them with a simple python file patch, but you would need to test very carefully. If you are interested in that, please open a subject in Qtvcp forum.
Maybe Verser can help us get the code better in the linuxcnc version.
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
dia is still out )
Please Log in or Create an account to join the conversation.
name it qtdragon_handler.py
Then the button will be enabled.
It will probe down
then move in x half of (tool diameter from the tooltable+tool probe diameter) probe
move to the other side in x - probe
move to the center then do the same in Y
then will display the diameter in the probe status
Chris
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
Do I need add it somethere to be loaded (like include qtdragon_handler)
> Add this to CONFIG_FOLDER/qtvcp/screen/qtdragon/
> name it qtdragon_handler.py
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
Thank you
Please Log in or Create an account to join the conversation.
- chernogorsky
- Offline
- Junior Member
- Posts: 34
- Thank you received: 1
so the flow is
1. do probe_tool_with_toolsetter
1.1 touch TS
1.2 go back Z_CLEARANCE (Z = *0 + Z_CLEARANCE)
2. perform XMinus
2.1 Go to X+ # move X - edge_length- xy_clearance
2.2 Go down with z_clearance_down (Z = Z - Z_CLEARANCE == *0)
2.3 Perform probe('xplus')
on 2.3 I have an issue, since its try to locate the edge of the TS with Z = top_of_TS == *0
Please Log in or Create an account to join the conversation.