Notifications
Clear all

Tool Sensor

19 Posts
4 Users
0 Reactions
5,176 Views
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Tool Sensor
The Stepcraft tool sensor works. But after the second probe the Z axis wants to drive in to the table.
What’s the problem.
ATB Chris
🙁

 
Posted : 18/03/2017 2:07 pm
(@peterg1000)
Posts: 390
Reputable Member
 

Chris,

Sounds as though the M31 macro is faulty. Z should lower quickly to touch sensor, retract and then lower slowly to find exact position, then finally retract by a short distance (10mm - "double retractheight = 10"). DRO should read sensor height + 10mm.

Sensor height is in M31 text under "double newZ" - mine read 32.60 before I calibrated it. Attached is my version without calibration - I added comments to let me understand operation and syntax.

Check on diagnostics page that "Status Monitor - Probe" lights when sensor is tripped.

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.

 
Posted : 18/03/2017 2:41 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Thanks
Yep it performs as you say but then just drives to the table. Will try your macro.
Thanks Chris

 
Posted : 18/03/2017 3:37 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Just tried you macro still wants to drive to the machine bed. It will do the same if you use Fusion 360 have to remove G0 G53 Z0.
ATB
Chris

 
Posted : 18/03/2017 8:14 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Tool crash

 
Posted : 18/03/2017 9:09 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Tool crash

 
Posted : 18/03/2017 9:17 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

This is what happens.
ATB Chris

 
Posted : 18/03/2017 9:29 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

This what happens

 
Posted : 18/03/2017 9:31 pm
(@peterg1000)
Posts: 390
Reputable Member
 

Have you homed the machine?

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.

 
Posted : 18/03/2017 9:37 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

yep
how do you post a video.
ATB Chris

 
Posted : 18/03/2017 9:41 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

[ https://www.youtube.com/watch?v=jRPhX6QkC-A&feature=youtu.be

 
Posted : 18/03/2017 11:13 pm
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

https://www.youtube.com/watch?v=jRPhX6QkC-A&feature=youtu.be

 
Posted : 18/03/2017 11:16 pm
(@cncmiller)
Posts: 230
Reputable Member
 

Chris,

What program do you use for your machine WinPC-NC or UCCNC?
Because it looks like your Z-axis is not clearing to a save height after measuring, and an other thing can be that there is a inverted Z-coordinate somewhere in your program.

SC 1/420 + Gantry extension, Kress 1050 FME-P, NeJe 20W Laser, WinPC-NC USB v4.00, Vectric Aspire 9, SolidWorks 2021

 
Posted : 19/03/2017 10:17 am
(@chrisb)
Posts: 23
Eminent Member
Topic starter
 

Have sorted ( I think ) have set the Z - soft limit to -200 uccnc. moves up about 10 mm.
ATB
Chris

 
Posted : 19/03/2017 10:51 am
(@peterg1000)
Posts: 390
Reputable Member
 

Hi,

Glad you've cured your problem, though I cannot understand how the soft limit change can rectify the symptoms shown so well in your video

The cause would seem to be this piece of code :-

"
double Zup = exec.GetZmachpos() + retractheight;

if(Zup > SafeZ)
{
Zup = SafeZ;
}
"

So it all depends on the value in "SafeZ" !! This seems a bad piece of software if an incorrect setting of "SafeZ can drive the spindle down into the tool sensor!!

On my 420, soft limits are set to 80 (above the homing machine coordinate of 60.39) and -25 (above where spindle collet would hit the baseplate).

I've experimentally changed my "SafeZ" to low value (40 as it happens) and if I execute the probe macro so that the final value of Zup is indeed greater than 40, then the spindle drives down as defined in the code (that's no surprise!!)

So its a puzzle that the macro fails unless your machine coordinates are indeed above the value defined in the macro. It's also a puzzle that soft limits cure it.

Come on software experts - put me out of my misery!!

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.

 
Posted : 19/03/2017 1:53 pm
Page 1 / 2
Share: