Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 12:19:39 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
G31 Probe problem
Pages:
«
1
2
3
4
5
6
7
8
9
10
Go Down
« previous
next »
Author
Topic: G31 Probe problem (Read 2716 times)
0 Members and 2 Guests are viewing this topic.
HimyKabibble
V4 Screen Contributor
Online
Posts: 1,348
Re: G31 Probe problem
«
Reply #90 on:
December 07, 2011, 02:14:47 AM »
Quote from: mhasting2004 on December 06, 2011, 08:57:02 PM
March 17/2009 Release 3.042.023 -- Threading bug found and fixed in Driver... -- Probe error know kills script and file execution
Is it possible that this was not fixed or has crept back int later versions?
I'm pretty sure I was the one that isolated that problem with Brian and Greg. I was having LOTs of probing problems back then - it would sometimes probe in the wrong direction, or on the wrong axis, or even on multiple axes at the same time! And when a G31 failed, the script did NOT get terminated, so if you had a multi-move probing script, and ti failed, and you then re-ran it, the second instantiation would complete, THEN it would finish the first one! However, since about that release, probing has actually been pretty solid for me. Back then, I was breaking a probe about every week or two, but I haven't had that happen in almost two years now.
Sadly, Mach3 has a LONG way to go before it can be considered really robust, and hardly a day goes by that I don't get bit by one bug or another. One of the reasons I'm now bringing up a KFlop on my machine (though it has a different set of issues....).
Regards,
Ray L.
Logged
Regards,
Ray L.
HimyKabibble
V4 Screen Contributor
Online
Posts: 1,348
Re: G31 Probe problem
«
Reply #91 on:
December 07, 2011, 02:19:05 AM »
Quote from: DaveCVI on December 06, 2011, 06:31:58 PM
Hi Ray -
Oh NO you don't - I won't let you blame me for that one!
(well I guess you could, but I was not the instigator and am not responsible).
Dave,
Now that you've re-told the sordid tale, some of it does sound familiar. Seems so long ago.... But I'll still blame you - It's just easier! :-)
We'll have to get together for breakfast again sometime. Maybe January?
Regards,
Ray L.
Logged
Regards,
Ray L.
mhasting2004
Active Member
Offline
Posts: 135
Re: G31 Probe problem
«
Reply #92 on:
December 07, 2011, 02:48:07 AM »
Thanks guys nice to know its not just me or my machine going crazy
I would not have stumbled on the G31 issue except for the fact that we (Dave and I) were debugging a different issue with MSM that cropped up if the probe was active prior to starting a probe routine.
That has since been fixed and as I do all my probing using the MSM interface and have had no issue with it as yet I would have been blissfully unaware of the G31 quirk.
Haven't done any point cloud type probing yet but its on the soon to do list of jobs. Hopefully this quirk won't cause dramas with that.
Cheers
Mark
Logged
stirling
Global Moderator
Offline
Posts: 1,190
UK
Re: G31 Probe problem
«
Reply #93 on:
December 13, 2011, 04:26:08 AM »
Quote from: DaveCVI on December 06, 2011, 06:31:58 PM
I too used accept the Mach urban lore that IsMoving was was a misnamed sync call, and that it was an API sync mechanism.
It seems to do no harm if used for an API that does not cause movement, as in that case there is no movement in process and so the IsMoving call just returns false and your wait loop exits quickly.
Here is how I learned that it really, truely, is only a wait for movement to stop.
I understand what you're saying Dave, but if you're correct and isMoving() really is only a wait for MOVEMENT to stop. Why does this code fragment count? There's no movement here.
Code:
cnt=0
setOEMDRO(800, 1000)
While isMoving()
cnt=cnt+1
Wend
message cnt
Ian
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: G31 Probe problem
«
Reply #94 on:
December 13, 2011, 09:51:15 AM »
Art told me long ago that the While Ismoving() would cause the CB to WAIT until any function inside of mach was complete not just motion.
Just a thought, (;-) TP
Logged
DaveCVI
V4 Screen Contributor
Offline
Posts: 532
Re: G31 Probe problem
«
Reply #95 on:
December 13, 2011, 11:35:47 AM »
Ian -
interesting.... When I ran into the M6 vs IsaMoving problem, Brain told me that IsMoving only works for movement.
The counting test case shows that information to be wrong.
So that leaves us with the question of "When does IsMoving work as a sync function and when does it not?".
Alas, I don't have an answer for that question.
Terry -
Well, I've found in multiple cases that what Art said mach will do has gotten changed since the torch passed on.
The M6 vs IsMoving case is a counter example to what you report Art has said - thus we know it doesn't "always" work.
Which takes me back to the question above - for which there does not seem to be a known answer....
If I had to guess, and it's only a guess, I'd suspect that the problems stem from the parallelization of mach - coupled with mach calling itself recursively (which assumes Mach was written to be rentrant), which I suspect is not part of the source code design. This would match the observations that Ismoving works much of the time, but does not work, at least for situations where mach effectively calls itself (to call user scripts) - like the M6 example.
Dave
«
Last Edit: December 13, 2011, 11:37:32 AM by DaveCVI
»
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
stirling
Global Moderator
Offline
Posts: 1,190
UK
Re: G31 Probe problem
«
Reply #96 on:
December 13, 2011, 12:05:05 PM »
Quote from: DaveCVI on December 13, 2011, 11:35:47 AM
Ian -
interesting.... When I ran into the M6 vs IsaMoving problem, Brain told me that IsMoving only works for movement.
The counting test case shows that information to be wrong.
So that leaves us with the question of "When does IsMoving work as a sync function and when does it not?".
Alas, I don't have an answer for that question.
Dave, I've recently fallen foul myself after quoting people who are supposed to be in the know - so I feel your pain
But perhaps the answer isn't that illusive. I first used the count approach to test whether isMoving actually did change it's return value after some iteration. I then use the logic - if it does then use it - if it doesn't either there's no point (always returns false) or you're in an infinite loop (always returns true). You can also use the count test to make a "rough" guess at the kind of sleep val is useful without being wasteful. You do of course have to be careful you're waiting on the call you think you're waiting on. Anyway - this approach has proved useful to me but as Terry would say - milage may vary etc.
Ian
Logged
HimyKabibble
V4 Screen Contributor
Online
Posts: 1,348
Re: G31 Probe problem
«
Reply #97 on:
December 13, 2011, 12:37:00 PM »
Quote from: DaveCVI on December 13, 2011, 11:35:47 AM
So that leaves us with the question of "When does IsMoving work as a sync function and when does it not?".
Alas, I don't have an answer for that question.
Unfortunately, I think Mach3 has a pretty high "entropy", and each version has its own unique quirks. You may be able to state positively how a specific version behaves, but you can't necessarily assume ANY other version will behave the same way. When it gets down to specific behaviors, the first question you have to ask is "What version of Mach3 are you using?", because behaviors change (at times, seemingly randomly) from version to version. Sometimes the change is intentional (though even these are not necessarily documented), sometimes it's an unintended side-effect of some other change. But I always dread changing versions, because I know there will ALWAYS be differences from whatever version I was running.
Regards,
Ray L.
Logged
Regards,
Ray L.
BR549
Active Member
Offline
Posts: 2,557
Re: G31 Probe problem
«
Reply #98 on:
December 13, 2011, 04:11:13 PM »
I would be perfectly happy IF we just had conditional Gcode. Then it would not really matter to me what CB did or did not do correctly (;-).
That is from the NONprogrammer Gcode ONLY perspective AND not to be confused with the Programmers always do it differently than Gcoders approach (;-).
(;-) TP
«
Last Edit: December 13, 2011, 04:13:03 PM by BR549
»
Logged
Pages:
«
1
2
3
4
5
6
7
8
9
10
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...