Hello Guest it is April 25, 2024, 09:13:12 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 »
2401
Mach4 General Discussion / Re: Macro Mach4 for THC CAP04
« on: June 19, 2019, 03:54:04 AM »
Hi,
I'm no expert on plasma but I believe that all the functionality required for THC is ALREADY contained within Mach4 Plasma
screenset, ie you don't need a macro, its already there as a module.

Craig

2402
Hi,

Quote
this has been done for a very long time with the Mach software.  Based on that, I fail to understand the "real time" issues related to Windows. 

Mach, or indeed any program on a PC, does not run continuously. It will run for a few milliseconds and then Windows will rush away
and do anther job or even several jobs and then come back to Mach and run for a few more milliseconds. This is the nature of
Windows and little or nothing you can do about it.

Your steppers/servos require non-interrupted pulse streams, the machine would stutter and stall if it relied on Mach alone
to generate pulse streams given that Mach runs 'in fits and starts'. For this reason Mach builds up a string of moves
and stores them in a buffer so while Mach is idle waiting for CPU time the motion controller 'has something to go on with'.

Its that 'something to go on with' that characterizes ALL Windows based CNC programs. While it works pretty well,
jogging in response to an MPG is one area where the 'something to go on with' idea catches you out.
The CSMIO works as well as it does because it can directly process MPG pulses to step/direction pulses without Machs
intervention. It is however the only controller that does that, to the best of my knowledge, and until Hood pointed it out
I didn't know that.

All the genuine realtime hardware controllers are very expensive, ten times and more what Mach costs.

LinuxCNC however is free and the hardware required is modestly priced. I personally am not a fan of Linux but you may
differ.

I use a VistaCNC P1A pendant, first with Mach3 and then with Mach4. The pendant is USB connected to the PC and has its
own plugin. In response to the pendants plugin Mach plans moves and communicates them to my ESS which in turn
generates the pulse streams required to move the axes. I have no trouble, if I select 0.1mm per click, the axes move 0.1mm
per click. What can happen if I select 1mm per click and spin the MPG fast the 'clicks stack up' faster than the machine can move,
and the machine runs on after I have stopped spinning the MPG to catch up on the backlog. It is very un-nerving. If I increase
the jog speed the machine can move that much faster an the problem is much reduced. I don't like that idea much, usually when I'm
jogging I want modest movement speeds to prevent overruns, inaccuracy and crashes. For this reason I tend not to use 1mm
per click, but I find 0.5mm per click or 0.1mm per click better matched to my machine speed and my brain function!

There is a thread running on the Mach4 board which talks a bit about Ethercat. Ethercat is essentially real time communication
for which Windows PCs have struggled because they are not real time capable. What changed here is a VERY clever
innovation provided by Interval Zero called RTX64 which adds a real time processing core to your existing Windows machine.
Further is sounds like its coming to Mach4 soon......and we hope affordably.

https://www.machsupport.com/forum/index.php?topic=41233.0

Whether it would solve your problem is not immediately clear to me but it might interest you.  Googling Interval Zero and
RTX64 will yield some very interesting and informative videos.

Craig


2403
Mach4 General Discussion / Re: Lathe Electronic Leadscrew / Gearbox
« on: June 18, 2019, 03:14:09 PM »
Hi,
for Mach to measure an display spindle rpm it requires a signal. It can accommodate one channel of an encoder.
It measures the time between successive pulses and calculates the rpm based on the time delay. With an encoder channel
producing many, maybe hundreds of pulses per rev the time between pulses is vanishingly small and the potential inaccuracy
in measuring such small time intervals is large.

As a consequence the recommendation is, and the PMDX-416 may in fact require, an index signal, that is one pulse per rev.
Hook up your encoder but use only the index channel.

Thereafter setting the speed of the spindle is all  about Gcode.
g1 z-1 s1000    for instance would cause the Z axis to advance 1 inch (assuming z=0 currently) with the spindle at 1000 rpm.
Note that the spindle is not synchronized however, it is known as an 'out of band' axis. So with the numbers I have proposed
the average feedrate is 0.001 inch/rev, however the z axis will accelerate up to cutting speed and then at the end of the move
decelerate to zero. Thus in those accel/deccel phases the feedrate will not be 0.001/rev.

If you wish to maintain the spindle and the z axis in exact lockstep or synchronization then an ordinary 'spindle' or out of band
axis is insufficient. You would require the spindle to become a coordinated axis....the C axis.

Is that necessary? Have you had a look at Gcode for turning jobs on a lathe? The vast majority dont not have such
tight synchronism between the Z axis and the spindle.

Have a look at the properties of G93 called 'inverse time feed mode'. Have a look also at the Constant Surface Speed feature
of Mach4. Excepting threading its not strictly necessary to achieve synchronism between the Z axis and the spindle.

May I suggest do that first and  once you have explored the performance of that THEN consider what advantages that perfect
synchronism offer relative to the complexity of achieving it.

Craig

2404
Mach4 General Discussion / Re: Lathe Electronic Leadscrew / Gearbox
« on: June 18, 2019, 03:18:43 AM »
Hi,

Quote
My understanding when i bought them was that they were not a true servo but a stepper motor with encoder feedback into the driver.

That is essentially correct. You don't need, or indeed want, any other encoder. The PMDX-416 only has five inputs. You do not
have spare inputs for things like encoders, in fact you don't really have enough for home and limit switches as is. You will also
need an Estop and a probe, so there is two of the five available gone.

You may want to consider the PMDX-416's bigger brother like the PMDX-424 as it has a few more inputs or if you want
more still inputs an ESS, or UC300, or 57CNC.

The important point is that Mach and the PMDX-416 will issue pulses to the stepper drive to travel 1 inch say, and
the stepper drive will ensure, barring overload or other fault, that the axis gets there. You can program the drive such that
should the stepper fail to stay in sync with Machs planned trajectory the drive will issue a 'following error' fault.

To do lathe threading you will need an index signal on the spindle..

Craig

2405
Mach4 General Discussion / Re: Lathe Electronic Leadscrew / Gearbox
« on: June 17, 2019, 03:06:13 PM »
Hi,
this post should be on the Mach4 Discussion Board, I imagine Tweakie will shift it.

If I understand correctly you are trying to control the leadscrew of your lathe? If that is the case it is the Z axis
in CNC lathe parlance.

You hook your stepper driver to the Step/Direction pins of the Z axis in your PMDX-416. There is no need for an external
encoder. Mach4 nor the PMDX-416 is not a feedback controller, thus while you could use a couple of spare inputs on the
PMDX-416 to 'read' the encoder and Mach could display that if you wish. What Mach or your controller cannot do is
use that information to 'adjust' your stepper motor drive. That is a 'closed loop' and is not possible with your combination.

Instead you have an 'open loop' situation where Mach/PMDX-416 will send a precisely timed stream of pulses to your
stepper driver to move your Z axis (leadscrew) inexact lockstep with the X axis (cross slide).

The only place where an encoder will be useful, and even then only the index channel of the encoder, is when it monitors
the spindle. An index pulse is required to synchronize the spindle and Z axis ( leadscrew) when threading.

You say you are using a 'hybrid stepper motor'. Would you post some more information about it, in particular is it a closed
loop drive or not?

Craig

2406
General Mach Discussion / Re: Mach 3 GCode problems
« on: June 17, 2019, 01:59:48 PM »
Hi,

Quote
I tried to load Mach 4 but I can not find a plugin for my controller as yet.

That controller does not have a Mach4 plugin.

Craig

2407
Mach4 General Discussion / Re: SSR Relay Forward Reverse Help
« on: June 16, 2019, 03:07:33 PM »
Hi,

Quote
I assume a G4 would work in the g code?..

Yes, g4 in Gcode would cause a delay whereon you can change direction......but if you omit the g4 from your
code you blow up your relays and/or your drive. You should have a script in Mach4 that runs every m3/m4/m5
operation so that an inadvertent missing g4 doesn't wreck things.

That would apply to either SSR OR relay solution.

Craig

2408
Mach4 General Discussion / Re: SSR Relay Forward Reverse Help
« on: June 16, 2019, 02:35:55 PM »
Hi,

Quote
and if you ever fire both sets of relays at the same time lots of smoke will be let out.

That is correct, if you do not correctly program and time the activation of the SSRs you risk having all four on at one time
and disaster will strike.

If however you have an input relay and a DPDT relay on the output (for motor reversal only) then you need to sequence
the input relay BEFORE switching the reversal relay or risk blowing the contacts off the reversal relay, ie you have
to correctly program and time the activations of the relays.

Correct programming is required in both cases.......either solution works and either fail if you don't time activation correctly.

Craig

2409
Mach4 General Discussion / Re: SSR Relay Forward Reverse Help
« on: June 16, 2019, 02:18:57 PM »
Hi,
because you have four independent SSRs you have in effect a DPTT (double pole triple throw relay) where  with all four
SSRs off results in the motor being off.

Is it strictly necessary to have a fifth SSR in the AC input circuit?

Craig

2410
Hi,

Quote
The ESS still doesn't support every feature, does it?

Well yes it does, although it does not handle jogging as the CSMIO does.

ESS (in Mach4) offers:
1) Realtime THC
2) Spindle PID
3) Baklash Comp
4) Single point Lathe Threading
5) Laser Rastering/Vectoring
Plus all the usual homing/limits/gantry squaring/probing that we assume all controllers can manage.

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 »