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

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

Please Log in or Create an account 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!
The following user(s) said Thank You: cmorley

Please Log in or Create an account 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 or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 5 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!
Last edit: 3 years 5 months ago by tincho80.

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

More
3 years 6 months ago #270308 by Aciera
the problem is in line 9 of your 'test2.11.hal':

source postgui_call_list.hal

This needs to be removed as it tries to access pins that are not yet available.

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

More
3 years 3 months ago #276009 by Kasper-001
hey i have moved it around , and replaced line 9 with   source custom_postgui.hal

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

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

Time to create page: 0.124 seconds
Powered by Kunena Forum