Hello Guest it is April 19, 2024, 09:01:52 AM

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 »
4191
Hi,
yes that would work although its not quite as straight forward as you might think. I'm pretty sure Daz
did a video about using an input signal like that.

I was going to ask ....why are you using the PoKeys? I know it will certainly work but given that you have an ESS as
your motion controller I wondered why you wanted to use the PoKeys as well.
The ESS has three ports so can be set up with about 31 inputs and 23 outputs, assuming you want max inputs that is.
Is there not enough IO with all of that?


4 axes         8 outputs
1 enable      1 output
spindle         2 outputs
coolant        1 output
TOTAL        12 outputs

homes          4 inputs
limits            8 inputs
probe           1 input
TOTAL         13 inputs

As far as I can see you are likely to have about 15 inputs and 10 outputs to spare.

Craig

4192
Hi,
no, that suggests to me that it is indeed the servo drive that is signaling Mach to shut down.
It means that the drive is detecting one of the errors I mentioned.

When tuning you want to have all the fault warnings turned way up so the drive doesn't fault while you are tuning.
Once you have it dialled in you set the limits.

I will read the manual, but if memory serves there are two settings you can make.
One is the following error, you want it as wide as possible or even 'off' if you can. The other is overcurrent.
You want to set it to the maximum the drive can handle. Remember that current is proportional to torque
which in turn is proportional to acceleration. You want maximum acceleration when tuning, you may want to turn it down
later but you want it maxed when tuning.

Craig

4193
Hi,
output is to be used if you want to turn a light  or LED on or off to reflect the Jog Inc state.

To change its state using a remote button use a general purpose input say ISIG_INPUT10 and then
in Mach code it so ISIG_INPUT10 changes the JogInc state.

Craig

4194
Hi,

Quote
I don't have a direct fault line from there as it is simple as A+ B+ 5V+ and a negative that are fed from the encoder
That is from the encoder to the G320, you are interested in the lines between the G320 and your BoB/Mach.
I don't have the G320 manual in front of me but usually there is step, direction and enable lines
FROM your BoB/Mach to the G320 and one line FROM the G320 back TO your BoB/Mach to signal
a servo fault.

You may not have a servo fault signal setup but if thats the case then it cant be a servo fault thats making
Mach Estop, more likely noise on a limit switch say.

There are three common conditions that the G320 would recognise as a fault and signal it so:
1) Overcurrent, if you attempt to accelerate quickly, more than the G320 can handle or you progammed,
2) Overvoltage, usually happens if you try to de-accelerate to fast, the servo acts as a generator and will push
    voltage back into the drive, at a high enough level the drive will fault or worse blow,
3) Following error, if the servo lags behind its commanded position beyond a limit that you set it will determine
     that the accuracy of the machining job is at risk and fault.

Your Fluke scope should be isolated and so you could put a current shunt in the servo circuit to measure current.

Craig

4195
Hi,

Quote
tried an it made worse an crashed everytime if by filtering you mean through ess on inputs
This is wrong somehow, there is no way increasing a filter time constant on an input should do that.

Have you electrically bonded all the metal parts together?. It sounds to me like you may have a power
supply issue or alternately some leakage current into the frame of the machine.

Try unpluging the spindle speed control from the AC line. If the motor has poor isolation it will
have leakage current into the frame of the machine and will very very easily overwhelm computer level
signals.

Craig

4196
Modbus / Re: Mach 3 Modbus TCP with Siemens Logo!8
« on: June 28, 2018, 05:01:32 PM »
Hi,
that pic is of the PLC program....you haven't got that far yet.

You need to program Mach to talk over TC/IP Modbus BEFORE you start worrying about programming the PLC.

Craig

4197
Hi,
if you disabled the Estop how is it that Mach faulted?

You need to disconnect the servo fault line, not the Estop. Do this first and establish whether its a servo
fault or some other reason for the Estop.

You need to measure the current in the servo...you don't know at this point whether the
drive is maxed out or whether its just poorly tuned. Note a multimeter wont cut it, you need a good measurement
of peak current before you can start making decisions.

Craig

4198
Hi,
you say that the machine Estops at random? What is it that makes you think that the servos are doing that?. I don't mean to say they aren't because
its common to have a servo fault trigger an Estop but you could have noise affecting one of your Estop signals and describe why its random.

Why don't you disconnect the G320 fault signal from Mach and try it again. If the servo is the real cause of your random faults then the Estops should
disappear. If they don't it points to a problem OTHER than your servo.

Do you have a current shunt or clip-on current probe for your scope? If you do insert the shunt into the servo circuit and measure the peak current. If its
near the maximum of the G320 then the driver is maxing out and probably faulting 'over current' before the servo is any where close to rated output.

If the measured peak current is less than the G320 max then the 'following error window' is too narrow, so the drive faults out 'following error' before it has
developed its maximum current. In the first instance open the 'following error' window as wide as you can and then start tuning. It sounds to me like your
Proportional gain is way too low. Easiest to set Prortional first and as high as you can with zero Inegral or Differential. Once you've established the
upper limit of P (as measured by peak current) back off a little and add some I, about 10%, then D for stability. Overall the best solutions tend to be high P
gains with enough  I for steady state following error performance and enough D for adequate phase margin.

Craig.

4199
General Mach Discussion / Re: Pulse per turn
« on: June 28, 2018, 02:53:19 PM »
Hi,
a 2500PPR encoder has 2500 lines, this is now the entry level standard for an incremental encoder. An incremental encoder has an A and B phase in phase quadrature, ie
90 degrees apart. That means you get four encoder counts per line, so 10,000 counts per revolution.

If you put 10,000 in your axis motor tuning 'steps per unit' ( this assumes no electronic gearing within the servo) and then issue:
G0 X1    Mach will try to move one unit by producing 10000 pulses.

If in fact your axis moved 2.345 mm rather than the 1mm you requested you can use that to recalculate the 'steps per unit' value:

steps per (true)= (unit distance)/ (actual distance moved)  X (estimated steps per)
                      = 1 / 2.345 X 10000
                      =4246.4

As a sanity check....if Mach issued 10000 pulses and the axis moved 2.345mm then if I wanted it to move 1mm only
then Mach will need to issue fewer pulses, in which case 4246.4 ( being less than 10000) sounds about right.

Craig

4200
Hi,
just enter the correct 'steps per unit' value in the Z axis tuning page. You will have to experiment to find the correct max velocity and accel.
Good place to start is the speed of the axis if the stepper is doing 500 rpm. Thus if the axis has a 5mm pitch ballscrew then the max velocity
would be in the region 500 X 5 =2500 mm/min. Common to start with accel of 10% of the max velocity, so accel=250.

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 »