Hello Guest it is April 18, 2024, 01:16:16 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 »
3101
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 08, 2019, 07:21:33 PM »
Hi,

Quote
also has a Analog output which you can configure to output between 0-10v!

that output is NOT A SUPPLY for the PWM circuit!

Its meant to be a signal output, probably less than 10mA. Depending on how you program the drive the output
might be an analogue representation of the VFD ouptut power, or output current, or output frequency, or temperature of
the IGBT's, or whatever.....It meant so you can monitor the VFD or motor it drives.

3102
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 08, 2019, 07:16:46 PM »
Hi,
yes you could use a simple voltage divider but you can't be sure how much current the G540 will draw and whether it will
be constant. The output voltage of the voltage divider will vary with the current drawn.

The attached is a simple Zener diode regulator with just a diode and a resistor. I'm going to guess that the G540 will draw
10 mA or so. Zener diodes come in a variety of sizes, 500mW being the common small size. You can get 1W and 3W Zeners
as well. I would recommend 1W or 3W if you can find one locally. The resistor should be 1/2W or thereabouts.

You can use an adjustable regulator, the LM317 is very common, its like an asshole....everyones got one!
It would require a 317 reg, a 100mA TO92 size would be plenty big enough. Two resistors, or better one
resistor and an adjustable resistor would allow you to adjust it perfectly. The only draw back is the dropout voltage.
A linear regulator like this lets say has an output voltage of 10V. The device requires, according to the LM317 spec,
an input voltage of at least 2.5V MORE than the output voltage. So our reg will require 12.5V minimum. If the input
voltage drops below 12.5V then the output voltage may no longer get to the required 10V output, in fact it might stop
altogether. That is called the 'dropout voltage'. With 13.2V from the VFD you are awfully close to the minimum required
input voltage.

There are regulators which have lower than normal dropout voltages, called LDO regulators. They tend to be a little more
specialized and you are less likely to fin one in your local electronics shop.

I would try the Zener reg to start with, I'm 99% confident it will work for you. If not Then we start looking at slightly more
sophisticated designs.

Quote
Lastly why does the VFD have a 12V (13V) output when its analog inputs only work with 0-10v :S

I suspect that the VFD manufacturer sees the 12V nominal output as a purely auxillary supply and did not waste any resources
on its design, a standard off the shelf IC and that is that. The manufacturer might reasonably assume that the PWM
can handle the extra.

Geckos have an excellent reputation for robustness and it surprises me that they have specified such a close tolerance between
the expected max output (10V) and an input supply (12V). Without being privy to the circuit diagram I can't say for sure
why that is or if indeed 13.2V would cause damage. For the sake of a Zener and a resistor why risk it?

Craig

3103
FAQs / Re: I should buy new controller.
« on: February 08, 2019, 03:09:11 PM »
Hi,
that looks like Chinese made controller. China might as well be another planet as far as getting repair or service info,
it seems the Chinese manufacturers don't care what happens to you once they've got your money.

Those three big ICs are the stepper drivers ICs and are prone to failure. If one blows up you have to buy another board
if you can't unsolder the faulty IC and replace it.

Gecko, a US company, have a very good reputation for making robust stepper drivers. One of their most popular
products is the G540. It is a parallel port breakout board and 4 axis stepper drivers combined. The maximum voltage
of the stepper drivers is 50V, not spectacular but useful.

https://www.geckodrive.com/g540-4-axis-digital-stepper-drive.html

Gecko also make individual stepper drives with maximum voltages of 72V.  The G213 is an example. You would need
three units AND a breakout board so at $150 a unit quality doesn't come cheap. The good news is you will have them
for years and if you ever need help Gecko is only a phonecall or email away.

https://www.geckodrive.com/g213v-digital-stepper-drive.html

A somewhat cheaper alternative is Leadshine AM882. It has a very useful, in fact class leading, 80V input at up to 8.2A.
I have seen them on Ebay for as low as $66 each, but $75-$85 is more normal. Leadshine has a pretty good reputation
for quality. If you were to go this way you would want one unit for each axis AND a breakout board.

http://www.leadshine.com/productdetail.aspx?type=products&category=stepper-products&producttype=stepper-drives&series=AM&model=AM882

If you need a breakout board there are plenty of good ones. I like and use the MB-02-V6 from Homann Designs in Austrailia.
I live in New Zealand so is pretty close to local to me.

https://www.homanndesigns.com/index.php?main_page=product_info&cPath=54_22&products_id=59&zenid=m9hqu4ek9oinoasvdev8usfov5

One thing that you should look out for if buying a breakout board, make sure it has LEDs on all the outputs. You can see at a glance
what outputs are working. A Godsend when you are trying to set up.

Craig

3104
Mach4 General Discussion / Re: Is there any way to home a single axis?
« on: February 08, 2019, 02:35:18 PM »
Hi,
yes you can use a script which uses the API:

LUA Syntax:
rc = mc.mcAxisHome(
   number mInst,
   number axisId)

Description:
Used to start an axis homing.


Or you can use the Ref Z axis (or Ref X, Ref Y) on the machine diagnostics page.

Craig

3105
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 08, 2019, 05:12:05 AM »
Hi,

Quote
Maybe thats why they say not to connect it to over 12v as it cant reduce anything over 12v down to 10volts?

Not quite. The G540 can reduce the input voltage in a range of 0% to 100%. If you call for the spindle to go to maximum
speed it will output 100% of the supply voltage it is given. If it is given 13V then at 100% the output voltage will be 13V.

The problem I'm guessing is that Gecko believe that an input voltage of more than 12V will stress the internals of the G540.

Quote
Next problem is I setup Output 2 as Spindle On And the output is working (testing with multimeter) but the VFD only activates the X1 terminal when X1 and Comm terminal (on the vfd) are connected. and Output 2 on the g540 doesnt seem to have continuity to Comm on vfd so im not sure what to do there. Maybe run a wire from the Comm terminal on the VFD to the pin12 on the GeckoG540 (power supply ground)


Sounds like the VFD Enable is active low. If you reverse the sense of the Gecko output, when it goes low it should turn the
VFD on. It may be as you say that the Com terminal is isolated from pin12, the power supply ground. Try in the first instance
the reversal of the signal, done in the ESS plugin Pins Config page. It may be necessary to hook pin 12 of the G540 to the Com
of the VFD.

Craig

3106
General Mach Discussion / Re: Mach3 Breakout Board Inputs
« on: February 08, 2019, 02:39:59 AM »
Hi,
when I was still using Mach3 (now on Mach4) I used two breakout boards from Homann Designs in Auatrailia:

https://www.homanndesigns.com/index.php?main_page=product_info&cPath=54_22&products_id=59&zenid=d57t79b1cg7ac4l2676v12okd5

Of course I live in New Zealand so close to local for me. Been great. I still use them now that I have a Smoothstepper.

Really that's your choice....just get a breakout board and stick with a parallel port (and its limitations) or get yourself
an external motion controller like a SmoothStepper or a UC300 or similar.

DONT BUY CHINESE JUNK!
Cheap is about the only thing you'll like about them.....and really, are they that cheap when you have to throw them out
because they don't work?

Craig

3107
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 08, 2019, 12:48:20 AM »
Hi,

Quote
The VFD does have a “12v” out but while I was checking things I happened to probe between this post and the comm post and it was showing 13.2volts. I do remember reading somewhere in the gecko manual not to let this be over 12v. Is this a problem?

Yes, it may be. Its quite common for a 'nominal 12V' supply to be somewhat more, as in your case 13.2V.
As you know 12V is the common output voltage of an automotive 6 cell flooded lead acid battery. In fact when absolutely
fully charged you might expect 2.2V per cell for a total output voltage of 12.6V. When in automotive service when the engine runs
the generator (old school)/altenator will elevate the voltage to charge the battery. A modest charge rate could be secured by
charging at 13.2V. A more aggressive charge rate as is the norm for modern cars is 14.2V to 14.5V.

With the long history of 12V use in automotive service then '12V' can be a bit flexible.

I don't recall seeing anything in the G540 manual, but I take your word that it is there, the recommendation not to exceed 12V.
If that is the recommendation I would stick to it. It is worth an email to Gecko to get a little more info.
The simplest solution I can think of would be to drop the voltage slightly with a 9.1V Zener diode and a resistor. That would
mean that the variable output voltage of the G540 would be  0 to 9.1V, slightly less than spec but close enough. 9.1V is a
standard Zener voltage. You might enquire from Gecko about the expected G540 current draw from the nominal 10V supply,
it maybe that a Zener will get a bit hot and bothered.

Another alternative is to use a low dropout voltage regulator. You might get away with a very common and dirt cheap LM317.
It would require two resistors to set the voltage but you can set it very accurately.

Let me know if you need some help to regulate the 13.2V output of your VFD. Electronics is 'my thing'.

Craig

3108
FAQs / Re: Problem with X axis
« on: February 07, 2019, 05:03:50 AM »
Hi,
the most likely explanation is a faulty driver IC which is very likely to be one of the Toshiba driver ICs which are
commonly used in Chinese made controllers. The Toshiba ICs are a bit prone to failing

Are you able to unsolder the existing IC and fit a new one?

Craig

3109
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 07, 2019, 04:56:01 AM »
Hi,

Quote
Gecko G540 Pin 7 (VFD Ground) --> Comm Terminal on VFD
Correct

Quote
Gecko G540 Pin 8 (VFD Out) --> X1 Terminal on VFD (Spindle FWD Input)
Incorrect. Pin8 of the G540
is a variable output voltage between 0 and 10V. It needs to be hooked to the AIN input of your VFD

Quote
Gecko G540 Pin 9 (VFD 10V) --> AIN1 (Analog Input 1)
Incorrect. The G540 is expecting a constant 10V input supply, from the VFD if it has one or an external 10V supply
if it doesn't. The G540 will take this 10V supply and 'modulate' it to the required (variable) output. Does you VFD have
a 10-12V supply for this purpose?.

Quote
Spindle: Type = PWM
Frequency Hz = 400z (im not actually sure about this one? how do you know the base hz, I just choose the max hz
Correct although the G540 is expecting a base frequency of 50Hz, probably good idea to provide the signal
that the G540 is designed for, ie 50Hz

Quote
Pins Config:
Port 1 - Pin8 - Out - Active High - Spindle PWM
Port 1 - Pin9 - Out - Active High - Spindle FWD
Incorrect. The ESS pins will hook to the DB25 input of the G540.

Thus Port1 -Pin14 Active High Spindle PWM

You have a problem now. It is common to have a signal to turn the spindle ON/OFF.
If you want to be able to go both directions you'll want a FWD/REV signal as well.

There are two uncommitted outputs on the G540, OUTPUT1 and OUTPUT2. They are driven by two G540 DB25
input pins.

Port1 -Pin1 OUTPUT2
Port1 -Pin17 OUTPUT1

You need to decide whether you want ON/OFF AND direction control OR just plain ON/OFF control.

Quote
Mach 4 Config:
Output Signals:
Spindle FWD - Enabled - Device = ESS - Output Name Spindle FWD
You shouldn't touch this setting. You make the output settings in the ESS plugin and that AUTOMATICALLY populates
the Mach4 Config.

Until you decide the direction/ON/OFF question the ESS outputs are undecided.

Craig

3110
Hi,
if your profile and screenset are named appropriately you don't have to do anything. All the other files get replaced
but not your ones.

Yes you can package your profile but if is not uniquely named it will get overwritten. Likewise the screenset. Make sure it
is uniquely named.

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 »