Hello Guest it is April 24, 2024, 08:30:36 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 »
3391
General Mach Discussion / Re: To smoothstepper or not?
« on: December 07, 2018, 09:34:11 PM »
Hi Gerry,
I always had a pretty good run out of the parallel port and had a very good 'flat line' DriverTest.exe response. As such I did not expect to see
a dramatic improvement when I went to a SmoothStepper.

What I got impressed me, I had been running my 5 phase Vexta steppers at 1800 rpm during G0's without good reliability under the parallel port.
When I switched to the ESS I was able to increase the G0 speed to 2400 rpm and run marginally cooler. Also the sound the motors make it not as harsh.
I ascribed, maybe mistakenly, that the 2-4us of jitter of the parallel port was sufficient to induce a rather harsher noise than the same motor under the ESS.

The only time I got into any bother with the parallel port is if I had some CPU intensive task running in the background or a large file where the redraws would
either stop, stall or stutter Mach. I've found the ESS to be somewhat more forgiving in that regard.

The increased range of highly suitable PC's and OS's that come from using a good external motion controller lead me to recommend such a controller alone.
The perceived, real or otherwise, increase in performance is a bonus.

Craig

3392
Mach4 General Discussion / Re: Hybrid Stepper Setup in M4
« on: December 07, 2018, 09:16:12 PM »
Hi jm2020,
on page 63 of the manual there is a list of the various modes of operation making use of the highspeed RJ45 connection.
All of them rely on communication with a PC or PLC on a shared bus arrangement. Nowhere does it mention using the RJ45
connector as step/direction input. I was of the opinion that's what you were doing. Am I mistaken?

If I am mistaken and Steve is correct then you can only signal the steppers with the pins available in the P2 connector which are limited to
5kHz which is too damn slow to be much good.

Craig

3393
Mach4 General Discussion / Re: Hybrid Stepper Setup in M4
« on: December 07, 2018, 08:59:15 PM »
Hi Steve,
OP has used the Lexium tuning software at 256 microsteps per full step for signal rates in excess of 1 MHz using the Ethernet connector.

The spec you read on page 22 relates to connector P2, not the Ethernet connector (RJ45) which is described on page 23:

Quote
RJ45 Standard RJ45 connector for CAT5/6 cabling capable of 10/100 network
speeds. TCP/IP settings are modified using the TCP/IP Configuration
Utility. See the Lexium MDrive Software Suite Manual.

If OP is trying to use the opto-coupled inputs in the P2 connector then it is no wonder that it wont perform as he expects.
Having said that a cursory scan of the manual doesn't suggest that you can signal step/direction signals into the RJ45 port, despite
me having formed the impression that OP has done exactly that.

Craig

3394
General Mach Discussion / Re: To smoothstepper or not?
« on: December 07, 2018, 08:39:12 PM »
Hi,

Quote
Did you notice any improvement in the quality of the cuts you were making
No, not really, I mean a parallel port would have to screw up pretty badly before it deviated from the toolpath or jittered
enough to affect the cut quality. Of course the parallel port did from time to tine screw just exactly that badly.

The SmoothStepper is better in that regard....it takes a lot more hamfisted interference by me before it screws up.

I've always commented of the money spent on improving my machine the best value were good quality roller plunger microswitches
for my home switches and the next best item is my ESS.

Craig

3396
Mach4 General Discussion / Re: Hybrid Stepper Setup in M4
« on: December 07, 2018, 04:47:32 PM »
Hi,
increasingly I'm thinking that there must be a mismatch in signaling causing the drift you have described.

If for instance Mach4 was faulty in that it produced 4000 pulse one way nut only produces 3996 pulse when going the other way
than ALL mach4 users would be affected. Do you not think that would be trumpeted loud and clear!

Likewise if its a fault of the 57CNC then ALL those other users have not encountered the same problem, I suspect extremely unlikely.

Given that the Leixum setup app is performing perfectly and as expected then you know that the stepper itself is capable.

That really only leaves the signaling between the two.

I have attached the representative output circuit of the digital output of the 57CNC. It is not clear whether the output you are using has the resistor in circuit
or not but the current output specs suggest it is not trivial, 8mA vs 50mA. The next thing to note is that the output pin is driven by the MCU which
is almost certain to be totem pole TTL output. This style of output is very common and woulds drive the input opto-coupler of many stepper drives or servo drives.
Note also that such opto-coupled inputs are speed restricted to about 100kHz. The 57CNC output is speed limited to 125kHz per manufacturers spec.
Given the majority of the devices which PoKeys might reasonably expect their controller to signal they can be satisfied that their controller is very capable.

If you scan the specs of most servo drives you will see that most tolerate single ended inputs of up to 100kHz but thereafter require differential signaling
up to the common limit of 500kHz.

Then you come along with a differentially signaled device. Lexium can be forgiven in that in order to signal their stepper  requires signals in excess of
1 MHz then a good quality differential signaling scheme is mandatory. Ethernet is a good quality differential signaling scheme that is widely supported
with low cost components and chip sets and they have taken advantage of that.

I think you have to try either in IC such as I have linked to (the second and correct link! Ahem!) or use some of the little RS485 driver boards that abound
on EBay and similar.

3397
General Mach Discussion / Re: To smoothstepper or not?
« on: December 07, 2018, 03:50:37 PM »
Hi,
just as an aside in most circumstances increasing the G0 maximum velocity does not improve cycle times a great deal.
Most CNC jobs do not spend a great deal of time operating at maximum G0 speeds but are accelerating up to that speed
but then have to start slowing down again without ever having reached maximum speed.

Increasing maximum acceleration is very much more relevant to cycle time under those circumstances and acceleration
comes back to motor torque. When I fitted and set up my ESS (Ethernet SmoothStepper) I increased the acceleration in
addition to the max speed. I can't remember by how much. I do remember increasing it (without losing steps) so much that
my machine was rocking around so much that I had to tie it to the wall! So I backed off quite a bit. So my machine is capable
of quite a bit more acceleration than I'm comfortable with in practice. I'm sorry I don't have or recall any numbers or even indeed
whether it was the ESS that allowed the increase, it may be that the machine was capable of considerably higher acceleration
when I was still using the parallel port as well.

Craig

3398
General Mach Discussion / Re: To smoothstepper or not?
« on: December 07, 2018, 02:30:15 PM »
Hi,
when I went to an Ethernet SmoothStepper, a genuine Warp9 TD unit, not some Chinese knock off.....don't worry there are plenty out there,
I was able up increase my G0 traverse speed by 33% and the motors run a little cooler and sound 'smoother'.

Craig

3399
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: December 07, 2018, 01:25:53 PM »
Hi,
there is an API for that, but I'm not sure that it was intended for use on the fly, that is to say I thought it was for use in plugins
where a parameter, in this case 'steps per unit', were set for a device and then left alone.

Quote
LUA Syntax:
rc = mc.mcMotorSetCountsPerUnit(
      number mInst,
      number motorId,
      number counts)

Description:
Set the counts per native machine setup units.

Craig

3400
Hi,

Quote
What methods does mach software have for updating position based on an external reference?

That might be a little trickier. It has been some while since I used Mach3 so I can't be 100% that the situation is the same as it is
in Mach4 but to the best of my knowledge it is the case.

The only way to change machine coordinates in Mach is to either move the machine OR reference it.

You might have thought that:

Quote
LUA Syntax:
rc = mc.mcAxisSetMachinePos(
      number mInst,
      number axis,
      number val)

From the API would set the machine position, ie the machine coordinates, but I have tried using it and failed. This is from the same API note:
Quote
Parameters: Parameter Description
mInst         The controller instance.
axis            The axis ID.
val             The desired axis position to apply a fixture offset.

So when I did try it was the fixture offset that changed not the machine coordinates at all.

If there is another way of doing it I don't know what it is , maybe someone else can chime in.

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 »