Hello Guest it is April 26, 2024, 05:15:21 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 »
4541
Mach4 General Discussion / Re: Simple one line MDI required
« on: May 17, 2018, 07:54:15 PM »
Hi,
the short answer is no.

As it stands you are required to type your MDI code in the MDI window. I presume you are happy with that,
its similar to going to the MDI tab in Mach3.
If you hit <enter> you will start a new line in the MDI window, so you can have multi-line MDIs, quite handy.
Once your MDI code is complete then you are required to issue a MDIExexcute() command and for that purpose
the Cycle Start button is provided.

If you find hitting the Cycle Start button on screen inconvenient it would be possible to assign a spare keyboard
key and have that key execute the MDI. Clearly <enter> is used in other manners would not suitable, every time
you hit it an MDI would execute whether you intended it not.

Does that sound like a reasonable work-around?

Craig

4542
Mach4 General Discussion / Re: No Script Engine Found for ...
« on: May 17, 2018, 07:45:31 PM »
Hi,
just confirm that the Lua plugin is enabled. In early builds Configure/Mach/Plugins in the most recent
Configure/Control/Plugins.

Craig

4543
Mach4 General Discussion / Re: Wireless USB MPG Pendant Handwheel
« on: May 17, 2018, 03:21:58 AM »
Hi,
the code base is about five years old. I, unlike you, am not at all surprised that there is only limited market penetration by manufacturers
of Mach4 ready equipment.

Manufacturers of external motion controllers and pendants have to make a major investment in resources to produce a Mach4 compatible
plugin. Remember this investment is against a backdrop of what is still a fairly small market of potential buyers.

This situation is now changing rapidly.

Firstly the number of Mach4 users has grown to the extent that manufacturers are now actively pursuing products to satisfy demand. Three manufacturers
have released Mach4 plugins, CNCDrive, CSLabs and XHC in the last year, with mixed results in some cases but none the less they have made the investment to
participate in the growth of the Mach4 market.

NFS is to be congratulated that they have focused their efforts on development. Some of the features added in the last year alone are the probing module, PMC, the
all new Zero Brane editor/debugger. As a result of the development effort NFS has also weathered some criticism that Hobby users are confronted with the need to do
a fair amount of Lua coding with out of date documentation yet they have persevered with development of new features and increased capability.

I believe the gamble will pay off, Mach4 is now a very attractive solution for OEM and Industrial customers. The high value of such sales should go a long way to secure NFS's
future. As a hobbyist I will continue to benefit from NFS's new developments and their growing commercial strength, and I am of the opinion that the momentum is
building.

I might point out that we, that is you and I, have the opportunity to get in on the action. For instance you have already seen that there is the market for a wireless pendant.
Do you feel the inclination to roll up your sleeves and make one? Any and all genuine enquires are being met by NFS, they are as enthusiastic that manufacturers should be
producing equipment that makes best use of Mach4's strengths.

Anyway welcome aboard! You will have noted that I am a rabidly enthusiastic Mach4 user......

Craig

4544
Mach4 General Discussion / Re: Wireless USB MPG Pendant Handwheel
« on: May 17, 2018, 12:50:14 AM »
Hi,
as you can see there is a very substantial investment in time an energy to code even something as simple
as a plugin for a pendant. To date few manufacturers have done so.

There have been a number of posts in the forum from users whom have made their own control panels
complete with buttons, switches and handwheels. Most have had good success an enjoyed the process
of both making and then programming with Lua.

Unless you are dead set on a wireless unit a control panel could be a worthy project, certainly a learning
oppurtunity.

Craig

4545
Hi,
yes 066 was the latest but 062 was considered less buggy and has been recommended.
Looks like its had a wee tweak to accommodate the latest MS updates and so I believe is the 
first bit of work done on Mach3 for five years.

Craig

4547
Mach4 General Discussion / Re: Wireless USB MPG Pendant Handwheel
« on: May 16, 2018, 11:20:57 PM »
Hi,
there are few pendants at this time that have a Mach4 ready plugin.

I use a VistsaCNC P1 but that is wired not wireless.
There has been some posts about XHC pendants, one of which is wireless, and some success has
been had getting them to work with Mach4. I'll try and track down the thread.

Craig

4548
Hi,
I think this test is the correct one:
Quote
Also, does the Y-axis work using the MDI or the pop up onscreen MPG pendant (press tab key on keyboard)?

If the Y axis does not work under this circumstance when the X,Z and A do then it means most probably a fault on the board, most commonly the stepper driver IC.
I would guess if you had a close look it will be a Toshibe IC 68.... or similar, good  ICs if used within their limits and cheap, but tender and prone to failure if you
stray outside those limits.

Can you post a close-up pic of the board and/or driver ICs?

Craig

4549
Hi,
I think the pound variables in the range #500 to #549 are persistent global variables. That is to say that they are written to the .ini file and so are preserved
over different Mach sessions.

Good spotting with the L vs Q. I didn't spot it myself.

Quote
CNC Programming Handbook
by Peter Smid is pretty much the bible for CNC. It is almost too comprehensive to be a quick reference but it is good.

There is one way in which Mach4 Gcode is somewhat stricter than Mach3 Gcode:

Code: [Select]
N00170 G04 P3.000000
N00180 G82 X-31.9000 Y27.1800 Z-3.0000 F100   R1.0000  P0.500000
N00190 G82 X-37.3000 Y13.6000
N00200 G82 X-37.3000 Y18.7000
N00210 G82 X-37.3000 Y21.3000
N00220 G82 X-16.8500 Y27.4000
N00230 G82 X-21.6000 Y22.7500
N00240 G82 X-23.7000 Y9.4500 
N00250 G82 X-27.4500 Y34.4000
This is  a fragment of code for drilling holes in circuit board. The code was produced by a PCB-to-GCode utility operating on PCB software EAGLE. It works in Mach3 as is
but not in Mach4. The reason is that the drill cycle G82 is modal, you mention it once and it stays active until you change it. Therefore having G82 on each line is redundant and
worse illegal because successive lines only have the new X and Y co-ords without all the other drill cycle parameters. The code runs in Mach4 if its edited:

Code: [Select]
N00170 G04 P3.000000
N00180 G82 X-31.9000 Y27.1800 Z-3.0000 F100   R1.0000  P0.500000
N00190 X-37.3000 Y13.6000
N00200 X-37.3000 Y18.7000
N00210 X-37.3000 Y21.3000
N00220 X-16.8500 Y27.4000
N00230 X-21.6000 Y22.7500
N00240 X-23.7000 Y9.4500 
N00250 X-27.4500 Y34.4000
Each successive line introduces new X and Y cords and the existing drill cycle parameters are assumed constant.....as you can see the Mach4 interpretation is actually the correct one
its just that we became accustomed to dodgy code in Mach3.

Craig

4550
Modbus / Re: Communication With Modbus Multiturn Absolute Encoders
« on: May 16, 2018, 08:22:13 AM »
Hi,
why?

Modbus communicates master to slave, so you would require a Modbus slave, either a PLC or Arduino or similar at the encoder for the PC Modbus master
to interrogate. Why not just hook the encoder to an MPG input on your BoB/controller?

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 »