m-code for spindle lock


Results 1 to 13 of 13

Thread: m-code for spindle lock

  1. #1
    Registered
    Join Date
    Nov 2004
    Location
    united states
    Posts
    2
    Downloads
    0
    Uploads
    0

    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.

    Similar Threads:
    Last edited by fisholie; 11-04-2004 at 06:37 AM.


  2. #2
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1876
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Nov 2004
    Location
    united states
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    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
    Member wjbzone's Avatar
    Join Date
    Apr 2003
    Location
    United States
    Posts
    416
    Downloads
    0
    Uploads
    0

    Default

    Did you stop the spindle with an M5 before using the M19?
    Bill



  5. #5
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1876
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Dec 2004
    Location
    Italy
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default

    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
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    May 2013
    Location
    Sweden
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    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
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    May 2013
    Location
    Sweden
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    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
    Member
    Join Date
    Dec 2009
    Location
    USA
    Posts
    100
    Downloads
    0
    Uploads
    0

    Default Re: m-code for spindle lock

    Good idea.



  12. #12
    Member okuma1984's Avatar
    Join Date
    Oct 2018
    Location
    TILSONBURGE
    Posts
    101
    Downloads
    0
    Uploads
    0

    Default

    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
    Member okuma1984's Avatar
    Join Date
    Oct 2018
    Location
    TILSONBURGE
    Posts
    101
    Downloads
    0
    Uploads
    0

    Default

    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



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

m-code for spindle lock

m-code for spindle lock