Hello Guest it is April 16, 2024, 12:00:46 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 »
3651
General Mach Discussion / Re: Limiting 5th axis rotation, new setup
« on: September 15, 2018, 10:21:45 PM »
Hi,
my preference would be something like the attached.

Note that the home switches are independent of all limit switches. In an industrial machine if any of the limits switches activates the machine
de-powers, not just stop, but kills the electrical supply.

Thus when you home the machine, if you combined a home and a limit switch, then the machine would stop. Mach can handle this by ignoring limits
when the machine is homing. That means when homing the machine is in a potentially dangerous state, it could accidentally exceed it limits and Mach
would not shut down. For large equipment this would be contrary to safety law in many countries.

Note that in industrial machines each limit switch would have its own input as well, it would allow the controller to permit the operator jog the machine
in the direction that brings the machine back into bounds and disable th jog direction that makes it worse. This would require even more inputs and wiring
for which very few hobbyists bother.

While I recommend the advantages of having separate and multiple inputs for limit and home switches you may, and probably are, constrained
by the number of inputs on your controller or BoB. If you have only two inputs to spare then your previous diagram will work but Mach will not know
which limit switch has just operated, just that one has. Likewise should any of the home switches operate while Mach is expecting the Y axis home
switch to meet its pre-programmed homing order Mach will interpret it as Y Home, when it was in actual fact an false activation of the B axis home switch
say. Consequently the Y axis would be mis-referenced and a crash is now likely.

3652
General Mach Discussion / Re: Limiting 5th axis rotation, new setup
« on: September 15, 2018, 08:55:41 PM »
Hi,
no not really, but looking at what you have drawn you probably don't have a choice, you don't have enough inputs to do as
I suggested.

I would in preference, I must point out that I use an Ethernet SmoothStepper with two ports equipped with BoB's which give 18 inputs
and 16 outputs, have all your home switches on separate inputs. I would have your X, Y and Z axes limit switches in series on another input.
I would have your two fifth axis limit switches in series on yet another input. Given that you fifth axis is likely to suffer damage it makes sense to
have limit switches and an input dedicated to monitoring that axis.

My suggestion would require four inputs for the home switches an two inputs for the two limit switch circuits, for a total of six inputs. Do you have
six inputs to spare?

Craig

3653
General Mach Discussion / Re: Limiting 5th axis rotation, new setup
« on: September 15, 2018, 03:25:19 PM »
Hi,
the ideal is to have three switches, one home and two limit switches. Industrial machines are wired that way.
It means that there is no confusion between a limit or a home event. That does require that your controller or
breakout board has sufficient inputs, not always the case with hobby CNC gear.

I personally would fit a single home switch on a dedicated input and use Soft Limits. If you want the extra protection of limit switches then fit them
and wire them in series to a separate input.

Craig

3654
General Mach Discussion / Re: Limiting 5th axis rotation, new setup
« on: September 15, 2018, 10:33:28 AM »
Hi,
if you use two switches, one at each end of travel and wire them together how will you home the axis?

If you use the one wire then it would have contact at 100cw but also 100ccw, so which is home?

Craig

3655
General Mach Discussion / Re: Limiting 5th axis rotation, new setup
« on: September 15, 2018, 12:38:56 AM »
Hi,
it is common to use a limit switch as a home switch also on an axis.

Take say the X axis with two limit switches, one at each end. Lets say the leftmost one is X-- and X Home and the rightmost one is X++.
Your Soft Limits on the Homing and Limits page would be 0 (0 being home AND X--) and X++=400mm for an X axis of 400mm travel.

Imagine you have only one switch, a home switch on the X axis. Lets say that it is 100mm from the lefthand extreme of the axis. Your settings on the
Home and Limits page would be X-- = -100 and X++=300mm. Note the travel (400mm) is the same in both cases its just that the zero point is somewhere
in between the left and right extremes of the axis.

You want to program limits into your fifth axis. On Machs General Setup Page check that the fifth axis, B, is in angular units and also that rotational
soft limits are engaged. I suspect you will want Rotational Rollover unchecked.

If you have one B axis switch at the center point of rotation (home) then your softlimits would be -100 and +100. If you had two limit switches at each end of travel
with the home at the ccw end then the limits would be 0 and +200.

Provided you reference (home) your machine when you turn it on prior to use and your soft limits are set correctly they work pretty well. Mach will refuse,
in fact throw an error, if the Gcode or jog inputs attempt to cause an axis to go out of bounds. If you forget to reference (home) your machine then its
entirely possible for your machine to go out of bounds because you forgot to tell it where it was at the start, so even having the boundaries correct doesn't
help because it didn't know where it is to start with.

The safest method is to have limit switches, one at each end of travel. Most high speed industrial machines have separate limit switches like that, it means that
if any one of the switches is activated the machine is shut down.....no ifs....no buts.....completely de-powered, its a safety measure. Such a machine will have
soft limits as well set to go off before the machine touches the physical limit switch. The idea is that 99.9% of the time the machine will work within the soft limit
boundaries and only as a result of some dangerous failure will the limit switch activate, and to comply with safety laws shut the power off.

Craig

3656
General Mach Discussion / Re: cutting a spiral
« on: September 15, 2018, 12:07:35 AM »
Hi,
codes G2 and G3 are circular arc/helical interpolation moves.
See for instance 'CNC Programming Handbook' by Peter Smid, its pretty much the Gcode bible.

They are fixed radius, you cannot to my knowledge use them as a spiral.

The way to do it is use CAD to draw the part including the spiral toolpath then use CAM to generate the Gcode.

Craig

3657
General Mach Discussion / Re: CS Labs CSMIO/P-A
« on: September 14, 2018, 03:40:18 PM »
Hi,
3 rpm represents an effective input voltage of:
Vin=3 /300 (rpm/V)
   =0.01V or 10mV

That could be the input bias voltage of the input amplifier alone. You can chase your tail for hours and then the temperature changes and its out
again. Close the position loop already!

Craig

3658
General Mach Discussion / Re: CS Labs CSMIO/P-A
« on: September 14, 2018, 03:25:23 AM »
Hi Mick,
your servos are in velocity mode. An analogue voltage at the input will cause the servo to rotate. It is tunable, something like
300 rpm per volt. Even when there is no input voltage there is still electrical noise, thermal noise if nothing else, that's a fact of physics
and you could end up with some net small voltage which will cause rotation.

When you hook up the CSMIO it will close the position loop. Thus if Mach commands 3184 steps, say, or 114.6240 past the index point and
should the servo drift a few tenths of a degree due to noise then the CISMO will detect that the servo is not at its commanded location and make a voltage
correction such that the servo moves back towards 114.6240 again.

If your servo were in position mode it would not rotate at idle, the position loop is now in the servo drive but it has the same result as the CSMIO, namely any drift
will be detected and a restorative action will be taken by the drive.

Craig

3659
General Mach Discussion / Re: Z losing zero position in rapid move up
« on: September 13, 2018, 02:37:31 AM »
Hi,

Quote
I was thinking more along the lines of a backlash problem
You may very well be right, I hadn't considered backlash. If backlash is an issue why is it that it occurs when you are jogging
not during a Gcode job?

A reduction in acceleration or velocity or even both may prove effective and therefore point you in the right direction. If the problem remains unchanged
then you can all but rule it out, either way its still a useful experiment.

Craig

3660
General Mach Discussion / Re: Z losing zero position in rapid move up
« on: September 13, 2018, 12:48:10 AM »
Hi,
sounds like its losing steps, try reducing the acceleration of the z axis a bit.

When running a job the machine tends to run at a percentage of max speed/acceleration whereas
your jogging will be at max.

If that fixes it you might have to look further as to why its doing it now but not before, maybe some
mechanical binding or similar.

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 »