586,655 active members*
2,839 visitors online*
Register for free
Login

Thread: Fanuc M-Code

Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2005
    Posts
    16

    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?

  2. #2
    Join Date
    May 2005
    Posts
    1810
    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
    Join Date
    Dec 2003
    Posts
    24223
    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
    Join Date
    Dec 2003
    Posts
    24223
    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
    Join Date
    May 2005
    Posts
    1810
    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
    Join Date
    Mar 2005
    Posts
    988
    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
    Join Date
    Sep 2005
    Posts
    16
    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.

Posting Permissions

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