Help with ATC Widget

More
3 years 2 months ago - 3 years 2 months ago #277996 by msrdiesel
**PROBE BASIC** I am going to add a button to the UI that will run M28. I made the M Code to re-sych the ATC to the proper tool if something goes wrong like, but not limited to a power outage. It simply sets #5170 to be tool #1. This does work if I rotate the carousel to be on actual tool #1 and run M28, but until a re-start of the UI the ATC Widget will not re-reference the new position. What is the code to rotate the ATC sim to tool #1? Or simpler maybe, what gets ran on startup to rotate the ATC Widget to the proper tool, maybe I can simply recall it.

I looked at M10-M13, but found no joy in my approach to swiping their code to rotate the ATC Widget.
I felt their might be a function other than .rotate or .store_tool that performs just this, but I can't find it.

This may be quite useful for the many who do not have an index sensor for their ATC. Of course one could set #5170 to be any tool they want, or perhaps use an input text box to just use the misaligned tool as the current position. May be over-complicated to do the latter though.

Any help is greatly appreciated.
Last edit: 3 years 2 months ago by msrdiesel.

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

More
3 years 2 months ago #278001 by Lcvette
Replied by Lcvette on topic Help with ATC Widget
Are you not using the random ATC functionality?

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

More
3 years 2 months ago #278002 by msrdiesel
Replied by msrdiesel on topic Help with ATC Widget
Nope, I keep it ordered

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

More
3 years 2 months ago #278005 by Lcvette
Replied by Lcvette on topic Help with ATC Widget
Why would you want that?

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

More
3 years 2 months ago #278006 by Lcvette
Replied by Lcvette on topic Help with ATC Widget
seems to me that is causing a bunch of your headache, not to mention a ton more to keep up with. it is much more efficient to use the random pocket method and forego pocket numbers and call the actual tool number you want which is happily stored as one of every tool in your entire tool library matched to your cam software.

I have north of 150 tools and each is called by its actual tool number. no pockets or order to worry with, when i load a tool i load it by its number, if i want the order to be setup for a job to minimize tool change time I simply load the tool int he order they are needed in consecutive carousel pockets. as long as there are no gaps in the carousel pocket order the tool is always returned to the lowest numbered available pocket which is the pocket it was previously stored in. this is so much more efficient than trying to force a maintained order. in this sense there is no worry with what you are trying to fix mentioned above. I would strongly recommend using the random ATC method its just a no brainer really. it solves you creating all of these problems and fixes.

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

More
3 years 2 months ago - 3 years 2 months ago #278011 by msrdiesel
Replied by msrdiesel on topic Help with ATC Widget
Really, I take tool 1 out of pocket 1, when I am done it goes back into pocket 1, if I need tool 2 it rotates to tool 2, I get it, I use it I put it back in pocket 2. Maybe when I grow up and get rich I can have more tools than I know what to do with, but for now that is not the case, and I am 54, so likely ain't happening.

Once again, can the the ATC be reloaded like on startup, or where do I need to look for the code to rotate it to #1?

We have far too many power failures in my neck of the woods, and this is a problem that a loss of power can create.

P.S. I have been writing this response for almost an hour because my flesh says for me to tell you what I really think of your response, but my Christ given Spirit tells me to forgive your in-ability to answer a simple question.
Last edit: 3 years 2 months ago by msrdiesel.

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

Moderators: KCJ, Lcvette
Time to create page: 0.126 seconds
Powered by Kunena Forum