Hello Guest it is April 27, 2024, 05:03: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 »
7011
General Mach Discussion / Re: One step forward, two steps back.
« on: May 20, 2017, 07:31:00 PM »
Hi,
the choices are use an external motion controller which will allow you to use your PC as is OR change OS to 32 bit
Windows 7 or earlier.

Changing OS and using a parallel port it certainly doable, many CNCers do exactly this. The PP can be a bit cussed tho.
Some PCs do a good job when others don't without any particular reason. Additionally PP is VERY sensitive to other software
running on your PC, should your browser auto start say part way thru a machining job the PP will almost certainly stall
and lose the plot.

Given the sensitivity of the PP to PC and/or installed software provided the impetus for external controllers. There are a number
in the $100-$200 bracket that perform well. The companies making them have been around a while and back them up. Don't
buy a cheap-crap one from a no-name supplier, the forum is littered with posts from people who've bought such units and can't
get them to work.

Craig

7012
General Mach Discussion / Re: memory write error windows 10
« on: May 20, 2017, 07:14:03 PM »
Hi,
tell me more about this USB to Parallel converter. If you are trying to use Machs Parallel Port the converter won't work.

There are a number of external motion controllers which plug into the PC with USB but after all their internal trickery connect to your
BoB with a DB25 plug. All of these controllers will use a software plugin. Do you have this plugin?

Craig

7013
Mach4 General Discussion / Re: Jog Speed
« on: May 19, 2017, 03:21:32 PM »
Hi,
I don't know for sure but
Quote
rc = mc.mcJogSetRate(
      number mInst,
      number axisId,
      number percent)
suggests that the jog rate is assigned per axis.

Craig

7014
General Mach Discussion / Re: memory write error windows 10
« on: May 17, 2017, 06:29:43 PM »
Hi,
what external motion controller are you using?.

While Mach will run under Windows10 the parallel port driver will not. The parallel port will run under a 32bit OS Windows7 or
earlier. If you wish to use Windows10 as OS then you will require an external motion controller.


Craig

7015
Mach4 General Discussion / Re: Home, Limits, Soft Limits
« on: May 17, 2017, 01:20:37 AM »
Hi,
try
Quote
Mach4 CNC Controller
Mill Operations Guide
from page 40.

Reading your post you say that your limit switches are normally open. The most common method with Mach is normally closed.
Do the switches fitted have NC contacts in addition to the NO ones?

The ESS allows plenty of inputs so assigning one pin to each limit switch is doable but will require extra BoBs.
I would still recommend separate home switches. As your home switches reference your machine repeatability is desirable, I would
go for good quality roller plunger microswitches very securely mounted and adjusted. If your steppers or servos have index contacts
then you can use index homing as well for extremely accurate homing.

Craig

7016
Mach4 General Discussion / Re: Home, Limits, Soft Limits
« on: May 17, 2017, 01:02:54 AM »
Hi,
welcome aboard. The confusion over these terms is very common when starting out and can still catch you out years down the track.
A large part of CNCing is understanding these terms and being able to use them sensibly.

You may have noticed with Mach4 enabled on the file ops tab there is a button 'Help Docs?'. On that button you'll find a directory of useful
manuals and reference documents. Over a period of time you will probably find several other useful documents and they can be added to this
list, I have some for ENUMs and pound variables and more for LUA coding.

This one is useful
Quote
Mach4 CNC Controller
Mill Operations Guide

If your new to CNC then
Quote
CNC Programming Handbook by Peter Smid
is pretty much the bible for CNC.

The upshot is that when you turn a machine on the machine has no idea of 'where it is' unless you have some very expensive absolute linear encoders,
and if you had those 'why piss about' with Mach4 when you can afford Fanuc/Seimens? Consequently you need to home or reference  your machine.
Its common to use one extreme corner of the machining envelop as reference but is not in fact required. The simplest way to achieve that is to fit
microswitches, one to each axis, called home switches. When you home or reference your machine you will drive an axis until it triggers its home
switch, back up a little until it deactivates again, and set its 'machine co-ordinate' for that axis to zero. The next axis in the list will now be homed
in the same way. When all axes are homed the machine knows where it is and will maintain that knowledge throughout the session. It will know
for instance that its getting to very close to the end of travel on an axis and will fault out if you try to exceed the travel limit if you've set soft limits
correctly.

Most users fit limit switches as well, one at each end of an axis. If the machine tries to drive off the end of an axis it will trigger a limit switch and
go into emergency shutdown. Emergency shutdowns will often mean that the machine loses an accurate measure of its location and so restarting
the machine to continue with the job clamped in the vice may be out of whack and wreck the part. For this reason we try to avoid banging into the limits
whereas soft limits can be used and the machine can shut down and protect itself in a controlled manner and so that much easier to restart the
job if required.

Soft limits only work if the machine is referenced, its no good telling the machine 'don't go beyond 1000mm' if the machine doesn't know where it
started from. You can program Mach to know what the extents of your machine are, very useful. It will also warn you if the part program you've
just loaded exceeds your machine boundaries.

There are a number of techniques and tricks that can be used to reduce the number of switches and wiring by combining some functions together.
They can be confusing if your just starting out, I would recommend separate home switches but all six limit switches can be linked in series. While
even more comprehensive arrangements can be devised this one is reasonably simple to implement and understand and still offer good results if
soft limits are used intelligently.

Craig

7017
Mach4 General Discussion / Re: correct driver mapping
« on: May 17, 2017, 12:10:51 AM »
Hi,
welcome aboard.

Need a few more details before I could answer your question at least with reasonable certainty of being correct.

Usually Mach4/ESS assign the following:

Axis 0    Motor 0       X axis
Axis 1    Motor 1       Y axis
Axis 2    Motor 2       Z axis
Axis 6    Motor 6       Spindle    --note that axis 6 is the first 'out of band' axes available in Mach4, they can be motion controlled
                                               but not motion co-ordinated with other axes.
As to which pin to hook to which driver terminal will depend on the driver. Can you post the driver manual?

The most common setup is step/direction. Thus for each motor there would be two pins assigned, and if you use the ability to assign
aliases to pins engendered by the ESS plugin, XSTEP,XDIR for instance. Each pin would typically be connected to corresponding pul+
terminal of the driver with all the pul- terminals shorted together and hooked to 0V of the BoB.
The axis enable signal can be assigned using the ESS plugin, XENABLE for instance and that pin hooked to the enable terminal of the driver.

Much of these assignments depend on the driver, some are logic low, some logic high. While the wiring for each may be different they achieve
the same ends. Post your driver manual please.

Craig

7018
General Mach Discussion / Re: Purposly Making a Weak Spot
« on: May 16, 2017, 04:33:56 PM »
Hi,
looks like parameter 61 is motor rated torque. Set that to the nameplate torque.
Parameters 45 to 48 are percentage of rated max torques.
The 'internal torque' limits the maximum current within the torque control loop while the 'external torque'
limits the torque output of the torque control loop. Note it is possible that the output torque be limited to less than the
internal current command, it allows more dynamic control at the potential risk of loop instability.

Craig

7019
General Mach Discussion / Re: Step pulse
« on: May 16, 2017, 04:14:53 PM »
Hi,
they look like ordinary steppers to me. I think I would try a regular stepper driver, probably a Geko and see if it works, I suspect it will.
Thereafter conversion to Mach is straightforward.

Craig

7020
General Mach Discussion / Re: Step pulse
« on: May 16, 2017, 03:04:14 AM »
Hi,
I think Ger is right, you cannot program Mach to produce a 60us pulse.

You could make a circuit to do so if you wish. It would require one IC timer per channel, probably a simple 555 timer for cents each.

Do you mind me asking why its necessary to have such a long pulse? Do you require similarly extended pulses on other channels/axes?

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 »