Hello Guest it is April 27, 2024, 02:12:10 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 »
7501
General Mach Discussion / Re: new computer can't jog faster than 50 ipm?
« on: November 27, 2015, 02:41:54 AM »
Hi all,
my take on the timing variation is

When a stepper is running at max speed, lets say 1200 rpm at 500 step per rev (I use Vexta 5-phase steppers) corresponds to 10,000 pulses per second.
If the pulse generator (ie the PC) is stable the period between rising edges is 0.1ms. If the PC isn't doing as well then the period between pulses will vary.
If we assume just 10% variation the periods will vary from 0.09ms to 0.11ms which corresponds to a variation in speed of 1333rpm and 1090rpm.
Further these speed variations can occur in rapid succession and constitute VERY high accelerations/ deaccelerations and is no wonder the steppers can't
keep up.
My 'big' scope, while old, is quite good and has a histogram function which allows me to measure % variation on a nominally constant pulse stream. I have found
that more than 2-3% severely limits high speed running. At much lower cutting speeds variations of 10 and more % can be tolerated.
I don't believe that the PP, breakout board or stepper controller have that much influence provided they work of course!
As comments in this thread and others make clear an external motion controller is really the only way to eliminate pulse speed variations. I use a single board
Atom based PC for my controller and it works fine so I haven't bothered with an external controller.
I also use an embedded OS (Windows 7) which allows me the choice of what modules run in the machine. I don't run any Ethernet or Ineternet capable modules
as they have security checking processes which 'clogs' things up when trying to run Mach3.

Craig

7502
Hi,
looking at the manual suggests to me that you could control these units from mach but it may not be straight forward.
I think that you could use Modbus to communicate to the drives over RS232. It would require you to write Modbus routines
that the DES can read. It would be a challenge.

Craig

7503
General Mach Discussion / Re: Missing program
« on: August 05, 2015, 07:43:26 AM »
Hi All,
Keith is right, there is at least one realtime Linux distro, the one I am thinking of is Ubuntu Realtime. As Keith says it sticks to the business at hand,
if you nominate your CNC software as business that's what it does. Despite its billing its not in fact a real 'realtime' OS.

The genuine contenders for realtime OS have to guarantee a response time and there is a very specific technical standard to which it must comply
and is required for any number of important systems; medical, automotive, aerospace.... If you search FreeRTOS you will find more info.
Yes as the name implies you can have a genuine realtime OS for free!!! Downside is at least from our point of view is that it doesn't apply
to PC type OS's. If you want a realtime scheduler for a microcontroller running the ABS system in a car, one that has documented garantees
you're in luck.

Craig

7504
General Mach Discussion / Re: feedrate in feedbackloop
« on: August 04, 2015, 03:31:06 AM »
Hi BR549,
thanks for your reply.
The spindle has no indexer built in but several ideas occurred to me that might work.
For the rpm involved, less than 5000 say, it might be possible to drive a small motor by belt from the shaft above the clamp nut
as a crude tacho. Might also be feasible to use an optical counter such as RC guys use.
The last idea I had was that as I recall it was possible for the VFD to measure slip as a near to linear approximation to demand torque.
Either way I think it possible to reasonably determine rpm and or torque which would be sufficient for my purpose.

After I first posted I started looking at the OEM DRO's and buttons and noted quite a few which could offer some control over federate
under software control. As an aside it is a bad habit of mine to start thinking after I've already opened my mouth.
Your reply suggests that it may to reduce/stop feed live rather than delayed by the buffer and that interests me. My guess is that it
would be necessary to reduce the federate within milliseconds to avoid a stall with the rotational inertia of the spindle being the only
(time) saving grace.

Thanks again, I will RTFM. If anyone has any ideas to focus my search please post...

Craig

7505
General Mach Discussion / feedrate in feedbackloop
« on: August 03, 2015, 07:41:39 AM »
Hi,
I have just started to experiment milling steel with my homemade mill. It is equipped with a low torque high speed spindle
which is far from ideal for high torque requirements of steel milling. On two occasions over the weekend I broke two carbide
tools because I overloaded the spindle, it stalled and the axis overdrove the tool and 'ping'.

I wondered if it might be possible to have some sort of feedrate override so that when the spindle is near stalling (sensed either
speed lower than critical or high current) the federate could be automatically reduced in sufficient time to save the tool.

Some of the imediate questions that occur to me are:
1)When a line of code is in the instruction buffer is it too late to alter the federate at which it occurs?
2)If the tool load reduces and the feedrate is reset to the programed federate would that constitute instant acceleration and stall an axis?
3)If some sort of feedrate control in a feedback loop is not possible could a 'federate halt' be signalled and would it be quick enuf to
prevent a 'ping'

I'm trying to avoid an Estop event as it seems that several instructions get lost and have had difficulty in restarting at the right point,
this maybe my own inexpertise but suspect that a software triggered Estop may still be too slow to prevent the 'ping'.

Craig

7506
General Mach Discussion / Re: Missing program
« on: August 03, 2015, 03:13:26 AM »
Hi Keith,
CNC'ing has proven to be a long learning curve, first mechanical design and calcs to achieve your goals, Mach3 or
what have you as controller, motherboard/CPU/GPU and OS to run it sweetly, CAD/CAM to have decent code to run...

I built my machine initially to make PCB's but always intended that it should be able to mill steel. I made a lot of choices
along the way in order to do this, cast iron beds, steel table/column, ground ballscrews, preloaded linear rails, low backlash
planetaires with 5-phase steppers.

Have been making PCB's, aluminium and brass parts for a while now. The weekend past I tried my first steel (1045, 160HBn)
parts. It worked but NOT easy, two broken one blunted carbide tools. What I had thought rigid even overbuilt has proved to be
otherwise and my luvly German made high speed spindle looks very marginal when cutting steel. Suddenly things that I never
really had to bother with in aluminium have become important; surface speed, chipload, tool torque, tool deflection, tool wear
and the list goes on.

As I say CNC is just one long learning curve!!!

Craig

7507
Mach3 under Vista / Re: Difficulties in testing gcode strings off line
« on: August 02, 2015, 04:17:14 AM »
Hi  Stein,
when you say it doesn't work what exactly do you mean? It just sounded a bit like the difference between 'run mode' and
'simulation mode'.
I don't have a motion controller but I use my indoor computer for simulation no trouble.

Craig

7508
Mach3 under Vista / Re: Windows 7 -Mach 3 freeze
« on: August 02, 2015, 04:09:21 AM »
Hi,
the CAM program I use throws in a line or two of code which locks my machine up. Your problem may
be similar. In particular the CAM post puts a G91 with a G28 when it is looking for a safe place for me to
change tools and again just before it exits a part program, ie looking for a safe place to park.
Have a look at the code either at the line or several lines preceeding the point where it locks up.
I haven't worked out yet why it happens or what the post thinks its trying to do. I just scan thru the
code at each tool change and at the end of the program and 'comment out' the offending lines before
running it. One thing I have noticed is that if you simulate the program run as I often do then the
danger points become clear as they lock up in simulate mode as well.
Hope that helps.

Craig

7509
General Mach Discussion / Re: Missing program
« on: August 02, 2015, 03:24:53 AM »
Hi Keith,
Microsoft has released a number of embedded OS's over the years, including various compact versions. We had an automotive diagnostic/ scope
at work which was XPCe. Except for a few artefacts you couldn't tell you were operating a Windows system.
It is certainly true that a stripped down OS has a better chance of deterministic real time performance Windows has to my knowledge never
achieved it. By deterministic I mean that the OS is garanteed to respond to an event, usually an interrupt, within a certain time. Windows as it stands
can't do it.
The Mach3 pulse engine is a timer that requires service every 40us (25 kHz). If your computer is running well it will respond with 2-3us. If however another
thread/process/application has a higher priority interrupt service in progress the Mach3 starves and your machine halts. Try a viewing axis change
on the toolpath screen when running a part program and chances are you will stall the machine. The graphics processing means that the pulse engine
can't get serviced ergo Mach3 stops. When the redraw is complete and the pulse engine gets service its too late, your axis can't accelerate instantly.
The pulse engine is assigned the highest priority a application can have but Windows reserves all the highest priority levels for itself, no way around it.
I consider it a miracle that Art Fenerty was able to achieve what we have and blame none that we can't have what we want.
There are a couple of genuine real time operating systems out there, one which I think is very clever is RTX.
It runs a realtime scheduler in one (or more) cores and runs Windows in another. Whatever happens in the Windows core doesn't affect the realtime
scheduler. The Microsoft Embedded Manager in Melbourne is very enthusiastic about it, and well she might, it was going to cost $16000 to get started!!!
An external motion controller like a smoothstepper sounds very much more attractive by comparison.

Craig

7510
General Mach Discussion / Re: Missing program
« on: August 01, 2015, 06:39:06 AM »
Hi Keith,
I imagine NZ supplier would be happy to supply, they are Jenlogix. I can't find on their site any mention of the Unigens product but
that is what they sold me probably as its cheaper, quite a bit cheaper, than their more usual Avantech products.
Advantech has a supplier in Aus as well, search Advantech Austrailia.

The Windows 7 Embedded Standard (WES7) runtime licence is no trivial matter. Officially if you wish to use an embedded MS
product then you have to sign an agreement with Microsoft. This makes you an OEM supplier. You get a runtime code which you
install on every unit you make and buy a little sticker for each unit they call 'certificate of authenticity'. You buy them either singly
or in blocks as you require.

In truth Jenlogix had no right to supply me with either the runtime code or the sticker, but they did. I did pay for it and it must have
been bought originally from MS, it is a holographic thingy. I have only the one machine running WES7 so I don't feel that I have
abused the technical oversight. One could of course with the one runtime code make as many systems as one desired which is
why MS are so protective of their Embedded products.

It is my belief that it is WES7 that contributes as much to the stability of the platform as the crispy new hardware.

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 »