Gladevcp Toolchange by Michael H

More
01 Oct 2012 16:47 #24816 by mariusl
Hi,
Does anyone know where I can find the Gladevcp toolchange gui that Michael showed on Youtube please?

Regards
Marius


www.bluearccnc.com

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

More
01 Oct 2012 18:58 #24827 by mhaberler
mariusl wrote:

Hi,
Does anyone know where I can find the Gladevcp toolchange gui that Michael showed on Youtube please?


Hi mariusl,

there are several toolchange-related videos in my youtube channel - which one you're referring to?

for the rack toolchange, and toolchange with length-probe, see configs/sim/remap in master (this is NOT in 2.5).

- Michael

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

More
01 Oct 2012 19:08 #24828 by mariusl
Hi Michael,
The sneak preview one. That allow one to move the tool and do things while EMC is waiting for M6 to finish. You had a screen with several TABS and included Les Newell's toolchange fix.

Regards
Marius


www.bluearccnc.com

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

More
21 Oct 2012 14:37 #25546 by h_munktell
Hello,

I'm quite new to this, but I'm trying to setup my machine with the "toolchange with length-probe" from sim/remap. Run into a few problems. Linuxcnc is on 2.6.0-pre0-3255-gce55978. Fixed a physical probe and it works. Made a simple program:
( Made using CamBam - http://www.cambam.co.uk )
( Untitled 10/20/2012 9:09:54 PM )
( T1 : 3.175 )
( T2 : 3.175 )
G21 G90 G64 G40
G0 Z3.0
( T1 : 3.175 )
T1 M6
( Profile1 )
G17
M3 S1000
G0 X35.5875 Y19.0
G1 F300.0 Z0.0
G3 F600.0 X10.7063 Y33.3652 I-16.5875 J0.0
G3 Y4.6348 I8.2938 J-14.3652
G3 X35.5875 Y19.0 I8.2938 J14.3652
( Profile2 )
G0 Z3.0
( T2 : 3.175 )
T2 M6
g43.1 z[#5063-#1000] (set new tool offset)
M3 S1000
G0 X35.5875 Y19.0
G1 F300.0 Z0.0
G3 F600.0 X10.7063 Y33.3652 I-16.5875 J0.0
G3 Y4.6348 I8.2938 J-14.3652
G3 X35.5875 Y19.0 I8.2938 J14.3652
G0 Z3.0
M5
M30

Workflow is:
1. Home machine
2. Touchoff all axes to workpiece in G54
3. Start program.

Problem with the original manual_change.ngc is that the M73 when exiting the sub reverts the tool length offset (G43) to the state before the sub was executed, effectivly canceling out the tool length offset calculated in the sub for anything other than the reference tool.

Fixed this by changing to M70 in the beginning of the sub, and M72 in the end of the sub. But after M72, I added the g43.1 z[#5063-#1000] . This works good with the above program.

Problem now is that after the first run of the program, I want to change tool, touchoff on workpiece and run it a second time. This time there is problem with the offsets, Z0 after the sub is not on workpiece. I suspect it's because after the first run of the program G43.1 is still in use, and I touch off with this, then sub changes g43.1 and messes up my Z0 somehow. If I MDI a G43 before touching off Z inbetween programs, everything is working. But I do not want to do this G43 manually before touch off every time, sometime I will forget it, be sure about it....

Any ideas on how to solve this I would appreciate.

Best regards
Henrik

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

More
28 Oct 2012 22:23 #25946 by h_munktell
Anyone?

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

More
28 Oct 2012 23:49 #25951 by BigJohnT
Might start your own thread with your question...

John

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

More
29 Oct 2012 00:33 #25955 by h_munktell
Of course, sorry for hijacking, started new topic .

/Henrik

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

More
29 Oct 2012 00:37 #25956 by mhaberler
unfortunately that code hasnt found its way into the current LinuxCNC distribution; there are some issues with it and some with LinuxCNC itself which need to be addressed before it makes sense to integrate.

sorry,

- Michael

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

More
29 Oct 2012 11:47 #25983 by mhaberler
Hi h_munktell,

you're right - using M73 is not a good idea here. I have fixed the code in master - hope it does what you want.

Remapping per se does not change any modal state, offsets or positions, so results should be identical whether you do it by calling oword procedures or the remapped code.

A good way of developing such a code is to get it right with oword procedures first, and only then wrap it up in a remapped code.

- Michael

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

More
11 Dec 2012 05:44 #27541 by h_munktell
Hi Michael, thank you for your answers. Great fix in the sub! And I have found a solution to my other problem with offsets, see my other thread I linked to before for further conversation.

Best regards
Henrik

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

Moderators: mhaberlerHansU
Time to create page: 0.199 seconds
Powered by Kunena Forum