Hello Guest it is April 26, 2024, 05:27:58 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 »
841
Hi,
I rather think that requirement is outside of what Mach offers natively, but Mach itself offers only the very briefest subset of wx.Widgets.
I suspect what you want is eminentlty doable, try wxFormBuilder.

Craig

842
General Mach Discussion / Re: Mach3 Spindle Speed Problem
« on: February 02, 2022, 03:50:08 PM »
Hi,
this post dates back to 2011, do you suppose the links have expired?

Craig

843
Mach4 General Discussion / Re: Using M2xx codes
« on: February 01, 2022, 11:25:03 PM »
Hi,

Quote
My diagnostics screen (attached) already  had a Parts Finished indicator but after running Gcode files this indicator has never turned on.

Could it be that it turn on and then off again that fast that you don't see it?

Craig

844
Mach4 General Discussion / Re: Using M2xx codes
« on: January 31, 2022, 11:26:12 PM »
Hi,
Mach Motion is a company, separate from NFS/Artsoft that make motion control products, including full machines. They have over the years contributed a number of important ideas, code,
plugins etc to the Mach community. For instance the Lathe Wizards found in Mach4 are Mach Motion code, and note that only the compiled code is available, Mach Motion quite rightly
hold the source code for themselves.

Mach has a whole bunch of signals, some like mc.OSIG_PTRSF, is an output signal, mc.ISIG_PROBE is an input signal....but there are many hundreds more, many of which are not documented and are for signalling between
Machs different modules and plugins which are neither inputs nor outputs but event signals between components.

In Mach4Hobby/Docs/MachCoreAPI.chm under the Mach Signals you will find a list of all the input signals ( mc.ISIG_*********) and output signals (mc.OSIG_*********) available for use by users.

I have attached a pic of the Edit Screen page. You will note that I have just plonked an LED, called led108, you can see it in the file tree and its representation in Spindle block, it was a convenient open space.
Note also that I have attached the LED to reflect the state of the Parts Finished output signal. Easy.

Now you can run some parts and see what happens to that LED. This should inform your decision as to whether it is an appropriate signal for your purposes.

Craig


845
Hi,
I've only ever experimented with mcSurface Wizard, and it worked as advertised, but why are you using it repeatedly?
Really its supposed to probe the bed of the mill and thereafter subtlely manipulate the Z axis to have the toolpath be absolutely flat
when the bed of the mill is not. The anticipation is that you'd do it once and then leave it alone.

I found that the probing routine was too slow. I use Autoleveller, a software utility that probes a PCB blank and modifies the Gcode to accommodate any
warp or bow in the PCB blank. It works so much better than mcSurface Wizard.

Craig

846
Mach4 General Discussion / Re: Using M2xx codes
« on: January 31, 2022, 09:13:17 PM »
Hi,
those macros are Mach Motions and apply to their profile. They are however very simple macros for turning outputs on and off. You could replicated them if you need.
I think that SwiftyJ's post holds the most promise. Observing the mc.OSIG_PRTSF is the next thing. What you are looking for is some event or signal or condition in Mach that
reliably signifies that a part has finished.

Once you find a suitable event/signal/condition then turning on an output is trivial.

To facilitate the search why don't you temporarily make an on screen LED that reflects the state of mc.OSIG_PRTSF, and then run some parts. What you are hoping is that each time the Gcode file
completes (ie part is finished) then mc.OSIG_PRTSF will set. How long For? Don't know.

Craig

847
Hi,
what you need to do is write your own m3 and m5 scripts.

m3 and m5 are considered built in scripts and you need a specific reason to write your own as your m3 and m5 scripts will dominate the built in scripts.
The procedure is that when the Gcode interpreter encounters an m3 call it will in the first instance look in the macros folder of your profile. If it finds your m3 script
there it will run it. If it does not find an m3 script it will search up the file tree until it finds one, usually the built-in script.

If you open the screen editor and investigate the event properties of the <m3> button on Machs screen you will see that Machs core runs a function  SpinCW().
If you include this in your own script your m3 will have at least the same functionality of the the built in script. Now you just need to include whatever extra
functionality you want, namely turning on the dust collector.

Craig

848
Mach4 General Discussion / Re: Using M2xx codes
« on: January 31, 2022, 04:22:22 PM »
Hi,
so what are the m200 and m220 scripts. They are not standard Mach issue....so where did they come from and what do they do?

Craig

849
Mach4 General Discussion / Re: Signal Library - RPM change signal?
« on: January 30, 2022, 02:44:08 PM »
Hi,
spindle speed is not a signal per se, its a continuously varying register quantity.

A signal, in Mach, has two states, either a 1 or a 0, or equivalently True or False, whereas spindle speed is a number.
For instance if you have a button logically connected to a Mach signal say ISIG_INPUT43, then the Signal Script will run every time
that signal changes state ie you hit the button.

A reasonable list of input and output signals are in Mach4CorAPI.chm under Mach Signals/Input signals and Mach Signals/Output Signals in Mach4Hobby/Docs folder
or alternately the <Help Docs?> button on Machs main screen.

If you want direct access to the register that Machs core uses to store its current spindle speed setting, its called a Pound Variable, which are viewable and editable in
Machs Diagnostic/Regfile/# Variables.

You will find a number of them described here:

https://www.machsupport.com/forum/index.php?topic=40051.0

Craig

850
General Mach Discussion / Re: Manual pulse encoder & mach3
« on: January 28, 2022, 11:30:59 PM »
Hi,
I use my ESS with Mach4 so the details may differ but the setting you need to make is in the ESS plugin.

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 »