Hello Guest it is March 28, 2024, 09:22:16 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 »
6641
General Mach Discussion / Re: Interference with axis motors
« on: September 19, 2017, 06:52:40 AM »
Hi,
can you confirm....Win 10 64 bit with a PCI parallel port running Mach3 with PP?

If you are doing that then you are able to make SERIOUS money, being the only person on the planet to be able to.

Craig

6642
Hi smurph,
Quote
This is one of my pet peeves.  Eliminate the one switch wonders with extreme prejudice!
Whoa there smurph, we're talking CNC position switches not molesting your missus! LOL. Must say the number of people who pursue the strategy of
minimising input pins bemuses me also.

Another thing that bemuses me is that so many CNCers go to extreme measures and expense to get spindle speeds as close to perfect as they can.
While there may be a few who need genuine speed precision for the vast majority its unnecessary. The overwhelming majority of my milling can be
done by setting the speed manually at the start of a job and leave it like that until the jobs done three hours and eight procedures later. Oh, and I don't
have any left hand cutting tools so being able to reverse the spindle means what again?

When I think about the time and money I wasted programming to get Modbus control of my VFD when what I actually needed was better coolant pumps or better
yet thru spindle cooling.....

Craig

6643
General Mach Discussion / Re: Interference with axis motors
« on: September 19, 2017, 06:22:21 AM »
Hi,
Quote
Pc with win 10 64bit
this machine cannot be parallel port with that PC.

There are two schools of thought about electromagnetic interference:
1) The electrical equipment must minimise both conducted and radiated interference to other equipment
2) Electrical equipment should be designed and built to be minimally susceptible to conducted and radiated electromagnetic interference.

You may have noted that just about every piece of electrical gear has markings to signifying that the manufacturer has minimised the interference
produced by the piece of gear. This often entails untold expense by the manufacturer both in design and compliance. Then what happens is people
often and sometimes deliberately misuse or modify the gear so that it 'pollutes' the electromagnetic spectrum. Sometimes, especially cheap manufacturers,
cheat and their gear will never comply with the standard indicated.

VFDs are bastards at EM interference both conducted and radiated. Most people overlook conducted interference, it occurs because the current demand
of a piece of gear, a VFD for instance, causes a voltage imprint on the supply of other gear and interferes with its operation. A VFD can radiate interference
as well like a bad radio station. Screened cables, ferrite suppressors and things of that nature help other gear to resist bad radio waves but the real solution
is to stop the bad radio waves from being generated in the first place.

In the first instance you need to separate the supply to your PC/Bob/controller/stepper drives from your VFD supply with separate plugs plugged into
separate sockets. That may be enuf. Other than that you may need line reactors. You can fiddle about with screened cables and ferrites and you might
get it to work OR you go to the source of the problem as I've described.

Craig

6644
Mach4 General Discussion / Re: Spindle Speed Feedback and Accuracy
« on: September 18, 2017, 10:22:41 PM »
HI.
I have no idea, its your controller and you have the manual not me.

I think in the first instance I would check that the VFD can't close the loop, I would suspect you can.

Then look at the controller closing the loop. If it has analogue outputs at all in absence of the board/software
activation then they are likely to be 12 or 14 bit resolution, probably adequate. If you want the best the system
has to offer then you will want the 16 bit resolution of the fullblown controller at whatever expense for the analogue
upgrade.

I suspect there will be an adjustment that you could sync the spindle but what happens under load? The speed will
fall as sure as God made little green apples, without a closed feedback loop you can't avoid it.

You could avoid the expense of the Vital Systems upgrade to close the loop by having Mach do it with PMC. Require
some trick programming particularly if you want PID control...sounds like SERIOUS FUN...you poor sick little puppy!

Craig

6645
General Mach Discussion / Re: Interference with axis motors
« on: September 18, 2017, 08:42:49 PM »
Hi,
noise from the VFD is getting into your other power supplies, possibly PC and BoB/controller.

Does your BoB/controller have  a seperate power supply? It probably should.

If you are using USB to communicate to the motion controller fit two or three clip on ferrite rings.

If the problem is real bad try plugging your VFD into a different power socket than your PC/BoB/controller.
You may need a line side reactor to tame your VFD.

Craig

6646
Mach4 General Discussion / Re: GO TO WORK ZERO - ERROR
« on: September 18, 2017, 08:09:42 PM »
Hi Daryl,
your'e welcome of course.

I'v thought a bit more about the line of code that Rustin used and I realise my doubt about the G53 code
is unfounded.

G53 is not modal, therefore the G53 machine co-ord move applies to the first line only ie the G00 G53 Z0 move,
it causes the Z axis to retract to machine zero, usually the topmost extreme of its travel, ie SAFE.
The subseqeunt moves are in work co-ords as G53 is not modal. The first is G00 X0 Y0 ie X and Y goto work zero
followed by G00 Z0 now the Z axis lowers to material top. Very simple and clever.

I've learnt something new even if no-one else has.

Craig

6647
Mach4 General Discussion / Re: Spindle Speed Feedback and Accuracy
« on: September 18, 2017, 06:25:57 PM »
Hi dunnitagain,
I've been thinking about your spindle speed problem, I see five different solutions

1) Use Sensorlles Vector control if your VFD is capable.
2) Use a pulse generator, aka your encoder, to provide feedback for your VFD, if it is capable.
3) Use a F to V chip and opamps to close the loop electronically, fun if your electronically inclined.
4) Uprate your controller to give analogue output and use your controller to close the loop, costs of the upgrade?
5) Use Mach4s built in PMC, probably result in less control bandwidth than 2) or 3) but still probably tens of Hz,plenty enuf.

Craig.

6648
Mach4 General Discussion / Re: GO TO WORK ZERO - ERROR
« on: September 18, 2017, 07:27:47 AM »
Hi Daryl,
Rustins code should be close to working.

First go to Operator/Edit Screen and <Go To Work Zero>. Open the Left Up script:
Code: [Select]
GoToWorkZero()
--local inst = mc.mcGetInstance()
--mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0 A0\nG00 Z0")

Note that the two lines of code are commented out, they do nothing. They have been put there so you can see and interpret what function GoToWorkZero() does.
The actual working code is in the screen load script.
Open the Screen Load script and scan down until you find the function you want, in my script line 218:
Code: [Select]
function GoToWorkZero()
    mc.mcCntlMdiExecute(inst, "G00 X0 Y0 A0")--Without Z moves
    --mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0 A0\nG00 Z0")--With Z moves
end

Rustin used the second line of code by uncommenting it but I'm dubious about the G53 code, that means that coord system for this move is in machine cords.

May I suggest trying:
Code: [Select]
mc.mcCntlMdiExecute(inst, "G00 X0 Y0 ")which by my reckoning will move at rapid traverse speed to X0 Y0 of work co-ords with no Z axis movement.

Evidently Rustin tried a similar edit and generated an error, I don't know why. One thing which occurred to me was 'what would happen if work co-ords are not defined
yet', would that cause an error that Rustin described?

It seems to work on my laptop...both with and without work co-ords being defined.

As I suggested in an earlier post if you find that this wee mod works save the modded screen set with a distinct name. Then use the new improved screen set in
your profile. That should prevent your favoured screen set being overwritten with an update.

Craig

6649
Mach4 General Discussion / Re: GO TO WORK ZERO - ERROR
« on: September 18, 2017, 03:17:00 AM »
Hi,
if it was working why did you update?

People are wedded to the idea that software needs to be updated all the time which is rubbish. You might need anti-virus updates but does your machine
get exposed to viruses, mine sure as hell doesn't.

If you follow the advice I gave Rustin you will find that YOUR screen set, that is to say one of the standard screensets which you have added to and tweaked
remains constant when you update. You only need to update if theres something new that you want.

Craig

6650
Mach4 General Discussion / Re: GO TO WORK ZERO - ERROR
« on: September 18, 2017, 02:57:55 AM »
Hi Daryl,
jokes and jibes aside this is a minor piece of work...to do and understand it is very satisfying and the true power of Mach4 becomes apparent.

Mach4 has now gathered a lot of new users but many are like yourself very unsure or unwilling to get to grips with LUA. I can myself only claim
beginner status but what I have learnt is that Mach4 is going to absolutely HOSE Mach3 and the momentum is building. I urge you not to miss out by
Quote
I'm not  a programmer nor do I have any inclination to be one.
If you want to be an expert CNCer that can build and customise machines you need to do this.

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 »