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, 09:12:48 PM
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
Axis' accumulating error - need to emulate Mach3 output for testing
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Axis' accumulating error - need to emulate Mach3 output for testing (Read 506 times)
0 Members and 1 Guest are viewing this topic.
Scott Kelley
Active Member
Offline
Posts: 22
Axis' accumulating error - need to emulate Mach3 output for testing
«
on:
May 02, 2011, 01:08:45 PM »
A lengthy description and discussion of this issue is posted here:
http://www.cnczone.com/forums/servo_motors_drives/127477-axis_dont_return_zero_-.html#post935541
Basically, the axis' slowly gain counts and creep in the positive direction. At this point, the remaining possible culprits seem to be the servo drive itself, and Mach3.
I would like to rule out Mach3 by simulating its output. Is there something available that will provide the pulse train output for the charge pump, and the ability to exercise one axis?
Thx
Scott Kelley
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #1 on:
May 02, 2011, 01:50:09 PM »
Have you tried changing the active state for the step pulse, I seem to recall hearing some others have this issue when the active state was set wrong for their drives.
Hood
Logged
Scott Kelley
Active Member
Offline
Posts: 22
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #2 on:
May 02, 2011, 02:18:59 PM »
I have tried changing the active state. As I recall, it seemed to make no difference. But I did not do so while running the test that I described. I will do that this evening in order to determine exactly what the effect is.
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #3 on:
May 02, 2011, 02:40:52 PM »
Ok well afraid I have never used any CNC4PC BOBs but if your drive has opto isolation and the BOB also has it on the step/dir outputs it may be the issue.
Noise on Step/Dir could also be a cause as well.
Hood
Logged
Scott Kelley
Active Member
Offline
Posts: 22
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #4 on:
May 02, 2011, 03:19:14 PM »
Quote from: Hood on May 02, 2011, 02:40:52 PM
if your drive has opto isolation and the BOB also has it on the step/dir outputs it may be the issue.
Hood
Yes, the BOB does have opto-isolation on the step & direction lines, and the servo driver also has opto-isolated inputs. What is your concern re. this?
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #5 on:
May 02, 2011, 04:26:19 PM »
I have seen it mentioned several times that double opto-isolation can cause issues and definitely recall some saying that when they connected direct to the port to test their issue was solved. I am not an electronics guy so I can only go with what I see people saying works for them.
Hood
Logged
HimyKabibble
V4 Screen Contributor
Offline
Posts: 1,347
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #6 on:
May 02, 2011, 10:50:37 PM »
I would be very suspicious of the BOB. The design of the opto circuits on that board leave a lot to be desired, especially for servo systems that require much higher step rates than steppers. I had several C11s, and they all topped out at a very low step frequency, and badly distorted the signal. I was able to re-bias the optos and get them to run over 125kHz, but out of the box they completely stopped passing the step pulses at something well under 30kHz, due to improper opto biasing, and a strange pulse-shaping circuit they use. If you slow down your max speeds, and the problem goes away, that would be a good indication this could be the problem. If you can prove the BOB is at fault, I suspect you could get Arturo at CNC4PC to swap it out. He exchanged mine several times over a number of years, and finally swapped the C11 for a, IIRC, C25, which behaves much better.
Regards,
Ray L.
Logged
Regards,
Ray L.
Scott Kelley
Active Member
Offline
Posts: 22
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #7 on:
May 03, 2011, 04:51:13 AM »
Interesting... I will take a look at signals on both sides of the optos tomorrow.
Some more food for thought:
I just ran a test on the servo itself that indicates that the servo is registering fewer pulses in one direction than Mach is supposed to be sending. (missing approximately 10-30 pulses per 30,000 sent).
The errors occur only in one direction - the count in the other direction is dead on every time. Seems to me that the step pulse would be the same in either direction, so would expect the same error both directions...
The number of errors per inch decreases as the feed rate is decreased.
Changed step pulse width setting to 1 uS and tested, then to 5 uS and tested. Did not see a significant difference. Would expect 1 uS to cause significantly more problem if it was caused by slow circuitry. But then, I was not looking at the signals, so can't verify that the change even occurred.
Since I started this, I have done many things to eliminate any possible noise on the signal lines - None of those changes has made a single bit of difference, and they are now nowhere near anything noisy.
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #8 on:
May 03, 2011, 05:40:23 AM »
The biggest thing you can do to make Step/Dir noise resistant is to make them differential. All my servo drives can accept single or differential so I make sure I take advantage of them being capable of differential by using it.
Not saying thats your problem and not even sure if your drives can accept differential but its something to consider as it makes wiring less problematic.
Hood
Logged
Scott Kelley
Active Member
Offline
Posts: 22
Re: Axis' accumulating error - need to emulate Mach3 output for testing
«
Reply #9 on:
May 03, 2011, 05:53:18 AM »
I have neither differential inputs nor outputs. The point that I was trying to make with my last statement is that I don't think that the problem is noise on those lines, because if that was the problem, it would have at least been improved by the dramatic changes that I have made while trying to run down this problem, and I have actually seen NO CHANGE at all.
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...