Hello Guest it is April 25, 2024, 11:42:31 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 »
3211
General Mach Discussion / Re: pendant
« on: January 21, 2019, 01:49:25 AM »
Hi,
Mach3 can jog axes similtaneosly...not easy to control with an MG or joystick but it can be done.

Craig

3212
Hi,
try opening the Mach4Hobby folder and start Mach4 by clicking on Mach4GUI.exe.

Craig

3213
Hi,
you say that you have a Mach4 Router profile.....but you have not had Mach4 running?

If that is the case then that profile is probably just some generic profile that ships with Mach.

May I suggest try to find and use the Mach4 Loader icon instead. When you use it a window will appear asking you to
select the profile you wish to use, by all means select the Router profile if you think that is likely to suit your machine.

Craig

3214
Mach4 General Discussion / Re: Un-Supported wxNumberEntryDialog
« on: January 21, 2019, 01:06:04 AM »
Hi Smurph,
whether I make the effort to get wxFormBuilder working for me I still have a hankering to see and understand
the wxLua code.

I guess its not unlike the parallel between using a Wizard or a CAM program to generate Gcode without having a clue
about Gcode. I know plenty of people seem to work that way but I need to be able to scan Gcode and get a feel for what its
going to do.

One of the reasons I started really looking into wxWidgets was because I am so unfamiliar with the public member functions.
Without knowing the sorts of functionality they can confer how could I possibly know to try to use them to achieve a specific
behavior?

Craig

3215
General Mach Discussion / Re: pendant
« on: January 21, 2019, 12:42:23 AM »
Hi,
Mach3 has a Teach function.....if you start <Teach> and execute MDI code a file is generated which remembers
the sequence of instructions and can repeat it.

I don't know whether that extends to either jog or pendant commands. Simple enough to try it.

Craig

3216
Mach4 General Discussion / Re: Un-Supported wxNumberEntryDialog
« on: January 21, 2019, 12:35:57 AM »
Hi,
I did try fiddling with wxFormBuilder and quite liked the idea but obviously did not put the effort to master
it. I'll have to try it again.

Putting all the code in a table is a great idea.

I guess the question is.....'for the simple dialogs I am likely to require for Mach4 macros is it necessary or even
desirable to have a utility like wxFormBuilder?'.

Craig

3217
Mach4 General Discussion / Un-Supported wxNumberEntryDialog
« on: January 20, 2019, 01:27:32 PM »
Hi All,
I have always struggled to make sense of wxLua. I have started doing some reading and experimenting and a glimmer of
understanding/hope is coming.

I have encountered a difficulty that maybe someone can explain.

I was experimenting with wx.wxNumberEntryDialog() As found in the wxWidgets web pages but found that neither
ZeroBrane supported it neither would the dialog execute.

I found that the convenience dialog wx.wxGetNumberFromUser() works but that is limited to positive integers only.

I was hoping that wx.wxNumberEntryDialog would allow the entry of real numbers which would be appropriate for
a dimension in a CNC job say.

Is there a means of real number entry in wxLua?

Craig

3218
Mach4 General Discussion / Re: Poor Mans Wizard
« on: January 20, 2019, 01:13:21 PM »
Hi Chad,
yes that is my understanding. Without inheriting from parents our dialogs lose critical functionality or tip over
altogether.

If have encounterd a quirk. wxWidgets has a dialog wxNumberEntryDialog which would be  of great value to us CNCers
but the ZeroBrane editor and Lua compiler don't support it. They do support a cut-down el-cheapo version called
wxGetNumberFromUser but that will accept positive integers only. Not quite sure what I'm missing there.

I feel a call be made to Daz-the-Gaz and/or Smurph coming up!

Craig

3219
Hi,

Quote
Do you know what figures should be in step pulse and dir pulse and g's ?

The pulse width will be determined by the motion controller so don't worry about that setting, it used to be appropriate with
a parallel port. The g's is another measure of acceleration. So put 1000 mm/sec/sec in the max accel box and the g's
box should be populated by Mach...you don't need to set it.

Quote
Just looking at the servo settings on the driver and p1-44 is currently set to 16...do i change that to 5000?
p1-45 is set to 10 do I change that 10 1000?

Thats what I recommend, but they are your servos, you put what you like there. The two numbers form a ratio.
The formula is on page 6-8.

In your circumstance you have an input pulse stream of 2000, F1 and you a Position command of 10000, F2.
according to the formula if N (P1-44)= 5000 and M(P1-45) = 1000 that will be achieved.
You could make N=45 and M=8
Or N=5 and M=1
Or N=120 and M=24
Or N=15550 and M=3100.......you get the idea, the two numbers form a ratio. Its called electronic gearing.

What is happening in effect with N/M = 5 then each input pulse gets expanded to five pulses. Thus 2000 input pulses
will become 10000 Position Command pulses and that will cause to servo to revolve once.

Quote
machine weighs 1 ton x can go back and fourth that fast but it is to fast for the long y axis

Those servos are 1 hp each.....why did you buy such hugely powerful and fast servos if you don't need it?
I suggest that if you don't require such high speed then set Machs max velocity to that you are comfortable with,
say 5m/min ....the setting would be 5000 (given the units are mm).

I suggested an acceleration setting of 1000 mm/sec/sec to start with. That is already higher than most hobby machines
but way WAY WAY less than those servos are capable of. Production machines would commonly have settings
of 10,000 mm/sec/sec up to maybe 50,000 mm/sec/sec, that is somewhere between 1g and 5g. REALLY REALLY SCARY
FAST
. I don't suggest that you go that high but for machining speed and CV following accuracy you want to be as
high as the rigidity of your machine will tolerate. I think its a given that your machine will flop around like a fish LONG
before the servos max out!

Quote
adjusting the settings right up did make the machine rock but looks like will have too much movement vibration at higher speed and probably cause inaccuracy

Flexure or lack of rigidity in your machine will cause inaccuracy. The servos may set up a vibration , that what all those
settings are for, PID gains, notch filter settings etc. You have only just scratched the surface....those servos are
EXTREMELY CAPABLE You need to tune the servos to get near maximum performance from them and THEN dial
them back until your machine stops flexing and wobbling. From your description you will have to dial them back to
about 10% of what they are truly capable of.

Craig

3220
Hi,
the figures I talked about in the previous post mean that the controller will only be operating at 100kHz, so the
XHC controller should do that at a canter. The real reason for 'taking it easy' is to reduce the signaling speed between
the controller and the servo drive, ensuring reliable signaling at high speeds can be problematic. If however you
scale your demands for resolution/speed then you can still get a good result and a lowish signaling speed.

The XHC is overall not a bad unit and nicely made. Where a lot of Chinese made controllers perform poorly
the real-time support features.

There are quite a raft of features that have to be done by the controller, the communication loop back to Mach is just
too slow. Things like probing, homing, lathe threading, THC and backlash compensation. I would suggest carry on with
the XHC but if it gives you any grief throw it away.

Peter Homann of Homann Designs in Melbourne sells the Ethernet SmoothStepper by Warp9 TD (US) for about $250 AUD.
It is a little quicker,4Mhz, but its more about those real-time features and about the manfacturers support you get from Warp9,
just light years ahead of XHC. You'd swear China is on another planet when it comes to getting help from them for their
own products.

If you read any of my posts I am pretty scathing of Chinese made controllers. Delta servos are Chinese/Taiwanese
and they are great....I wish I could afford them. They are right in the performance mix with Japanese, US and European
servos but at a very good price. Another brand carving out a good reputation is DMM. Its a Canadian company, all its R&D
and sales support is done in Canada but they manufacture in China. Good quality and performance at a great price.

There are even cheaper Chinese made brands.....but I won't be buying them....Delta, yes to be sure! But I'm staying
away from all the other stuff.

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 »