585,555 active members*
3,388 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Spindle fails to orient unless M5 commanded
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    113

    Spindle fails to orient unless M5 commanded

    I removed M5 from Okuma's postprocessor before toolchange to shorten cycle time and now the spindle automatically stops (=orients) when moving to tool change position. Or at least, in 90% cases it does. Sometimes the spindle just keeps rotating and the orient led keeps flashing, recoverable only by reset. I'd hate to put the M5 back because it will add at least one second of cycle time.

    Ideas?

  2. #2
    Join Date
    Jun 2015
    Posts
    4154

    Re: Spindle fails to orient unless M5 commanded

    hy

    M19 can/may not work if S<>0
    S can/may work after M19 without M18
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3

    Re: Spindle fails to orient unless M5 commanded

    Mine has M19:cheers:

  4. #4
    Join Date
    Jun 2015
    Posts
    4154

    Re: Spindle fails to orient unless M5 commanded

    M19 may work if spindle is rotating but there is no S comand

    this may happen, for example, after M109 + unbalanced fixture

    S comand may behave the same

    you may not get same behaviour on M110 / M147

    .. those are machine state transition codes i experimented recently with such stuff ...
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  5. #5
    Join Date
    Jun 2008
    Posts
    113

    Re: Spindle fails to orient unless M5 commanded

    Well the question is, why does it orient sometimes and sometimes it doesn't? A bug in the control (OSP-P200M)? An older machine with U10M always orients from spindle on state.

  6. #6
    Join Date
    Jun 2015
    Posts
    4154

    Re: Spindle fails to orient unless M5 commanded

    hy myhaje ... somehow i thought that you maybe in a deeper problem ...

    i dont know you dont have a constant behaviour ... all i can say is that confirmation from senzors may not always mean also a phisical state, but i dont know exactly how this happens

    that thing happens always in same place ? thus you have a runing program, there are no interventions, and at same code line, sometimes it works, and sometimes not ? or are there different locations inside the code ? kindly !
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  7. #7
    Join Date
    Jun 2008
    Posts
    113

    Re: Spindle fails to orient unless M5 commanded

    Quote Originally Posted by deadlykitten View Post
    hy myhaje ... somehow i thought that you maybe in a deeper problem ...

    i dont know you dont have a constant behaviour ... all i can say is that confirmation from senzors may not always mean also a phisical state, but i dont know exactly how this happens

    that thing happens always in same place ? thus you have a runing program, there are no interventions, and at same code line, sometimes it works, and sometimes not ? or are there different locations inside the code ? kindly !
    It is completely random. Could be a sensor issue, it is a 10 year old machine after all. Just wondering if anybody else has experienced this issue.

  8. #8
    Join Date
    Jun 2015
    Posts
    4154

    Re: Spindle fails to orient unless M5 commanded

    i am not sure about what i am about to say : if you removed M5 from the code, so shorten whatever, than it may be a behaviour on the machine that is not constant

    when it works, spindle is stopped, and M19 can occur ; otherwise you are in trouble

    after testing CTR codes, i can tell that, even if more axis perform simulateously, they dont always behave the same : in other words syncro is always achieved, but start moments are not always the same

    when machine reaches M19, is the spindle always stopped ? also, if the machine reaches M19 in the read ahead, and at that moment spindle is not stopped but meanwhile tool change occurs, than this may be your issue; maybe you need to delay the read ahead, to be sure that M19 is triggered when spindle is stopped

    ... i dont know just an opinion ... kindly !
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

Similar Threads

  1. Stop machine if spindle motor fails.
    By erkiwi in forum Spindles / VFD
    Replies: 2
    Last Post: 11-21-2014, 10:37 PM
  2. 2nd spindle orient
    By 1234567 in forum Mori Seiki Mills
    Replies: 0
    Last Post: 08-29-2012, 05:53 PM
  3. Replies: 9
    Last Post: 06-21-2012, 05:47 PM
  4. 197 C-AXIS COMMANDED IN SPINDLE MODE
    By padobranac in forum Fanuc
    Replies: 8
    Last Post: 05-04-2010, 11:45 AM
  5. M19 Spindle Orient
    By ragman in forum Fanuc
    Replies: 2
    Last Post: 04-01-2008, 11:16 AM

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
  •