585,581 active members*
4,040 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    638

    Miyano program help

    Does anyone have a sample program for a Miyano BNC-12S that is utilizing the main and sub spindles including pick off?
    We have this machine that they want me to get going. I read the book and got the main doing a bar feed, turning, grooving, and cut off. But the book is less helpful for the sub spindle. The operation command and then the B axis start after that? Weird.
    Also, will we be able to pick up, pull out partway, turn on main (still connected), pull more, turn, etc... then re-pick up closer and cut off?
    Thanks

  2. #2
    Join Date
    Feb 2006
    Posts
    338
    WARNING: this is NOT for your machine! This is g-code used on a Mazak but I think it is reasonably generic and might still be of use when compared to your manual.

    Code:
    (Part Transfer)
    N100
    G0G28U0
    G98
    M307(SP2 CHUCK CLOSE)
    M901(SP1 Select)
    M202(sp1 turning)
    S1500 M4(Turn on SP1 to clean)
    M902(SP2 SELECT)
    M302(sp2 turning)
    M303 S1500(Turn on SP2 to clean)
    G4 X1.0
    M358(SP2 air blast)
    M305(stop SP2)
    M5
    
    M200(MILLING MODE START SP1)
    G0 C0.0(SP1 ORIENT to 0.0)
    
    M300(MILLING MODE START SP2)
    G110 C2(sp2 select for C moves)
    G0 C30.0(SP2 ORIENT to 30.0)
    G111
    
    M306(SP2 CHUCK OPEN)
    M540(TRS-CHK MODE START)
    G0B-17.0(1ST APPROACH FOR MOVE, POS. STOCK STOP)
    G1B-18.82F200.(POSITION FOR PRESSING START)
    M508(PRESSING START)
    G31B-18.865F1.0(END POSITION FOR PRESSING)
    
    M509(PRESSING CANCELLATION)
    M541(TRS-CHK MODE CANCEL)
    M307(SP2 CHUCK CLOSE)
    (G4X0.1)
    M206(SP1 CHUCK OPEN)
    G0 B0(SP2 MOVE HOME)
    M202
    M1

  3. #3
    Join Date
    Aug 2011
    Posts
    2517
    Quote Originally Posted by extanker59 View Post
    Does anyone have a sample program for a Miyano BNC-12S that is utilizing the main and sub spindles including pick off?
    does the machine have a Fanuc control or some weirdo non-standard thing?

  4. #4
    Join Date
    Aug 2008
    Posts
    62
    Maybe this will help. It's for a BNC-34S, but the code should be identical.

    Rick

    %
    :0001
    /M98P2
    N10(BAR STOP)
    M57
    M47
    T0100M5
    G0X0.0Z.1T0101M38
    Z-1.9
    M17
    G98G1Z.03F150.
    M18
    G0G97S5000Z.5M3
    N20(13/32 DRILL)
    (MORSE COBALT #2345)
    T1100M8
    G0G97Z.5S5000T1111M3
    X0.0
    Z.13
    G99G1Z-0.474F0.0075
    G0Z.13
    Z-0.424
    G1Z-0.948
    G0Z.5
    X3.5M9
    M1
    N30(FIN FACE & TURN)
    (KENNA. CNGP-431-KC730)
    M47
    T0200M8
    G0G97X1.225Z.0025S5000T0202M3
    G99G1X.306F0.0065
    G0Z.0525
    X.66
    G1Z-.626F0.0065
    X1.125
    G0Z0.0525
    X.4838
    G1Z.0025F0.0035
    G03X.6Z-.0556K-.0581
    G1Z-.6166
    G02X.6288Z-.631I.0144
    G1X.9058
    G03X1.057Z-0.7066K-.0756
    G1Z-.925
    Z-2.018F0.0125
    G0X1.157Z-1.968
    X2.5Z.5M9
    M1
    N40(FIN O.D. GROOVE)
    (KENNA. NG3062RK-KC730)
    M47
    T0300M8
    G0G97X1.157Z-.7882S5000T0303M3
    G99G1X.9705F.0045
    G0X1.157
    Z-.826
    G1X1.059F.001
    G02X1.019Z-.806I-.02
    G1X0.9755
    G03X.9655Z-.801K.005
    G1Z-.7982
    G0X1.157
    Z-.7505
    G1X1.059
    G03X1.019Z-.7705I-.02
    G1X.9705
    G02X0.9605Z-.7755K-.005
    G1Z-.801
    G02X.9705Z-.806I.005
    G1X1.157
    G0X4.5Z3.5M9
    M1
    N50(.2913 HERTEL TURBO FLUTE DRILL)
    M47
    T0400M8
    G0G97X0.0Z.5S5000T0404M3
    Z-0.798
    G99G1Z-1.426F0.0055
    G0Z.13
    Z-1.376
    G1Z-1.823
    G0Z.5
    N60(.295 FLAT BOTTOM CARBIDE ENDMILL)
    (WELDON SKI-CARB)
    T1400M8
    G0G97X0.0Z.5S5000T1414M3
    Z-0.722
    G99G1Z-1.725F0.003
    Z-1.828F0.0015
    G0Z.5
    X3.5M9
    M1
    N70(RGH BORE)
    (KENNA. BPGF 050302-KC720 .008 TNR)
    M47
    T0500M8
    G0G97X.5215Z.5S5000T0505M3
    Z.05
    G99G1Z.0025F.002
    G02X.4255Z-.0455K-.048
    G1Z-.79F0.004
    X.4155
    G0Z.5
    M1
    N80(FIN I.D. U-CUT)
    T1500M8
    G0G97Z.5S5000T1515M3
    X.401
    Z-0.5924
    G99G1X.4706Z-0.6271F0.0012
    Z-0.8091
    X.28Z-0.899
    G0Z-0.6271
    G1X.4706
    X0.5195Z-0.6516
    Z-0.7875
    X.4706Z-0.8091
    G0X0.401
    Z-0.5893
    G1X.52Z-0.6488F0.0006
    Z-0.7906
    X0.28F0.025
    Z-0.9029F0.002
    X0.52Z-0.7896F0.0006
    X0.28F0.025
    Z-0.9039F0.002
    X0.52Z-0.7906F0.0006
    Z-0.6488
    X0.401Z-0.5893
    G0Z.138
    G1X1.25F0.0015
    G0Z.5
    M1
    N90(FIN BORE)
    (KENNA. BPGF 050302-KC720 .008 TNR)
    T0500M8
    G0G97X.4155Z.5S5000T0505M3
    Z.05
    G99G1Z-.79F0.025
    X.4275F0.0008
    Z.05
    G0Z.5
    X3.5M9
    M1
    N100(SUB IN & CUTOFF)
    (ISCAR GIM-3.2-8RA IC20)
    M57
    T0600M8
    G0G97X1.225Z-2.018S5000T0606M87
    G101
    M57
    G0B-11.0
    G98G1B-11.6F80.
    M58
    M90
    G100
    M40
    M90
    G4P500
    G99G1X-0.016F0.003
    G0X1.225
    G101
    G0B-1.5
    M90
    G100
    M40
    M90
    X5.5Z2.0M89
    M1
    N110(RGH FACE & TURN-SUB SPINDLE)
    (KENNA. CNGP-431-KC730)
    M46
    T2100M8
    G0G97X0.8862Z-0.1S5000T2121M54
    G99G1Z1.009F0.0075
    G0X0.9862Z0.959
    Z-0.1
    X0.7224
    G1Z1.009
    G0X0.8224Z0.959
    Z-0.1
    X0.5587
    G1Z1.009
    G0X0.6587Z0.959
    Z-0.1
    X0.36
    G1Z0.2642
    X0.395Z0.2817
    Z0.9846
    G03X0.4438Z1.009I0.0244
    G1X0.9088
    G02X1.06Z1.0846K0.0756
    G1Z1.1002
    G0X4.5Z-0.5M9
    M1
    N120(FIN FACE & TURN-SUB SPINDLE)
    (ATRAX CFG-4620F-A6)
    M46
    T2200M8
    G0G97X.465Z0.0S5000T2222M54
    G99G1X-.004F.0013
    X.2768
    G02X.2938Z.0052K.0095F0.0009
    G1X.355Z.059
    Z.2642
    X.39Z.2817
    Z.9735
    G0X.49Z.9235
    X1.157
    Z1.0735
    G1X1.059F.0013
    G03X.9345Z1.0115I-.062
    G1X.466
    G02X.39Z.9735K-.038
    G1Z.9695
    G0X4.5M9
    M55
    M1
    N120(SUB HOME)
    G101
    G28B-.25
    M90
    G100
    M40
    M90
    M35
    M57
    M36
    G4P500
    M30
    %

  5. #5
    Join Date
    Mar 2008
    Posts
    638

    Smile

    That was it Thawk53! Thanks guys for your responses.
    BTW it is a Fanuc OT.
    Excellent!

  6. #6
    Join Date
    Feb 2012
    Posts
    24

    Post G 33 sinumerik cycle problems

    Hi folks, I have a problem with the threading cycle control of a lathe with SINUMERIK 810 T, the problem is this, when I start the cycle is poised to start with threading passes but remains in that position and the cycle begins , the funny thing is I do it my way SKB does, do I program the internal thread to run smoothly, the problem has to do only external thread, the failure started suddenly after making more than 2000 threads. From already thank you very much and sorry for English.

Similar Threads

  1. Miyano bnc-42
    By Moondine in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 09-16-2011, 06:33 PM
  2. Miyano BND 42s program wont loop
    By Morgan111 in forum Uncategorised MetalWorking Machines
    Replies: 5
    Last Post: 01-12-2011, 12:24 PM
  3. KNC 45 Miyano
    By SGARCIAM in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 02-03-2010, 08:21 PM
  4. miyano 3T
    By vertix19 in forum Fanuc
    Replies: 1
    Last Post: 10-03-2009, 07:35 PM
  5. MIYANO BNC 34T
    By CHANDRU in forum CNC Swiss Screw Machines
    Replies: 0
    Last Post: 09-04-2009, 12:20 PM

Posting Permissions

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