Work with probe

More
01 Jul 2024 22:51 #304178 by COFHAL
Replied by COFHAL on topic 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.

More
27 Jul 2024 16:24 #306180 by chernogorsky
Replied by chernogorsky on topic Work with probe
Hi,
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.

More
27 Jul 2024 19:27 - 27 Jul 2024 19:28 #306191 by cmorley
Replied by cmorley on topic Work with probe
Qtdragon uses a derivative of Verser's probe routines. It has diverged a lot code wise.

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.
Last edit: 27 Jul 2024 19:28 by cmorley.

Please Log in or Create an account to join the conversation.

More
27 Jul 2024 21:49 #306194 by chernogorsky
Replied by chernogorsky on topic Work with probe
If its fixed in master - have no issue switched there. will try and be back. ty

Please Log in or Create an account to join the conversation.

More
27 Jul 2024 22:55 #306206 by chernogorsky
Replied by chernogorsky on topic Work with probe
Height is enabled,
dia is still out )

Please Log in or Create an account to join the conversation.

More
28 Jul 2024 06:08 #306218 by cmorley
Replied by cmorley on topic Work with probe
Add this to CONFIG_FOLDER/qtvcp/screen/qtdragon/

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
Attachments:

Please Log in or Create an account to join the conversation.

More
28 Jul 2024 13:22 #306234 by chernogorsky
Replied by chernogorsky on topic Work with probe
Same,
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.

More
28 Jul 2024 13:26 #306235 by chernogorsky
Replied by chernogorsky on topic Work with probe
Ok, it works if I add it to CONFIG_FOLDER/qtvcp/screen/qtdragon_hd/ as qtdragon_hd_handler.py

Thank you

Please Log in or Create an account to join the conversation.

More
28 Jul 2024 17:54 #306250 by chernogorsky
Replied by chernogorsky on topic Work with probe
Ok, it have some Z issue

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.

Time to create page: 0.306 seconds
Powered by Kunena Forum