Hello Guest it is April 24, 2024, 09:07:03 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 - 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 »
331
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 25, 2017, 02:41:41 PM »
You will find a pic of a index plate mounted on a shaft along with a slotted type optical switch in the
Using Mach3 Turn Manual on page 4.8. Download the manual as sooner or later you will be reading it.
note that there should only be one (1) slot in the disc. The slot width can be larger than what  4.8
describes.

-------------------------------------------------
Pic of a Hall sensor installed in this link:

CNC CONVERSION - 6" ATLAS LATHE
http://www.machsupport.com/forum/index.php/topic,12484.msg82818.html#msg82818
HCIR#28_1.jpg

Shows  a Hall sensor instead of a slotted disc. Components amount to a rare earth magnet which is was super glued to a gear inside the spindle housing.
The sensor ( SMC D-F7NC ) was mounted onto a steel strip and attached to the casing. The sensor actually has two sensors in it and only one was used. The sensor also has an indicating light to show when it is triggering making for easy alignment and visual confirmation other than using the diagnostics. The sensor components and mounting are shown in HCIR#28_1.jpg .

RICH

332
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 25, 2017, 08:21:23 AM »
Lesson 8 attached.

To be continued,

RICH

333
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 24, 2017, 08:21:19 AM »
You will find spindel index info in Using Mach3 Turn Manual ( 4.8 page 4-12).
Should also be something in the Mill Manual.

A  CD painted black with ONLY  one ( 1) slot in the disc along with an Optek OPB917B  ( slotted optical switch ), which
needs  a 5v source and 220 Ohm resisotor, will provide everything you need to get a signal to make Mach
so it can read the true RPM.

CNC4pc sells a index pulse board.

The are other optical switches one can use.

I use a Hall Effect  sensor  which generates a pulse each time a magnet ( very small, only one (1) required ) is sensed
by the switch. Easy to mount, especialy in tight places, but is more expensive than the optical switch.

Link to how it works:
https://en.wikipedia.org/wiki/Hall_effect_sensor

You will need to configure the Index in Port & pins.

RICH

334
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 23, 2017, 11:34:56 PM »
Do you use or have Microsoft Excel?

RICH

335
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 23, 2017, 11:32:01 PM »
Bob,
Will provide some info on the index.

Later,
RICH

 

336
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 21, 2017, 05:41:26 PM »
By code I assume you are meaning your license file that was sent to you.

Save your xml file ( contains configuration you used ). I also would recommend that you save and keep you license file some place safe. Install ver 062 and if asked also install LazyCam. Copy the xml file and license file to the Mach3 directory. No harm in running the drive test after the installation, as that will that will install the driver. ( been a while and just don't remember exactly)

When you open Mach3 you can check under about that it is registered to you. You can also scan the settings and motor tuning that they are correct.

RICH

337
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 20, 2017, 08:54:36 AM »
Bob,
#7
                                                                                                                               -
So you did some basic G0 ( rapid moves) for the A defined as angular to see the how coding affected rotational movement. The following requires review  before doing  rotary moves at a some feedrate.

Co-ordinated Linear Motion  
------------------------------------------
 - each axis moves at constant speed and all axes move from their starting positions       to their end positions at the same time, also defined as control the axes so that, at         all times, each axis has completed the same fraction of its required motion as the        other axes.
 - IE; any two axes ( x,y or z ) produces motion in a straight line
 - the motion can be done at prevailing or rapid feedrate and may default to the slower     axis feedrate

Controlled Point
----------------------------
Definition is 7-2 and 10-1 in the mill manual.

The controlled point is the actual cutting point of the tool.  So often we envison the axis motion resulting from a given line of gcode and  forget that motion is all about moving a specific "point". The software controller controls just that point relative to the  defined motion.The material removed on the work can be very different than just an imaginery small point machining a piece.

ROTATIONAL RADIUS / CORRECTION DIAMETER
-------------------------------------------------------------------------
The following is from the mill manual and one should be aware of the Mach settings.
Click the Settings ( Alt6) tab to see them located in the upper right corner of the screen.

6.2.2.5 Diameter/Radius correction (page  6-3)
---------------------------------------------------------------------
Rotary axes can have the approximate size of the workpiece defined using the Rotational Diameter control family. This size is used when making blended feedrate calculations for co-ordinated motion including rotational axes. The LED indicates that a non-zero value is defined.

6.2.12 Rotational Diameter control  (page 6-11)
--------------------------------------------------------------------
As described in the Feedrate control family, it is possible to define the approximate size of a rotated workpiece so the rotational axis speed can be correctly included in the blended feedrate. The relevant diameters are entered in the DROs of this family.

The Axis control Family has warning LED(s) to indicated the setting of non-zero values next to the axis DRO in the screen.

Values are not required if rotary movement is not to be coordinated with linear axes. In this case a suitable F word for degrees per minute or degrees per rev should be programmed.

MY COMMENTS
- Available in the mill screen only.
- Above settings apply to Feedrate description #3.

Feed Rate Modes
---------------------------
There are 3 feedrate modes and they are  described  in Section 10.7.27 on page 10-28 of the mill manual. Below are sanitized descriptions.

G93    - inverse time feed rate     - F = 1/Fnumber in  minutes ( if the F number is 2.0,                                                              the move should be completed in half a  Minute)
                                                        - very infrequently used
                                                        - if active, an F word must appear on every line which                                                           has a G1,G2, or G3 motion
                                                       -  an F word on a line that does not have G1, G2, or                                                                G3 is ignored.
                                                       -  does not affect G0 (rapid traverse) motions.
                                                       - It is an error if: inverse time feed rate mode is active                                                          and a line  with G1, G2, or G3 (explicitly or implicitly)
                                                         does not have an F word                          

G94   - units per minute feed rate   -  F= inches / minute, mm / minute, or degrees /                                                                      minute,  determined by length  units are being
                                                               used and which axis  or axes are moving

G95    - units per rev feed rate         -  F= number of inches / mm per degrees per                                                                         spindle revolution, determined by what length
                                                                units are being used and which axis or axes are
                                                                moving.
MY COMMENTS                                                                    
- Note that for the lathe, mode  is usualy G94 and changes to G95 for  threading.  
  
FEEDRATES 1. & 2.
---------------------------------
There are 4 descriptions about how Mach interprets  feedrate described in Section 10.1.6 of the mill manual when in the >>>>>> G94 <<<<<<<<  feedrate mode. Below are sanitized descriptions.

    
1. A or B or C (only one axis)                  - no X,Y,Z movement          F=degrees/min

MY COMMENTS
- Rotation of one axis at max velocity (as defined in motor tuning for the axis) you            simply code: G0  A 360.
  There is no feed rate "F" since by definition of G0 it is a "rapid" move. Additionaly
  the degree value would be positive or negative to define the rotational direction. The
   A value is the number of degrees to rotate.
  
 - To rotate the axis at different feedrates one would need to add the feedrate  and            also use G1.

    G1 A360 F3600
    The F value in degrees per min relates directly to the velocity setting in motor
    tuning. If velocity setting is 3600 and it represents a table rpm of 10 rpm, then  a
    feedrate of 1800 would move the table at 5 rpm.  

  - One should test at different feedrates, record the actual rpm, and make a graph for
    later use.

  - Re read  the  Feed Rate Modes for defintion of G94 and read 10.7.1 and 10.7.2
    in the  manual.

  - Compare the descriptions  of 1. and  2. ( below )

  - An axis becomes irrelavant to this command if it's used as slaved axis for a gantry /
   router type  machine.
  
  - The attached file  pertains to my rotary index. You may want to do similar for your
     lathe.  


2. X, Y, Z  + A, B, C     -  WITHOUT simultaneous rotation -    F =length / minute  ( along
                                                                                                      the linear  path)  

G1 X1 Y1 F100

MY COMMENTS
- actual length of the above linear move depends on current location and what mode
  is active. ie; G90 or G91, the modes and feedrate remain in affect until changed by
  gcode

- Machine Coordinates always show absolute location from zero reference

- feedrate may default to max velocity of the slower axis if coded F number is higher
  for the other axes

NOTE: The next lesson #8 and maybe #9 will address the other two feedrate modes.

             Lesson 7 coding exercise is an attachment to this reply.

To be continued,
RICH

338
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 19, 2017, 11:20:50 PM »
Great on having the book.

Just note that most of the Gcode "dialect" is Fanuc based, which Mach4 is based on.
Some commands are not supported by Mach3, but, the simple ones are the same.

For the depth that the book and many others cover, few get into 4th axis or rotary work.
You also will not find anything on the G93 mode.

RICH


339
Quote
ideal world we would not have any radiated RF interference

That's why you have  "Part 15 of the FCC Rules" plastered all over electrical items stuff.
does not apply to some countries though.  >:D  ;D

RICH
 

340
General Mach Discussion / Re: A-axis rotary lathe question for Mach 3
« on: November 19, 2017, 10:13:10 PM »
Bob,

#6

More general preparation before the fun realy starts!

It is important to understand the difference between 2D and 3D work.
The following link to Shopbot site  provides insight on  the topic.
http://www.shopbottools.com/mProducts/3-d_work_v2.htm

--------------------------------------------------------------------------------------------------------
All the lessons posted are rather focused on general awareness about the 4th axis.
So felt I should make an important comment about my lesson postings in this thread.

I am very focused on the basics relative to Mach3 and simple gcode commands which
directly relate to using a 4th axis. CAD / Cam, other gcodes, setup, etc will be ignored
as much as possible.  Just not possible to cover all in a thread, or said differently, not going to
write a book. So just understand the thread  is not in any way "all inclusive".

That said,

-----------------------------------------------------------------------------------------------------------

Mod's were done to your profile to avoid having to deal with setup issues.
A... PITA.... with the generic mill screen in that it's hard / not possible to reset Machine,
Work, and Work offset  values to zero. ( not the case with the lathe screen  though)

So attached the attached Macro will do it.
The macro  will zero out both machine and work coordinates for the X,Y,Z,A  axes and get rid
any G54 Work offsets for the same axes.

Just download the macro, rename it to M1000, and then copy it to the Mach3 directory.
To use you just type M1000 into the MDI line.

To be continued,

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 »