Hello Guest it is April 25, 2024, 05:35:12 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 »
6591
General Mach Discussion / Re: Mach3 always hesitates in arcs and circles
« on: September 22, 2017, 10:57:39 AM »
Hi,
I've done the same sort of thing on my mill.

The stepper/ planetary gearbox/ ballscrew resolution is 1um. The manufacturer of the planetary gearbox claims less than 2 arc min backlash equivalent
to 0.7um lash.

When I did the same measurement that Roger describes I got 4um lost motion? As it turns out I'm using some cheap aluminium shaft couplers with a spiral
slot cut into them. They wind and unwind a bit like a spring and there is my lost motion. I have retained those things because they are a bit weak, I've had
the occasional crash and the coupler twists itself up and shears rather than some other component breaking. While I didn't intend it they serve as a mechanical
fuse.

With the gearboxes and mechanical advantage of the screws the stall thrust of my axes is over 1500 N or 150kg thrust, enuf to crush things like hands and so
on. This machine is tiny, machining volume of 200mmx200mmx200mm, and yet its till got the grunt to injure badly. Was quite a surprise when I realised that.
As I've said before 'some surprises are surprisingly more surprising than others'.

Craig

6592
Hi,
I'm happy enuf with your explanation re industrial version of the software, If you had the gold you wouldn't be buying Mach4 for this job anyway.

I just noticed something that is worth thinking about maybe trying:

Quote
LUA Syntax:
rc = mc.mcMotorSetHomePos(
      number mInst,
      number motorId,
      number count)

Note the syntax that the position set occurs at a number 'count' in encoder counts from the switch. The C++ syntax for the same statement is that count is
integer. I'm thinking that because you've set count to zero then the switch will still be active whereas if you try backing off a wee bit....who knows?

Craig

6593
General Mach Discussion / Re: Interference with axis motors
« on: September 22, 2017, 10:06:01 AM »
Hi,
kool, mystery solved. Maverick you may want to do a bit of research and find a manual for your controller, just what its capable of and how you
set it up are going to be critical to you getting the best from your machine.

Craig

6594
Hi,
crazy thing about Aussies, you have to hit them with a stick to make them realise when something is good! You've paid for and got Mach4 but stick with
Mach3.

I'll send you an email...I've got some bottom land to sell you...bottom of what you ask....don't worry I'm Kiwi...would I put you crook? LOL

Craig

6595
Hi,
you don't need it, as you say the loop is closed by the drive. You may have noted that there is an alarm that triggers if the servo deviates by
some small programmable amount, say 20 encoder counts. If you have a 10000 count per rev encoder that means your servo will alarm if it
lags by 3/4 of a degree from where its supposed to be....that's right 3/4 degree from where it supposed to be at say 1000 rpm! This thing is so
damn accurate it was intended as an axis servo not just a mere spindle motor.

The actual and programmed speed should be within a few parts per million.....you are wasting time and money if you try improve on that.
No doubt if I read the manual closely there will be an encoder output. This could be used by Mach to measure the rpm and display it if
you want to be totally anal retentive about it.

There is talk of the ESS having an API but given it has yet to get backlash compensation and THC support and I've been waiting for months I wouldn't
hold my breath....anoxia is a bad way to go! I don't intend this as a complaint about Warp9 either, I use an ESS and luv it, I just don't need a lot of
bull********* stuff.

I don't know whether you have done any control systems programming but PID programs are not for the faint hearted...you have to worry about loop
parameters, integrator wind up, how to generate a low numerical noise speed signal, usually done by a high gain integrator loop, and if you have to ask
you do not want to try it!

If you've already got full speed range control with step/direction signalling then using analogue voltage for speed control is going backwards...you already have
position control, and not just any position control but the full blown modern sense of position control...that is a final position accuracy of (programmable)
four encoder counts say, 8.6 min of arc, just a bit over a tenth of a degree!

The bottom line is you stumped up with I'm guessing $1000 for a servo and drive, ie you paid good and what you've got is good, in fact very good! If your
going to worry about stuff you might try worrying about who's going to win the next Melbourne Cup!

Craig

6596
General Mach Discussion / Re: Interference with axis motors
« on: September 22, 2017, 06:40:24 AM »
Hi Roger,
I read a book by Sean Lemming, a real Windows guru and interrupts, in something like 15 levels of priority, are normal in Windows for all manner
of inter thread communication. The problem is that you can't stop Windows from using interrupts, it would crash immediately yet you need to run pretty high
priority interrupts to drive your timer for Mach.

How Art got it to work is a marvel still. I'm bloody glad he put his talent into that rather than hacking nuclear missiles, I mean hacking missiles would be easy for him!

Craig

6597
General Mach Discussion / Re: Z Depth ??'s
« on: September 22, 2017, 06:32:12 AM »
Hi,
what direction have you got your Z axis set for.

I follow the usual standard where Z=0 is the top of the material z=-1 is 1mm below the surface and Z=-10 is a humungous 10mm cut and it had better be soft
or something is going to break and Z=20 is 20mm above the material and out of harms way.

Craig

6598
General Mach Discussion / Re: Interference with axis motors
« on: September 22, 2017, 06:20:29 AM »
Hi Roger,
that's what intrigues me about Mavericks system, he posted a listing for his board, a parallel port BOB but hes plugging into a Windows 10
machine. I'm convinced that the PCI card he has installed is rather more than a PCI to DB25 card but I'd luv to find out!

Craig

6599
General Mach Discussion / Re: Interference with axis motors
« on: September 22, 2017, 06:15:45 AM »
Hi Roger,
sure Windows 10 can run a parallel port to drive a printer, that's easy, what Windows 10 doesn't allow is the code necessary to produce accurate pulse
streams required by a control system. The DB25 socket is just a convenient way to simultaneously signal a bunch of devices, generating all those signals
in the first place is the trick.

Craig

6600
FAQs / Re: How can I control ac servo motors using mach3? help!!
« on: September 22, 2017, 06:08:03 AM »
Hi,
Mach is a program that interprets Gcode and plans a trajectory. The trajectory is a sequence of numbers that describe a position and velocity over time,
called PVT for short.

A motion controller has a table of all the PVT data and its job is to calculate the pulses necessary to make the motors follow the PVT data.

In the early days this task was done right on the PC by its own CPU. X86 CPUs are not especially good at generating pulse streams, they don't have
sophisticated hardware timers like industrial controllers and FPGAs. Also the CPU has to make these really accurately timed pulses AND run Windows,
Mach and all of the other stuff. Machs Pulse Engine or Port Driver almost had to shoulder Windows out of the way to do it. It was a very clever piece of
code and is still used by lots of people and called the 'parallel port'. It does use the old style printer port that's true but the real smart stuff is the code that
generates the pulse streams. The parallel port is an example of a motion controller, ie 'a device that can generate accurate pulse streams'.

The original parallel port is not without its problems, its fairly slow, its timing is subject to some jitter, it can stop altogether if some other software is running
that competes with it and it can ONLY be run on 32bit operating systems. For this reason a number of companies have made external motion controllers
which use an FPGA or DSP ICs to generate pulse streams. They tend to be faster and more accurate. They are now pretty well known and work really well
on 32 and 64 bit systems but of course you have to buy one, the cheapest are about $100 and the dearest can be up to $2000. Plenty of good ones for
around $200.

The combination of Mach and a motion controller, whether the controller is part of the PC or a separate board hooked up by USB or Ethernet, produce
step and direction pulses to the motor drivers. The motors can be steppers or if you can afford them AC servos, as far as Mach goes it doesn't care which.

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 »