584,802 active members*
5,023 visitors online*
Register for free
Login
IndustryArena Forum > Manufacturing Processes > Turning > C axis code in spindle mode
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2017
    Posts
    2

    Question C axis code in spindle mode

    I keep getting an error stating that there is a c axis code in spindle mode this is my program i rough and finish the part and then do some c axis movements and then finish the part again to get rid of the burr...the first finish part of the program works fine and is identical to the 2nd one so I don't know whats going on. it's stopping at the G3 code...If i change the G3 code to G1 it works, but I'm not sure why it doesn't work now! Any help is appreciated! Also this is on a Fanuc 31i Model B controller....Doosan Puma TT1800SY machine

    O0302 ( 8 TON ID CORE-Upper Stream.NC )
    (UPPER TURRET)
    (DATE: TUESDAY, 02 JUNE 2020 - TIME: 16:01)
    (MCX FILE - 8 TON CORE .mcam)
    (JOB NUMBER - )
    (PROGRAMMER - )
    (T0909 TLS ROUGHER INSERT - NONE)
    (T0303 1/4 FLAT ENDMILL DIA. - 0.25)
    (T0101 TLS CUT OFF TOOL INSERT - GC-4125)


    G00 G18 G40 G80 G99


    M24 (START CHIP CONVEYOR)


    N1
    (OPERATION # 1)
    (OPID : 1)
    G28 Y0.
    G00 G28 U0. W0.
    (T0909 TLS ROUGHER INSERT - NONE)
    T0909 ( TLS ROUGHER )
    M34
    G97 S1241 M03 P11
    G54
    M08
    G00 Z0.
    X2.825
    G50 S3500 P11
    G96 S918 P11
    G99 G01 X-.062 F.01
    G00 Z.1


    (OPERATION # 2)
    (OPID : 2)
    X2.4382
    Z.2084
    M900 (WAIT)


    G01 Z.1084
    Z-1.462
    X2.625
    X2.7664 Z-1.3913
    G00 Z.2084
    X2.0648
    M901 (WAIT)
    G01 Z.1084
    Z-1.462
    X2.2715
    X2.4129 Z-1.3913
    G00 Z.2084
    X1.6912
    M902 (WAIT)
    G01 Z.1084
    Z-1.462
    X1.898
    X2.0394 Z-1.3913
    M903 (WAIT)


    M09
    M01


    N2
    (OPERATION # 4) (Identical to where the error starts after the next op)
    (OPID : 4)
    G28 Y0.
    G00 G28 U0. W0.
    (T0909 TLS ROUGHER INSERT - NONE)
    T0909 ( TLS ROUGHER )
    G97 S2800 M03 P11
    M904 (WAIT)
    G54
    M08
    G00 Z.1
    X.446
    G50 S2800 P11
    G96 S918 P11
    G99 G01 Z0. F.01
    X1.283
    G03 X1.375 Z-.046 R.046
    G01 Z-.887
    X1.508
    G03 X1.6 Z-.933 R.046
    G01 Z-1.472
    X1.7414 Z-1.4013
    M09
    G28 Y0.
    G00 G28 U0. W0.
    M05 P11
    M905 (WAIT)
    M01


    N3
    (OPERATION # 8)
    (OPID : 6)
    G28 Y0.
    G00 G28 U0. W0.
    M906 (WAIT)
    (T03 1/4 FLAT ENDMILL DIA. - 0.25)
    T0303 ( 1/4 FLAT ENDMILL )
    M35
    M110
    G97 S4500 M03 P12
    G54
    M90
    G28 H0.
    G00 C89.508
    M08
    G00 G18 Z-.315
    X1.8622 Y0.
    X1.5622
    G18 W0. H0.
    G98
    G01 X1.1862 F5.
    G07.1 C.6875
    Z-.735 F30.
    G07.1 C0.
    G00 X1.6862
    X1.8622
    M90
    C17.508
    Z-.315
    X1.5622
    G18 W0. H0.
    G98
    G01 X1.1862 F5.
    G07.1 C0.
    Z-.735 F30.
    G07.1 C0.
    G00 X1.6862
    X1.8622
    M90
    C305.508
    Z-.315
    X1.5622
    G18 W0. H0.
    G98
    G01 X1.1862 F5.
    G07.1 C0.
    Z-.735 F30.
    G07.1 C0.
    G00 X1.6862
    X1.8622
    M90
    C233.508
    Z-.315
    X1.5622
    G18 W0. H0.
    G98
    G01 X1.1862 F5.
    G07.1 C0.
    Z-.735 F30.
    G07.1 C0.
    G00 X1.6862
    X1.8622
    M90
    C161.508
    Z-.315
    X1.5622
    G18 W0. H0.
    G98
    G01 X1.1862 F5.
    G07.1 C0.
    Z-.735 F30.
    G07.1 C0.
    G00 X1.8622
    M09
    G28 Y0.
    G00 G28 U0. W0.
    M05 P12
    M34
    M111
    M01


    N4
    (OPERATION # 9)
    (OPID : 11)
    G28 Y0.
    G00 G28 U0. W0.
    (T0909 TLS ROUGHER INSERT - NONE)
    T0909 ( TLS ROUGHER )
    G97 S2800 M03 P11
    G54
    M08
    G00 Z.1
    X.446
    G50 S2800 P11
    G96 S918 P11
    G99 G01 Z0. F.01
    X1.283
    G03 X1.375 Z-.046 R.046 (stops at this code)
    G01 Z-.887
    X1.508
    G03 X1.6 Z-.933 R.046 (also this code)
    G01 Z-1.172
    X1.7414 Z-1.1013
    M09
    G28 Y0.
    G00 G28 U0. W0.
    M05 P11
    M01

  2. #2
    Join Date
    Sep 2018
    Posts
    27

    Re: C axis code in spindle mode

    Hi,

    Most probably one of the command in N3 (OPERATION #8) is not reset correctly so N4 gives error after N3 but N2 is ok.

    I throw this like randomly and im not sure it will fix but in N3 you have a bunch of canned cycles G98 but no G80 (cancel canned cycles)
    Try to add a G80 at the end of N3

  3. #3
    Join Date
    Jan 2009
    Posts
    103

    Re: C axis code in spindle mode

    Try putting a G18 after the first G03

  4. #4
    Join Date
    Sep 2005
    Posts
    267

    Re: C axis code in spindle mode

    Do you need a M5 P11 before you start main spindle turning again? on the doosans I run M5 tells it main spindle M35 tells it live tool, we only have main spindle and live, no sub spindle

  5. #5
    Join Date
    Nov 2018
    Posts
    26

    Re: C axis code in spindle mode

    You turned off C axis op at N3 operation end by M34, and you didnt call M35 at the start of N4, to restore c axis operation

  6. #6
    Join Date
    Nov 2018
    Posts
    26

    Re: C axis code in spindle mode

    Sorry, didnt saw that last op is turning

Posting Permissions

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