question-circle Frage Tool Length Sensor (Breaks tool)

  • mathieu.hebbrecht
  • mathieu.hebbrechts Avatar Autor
  • Offline
  • Forum Nutzer
  • Forum Nutzer
Mehr
27 Dez 2017 17:03 #51836 von mathieu.hebbrecht
Tool Length Sensor (Breaks tool) wurde erstellt von mathieu.hebbrecht
Hi all,

I've had the tool length sensor for a while. Due to lack of time I didn't install it yet.
Today I found the time and I contacted the sensor. Using this tutortial: www.stepcraftsupport.com/faq-items/install-and-setup-of-the-tool-length-sensor/
In the diagnostic window I see the that pin 10 reacts to my press/release action.
I overwritten the M31 macro in the C:/UCCNC/profiles/Macro_STEPCRAFT_V2_840SC
To be sure I also did it in the the Marco_STEPCRAFT_V2_ALL_Machines folder.

When I press the tool sensor button (the one on the left from the 'Go to zero' button) the Z-axis start to go down slowly. When it reaches the sensor (I hear the click). It stops, goes up again. Then it seems to start over, only this time it ignores the state of the sensor. Causing the Z-axes to block. There was a 1 mm tool mounted to my spindle, and it broke due to the behavior described above. I tried multiple times, but it fails every time.

Any idea's?

Kind regards,
Mathieu

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
27 Dez 2017 21:47 #51842 von Taylor
Taylor antwortete auf Tool Length Sensor (Breaks tool)
When it lowers the z for the second time do you still have the sensor still in place?
It normally comes down quickly on the first pass then backs up a little then comes down slowly for a more accurate setting.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • mathieu.hebbrecht
  • mathieu.hebbrechts Avatar Autor
  • Offline
  • Forum Nutzer
  • Forum Nutzer
Mehr
28 Dez 2017 09:28 #51846 von mathieu.hebbrecht
mathieu.hebbrecht antwortete auf Tool Length Sensor (Breaks tool)
Taylor,
Yes the sensor is kept in place. It is my tool broke on the sensor actually.
It found a few youtube movies where I saw how it works. But to be honest, I didn't notice the second routine for accuracy.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
03 Jan 2018 20:16 #52007 von Cpt Wingnut
Cpt Wingnut antwortete auf Tool Length Sensor (Breaks tool)
Hi,
I had the same problem with the macro from Stepcraft. Rory from StoneyCNC sent me a simpler macro that worked straight away.
If you message him I’m sure he’ll help you out.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • mathieu.hebbrecht
  • mathieu.hebbrechts Avatar Autor
  • Offline
  • Forum Nutzer
  • Forum Nutzer
Mehr
04 Jan 2018 11:36 #52019 von mathieu.hebbrecht
mathieu.hebbrecht antwortete auf Tool Length Sensor (Breaks tool)
Hi Cpt Wingnut!
Thanks for your reply. I will contact StonyCNC. Although I think stepcraft should edit the macro so it works for everyone. Show poor final testing to what they deliver.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
04 Jan 2018 13:04 #52022 von peterg1000
peterg1000 antwortete auf Tool Length Sensor (Breaks tool)
Hi Cpt Wingnut,

If you are still having difficulties, let me know and I will post my M31 macro on this forum.

Peter

SC 420/2, Industrial VFD spindle from StoneyCNC
UC100 + UCCNC
Cut2D, Autosketch10, Draftsight, Eagle 9.5.1


There is no problem, however simple, that cannot be made more complicated by thinking about it.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
05 Jan 2018 17:16 #52039 von Cpt Wingnut
Cpt Wingnut antwortete auf Tool Length Sensor (Breaks tool)
Hey Mathieu,
I agree. The Stepcraft macro does a sort of ‘double dip’, but on the second ‘dip’ just crashes into the sensor. The macro I received from Rory does away with the second ‘dip’.

Hi Peterg1000,
Thank you for the offer but I’m all good now.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • mathieu.hebbrecht
  • mathieu.hebbrechts Avatar Autor
  • Offline
  • Forum Nutzer
  • Forum Nutzer
Mehr
05 Jan 2018 18:03 #52040 von mathieu.hebbrecht
mathieu.hebbrecht antwortete auf Tool Length Sensor (Breaks tool)
Hi Peter,

Ik still don't have the macro. Van you send it to me?
Thx

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
05 Jan 2018 23:45 #52044 von peterg1000
peterg1000 antwortete auf Tool Length Sensor (Breaks tool)
Hi,

Attached is my M31 macro. Medium speed approach followed by a small retract and a very slow second approach and a larger retract to a stop. When calibrating don't use a real tool, a short piece of metal rod will do just as well. This macro will NOT be suitable if you have a tool changer fitted.

The following line of the macro will need to be edited to enter the height of your sensor - the "32.60" is the height of mine when contact is broken :-

"double newZ = 32.60; // The new Z DRO value after probing and calibration "

After probing, execute a "Goto Zero" - the tool should JUST touch the workpiece. Best to make this value relatively small to start with and then refine it gradually. You can use an electrical contact method to detect the contact, and with care can set the height to within 0.025mm if the height sensor triggers consistently at the same Z value.

Peter


SC 420/2, Industrial VFD spindle from StoneyCNC
UC100 + UCCNC
Cut2D, Autosketch10, Draftsight, Eagle 9.5.1


There is no problem, however simple, that cannot be made more complicated by thinking about it.

Dieser Beitrag enthält einen Anhang.
Bitte anmelden (oder registrieren) um ihn zu sehen.

Folgende Benutzer bedankten sich: greenwood

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
17 Jan 2018 22:09 #52227 von greenwood
greenwood antwortete auf Tool Length Sensor (Breaks tool)
Hi Cpt Wingnut,

I'm having the same issues with the Stepcraft M31. Can you post the macro from Rory please?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
17 Jan 2018 22:31 #52228 von Cpt Wingnut
Cpt Wingnut antwortete auf Tool Length Sensor (Breaks tool)
Hey Greenwood,
This macro has a single 'dip', unlike the Stepcraft double 'dip'.

Dieser Beitrag enthält einen Anhang.
Bitte anmelden (oder registrieren) um ihn zu sehen.

Folgende Benutzer bedankten sich: greenwood

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Apr 2018 22:21 #53466 von saslanis
saslanis antwortete auf Tool Length Sensor (Breaks tool)
I do not remember wher i downloaded my macro but it works good.

The difference to the one posted from peter is that it checks for homing first. I noticed that you should always perform a home before the first time you use the tool.

My macro follows, i changed the "double newZ =" to 32.75 instead the original 32.45 as this worked better after some checks.

//M31 probing macro

double Zmin = -100; //Max.Z depth
double FeedrateFast = 300; //Feedrate for probing
double FeedrateSlow = 40; //Feedrate for probing
double SafeZ = 100;
double retractheight = 10; //The retract height
double retractforsecondmeasurement = 2;
double newZ = 32.75; //The new Z DRO value after probing 32.45

bool dodualcycle = true; //Do probing from 2 cycles, first with Fast and second with Slow feedrates

if(!exec.GetLED(56)||!exec.GetLED(57)||!exec.GetLED(58)) // If machine was not homed then it is unsafe to move in machine coordinates, stop here...
{
MessageBox.Show("You need to home the machine first!");
exec.Stop();
return;
}

while(exec.IsMoving()){}
exec.Wait(200);

double Xoriginalpos = exec.GetXmachpos(); // Get the current machine coordinates
double Yoriginalpos = exec.GetYmachpos(); // Get the current machine coordinates

if(dodualcycle)
{
exec.Code("G31 Z" + Zmin + "F" + FeedrateFast); // Do the Z probing with Fast feedrate first
while(exec.IsMoving()){}
exec.Wait(200);
exec.Code("G91 G0 Z" + retractforsecondmeasurement);
exec.Code("G90");
exec.Wait(200);
}

exec.Code("G31 Z" + Zmin + "F" + FeedrateSlow); // Do the Z probing again with Slow Feedrate to get a more accurate reading
while(exec.IsMoving()){}
exec.Wait(200);

exec.ChangeaxisDROvalue(2, newZ.ToString()); //Change the DRO value
exec.Wait(200); //Safety wait for the UC100 syncronisation

if(!exec.Ismacrostopped()) // If tool change was not interrupted with a stop only then validate new tool number
{
double Zup = exec.GetZmachpos() + retractheight;

if(Zup > SafeZ)
{
Zup = SafeZ;
}
exec.Code("G00 G53 Z" + Zup); // Move 10mm above probe plate
while(exec.IsMoving()){}
exec.Wait(1000);
}

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
20 Aug 2019 00:02 #57234 von English
English antwortete auf Tool Length Sensor (Breaks tool)
Has anyone used a 1/8th inch flat alum plate for zeroing the z axis?
Also, does anyone have a script that omits the homing of the machine?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Powered by Kunena Forum

© 2024 STEPCRAFT GmbH & Co. KG

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.