Rigid Tapping on a PCNC1100 - Page 3

Page 3 of 7 FirstFirst 123456 ... LastLast
Results 41 to 60 of 132

Thread: Rigid Tapping on a PCNC1100

  1. #41
    Member
    Join Date
    Aug 2007
    Location
    usa
    Posts
    701
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Actually if I recall correctly the second port on the MESA card is open and that would be a better option. I think the basic mesa flash may even have quadrature encoder already flashed into it. I know the lathe one does.

    Connecting the pins isn't that hard in the hal file. You can see some examples online and work from there. I know for my old lathe, I did it and it worked out great.



  2. #42
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Does Mesa (or anyone else) make a BOB to connect to the spare port? If so, what is the part number?



  3. #43
    Member
    Join Date
    Nov 2005
    Location
    us
    Posts
    218
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    You can use a C10 breakout.



  4. #44
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    I assume that you mean https://cnc4pc.com/motion-control/br...face-card.html
    What cable do I need between the Mesa and the C10?



  5. #45
    Member
    Join Date
    Aug 2007
    Location
    usa
    Posts
    701
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    So the tormach lathe pin file has quadrature encoder in the mesa firmware on both ports:

    IO Connections for P3

    Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir



    1 0 IOPort StepGen 2 Step (Out)

    14 1 IOPort None

    2 2 IOPort StepGen 0 Dir (Out)

    15 3 IOPort None

    3 4 IOPort StepGen 0 Step (Out)

    16 5 IOPort QCount 1 Quad-A (In)

    4 6 IOPort StepGen 1 Dir (Out)

    17 7 IOPort PWMGen 0 PWM (Out)

    5 8 IOPort StepGen 1 Step (Out)

    6 9 IOPort None

    7 10 IOPort None

    8 11 IOPort None

    9 12 IOPort None

    10 13 IOPort QCount 0 Quad-IDX (In)

    11 14 IOPort QCount 0 Quad-A (In)

    12 15 IOPort QCount 0 Quad-B (In)

    13 16 IOPort None



    IO Connections for P2

    Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir



    1 17 IOPort StepGen 5 Step (Out)

    14 18 IOPort None

    2 19 IOPort StepGen 3 Dir (Out)

    15 20 IOPort None

    3 21 IOPort StepGen 3 Step (Out)

    16 22 IOPort QCount 3 Quad-A (In)

    4 23 IOPort StepGen 4 Dir (Out)

    17 24 IOPort PWMGen 1 PWM (Out)

    5 25 IOPort StepGen 4 Step (Out)

    6 26 IOPort None

    7 27 IOPort None

    8 28 IOPort None

    9 29 IOPort None

    10 30 IOPort QCount 2 Quad-IDX (In)

    11 31 IOPort QCount 2 Quad-A (In)

    12 32 IOPort QCount 2 Quad-B (In)

    13 33 IOPort None


    But not sure about the Mill firmware (I only see index pulse) as the pin file doesn't list whats on the P2 connector of the mesa.
    ################################################## ######################
    # 5i25
    # Configuration pin-out:
    #
    # IO Connections for P3
    # Mill Function Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
    #
    # Spindle Speed 1 0 IOPort StepGen 4 Step/Table1 (Out)
    # Coolant 14 1 IOPort None (Out)
    # X Direction 2 2 IOPort StepGen 0 Dir/Table2 (Out)
    # Estop Reset 15 3 IOPort None (In)
    # X Step 3 4 IOPort StepGen 0 Step/Table1 (Out)
    # Spindle Dir 16 5 IOPort None (Out)
    # Y Direction 4 6 IOPort StepGen 1 Dir/Table2 (Out)
    # Charge Pump 17 7 IOPort PWM 0 PWM (Out)
    # Y Step 5 8 IOPort StepGen 1 Step/Table1 (Out)
    # Z Direction 6 9 IOPort StepGen 2 Dir/Table2 (Out)
    # Z Step 7 10 IOPort StepGen 2 Step/Table1 (Out)
    # A Direction 8 11 IOPort StepGen 3 Dir/Table2 (Out)
    # A Step 9 12 IOPort StepGen 3 Step/Table1 (Out)
    # X Limit 10 13 IOPort None (In)
    # Y Limit 11 14 IOPort None (In)
    # Z Limit 12 15 IOPort None (In)
    # Probe In 13 16 IOPort None (In)
    # 1 PPR encoder 13 16 IOPort QCount 0 Quad-IDX (in)
    #



  6. #46
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    You can read the pinout from any loaded configuration with:

    sudo mesaflash --device 5i25 --readhmid

    (from a terminal window)



  7. #47
    Member
    Join Date
    Nov 2005
    Location
    us
    Posts
    218
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by jcposada View Post
    You can use a C10 breakout.
    Sorry I should have been more clear. You can use a C10 board (yes that is the one) to break out the built-in parallel port which Pathpilot can also use.



  8. #48
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Sorry to belabor the point but I'm confused. I assumed that one would use the second port on the 5i25 in order to use the quadrature capability on the Mesa card. Mesa has a 7i76 which provides isolation but I'm unclear what cable is required to connect it to the internal port on the Mesa card.



  9. #49
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by samco View Post
    You need 3 pins for rigid tapping... A,B and index.
    Well durn it, that means the encoder wheel I designed wont work.
    No biggie, I've got a couple of BEI industrial encoders that should do the trick.. couple of MX pulleys and I should be back on track.
    Might still make the wheel though, could using something to play with color anodize....

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


  10. #50
    Member
    Join Date
    Nov 2005
    Location
    us
    Posts
    218
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by kstrauss View Post
    Sorry to belabor the point but I'm confused. I assumed that one would use the second port on the 5i25 in order to use the quadrature capability on the Mesa card. Mesa has a 7i76 which provides isolation but I'm unclear what cable is required to connect it to the internal port on the Mesa card.
    See post #23. That cable will give you access to the second parallel port on the Mesa card. Then connect that to a C10 bob with a standard parallel cable.



  11. #51
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by kstrauss View Post
    Sorry to belabor the point but I'm confused. I assumed that one would use the second port on the 5i25 in order to use the quadrature capability on the Mesa card. Mesa has a 7i76 which provides isolation but I'm unclear what cable is required to connect it to the internal port on the Mesa card.
    You typically use 2 cables for this, the first is a short flat cable from the internal 5I25 connector
    to a PC bracket mounted DB25F (to get the signals out of the PC) and then a standard DB25
    male-male IEEE-1284 printer cable to go to the 7I76

    DB25F-IDC26 CABLE
    http://store.mesanet.com/index.php?r...=239&search=db

    for example (these are generally available from Monoprice etc)



  12. #52
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by kstrauss View Post
    Sorry to belabor the point but I'm confused. I assumed that one would use the second port on the 5i25 in order to use the quadrature capability on the Mesa card. Mesa has a 7i76 which provides isolation but I'm unclear what cable is required to connect it to the internal port on the Mesa card.
    Looks to me cable like this one should do the trick:
    ※※※NEW ※※※ DB25 LPT1 Parallel 25-Pin Printer Port Full Height Bracket 12" Cable | eBay

    You'd still need another 7i76 and cable though. Does anyone see and operational advantage to this over an old-fashioned printer port and BOB?

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


  13. #53
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    You can use a standard parallel port BOB with the second 5I25 port (a 7I76 is extreme overkill for just adding an encoder)

    Advantages of using second 5i25 port:

    1. Real encoder counter, so no base thread needed (widens host PC choices since you do not need very good real time latency for just a 1 KHz servo thread )
    also supports high resolution encoders

    2. Only one card needed if theres no MB parallel port (say on mini-ITX MBs which have only one available PCI/PCIE slot)

    Advantages of using parallel port:

    1. Somewhat simpler setup ( no firmware changes)

    2. if a plug-in PP is used a damaged port is a $10 replacement as opposed to a $90 replacement for a 5I25



  14. #54
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    I assume that it depends on the shaft encoder. With a 1000 line encoder I think that means 2000 transitions/rev/channel. At 2000 rpm this is 67000 transitions/sec times two (A,B channels) or 133K/sec or a transition every 7.5 microseconds. That seems excessive for the PC to have to process each of them via the parallel port. (Please check my arithmetic!) On the other hand perhaps a 1000 line encoder is huge overkill just for tapping. What sort of encoder do commercial machines such as a Haas use?



  15. #55
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    People have done have done tapping successfully with LinuxCNC using fairly crude encoders (say ~ 50 lines or 200 counts)
    Finer threads will be less picky about the spindle feedback because the Z axis errors during reversal are correspondingly smaller



  16. #56
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by PCW_MESA View Post
    You can use a standard parallel port BOB with the second 5I25 port (a 7I76 is extreme overkill for just adding an encoder)

    Advantages of using second 5i25 port:

    1. Real encoder counter, so no base thread needed (widens host PC choices since you do not need very good real time latency for just a 1 KHz servo thread )
    also supports high resolution encoders

    2. Only one card needed if theres no MB parallel port (say on mini-ITX MBs which have only one available PCI/PCIE slot)

    Advantages of using parallel port:

    1. Somewhat simpler setup ( no firmware changes)

    2. if a plug-in PP is used a damaged port is a $10 replacement as opposed to a $90 replacement for a 5I25
    Excellent intel PCW.. thanks.. as to the firmware, Did I see somewhere there was a version already for running 2 ports?

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


  17. #57
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by kstrauss View Post
    I assume that it depends on the shaft encoder. With a 1000 line encoder I think that means 2000 transitions/rev/channel. At 2000 rpm this is 67000 transitions/sec times two (A,B channels) or 133K/sec or a transition every 7.5 microseconds. That seems excessive for the PC to have to process each of them via the parallel port. (Please check my arithmetic!) On the other hand perhaps a 1000 line encoder is huge overkill just for tapping. What sort of encoder do commercial machines such as a Haas use?
    As it happens, the encoder I was going to use is a 1000 - using it just because I already had it and it's meant for harsher environments:
    BEI L25G-F3-1000 http://www.beisensors.com/pdfs/l25-o...al-encoder.pdf

    I doubt I would ever run it over 500 rpm to tap, putting same-size pulleys on it and it's rated to run at 10K max so it should be happy when doing other machining..
    I don't have any idea what HAAS uses.. every time I get close to one of the machines at work the CNC guys start to hyperventilate Don't they know Mechanical Engineers can fix problems they didn't even know they had, using methods no one understands??

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


  18. #58
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    I have a 770 rather than a 1100 so coupling an encoder to the spindle without significant RPM reduction limits the choices for encoders. Using something like SoCalPlaneDoc's design would be easy to mount to the pulley.

    If the only use is for rigid tapping do we need an index pulse?



  19. #59
    Member
    Join Date
    Aug 2007
    Location
    usa
    Posts
    701
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Yes you need index pulse. On my lathe I used this rotary encoder from amazon: Rotary Encoder - 1024 P/R (Quadrature) https://www.amazon.com/dp/B007R9UYZ8..._LYkXybXXNPYYA

    It has a b and index signals



  20. #60
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    The specs for that encoder say max RPM of 6000 so I would have to use a 2:1 reduction (10K spindle on 770). That means that the index pulse would be on alternate revolutions of the spindle. Would that work?



Page 3 of 7 FirstFirst 123456 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Rigid Tapping on a PCNC1100

Rigid Tapping on a PCNC1100