Hello Guest it is November 15, 2019, 06:21:03 PM

Author Topic: PoppaBear Question SCott??  (Read 18121 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: PoppaBear Question SCott??
« Reply #40 on: October 06, 2013, 07:02:43 PM »
Hey Terry,

Sorry, I have been buried under a bunch of Do-key.
RE-send the macro (with documentation of what it is doing in that macro, and I will integrate it with the OLD G31 detect plugin). Also remind me again, of what we where hoping to accomplish here, since I have been doing a lot of other things, and frankly don't remember what we where doing or why.....

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: PoppaBear Question SCott??
« Reply #41 on: October 06, 2013, 07:41:59 PM »
I could tell you the story about the renishaw and the dent in the table and the smashed probe and the $1800 repair bill but then I would start crying again so I won't bring it up again.

Been there, have the broken parts. 

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: PoppaBear Question SCott??
« Reply #42 on: October 14, 2013, 12:34:00 AM »
Well just an update on the protected mode we cannot get it to work correctly via a plugin SO we have placed it in the Close but no cigar bin right over there next to file 13.

There are some funny timing issue in the plugin side that I am not familar with compared to the CB side.

It still works with a combo of plugin and macropump but it would be hard for the average OP to master I am afraid. AND i am not sure how it would work with a large macropump running

(;-) TP

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: PoppaBear Question SCott??
« Reply #43 on: October 14, 2013, 10:09:25 AM »
Yeap, my suspicion is, that the macro pump runs as compiled code, and it runs in it's own thread, and probably has mutexs' or other synchronizing code to keep it in synch with M3. The plugin when running Terry's code, has no way to tie it into the Macro-pump synchronization object, so, the timing just doesn't work out correctly. At any rate, I have asked Terry to make a "How To" document to get his hybred solution of my G31 probe plugin, and his MP code, to get it to work.

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: PoppaBear Question SCott??
« Reply #44 on: October 14, 2013, 11:41:22 AM »
kinda missed what you guys were up to... whack this in your macropump

If Not isProbing() And isActive(DIGITIZE) then
  doOEMButton(1021) 'hit the panic tit
End If

Cheers

Ian

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: PoppaBear Question SCott??
« Reply #45 on: October 14, 2013, 05:46:00 PM »
 I don't think you will be able to back off of a trip with that senario without the panic button going off it is a catch 22.

Where did you find IsProbing() ????

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: PoppaBear Question SCott??
« Reply #46 on: October 14, 2013, 06:40:55 PM »
I tried the IsProbing () in my macropump but it triggers ANOTHER mach3 BUG that when you call a G1 move from the MDI it tries to feedhold and you get the message "Nothing to feed hold" AND locks up the MDI. You then have to hit STOP and then you can resume.

(;-) TP

Offline rcaffin

*
  •  1,003 1,003
    • View Profile
IsProbing ...
« Reply #47 on: October 14, 2013, 07:03:08 PM »
The best use for Isprobing is to see when Mach4 will be released.  ;D

I suggest Mach3 is terminal, at least as far as such complex things are concerned.

Cheers
Roger

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: PoppaBear Question SCott??
« Reply #48 on: October 14, 2013, 10:34:50 PM »
HIYA Roger I believe you are correcto mondo.

BUT I wonder how much base code of mach3 is in Mach4 (;-)

I do know there is NO CB, maybe

(;-) TP

Offline rcaffin

*
  •  1,003 1,003
    • View Profile
Re: PoppaBear Question SCott??
« Reply #49 on: October 14, 2013, 10:54:41 PM »
Quote
BUT I wonder how much base code of mach3 is in Mach4 (;-)
I do remember being told that Mach4 was a complete rewrite from scratch, using LUA rather than CB.

It was realised that the foundations of Mach3 had too many fundamental DESIGN faults which would prevent it from ever being stable under the increasingly sophisticated uses people are making of it. They even hired (I think) at least one experienced programmer for the job.

Cheers
Roger