584,866 active members*
5,180 visitors online*
Register for free
Login
Results 1 to 13 of 13
  1. #1
    Join Date
    Nov 2004
    Posts
    2

    Exclamation m-code for spindle lock

    I run a okuma-howa 35-l with a fanuc 18-t control.I need to know if anybody knows the parameter to set this and what is the code used in a program to lock and unlock the machine.Thank you any help will be useful.

  2. #2
    Join Date
    Apr 2003
    Posts
    1876
    Not sure about the parameter, but if you want to lock the spindle from spinning and orient it, it's M19 in the program, or from MDI.
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Nov 2004
    Posts
    2
    I tried the m-19 but it did not do anything.I want the spindle to lock completely again thanks for all input I get.If anyone else knows something that might work please let me know.Thank You.

  4. #4
    Join Date
    Apr 2003
    Posts
    416
    Did you stop the spindle with an M5 before using the M19?
    Bill

  5. #5
    Join Date
    Apr 2003
    Posts
    1876
    Where did you put the M19 in? In the program? In MDI?
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  6. #6
    Join Date
    Dec 2004
    Posts
    7
    Hi,
    excuse me but i'm italian and i don't speak a good english...
    M19H0
    or H90 ,H180,H270 for spindle position...

  7. #7
    Join Date
    Dec 2003
    Posts
    24216
    The okuma manual should tell you what functions and M codes etc they have implemented. Fanuc have Many many pre-assigned functions and it is up to the Machine tool builder to use them (or not) how he sees fit.
    For example all M codes and special functions which can be set by a simple switch such as MLK (machine lock) are implemented through the I/O or ladder section and are machine-tool-builder dependant, they cannot usually be set by parameter.
    There is a whole raft of Fanuc manuals that the end-user does not usually get, he usually gets the Operator manual & Maintenance manual if he is lucky, some times he just gets the Machine tool builder version.
    Just to confuse things but are usefull, Fanuc have an OperatOR as well as a OperatION manual, and a ConnecTION & ConnectING manual as well as Servo man. & others which can be usefull for trouble shooting etc.
    Al
    CNC, Mechatronics Integration and Custom Machine Design

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

  8. #8
    Join Date
    May 2013
    Posts
    5
    M19 won't work if the chuck is open. Close the chuck (with or without any work-piece in it) and try M19 in the MDI again.

  9. #9
    Join Date
    Dec 2003
    Posts
    24216
    9 Year old thread!! ??
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  10. #10
    Join Date
    May 2013
    Posts
    5
    Quote Originally Posted by Al_The_Man View Post
    9 Year old thread!! ??
    Al.
    I see your point, but, I googled for a solution for this issue and didn't find one. I solved the problem myself and posted it in this thread for future reference, in case someone else get the same issue.
    mr Green

  11. #11
    Join Date
    Dec 2009
    Posts
    100

    Re: m-code for spindle lock

    Good idea.

  12. #12
    Join Date
    Oct 2018
    Posts
    101
    Has anyone got an answer I keep getting 2338 alarm for” spindle orientation no spec “every time I use M 19 to lock the spindle

  13. #13
    Join Date
    Oct 2018
    Posts
    101
    Quote Originally Posted by MRGREEN View Post
    M19 won't work if the chuck is open. Close the chuck (with or without any work-piece in it) and try M19 in the MDI again.
    Closed or open still getting the same error

    Is there another M code
    My machine is Okuma crown 1997 762s
    Thanks

Similar Threads

  1. LMS SX2 Spindle Lock Stripped
    By FunkedOut in forum Benchtop Machines
    Replies: 1
    Last Post: 12-16-2011, 02:33 AM
  2. Spindle Lock code???
    By bolduc04253 in forum Daewoo/Doosan
    Replies: 5
    Last Post: 05-09-2011, 05:15 PM
  3. Spindle lock
    By Larry Myers in forum Sharp CNC
    Replies: 1
    Last Post: 06-16-2010, 04:04 AM
  4. Code to lock feedrate?
    By walshsimmons in forum WoodWorking Topics
    Replies: 7
    Last Post: 05-11-2010, 12:01 PM
  5. Spindle Lock for SX3
    By Old Megawatts in forum Syil Products
    Replies: 1
    Last Post: 05-01-2007, 11:19 PM

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
  •