refill dynatc widget on startup

More
07 Mar 2020 13:14 #159411 by anfänger
Hello,

I would like to ask if there is a way to refill the atcha widget on startup?
Usually I would do it while referencing the atc but my atcha doesn't need referencing, so it would be neat to refill the widget without an extra button.

Thanks Patrick
The following user(s) said Thank You: Lcvette

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

More
07 Mar 2020 15:58 #159418 by KCJ
Replied by KCJ on topic refill dynatc widget on startup
Hello Patrick,

This is the NGC code that is used to fill the ATC widget after homing, it is located in Lcvette's M13 remap.
#1 = 0
o130 while [#1 LT 12]
    #1 = [#1+1]
    #2 = #[5189+#1]
    (DEBUG, EVAL[vcp.getWidget{"dynatc"}.store_tool{#1, #2}])
o130 endwhile

You could remove the actual ATC homing logic and adds M13 to your startup code, or just hit the button after starting the machine and all it would do is load the widget.

I am working on a completely revamped set of ATC subroutines and python remaps, that will allow the ATC to retrieve and store data to the tool table file. Once this is done the ATC will be able to read and load from the tool table at initial start-up, instead of having to wait for LinuxCNC to be on and enabled.

Cheers,
Kurt
The following user(s) said Thank You: Lcvette, anfänger

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

More
07 Mar 2020 20:43 #159436 by anfänger
I reused the code of the tool changer scritp for my button solution.
and will add the M13 to my startup.
Handling directly the tool table will be an nice improvement.
It is quite impressive what you guys are doing here. Many thanks and Thanks for all the support!

cheers Patrick
The following user(s) said Thank You: Lcvette

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

More
10 Mar 2020 15:03 #159660 by Lcvette

I reused the code of the tool changer scritp for my button solution.
and will add the M13 to my startup.
Handling directly the tool table will be an nice improvement.
It is quite impressive what you guys are doing here. Many thanks and Thanks for all the support!

cheers Patrick


saw the video of the tool changer and touchoff!! looking great!!
there are some fixes to the tool touch off routine coming soon that fix a couple bugs we found when touching off with a wcs offset active, so hopefully that will be out in the next couple days with the next release!

keep up the awesome machine retrofit!

Chris
The following user(s) said Thank You: anfänger

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

More
10 Mar 2020 19:57 - 10 Mar 2020 20:10 #159693 by anfänger
I will have a look at it. I really like your scripts. They are well documented and help me understand how the files work, so I can adjust them to my needs. There is one thing that would be good to have. A way to flag if a tool should be touched of with radial offset or not. At the moment I am thinking of using a range of tool numbers for my facemill and large diameter tools.

Cheers Patrick
Last edit: 10 Mar 2020 20:10 by anfänger.

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

Moderators: KCJLcvette
Time to create page: 0.309 seconds
Powered by Kunena Forum