Hello Guest it is April 24, 2024, 08:38:38 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 - RICH

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 »
4171
Quote
I am new to this macro editing using vb script
The macro's don't need editing. Operations tab>v script editor> then open the file to have a look at the file contents.

Quote
alternative codes to use

The bulk of Gcodes available for Mach Turn are listed in the manual, but the manual was written a long time ago, so there are
 some canned cycles / macros done by users and the ones i posted are a good example. You may find some lathe canned Gcodes
 for  other controllers but they were specific for say a Fanuc controller and are not supported by Mach.

The Mach Turn Wizards provide for manny of the common single tasks to be done on the lathe. Lazyturn and LazyCam can give you code for turning a profile.

Quote
how to write repetitive program

Hm......not sure what you mean by repetitive
Do you just want to use the program generated g code for a single task, have the code available to be reused  another time, be able to use the code
at different locations along the profile, want the code to to do some machine moves prior and after the program to your liking......
or maybe use inputs on the screen and Mach will run the code........etc

I just listed the above to give you a flavor of "repetitive" use to enlighten the learning experience . Each one will require a different level of
knowledge and programming techniques.

SO here is what i am suggesting:
1.Get a good reference book on programming......Peter Smid - CNC Programming Handbook
2.Try each of the lathe wizards and look at the generated code. ( there is one to turn down a diameter) Much can be gained from reviewing
   the code.

 RICH







4172
Guess i can't qoute you any more Fastest1.......  ;)   ;D   >:D

Rich

4173
General Mach Discussion / Re: Huge Threading Problem Help
« on: October 23, 2010, 07:57:34 PM »
Sounds like your on a roll......
Have fun,

BTW, i will probably move this thread over to the problems threading on the lathe thread.
Will keep it here until your happy all is going well.

RICH

4174
General Mach Discussion / Re: Huge Threading Problem Help
« on: October 23, 2010, 06:54:53 PM »
SPINDLE SPEED AVERAGING
Mach3 can keep a running average of the last  8 revolutions. At the start of any pass it either uses the
 average OR the last measured time.  Every thread starts with an unloaded spindle, the 8 rev average is
 typically unloaded average. ( unless your turning very slowly on the spindle and very unlikely it's less
than 8 turns in the air prior to a thread pass)
 
 So the correction code  is all that controls speed during the cut to take  into account the spindle slowdown
 caused by hitting a hard spot or an average  slowdown due to harder material.

The averaging is discounted for correction, it cares only about the real  last index to index time,
 and it compares that to the locked in average or  locked in last rev just prior to the  thread pass starting.

Rule of thumb is  3 to 5 diameters times total thread depth for unloaded spindle travel of the Z axis.  

I use and would recommend you use spindle speed averaging.  It helps if there is a "out of rage / fluke / high" rpm
included in the averaging.  You then get a more refined feedrate. One  "fluke"  may not  influence as much as you
would think.

Some of my words but mostly Art's, ;)

RICH

4175
General Mach Discussion / Re: Huge Threading Problem Help
« on: October 23, 2010, 06:21:34 PM »
Cartierisum,
Thanks for the info in reply #6. I'll comment a little more later. One to two years have passed since threading was addressed and i wanted to review some of my notes rather than relying on memory. I only have 500 pages of notes....... ;)

Quote
Using Version 3.042.020
Upgrade to at least version 3.042.32 ( there are numerous problems that were fixed from .020 on and you are experiencing some of them )

Quote
Using CV
Use exact stop as CV will affect how the pullout from the thread is accomplished.
See the note at the top of page 34 in Threading on The Lathe write-up.

Quote
Can't really tell about how much RPM loss but looks like about 30 RPM
If you watched the rpm DRO you would have a better feel for the drop, 30/1000=.03 or 3%,
So threading compensation shouldn't be a problem. 10 to 25% could be
Even 3% will affect the thread pitch though.

Quote
Using VFD
Quote
I don't use a VFD and if memory is correct you should manualy set it to a fixed rpm. If the VFD is changing the RPM, Mach is planning the next pass,
they  could be fighting each other, thus  screwing up the compensation ( based on rpn reading) which will affect feedrate, which affect the thread.

Quote
Single Index
Quote
Good ........timing not longer works and should not be enabled.
 
more when i return in a little bit,

RICH


 

4176
General Mach Discussion / Re: Huge Threading Problem Help
« on: October 23, 2010, 11:31:30 AM »
Cartierusm,
Simple question ......maybe be a long winded reply......the answer is not simple and threading is complex.  
First just a few question's for my understanding:
-What version of 3.024.??? is it .032 or .033?
-Using exact stop and not CV?
-How much of a change in your rpm?
-Using a VFD?
-Using a single index?
-Spindle speed averaging checked / being used?
- Describe what you mean by taper.  
  Is the taper cutting over the complete threading cycle or are we talking about when the spindle slowed down?
  How much of a taper?
  What end is smaller the beginning of the thread or the end?

It is difficult to watch what is really happening when threading at say 60 ipm. I will comment that one needs to
isolate each controller reaction to a slowed down rpm in the threading cycle. There is the overall threading "picture"
and the individual parts that make up the picture. So as i continue in my reply keep that in mind as there is a lot going on.

When the rpm's drop below what mach thinks is acceptable WHY does it start to cut a taper?

Apparently a taper ( carefull as to what you mean by taper)  will be cut if say the rpm's drop, lets say 30%, and then rpm goes
back up during that cycle. As a result of the slow down, the machine must cut a varing thread pitch, not a taper over that time period.  
The "relative" thread root for that cycle would ideally remain the same since the X  axis location by code is the same / never changed
 code wise or manipulated by Mach. Because  the chip curl changed, that would create a tapered cut  and you can add cutter /  machine
 deflection to that cut taper.  Just one part of the picture.........

Mach monitors the rpm and changes the NEXT thread cycle based on how much the rpm changed. All the sampled rpm's over the cycle time
 period will provide an adjusted rpm on which to base the next feedrate. That feedrate or other feedrates over all the
thread  cycles should  provide an a properly cut thread cut. The big picture.......

Hope this simplified reply is an appropriate  answer to your question,

RICH

4177
General Mach Discussion / Re: Huge Threading Problem Help
« on: October 22, 2010, 09:57:00 PM »
What version of Mach are you using?
I will remark that if is not 3.042.032 and above then you need to upgrade.

I would suggest you have a look at the Threading on The Lathe write-up as it will give you insight into how the threading accounts for slowing of the spindle RPM........ the range it may adjust for, what you can and cannot expect from the threading cycle. Also a whole lot of other threading related stuff.

Your threading will only be as good as your Lathe "System". I may also suggest that you just do a rough HP requirement based on the insert and
 the cut depths, the inserts, rpm, etc. I suggest you also explore using the different methods of threading. Also do some of the tests.
I don't know what type axis motors your using, in my case they are steppers, so i always have the wizard check / calculate  the number of passes which
will also display the IPM feedarate. I adjust the spindle rpm  accordingly so i am at the max power level for the steppers ( ie; below the max  axis velocity as it relates
to their torque ).
 

SS will work harder and what was easy at the first or second pass may require 2 or 3x the power to do the work hardened cut. You may be dropping below what Mach can do in recovering from a problem thread cycle ........( I have actually made the spindle briefly come to a stop and was able to recover).

BTW, on my 6" x 24" Atlas / 1/2 hp motor / 53 RPM / single 60 deg insert / modified 15 deg flank ( i think) i was able to cut a 3 1/2" x 8 x 2" long thread in steel. ( I will remark that towards the end of the threading  i thought i was going to break the carriage or tool post and made 2 or 3 spring passes)

I will say this, the threading cycle is solid if the machines system is appropriate for the task.

RICH

4178
While I'm at it..... :D
There is another macro in the lathe Macro's folder, namely, M1083 for lathe drilling. I don't use it and prefer the lathe
peck drilling macro in the following link.

http://www.machsupport.com/forum/index.php/topic,15205.msg101682.html#msg101682

RICH

4179
Here is a link on  the use of a G77 / G78  in Mach.
 
http://www.machsupport.com/forum/index.php/topic,4297.msg30870.html#msg30870

Note also in the above link there is another Macro M1077 posted by Andy.
Read Andy's comment on putting the settings in Config> Ports & Pins>Turn Options of Mach3 Turn.

I remember trying out the M1077 and the M1078 a long time ago. They can be found Macro folder for the lathe.
Open them up with the V Script Editor to confirm which one is which ( M1077 is G77 and M1078 is G78 if i recall).


NOTE that some of the settings in Turn Options are relative to threading, thus be carefull, and see The Threading on The Lathe Manual
page 44 for an explaination. ;)

RICH

4180
Macros / MOVED: LATHE & MILL DRILLING MACROS m830 and m831
« on: October 21, 2010, 10:29:23 PM »
This topic has been moved to the Mach Tool Box.

http://www.machsupport.com/forum/index.php?topic=15205.0

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 »