Hello Guest it is April 20, 2024, 10:04:13 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 »
5331
General Mach Discussion / Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« on: February 09, 2018, 02:41:36 PM »
Hi,
its common practice to wire all the limit switches in series with normally closed contacts. When any one switch operates the continuity of the switch string is broken and
that is what Mach detects. There again its common, but not universal to have Mach Estop on a limit event.

Large and powerful machines are even more safety oriented and a limit event will cause the axis drives and spindle to de-power. When a machine de-powers in such a manner
it is a time consuming matter to restart the machine, assuming no damage is done, and pick up where the job currently in the machine is and start from there.
None the less safety requires such an arrangement, if the controller has 'brain fade' and the EStop doesn't work or is slow, it is essential that the machine be made safe.
Because of the inconvenience and lost time a great deal of effort is expended to prevent a machine from ever operating the limit switches.

Mach has soft limits. They are programmed usually to be just inside the physical limits and limit switches. The program will detect that you or your Gcode is attempting
to drive your machine out of bounds and stop you. They work really well, but they absolutely rely on the machine being referenced or homed. So when you turn your
machine on and you 'home' your machine it will drive to pick up its home switches in each axis. Mach knows thereafter where it is in relation to the boundaries of the
machine and soft limits become useful.

It is for this reason that I argue that good, reliable, repeatable home switches are more important than limit switches. For about a year or so I operated my mill
without home switches and suffered a few crashes because soft limits didn't work because the machine was not repeatably referenced. Once I got around to fitting
home switches the number of out of bounds moves dropped dramatically. Good home switches were the best addition/development I ever did on my mill not to mention
very cheaply too!

Craig

5332
General Mach Discussion / Re: uc300 analog input outputs
« on: February 09, 2018, 05:38:50 AM »
Hi,
yes if the existing motors are good then new drives would certainly be the way to go.

I had not played with a decent AC servo until fairly recently when I bought a secondhand 1.8kW Allen Bradley servo and drive.
It wipes the floor with any DC servo I've come across. The tuning software has a database of electrical, thermal and physical characteristics
and even magnetic characteristics including saturation and hysteresis. All manner of control modes, pulse, analogue, all manner of modes torque, velocity
and position, indexing both speed and position, incorporates its own limit switches, able to program any number of digital and/or analogue performance
indicator outputs, programmable following error and the list goes on. I'm still learning about what they can do.

Many of the Eruopean and American brands are very expensive, as I say Delta (Tiawainese/Chinese) is a good compromise. About $1000US for a 1.5kW servo and
drive with a 20 bit absolute encoder. Makes mincemeat of DC servos.

Craig

5333
General Mach Discussion / Re: uc300 analog input outputs
« on: February 09, 2018, 05:03:49 AM »
Hi,
I priced some DC servos for a customer, spares for his aging plasma table and I was shocked at the price and for 100-200w servos at that!

Have you seriously looked at the prices of AC servos and drives. I don't think I would be going for the cheapest Chinese stuff but Delta is a very good
brand and a good compromise between price and quality.

If I'm not mistaken they'll make DC servos look like yesteryears expensive tech.

Craig

5334
General Mach Discussion / Re: uc300 analog input outputs
« on: February 09, 2018, 04:13:54 AM »
Hi,
machdrives have parallel port breakout boards and DCservo amps. Do you use or need either?

Craig

5335
Hi John,

Quote
should i switch to mach 4??? instead???

the first board is a Mach3 ready USB controller, they have caused a lot of hair pulling by people over the years but they do work apparently but is absolutely worthless for
Mach4.

The second board is a straight parallel port breakout board and you could use that with the Darwin parallel port of Mach4 but the parallel port is limited, I wouldn't
recommend it, it'll be as frustrating as what you face now.

The last one is a UC100 by CNCDrive and IF ITS A GENUINE ONE its very good indeed. The reason I highlighted the comment is because there have been hundreds of
Chinese rip-off UC100s. If its one of those throw it away.

If your serious about Mach4 be prepared to buy a GOOD external controller and no Chinese s*********t. There are five manufacturers of GOOD Mach4 ready boards, the cheapest
is about $120 and the flashest one is $600. I use an ESS about $180 plus 2 x $50 for two breakout boards. The PMDX-424 is about $225 and is ready to go. PoKeys
and CNCDrive have some great products too. At this time there is no Chinese manufacturer making credible Mach4 products and if they try to tell you otherwise
walk away.

Craig

5336
Hi,
I think that all input signals to the motion controller are monitored, I wouldn't say sampled exactly, but are monitored by high speed circuitry. Those signal are only
very slowly reported back to Mach. Some signals like THC are handled within the controller and what gets reported back to Mach is a bit irrelevant.

THC UP and THC DOWN are not handled like ordinary signals.

Imagine you have Mach plan a move in the X and Z axes. The move is 100mm in X but because of a slight tilt on your plate the Z axis needs to lower by 1mm over the
100mm cut. Between Machs planner and your parallel port controller the controller produces 100,000 pulses to the X axis and 1000 pulses to the Z axis, I have
assumed 1000 pulse per mm to make it easy, and the move is planned to take 5 seconds. For simplicities sake we'll ignore the accel-deccel stages of the move.
The pulse rate is 100,000/5= 20kHz for the X axis and 1000/5=200Hz for the Z axis.

Once the move has been planned and dispatched to the controller it can't be changed. However WE DO NEED TO CHANGE IT ON THE FLY to accommodate THC variation.
Lets say that the THC variation is 0.5mm in addition to the 1mm the Z axis is lowering and again to make it less confusing say that it happens evenly over 100mm.
Given that Mach and the PC have planned and dispatched the move the motion controller is now the only device that can change the Z motors path. The motion controller
will insert one extra pulse every two normal pulses. So over the entire move the Z axis has lowered 1000 pulses due to the plate angle and 500 pulses due to THC.

That was a highly idealized example to show how it works. Imagine now that the THC variation is +0.5mm over the first 50mm and then -0.5mm over the last 50mm.
The controller will insert one pulse for every one normal pulse, change the direction signal at the 50mm point and insert one pulse for every normal pulse but in the
other direction. As you can see this starts to get complicated quite quickly and is happening very rapidly. There is no way you could transmit the data back to Mach and have
the main CPU do the calculation, by the time it even got the data it would be too late.

THC is a specialized function of the motion controller, it really has little to do with Mach at all.

Craig

5337
General Mach Discussion / Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« on: February 09, 2018, 02:48:23 AM »
Hi,
OK, those switches I linked to can be used as limit switches as well but are fairly sizable. The ones you pictured will work OK.

Another possibility is inductive proximity sensors, they can make for a tidy and robust installation.

No matter what switches or sensors you use you should give some thought to what happens if the axis runs away. Trust me it DOES happen!
Any switches/sensors in the way are going to get crunched, may not be the end of the world but certain arrangements or mountings mean that even
a runaway axis won't break them.

Craig

5338
General Mach Discussion / Re: uc300 analog input outputs
« on: February 09, 2018, 02:19:55 AM »
Hi comet,

Quote
Exactly proves my point,you should not have to assume anything with equipment that could potentially cause harm or damage.

I understand your concern but you have elected to go with Mach3, a DIY CNC software program and a UC300 hardware motion controller of VERY VERY modest price
and taken on the role of 'Machine Integrator' whether you actually intended on doing so or not. The risks and benefits of doing so are yours alone.

There are alternatives.......Fanuc and Siemens make state of the art controllers and software, just be prepared to pay $20,000 AND annual fees.

Craig

5339
Hi,
Mach3 inputs are polled at about 10Hz known as the macro pump rate.

Machs inputs are not suitable for inputs which change very quickly, THC would be one example. Another would be the index signal from a spindle, even
a lathe spindle at only 300 rpm for threading has an index pulse every 5ms. This signal is used among other things to synchronise the start of the thread.
Mach needs to respond positively in something under 1/2ms to have any chance of being accurate.

Machs normal inputs are way way to slow to be of use in those circumstances.

Those high speed/critical timing signals are handled by the motion controller.

If you use a parallel port it may not be evident that you have a motion controller but you do. The parallel port driver takes numerical information from Machs motion
planner and uses the PCs CPU to produce high speed high accuracy pulse streams to the motor drivers. All in all the parallel port driver is a very clever bit of work.
So when Mach is running there are two bits, Machs GUI /motion planner and the Parallel Port Motion Controller.

The motion controller offers high speed signal control for a number of common CNC processes, THC and Lathe threading are two, but probing, homing and axis squaring
are among others. You can't program most motion controllers so you can only do what the maker of the controller built in. You may have seen Galil, Vital Systems and
PoKeys offer motion controller level programming, usually at extra cost. This low level high speed program code could be very useful for a project which requires
high speed signal processing that is not a standard motion controller feature. You will need to be a competent programmer to make sense of it.

The de-bounce is a number supplied to the motion controller from Mach to set the number of 'time slices (40us at 25kHz)' that a signal is to be monitored before the
signal in 'known to be good'. It is a kind of filtering arrangement designed to stop very rapid transient voltage signals from falsely be interpreted as a valid signal.
The length of the time slices gets shorter as the kernel frequency goes up. Lets say you had a problem signal and had it 'heavily' debounced for 10 time slices at
25khz, ie 400us. If you then upped the kernel speed to 45kHz (22us) you need to increase the number of times slices to maintain 400us filtering 400/22=18 (about).

The simple summary is that Machs input are good for slowly varying signals, a few Hz whereas the motion controller can handle signals well into the kHz range. Debounce
is a simple filtering technique and is convenient to do programmatically as opposed to fiddling with little capacitors.

Craig

5340
General Mach Discussion / Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« on: February 09, 2018, 01:14:05 AM »
Hi,
are you looking for home switches or limit switches?

I know a lot of people combine the two jobs but there are some good reasons why that is not the best. It used to be that because we all had only parallel ports we
had to economise on inputs. With external controllers offering many more inputs you don't, in fact probably shouldn't do that today.

My recommendation for home switches are Omron or Honeywell Roller Plunger microswitches. They offer good repeatability and accuracy and can be mounted within
the machine boundaries thereby freeing the very ends of travel for the limit switches.

http://www.machsupport.com/forum/index.php/topic,36285.msg248575.html#msg248575

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 »