Tool Length Sensor ...
 
Benachrichtigungen
Alles löschen

Tool Length Sensor (Breaks tool)

13 Beiträge
7 Benutzer
0 Reactions
6,510 Ansichten
(@mathieu-hebbrecht)
Beiträge: 16
Eminent Member
Themenstarter
 

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: http://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

 
Veröffentlicht : 27/12/2017 6:03 pm
(@taylor)
Beiträge: 3
New Member
 

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.

 
Veröffentlicht : 27/12/2017 10:47 pm
(@mathieu-hebbrecht)
Beiträge: 16
Eminent Member
Themenstarter
 

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.

 
Veröffentlicht : 28/12/2017 10:28 am
 R J
(@cpt-wingnut)
Beiträge: 33
Eminent Member
 

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.

 
Veröffentlicht : 03/01/2018 9:16 pm
(@mathieu-hebbrecht)
Beiträge: 16
Eminent Member
Themenstarter
 

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.

 
Veröffentlicht : 04/01/2018 12:36 pm
(@peterg1000)
Beiträge: 390
Reputable Member
 

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.

 
Veröffentlicht : 04/01/2018 2:04 pm
 R J
(@cpt-wingnut)
Beiträge: 33
Eminent Member
 

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.

 
Veröffentlicht : 05/01/2018 6:16 pm
(@mathieu-hebbrecht)
Beiträge: 16
Eminent Member
Themenstarter
 

Hi Peter,

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

 
Veröffentlicht : 05/01/2018 7:03 pm
(@peterg1000)
Beiträge: 390
Reputable Member
 

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.

 
Veröffentlicht : 06/01/2018 12:45 am
(@greenwood)
Beiträge: 1
New Member
 

Hi Cpt Wingnut,

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

 
Veröffentlicht : 17/01/2018 11:09 pm
 R J
(@cpt-wingnut)
Beiträge: 33
Eminent Member
 

Hey Greenwood,
This macro has a single 'dip', unlike the Stepcraft double 'dip'.

 
Veröffentlicht : 17/01/2018 11:31 pm
(@saslanis)
Beiträge: 10
Eminent Member
 

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);
}

 
Veröffentlicht : 13/04/2018 11:21 pm
 Ed
(@english)
Beiträge: 4
Active Member
 

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?

 
Veröffentlicht : 20/08/2019 1:02 am
Teilen: