[solved] Toolnumber >999 wont work

More
25 Jul 2020 15:29 - 12 Aug 2020 05:39 #175745 by anfänger
Hi,

I post this here cause I think this is a probe basic problem. I want to work with tool numbers >1000 cause this way i can easily code the type and diameter of the tool into the tool number. this helps me with organising my tools. Linuxcnc is limited to 55 tools in the tablebut can use numbers up to 99999. at least the manual says so:
linuxcnc.org/docs/html/gcode/tool-compen....html#sec:tool-table

But when I try to change tool i get the error: tool 3200 not found. but is in the table:
;Tool  X Offset     Y Offset     Z Offset     Diameter     Remark
T100   X+0.000000   Y+0.000000   Z+206.318000 D+0.000000   ; 3d probe analog
T101   X+0.000000   Y+0.000000   Z+460.294000 D+70.000000  ; empty spindle
T102   X+0.000000   Y+0.000000   Z+0.000602   D+70.000000  ; empty spindle probe
T200   X+0.000000   Y+0.000000   Z+0.000000   D+0.000000   ; arm 5 cameara and Fogbuster
T1060  X+0.000000   Y+0.000000   Z+140.234000 D+6.000000   ; 6mm hss drill
T1080  X+0.000000   Y+0.000000   Z+165.039418 D+8.000000   ; 8mm drill
T2002  X+0.000000   Y+0.000000   Z+141.410998 D+16.600000  ; centerdrill-inset-17-1-8
T3200  X+0.000000   Y+0.000000   Z+165.922000 D+20.000000  ; Sch-Wen-20-1-17
T3400  X+0.000000   Y+0.000000   Z+92.199998  D+40.000000  ; Pla-Wen-40-3-15
T4050  X+0.000000   Y+0.000000   Z+0.000000   D+5.000000   ; 5mm vhm mill 3 flute
T4160  X+0.000000   Y+0.000000   Z+0.000000   D+16.000000  ; 16mm vhm mill 3 flute

anyone an idea?

thanks Patrick
Last edit: 12 Aug 2020 05:39 by anfänger. Reason: Solved

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

More
25 Jul 2020 16:21 - 25 Jul 2020 16:24 #175747 by MaHa
Replied by MaHa on topic Toolnumber >999 wont work
In Tooltable i use, there is a column POC, and the number entered is equal T number. And I can use large toolnumbers.

in axis ui
Last edit: 25 Jul 2020 16:24 by MaHa. Reason: ui

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

More
26 Jul 2020 06:46 #175861 by anfänger
Replied by anfänger on topic Toolnumber >999 wont work
This is a tool table created by probe basic. This is why I think it is a qtpyvcp issue

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

More
26 Jul 2020 13:10 #175894 by Lcvette
Replied by Lcvette on topic Toolnumber >999 wont work

Hi,

I post this here cause I think this is a probe basic problem. I want to work with tool numbers >1000 cause this way i can easily code the type and diameter of the tool into the tool number. this helps me with organising my tools. Linuxcnc is limited to 55 tools in the tablebut can use numbers up to 99999. at least the manual says so:
linuxcnc.org/docs/html/gcode/tool-compen....html#sec:tool-table

But when I try to change tool i get the error: tool 3200 not found. but is in the table:
;Tool  X Offset     Y Offset     Z Offset     Diameter     Remark
T100   X+0.000000   Y+0.000000   Z+206.318000 D+0.000000   ; 3d probe analog
T101   X+0.000000   Y+0.000000   Z+460.294000 D+70.000000  ; empty spindle
T102   X+0.000000   Y+0.000000   Z+0.000602   D+70.000000  ; empty spindle probe
T200   X+0.000000   Y+0.000000   Z+0.000000   D+0.000000   ; arm 5 cameara and Fogbuster
T1060  X+0.000000   Y+0.000000   Z+140.234000 D+6.000000   ; 6mm hss drill
T1080  X+0.000000   Y+0.000000   Z+165.039418 D+8.000000   ; 8mm drill
T2002  X+0.000000   Y+0.000000   Z+141.410998 D+16.600000  ; centerdrill-inset-17-1-8
T3200  X+0.000000   Y+0.000000   Z+165.922000 D+20.000000  ; Sch-Wen-20-1-17
T3400  X+0.000000   Y+0.000000   Z+92.199998  D+40.000000  ; Pla-Wen-40-3-15
T4050  X+0.000000   Y+0.000000   Z+0.000000   D+5.000000   ; 5mm vhm mill 3 flute
T4160  X+0.000000   Y+0.000000   Z+0.000000   D+16.000000  ; 16mm vhm mill 3 flute

anyone an idea?

thanks Patrick


Have posted this to qtpyvcp dev group, we just made some changes in dev version to expand the tool table limit and it is no longer restricted to 56 tools in the table, that release should be coming very soon to the quickstart install version.
The following user(s) said Thank You: anfänger

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

More
26 Jul 2020 15:38 #175915 by anfänger
Replied by anfänger on topic Toolnumber >999 wont work
I messed a bit around.

I updated with
git pull
and then pip install --update -e .

and restored my ui file afterwards.

then I added this to my YAML
data_plugins:
  tooltable:
    kwargs:
      # specify the columns that should be read and writen to the
      # tooltable file. To use all columns set to: TPXYZABCUVWDIJQR
      columns: PTXYZDR
      # specify text to be added before the tool table data
      file_header_template: |

and deleted the old tool table and made a new one with probe_basic.

Now tool numbers >999 work. BUT wen I change tools my diameter and Offsets are not updated until I press the reload table button

I am a bit confused here.

many thanks for your support and sorry that I can't help

Patrick
The following user(s) said Thank You: KCJ

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

More
26 Jul 2020 22:31 #175989 by KCJ
Replied by KCJ on topic Toolnumber >999 wont work
Patrick,

What do you mean the diameter and offsets are not updated?
Are they not updated in the diameter and offsets readouts in ProbeBasic?
Or are they not updated in the ToolTable widget?

The tool table plugin SHOULD be watching for the when the current tool changes and sending signals to the display widgets for them to update themselves. Wondering if there might be a breakdown there.

Thanks,
Kurt

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

More
27 Jul 2020 05:43 #176006 by anfänger
Replied by anfänger on topic Toolnumber >999 wont work
The tool table is updated and the tool table widget too.
But other widgets are not. There is still the old diameter, length and tool name. I will make a video this evening.

What is also odd is that LinuxCNC is parsing tool numbers als float now. Maybe this is causing the trouble.

Thanks,

Patrick

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

More
03 Aug 2020 19:45 #177074 by anfänger
Replied by anfänger on topic Toolnumber >999 wont work
I upgraded linuxcnc today and reinstalled qtpyvcp, this solved the issues.

slowly it is time to finalize my gui and freeze to make sure I don't mess things up. At The moment for me just two things are missing. A bigger tool table (I know you are on there) and an input / Calculator for setting wcs.

Thanks Patrick
The following user(s) said Thank You: KCJ

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

Moderators: KCJLcvette
Time to create page: 0.076 seconds
Powered by Kunena Forum