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 27, 2012, 03:05:57 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
Still being driven mad by arcs
Pages:
«
1
2
3
Go Down
« previous
next »
Author
Topic: Still being driven mad by arcs (Read 1149 times)
0 Members and 2 Guests are viewing this topic.
Hood
Active Member
Online
Posts: 17,362
Carnoustie, Scotland
Re: Still being driven mad by arcs
«
Reply #20 on:
December 31, 2011, 05:45:53 PM »
Is it easy to distinguish which axis it is?
If so then does it swap to the different axis if you swap motors on your drive?
If you swap pin assignments in Mach?
Hood
Logged
Cactus Pete
Holding
Offline
Posts: 1
Re: Still being driven mad by arcs
«
Reply #21 on:
January 02, 2012, 12:38:37 PM »
I have not tested this in Mach3, but in Mach1 there is a math algorithm issue when converting metric code to inch for the machine movement. When running Mach1 with a metric gcode on an inch based machine with inch based lead screws, I found several "poisoned" locations where a G2 or G3 command would be ignored or not executed. When an arc command was given, followed by the next line of code to drop the Z for multilevel cuts to machine a post, the machine would remain stationary and only make one drop after another in Z while ignoring the arc commands in between, manifesting them as a pause. The same set of code would work in some locations, but not others. To prove this point, I changed the "poisoned" location by repositioning the location of X 0.01mm and the "I" arc center coordinate by the same amount so that the arc was still the same diameter. This solved the problem. I can only surmise that the issue resides in Mach1, and possibly Mach3, if the basic algorithms were not changed. It must be an issue with rounding or conversion of metric to inch. I ran into this with some other unrelated programs that also were metric and were arcs. It was not until later that I was able to isolate the problem. Rewriting the code by hand never had an effect. This might also manifest as lost (or gained) steps when there are many G1 movements in a metric set of code. I am doing all of my machining in inches until I can be sure.
Logged
GytarrMann19
Active Member
Offline
Posts: 65
Re: Still being driven mad by arcs
«
Reply #22 on:
January 04, 2012, 07:04:46 PM »
Hood,
The problem seems to exist in both axes, though most notable in the Z axis. I've been experimenting with different sizes of arcs and varying amounts of arc swing. The program that originally showed the problem was a .0315"r arc swinging 90deg. I've gone up to .5" arcs and the loss of position seems equal. The one exception being full circles, where the loss of position is very small (too small to measure in one cycle, it may go out .005" after 20 times.)
As I said, the single biggest thing to help so far was setting the axis accel rates the same. I also experimented with CV v. Exact Stop modes to no noticeable effect.
Pete,
I'm doing all my work in inch mode with inch programming on an inch machine, so I don't think there are any issues there.
How about a drive tuning issue or Mach motor tuning issue?
Kevin
Logged
Hood
Active Member
Online
Posts: 17,362
Carnoustie, Scotland
Re: Still being driven mad by arcs
«
Reply #23 on:
January 05, 2012, 02:53:38 AM »
Mach motor tuning of servos is straightforward, you you max RPM so you can work out the max Velocity from that, the only thing you have to find is the acceleration and that is fairly straightforward as you just keep increasing until your axis faults. However this assumes that your drive/motor tuning is good and tight with a low following error set. I presume you can setthe following error in the drives? So first thing to get right is the motor/drive tuning. Can you monitor the axes position from drive software? What kind of following error do you have set? On my machines I usually aim for about 20 counts following error allowance with 8000 counts(2000 line) per rev encoders.
Hood
Logged
GytarrMann19
Active Member
Offline
Posts: 65
Re: Still being driven mad by arcs
«
Reply #24 on:
January 05, 2012, 08:49:13 PM »
I spent a couple hours tonight playing with the drive/motor tuning settings, i.e. PID values. This got my peak error down to under 10 counts with 1000 line encoders. I have the drive set to error at 15 counts. Not too shabby. With the new settings I'm getting much better results with my position loss. Not sure that its perfect yet, but much better.
I'm still not too pleased with the motor performance graphs, I seem to get a little more oscillation than what the book deems ideal. But I really have no idea what that PID stuff means.
Kevin
Logged
Pages:
«
1
2
3
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...