Suche
Lieber Nutzer, die Forumssoftware wurde aktualisiert. Für die Erstanmeldung musst Du bitte dein Passwort zurücksetzen.
Dear user, the forum software has been updated. For the first login please reset your password.
Help with M6 macro!
 
Benachrichtigungen
Alles löschen

Help with M6 macro!

8 Beiträge
3 Benutzer
0 Likes
8,951 Ansichten
(@apmachado)
Beiträge: 4
Active Member
Themenstarter
 

Hi, guys,

anybody has succeeded in using the tool changer? I´m trying to test the tool change but everytime I try it the spindle just goes up until it triggers the limit switch.

I tried changing the Z coordinates in the M6 macro. Tried negative and positive coordinates but all have the same result: triggering the Z limit switch.

Any help would be much appreciated...! 🙂

Thanks!

 
Veröffentlicht : 29/06/2016 7:02 pm
Hartmut
(@docbrown)
Beiträge: 506
Honorable Member
 

Hi,

can't really help you directly since I don't have the tool changer but what I know is, that all the macros are taken from MACH3 and not tested on UCCNC.

Some are working, some not. Another example is the tool lengh sensor. Here's a post where someone modified this macro: M31

I did that also some month ago for myself but that was a lot of work. You need to understand the UCCN macro language which is a little bit explained in a PDF file on your installation CD.

I dont know if that M31 macro helps to understand the function but maybe a little way it the right direction. So check your M31 macro and the modified one. Maybe it gives you an idea...

Viele Grüße

Hartmut
V2/420 China 800W wassergekühlt
UCCNC & ARDUINO ESTLCAM Controller
ESTLCAM & QCAD
-----------------------------------
DK5LH/G11

 
Veröffentlicht : 29/06/2016 8:52 pm
(@apmachado)
Beiträge: 4
Active Member
Themenstarter
 

Hi, DocBrown,

many thanks for the reply! 🙂

I´m starting to think that I´m the only one that has the tool changer! 🙂

Well, my problem might be with this section:

double SafeZ = -20;
double Ztoolrelease = -98.2;
double Ztoolpickup = -98.2;
double Ytooloffset = -20; //STEPCRAFT tool position offset for Y
double Ztooloffset = -50; //STEPCRAFT tool position offset for Z

I can understand a bit of the programming and it´s the only place where we can define a safe Z height. The problem is that there is no value that I can use that doesn´t make the spindle go all the way up and trigger the switch.

I´m using machine coordinates so the Z value should be negative, right?

Anyway, thanks again for the reply!:)

 
Veröffentlicht : 30/06/2016 12:02 pm
Hartmut
(@docbrown)
Beiträge: 506
Honorable Member
 

Have you seen this one: MacroSharing

Maybe that will help...

Viele Grüße

Hartmut
V2/420 China 800W wassergekühlt
UCCNC & ARDUINO ESTLCAM Controller
ESTLCAM & QCAD
-----------------------------------
DK5LH/G11

 
Veröffentlicht : 30/06/2016 12:27 pm
(@apmachado)
Beiträge: 4
Active Member
Themenstarter
 

My bad, DocBrown...

Had a Macro folder inside my UCCNC folder. But I have to modify the M6 macro inside the Macro folder in the Profile folder! Doh! Pretty dumb of me... should have read the manual sooner! Glad you suggested reading the manual! 😀

Thanks again for taking the time to reply! Really appreciate it! 😀

 
Veröffentlicht : 30/06/2016 12:42 pm
Hartmut
(@docbrown)
Beiträge: 506
Honorable Member
 

🙂 :cheer: 😆

So everything is perfect now...time to start milling... show some pictures of your results... we are waiting... 🙂

Viele Grüße

Hartmut
V2/420 China 800W wassergekühlt
UCCNC & ARDUINO ESTLCAM Controller
ESTLCAM & QCAD
-----------------------------------
DK5LH/G11

 
Veröffentlicht : 30/06/2016 12:56 pm
(@apmachado)
Beiträge: 4
Active Member
Themenstarter
 

Well, not perfect but getting there! 😉 Now I just have to test the tool lenth sensor and I´m good to go!

I´m gluing a piece of wood to the table to increase the height of the tool magazine. It´s very short for some of the tools I´ll be using...

 
Veröffentlicht : 30/06/2016 2:13 pm
(@peterdorr)
Beiträge: 2
New Member
 

HI,

I am now where you were 4 years ago 😉

Tool changer + Tool sensor
Just bought UCCNC, moving away from WinPC-NC
Struggling to get things to work

Would you be willing to share your macro files for me to try to understand what's the difference so I can adjust?
Many thanks
Peter

[email protected]

 
Veröffentlicht : 19/10/2021 12:43 am
Teilen: