- Posts: 6
- Thank you received: 0
Tool sensor setup question
7 years 2 months ago #141701
by mark0815
Tool sensor setup question was created by mark0815
Hi!
I'm trying to setup the tool sensor in gmoccapy and getting an error message when doing a M6 after the machine moved to the tool change position:
Does anyone has an idea what's the problem here?
I'm using the latest 2.8-pre from buildbot (updated 1 hour ago) with gmoccapy 3.0.7.1.
I used this ini-file as a stating-point:
github.com/LinuxCNC/linuxcnc/blob/master...capy/tool_sensor.ini
tool.tbl:
Thanks in advance
Mark
I'm trying to setup the tool sensor in gmoccapy and getting an error message when doing a M6 after the machine moved to the tool change position:
Code:
"No tool measurement ! Please take care of the entry in the tool table"
Does anyone has an idea what's the problem here?
I'm using the latest 2.8-pre from buildbot (updated 1 hour ago) with gmoccapy 3.0.7.1.
I used this ini-file as a stating-point:
github.com/LinuxCNC/linuxcnc/blob/master...capy/tool_sensor.ini
tool.tbl:
Code:
T1 P1 D3.000000 Z+180.000000 ;3d-taster
T2 P2 D8.000000 Z-10.000000 ;8mm alu
T3 P3 D10.000000 Z+79.980000 ;10mm 6fl
Thanks in advance
Mark
Please Log in to join the conversation.
7 years 2 months ago #141703
by newbynobi
Replied by newbynobi on topic Tool sensor setup question
Change ngc is returning a positiv value of 3, that is passed to stdglue.py, there it will give the output you mentioned.
All this is caused, because gmoccapy.toolmeasurement is not high, leading to the question:
Have you enabled toolmeasurement on the settings page?
Norbert
All this is caused, because gmoccapy.toolmeasurement is not high, leading to the question:
Have you enabled toolmeasurement on the settings page?
Norbert
Please Log in to join the conversation.
7 years 2 months ago #141715
by linux_tux
Replied by linux_tux on topic Tool sensor setup question
Hello Norbert,
I have the same problem. If I activate the tool measurement in the setting and then make a tool change everything works. When I restart gmoccapy, in the settings the tool measurement is active but greyed out and the error message
"No tool measurement! Please take care of the entry in the tool table"
will be displayed again. In the gmoccapy preference file is "use_toolmeasurement = True".
Thanks and best regards
Ralf
I have the same problem. If I activate the tool measurement in the setting and then make a tool change everything works. When I restart gmoccapy, in the settings the tool measurement is active but greyed out and the error message
"No tool measurement! Please take care of the entry in the tool table"
will be displayed again. In the gmoccapy preference file is "use_toolmeasurement = True".
Thanks and best regards
Ralf
Please Log in to join the conversation.
7 years 2 months ago #141784
by newbynobi
Replied by newbynobi on topic Tool sensor setup question
OK, I can reproduce that and will fix it.
Norbert
Norbert
Please Log in to join the conversation.
7 years 2 months ago #141794
by newbynobi
Replied by newbynobi on topic Tool sensor setup question
Hallo Mark,
hallo Ralf,
thanks for reporting the bug. I just pushed gmoccapy3.0.7.2 correcting the gmoccapy.toolmeasurement hal pin initialization.
I missed to update that pin on startup, leading to not setting all widgets to correct values.
If you find more issues, please report.
Norbert
hallo Ralf,
thanks for reporting the bug. I just pushed gmoccapy3.0.7.2 correcting the gmoccapy.toolmeasurement hal pin initialization.
I missed to update that pin on startup, leading to not setting all widgets to correct values.
If you find more issues, please report.
Norbert
Please Log in to join the conversation.
7 years 2 months ago #141796
by mark0815
Replied by mark0815 on topic Tool sensor setup question
Hi Norbert
Thanks for the quick response. Though I have to admit that I did not discovered the bug but rather should have read the manual as I did not enabled the tool length sensor in the settings...
Mark
Thanks for the quick response. Though I have to admit that I did not discovered the bug but rather should have read the manual as I did not enabled the tool length sensor in the settings...
Mark
Please Log in to join the conversation.
Time to create page: 0.181 seconds
