585,700 active members*
3,989 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > BobCad-Cam > Fanuc OTc Post Processor
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2007
    Posts
    356

    Fanuc OTc Post Processor

    I have a cnc lathe that has a Fanuc OTc control. I have tried a few of the PP for the Fanuc OT control and none of them are right. Sean at BC helped with a PP that is closer to what the machine wants, but it's still not right. The canned cycles are wrong, possible because of the PP that we used could be for a mill. I know I can get BC to write a PP, but it would be nice to save a lot of time and trouble to have a better starting point, does anyone else have a lathe with a OTc control and what PP are you using?

  2. #2
    Join Date
    Jun 2008
    Posts
    1838
    Quote Originally Posted by ranchak View Post
    I have a cnc lathe that has a Fanuc OTc control. I have tried a few of the PP for the Fanuc OT control and none of them are right. Sean at BC helped with a PP that is closer to what the machine wants, but it's still not right. The canned cycles are wrong, possible because of the PP that we used could be for a mill. I know I can get BC to write a PP, but it would be nice to save a lot of time and trouble to have a better starting point, does anyone else have a lathe with a OTc control and what PP are you using?
    For Fanuc 0T-C you probably need the "2 line cycle" type post, have you tried using the OiT-C Post ? ?
    However some machines do use the "1 line cycle" so double check this firs t

    Check your machine controls manual for which type of canned cycles are required.

    Here is some code from a "2 line cycle" Post Processor, will this run on your machine ? ? ?

    %
    O00001 (PROGRAM NUMBER)
    (PROGRAM START - TURNING CYCLES)
    (PROGRAM NAME - BOBCAD1.NC)
    (POST - FANUC 0iTC)
    (DATE - SUN. 09/30/2012)
    (TIME - 10:53AM)
    ( )
    ( )
    N01 G18 G21 G40 G80 G90 G98
    ( )
    (JOB 1 ROUGH CYCLE )
    (TOOL #1 80 DEG. 1/64 ROUGH TURNING )
    ( )
    N02 T0101 M06
    N03 G50 S3000
    N04 G96 S500 M03
    N05 G00 X21. Z1. M08
    ( )
    (ROUGH TURN - G71)
    N06 G71 U.5 R.1 (This line is U depth of cut, R is retract value)
    N07 G71 P08 Q12 U.1 W.1 F127.
    (This line is P start line for cut, Q last line of cut, U & W are X & Z finishing allowance, F feed rate)
    N08 G00 X16.
    N09 G01 X15. Z0.
    N10 Z-15.
    N11 X20.
    N12 X21. Z-14.
    N13 G40
    N14 G00 X127. Z127.
    N15 Z1.
    N16 Z127.
    N17 M09
    N18 M05
    N19 G28 U0. W0.
    ( )
    (END OF PROGRAM)
    N20 M30
    %

    I have found it is actually faster to program these cycles at the machine
    By the time I have opened up the CadCAM software and drawn the geometry I can have programmed it at the machine faster

    Regards

  3. #3
    Join Date
    Sep 2007
    Posts
    356
    I have tried the Oi-TC PP, along with a bunch of the other PP for Fanuc OTC, OTB, Generic, etc. None of them will work. I have a call into BC right now, unfortunately my machine manufacturer is no longer in business.

  4. #4
    Join Date
    Jun 2008
    Posts
    1838
    Quote Originally Posted by ranchak View Post
    I have tried the Oi-TC PP, along with a bunch of the other PP for Fanuc OTC, OTB, Generic, etc. None of them will work. I have a call into BC right now, unfortunately my machine manufacturer is no longer in business.
    The Posts won`t work "out of the box", this is a common mistake that many folks make, Oh well it says Fanuc 0T-C so it should work, what people don`t seem to understand is that the MTB (Machine Tool Builder) has the Fanuc control setup to suit his machines so what is required is some code from the machine that is known to work, we can all then work from that to make the PP output what is needed.

    Another thing, you say the code is "not what the machine wants", fair enough but what alarms do you get when you try to upload the code or run it, Fanuc will tell you what is wrong, it is very good that way, it has an "error message" for just about everything under the sun

    So, what messages is the control giving you is a good starting place

    P.S. have you tried the code I posted in the machine ? ? ?

    Regards

  5. #5
    Join Date
    Sep 2007
    Posts
    356
    Rob, your G code doesn't work, I get an Alarm 011, no feedrate commanded.

    I have gotten all sorts of error codes depending on which PP I have used:

    009
    010
    011
    071
    073
    074


    This is the closest to working:


    %
    O0001
    N1 G20 G40
    N2 ()
    N3 T0101
    N4 G96 S100 M03
    N5 M08
    N6 G00 X2.75 Z-0.04
    N7 G01 G42 X0.2 F0.015
    N8 G01 G40 X0.
    N9 G00 Z5.
    N10 G00 X10.
    N11 G00 X2.75 Z-0.05
    N12 G01 G42 X1.25 F0.015
    N13 G01 X0.2
    N14 G01 G40 X0.
    N15 G00 Z5.
    N16 G00 X10.
    N17 M05
    N18 M09
    N19 G28 U0. W0.
    N20 M30
    %



    BUT the X moves are positive instead of negative, this also is not using a canned cycle. The spindle speed is also being ignored, OOPS I think that is the G96, should be G97. Or at least have a G50 for max spindle speed. I have contacted a guy at Fanuc who deals in the code side of things, he is contacting someone who deals with the Korean Machine tool builders. Hopefully we can make some progress soon.

  6. #6
    Join Date
    Jun 2008
    Posts
    1838
    Quote Originally Posted by ranchak View Post
    Rob, your G code doesn't work, I get an Alarm 011, no feedrate commanded.

    I have gotten all sorts of error codes depending on which PP I have used:

    009
    010
    011
    071
    073
    074


    This is the closest to working:


    %
    O0001
    N1 G20 G40
    N2 ()
    N3 T0101
    N4 G96 S100 M03
    N5 M08
    N6 G00 X2.75 Z-0.04
    N7 G01 G42 X0.2 F0.015
    N8 G01 G40 X0.
    N9 G00 Z5.
    N10 G00 X10.
    N11 G00 X2.75 Z-0.05
    N12 G01 G42 X1.25 F0.015
    N13 G01 X0.2
    N14 G01 G40 X0.
    N15 G00 Z5.
    N16 G00 X10.
    N17 M05
    N18 M09
    N19 G28 U0. W0.
    N20 M30
    %



    BUT the X moves are positive instead of negative, this also is not using a canned cycle. I have contacted a guy at Fanuc who deals in the code side of things, he is contacting someone who deals with the Korean Machine tool builders. Hopefully we can make some progress soon.
    The code is correct, the X moves should show as a positive until the machine goes past the X0 point which is the centre line of the spindle then the numbers chould start to show negative, looks like a simple 2 pass face cut, first cut taking 0.04 cut and then a 0.01 cut.

    Possible the feed rate needs to have a digit after the decimal point or it is just too high at F127. I didn`t look at the feed rate sorry

    The code is a bit odd, it doesn`t have a tool change call (M06) so I am assuming the control has been setup to do the M06 when a tool number is called, next, there is a G96 CSS (Constant Surface Speed) line but no line preceding it to invoke the CSS and set the rpm limit, it is normally a 2 line command in 0T-C, usually something like this

    N3 G50 S2000
    N4 G96 S365 M3

    I don`t have a Fanuc 0T-C manual here so you will have to list what the alarms are as I don`t have then down pat from memory

    I don`t have any Fanuc 0T control machines any more but I will try and find some of the old programs I ran on my machines, it may help

    Regards

  7. #7
    Join Date
    Jan 2013
    Posts
    9

    Re: Fanuc OTc Post Processor

    pls some givme post for fanuc 0TC?

Similar Threads

  1. Post processor for Fanuc 0-MD
    By Paul T in forum FeatureCAM CAD/CAM
    Replies: 2
    Last Post: 12-20-2014, 07:02 PM
  2. Replies: 10
    Last Post: 03-02-2013, 05:00 AM
  3. post processor fanuc 18i mb5 and fanuc 180i Ma
    By nickargas in forum PTC Pro/Manufacture
    Replies: 1
    Last Post: 02-27-2013, 11:54 AM
  4. Fanuc 5T Post Processor
    By cre8tunes in forum Fanuc
    Replies: 3
    Last Post: 04-14-2007, 12:56 AM
  5. I need a post processor for Fanuc O-T
    By alikatcraig in forum Fanuc
    Replies: 2
    Last Post: 02-12-2007, 10:17 PM

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
  •