Tool setter setup

  • CaspianCmonster
  • Away
  • Junior Member
  • Junior Member
More
27 Dec 2024 11:24 #317461 by CaspianCmonster
Tool setter setup was created by CaspianCmonster
Hi all, like many people out there I am trying to get a tool setter setup. 
I am working from the example files but I think I have issues with file/folder mapping among other problems. 

I get a startup error usr/share/axis/images/axis.ngc: pycall(remap.change_prolog) failed 

I found a similar issue in my searches but haven't been able to figure it out. 

many thanks

Luke 

 
Attachments:

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

More
27 Dec 2024 12:28 #317464 by MaHa
Replied by MaHa on topic Tool setter setup
The path for python is missing in the ini

linuxcnc.org/docs/stable/html/remap/rema...emap:embedded-python
[PYTHON]
# where to find the Python code:

# code specific for this configuration
PATH_PREPEND=./

# generic support code - make sure this actually points to Python-stdglue
PATH_APPEND=../../nc_files/remap_lib/python-stdglue/

# import the following Python module
TOPLEVEL=toplevel.py

# the higher the more verbose tracing of the Python plugin
LOG_LEVEL = 0
The following user(s) said Thank You: CaspianCmonster

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

  • CaspianCmonster
  • Away
  • Junior Member
  • Junior Member
More
27 Dec 2024 13:36 #317470 by CaspianCmonster
Replied by CaspianCmonster on topic Tool setter setup
thank you, that is clearly something I need to fix :)

It would be really nice if I could just start with the demo files and adjust them to my machine's specs but I haven't figured out how to get that to work.

Luke

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

  • CaspianCmonster
  • Away
  • Junior Member
  • Junior Member
More
27 Dec 2024 15:26 #317481 by CaspianCmonster
Replied by CaspianCmonster on topic Tool setter setup
Hi, I am making progress I think. 
the error I have now is that when I try test a file with an M6 command it I get an error 
"Program exceeds machine maximum on axis Z" 
It doesn't matter what code I have in there or where the machine is zeroed 

I have found how to sets the locations of the probe but can't find the source for the probing travels (I think the gcode has a reference to the INI but I don't see anything there) 
perhaps this is an inch vs mm thing,again I think that is correct in the file but it is a bit confusing. 

thank you 

Luke 
Attachments:

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

More
27 Dec 2024 16:17 - 27 Dec 2024 17:22 #317485 by MaHa
Replied by MaHa on topic Tool setter setup
Change position must be 0 or negative value
XYZ change positions are all in machinecordinates G53:

g53 g0 Z #<_ini[change_position]z>
Last edit: 27 Dec 2024 17:22 by MaHa.

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

  • CaspianCmonster
  • Away
  • Junior Member
  • Junior Member
More
27 Dec 2024 18:03 - 27 Dec 2024 18:25 #317492 by CaspianCmonster
Replied by CaspianCmonster on topic Tool setter setup
Thanks, that was helpful. I am still not used to the coordinate system but the locations are now ok and it starts without errors but when I run M6 it goes to the tool change position but stops there with no prompts like there are in the demo.
I think manualtoolchange.glade isn't being used 

thanks
Luke
Last edit: 27 Dec 2024 18:25 by CaspianCmonster. Reason: correction

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

More
27 Dec 2024 19:20 - 27 Dec 2024 20:18 #317502 by MaHa
Replied by MaHa on topic Tool setter setup
there must be a postgui.hal file, where the digital outputs M64 M65 and analog output M68 are connected, eg. motion.analog-out-00
Maybe from the source of your file, there are more infos.

In the ini file there is an entry for glade tab. Normally this tab should be loaded, when axis starts.  Maybe the tab gladevcp has some display or setting for toolchange
Last edit: 27 Dec 2024 20:18 by MaHa.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum