Hello Guest it is April 24, 2024, 07:29:22 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 »
1861
Mach4 General Discussion / Re: Mach 4 Exit button for touchscreen
« on: December 19, 2019, 05:57:07 PM »
Hi,
re-reading the whole thread there is another possibility that may avoid the situation where a random <Enter> keypress would cause an MDI
command to be initiated.

You say you have a text box for MDI input?
Did you use wxWidgets to do it? If so why don't you include an enter event. Then the only time that the enter event would be tested is while
the text box is active.

If you haven't already tried, wxFormBuilder is the premier development tool/system for generating wxWidgets code with a Lua wrapper.
I used to try to avoid it but trying to manually craft wxWidgets code is hard going. wxFormbuilder has taught me alot about wxWidgets.

Craig

1862
Mach4 General Discussion / Re: Mach 4 Exit button for touchscreen
« on: December 19, 2019, 04:35:22 PM »
Hi,
to be honest I think you are going about this the wrong way.

I still find myself hitting <Enter> occasionally after typing an MDI, a hang over from Mach3 days but I don't find using the
<MDI Cycle Start> button that onerous....but perhaps you do. What you are trying to do here is 'fix a perceived
problem that is in fact no problem at all, just a new, Mach4, way of doing things'.

Given that proviso......then you can use the keyboard plugin to capture any <Enter> keypress. If you so desire
you can cause such a keypress to issue an MDI Cycle Start.

I forsee a problem that there are a number of circumstances that you would use <Enter> keypress, not all of them
associated with MDI, are you sure you want to issue an MDI Cycle Start at EVERY <Enter> keypress?

Of course using the keyboard plugin as I am proposing you could choose other than Enter as a keypress to start an MDI command,
maybe the <Space Bar> for instance. That might reduce the number of occasions that you accidentally start an MDI command.

There is a video by Daz-the-Gaz about using the keyboard plugin.

https://www.machsupport.com/forum/index.php?topic=31585.msg219180#msg219180


The upshot is that the keyboard plugin can launch a number of 'Mach Actions' in response to a defined keypress....but what happens
if one of Machs stock actions is not what you want. That is what Daz's video is about.

You can cause the keyboard plugin to trigger a Mach signal, mc.ISIG_INPUT33, for example. Now every time you press the <Space Bar>
Input #33 would trigger. Now you just have to put Input #33 into the SigLib{} table as you would with any other input signal
and cause the appropriate action. If you are not familiar with the SigLib{} table......you are in for a treat!! It is a very VERY VERY
clever way to deal with signals, both input and output, that is new to Mach4 and not even dreamt about in Mach3. Look at my .pdf on it:

https://www.machsupport.com/forum/index.php?topic=40051.msg267764#msg267764

Craig

1863
CS-Lab / Re: csmio/ip-a + Mach 3 servo problems
« on: December 18, 2019, 11:49:44 AM »
Hi,
reversing the servo direction OR reversing the encoder direction have the same effect.

If the servo moves back and forth.....then its trying to do the right thing whereas if it moves violently to one
end of an axis without attempting to reverse, that is a symptom of when the ecoder and servo directions are
crossed.

It sounds to me like you have had the correct directions when the servo moved back and forth but
you need to tune it. Try to start with small or no I or D, just P alone. I and D components can very
quickly cause instability.

Craig

1864
Mach4 General Discussion / Re: Mach 4 Exit button for touchscreen
« on: December 18, 2019, 11:38:33 AM »
Hi,
yes, look in Mach4Hobby/Docs for API.chm.

Can also be accessed when Mach is enabled by clicking <Help Docs?> button in the File Ops tab.

Craig

1865
CS-Lab / Re: csmio/ip-a + Mach 3 servo problems
« on: December 17, 2019, 05:02:41 PM »
Hi,
sounds to me like you have the encoder reading 'upwards' in one direction whereas the servo rotates 'downwards'

Try reversing the main pos and neg power feeds to the servo.

Craig

1866
Mach4 General Discussion / Re: Mach4 positioning error
« on: December 16, 2019, 06:39:16 PM »
Hi,

Quote
I forgot to mention that i saw that flashing led 2 times in machine idle state and it didnt go away until i move an axis back and forth for some time.

I believe you have found the root cause of the problem which inspired this thread.

Quote
with parallel port commands from another computer, i will take apart all the controller cabinet and build it from scratch electric/electronic wise, thanks.

You are in danger here of identifying the problem area WITHOUT finding out why. You may succeed in fixing the problem with a rebuild but still be none the
wiser as to what is happening.

Clearly you have invested a lot of time and money into this project, find a technician with an oscilloscope and pay him/her to indentify the problem properly
or risk having the same thing occur later.

Quote
I will adjust p12 later as u describe when i solve this huge problem.

With regards this problem there may be a software oscilloscope in the tuning software, if any. If you monitor the position error you will learn a huge amount about
your machine and controller. I have attached a screenshot of part of the Delta software scope. Note how you can identify and monitor certain variables, like
commanded position and feedback position etc. Very useful for identifying problems.

Craig

1867
Mach4 General Discussion / Re: Mach4 positioning error
« on: December 16, 2019, 12:16:23 PM »
Hi,

Quote
There is no HF source within the controller, its just the motherboard, PMDX+ESS+spindle board attached to pmdx and input boards, there is only a small PSU(with metal cover) which supply power to the motherboard. There is no noise source that i know of but that led should not be flashing in idle state.

You are correct, the step signal should not be flashing unless the axis is moving.

Do you have an oscilloscope? I would probe the step output of the ESS and the step output of the BoB.

Craig

1868
Mach4 General Discussion / Re: Mach4 positioning error
« on: December 16, 2019, 12:09:19 PM »
Hi,

Quote
I adjusted p11 to 4 and p12 to 20 but the servo gave an alarm with that settings so i increased the p12 to 4000 with that setting it works without giving any alarm.

When it gives repeated alarms with the following error (P12) set to 20 means that the servo cannot accurately follow the
toolpath. You need to work out why. With the setting at 4000 what you are saying is that you'll tolerate:

4000/10000 x 25=10mm of deviation before the machine faults.

The most likely problem is that you have too high acceleration set in Mach4 so the toolpath will zoom off in a new direction
but the servo can't keep up because it has to lunk a huge piece of iron around.

Set all the acceleration parameters in the servo drive as high as you possibly can then reduce Machs acceleration in that axis until
the machine no longer alarms. That then is the true measure of the acceleration the servo is capable of producing with
that axis mass.

Craig

1869
Mach4 General Discussion / Re: Mach4 positioning error
« on: December 15, 2019, 07:50:12 PM »
Hi,
I use Delta B2 series servos which have a 160,000cpr encoder (40,000 line) and the electronic gearing applies to that native encoder pulse stream.

It is possible for the drive to produce an encoder signal (A,B,Z) which is synthesized from the native encoder pulse stream. These encoder output
channels could be used to drive stand-alone DROs for instance, and they are programmable from 4 lines to 40000 lines per rev.

This is an example of "encoder output scaling factor" but has no relevance to your electronic gearing (which applies to the native built in encoder)
or your steps/unit values.

Craig

1870
General Mach Discussion / Re: Problem with Mach3 and nvum V2 usb
« on: December 14, 2019, 06:39:46 PM »
Hi,
NVUM is in our 'Hall of Shame' for peddling pirate Mach3 licenses, you will get no support here unless, maybe, you've
bought a genuine license an tweakie relents.

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 »