Hello Guest it is April 26, 2024, 12:58:53 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 »
2661
Mach4 General Discussion / Re: probe error : no contact with probe
« on: April 13, 2019, 10:32:44 AM »
Hi,
now I am confused, at the start of the thread you said you are using a parallel port and now you are talking ESS.

What motion controller are you using?
Have you tried the manual procedure I have suggested?

Craig

2662
Mach4 General Discussion / Re: probe error : no contact with probe
« on: April 13, 2019, 07:58:39 AM »
Hi,
did it work when you MDI'd a g31?

Craig

2663
Hi,
I cant find any specification from any manufacturer about the rotational inertia of the rotor of a 2.2kW asynchronous
spindle.

Rotational inertia is a specified parameter in servos and so I will use the servo data for a 2kW AC servo from Delta.
Its specified rotational inertia is:

0.00149 kg.m2  (more correctly called 'the first moment of inertia', usually given the symbol 'I')

Lets assume that if you had a direct coupled tool holder and smallish endmill that the rotational inertia would be approx:

0.002 kg.m2.

The kinetic energy of the rotor/toolholder/ tool combination  at 3000 rpm is:
E(joules)=0.5 x I (kg.m2). w2 (rad/sec) (note w is  the rotational speed in radians/second)
E=0.5 x 0.002 x (2 xPI x3000/60)2
E=98.7 joules

If the spindle were required to decelerate very quickly this kinetic energy would be fed back into the drive. In absence
of any braking resistance that energy would be added to the DC link capacitors. The voltage rise that would cause is:

E(Joules)= 0.5 X C (Farads, the capacitance of the link capacitors) x Vrise2

Rearranging and evaluating:

Vrise= (2 X 98.7/ 10000uF )1/2
Vrise=140.5V
Note for the purposes of this calculation I have assumed 10,000uF DC link capacitors, as is common in single phase
servo drives and VFDs.

Thus your DC links capacitors (on a 230V single phase driver) are normally charged to 320VDC, and because of the sudden
deceleration of the rotating component cause a voltage rise of 140.5V to a total of 460VDC. Note that the vast majority of
DC link capacitors, all aluminum electrolytic types, are rated to 450V. Thus your DC link capacitors are on the verge of blowing
up. This is exactly why braking resistors are required, to dissipate the kinetic energy WITHOUT the DC link capacitors
going over voltage.

My servo drive has a  braking resistor threshold of 340VDC and a safety threshold of 380VDC. Thus if the voltage increased to
340VDC the braking resistor MOSFET is switched on and the braking resistor is now directly across the DC link. If the
voltage further increases, ie the braking resistor does not 'hold the voltage  down' to 380VDC the servo drive faults
'over voltage' and switches off allowing the servo to coast to a stop.

If the deceleration is a matter of safety, ie the operator of the machine hit the Estop, we want the spindle to slow as quickly
as possible. If however you program a 'crash' stop the servo drive and braking resistor combination may not handle it and
shut down, allowing the servo to coast. This would be very bad design. In trying to decelerate we have caused the drive
to fault and therefore achieve a much lower deceleration than might have been possible had we allowed for the limited ability
of the driver/ resistor to absorb the energy.

Craig

2664
Mach4 General Discussion / Re: probe error : no contact with probe
« on: April 12, 2019, 09:55:00 PM »
Hi,
OP has previously established (reply #2) that the probe LED operates as expected ie the BoB is correctly signaling
Mach.

Craig

2665
Mach4 General Discussion / Re: probe error : no contact with probe
« on: April 12, 2019, 09:03:42 PM »
Hi,
before you commit to the expense of a controller.....

A g31 move is a special example of an ordinary g1 move. For example:
g31 z-5 f100
means 'move from the current z location to z=-5mm at a rate of 100 mm/min. It moves as if it were a g1 move.
Where it differs is that if the motion device detects a probe event while the move is in progress the machine stops,
aborts (clears) the remainder of the motion buffer and reports its X,Y,Z coordinates to Mach.

Firstly note that the Z axis coordinate is in 'work coordinates' not 'machine coordinates'. Lets say for example that the
current work coordinate is -10mm. When Mach encounters the g31 command above it will move upwards form its current
z=-10mm to z=-5mm and it wont encounter a probe event while doing so.

The point being that if the work coordinate system is out of kilter with the work surface (or touch off surface) unexpected
results can occur. Given that you don't have home switches it would be easy to have the work coordinates out of kiliter
along the lines I have suggested or some other combination that produces unexpected and failing results.

May I suggest homing your machine as normal. Jog to the touch off plate and lower until your probe is just or nearly
touching the plate. Then zero the work coordinates using the DRO buttons. Jog the machine upwards a mm or two.
Now try an MDI of:
g31 z-10 f100 (metric)
g31 z-.5 f4    (inch....bloody queer Yankees)
and see what happens.

Craig

2666
Hi,
yes it is a boon if you manage to break Mach4 as I did. The PLC script is a bit of a trap, its easy to end up with infinite
loops and therefore you cannot access the screen editor to repair it.

Before Daz told me about the command line switch I had to reload Mach4 from scratch. I was, and still am, unfamiliar with
profile.xml

I've only had to use the command line switch a couple of times so I just ran through the process to be sure I had it straight.

1) Close Mach4, using WindowsTaskManager if necessary to ensure all elements of Mach4 are closed
2) Open a Command window
3) Change directories to C:\Mach4Hobby (or wherever you have put the root Mach4 directory)
4) type Mach4GUI.exe/e <enter>
5) Select your profile <enter>

Mach4 will now open your profile but in screen edit mode, thus you can remove faulty code.

Craig

2667
Mach4 General Discussion / Re: probe error : no contact with probe
« on: April 12, 2019, 05:31:41 PM »
Hi,
Mach4 was always intended to be paired with an external controller. Having said that I am surprised that you can't get
the Darwin parallel port to probe correctly. I may miss on some of the realtime functions like THC but it does do probing.

Craig

2668
Hi,
its not that big a problem if you know that trick.

The first time I did it I was creating some code in the PLC script and used a wxMessageBox() as a diagnostic.
As you know each time a message box comes up you have to dismiss it. Then within milliseconds the PLC script
runs again.....another message box, ie a infinite loop of message boxes which can't be halted to allow you to get
to the screen editor a remove the offending code.

Daz-the-Gaz told me about the command line switch. I had to use it a couple of times.

Craig

2669
Hi,
the ESS (if genuine) is a very much better board. What was it that you had trouble with?

Craig

2670
FAQs / Re: Getting Started With Mach 3
« on: April 12, 2019, 01:04:32 AM »
Hi,

Quote
suggest you get CNC Programming Handbook by Peter Smid

Its a very dry read but very thorough, over 500 pages. It is THE REFERENCE.

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 »