- Posts: 3
- Thank you received: 0
Probe_basic 24 pocket atc problem
I am having problems setting up a 24 pocket atc. I am using the atc sim currently. I have added POCKETS = 24 to the ini. I have modified the Toolchange.ngc to work with 24 pockets without success. The var file seems to be the problem. I think there is conflict between the variables i am trying to use with other functions. I have attatched the toolchange.ngc file. Any help would be much appreciated. I am in the process of retrofitting a hurco BMC30. I have everything working under axis and Probe_basic. The atc is the only problem with probe basic currently. Basically it always thinks pocket 15 is empty.
Thanks,
Joel
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
forum.linuxcnc.org/30-cnc-machines/33529...ofit?start=20#145655
There is another config in that topic, might be a better start.
Please Log in to join the conversation.
jkovach77 wrote: Hello,
I am having problems setting up a 24 pocket atc. I am using the atc sim currently. I have added POCKETS = 24 to the ini. I have modified the Toolchange.ngc to work with 24 pockets without success. The var file seems to be the problem. I think there is conflict between the variables i am trying to use with other functions. I have attatched the toolchange.ngc file. Any help would be much appreciated. I am in the process of retrofitting a hurco BMC30. I have everything working under axis and Probe_basic. The atc is the only problem with probe basic currently. Basically it always thinks pocket 15 is empty.
Thanks,
Joel
Yes you are using parameter numbers that are used by linuxcnc already you must find unused numbered parameters and change your files and be sure to add them in the var file as well.
linuxcnc.org/docs/2.8/html/gcode/overview.html
Please Log in to join the conversation.
I was able to get it working. I changed the variables to 1001 through 1024. I also had to make a few changes to other subs to get the atc widgets to load.
Joel
Please Log in to join the conversation.
jkovach77 wrote: Thanks guys,
I was able to get it working. I changed the variables to 1001 through 1024. I also had to make a few changes to other subs to get the atc widgets to load.
Joel
You should be using persistent numbered parameters, those you list state they are volatile. That may give you trouble.
"31-5000 - G code user parameters. These parameters are global in the G code file, and available for general use. Volatile."
Please Log in to join the conversation.
Please Log in to join the conversation.
for the volatile vs.persistent thing though you may have some issues if you lose power without proper shutdown using volatile parameters. that was an issue i ran into early on. hopefully power outages don't happen too often but if they do you will need to manually adjust everything in the files to match the actual machine loaded tools.
Please Log in to join the conversation.
