CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-22-2009, 07:53 PM
WoR WoR is offline
 
Join Date: Oct 2009
Location: USA
Posts: 10
WoR is on a distinguished road
Servo's are herky-jerky/slow/odd acting w/ mach3

Before I explain the problem, here is what i'm using.

Leadshine DCS303 DC Servo Drive http://www.leadshine.com/UploadFile/...2592891415.pdf
Pittman 9234 Brushed 24V DC Servo
US Digital HEDS-9100 512cpr Optical Encoder

Using the software that came with the drives the servo's work great, i can jog them all over and have no issues, they are fast and very quiet.
With mach3 i hardly get them to work at all. The Drive has PUL/DIR inputs, i have them hooked up to the para port and the pins are setup correctly in Mach. Using unmodified tuning values in mach, When i try to manually jog in mach the servo spins but it looks like its pulsing back and fourth while spinning, and almost sounds like a stepper motor, and it only turns in one direction, its just alot slower in one direction than the other.

If i go into the motor tuning window, and put 250 in the "Counts per" and 500 in the field right next to it (can't think of what it is right now, no mach on this computer) i can get it to jog smoothly and its quiet, but it goes faster one way than the other, and if i try to run a program its right back to vibrating and jerking around. If i set the feed rate just right and its on a long straight part of the program, it will turn smooth, but thats the only time..

If i set the "Counts per" or the one next to it to anything +- 20 or so then it will go back to running bad, the more i stray from these numbers the worse it gets.

If anyone has any ideas at all as to what could be the problem here i'd really like to hear them, i've been trying to get it working for days now and i'm about to blow my top.
Reply With Quote

  #2  
Old 11-22-2009, 08:46 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

You can't just try random numbers in the motor tuning. The steps per unit needs to be the correct number, and you need to properly set the accel and velocity. You might want to increase the pulse widths and see if that helps out. Are you using a breakout board? If not, you may need one.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 11-22-2009, 09:32 PM
WoR WoR is offline
 
Join Date: Oct 2009
Location: USA
Posts: 10
WoR is on a distinguished road

thanks for the response

But having the "steps per" set wrong shouldn't make the servo go completely wacko. I've tried so many numbers, and they all have the same result, a servo going wacko.. i tried 20,000 wich i *think* should be somewhere near were i need to be and it was still messed up. Having the "steps per" set wrong wouldn't make the motor spin the same direction weather you press left or right would it?? i can't see how.. it almost seems to me that the signalling mach3 is sending to the drive isn't working with the drive well, its just going stupid.

I also did the thing where it will calculate the correct steps per rev. by telling it to move so far, then putting in how far it actually moved, that number did not work..
Reply With Quote

  #4   Ban this user!
Old 11-23-2009, 09:27 PM
WoR WoR is offline
 
Join Date: Oct 2009
Location: USA
Posts: 10
WoR is on a distinguished road
Got it working great using EMC2

i worked out the steps per several times, and even tried mixing things up to get a different number and it still would not work right. Half the time the motor spins the same direction when you try to jog either direction..

I downloaded linux emc2, and it worked right after installed. I did some tuning with the electronic gear ratio on the driver and now its even working inch for inch. With the current setup i've obtained 2.2inch/second (132in/min) feed rate and it is very smooth and almost silent.

I'm still not sure what configuration was wrong in mach, i've tried about everything i could think of to make it work and it just wouldn't work.

All i did with emc2 was load the configuration program, it had a list of different pre-configured setups, just for the heck of it i chose shereline and then corrected the pin out to match what i had wired up, and it worked fine, just very slow. So i used my drive tuning software to change the electronic gear ratio to 25:1 and i guess just out of luck i told it to move the X axis -10 inches, and it moved it -10 inches. I don't know how it was that easy but it just worked. I'm not preaching saying emc2 is better but in my case it just worked.

Just for the sake of it could anyone here interpret the emc2 config file i'm using, and see if they can't figure out what settings need to be put in place in mach for it to work properly? This may help others in the future using the same setup that i am.

I plan to go ahead and use emc2 since it has all the functionality i need and it was easier to work with (not to mention its free, and runs on a free operating system, and i do happen to be a linux fan).
Reply With Quote

  #5   Ban this user!
Old 11-27-2009, 07:07 PM
 
Join Date: Sep 2005
Location: USA
Posts: 41
Turbo1zz is on a distinguished road

It sounds as though you may have the motors wired incorrectly. I have a motor that had two wires reversed and it made the motor jump around erratically back and forth jump all over the place. once I reversed the two wires, the motor ran perfectly fine. Make one hundred percent certain you wired the motors correctly before going on.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-30-2009, 05:44 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

Be aware the the Step signal polarity in MACH (Ports& Pins/Motor Outputs) has to be right for your drives. It all depends on if you supply the drives with common +5 or common PCGND. I assume the drives have opto isolated inputs so the common determines the step polarity. Step signals are short duration so if you pick the wrong polarity for the drive it will move but unreliable. Also Sherline mode uses mach wider pulse widths because their drive would not handle narrow pulses. It's about 10 times wider that a normal pulse. If it won't work in EMC with a normal profile either the drives have poor input response or the signaling is wrong.

The motors are wired right or they would run off and fault and they would not work at lower speeds.

TOM Caudle
www.CandCNC.com
Totally Modualr CNC Electronics.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- jerky movement Claude Boudreau BobCad-Cam 10 03-08-2012 06:22 AM
Jerky motion Matty Zee G-REX 9 03-28-2010 02:35 AM
Mach3 jerky behaviour with GGCad CAD/CAM resolved gourky Product Announcements & Manufacturer News 0 10-31-2009 06:22 AM
steppers jerky 300magnum Automation Technology Products 10 08-17-2008 06:15 PM
Jerky Movement elogicca Mach Mill 5 11-21-2007 08:19 PM




All times are GMT -5. The time now is 03:04 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361