Hello Guest it is April 25, 2024, 03:36:20 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 »
3331
Mach4 General Discussion / Re: Mach 4 and ATC
« on: December 29, 2018, 03:36:01 AM »
Hi,

Mach4Hobby/LuaExamples/ToolChanger.....you will find examples. You will almost certainly have to edit/modify the code to suit
your particular machine.

Mach4s strength is its ability to be customized, to accommodate very different toolchangers for instance, but it will require you learn to code
in Lua and using Machs modular structure.

Craig

3332
Mach4 General Discussion / Re: Variable offset in Mach4
« on: December 28, 2018, 06:54:54 PM »
Hi Frank,
I use a software utility called Autoleveller. It is primarily designed for use when isolation routing of circuit boards.

Any variation in Z height due to either machine inaccuracy or PCB blank warp/bow/twist causes a very great loss of quality of the
finished job. Autoleveller causes the PCB blank to be probed at close intervals AND THEN uses that height variation data to modify
the Gcode, in particular introduces small variations in Z to match the bow/warp of the blank. It breaks large linear moves into smaller
moves to apply a varying correction, much like I have suggested your lathe correction program would be required to work.

There are some similarities between Autoleveller and what you want to do.

Autoleveller is open source so you can easily see how they have done it. It is written in Java.

http://www.autoleveller.co.uk/

Craig

3333
General Mach Discussion / Re: maximum work area
« on: December 28, 2018, 06:42:39 PM »
Hi,
I have regularly loaded PCB etch files over 100,000 lines in both Mach3 and Mach4.

Regrettably I managed to lose my Mach3 licence file a few months back and as I use Mach4 now I haven't
been bothered to replace it....ergo I can't load a big file in Mach3 to demonstrate....but certainly when I was still using
Mach3 two years ago I was running files of 100,000 lines.

Craig

3334
General Mach Discussion / Re: maximum work area
« on: December 28, 2018, 12:48:50 PM »
Hi,
you can cause the machine boundaries to be displayed on the toolpath screen if the setting is made in Config/Toolpath per the attached.

The boundaries are the soft limits in Config/Homing-Limits page.

If a Gcode file is loaded which is larger than the boundaries it should still be displayed but the job could not run without going out-of-bounds.

Unless mach3 is licenced (check Help/About to confirm licence status) it will load only 500 lines.


Craig

3335
Mach4 General Discussion / Re: Variable offset in Mach4
« on: December 27, 2018, 11:36:44 PM »
Hi,
yes you could write a correction program. The way I am thinking is that if you run your Gcode file through the
correction program it would rewrite the code with the X axis 'corrected' with a figure (plus or minus) from a table
with vertical ordinate in Z.

As an example, lets say you measure your lathe to get this table:

Z Axis    Correction
0             0
50           0
60            0.005
70            0.006
80            0.01
90            0.01
100          0.012
110          0.01
130          0.009
140          0.008
150          0.005
160          0.004
170          0


With Gcode like this:

G1 X50 Z170
G1 X50 Z160
G1 X50 Z150


would become:
G1 X50 Z170
G1 X50.004 Z160
G1 X50.005 Z150

etc.
The program you write would have to apply the correction. There are a number of points that would require some careful programming.
For instance, let say your machine is at X=50 Z=200 and you wish to take a cut to X=50 Z=75, ie a cylindrical cut of 125mm from Z=200
to Z=75. That could be coded:
G1 X50 Z75.

But the code you would have to run would be:
G1 X50 Z170
G1 X50.004 Z160
G1 X50.005 Z150
G1 X50.008 Z140

etc. That is that one move (G1 X50 Z75) would be required to be split into smaller moves so that a varying correction can be applied.

It would require some serious programming on your behalf. Are you up for it?

Craig

3336
Mach4 General Discussion / Re: PWM mode smoothstepper
« on: December 27, 2018, 11:11:35 PM »
Hi,
On the Configure/Plugins/ESS/Spindle tab check the box for PWM (and PID if you need it and have an index signal to make it work).
Specify port1 pin 14 on the Configure/Plugins/ESS/Output Signals tab.

Craig

3337
VB and the development of wizards / Re: auto soft limits
« on: December 26, 2018, 01:06:26 PM »
Hi,
do you have home switches? Soft limits only work once a machine has been 'homed' or 'referenced' to a particular and repeatable location at the
beginning of each Mach session. That normally means home switches are required.

Craig

3338
General Mach Discussion / Re: Is this a "look ahead" problem?
« on: December 26, 2018, 04:35:31 AM »
Hi,
it sounds more like C(onstant)V(elocity) mode. In CV mode Mach attempts to keep the machine cutting at a constant speed an to do so it
'cheats' a bit by pre-empting corners and so on.  In most circumstances such cheats are perfectly acceptable but in some instances result in poor
toolpath following and poor parts as a result.

You might try ExactStop mode. This will cause Mach to follow the toolpath exactly but more 'stopping/starting/jerking around'. Worth trying to see
what sort of difference it makes.

The setting ig made on Config/General Config page per the attached. You may have to restart Mach to see the effects.

CV mode is a way to (try) overcome finite acceleration of your axes. If you had infinite acceleration then ExactStop and ConstantVelocity modes become the same.
Thus it is a good idea to tune your machine for the maximum reliable (no loss of steps) acceleration your steppers can manage.

Craig

3339
Hi,
the same single transistor circuit I posted earlier will work on a UC300 output OR an output of you existing BoB.

Note that it will 'invert' the logic. Thus if the UC300/BoB output is high (5V) then the transistor turns on and it sinks current reducing
the collector voltage to VCEsat, about 0.2V, ie low.

You will need at least three such circuits to get one servo to work, one for the step, one for direction and one for servo enable.

Craig

3340
Hi,
the UC300 is  a 5V TTL device. You would be most unwise to hook it directly to ANY other device that either has onboard a differing
power supply voltage or even requires a signal source of a different voltage.

If, for instance, the Delta servo drive has a input hooked via a resistor to 24V expecting your input device (the UC300) to sink current and
'drag' that 24V down to near zero then there is a high probability that the 24V will damage the TTL output of the UC300.

For this reason you need a buffer or amplifier that adapts the 5V TTL output of the UC300 to the 24V Delta servo drive.

As I posted earlier a simple NPN transistor (or a N channel MOSFET) would be a simple way to do it. You would require one for each
input (1 step plus 1 direction for two servos, (1+1) x 2 =4) and one for each servo enable line, ie another 2 transistors. You may wish to
consider additional circuitry for each of the servo drives to signal the UC300 if a fault occurs with either drive. This could be done
with a resistor and a zener diode. As you can see this dictates that you will have to solder together six transistors, 8 resistors and two
zener diodes at a minimum. If you are not electronically inclined that may rather put you off. I am electronically inclined and trained and so
would happily persue this idea where you may not.

As Gerry has pointed out the UB1 breakout board includes all that circuitry. Exactly why it would not work for a USB connected UC300 is a bit
of a mystery to me. I think it would be worth an email to the manufacturer to ask if that is the case and if there is a modification that would
allow a USB connected to be used. Gerry is clearly impressed with the quality of the UB1 and with Gerry's experience that comes as a high
recommendation.

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 »