Hello Guest it is April 27, 2024, 02:21:21 AM

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 »
7151
Mach4 General Discussion / Re: Parallel port not recommended???
« on: February 06, 2017, 12:08:07 AM »
Hi crchisholm,
if you are going to lay out some bucks for an external motion controller then you should consider whether it will do
all that you require both now and some way into the future.

The PMDX-411 is a great device but it has a limited number of inputs and outputs, one 'ports' worth. The PoKeys 57CNCd25 is
another great device but also limited to one 'ports' worth of IO. Both devices are well priced and a perfect fit for your 540.
They will offer somewhat more IO than your used to with GBRL.

For an extra $60 you can get an ESS which has three 'ports worth' or for similar money the PoKeys 57ECNC which has even more.
It occurs to me that if you are going to buy an external controller it makes sense to get one that has some extra capability that you
may well use in the years to come.

There are of course even more expensive alternatives as well, there always is!

Craig

7152
Mach4 General Discussion / Re: Connecting to Mach4
« on: February 05, 2017, 06:15:06 PM »
Hi rhtuttle,
not quite sure what you mean....

An 'application' do you mean another program like Notepad++ or Excel?

Getting Mach to load a Gcode file is reasonably straight forward. This comes from the API.chm:
mc.mcCntlLoadGcodeFile(
      number mInst,
      stringFileToLoad)
So if you have a string for the file you wish to load execute the API call and it loads...easy

If this is what you mean let me know and I will post some examples. In fact if you look in Mach4Hobby/LuaExamples folder you will find plenty.

Craig

7153
General Mach Discussion / Re: z axis adjustment on milling machine
« on: February 05, 2017, 05:36:59 AM »
Hi,
that is normal, machine co-ord zero at the top of Z travel. When you drive the Z axis done the machine co-ords are negative.
When you get to the surface that you wish to machine zero the Z axis work co-ords. Then a negative Z will take you below the surface ie
cutting and positive Z takes you above the surface.

Craig

7154
General Mach Discussion / Re: About the motors
« on: February 05, 2017, 02:53:16 AM »
Hi,
guessing these are 34 size steppers about 900 ozin?

Steppers lose torque big time when running fast, at 1000 rpm they are likely to have on 5% of rated torque.

Probably wise to say that max speed is 500 rpm. If you use 5mm pitch ballscrews then max axis speed is 5 times 500=2500mm/min.

You can experiment but this should get you close enuf to start with.

Craig

7155
General Mach Discussion / Re: Change Wiring
« on: February 04, 2017, 05:15:26 PM »
Hi,
just change one pair, keep the blue and red together and the green and yellow together, but swap the terminals
in which they go.

Craig

7156
Mach4 General Discussion / Re: Pc requirements
« on: February 04, 2017, 03:09:04 PM »
Hi Guys,
I use an Atom based single board computer and its video is built right into the CPU chip. It is a very low CPU power device and the integrated
video means that it falls WELL short of the recommendation but it runs Mach4 just fine.

It really does struggle if you load large Gcode files, it can take an age before it generates a toolpath picture but once it does it runs the code
fine. I have a licenced copy of Mach4 on my laptop as well, its an i7 machine with 16G of RAM. I have used it to run my machine but aside from
loading big files way way faster it makes absolutely no difference to my machine. My laptop has all sorts of programs loaded including CAD/CAM
which really need the extra grunt but I don't like running my machine with it, if any one of those programs runs or decides it wants an update
or similar my machine falters or stops.

The wee Atom doesn't have any programs loaded I don't absolutely need, it doesn't have an internet connection or networking enabled and
consequently Mach doesn't get interrupted which is exactly what I want.

Craig

7157
Mach4 General Discussion / Re: Parallel port not recommended???
« on: February 04, 2017, 02:45:54 PM »
Hi crchisholm,
you are correct, a Mach4 licence and a Darwin Parallel Port licence and you are ready to go.

The pulse streams required to activate your stepper drivers (in the 540) are generated by your PC when using a parallel
port. The computer does this by running a timer where it resets a counter and when it counts up to a certain number it generates
an interrupt and the program resets the counter and starts again and also issues a pulse to the parallel port. The timers available
in a PC CPU chip are pretty limited by comparison to microcontrollers suitable for controlling machinery. Microcontrollers have hardware
timers that count up, reset and issue a pulse without CPU intervention. A PC timer requires considerable CPU processing to issue a
pulse stream and are generally called 'interrupt driven' timers.

The downside is that PC CPUs use interrupts for lots of different purposes, a simple one is the realtime clock, it generates an interrupt every
100ms or so just so it can keep the clock on your screen updated. It also uses them to switch between different software threads which we expect
to run at the same time. If two or more interrupts happen at once one will have to be delayed while the other one is processed. As far as our
pulse stream goes it means one pulse is 'late'. This variance in pulse timing is a fact of life with a parallel port and is called 'timing jitter'. There
is a test program which tries to measure jitter and therefore establish if or how well a parallel port will operate.

Some PCs do a good job of running a parallel port with low jitter and some do not. Very powerful and capable PCs are not necessarily any better
than an old XP clunker. Laptops generally do a poor job. Some PCs can be improved by turning certain things off and disabling certain automatic
features. In most cases you cant have different programs running with Mach as one program will interfere with Mach and the regular pulse stream
is broken. The good news is that many PCs do work OK and tens of thousands of CNCers around the world still use the parallel port.

For PCs that wont run a parallel port or if you require very stable pulse streams thats where external motion controllers come into play. They have onboard
either or both an FGPA and a microcontroller which generate very high quality pulse streams and very very much faster pulse streams than can be generated
by a PC alone. The result is smoother motion and also means that the pulse stream can 'keep up' with highly precise servo encoders for which a PC cant.

I suggest you use a parallel port, its a good fit with your existing machine and at a later date add an external controller if you think it desirable.

Craig

7158
Mach4 General Discussion / Re: oiler woes
« on: February 03, 2017, 06:13:51 PM »
Hi Mark4,
something to be aware of, I noted that you put a wx.wxMessageBox statement in your PLC script. I have done the same thing and crashed and
burned. The problem is that the PLC script runs repeatedly and the MessageBox will too, requiring you click OK at each occasion. The machine is
effectively stopped while the MessageBox is active and so you only have 50ms before the machine generates another MessageBox and stops.
Worse is that the PLC script is in the screen set and you will not be able to open the screen editor to remove it and a backup profile wont help
unless you backed up your screen set as well.

Daz-The-Gaz told me about a way to go straight to the editor by starting Mach4 from the Windows Command line.

I've had this problem twice, once when I put a MessageBox statement in the PLC script and on another occasion when I put one in the Signal Script.
The PLC script runs every 50ms (default) and the signal script every time one of Machs many many signals change state. Both scripts can be expected
to run many times per second. If you want to put a message on screen as digagnostic/confirmation use mc.mcCntlSetLastError() instead.

Craig

7159
General Mach Discussion / Re: Upgrade liscence.
« on: February 01, 2017, 01:22:47 AM »
Hi,
can't answer all your questions but some.

Mach4 is a new and completely different program and requires it own licence, ie no upgrade from Mach3
Mach4 has a lathe screen set and instructions, I'm not familiar with Machturn but certainly Mach4 can be used for
turning.
Welcome aboard. The Forum both Mach3 and Mach4 sections are a real highlight of Mach, enjoy.

Craig

7160
General Mach Discussion / Re: Mach 3 vs Mach 4
« on: January 31, 2017, 01:43:00 AM »
Hi,
I go with mkullman, Mach4 does everything I need in a mill and I have added features I need. LUA was a bit of a hurdle, but getting there
and it is INCOMPARABLY better than CE. Just my opinion of course.

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 »