Hello Guest it is March 29, 2024, 07:55:23 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 »
3481
General Mach Discussion / Re: Forum search error
« on: November 22, 2018, 07:16:24 PM »
Hi,
the Artsoft website is being re-modeled and the search function has been on the blink for a fortnight or so.

There a dozen or more posts about it recently.....you could find them just by reading the post titles.....you don't need a search function
to find that much.

Craig

3482
Hi,
I'm guessing that you are going to have to program things like limit switches and/or home switches plus the motion control.
That is a major undertaking.

I understand that you wish to keep the installation compact and certainly the PI is that.

The only alternative to writing all that code is:

https://www.dfrobot.com/product-1585.html

$209 gets you a Windows 10 PC with Windows 10 Enterprise installed with 4/64G memory....not bad. If you wanted to run Mach (3 or 4)
you would require a motion control board like a SmoothStepper or a UC300. A 64 bit machine like the LattePanda 4/64 CANNOT run a parallel
port. Thus your budget would need to include the cost of an external controller. I use an Ethernet SmoothStepper (ESS) by Warp9 TD (don't get ripped
by the bulls*********t Chinese knockoffs) for $185.00. You would also want a breakout board (BoB), a ubiquitous C10 for $23.00
The LattaPanda, the ESS and BoB would fit into a 120mm cube or thereabouts.

May I suggest downloading Mach, either or both 3 or 4, and try them as demo at no cost. It might interest you to see how the motor tuning is set up.
Likewise it may give you an appreciation of all the features including jogging etc. I would recommend Mach4, it is superior when it comes to customization
which you'll want for a standalone machine.

There is already a 'Shuttle Pro' plugin which maybe adaptable to your requirements. If the Shuttle Pro plugin is not suitable then the Xbox plugin will.
It is written by users and so you can download it and tweak it to your satisfaction. Note these plugins are only for Mach4 to my knowledge.

Yet another alternative is LinuxCNC. The same LattePanda board without Windows 10 is $149.00. You can install LinuxCNC for free and it will
run a parallel port. Its not the norm to recommend what amounts to a competeing software product on the Mach forum but I feel honour bound
to point out that it could be a perfect solution for you. Indeed LinuxCNC could be installed on a PI as well, even cheaper again!.

Craig

3483
Hi,

Quote
Thanks for the reply, ramping up makes perfect sense, otherwise the magnetic field inside the motor will be moving faster than the motor can go from a standing start

That is a perfect description of a stepper motor stall. The rate at which a stepper can accelerate is determined by the rotational inertia
of the rotor and associated ballscrew. The mass of the load in effect increases the rotational inertia of the armature. It is for this reason that
servos and steppers have detailed specifications about torque and rotational inertia....because they set the possible angular acceleration.

Quote
I just need to control the motor using a square wave, there's no PWM required?

That is correct. Most stepper drivers will have some specification about minimum pulse width, commonly 5 us. That still allows for a very fast
pulse train, faster than you will ever require.

A absolutely vital piece of stepper motor physics is that the torque reduces as speed increases. Much is made of the inductance of the windings,
the smaller the inductance the faster the motor will go with acceptable torque. As a rule the torque available from a stepper is about 1/2 of its
maximum rated torque at 500 rpm. If you want good performance with rotational speeds in excess of 500 rpm you are going to have to do some
homework OR use servos.

Your stepper drivers probably have microstepping. It is a means of causing the motor to rotate 'in between' the 1.80 full step positions.
While it sounds a seductive means to increase the resolution of a stepper due to physics it is not as effective as you might like to believe. What
microstepping does do however is make the motion smoother and can greatly reduce mid-band resonance which plagues steppers. Thus you would have
some microstepping, usually set by switches in the dirives. A micro step of 8 is a good compromise. It increases resolution over full step by a factor of
2 reliably and gives smooth motion without your controller having to deliver accurate pulse streams in the high tens of kHz.

If you had microstepping set to 8 then it will require 8 x 200 =1600 pulse /er rev. Remember the 200 comes from 3600/1.80=200.

Craig

3484
Hi,
you are correct most stepper drivers are 5V TTL input. More recent designs will accommodate 3.3V TTL as well, you may not need
that converter.

To start with assume that the stepper drivers have no microstepping activated. Thus every time a pulse is delivered to the step terminal the motor will
advance one full step, with a two phase stepper that is 1.80. So with 200 pulses the motor would rotate  one turn.
If you want your stepper to rotate at 100 rpm then you will need 100 X 200 =20,000 pulses per minute or 333.33 pulses per second.

If you suddenly turned on the PI and it were producing 333 pulse per second the motor would stall. The motor cannot go from zero speed to
100 rpm instantly.....you have to build up to it slowly, or ramp up, as they say. If you apply a pulse stream too rapidly the motor can't keep up
and it stalls making a squealing noise. The only way to overcome that is to remove the pulse stream and then reapply it but 'ramp' it up.

A device like the PI or an Arduino can do this easily. It will take a lot of programming. Mach3 or Mach4 has already got all that 'ramp up and ramp down'
stuff built in amongst many other features including joystick jogging at variable rate and modes.

Craig

3485
Mach4 General Discussion / Re: Mach4 Axis 0 Commanded While Disable Help
« on: November 22, 2018, 03:27:01 PM »
Hi,
what that means is that the set of instructions that do the work of homing  your machine are calling for an axis (motor 0) that
is not enabled.

Have a look at Configure/Control/Axis Mapping per the attached. My machine has three axes, X,Y,Z and they are motors 0,1,2.
When my machine homes the homing instructions call for each to be homed.

You have two choices:
1) Enable the axis (motor) that is requested. Note this will prevent the error you have described but unless that axis (motor) is fitted
    then it will never move and therefore never home and that's a fault too.
2) Change the homing (referencing) instructions to call only those axes (motors) that you have enabled and installed.

Just as a matter of interest, I haven't tried it but what would happen do you suppose if say you had motor 0 assigned to the X axis as I do
but don't have a X axis home switch assigned? I suspect that would give a similar error to that you have described.

Craig

3486
FAQs / Re: Setting Mach 3 Port to PCI parallel port address
« on: November 21, 2018, 06:47:13 PM »
Hi TPS,

Quote
i not agree 100%, some stuff (you have to find it) is not so bad.
i have a chinese servo Motor supplier witch deliveres realy good things for a very nice Price. 

You are correct....but the operative word FIND it. How many posts have we seen in the last month alone where these XHC products
don't work. Customers are being ripped off....I don't know who's the bigger villan.....XHC for advertising it or the fools who never do
any reading on the forum and unwittingly end up buying the rubbish.

Craig

3487
FAQs / Re: Setting Mach 3 Port to PCI parallel port address
« on: November 21, 2018, 06:47:06 AM »
Hi,
do yourself a favour and get a US or European made controller....Chinese made stuff is rip-off junk.

Craig

3488
FAQs / Re: Setting Mach 3 Port to PCI parallel port address
« on: November 20, 2018, 05:11:38 PM »
Hi,
slaving of axes is done by the motion controller. In the case where Mach's parallel port is the motion controller then Mach's GUI
is where you make the setting but it is enacted by the motion controller. Note that I class Mach's GUI and Mach's parallel port
as separate items.

With your XHC controller then I don't believe the setting you have made in Mach's GUI has any bearing on what the controller does.
It will have to be done in the controller or the .dll plugin which programs the controller.

Do you have any documentation from XHC?

Craig

3489
FAQs / Re: Setting Mach 3 Port to PCI parallel port address
« on: November 20, 2018, 04:47:34 PM »
Hi,
then there should be a setting in the motion controller plugin that slaves axes together.

Is your controller made by XHC?

Either way I think you'll have to contact the manufacturer to determine the right settings if you've not been provided with a manual.

Craig

3490
General Mach Discussion / Re: Mach3 and Inkscape to Create GCode?
« on: November 20, 2018, 12:51:29 PM »
Hi,
I'm not familiar with Inkscape and whether it can be coaxed into producing Mach compliant Gcode.

May I suggest that you try some of the Wizards that come with Mach. They tend to be more for engineering purposes,
milling a rectangular pocket, drill a bolt hole circle etc but they do generate good Gcode. You will then see the sort of
code that is required.

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 »