Hello Guest it is April 27, 2024, 04:23:18 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 »
7431
Hi Highspeed1964,
I have used MATLAB fairly recently. I was astounded by how powerful it is.

I used it (demo version only) to simulate a control system I am building for a servo.
You can graphically introduce integrators, differentiators, gains, delays, non linearites
and all sorts of other stuff. It can simulate the system and display it like an oscilloscope
or step response or a Bode plot and more other ways than I can describe. AND this was
only the 'control' module, there are a hundred or so other modules you can add including
symbolic maths equations and another code generator where you tell MATLAB what CPU
youre using and it programs in C your system. If you want technical or scientific computing
MATLAB is the way to go.

From what I could see however it would suck at CNC.

I imagine MATLAB 'objects' could be incorporated into Mach3 but I still have to ask why. If you
require the advanced mathematical simulation and/or matrix manipulation that MATLAB offers
well it could be done. The most mathematics I've had to indulge in CNCwise is trigonometry and
basic arithmetic which can be handled perfectly well by Visual Basic built into Mach3.

Craig

7432
Hi statfq,
is there a particular reason you wish to use Matlab? The VB scripting language built into
M3 has all the usual maths functions. Would they suffice for your calculation?

Craig

7433
VB and the development of wizards / Re: Counting Pulses on an Input
« on: August 24, 2016, 02:58:32 AM »
Hi kentCNC,
I'm only just learning too so regard what I say with caution.

I don't know whether M3 can count but it certainly does have 4 encoder inputs. Could you
mount an encoder on the end of your stepper or maybe on the far end of the ballscrew?
If you can the you have DRO's built in to M3 that can read and manipulate them.

Do you have reason to believe that you are losing steps? Loss of steps can be measured reasonably
easily with vernier calipers or a micrometer. That method wouldn't warn you however.

I have read quite a few posts where different people have tried to use M3 to correct for loss
of steps and I believe most if not all have failed, warning yes, correction no.

Any reasonable correction strategy requires a closed loop design which is the norm for servos
but in its infancy with steppers. The vast majority of steppers are used open loop. My machine is
open loop and yet I have never lost steps unless I was trying to do something crazy or otherwise
demand more than steppers can deliver.

My recommendation is solve the loss or potential loss of steps problem then any warning/correction
strategy becomes redundant.

Craig

7434
General Mach Discussion / Re: G31 alternative
« on: August 23, 2016, 07:45:21 AM »
Hi,
might be off topic but interesting none the less.

Some years ago one of the local linesman took a bad hit from 11kV. The first thing
the foreman noticed was the tyres of the truck carrying the 'cherry picker' sprouted leaks
and the water ballast in them started to squirt out. The current was passing thru Tony,
local guy and friend, thru the truck and earthing via surface conductance of the tyres.
 
Tony survived but was a very sick man for quite a long time. Most of the discharge had
passed around him, like surface conduction. Sharp bits like hands, elbows and knees were
badly injured but internal organs survived.

Evindently the probability of surviving a high voltage incident is actually higher than medium
voltage, 800-1700V. These voltages are found in traction systems like trains. Rectified 3 phase
(in New Zealand at least) is 580V. Any system using boost PFC correction like industrial
VFD's and some Miller Inverter welders have DC link voltage of 800V, the danger zone.

I deal with rectified 3 phase machines daily including some of those Millers. With those your
first mistake is your last and the capacitors are formidable!

Craig

7435
General Mach Discussion / Re: G31 alternative
« on: August 23, 2016, 06:38:24 AM »
Hi Tweakie,
I've always regarded LD50 (lethal dose 50% of the time) as 20mA.

In this case the open circuit voltage I measured was 130V but any moderate path to
earth drops the voltage bigtime. I can only guess but theres no way I could have stood
30mA and still write this to you...

You are correct that I should be much more concerned about this than I am or perhaps
appear to be.

Your concern is noted and appreciated.

Craig

7436
General Mach Discussion / Re: G31 alternative
« on: August 23, 2016, 06:24:48 AM »
Hi Rob,
great find on the info, I have bits and pieces but nothing as complete as this.

Supposedely these steppers can run at 3000 rpm with gear reduction 300 rpm. When I first
set the mill up I experimented and got axis speeds of 2200mm/min which equates to 440rpm
at the coupler and 4400 rpm at the motor. I ran everything at max to do it and of course they
got hot and were prone to stall. In more recent times I run 1200mm/min for a motor speed of
2400 rpm at 75% current output and they run comfortably and reliably pretty much irrespective
of whats loaded on the table.

The drives I have I think must be an earlier model as they don't have microstepping, full and half step
yes but otherwise look identical. Thanks again for the info.

Craig

PS just read your latest post and yes I've had a few close encounters with 230, and about 3 months
ago while at work I slipped probing a 400V circuit, it hurt!
We have a sign up saying "DANGER this will kill you and really, REALLY hurt while you die"

I can disconnect each motor and drive individually but when mounted I can't break the common
earth. Provided  I do one at a time I could measure return current in each, will do it and report
back, not this weekend as I have to work but maybe the next.

7437
General Mach Discussion / Re: G31 alternative
« on: August 23, 2016, 05:26:11 AM »
Hi Rob,
you're right of course, roll up my sleeves and get stuck in, I certainly have the gear, inductive current probe
to 5Mhz, differential voltage probe to 25Mhz with common mode range of 1400V....

The point is I just don't want to!  I'm happy making chips and have a new coil winding script to try out
and then there's the board for my 'you beaut' servo drive not to mention finish grinding the micrometer
head mounts then there's that straight edge and end clamps for a measurement jig and..... You know
how it goes interesting projects and must do jobs always come up and solving this leakage problem
is mere safety, I sniff at it!!!

Truth be told when I first discovered this problem is when I demounted the spindle and promptly got
quite a tingle from the mill frame. Additionally I laid the remote pendant down on the bed and managed
to take out one buffer channel in the BOB. Fortunately the fault didn't progress back into the PC but still
damage was done.

The solution is of course to demount each stepper so I can measure earth return current but I have just
not got around to it yet. Pretty slack and cavilier of me...

Craig

7438
Hi Samrai,
I've had the same difficulty but with setOEMDRO(143,0.0), ie trying to reset an encoder.
In fact I've encountered several encoder DRO's which it appears that I cannot directly
set but can read with getOEMDRO(n).

Haven't yet had any great insight as to why, but then I've only just started to write my own scripts.

Craig

7439
General Mach Discussion / Re: G31 alternative
« on: August 21, 2016, 08:26:12 AM »
Hi Guys.
thanks for your replies, welcome and instructive.

Rob, when I meggered (is that a term you use?) the motors were certainly disconnected from the drives.
I went thru much of the procedure you outlined, disconnected every circuit that goes to the machine and
bought each one online one at a time. The culprits are the steppers, not identical but all near enuf to 10mA
a piece.

Heres the odd bit, the leakage occurs with small variation only wether the axis is driving or not. Even when
stationary the drives still PWM current to the motors.

I've been thru the wiring again and again. All circuits from the BOB to the drives are opto types, I had the
limits and home switches disconnected, in fact removed, the spindle was dismounted and on the other side
of the room!

Vexta specify a 500v isolation result and max rated input voltage of 150V for the motors. The drives themselves
are 230V input. Their size tells me that they have inverter powered DC link. I have not pulled one to bits yet but am
thinking that the DC link may not be isolated from earth. Certainly most AC servo drives are not isolated (what
a surprise that was!!!). I was guessing that the leakage was in the drives but each drive frame is earthed back
to the common rail and I could not for the life of me see why leakage would flow in the mill frame earth.

Since I did that testing I have bought a Tectronrix current probe. One day soon I'll apply it to this problem,
I promise!

In absence of anyother explanation I concluded it was induced current, aka homopolar current in defiance of
Kirchoff. I thorougly agree it way too high but I'm not throwing these things out... they're superb in every
other respect.

I am very careful about power supplies fighting one another. I repair welding equipment or a living and have
seen numerous occasions where weld voltage, a very beefy power supply, blow up boards and their power
supplies should it inadvertently get connected.

Craig

7440
Hi Samrai,
I have just started to write my own scripts, its a challenge.

Encountered exactly the same problem you've described because the
script was stored in MachMill not MyMill.

Use Windows Explorer to check that the macro is in the profile you actually use.
...Mach3\macros\<your profile>\M.....

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 »