512,754 active members
3,550 visitors online
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Registered
    Join Date
    Jul 2010
    Posts
    0

    which M code all spindles down!

    Hi everyone,
    I have a machine HEIAN 431p (Fanuc Oi-MC). I know M11 spindle #1 down, M21 spindle #2 down, M31 spindle #3 down, M41 spindle #4 down. M92 all spindle up. M95 all spindle off.
    Who can help me how to do all spindle down?

  2. #2
    Gold Member
    Join Date
    Feb 2009
    Posts
    6028
    If there is no one mcode to do it all, simple write a 8000 macro with all the mcodes you need and assign it to an mcode.

  3. #3
    Registered
    Join Date
    Jul 2010
    Posts
    0
    Thank you under,
    I think so., but what do i do now? Do you know parameter for this machine? I dont know unlock macro system program.
    O8000;
    M11;
    M21;
    M31;
    M41;
    M99;
    What is the position in system parameter?

  4. #4
    Gold Member
    Join Date
    Mar 2003
    Posts
    2927
    If you can find an unused M-code, i.e. M51, put that value (51) in one of the parameters 6071 to 6079. Some of these may already be used by the MTB, so find one that doesn't have a number in it.

    Let's say 6077 is 0 or blank (I don't remember which it is). You set it to 51, and rename your O8000 to O9007.

    Now, when you command M51, it will execute O9007 and bring all 4 spindles down, then return to the main program.
    Attached Thumbnails Attached Thumbnails 0iM-C M-code Sub call.jpg  

  5. #5
    Registered
    Join Date
    Jul 2010
    Posts
    0
    I am using AlphaCam mill program,
    That is Fanuc 6MB
    When i set T=1, machine works with spindle #1
    When i set T=2, machine works with spindle #2
    When i set T=3, machine works with spindle #3
    When i set T=4, machine works with spindle #4
    When i set T=5, machine works with spindle #1 & #2
    When i set T=6, machine works with spindle #3 & #4
    When i set T=7, machine works with spindle #1 & #3
    When i set T=8, machine works with spindle #2 & #4

  6. #6
    Gold Member
    Join Date
    Mar 2003
    Posts
    2927
    Quote Originally Posted by dung_ninhbinh View Post
    I am using AlphaCam mill program,
    That is Fanuc 6MB
    When i set T=1, machine works with spindle #1
    When i set T=2, machine works with spindle #2
    When i set T=3, machine works with spindle #3
    When i set T=4, machine works with spindle #4
    When i set T=5, machine works with spindle #1 & #2
    When i set T=6, machine works with spindle #3 & #4
    When i set T=7, machine works with spindle #1 & #3
    When i set T=8, machine works with spindle #2 & #4
    I don't understand. How does this relate to your original question??? You asked for an M-code to bring all spindles down on an 0i-MC...

  7. #7
    Registered
    Join Date
    Jul 2010
    Posts
    0
    sorry, our company has 6 cnc machines. 1 fanuc 6MB, 1 fanuc 18M, 1 Xilog3, 1 Fanuc Oi-TC, 1 Fanuc Oi-MC, 1 Bacci 5 axis.

  8. #8
    Registered
    Join Date
    Sep 2008
    Posts
    133

    Hi

    Quote Originally Posted by dung_ninhbinh View Post
    Hi everyone,
    I have a machine HEIAN 431p (Fanuc Oi-MC). I know M11 spindle #1 down, M21 spindle #2 down, M31 spindle #3 down, M41 spindle #4 down. M92 all spindle up. M95 all spindle off.
    Who can help me how to do all spindle down?
    Do you know your CNC had PLC in side Fanuc controller or Heian use PLC out side of Fanuc controller. If Heian use PLC inside of controller you can find M-code by view ladder. If Heian use PLC out side of controller you must know which PLC was used by Heian and use special software of manufacture who made this PLC to load ladder and view it then you can find M-Code

  9. #9
    Registered
    Join Date
    May 2007
    Posts
    15
    I have a fanuc OM and M91 is all spindles down.

    Hope it helps

Similar Threads

  1. Any reasonably priced (cheap) spindles other than the chinese spindles?
    By HereinCS in forum DIY CNC Router Table Machines
    Replies: 8
    Last Post: 11-05-2014, 11:16 PM
  2. Spindles
    By wcarrothers1 in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 02-13-2009, 05:46 PM
  3. HF spindles
    By endgrainguy in forum General CNC Machine Related Electronics
    Replies: 0
    Last Post: 09-29-2008, 07:00 PM
  4. Air spindles
    By sizmo in forum Toolgrinding / Toolgrinding Machines
    Replies: 1
    Last Post: 12-17-2007, 03:06 AM

Posting Permissions

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