Auto Tool Measurement setup,makes gmoccapy slow and difrent configation,

More
3 years 6 months ago #268439 by Kasper-001
hello
 
im trying to setup auto tool measurement 
when i put this segment, into the ini.file under [RS274NGC]
it makes the gmoccapy really really slow, and it dos not work
i was following this guide  linuxcnc.org/docs/html/gui/gmoccapy.html...uto-tool-measurement

----
# Enables the reading of INI and HAL values from gcode
Code:
FEATURES=12 # is the sub, with is called when a error during tool change happens, not needed on every machine configuration ON_ABORT_COMMAND=O <on_abort> call # The remap code REMAP=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog
---



 

Please Log in to join the conversation.

More
3 years 6 months ago #268472 by cmorley
Did you add the [PYTHON] section too?
Did you add the abort.ngc file?

Can you run linuxcnc from a terminal and post what it prints?

Please Log in to join the conversation.

More
3 years 6 months ago #269756 by Kasper-001
yes i just tried one more time, and the same happen, very slow loading,

if i attachs the whole config folder can you help me ? 

Please Log in to join the conversation.

More
3 years 6 months ago #269780 by tincho80
Hi,
unfortunately, I am facing the exact same problem!
I followed the manual precisely: linuxcnc.org/docs/stable/html/gui/gmocca...uto-tool-measurement

Only when I comment out the prolog and the epilog, the gmoccapy-gui starts normal. but of course then, the tool length measurement doesen't work...

So if someone could please help, I would be very happy, too! many THANKS in advance!
Code:
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog

Please Log in to join the conversation.

More
3 years 6 months ago #269840 by cmorley
A pause while loading usually occurs when linuxcnc has a path problem with remap.
Under the PYTHON heading those path settings must be right.

Please Log in to join the conversation.

More
3 years 6 months ago #269841 by cmorley
How we need to see your config files please

Please Log in to join the conversation.

More
3 years 6 months ago #269987 by Kasper-001

Please Log in to join the conversation.

More
3 years 6 months ago #270086 by tincho80
It's all working now for me! the only missing thing was the postgui.hal file which I had to create and write manually (to fill with the needed content) according to the instructions in the manual (above link "gmoccapy - tool length measurement")

sorry for bothering the forum!

Please Log in to join the conversation.

More
3 years 6 months ago #270224 by Kasper-001
now i got this, and i don´t know where to put that pin who is missing,

Debug file information:
custom_postgui.hal:11: Pin 'gmoccapy.toolchange-change' does not exist

Please Log in to join the conversation.

More
3 years 6 months ago #270307 by tincho80
hm. I am not a pro.
But it might depend on what you defined in the "HAL-section" in your machine.ini file:
Code:
[HAL] HALUI = halui HALFILE = BridgeportCNC-1.hal HALFILE = custom.hal HALFILE = vc-p4s.hal POSTGUI_HALFILE = postgui_call_list.hal POSTGUI_HALFILE = vc-postgui.hal SHUTDOWN = shutdown.hal
look, what is written in your "postgui_call_list.hal"-file. Mine looks like this and it works:
Code:
# These files are loaded post GUI, in the order they appear source custom_postgui.hal
what ever file you are loading at start up, it should contain the code below.

my postgui.hal is empty. but the custom_postgui.hal should look like the following:
Code:
[code][code]# The next lines are only needed if the pins had been connected before unlinkp iocontrol.0.tool-change unlinkp iocontrol.0.tool-changed unlinkp iocontrol.0.tool-prep-number unlinkp iocontrol.0.tool-prepared # link to gmoccapy toolchange, so you get the advantage of tool description on change dialog net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
[/code]
[/code]

good luck! once it's working, it's a dream! It's worth the effort to fix it!

Please Log in to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum