Hello Guest it is April 26, 2024, 09:35:33 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 »
1431
Hi,

Quote
nice, could you recomend me a exemple setup for me to be based on?

Not quite sure what you mean. You can download Mach3 and/or Mach4 free in Demo mode. Experimentation
may prove that one is better for your needs than another, although I would guess that if you want an indexing
spindle axis and/or a coordinated spindle then Mach4 has better features for that purpose.

In effect Mach4 requires an external motion controller (hardware) There is a parallel port called Darwin ($25 license fee applies)
and requires 32 bit Windows7 or earlier just as Mach3's parallel port requires. Darwin is not and is not intended as a fully featured
motion controller and thus an external motion controller is the right choice.

There are seven different manufacturers of Mach4 ready motion controllers and can seem initially at least to be a bewildering choice.
Excluding the one Chinese manufacturer (XHC) that has an extremely buggy implementation and CSLabs which have an expensive
albeit good quality device but has a buggy plugin, any of the remaining manufacturers have good products and well supported.

At the current time probably the most complete realtime support suite is offered by the Ethernet SmoothStepper (ESS) at $180. The Hicon Integra
is another fully featured product but starts at $600.

Note that the ESS, UC300  requires one or more breakout boards, which can range from $23 to $180 depending on the sophistication of the board.
The PoKeys 57CNC does not require a breakout board but benefits from it. The Hicon Integra and PMDX-424 do not require a breakout board,
it is in effect built-in to the controller.

May I suggest download and experiment with Mach, 3 or 4 or both, and then decide if it warrants investment in hardware. Some of the very
simplest controllers are around $120 but better developed solutions with more IO and a breakout board  are in the range $250 to $360 and the
Hicon at $600. Avoid XHC like the plauge. CSMIO products (600 Euro) are good quality but the plugin is somewhat buggy, hard to recommend.
Note my caution about CSMIO products applies to their Mach4 plugin, their Mach3 plugin is on the other hand very good indeed.

Craig

1432
Hi,
Mach's parallel port wold run on one (32bit) PC well but not on another (32 bit) PC without any ryhme or reason.
The simple expedient is to get an external motion controller like an Ethernet SoothStepper.

Thereafter you can use just about any PC, 32 or 64 bit, any Windows OS from XP through Windows 10, and laptop
or desktop. In addition Mach will be less inclined to stutter or stall with other software on the PC being either installed
or running, alway a definite no-no with a parallel port.

The $180 cost of an ESS is the best single improvement I ever made to my machine,

Craig

1433
Hi,
yes Mach can handle that.

All development on Mach3 ceased six years ago so if you are new I would recommend Mach4 because it is under active development. Having said that
there are many thousands of Mach3 users.

Mach (3 or 4) is optimally a milling CNC software, is does have lathe features, certainly Mach4 does a good job with indexing/positional spindles,
aka a Caxis.

Craig

1434
Hi,
Lua is a bit of a learning curve, in fact its not really Lua but more Mach4's structure and API.
Notwithstanding the effort required to get to the point of writing your own code the combination
of Machs structure, API and the surprisingly flexible functionality of Lua is very powerful, and to master it
is very rewarding.

Keep up the good work.

Craig

1435
Mach4 General Discussion / Re: Spindle Brake Switch
« on: June 14, 2020, 10:11:45 PM »
Hi,
when Mach's Gcode interpreter encounters an 'm' code (note the use of lowercase) it first searches in the
macros folder of the current profile, if it doesn't find it there it searches 'up the file tree' until it does.

For example if you have an m3 in your code Mach will search for m3 in your macros folder. If it doesn't find it there
it searches upwards until it find Mach's built in standard m3 macro and executes that.

If you wanted you own code to run you write your own m3 and stick it in the macros folder of your profile. Then when the
Gcode interpreter is searching for 'm3' it will find your macro and execute that instead.

You need to use some caution, it maybe that Machs built in code does something like turn a signal on that you are not aware of.
Thus when it runs your m3 that signal would not get turned on because you didn't explicitly code it to happen. In short you need to
include in your m3 all the functionality of Machs built in m3 plus whatever extra you want.

Second issue is that Machs Gcode interpreter parses code it converts all uppercase to lowercase, strips out leading zeros and whitespace.
So  Mach will search for 'm3' but if you named your macro 'M3' it might get missed because they are strictly speaking different names.
Get into the habit of writing all Lua  and Gcode in lowercase without leading zeros. I find to make my code readable I leave whitespace emedded
within the string....and have thus far not encountered any problems.

Craig

1436
Mach4 General Discussion / Re: ShuttlePro Wheel time lag
« on: June 14, 2020, 06:58:05 PM »
Hi,
if you have the shuttle wheel setup with a high increment value then it is possible for you to issue more incremental moves
than the machine cankeep up with and therefore it stores them up in a buffer. When you stop spinning the wheel the steps stored in the buffer complete
leading to a seeming 'after-run'. It is doing exactly as it should.

My VistaCNC pendant did exactly the same when I had set 1mm per step. It was possible for me to store up significant movement in the buffer
with the after-run that entails. Even when I reduced the max increment to 0.5mm if I spun the MPG vigorosly it was possible to build up stored incremental
moves in the buffer which is the root cause of after-run. When I set the maximum to 0.1mm per step, the machine goes as fast as I can spin the wheel without any
(noticable) after-run, if I go really REALLY crazy trying to spin the MPG I can cause a few mm's worth of after-run. Under normal operating I now no longer
get any after-run.

Another alternative is to use Velocity mode rather than Step mode. In Velocity mode the axis advances at a speed proportional to the MPG
pulse rate. When the MPG pulses stop then the axis stops. This means however that the distance jogged is not tied to the number of MPG pulses,
but rather its speed.

In Step mode the axis will move exactly the right distance, that is, if you jog 69 'clicks' then the axis will advance 69 x (prevailing increment value).
That's exactly what it should do and is by far my prefered mode. If I need to move the axis 10mm I spin the wheel exactly once, that is 100 'clicks'.

Craig


1437
Hi,
backlash compensation is a myth. If you are trying to cut circular paths and your machine has
backlash the results are as you described. Fix the backlash.

Craig

1438
General Mach Discussion / Re: What to buy for a new project
« on: June 12, 2020, 01:08:25 AM »
Hi,

Quote
(I guess you did something called a "thread split")

No. I didn't but probably Tweakie, he is an active forum moderator.

Quote
That kit also includes a power supply.  In many DIY CNC projects, I see a big toroid.  Will one be needed for a servo kit like this?

DMM have two types of servo drives, the DYN2 which requires 75VDC input, so a high current power supply will be required.
The DYN4 however, a few dollars more, has 230VAC input, so no power supply required. The higher voltage allows full exploitation
of the servo whereas the low voltage driver cannot quite extract all that the servo is capable of.

Delta B2 series (160,000 count encoder), A2 series (1,280,000 count encoder and load sensing), A3 series (24 bit absolute encoder) and B3 series
(24 bit absolute multiturn encoder) are all 230VAC input, so no extra supply required.

Craig


1440
Hi,
you are using the 'scr.GetProperties(…)' functions and that is not their purpose.
You can indeed read the a DRO using scr.GetPropeties….but you are reading the graphic screen element, not the underlying Mach variable
that holds the true numeric value.

For example, this a one of Machs API's that 'reads' or otherwise retrieves the position of an axis:

Code: [Select]
LUA Syntax:
pos, rc = mc.mcMotionGetPos(
number mInst,
number motorId)

Or you could read a register with:

Code: [Select]
LUA Syntax:
value, rc = mcRegGetValue(
number hReg)

Or read a pound variable:

Code: [Select]
LUA Syntax:
value, rc = mc.mcCntlGetPoundVar(
number mInst,
number param)

Likewise when you want to set a specific value you should use the API's that address and update the register or pound variable designated to store
that data rather than just writing some alpha-numeric characters to the screen, are you even sure for instance that writing a value to the screen
would actually be stored in a Mach register or variable at all?

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 »