linuxcnc 2.9.2/2.9.3 toolchanger problem

More
1 year 9 months ago #318633 by Artur_1617
Back to changer..
I deleted and reinstaled linuxcnc 2.9.2 today.
Problem still exist.
Make two video with problem.
First with my setup.
When use m6 commands or gcode all is ok.
But when press button for turn changer only carousel.0.current-position pin change carousel.0.pocket-number pin didint change. After that using m6 command machine want to unload tool to actualy position changer where is now no to pocket from before load the tool...
Thinking my setup maby is wrong but tryed with Vismach simulation is the same problem.
Any sugestion where lokking the problem??

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

More
1 year 9 months ago - 1 year 9 months ago #319038 by Artur_1617
The solution was so easy...
In toolchange.ngc file I copied that lines

M68 E0 Q#<selected_pocket> ;set the carousel to move to the right pocket

M64 P0 ; start carousel
;G4 P2
M66 P0 L3 Q60 ; wait for carousel finished
O210 if [#5399 LT 0]
(abort, failed to align carousel)
O210 endif
M65 P0 ; stop carousel


And inserted them to after that line

O100 IF [#<tool_in_spindle> GT 0]

Now I can turn carousel to any position for changing tools. And after that making M6T. carousel back to pocket from before loaded the tool and unload them in right pocket..
But still after change the tool popup screen to confirm like in manual change...
Any help with popup screen??

 

File Attachment:

File Name: toolchange...1-15.ngc
File Size:5.31 KB


 
Last edit: 1 year 9 months ago by Artur_1617.
The following user(s) said Thank You: Aciera

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

More
1 year 9 months ago - 1 year 9 months ago #319043 by Aciera

But still after change the tool popup screen to confirm like in manual change...
Any help with popup screen??


are you maybe still using the manualtoolchange component?
Code:
loadusr -W hal_manualtoolchange
Last edit: 1 year 9 months ago by Aciera.

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

More
1 year 9 months ago - 1 year 9 months ago #319044 by Artur_1617
No I dont use them.
But some time ago I add to my config probe screen and now found in psng.hal this...

# Ensure all toolchange pins are free to use
unlinkp iocontrol.0.tool-number
unlinkp iocontrol.0.tool-prep-number
unlinkp iocontrol.0.tool-change
unlinkp iocontrol.0.tool-changed
unlinkp iocontrol.0.tool-prepare
unlinkp iocontrol.0.tool-prepared

net tool-change            probe.toolchange-change      <=   iocontrol.0.tool-change
net tool-changed           probe.toolchange-changed     =>   iocontrol.0.tool-changed
net tool-number            probe.toolchange-number      <=   iocontrol.0.tool-number
net tool-prep-number       probe.toolchange-prep-number <=   iocontrol.0.tool-prep-number
net tool-prep-loopback     iocontrol.0.tool-prepare     <=   iocontrol.0.tool-prepared
Last edit: 1 year 9 months ago by Artur_1617.

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

More
1 year 9 months ago #319214 by andypugh
You might want to break the links between iocontrol and probe.. as I suspect that is prompting the popup.

Maybe try looping the tool change like the tool prep is.
(but maybe with no tools in the carousel, just in case....)

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

Time to create page: 0.148 seconds
Powered by Kunena Forum