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.
Benachrichtigungen
Alles löschen

Tool Sensor

19 Beiträge
4 Benutzer
0 Likes
4,690 Ansichten
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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
🙁

 
Veröffentlicht : 18/03/2017 3:07 pm
(@peterg1000)
Beiträge: 389
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.

 
Veröffentlicht : 18/03/2017 3:41 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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

 
Veröffentlicht : 18/03/2017 4:37 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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

 
Veröffentlicht : 18/03/2017 9:14 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

Tool crash

 
Veröffentlicht : 18/03/2017 10:09 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

Tool crash

 
Veröffentlicht : 18/03/2017 10:17 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

This is what happens.
ATB Chris

 
Veröffentlicht : 18/03/2017 10:29 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

This what happens

 
Veröffentlicht : 18/03/2017 10:31 pm
(@peterg1000)
Beiträge: 389
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.

 
Veröffentlicht : 18/03/2017 10:37 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

yep
how do you post a video.
ATB Chris

 
Veröffentlicht : 18/03/2017 10:41 pm
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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

 
Veröffentlicht : 19/03/2017 12:13 am
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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

 
Veröffentlicht : 19/03/2017 12:16 am
(@cncmiller)
Beiträge: 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

 
Veröffentlicht : 19/03/2017 11:17 am
(@chrisb)
Beiträge: 23
Eminent Member
Themenstarter
 

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

 
Veröffentlicht : 19/03/2017 11:51 am
(@peterg1000)
Beiträge: 389
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.

 
Veröffentlicht : 19/03/2017 2:53 pm
Seite 1 / 2
Teilen: