Hello Guest it is April 25, 2024, 11:42:47 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 »
4521
General Mach Discussion / Re: 2M542 & Mach3 settings
« on: May 19, 2018, 06:25:57 PM »
Hi,
it sounds like you have experimented enough with the steppers and drivers to be reasonably confident that the fault is not the steppers/drivers. You may have to
revisit that decision but maybe you should consider other possible faults.

You haven't specified that you are using a parallel port, I don't know anything about your 'common PRC BoB', but will presume it has parallel port input. If that is the case
then if the parallel port is stalling or stuttering in any way missed steps and outright stepper motor stalls result.

May I suggest run DriverTest.exe and post the results, 'Good or Excellent' is not an adequate report, we need to see either the graphic line and/or the numbers describing the jitter.
A screen shot is good. Use the 'Additional Options' to the lower left of the text input pane to attach and preference is that you use Paint or similar to scale the image to around 600kB.

Craig

4522
Mach4 General Discussion / Re: Simple one line MDI required
« on: May 19, 2018, 06:12:17 PM »
Hi,

Quote
I only use the most basic of functions on Mach3, I don't trust it. So far I've had very few accidents, the worst being caused by the way that Mach3 restarts part way through a program. That's just plain dangerous in my opinion and I avoid it if at all possible since I'm never certain what's going to happen.
I used Mach3 for making circuit boards and prior to me using Autoleveller, a software utility which is just the best thing for PCB making, would need to replace broken cutters part way
through a job and found like you that I had problem with Run-From-Here. I did eventually cotton on to the logic behind it and thereafter had no problems with PROVIDED you are well and truly
awake and thinking about what you are doing!

You may have noted that Mach4 has a Run-From-Here button. I have refrained from using it. You may also have seen in the API:
Quote
rc = mc.mcCntlDryRunToLine(
      number mInst,
      number line)
I have used that to write my own very VERY simple script to do the same thing but I'm in control of the logic. As it turns out using  Autoleveller has resulted in very few if any broken
cutters so I can decide when to stop the job to replace a worn cutter, which when you choose when it happens is so much easier than responding to something that has already gone
wrong.

Craig

4523
Mach4 General Discussion / Re: Simple one line MDI required
« on: May 19, 2018, 05:32:42 PM »
Hi,

Quote
Mach4 is a different animal, but it's frustrating to find that things I used to take for granted now can't be done that way
That very much sums up the way many feel about transitioning to Mach4 from Mach3. What I remind people is that Mach4 is NOT Mach3 and
wont ever be so. Over a period of time there were all sorts of tricks and workarounds in Mach3 that were employed and we all became familiar with them
without realizing that they were a total 'kludge'.

Mach4 has done away with all those hacks. In most cases you can replicate, or come close to replicating, the same behavior with Mach4 by programming
it so. The programming itself imposes a structure based set of restrictions and so you are extremely unlikely to break something else as would be the case
in Mach3.

To date there are few manufacturers who have invested the time and effort (read....money) into writing Mach4 plugins for their pendants. CNCVista is the only
one I know of where the business did it of their own volition. The XHC plugin was written by a couple of enthusiasts, no doubt with XHC support but not
the business itself.

Have a look at Daz's Xbox 360 plugin, it might fit the bill really well. In addition you have the ability to contribute to the ongoing development of it rather than
purchasing from a business.

Craig

4524
Hi,
I've just gone and fiddled with the API and sure enough and unitsMode:number is just a plain Lua number, so 21 is acceptable, but is is the right number?

Going to take a help ticket to find out.

Craig

4525
Hi,

Quote
mc.mcJogSetUnitsMode(inst, mc.X_AXIS, 21)      --I don't know why 21, but that's what the post said!

This API call is not in the API.chm list. There are a few circumstances where an API call has been created but the documentation has not....yet.
smurph did explain in another post recently that his development PC had a melt down and all his development software went with it... including
the ability to write Windows Help files like our API.chm. He has only recently started putting it all back together....he explains also that he needs
a week of bad weather before the inclination to generate documentation overcomes him!

I'm going to guess that the '21' in the API call is somehow related to G21...which is the Gcode that cause all subsequent Gcode to be interpreted as metric.

Does your build of Mach have the new Zero Brane editor? If it does try typing out the API in question and the auto complete window will come up and then
with the opening '(' a list of required arguments and their types will come up. I suspect that the bare 21 in your code is not correct, it might have to be quoted
for instance.

Craig

4526
Mach4 General Discussion / Re: Simple one line MDI required
« on: May 19, 2018, 04:52:00 PM »
Hi,
Quote
As it happens, you can do that in the Mach3 single line MDI too
Yes, I seem to remember stumbling over that when using Mach3 but it was quite a while ago now. I personally find the structured approach adopted by
Mach4s developers to be very much more comprehensible than the amorphous chunk of code that Mach3 became.

Indeed its my understanding that Mach3 having become on amorphous block of code made further development extremely difficult, you fix one fault only to find
that you have broken some other seemingly unrelated item, thence the decision to write a completely new program...Mach4.

Craig

4527
Mach4 General Discussion / Re: Lua Stats
« on: May 19, 2018, 04:42:52 PM »
Hi Steve,
I apologize, this thread is getting further and further away from Mach4, its getting to be just a general computing problem.

I have in recent times used CodeBlocks IDE and written C code for TexasInstruments micros and so broadly familiar with compiling and linking,
although it took a lot of learning and experimenting.

I now perceive that Cmake is a method of bringing all those elements and settings together to build executable code. I like the idea...but like any program you have
to learn to use it properly.

At this stage I believe that I have presented Cmake with an outline of what and how I want it built....this is its default as I downloaded it, but I in fact want something
different and have yet to work out how to apply my choices to it. Such documentation there is, is very terse and I've not had much success yet.

When the cache is reloaded all items are red. Then hit <configure> and all items are no longer highlighted. I presume therefore that they all configured successfully.
When I look in the build directory I find in the Lua binding folder for instance three files of the type Cmake..., CTest.... and Makefile in addition to a CmakeFiles
folder. I presume therefore that the necessary make instructions have been configured and generated but they are ignored when 'making'.

I had a look in the source files and in the Lua bindings folder there is a 46KB file plplotluac.i and it apprears to contain C code which I guess must be the bindings itself.
I believe therefore that the source code is available to the compiler, as to whether it knows where to find it is another question.

Anyway, Rome wasn't built in a day....

In this particular case there is no need for my to include a graph plotting module to Mach other than interest. I do perceive however that users will have application for such modules,
if not this one, then something like it and I would like to be familiar with the procedure when it arises.

Craig

4528
Mach4 General Discussion / Re: Simple one line MDI required
« on: May 19, 2018, 04:01:43 PM »
Hi,

Quote
Heaven knows why they changed it, if I need something in several lines of g-code I use a temporary program.
Funnily I find exactly the opposite, I often stack several lines and let it rip....As a matter of reflex I often end up hitting <enter> only to remember
that it doesn't work in the manner that it used to, but so what, there are a lot of things which don't work like they used to but they work so much
better now!

Craig

4529
Mach4 General Discussion / Re: Lua Stats
« on: May 19, 2018, 12:01:34 AM »
Hi smurph,
I'm in trouble here.

I got the Cmake GUI working. I displays a long list of modules/components that can be included in the build and the destination of the code that is built.
The list includes BINDINGS_Lua and a check box. The checkbox is not checked and therefore no Lua bindings are included in the build.
If I check the box, hit <configure> the box gets unchecked again.

I have thrashed around trying to get that component to stay in the Cmake list to no avail.

I found one file CMakeCache.txt where you can manually edit the text file, I turned the BOOL associated with the Lua binding module from OFF to ON. I then
caused a 'make' instruction, but still no code resembling Lua bindings or .dll.

Is there something I'm missing, maybe a dependency issue that I'm overlooking?

Craig

4530
Hi,

Quote
I don't like the idea of some dozen or more inputs,  when one will do.

Why? I have a three axis machine and so I have three roller plunger microswitches for home switches. I have attached each switch to its own pin, no problems. Homing is absolutelty effortless.
Now go and compare that strory on the forum to all those people that try to combine limit and home switches, often all in series and end up crashing instead. Once upon a time when everyone had one
parallel port and only five inputs it made sense. Now it not only does not make sense it increases the risk of confusion and crashes.

All industrial machines have separate home switches....and separate limit switches as well, that's nine switches and nine inputs. Why would Haas, Fanuc and the likes do that if it were not a good idea.
That's like saying that the Model-T-Ford had trembler ignition so I going to use trembler ignition on my V6 sports car of 100 years later!

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 »