Hello Guest it is April 25, 2024, 12:43:26 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 »
1081
General Mach Discussion / Re: How to properly pause and resume?
« on: September 08, 2021, 04:04:48 AM »
Hi,
I suspect you have a fault with Mach3, it should stop on <FeedHold> and resume from the exact same location on
<CycleStart>.

Craig

1082
General Mach Discussion / Re: How to properly pause and resume?
« on: September 05, 2021, 10:21:12 PM »
Hi,
provided the machine does not move between <FeedHold> then <CycleStart> there is no need to re-zero etc, Mach should carry on
from where it left off, I did so this morning on a job on my mill.

If you move the controlled point after you hit <FeedHold> then you must use the <RunFromHere> procedure. The <RunFromHere>
can and will cause crashes until you learn the procedure and follow it rigorously.

Craig

1083
Mach4 General Discussion / Re: mach 4 term definition
« on: September 05, 2021, 08:59:20 PM »
Hi,

NAN= Not a Number, it is distinct from NIL.

Craig

1084
Mach4 General Discussion / Re: Mach 4 question
« on: September 04, 2021, 04:35:34 AM »
Hi,
g31 is a native Gcode, and is most unlikely to be faulty, from your description and Toshio.K's at least some of the g31 code block have executed
successfully, ergo the g31 code is being correctly interpreted by the Machs interpreter and executing in conjunction with your motion controller.

The probing routine you are using is a part of the mcProbing module:

Mach4Hobby/Modules/mcProbing.mcs

Craig

1085
Mach4 General Discussion / Re: Mach 4 question
« on: September 04, 2021, 04:15:54 AM »
Hi,
the error is exactly as I have described previously, that is that the g31 move is reaching its terminal WITHOUT having encountered
a probe event.

The routine you are using has multiple g31 probe blocks, at least one of those blocks is misconfigured such the the g31 block
terminates before the probe encounters the surface it was supposed to detect. You need to open the Lua code file and trace it until
you find how or why the g31 is misconfigured.

You could start by causing each g31 block to issue either a wx.Message block or a status bar message, that would at least tell you which of
the g31 blocks is misconfigured. You might also try compiling a log file, it too should assist in determining where in the Lua file
the faulting g31 is located.

Craig

1086
Hi,
there are three USB-to-parallel port external motion controllers that have a Mach4 plugin, the PMDX411, the UC100
and the PoKeys 57CNCdb25. They near as dammit identical to each other.

Of the half dozen or so companies that make Mach4 ready controllers Steve at PMDX IS the gold standard for support of
his products. There are others that come close to Steve, but none that exceed his commitment to his customers.

All the other controllers use Ethernet connections which has much better electrical noise immunity and lower latency.
One further issue with the USB-to-parallel port controllers is that by definition they can have only one ports worth of
IO, ie 17 inputs/outputs, which is hopelessly too few.....for my machine anyway.

I use an Ethernet SmoothStepper by Warp9TD and have done for seven years. It is Ethernet connected naturally, has three ports
of IO, ie 51 inputs/outputs that run up to 4Mhz, a huge increase over the majority of the competition. The ESS all but requires a
breakout board or boards, you can use from one up to three C10's at $23 each, right up to an MB3 by CNCRoom ($180) that has
all three ports developed, ie 51 inputs/outputs with a good balance between inputs and output, including relay contacts and
PWM output for spindle control.

I have just commissioned my new build mill which runs three 750W Delta servos, that like most servos uses 24V signaling,
and to achieve max signaling speed for Step/Dir inputs I've used 5V differential signaling. I elected to design and build my
own breakout board so it that has exactly what I want and no stuff that I don't. I have split the design into two boards:

1)10 5V differential outputs for up to five servos
 Reset and Enable outputs commoned to all five servos
 5 Alarm inputs, one for each servo
 1 24V switch activated by the Enable output for Z axis brake

2)26 inputs (24V sourcing, so all active low)
 1 Relay output for VFD
 1 PWM output for VFD
 6 General purpose outputs (sourcing and sinking 24V at 50mA)

These two boards are in service and working well. I will post circuit diagrams and PCB layout should anyone want to make their own.

Craig



1087
Mach4 General Discussion / Re: About G Code of Mach4 Demo
« on: August 31, 2021, 04:24:53 AM »
Hi,
can you do rigid tapping with Mach3?

Irrespective of the software, whether it enacts m29 or not, unless the spindle is synchronised to the Z axis you break the tap,
that's why over the years things like tap-matics were invented for when you did not have a spindle that could not be synchronised with the
Z axis.

Industrial machines which do rigid tapping have spindles with 30Nm, 50Nm, 100Nm and more. Thus when the tap enters the work
the spindle stays AT 3 revs/sec (or whatever the programmed speed), it CANNOT afford to slow or the Z axis will no
longer be synchronised with it. Its the same sort of situation with single point lathe threading....the spindle must have sufficient
power/momentum that the spindle does not slow before the controller can react and adjust the Z axis advance to suit. Additionally
prior to the thread being cut, whether by tap or single point lathe tool  the controller must know the rotational speed of the spindle
to very high precision so that the Z axis advance can be calculated.

I ask again do you have a spindle that has that level of speed control and can your controller measure its speed within say three decimal
places?

Second issue is what happens at the bottom of the thread, the spindle has to stop and reverse. The Z axis must likewise reverse. If either
accelerates faster than the other you have a problem. With a surfeit of torque you can get away with it but with hobbyist servos/spindles
that is a tough requirement.

Craig

1088
Mach4 General Discussion / Re: About G Code of Mach4 Demo
« on: August 31, 2021, 03:04:33 AM »
Hi,
more importantly do you have a spindle that has extremely good speed control?

Without a suitable spindle it doesn't matter whether m29 exists or is supported....without a spindle control rigid tapping is a no go.

Craig

1089
Mach4 General Discussion / Re: About G Code of Mach4 Demo
« on: August 31, 2021, 02:03:55 AM »
Hi,
you could write your own m code.

As I posted earlier Machs Gcode interpreter will on encountering an m code first look in the Macros directory of your current profile.
If it finds such a file it will execute it.

In general I follow the rule that I followed when I used Mach3 with regard to the Numbering of M codes. There are no native m codes in
Mach above 100. Thus you could name your custom macro m105() say, and be assured that it would not corrupt any of Machs native
functionality.

Lets however take an m code, say, m3. This is an m code native to Mach which turns on the spindle with CW rotation. If you write your own
m3(), and install it in the macros folder and Mach encounters m3 in your code it will find and execute your m3 macro in preference
to its native m3. Provided your macro is well coded and provides at least the same functionality as the native m3....all well and good.
If however your m3 is not well coded or has some logic error you can expect Mach to crash.......its following the code you provided, its up to
you to ensure that code is good.

If, as Graham and I opine, that m29 is not native to Mach4Hobby, then you could write your own m29 macro.

If I understand correctly you are anticipating that m29 enables rigid tapping?

Rigid tapping requires that the Z axis be coordinated with the spindle, namely that the Z axis descend the pitch of the thread per revolution of
the spindle. This requires a realtime move, that is to say that the around the loop communication delays imposed by controller/Mach/motion buffer/controller
all but preclude Mach from being able to directly control rigid tapping. If realtime control is sought it MUST be provided by the controller.
I note, but have not used, the rigid tapping feature of the Ethernet SmoothStepper. I would commend you do some research on that feature
of the ESS.

My understanding is that for rigid tapping to work you must have Truly Superb Velocity Control of your spindle. This will require the use of
at least  index feedback, but more likely an encoder, and very good, probably PID speed control. Do you have or can you arrange such control?
Even if Mach4Hobby did support m29, your motion controller and most particularly your spindle must support it also.

I have a spindle that I made that uses a secondhand 1.8kW Allen Bradley AC servo. In normal operating conditions I use it as a PWM voltage controlled
free running motor....but because it is a servo I can, and occasionally do, use it in position controlled mode. At that point its really a C axis, ie an
angularly controlled rotation about the Z axis. When I wish to do rigid tapping I use the fact that I can coordinate an angular axis with a linear axis:

g1 c2700 z-20

for example rotates the C axis 7200 degrees or (7200/360) 20 revolutions while the Z axis descends 20mm, thus describing a helically interpolated
controlled point of 1mm pitch and 20mm deep, an ISO M6 thread. This would be followed with a:

g1 c0 z0 move which would back the tap out of the hole.

I very seldom used it in this mode, but it did work. My own design mini-mill of that time started to flex when the spindle exerted much more than about
3Nm of torque. The flexure was inclined to stress and/or break the tap. In order to limit that flexure required that I limit threads to ISO M6 and smaller.
I am commissioning my new build mill, and have been for the last month or so,  it is much more rigid and so I will be able to push the rigid tapping
feature to its max...I hope.

I have not bothered to set up for rigid tapping with my new mill yet, I still need to finish way-covers, better flood cooling, a new BoB install.....and the list
goes on. I'll get to rigid tapping. eventually. Note that I have been able to exploit that my spindle has position control, which is most surely Truly
Superb Velocity Control
!!

Craig

1090
Mach4 General Discussion / Re: About G Code of Mach4 Demo
« on: August 31, 2021, 12:21:11 AM »
Hi,
I cannot find m29 in MillGCodeProgramming.pdf and suspect therefore it does not exist.

Mach4 is stricter about such things.

When the Gcode interpreter encounters an 'm' code it will search first in the macros folder of your current profile, and then up the file
tree looking for the source file. If it does not find it it will error out with the status message you've already seen. Mach3 on the other hand
would just ignore an M code it did not recognise.

To my knowledge m29 is not supported in Mach4Hobby, either in Demo mode or fully licensed.

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 »