Hello Guest it is April 25, 2024, 03:45:40 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - joeaverage

Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »
4071
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 10, 2018, 06:40:53 AM »
Hi.

Quote
I think there should be two braking modes: with the saved position (FeedHold) and when the current exact position is not important (CycleStop).
This is the same conclusion I come to. If you wish to retain exact position the <FeedHold> then <CycleStop>.  If you wish to stop with the maximum
possible deceleration obtainable with your servo then <CycleStop>

At the current time when you <CycleStop> the deceleration is so abrupt that the servo faults which is less than desirable. You do know however that it can
mange the acceleration in your motor tuning page because otherwise it would fault under acceleration as well.

I'm going to guess that you can program a maximum current in your drive which will in turn limit the acceleration. If however you turn the
current limit down eventually the servo will not be able to even accelerate as quickly as your Mach tuning. If you have the current limit just above that threshold
then your servo will accelerate at the max Mach tuning rate and should decelerate at the same.

There are three fault conditions that could be happening when you execute <CycleStop>:
1) Overcurrent....the drive is trying to decelerate so quickly that the drives current limit is exceeded
2) Overvoltage.....the servo after run is generating voltage which has to be absorbed by the drive and regen resistor if fitted. If the voltage gets too high the drive
     will fault rather than have the DC link capacitors blow up
3) Following error....under normal operating conditions we want the following error window to be small and so be assured that the servo is following its commanded
    position as closely as possible. Under <CycleStop> conditions the commanded position stops whereas the encoder runs on as the servo decelerates with an ever
    widening error and eventually the following error will be exceeded. One possibility it to set the following error window much wider so that it doesn't fault under
    <CycleStop> condition or program Mach to ignore a following error under <CycleStop> condition.

Can you post some details about your servos and drives? A manual would be great.

Craig


4072
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 10, 2018, 05:13:55 AM »
Hi,
what sort of servos and drives do you have?

I'm thinking of my Allen Bradley AC servo and with that it is possible to limit acceleration and decelerations. I'm wondering if it is so for your
drivers.

I understand you seek to have the highest acceleration you can. Currently however your maximum acceleration on your motor tuning page must be less than
the capability of your servo or otherwise it would cause a fault, either over current or following error on acceleration. When you hit <CycleStop> however the
cessation of pulses implies a much greater acceleration than your maximum allowed under Machs tuning and in fact greater than your servo is capable of and
that does cause a fault.

I think there is some room to move there.....you could limit the servos acceleration somewhat by imposing a current limit but would still allow a slighty greater acceleration
than Machs tuned max acceleration.

What I am proposing is that you limit your servo/drive acceleration to be just a bit more than your max tuned acceleration. Your max tuned acceleration would become the effective
maximum acceleration AND deceleration.

Craig

4073
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 10, 2018, 04:07:07 AM »
Hi,

Quote
If you need to keep the exact position - then I use a Feed-Hold.
In any other situation - CycleStop. But it should not cause errors in the servo system of the machine.
My misunderstanding, you are not concerned with keeping exact position? You just want to stop?

If that's the case just program your servo to some maximum deceleration. You will have to disable the following error also as there will
be an overrun that will cause a fault.

Craig

4074
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 10, 2018, 03:58:47 AM »
Hi,

Quote
I'm sure it's wrong to stop the impulse step instantly.
I agree, if the pulses were to stop immediately it would imply an infinite acceleration. But isn't that exactly what you have described as the fault?
That the deceleration is that violent that the servo faults?

Quote
I use other CNC systems, different manufacturers
That may be so but remember that Mach is not a feedback control system, it can't because Windows is not a realtime environment.

Lets say for example that a move involving the X and Y axes is planned. Mach will plan the trajectory and commit pages of motion data to the motion controller,
one page of position data for every 1 ms of the move. During this move you hit <CycleStop>. If Mach aborts the remainder of the move Mach no longer knows
where it is. It knew where it was at the start of the move and it knows where it was supposed to be by end of the move but it has no idea how far along the move it
got when you hit <CycleStop>. I suppose if the motion controller reported the position of its axis motors then Mach could recover its position, after all this is
exactly how G31 probing works.

Mach is not a feedback control system so the motion controller does not report back to Mach in the normal course of events which includes TO MY KNOWLEDGE
ONLY <CycleStop>.

Lets say that we wanted <CycleStop> to introduce a graceful deceleration phase. First mach would have to abandon the remaining portion of the existing move
and then recalculate the pages of position data required to decelerate the axes. The communication delays  between Mach and the motion controller and back again are
way too slow for that to work.

Quote
If you use a FeedHold, the machine will stop after a long distance, this is not correct.
I agree it is not desirable but I believe it has to work that way. I reason it that because a deceleration phase is built into the planned move and given that Mach cannot go back
and recalculate the move once its already been committed to the controller the ONLY way to decelerate is to allow the current move to complete and THEN stop.

A I said earlier this is based on my understanding of how Mach works, I am by no means sure. I'm interested how you think it works. Its interesting that you claim that
you have had issues with Mach3 and Mach4....could it that this constitutes an explanation why that should be so?

Quote
The laser cutting machine and milling machine are different machines and work differently
I am not convinced this is true. What is true is that Laser requires very VERY high accelerations which make a problem that happens with a mill way WAY worse in a Laser,
but they are both affected by the same phenomenon.

Craig

4075
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 09, 2018, 11:20:16 PM »
Hi,
I think the correct way is <FeedHold> followed by <CycleStop>.

FeedHold allows the co-ordinated move already committed to complete including its graceful de-accel
phase.

Craig

4076
Mach4 General Discussion / Re: Mach4 problems when moving.
« on: July 09, 2018, 10:27:04 PM »
Hi,
yes you could  set a max de-acceleration in your servo but with a Cycle Stop command where the
pulse stream stops immediately the servo must overrun a little bit and you end up with a following error
rather than an over current or over voltage fault.

I don't think CycleStop is the correct way to stop Mach, the sudden cessation of movement is effectively
an infinte acceleration and any servo will fault. If there is a means to cause Mach to de-accelerate gracefully
in response to a CycleStop I don't know what it is.

Craig

4077
Hi,
yes, its possible the high frequency current may damage the line filter so don't go
spending up bigtime. Even a modest line filter with a comensurately small capacitors
will help the noise situation, hopefully without the noise current wrecking them.

Craig

4078
Hi,
thats a DC motor and the ouput of the controller is PWM, rich in high frequency harmonics
just the thing for screwing up sensitive signal lines!

I would recommend a decent line filter on both input and output.

Something like this:

http://nz.element14.com/schaffner/fn2020-16-06/filter-16a-chassis/dp/1191368#

Note the filter on the output side of the controller could come under serious stress due to
the high frequency PWM, but still worth a go to tame the noise.

Craig

4079
Hi,
you should first try to eliminate the electrical noise emanating from your spindle.

Shielded wiring and low pass filters are all well and good, but the noise is still
there, eliminating the noise should be your primary goal. Shielding and filtering
reduce the suseptability of the wiring to noise only.

What kind of spindle do you have and how is it controlled?

Craig

4080
Hi,
electrical noise on the limit switch line. RC low pass filters.

Craig

Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »