Hello Guest it is April 18, 2024, 09:02:35 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 »
691
General Mach Discussion / Re: Anti-Backlash Nut Setting
« on: May 21, 2022, 07:11:46 PM »
Hi,
in theory the two bearings should be a matched pair of angular contact bearings. They are ground such that when the two bearings are clamped together tightly the correct
amount of preload is applied...it does not require adjustment by torquing the clamping nut.

Given the battle you've already had with machining tolerances is questionable whether the manufacturer used a matched pair of bearings.

If the bearings are matched there should be no increase in rotational drag no matter how tight you tighten the nut. Is this the case?

Craig

692
Mach4 General Discussion / Re: Servo Wiring
« on: May 20, 2022, 05:36:31 PM »
Hi,

Quote
It's rare for manufacturers to publish a schematic with that much detail so I assume the worst.

BS, all the good manufacturers publish just exactly this information, if they don't they are junk and I'll have nothing to do
with them. Even the cheap Chinese servo drives publish these diagrams albeit somewhat less detailed and less clear, but even
the worst of them publish this at least.

Quote
This does create the situation where a dead supply will attempt to reverse bias the optos.

If one supply in one of the drives failed then the remaining supplies would back-feed the drive with the dead supply, and were it not
for the anti-parallel diode it would reverse bias the opto. This is the classic 'wired OR' situation and is widely used. If the built-in supply
dies then the whole drive is f....d and will have to be replaced, so who cares about the opto?

The brands that we are talking about here, Delta and Panasonic have lifespans of decades, not years or months. The probability of failure is low,
and if a drive were to fail why would a 5W flyback inverter fail, is it not more likely the three phase DC to AC inverter of many hundreds of Watts
fail?

Quote
In any event I did not dream up my wiring scheme un-aided, I used  and relied on the manufacturers manual.

This is the scheme suggested by the manufacturer, not me, and to date its worked perfectly.

Craig

693
Mach4 General Discussion / Re: Servo Wiring
« on: May 20, 2022, 04:30:05 PM »
Hi,
I've taken these direct from the Delta manual for my servo drive. The first pic is of a DI (digital input), but is a small
diagram and so have included a second pic of the singled ended pulse input circuit, should you want to use it, because the diagram
is much clearer with respect to the biasing/current limiting and in particular the anti-parallel diode to protect against high reverse
bias of the photodiode.

Before anyone starts complaining that the current in the photodiode of the pulse input is 25mA or thereabouts, its because you need
that sort of current to signal at 200kHz, the rated max signaling speed of this circuit. Closer inspection of the DI circuit will reveal that the
bias current limit resistor is 4.7kOhm, and so the photodiode forward current is limited to 5mA or thereabouts. That's perfectly acceptable
in a slower circuit like this.

In any event I did not dream up my wiring scheme un-aided, I used  and relied on the manufacturers manual.

Craig

694
Mach4 General Discussion / Re: Servo Wiring
« on: May 20, 2022, 03:55:14 PM »
Hi MN300,
there is no risk here. Any one optoisolator is biased by one supply only.

Looking at the diagram the two input optos of the drive (Enable and Reset) are biased by the 24V supply within the drive.
The transistors in the BoB sink current only, they cannot source, ergo the optos are influenced by one supply only.

Looking at the opto output in the drive (Alarm) the photodiode is biased by the 24V supply of the BoB, so again there is no possibility
of that opto being subject to two supplies.

I drew the diagram in symbolic form only, there are biasing and current limiting components I have omitted. In particular each and
every photodiode has an anti-parallel diode such that NO PHOTOIODE EVER experiences more than a few volts reverse bias.

Quote
In the real world the maximum is usually far higher than the spec but applying 4 times the rating is a risk.

I agree with your assessment, but it does not in fact happen because of the protection circuits built into the drive. When composing the diagram
I wanted to keep it as simple as possible to convey maximum understanding. Including anti-parallel diodes etc. would detract from that goal.

Craig

695
General Mach Discussion / Re: Novosun NVCMV2.1 Controller
« on: May 19, 2022, 08:21:53 PM »
Hi,
yes there are a few users out there, however they don't frequent this forum as NOVOSUN has permanently blotted its copy book by pedalling pirate copies
of Mach3 and no support for NOVOSUN products is offered on this site as a result.

Craig

696
Mach4 General Discussion / Servo Wiring
« on: May 19, 2022, 05:38:17 PM »
Hi,
Rimmel and I have been sharing a few PM's so that he can understand the requirements of wiring servos to Mach/ESS/BoB..

There is nothing secret about it so I thought I would post so others can see (benefit?) and/or comment.

Note that I use Delta servos and the diagram I have posted is how I have programmed and hard wired the Delta drives and the BoB is my own design.
Having said that Rimmel's Panasonic drives and MB3 breakout board should be sufficiently similar that the same scheme can be applied. Note also that there are dozens
of different ways and/or variations on how this can be done, with and without good reasons. This is just how I have done it, and with any sort of luck will be able to communicate
why I did it this way.

The first question Rimmel asked is where the 24V comes from? Firstly his MB3, and my own BoB have a 24V supply. However my Delta servos have an internal 24V supply
and I use it for the a bias source for the photodiodes. So there are two sources of 24V power. Note that the supplies share a COM. I imagine the Panasonic drives will have a similar
built-in supply.

A brief description is in order.
Not counting the two differential Step/Dir pairs there are two outputs from the BoB to two inputs of the drive. They are an Enable and a Reset. Note that I have used the internal 24V
supply, via the built-in dropper resistors, to the photodiode. If the BoB goes low then current will flow through the photodiode and thus signal the drive. Note also that the transistor in the
BoB can only sink current when the ESS drives the base high. That is to say the ESS and therefore Mach must be active before the transistor can conduct, and is fail-safe. If the ESS or Mach
give up the ghost for any reason then the Enable signal will disappear and all servos will stop.

The Reset signal is to reset the drive after a fault condition, with any sort of luck hardly ever. My Delta servos, if they fault, require either a power cycle OR a Reset in order to clear a fault condition.
I have a button (on screen) that I activate which in turn pulses the Reset output of the BoB, with its transistor switching on and sinking the photodiode current thereby signalling the drive and
resetting it.

Note also that I have just one Enable output and one Reset output and they are sent to all servos. Rimmel has commented that his MBS3 BoB outputs can sink 70mA. Each servo sources about 5 maybe 10mA
so having three servos commoned together would still only require the MBS output sink 15-30mA, well within spec.

The alarm is an output of the drive and therefor an input to the BoB. Ihave used the 24V supply of the BoB via a dropper resistor to source about 5mA. The phototransistor in the drive conducts in a fault
condition and therefore drags the BoB input low, to nearly 0V, which in turn signals (active low) the ESS.

I have one alarm input per servo so Mach and therefore I know which servo faulted. If you are trying to economise on inputs you could have all servo alarms hooked to just the one input, and that one input
would trigger an Estop. Your choice.

697
Hi,
in the early days of Mach with a parallel port it was possible that outputs of the parallel port could be high despite the fact that the PC
was not running Mach yet. That might potentially allow the machine to move/run without Mach being in control, a dangerous situation.
Ergo a charge pump. The charge pump could only run and therefore enable the machine if Mach were up and running.

All of my outputs are low when the ESS/BoB is unpowered, or is powering up but prior to Mach seizing control of the ESS, and so the machine will
not move nor the spindle run until Mach is in control. Thus the safety of the machine is assured without the need for a charge pump, and I would
recommend you do the same.

With the ESS/BoB powered down what are the state of the outputs?
With the ESS/BoB powered up but not under Mach control what are the state of the outputs?

The most critical outputs for safeties sake are the ENABLE signal (or signals if you have one per axis say) and the spindle ON/OFF signal.
Provided they both remain in inactive state while un-powered, or powering up but not under Mach control, then the servos cannot move
nor the spindle operate. Its not that hard. I think with a charge pump and shut down scripts you are making work for yourself.

Craig

698
Hi,

Quote
Do you know if mach4 has a shutdown script? e.g. for setting a servo off command before cutting the charge pump.

Why bother with a charge pump? Its so last century. I've never used a charge pump, with either Mach3 nor Mach4.

You should arrange Mach such that if it fails or crashes then all critical outputs are off, PWM to the spindle for example.

All servos/steppers should have an Enable signal to each. It may well be that Mach/ESS/BoB produces just one Enable signal and that one signal is applied to ALL
the servos/steppers. An Estop will de-energise the Mach/ESS/BoB Enable signal and all servos/steppers will stop.

You do not need some specialised shut down script, just sensible use of the Enable signal or signals.

Craig

699
Hi,
Mach4 has .wxWidgets which has all those dialogue boxes and so, so, much more.

Easiest idea is to find a piece of code that has the widget you want, copy and paste to your code and edit to suit your application.

Craig

700
General Mach Discussion / Re: servo motor tuning help needed!
« on: May 09, 2022, 06:52:00 PM »
Hi,

Quote
Interestingly enough i got there using my calculation of 17.3 steps per to get it close, then with quite some trial and error i have ended up at 17.43,
I actually havent tried it at the 260 ish mark, but i must have been right with where i included the gear reductions

Quite agree, 'the proof of the pudding is in the eating', and if 17.43 is what makes your machine tick then that's what it is.

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 »