Page 1 of 2 12 LastLast
Results 1 to 12 of 13

Thread: M0 or M00

  1. #1
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Question M0 or M00

    Hi All...

    I operate the following program in Single Auto Mode -

    G90
    M0
    #101=#5021
    M0
    #103=#5021
    M0
    M30


    As u can see I command M0 instead of M00 (Which is for Program Stop ). If I command M00 the macro program does not stop even in single block.

    ( I understand that we command M00 for a Program Stop, but in macro program it does not behave as it should behave.
    I was curious to know the reason behind it )

    Is that so that M0 command specially works for Macro programs ? or it is a parameter setting ?


    Thanks
    Ash


  2. #2
    Registered Torsten's Avatar
    Join Date
    Nov 2004
    Location
    U.S.A.
    Posts
    260
    Downloads
    0
    Uploads
    0
    That is a strange Problem?
    Typicly G-code is a Adress and a Numeric code, so a M code given as 0 is the same as 00. Same as G01 or G1 a leading zero dose not change the value.
    Did you check if it indeed is a number zero or perhaps a letter O.


  3. #3
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Post

    No it is M00...confirmed


  4. #4
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    So M00 will stop the program but M0 will not stop the program? I have never seen that before.

    As to the single block what program number is this code running in? There are parameters that will not allow single block in a 8000 or 9000 macro program. I ass u me you are refering to the Oi series which I don't have any manuals with me at the moment but you should be able to find the setting for this probably under the section of CRT/MDI and EDIT.

    Stevo


  • #5
    Registered fanuc-support.c's Avatar
    Join Date
    Jan 2010
    Location
    uk
    Posts
    96
    Downloads
    0
    Uploads
    0
    M00 or M0 are the same thing. They are also one of the few m codes written by fanuc.

    As your writing macro statements on a probably older control try this:

    G90;
    ;
    M0;
    ;
    #101=#5021;
    ;
    M0;

    #103=#5021;
    ;
    M0
    M30

    The older CPU's try to calc at lightening speed, but quite frankly aren't always capable, therefore they can miss information. I have had similar problems to what you are experiencing before, having worked for GE Fanuc for several years.. Another way around this is to put a G04 on it's own, this slows it down too.

    Worth a try, if not maybe you will need to dive into the PMC.

    Fanuc-support.com


  • #6
    Registered
    Join Date
    Feb 2009
    Location
    Engerland
    Posts
    22
    Downloads
    0
    Uploads
    0
    There's probably a ''stop read ahead'' M Code for that control.

    I had to use this once whan reading the machine position. It gets cleared on M30/M99 OR RE-SET


  • #7
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Hi

    Hi

    Can u Confirm by actually commanding on Machine. I executed it on Fanuc 6M and Mitsu 60 control.

    I repeat -
    ( I execute command In Single bLOCK Mode )

    G90
    M0.............( If i command M00, it doesn't stop )
    #101=#5021
    M0 ( Same as above )
    #103=#5021
    M0 ( Same as above )
    M30

    ONLY WHEN M0 IS COMMANDED, THEN ONLY THE PROGRAM STOPS. IF M00 IS COMMANDED, IT DOESN'T STOP.


  • #8
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    19
    Downloads
    0
    Uploads
    0
    If it works with M0, why would you want to use M00? With the Fanuc 6M you will save a lot of data entry by using no leading "0" digit.

    M3
    M5
    M1
    M8
    M9
    X.1Y.1Z.1
    G0
    G1
    G2
    G3
    R.1

    If you are entering by hand it saves time. If your using a CAM system reset your format.

    Here is a thread doing something similar...
    http://www.cnczone.com/forums/archiv...hp/t-4638.html


  • #9
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,502
    Downloads
    0
    Uploads
    0
    What happens if you execute it in full AUTO mode? Does it stop at both M0 and M00?


  • #10
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Question Hi

    No, it stops at M0 only.


    When M00 is commanded it doesn't stop.


    As it is a Macro program, It matters to investigate what exactly is the issue.

    Its not about saving space (by commanding less characters), but what is exactly the root cause & why it doesn't stops in a macro program ?

    ( -----Its there any logic designed behind it------ )

    As we have been taught that M00 is for program stop, then why doesn't it responds for Macro program ?

    Thanks,
    Ash


  • #11
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    When I get time, I will try on my machine. At present, I cannot believe that M0 and M00 behave differently.


  • #12
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    19
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Ashish B View Post
    As it is a Macro program, It matters to investigate what exactly is the issue.

    Its not about saving space (by commanding less characters), but what is exactly the root cause & why it doesn't stops in a macro program ?

    ( -----Its there any logic designed behind it------ )

    I'll try this one more time. You stated that you are using a Fanuc 6M. That control was created back in the early '80s. You are using Fanuc Macro B. System memory was at a premium. The early controls only had 64kb of memory. So using a "0" as a place holder was poor use of the available address space. The Macro B code probably was never written to handle the place holder.

    Quote Originally Posted by Ashish B View Post

    As we have been taught that M00 is for program stop, then why doesn't it responds for Macro program ?
    Maybe they needed to teach adaptability. Give the machine what it wants.


  • Page 1 of 2 12 LastLast

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.