Hello Guest it is October 16, 2019, 08:58:21 AM

Author Topic: Tool measure macro  (Read 26249 times)

0 Members and 1 Guest are viewing this topic.

Re: Tool measure macro
« Reply #30 on: August 30, 2006, 09:10:32 PM »
The is moving() is a very hard one to get to work right.. there are somany things that need to be updated in mach3 ass it is running that .1 sec just gives the program soen time to finish... I need to set up a probe and test...
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Tool measure macro
« Reply #31 on: August 31, 2006, 12:01:19 PM »
Hi,

Ive measured the "reaction - time" of Mach3  with a Logicanalyser.

Here is the picture with the G31 movement. You see a delay of about 20ms between
switch trigger and movement stop of Mach3 (1,13GHz, 45kHz pulse, 500 debounce).

This time is nearly contant at homing, limit switch trigger and must be calculated for precision
measurement or probing. Only the emergency stop is a bit faster (10ms).

500mm/min/ 60 * 0,02s = 0,16mm  error movement after trigger....

So, if you decrease your speed, your precision will be better.

Im making a macro with two speeds, first move very fast on the probe, then move back (1-2mm) and then a second, very slow move on the probe.
That will increase the precision into um range..  ;D

regards,

Wolfram

www.cnc-steuerung.com

Offline faby

*
  •  74 74
    • View Profile
Re: Tool measure macro
« Reply #32 on: August 31, 2006, 03:40:59 PM »

Im making a macro with two speeds, first move very fast on the probe, then move back (1-2mm) and then a second, very slow move on the probe.


My macro do this yet...

Code "G31 Z-230 F600"
While IsMoving()
Wend
Code "G91 G00 Z2"
Code "G31 Z-10 F60"
While IsMoving()
Wend
HitOld = GetVar(2002)

It works fine, but only when I run step by step...

I'm working on it
Re: Tool measure macro
« Reply #33 on: August 31, 2006, 06:44:37 PM »
If the error or deviance is always the same, cant you just add or substract that value to the offset?
Regards
Fernando

Offline faby

*
  •  74 74
    • View Profile
Re: Tool measure macro
« Reply #34 on: September 01, 2006, 03:34:20 AM »
ehehe unfortunately is not olways the same... :-\

It need only a dewl in the right place, but now I have no time to try... ;D

Re: Tool measure macro
« Reply #35 on: September 03, 2006, 05:57:57 PM »
Hi,

I tried to make some accuracy tests, but it was unfortunately impossible due to this jerked operation when executing the tool change macro.
I'll open a new topic about it not to pollute this one with my macro execution problem.

Jean-Louis
Jean-Louis
Re: Tool measure macro
« Reply #36 on: September 04, 2006, 10:43:19 PM »
Well I think I have found the problem that may be making the macro not pause... There is a new version that will be coming out D1.90.081 please try your macro with that after it is out :)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline faby

*
  •  74 74
    • View Profile
Re: Tool measure macro
« Reply #37 on: September 09, 2006, 02:16:36 PM »
Sorry this version doesn't work at all on my pc...
Well I hope it's a pc problem.

It loose a lot of steps during the execution of a G01 path but not in the circle (G02).

Sorry I can't try
Re: Tool measure macro
« Reply #38 on: September 12, 2006, 10:52:39 AM »
Do you have another PC that you can try?
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline faby

*
  •  74 74
    • View Profile
Re: Tool measure macro
« Reply #39 on: September 12, 2006, 02:04:45 PM »
I'm searching...  ;D