Hello Guest it is April 26, 2024, 10:31:22 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 »
5661
Mach4 General Discussion / Re: Limit switches
« on: December 16, 2017, 06:32:27 PM »
Hi,

Quote
My home would be the corner of my material in that instance.  Does that sound right?

No. The corner of your material is 0,0,0 in WORK CO-ORDINATES. Homing is about defining a location 0,0,0 in MACHINE CO-ORDINATES.

Note that the 0,0,0 home location doesn't have to be in one corner or at the end of travel. It can in fact be anywhere within the machine boundaries.
Its normal to arrange your machine home to be at one corner of the machine limits because it causes less confusion for human operators.
What's important is that every time you home your machine it goes to exactly the same spot. With my roller plunger microswitches I can get to
within 0.02mm. If I had indexing on my steppers I could use both the home switches and index homing to get within 2um!

In the first instance FORGET limit switches, work on the best, most accurate, and most reliable home switches you can manage.

Craig

5662
Mach4 General Discussion / Re: Limit switches
« on: December 16, 2017, 06:21:03 PM »
Hi,
homing establishes the machine co-ordinate 0,0,0. What your proposing for the Z axis will result in uncertainty in the location of that position.

Lets say that you home your z axis by touching off and it happens to be 50mm lower than the extreme uppermost of travel. If your softlimt is -50mm
then all is well. If a program/MDI or jog attempts to drive the z axis higher than the -50mm machine co-ord limit it will stop and prevent a crash.

Now imagine the next session of Mach and you have a different tool fitted. Now your z axis machine zero may be 45mm below the extreme uppermost of
travel. If the softlimits are still -50mm then an upward MDI of 49mm would crash your axis.

The point is that for your softlimits to provide any protection the zero location MUST be repeatably defined. Quite frankly if it comes to a choice between
limit switches and home switches I choose home switches. It took nearly a year before I got around to fitting home switches and had suffered a number of
crashes. Since I fitted them I've had one only when I forgot to reference the machine....dummy! Fitting good home switches has proven to be the single best
thing I've done to improve the robustness of my machine operations and even better can come back to the machine a couple of days later and carry on the
same part from where I left off. With good home switches you can get away without limit switches. Without good home switches you'll need good limits
because you're going to crash into them a lot.

Craig

5663
Hi,
run DriverTest.exe and post a screen shot of the result page.

Craig

5664
Mach4 General Discussion / Re: Limit switches
« on: December 16, 2017, 03:30:46 PM »
Hi,
you need all three switches. There are means to cause one switch to do two jobs and many do to economise on switches. In the early days of Mach
when everyone had a parallel port with only 5 inputs it was necessary to be a bit crafty to combine switches together. You have a PoKeys board with
lots of inputs so you don't have to do that nor would I recommend it. Combining switches can be confusing and if for instance you require a switch to behave
as a home switch then Mach will ignore it as a limit switch while homing is in progress. So just when you are likely to need it you suddenly have no limit switch,
not good.

The limit switches are at each end of the axes and really are safety devices. Provided they work their quality is not critical. Further if you have properly homed
(referenced) your machine and have correctly configured soft limits the limit switches will never be operated.

The home switch is a different matter. You will reference your machine on every start up and sometimes several times throughout a session. To have a repeatable
home position requires a top quality switch. Note that while its common to put the home switch at or near the end of an axis you don't have to, in fact the roller
plunger switches I'd recommend are best placed within the axis extents, where is a matter of mounting convenience.

I have three roller plunger switches as home switches, one for each axis and each on a dedicated input. The limit switches, all 6 of them are all hooked in series
and are monitored by one input on the BoB. If an over limit excursion occurs Mach will know that its happened and shut down but it won't know which axis
or whether its a positive or negative over limit. Given the number of inputs that I have to spare that's a bit silly....still there is 'nothing so permanent as a temporary
solution'.

If it comes to it don't worry about limit switches for the Z axis, if you just can't fit them in you can't fit them in, but you absolutely need a decent home switch.
If you can't reference the Z axis soft limits are meaningless and you WILL crash your Z axis.

Craig

5665
Hi,
the BoB you've already got will probably work. The documentation is very light on detail. In particular it does not specify the characteristics of the outputs 2-9.
To hook direct to your servo you want open collector outputs capable of sinking current and can withstand 24V. I suspect that they can't withstand that voltage
and will have to be buffered before it can be used. I think also that you'll probably need two of them.

Each one has only 5 inputs, you'll need two for the fault lines which leaves only three for all the limits, homes etc.

My I suggest that you try the one you have on the bench to see if will work OK and then decide if you want or need another one. The only way to
know if it can handle the 24V opencircuit voltage of the servo drive input is to hook it up and try it. It is quite possible that it will damage the BoB.
The safe way would be to hook up a transistor/mosfet or buffer IC. How are your electronic skills?

There are BoBs on the market that will handle 24V, they would have to be chosen with care but they are out there.

Craig

5666
Hi,
I think that if your servo has a 17 bit encoder then it will be absolute and if memory serves it has a resolution of 131,072 counts per rev.

Lets work backwards and say that for simplicities sake you wish to keep the pulse rate to 100kHz. I imagine you'll still wish your servos to achieve max speed,
ie 50 rev/sec. Therefore the resolution is limited to:
100,000 / 50 =2000 counts per rev.

The electronic gear ratio is 131072/2000= 65.536   If you read the manual the gear ratio can be selected with two numbers, a numerator and a denominator.
Both numerator and denominator have to be integer and less than 65536. The exact ratio could be achieved by selecting numerator as 65536 and denominator
as 1000.

Just as a matter of interest with a 2:1 reduction and your servos having 2000 count per rev resolution your linear resolution would be:
5 (mm/rev) / (2 (gear reduction) * 2000 (servo count per rev)) = 1.25um, pretty damn good. Your Steps Per, that you would put in the motor tuning
would be 800 step/mm. If the servos reach their max speed the axis velocity in the motor tuning page would be 7500 mm/min, there again that's great
speed for a hobbyist machine.

I imagine you'll have a breakout board between the UC300 and the servo drive. Unless you bought an absolute dog any breakout board should do 100kHz
in a canter. ger21's recommendation, a UB1 sounds good.
There should be no extra circuitry required between the BoB and the drive. Probably a good idea to use a shielded cable and don't make the cable
any longer than it need be. Microphone cable would be a good idea, its beautifully flexible and shielded to preserve low level signals, two wires plus the shield.
That would cover your Step and Direction signals.

As I posted earlier you will need some extra wires, they will not be high speed signalling wires. One will be a Mach output from the UC300/BoB to the drive
to enable it. There will be one wire from the drive to a digital input on your BoB/UC300 to Mach to flag a fault. The last wire will be an output from Mach
to rest the fault condition. Note this last wire could probably go to the fault reset input of both servo drives.

You'll need to program your drive. I see in the manual that Delta produce software to allow you to easily program you drive. Do you have it? My Allen Bradley
servo can only be programmed this way, and its very very good. It has a database of all the servo motor models with all the limiting values, physical, thermal
and electrical characteristics and makes choosing and defining parameters for your application easy.  Delta drives can also be programmed with the digital
keypad, tedious but doable.

The essential parameters to set are that you wish to use step/direction position control. You need to set the electronic gearing numbers. There will also be the
limiting values, things like max speed, max current, overload duration and others. Hopefully Delta's setup software will provide all of those.
You will need to assign the digital inputs, your enable and fault reset signals and one digital output, drive fault signal.

Most servo drives, I haven't read the manual closely enough yet, allow you to hook limit switches direct to the drive. As you know it is common in Mach to hook
limit switches to your BoB/UC300 to signal Mach and Mach shuts down as a result of a over limit excursion. With a servo drive you can, within limits, program
what you want to happen. The limit switches would be hooked direct to the drive and would stop the servo from exceeding the limit  and would prevent any jogging
which would take the axis further out of bounds. It will if you wish signal Mach on an output of your designation of the condition. It could trigger some automatic
response like rehoming as well. I've not heard any argument that suggests that hooking limits to the drive offers any compelling advantage over hooking the limits
to Mach. As I'm using my servo as a spindle I've not had to worry about it. My suggestion would be to hook your limits to Mach in the normal way to start with.
If a reason comes up to change that strategy do it then. Keeping it simple to start with is probably the way to go.

You may have noticed in the manual that you can directly jog a drive by using two inputs per your designation and those inputs could be hooked to physical buttons
via your UC300/BoB. Likewise you can program a number of positions that can be selected by reading a number of digital inputs of your designation. In short the
servo drive has many more options than is required for your lathe but could be a great deal of use in huge printing press for instance which could have hundreds
of servos for any number of tasks. That those options exist does not mean you have to use them but could be useful to you at a future time.

Craig

5667
Hi,
to be honest I think your G540 and Leadshine drivers are perfectly adequate.

The use of a good external controller which will get you away from the XP/parallel port bottleneck is the best use of your resources.

I use an Ethernet Smooth Stepper and two Homan Designs MB 026V boards. I have a very tight budget also and what I cant afford is to buy something
that doesn't work. The PMDX-424 is a highly practical board, it has its BoB interface builtin which includes it own power supply and has two port worth
of IO, so despite being $50 odd more than the ESS it probably works out cheaper in that it doesn't require the extras.

Craig

5668
Hi ger21,
whoops, I try to stay comfortably within the specs for this reason.

Do you have a scope? Would be nice to see the waveform at max speed, could it be input capacitance of the drive dragging the output of the BoB down
or is the BoB output just not plain fast enough?

Craig

5669
Hi ger21,
I have an ESS which is supposedly good to 4MHz! I suspect that this really only of significance as an input, who tries to signal to a servo drive
at 4Mhz?. I found it entirely enough of a battle to differentially signal my Allen Bradley servo at 480kHz let alone MHz. Even then I realised that I was
trying to achieve best possible resolution which is far far better than I could ever use and so made a rational decision about resolution and got back to
open collector signalling rates.

Natural inclination is 'I'm going to build this sucker to go at max speed with max resolution at max power' and then realise its just not possible or practical.
Rational decisions can reduce those hurdles to manageable.

Craig

5670
General Mach Discussion / Re: Spindle index
« on: December 15, 2017, 02:16:10 PM »
Hi George,
lathe threading is largely enacted by the motion controller, not Mach.

I have been using Mach4 and an Ethernet Smooth Stepper for a year and its still not quite capable of lathe threading. The issue is not Mach4 but the
Smooth Stepper, the plugin is not capable of it yet. Large chunks of the code to get it to thread are written and in place but there is a bug. The expectation
is that the bug will be fixed over the next month or so.

To my knowledge only Vital Systems Hicon board is currently capable of lathe threading. I may be proven wrong and other manufacturers have got it working.
Still, the upshot is that the plugins required for Mach4 operation are still developing and lathe threading is at the leading edge of that development.
Mach4 will not advance your ability to thread with a lathe....yet.

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 »