Rigid Tapping on a PCNC1100 - Page 6

Page 6 of 7 FirstFirst ... 34567 LastLast
Results 101 to 120 of 132

Thread: Rigid Tapping on a PCNC1100

  1. #101
    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 andypugh View Post
    I can't find an actual manual for mesaflash, but the --help output can be seen in the source code:
    https://github.com/micges/mesaflash/...saflash.c#L100

    It is --readhmid
    thanks Andy, don't know why I was putting that extra d in there.. ./mesaflash --readhmid doesn't fail but nothing is listed; nothing at all.

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


  2. #102
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by SoCalPlaneDoc View Post
    thanks Andy, don't know why I was putting that extra d in there.. ./mesaflash --readhmid doesn't fail but nothing is listed; nothing at all.
    The complete command would be:

    sudo mesaflash --device 5i25 --readhmid



  3. #103
    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
    The complete command would be:

    sudo mesaflash --device 5i25 --readhmid
    success!
    Here's what was returned: What's it telling me?


    General configuration information:

    BoardName : MESA5I25
    FPGA Size: 9 KGates
    FPGA Pins: 144
    Number of IO Ports: 2
    Width of one I/O port: 17
    Clock Low frequency: 33.3333 MHz
    Clock High frequency: 200.0000 MHz
    IDROM Type: 3

    Modules in configuration:

    Module: WatchDog
    There are 1 of WatchDog in configuration
    Version: 0
    Registers: 3
    BaseAddress: 0C00
    ClockFrequency: 33.333 MHz

    Module: IOPort
    There are 2 of IOPort in configuration
    Version: 0
    Registers: 5
    BaseAddress: 1000
    ClockFrequency: 33.333 MHz

    Module: QCount
    There are 2 of QCount in configuration
    Version: 2
    Registers: 5
    BaseAddress: 3000
    ClockFrequency: 33.333 MHz

    Module: PWM
    There are 2 of PWM in configuration
    Version: 0
    Registers: 5
    BaseAddress: 4000
    ClockFrequency: 200.000 MHz

    Module: StepGen
    There are 10 of StepGen in configuration
    Version: 2
    Registers: 10
    BaseAddress: 2000
    ClockFrequency: 33.333 MHz

    Module: LED
    There are 1 of LED in configuration
    Version: 0
    Registers: 1
    BaseAddress: 0200
    ClockFrequency: 33.333 MHz

    Configuration pin-out:

    IO Connections for P3
    Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

    1 0 IOPort StepGen 4 Table3 (Out)
    14 1 IOPort Null 0 Null3 (null) (In)
    2 2 IOPort StepGen 0 Table3 (Out)
    15 3 IOPort Null 0 Null3 (null) (In)
    3 4 IOPort StepGen 0 Table3 (Out)
    16 5 IOPort Null 0 Null3 (null) (In)
    4 6 IOPort StepGen 1 Table3 (Out)
    17 7 IOPort PWM 0 /Enable (Out)
    5 8 IOPort StepGen 1 Table3 (Out)
    6 9 IOPort StepGen 2 Table3 (Out)
    7 10 IOPort StepGen 2 Table3 (Out)
    8 11 IOPort StepGen 3 Table3 (Out)
    9 12 IOPort StepGen 3 Table3 (Out)
    10 13 IOPort Null 0 Null3 (null) (In)
    11 14 IOPort Null 0 Null3 (null) (In)
    12 15 IOPort Null 0 Null3 (null) (In)
    13 16 IOPort QCount 0 Quad-IDX (In)

    IO Connections for P2
    Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

    1 17 IOPort StepGen 9 Table3 (Out)
    14 18 IOPort Null 0 Null3 (null) (In)
    2 19 IOPort StepGen 5 Table3 (Out)
    15 20 IOPort Null 0 Null3 (null) (In)
    3 21 IOPort StepGen 5 Table3 (Out)
    16 22 IOPort Null 0 Null3 (null) (In)
    4 23 IOPort StepGen 6 Table3 (Out)
    17 24 IOPort PWM 1 /Enable (Out)
    5 25 IOPort StepGen 6 Table3 (Out)
    6 26 IOPort StepGen 7 Table3 (Out)
    7 27 IOPort StepGen 7 Table3 (Out)
    8 28 IOPort StepGen 8 Table3 (Out)
    9 29 IOPort StepGen 8 Table3 (Out)
    10 30 IOPort QCount 1 Quad-IDX (In)
    11 31 IOPort QCount 1 Quad-IDX (In)
    12 32 IOPort QCount 1 Quad-IDX (In)
    13 33 IOPort Null 0 Null3 (null) (In)

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


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

    Default Re: Rigid Tapping on a PCNC1100

    Finished machining new encoder wheel... still waiting for sensors to arrive..

    Rigid Tapping on a PCNC1100-img_2181-jpg..
    Rigid Tapping on a PCNC1100-img_2182-jpg

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


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

    Default Re: Rigid Tapping on a PCNC1100

    Perfect so now it's just software which we can help with!



  6. #106
    Member
    Join Date
    Sep 2008
    Location
    UK
    Posts
    229
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by SoCalPlaneDoc View Post
    success!
    Here's what was returned: What's it telling me?
    ...
    Module: QCount
    There are 2 of QCount in configuration
    You have two quadrature counters.

    IO Connections for P3
    This is the external DB25

    Code:
        Pin#    I/O     Pri. func    Sec. func    Chan      Pin func        Pin Dir
    
         1        0     IOPort       StepGen       4        Table3          (Out)    
        14        1     IOPort       Null          0        Null3       (null)          (In)    
         2        2     IOPort       StepGen       0        Table3          (Out)    
        15        3     IOPort       Null          0        Null3       (null)          (In)    
         3        4     IOPort       StepGen       0        Table3          (Out)    
        16        5     IOPort       Null          0        Null3       (null)          (In)    
         4        6     IOPort       StepGen       1        Table3          (Out)    
        17        7     IOPort       PWM           0        /Enable         (Out)    
         5        8     IOPort       StepGen       1        Table3          (Out)    
         6        9     IOPort       StepGen       2        Table3          (Out)    
         7       10     IOPort       StepGen       2        Table3          (Out)    
         8       11     IOPort       StepGen       3        Table3          (Out)    
         9       12     IOPort       StepGen       3        Table3          (Out)    
        10       13     IOPort       Null          0        Null3       (null)          (In)    
        11       14     IOPort       Null          0        Null3       (null)          (In)    
        12       15     IOPort       Null          0        Null3       (null)          (In)    
        13       16     IOPort       QCount        0        Quad-IDX        (In)
    And the external DB25 has only the index channel of encoder counter 0 internally connected to a pin (which is wierd). It is GPIO number 16 and is on physical pin 13.

    IO Connections for P2
    And this is the internal header

    Code:
        Pin#    I/O     Pri. func    Sec. func    Chan      Pin func        Pin Dir
    ...
        10       30     IOPort       QCount        1        Quad-IDX        (In)    
        11       31     IOPort       QCount        1        Quad-IDX        (In)    
        12       32     IOPort       QCount        1        Quad-IDX        (In)    
        13       33     IOPort       Null          0        Null3       (null)          (In)
    And this is saying that you have three pins for the index of encoder counter 1. (You would expect something like:

    Code:
    11     48   IOPort       QCount           2        Quad-IDX        (In)
    12     49   IOPort       QCount           2        Quad-B          (In)
    13     50   IOPort       QCount           2        Quad-A          (In)
    So something doesn't really make sense. I am suspecting a slight bug in Mesaflash. Perhaps it identifies all pins as IDX. Though it works OK on the 7i80 I have here as the output above shows.



  7. #107
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by andypugh View Post

    So something doesn't really make sense. I am suspecting a slight bug in Mesaflash. Perhaps it identifies all pins as IDX. Though it works OK on the 7i80 I have here as the output above shows.

    Pretty sure that (weird index only counter) is due Tormachs funny bitfile for hardware interpolated position
    support for the (1 wire) RapidTurn interface

    To do standard quadrature would require a new bitfile (which is pretty trivial)
    or perhaps adding a base thread and using a software encoder module if the encoder resolution is low enough



  8. #108
    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 brianbonedoc View Post
    Perfect so now it's just software which we can help with!
    Rigid Tapping on a PCNC1100-capture-png

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


  9. #109
    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
    To do standard quadrature would require a new bitfile (which is pretty trivial)
    trivial for you,, difficult for me

    Quote Originally Posted by PCW_MESA View Post
    or perhaps adding a base thread and using a software encoder module if the encoder resolution is low enough
    )
    new encoder has 40 teeth. so 40 As & 40 Bs or 80 between the two, or 160 state changes.. whichever value is important - is that low enough? I could make it lower if need be. Mechanical Design I know.. bitfiles are voodoo .


    durn post office sent my digikey order to the wrong city... even though I used their own zip code system!!

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


  10. #110
    Member
    Join Date
    Apr 2011
    Location
    USA
    Posts
    720
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    You should try living in a town named California, in a different state! Lol Government offices and the post office in particular can't seem to get their heads around it.

    Terry



  11. #111
    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 MFchief View Post
    You should try living in a town named California, in a different state! Lol Government offices and the post office in particular can't seem to get their heads around it.

    Terry
    Lordy, I cant even imagine that. what state?
    I'm in San Diego, Ca.. there's a town in Texas also called San Diego that I visited maybe 20 years ago. Little dump of a place, almost exclusively Mexican population. Most of their street names also existed in my city. They had some interesting tales of confusion

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


  12. #112
    Member
    Join Date
    Aug 2007
    Location
    usa
    Posts
    701
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    SocalPlanedoc- I think if you ask PCW to alter the bitfile so that there is and index, a, and b pulses instead of 3 index pulses you'll be all set to start modding the Hal file.



  13. #113
    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 brianbonedoc View Post
    SocalPlanedoc- I think if you ask PCW to alter the bitfile so that there is and index, a, and b pulses instead of 3 index pulses you'll be all set to start modding the Hal file.
    PCW, is that possible? might there be an existing file that would do the job?

    I was thinking I'd follow Turbo's method of using a parrallel port so that PathPilot wouldn't yell at me during an upgrade. but maybe that's not that big of a deal?

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


  14. #114
    Member
    Join Date
    Apr 2011
    Location
    USA
    Posts
    720
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    I'm in Maryland, California is next to another small town named Hollywood! Hollywood wasn't named after the California version, it's just an area that is covered in wild Holly trees. I do believe that California got it's name because some joker thought it would be funny. When I first came here back in the 70's I moved from San Diego (best weather on the planet), I had a California drivers license, and they kept mailing my renewal to Hollywood, CA. Drove around for a month on an expired license before they unscrewed it.

    Terry



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

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by SoCalPlaneDoc View Post
    PCW, is that possible? might there be an existing file that would do the job?

    I was thinking I'd follow Turbo's method of using a parrallel port so that PathPilot wouldn't yell at me during an upgrade. but maybe that's not that big of a deal?
    Its easy to make a bitfile that has a full encoder on P2, but there are a couple of side effects:

    1. You need to defeat Pathpilots re-flashing the 5I25 with Tormachs bitfile
    2. Rapidturn support would be lost (you would need to go back to Tormachs bitfile for this)
    3. You of course need to modify the hal and ini files to connect and scale the encoder



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

    Default Re: Rigid Tapping on a PCNC1100

    Can one (certainly not me!) create a bitfile supporting Rapidturn on P1 and a full encoder on P2?



  17. #117
    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
    Can one (certainly not me!) create a bitfile supporting Rapidturn on P1 and a full encoder on P2?
    Yes, its certainly possible, but may require some driver/hal file changes to merge support for position interpolation (AFAIK Tormachs firmware
    uses hardware position interpolation in the firmware for threading with the 1 pulse per turn RapidTurn sensor) and normal quadrature encoders



  18. #118
    Member
    Join Date
    Aug 2007
    Location
    usa
    Posts
    701
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Defeating the Re-flashing is easy. After you apply a pathpilot update, it will ask if you want to re-flash the Mesa and you just his escape.

    The other issue, once he mod's the hal file, after ea update you have to copy the hal file back into the directory.
    This really isn't too bad, you only have to do a few times a year when the updates come out, or just skip every few updates, doesn't really matter.

    I think the benefit of having rigid tapping certainly outweighs the burden of the flash and hal issues.



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

    Default Re: Rigid Tapping on a PCNC1100

    yay! sensors finally arrived...back to getting the hardware squared away.

    so no matter which avenue I follow (mesa vs parallel port), I'll be making changes to hal, ini, and post processor files. Seems to me if I follow the parallel port path I could at least eliminate having to manage a custom bitfile.

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


  20. #120
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    74
    Downloads
    0
    Uploads
    0

    Default Re: Rigid Tapping on a PCNC1100

    Quote Originally Posted by SoCalPlaneDoc View Post
    yay! sensors finally arrived...back to getting the hardware squared away.

    so no matter which avenue I follow (mesa vs parallel port), I'll be making changes to hal, ini, and post processor files. Seems to me if I follow the parallel port path I could at least eliminate having to manage a custom bitfile.
    A bit surprised this conversation died. Rigid tapping is a glaring feature omission for Tormach mills.

    Sent from my SM-G892A using Tapatalk



Page 6 of 7 FirstFirst ... 34567 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