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 26, 2012, 05:27:56 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
Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3 (Read 908 times)
0 Members and 1 Guest are viewing this topic.
sunmix
Active Member
Offline
Posts: 35
Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
on:
June 10, 2010, 09:14:41 PM »
I was about to convert a traditional mill into a Mach3 CNC based Drill, very identical to Mach3's User Manual Cover picture. Although I've been successfully operating a plasma cutter with Mach3, plasma cutter does not require 4 decimal accuracy. So I did a simple test, after each G-Code positioning occurs there will be a M990 macro that saves the current X and current Y axis value.
On the G-code side, ive written:
X4.0000 Y4.0000
M990
X104.0000
M990
X204.0000
M990
X304.0000
M990
With the saved values, they all end up as:
X3.9878 Y3.9879
X103.9878 Y3.9878
X203.9878 Y3.9878
X303.9878 Y3.9878
With positioning error of 0.0122 (4-3.9878), how can I achieve the correct positioning accuracy? Are there any special techniques for configuring Mach3 to achieve 4.0000?
Thank you in advance for guidance.
Logged
ger21
Global Moderator
Offline
Posts: 2,612
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #1 on:
June 10, 2010, 09:19:40 PM »
What does your M990 look like? I'm guessing it's saving coordinates while Mach is still moving. Also. what is your steps/unit in motor tuning?
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
sunmix
Active Member
Offline
Posts: 35
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #2 on:
June 10, 2010, 09:28:38 PM »
The M990 looks like this:
Dim XPos,YPos,ZPos
Call Sleep(100)
XPos = getOEMDRO(800)
YPos = getOEMDRO(801)
SetUserDRO(1740,XPos)
SetUserDRO(1741,YPos)
End
I'm running it in inches, and I'm running the program in single block mode. So it saves during idle.
Logged
sunmix
Active Member
Offline
Posts: 35
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #3 on:
June 10, 2010, 09:30:39 PM »
Quick update: Changing the units to mm does not improve. =(
Logged
Hood
Active Member
Offline
Posts: 17,345
Carnoustie, Scotland
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #4 on:
June 11, 2010, 03:42:40 AM »
As Ger said, what are your steps per unit?
Hood
Logged
sunmix
Active Member
Offline
Posts: 35
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #5 on:
June 11, 2010, 07:51:38 AM »
Thank you for the indirect guidance, Ger & Hood! I was using the default Mach3 steps per unit to perform the test. Thank you!
Logged
M250cnc
Active Member
Offline
Posts: 591
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #6 on:
June 11, 2010, 08:07:24 AM »
Quote from: sunmix on June 11, 2010, 07:51:38 AM
I was using the default Mach3 steps per unit to perform the test. Thank you!
They mean the settings on the motor tuning page/tab
Logged
The Good Thing About Mach3, Is It's very Configurable
The Bad Thing About Mach3, Is It's Too Configurable
stirling
Global Moderator
Offline
Posts: 1,189
UK
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #7 on:
June 11, 2010, 08:22:52 AM »
Hmmmm - I don't think this looks like a non-denominator steps/per issue because the distance travelled in all but the first move is bang on at 100.0000. Looks more like an offset is set whilst looking at machine coords. Probably completely wrong but if steps/per WERE non-denominational (or whatever the word is) then wouldn't we expect the *error* to wander around a bit?
Logged
ger21
Global Moderator
Offline
Posts: 2,612
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #8 on:
June 11, 2010, 10:44:10 AM »
I was thinking you need a While IsMoving..Wend in there, possibly??
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
stirling
Global Moderator
Offline
Posts: 1,189
UK
Re: Struggling to achieve 4 Decimal Positioning Accuracy for Mach3
«
Reply #9 on:
June 11, 2010, 01:08:48 PM »
I just re-read this
Quote from: sunmix on June 10, 2010, 09:28:38 PM
and I'm running the program in single block mode. So it saves during idle.
So why even
have
a *recording* macro? - just look at the DROs.
Logged
Pages:
1
2
»
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...