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 01-19-2011, 08:02 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road
mach 3 cv mode stalling

so, mach's cv mode is causing me grief. on my milling machines, which are slow moving, it works great in general, however on my router which is capable of a much higher speed and acceleration im getting very odd effects.

when i set the motor tuning, my system is quite capable of 400ipm and 60 for acceleration. these are conservative safe settings ive been using.

in running a program like a pocket or a circle in exact stop mode, its all fine. in cv mode with all options turned off its usually fine as well.

when i run 3d contouring im seeing my issues. my program for today is about 100000 lines making up a waterline type contour. most of the g1 segments are only a mm long or so, some less. when the program gets to the end of the waterline it wants to transition down to the next. on some levels the transition is very sharp, like 150-170 degrees. its these sports the machine will stall. for any given mach setup or feed rate, the stall will be 100% consistent. also if i interupt these corners with a go retract they are fine.

occasionally it will also stall on the retract out of the part, or a goto zero command from the ui.

yesterday i tried alot of settings, and they all seem to have an effect, but no complete cure. high acceleration doesnt help. lower speed somewhat helps as you might expect, but that gets counter productive in a hurry. i also tried motor settings, pulse timing, various cv options, kernel speeds, etc. they all have an effect of some sort, changing the stall point, but no cure.

the closest thing to fixing it i found was lowering the accelleration to 25, leaving everything else as it was. while it no longer stalls in that program, this made a very audible diagnosis of the issue.

a straight line point to point, and most other transitions are smooth, since the acceleration is now so low, it doesnt jerk the lightweight machine around. on some corners though you still get a hard jerk. these as it turns out are the ones it was prone to stalling at. its almost as if its not decellerating properly, or cant manage to round the corner correctly and overloading the motors if the acceleration was too high.

so the question is why? i have only one theory at the moment hinging on the fact it only fails in complex short segment contouring. the theory is that the rounding radius is actually bigger than the motion segment its trying to round. this could be confusing the look ahead and not giving it time to slow down for the corner. lowering my accelration may not be fixing it at the root, but might be giving my motors enough overhead that they wont stall. when i break the corner with a g0, it would negate the need for rounding, so it doesnt stall.

so anyone every get an issue like this or have any thoughts?
Reply With Quote

  #2   Ban this user!
Old 01-19-2011, 08:17 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

heres a picture of one of the problem areas in the program.
Attached Thumbnails
Click image for larger version

Name:	stall_mach.jpg‎
Views:	89
Size:	168.6 KB
ID:	124313  
Reply With Quote

  #3  
Old 01-19-2011, 03:43 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,458
ger21 is on a distinguished road
Buy me a Beer?

A year or two ago someone reported a bug in CV that sounds similar, as it occurred when all 3 axis were involved. I'm not sure if it was ever fixed, due to the complexity involved. Have you tried using the CV angle setting? Set it at an angle to force Exact Stop in those situations.

If you're stalling on a Goto Zero, sounds like the accel is set too high.
__________________
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

  #4   Ban this user!
Old 01-19-2011, 10:53 PM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by ger21 View Post
A year or two ago someone reported a bug in CV that sounds similar, as it occurred when all 3 axis were involved. I'm not sure if it was ever fixed, due to the complexity involved. Have you tried using the CV angle setting? Set it at an angle to force Exact Stop in those situations.

If you're stalling on a Goto Zero, sounds like the accel is set too high.
ive tried every cv setting, different angles, distances, etc.

today it stalled on a pocket which had all rounded corners at only 100ipm. i raised the acceleration back up to 60 and it didnt stall again on *that* program. this it wearing me out and ruining expensive pieces of wood. im going to try EMC2 next week if i cant get this reliable.
Reply With Quote

  #5   Ban this user!
Old 01-09-2012, 11:56 PM
 
Join Date: Apr 2006
Location: USA
Posts: 33
atypicalguy is on a distinguished road

Was this issue resolved? I have similar problems at the moment.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-10-2012, 12:48 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by atypicalguy View Post
Was this issue resolved? I have similar problems at the moment.
no. if you need reliable high speed contouring on a stepper machine, id say you have to stick with emc. with servos you have high peak torque at speed, so this is likely much less of an issue, and if it does drop steps, it will stop and not ruin the work piece and tool.

i ran a 5 hour program on my big mill at 150ipm yesterday. stalled twice. i tweaked accelerations and speeds until it was stall free. now *that* program wont stall again on that machine, but for the next program the game starts all over again. i cant run emc on that machine for now, cause i cant get the spindle controlled. once thats figured out, ill abandon mach. its a shame, because if not for that issue, its pretty ideal.
Reply With Quote

  #7   Ban this user!
Old 01-10-2012, 06:42 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

How is your spindle controlled? What have you tried in emc?

sam
Reply With Quote

  #8   Ban this user!
Old 01-10-2012, 10:34 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by samco View Post
How is your spindle controlled? What have you tried in emc?

sam
i didnt spend that long with it, this machine is in use and i cant really screw with it much.

i dont really remember, but i tried everything on the cnc4pc guide. the spindle would turn on, but only at a low speed and with no control otherwsie. my spindle is step and direction under mach. other people with the same machine but a pwm spindle control have made it work. (its a novakon nm200).

ill revisit it at some point. i may be getting a new machine at the end of this month that will get converted. ill use emc for that likely. it will be 3kw ac servos and a 15hp induction motor for the spindle though, so ill be trying mach3 as well.

mach has far superior contouring control - when it works.
Reply With Quote

  #9   Ban this user!
Old 01-10-2012, 10:40 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

Remember when you try emc2 again - read the G64 section

G Codes

P - motion blending tolerance

Q - naive came tolerance

G64 - best possible speed.

G64 P- blending with tolerance.

G64 - without P means to keep the best speed possible, no matter how far away from the programmed point you end up.

G64 P- Q- - is a way to fine tune your system for best compromise between speed and accuracy. The P- tolerance means that the actual path will be no more than P- away from the programmed endpoint. The velocity will be reduced if needed to maintain the path. In addition, when you activate G64 P- Q- it turns on the naive cam detector; when there are a series of linear XYZ feed moves at the same feed rate that are less than Q- away from being collinear, they are collapsed into a single linear move. On G2/G3 moves in the G17 (XY) plane when the maximum deviation of an arc from a straight line is less than the G64 P- tolerance the arc is broken into two lines (from start of arc to midpoint, and from midpoint to end). those lines are then subject to the naive cam algorithm for lines. Thus, line-arc, arc-arc, and arc-line cases as well as line-line benefit from the naive cam detector. This improves contouring performance by simplifying the path. It is OK to program for the mode that is already active. See also the Path Control Mode Section and Trajectory Control Section for more information on these modes. If Q is not specified then it will have the same behavior as before and use the value of P-.


Originally Posted by ihavenofish View Post
i didnt spend that long with it, this machine is in use and i cant really screw with it much.

i dont really remember, but i tried everything on the cnc4pc guide. the spindle would turn on, but only at a low speed and with no control otherwsie. my spindle is step and direction under mach. other people with the same machine but a pwm spindle control have made it work. (its a novakon nm200).

ill revisit it at some point. i may be getting a new machine at the end of this month that will get converted. ill use emc for that likely. it will be 3kw ac servos and a 15hp induction motor for the spindle though, so ill be trying mach3 as well.

mach has far superior contouring control - when it works.
Reply With Quote

  #10   Ban this user!
Old 01-10-2012, 10:54 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

ive read it, it is very poor at maintaining a constant speed. if you set the program to cut at say, 400ipm, it hovers between 100 and 300. all while giving poor tracking accuracy (even with the P setting at 0.001"). with p set high or left out, it FACETS the models curves, and wanders off long straight lines making it virtually useless.

mach3 on the other hand with maintain 400ipm smoothly and accuractly follow the path except for subtle rounding in corners based on the cv settings. of course, you get the corner stall once in a while which can be tuned out if you want to chase it like i did on this last program (which i need to run 10 or 15 times in the next few weeks).

emc's contouring control needs a total rethink. it doesnt stall, thats its only saving grace and the only reason ill use it.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-10-2012, 11:08 AM
 
Join Date: Feb 2008
Location: USA
Posts: 106
PCW_MESA is on a distinguished road

Originally Posted by ihavenofish View Post
ive read it, it is very poor at maintaining a constant speed. if you set the program to cut at say, 400ipm, it hovers between 100 and 300. all while giving poor tracking accuracy (even with the P setting at 0.001"). with p set high or left out, it FACETS the models curves, and wanders off long straight lines making it virtually useless.

mach3 on the other hand with maintain 400ipm smoothly and accuractly follow the path except for subtle rounding in corners based on the cv settings. of course, you get the corner stall once in a while which can be tuned out if you want to chase it like i did on this last program (which i need to run 10 or 15 times in the next few weeks).

emc's contouring control needs a total rethink. it doesnt stall, thats its only saving grace and the only reason ill use it.


Have you considered that EMC runs more slowly because it actually obeys your acceleration limits? If Mach stalls, its quite likely it does so because is violates the acceleration limits...
Reply With Quote

  #12   Ban this user!
Old 01-10-2012, 11:55 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by PCW_MESA View Post
Have you considered that EMC runs more slowly because it actually obeys your acceleration limits? If Mach stalls, its quite likely it does so because is violates the acceleration limits...
ive considered that, and decided it was false. mach obeys acceleration limits fully. there is a bug in certain types of high complexity corners.

yup, its a very serious bug, and it will prevent me from using on the new machine it perhaps, but emc2's contouring control is still beyond terrible, and no amount of suggesting mach's is worse will fix it
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
Bridgeport Interact 2 -- tachometer mode vs. voltage mode? ichudov Bridgeport and Hardinge Mills 2 06-28-2010 01:24 PM
Help! Mach 3 Won't Move my Stepper Motor - Emergency Stop Mode AntonCNC Machines running Mach Software 7 02-21-2010 11:23 PM
New Machine Build- spline mode nurbs mode cooltool CamSoft Products 4 03-10-2009 02:03 AM
What is - Torque Mode? Position Mode? Speed/Velocity Mode? sunmix Servo Motors and Drives 25 10-26-2008 03:53 AM
stalling motors planescott Stepper Motors and Drives 2 03-21-2006 07:57 PM




All times are GMT -5. The time now is 05:40 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