Hello Guest it is April 27, 2024, 04:13:07 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 »
7071
Hi,
do not change Machs Native units. The native units are used on the tuning page, thus if you've set inches as native units then your
'steps per unit' setting on the tuning page is 'steps per inch'. This setting is made when Mach is setup for the first time at NOT touched
thereafter.

To cut a gcode program which is written in mm use G21 at the very start of the program. To turn the machine back to inch units code G20.

Craig

7072
Hi,
that you can drive a servo is good news. That its going the wrong direction is a simple fix.

Reading the manual further I found the parameter settings you're talking about and it certainly appears that you can
program them from the drive without software installed on a PC. I have an Allen Bradley servo for a spindle and it
requires propriety software to configure it. It seemed like an extra complication but having used it it does make
configuration so much simpler than parameter entry like my VFD.

Whether you go to differential signalling is really just a matter of pulse speed. Mach3s native PP pulse rate is 25khz.
Without electronic gearing and a 10,000 count ppr encoder that means 2.5 revs per second or 150 rpm max for your
servo, pretty modest. If you up Machs PP pulse rate to its max of 100khz which happens to be the max open collector
rate for your drive that works out to 600 rpm. Is that fast enuf for your rapids? Do you require really fine resolution because
electronic gearing increases speed but at the expense of resolution. To take advantage of the speed of differential signalling
you will need an external controller, PP just wont keep up.

As for spindles if you don't require indexing then VFD driven three phase motors would work fine. If you want indexing or
may do so in the future two decent steppers and drivers would work.

Craig

7073
Hi,
should have prefaced the above with a welcome to the forum!

Of course now you are in our clutches..... LOL

Craig

7074
Hi,
I am inexperienced with servos but electronics is my thing and may be able to help or at least ask the right questions.

Most servo drives are programmed usually with software by the servo drive manufacturer. The program parameters are
stored in EEPROM in the drive. I presume that your drives have been configured previously. It may be necessary to get a copy
of the software that you can reconfigure to your requirement. It would certainly be instructive about the capability of your drives
and servos. Given that the servos have worked in this application then you should be OK without it but you may have to make
some shrewd guesses about how it was configured.

The inputs you require particularly are the step pos and step neg. In section 3.2 Internal connection of servo amplifier page 3-9
shows the inputs as opto isolated. Thus if current flows thru the opto LEDs the input will work. While the drive manufacturer
probably intended that 24V be used 5V will probably also work and certainly did with your previous controller.
Pins 1 & 2 need to be connected to the 5V supply of your BOB/motion controller, pin 8 to suitably configured estop/enable pin
on your BOB and pins 23 and 25 to your step pos and step neg pins of your BOB. I am going to presume your motion controller/
BOB can produce step pos/step neg signals. Note they are called different things, CW/CCW, among others by different controller/BOB
manufacturers. While Step/Direction is more common in Mach CW/CCW is well known and widely if not universally supported.
What is not clear is whether your drives are anticipating that the limit and /or home switches are to be hooked direct to the drive
or to the controller. Either would work as far as the servo is concerned but if direct connected to the drive the signals must be
transmitted back to Mach somehow usually via some sort of serial comms.

That only pins 1,2,8,23 and 25 had previously been used would lead you to believe that home and limits were connected to the
controller rather than the drive. I think the advice to try it that way is a good idea. If the servo is not actually installed in the machine
then not having either limits or a home switch will do no harm.

If you decide that the servo PID parameters, fault current, max speed/accel have to be changed  then you will have to get a copy of
the configuration software, no question. With any sort of luck you can use what is currently configured.

What controller and/or BOB are you using? I use an external controller, a Smoothstepper ESS and Homan Designs BOBs.
If you don't have either a controller or BOB then you have some decisions to make. You might also consider using Mach4
rather than Mach3. There is nothing wrong with Mach3 and it has tens of thousands of users but its development has ceased.
Mach4 is suitably complete for milling and routing and features are being added daily by Artsoft and Plugin manufacturers.
If you are going to buy a BOB or BOBs make sure you get ones with LEDs on the outputs, really are a Godsend when setting
up, especially if new to Mach.

Craig

7075
Hi tony_m,
sorry I have rather hijacked your thread. I found this in the manual
Quote
OEM LED Input 1 Active 821
OEM LED Input 2 Active 822
OEM LED Input 3 Active 823
OEM LED Input 4 Active 824

and this
Quote
OEM LED Output 4 Active 77
OEM LED Output 5 Active 78
OEM LED Output 6 Active 79

So if you want to turn on an output assign pin 14 to Output#1 on the Config/Ports and Pins/Outputs page and in a macro code:

setOEMLED(822)....please note I can't find this instruction in the manual so I may not have quite correct.

Will try to find a list for pound variables, it would be easier to use for your purpose.

Craig

7076
Hi olf20/Bob,
milling/routing is pretty complete in Mach4, just load your code and cut chips.

To customise Mach4 you do need to code with LUA. LUA itself is really easy, its all the instructions necessary to interface with
Mach4 and/or other hardware that take some getting used to. It is worth the effort, you can customise or add features to Mach4
that you just can't do with Mach3. Also while LUA is simple it has features like 'functions as first class values' which make sound
like gobble-de-gook but when you understand the implications you realise that LUA 'kicks anus bigtime'. Neither is that the only
really really powerful subtlety about LUA, light years ahead of VB.

Given that you have an ESS you can download M4 and the Warp9 M4 plugin and try it out. The Demo version runs on Simulate forever
or for about 6 minutes at a time with an active motion controller like the ESS.

Craig

7077
Hi Z,
I am intrigued, my G28 co-ords are, or rather were, set to 0,0,0 when I last used Mach3 and it seemed to work.
Are you saying that if one or more co-ords are zero the machine bombs?

Could it be that if your soft limit is 0,0,0 and it triggers when you call G28 when set to 0,0,0? You might try setting your
soft limits -.001,-.001,-.001 and try again. Hopefully the soft limits won't trigger given that your G28 'home' is just
marginally inside your limits.

Craig

7078
General Mach Discussion / Re: Homing the wrong direction
« on: March 26, 2017, 02:36:19 AM »
Hi,
just had another thought that might explain what you've described...could you have caused a negative scale factor?
Whether it would cause homing in the wrong direction I don't know but it could certainly screw you up!

Craig

7079
Hi,
sounds bizarre. The only thing I can think of is on Config/Homing-Limits page there is a panel where you can
set the co-ords for your G28 location. Could the G28 Z axis location be outside you soft limit area?

If memory serves G28 doesn't go directly to its assigned location, it goes via an intermediate location usually
selected so the tool is clear of clamps etc. If that intermediate location is not specified the current location
is assumed. Presumably the current location is within the soft limits and so shouldn't affect things but its how
Mach operates internally and may be giving you grief.

Craig


7080
Hi olf20,
its been a while since I had a look at that list, I see it has been updated and tidied up a bit since I last looked.
I have migrated to Mach4 so have no need for OEM numbers. In fact one of the main reasons I changed to Mach4
is so I could get away from the confusion of OEM numbers. Of course Mach4 has its own challenges but it is
consistent throughout.

As a matter of interest have you seen an up-to-date pound variable list for Mach3? It would be so simple for the
original poster if it were available.

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 »