Fanuc M-Code


Results 1 to 7 of 7

Thread: Fanuc M-Code

  1. #1
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Fanuc M-Code

    I came across an old nc program for a Fanuc 0T control on a LeBlond lathe. One of the first blocks in the program has an M55 command. This M-code is not listed in my Fanuc control manual, and I can't seem to find any info on it. Does anyone know what M55 does on a Fanuc 0T control?

    Similar Threads:


  2. #2
    Registered mxtras's Avatar
    Join Date
    May 2005
    Location
    USA
    Posts
    1810
    Downloads
    0
    Uploads
    0

    Default

    I think it is a user defined coordinate offset, isn't it? M55 through M58 are (I believe) user defined coordinate offsets in the Fanucs.

    Change to M56 and see if the displayed position changes. If so, then that is likely what it is.

    Scott

    Consistency is a good thing....unless you're consistently an idiot.


  3. #3
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default

    It would probabally be unique to that particular machine as Many of the M codes have to be written/decoded in the machine ladder logic by the machine tool builder or retro-fitter, so they may have used a particular output for a special function.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mxtras
    I think it is a user defined coordinate offset, isn't it? M55 through M58 are (I believe) user defined coordinate offsets in the Fanucs.
    Scott, I believe you are thinking of G55 to G58?
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  5. #5
    Registered mxtras's Avatar
    Join Date
    May 2005
    Location
    USA
    Posts
    1810
    Downloads
    0
    Uploads
    0

    Default

    Oh, crap. Yup. Sorry.

    This is MY monday, guys. Thanks, Al.

    Scott

    Consistency is a good thing....unless you're consistently an idiot.


  6. #6
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0

    Default

    Like Al says, the M codes are usually set and arranged by the machine builder. Short of someone having the same lathe, you'll need a book for the lathe or try contacting Le Blond (or makino) to ask. M55 could be just about anything from say retracting the tailstock (which it hapens to be on a Okuma) to unclamp tool pot or just about anything else.

    It's just a part..... cutter still goes round and round....


  7. #7
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    Thanks for the info, guys. I did some digging and found the binder for the lathe. It turns out M51 thru M57 are for setting headstock into 1st gear, 2nd gear, etc. Then each gear has a max rpm for spindle speed.



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

Fanuc M-Code

Fanuc M-Code