Fanuc PS0087 issue, need a hand
Close
Login to Your Account
Results 1 to 16 of 16
  1. #1
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default Fanuc PS0087 issue, need a hand

    Need some help with Drip feeding error PS0087 on a Fanuc OiMD. I've been able to send / recieve programs to the control fine from my PC running the DNC program with OneCNC. Today I have a large program to run, larger than the memory in the CNC, so I tried to drip feed it. All was fine in the communication end, PC and control act as they should, but part ways into the program, alarm PS0087, buffer overflow popped up. Off to google, and I did a bunch of reading, learned about FIFO, but when I go into the PC device manager, go to properties / advanced for the COM port I am using (COM3, which is a PC card, not using a USB to RS232) but I cannot see anything that says FIFO... PC is a windows 10 model, maybe that has something to do with it?

    I can drip feed a small program just fine, but the longer one alarms out.

    I have the settings:
    COM3
    Baud: 9600
    Data Bits: 7
    Stop Bits: 2
    Parity: EVEN
    Start at machine
    Flow control - XON/XOFF

    I can watch on the PC screen and it definitely stops sending the program at intervals, then feeds more, and stops again, etc... but I did not have eyes on the PC screen when the alarm comes up.

    Seems like my cable is good, the settings are OK... its just the buffer issue... any ideas?

    thank you!!

  2. #2
    Join Date
    Nov 2014
    Country
    UNITED STATES
    State/Province
    Virginia
    Posts
    244
    Post Thanks / Like
    Likes (Given)
    28
    Likes (Received)
    69

    Default

    I would have to look in my fanuc book to be sure what your alarm is for but aside from that here’s my best guess. Your N#s have exceeded 10,000. Try removing your line numbers. You don’t need them anyway. My DNC program has a “delete/renumber line numbers” function.

  3. #3
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by vmipacman View Post
    I would have to look in my fanuc book to be sure what your alarm is for but aside from that here’s my best guess. Your N#s have exceeded 10,000. Try removing your line numbers. You don’t need them anyway. My DNC program has a “delete/renumber line numbers” function.
    Sorry, I left that out, the alarm says buffer overload

  4. #4
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by vmipacman View Post
    I would have to look in my fanuc book to be sure what your alarm is for but aside from that here’s my best guess. Your N#s have exceeded 10,000. Try removing your line numbers. You don’t need them anyway. My DNC program has a “delete/renumber line numbers” function.
    I know my Fagor would alarm out with more than 10,000 lines... and you may be on to something there. Tho I have not seen anyone mention it in my searches today, seems centered on either the baud rate or the FIFO setting on the PC.

  5. #5
    Join Date
    Apr 2005
    Location
    Beaverdam, Virginia
    Posts
    9,161
    Post Thanks / Like
    Likes (Given)
    1166
    Likes (Received)
    4671

    Default

    That sounds like an MTB alarm. What are you doing that is using 10,000 lines? How much of your program is getting in before it alarms out? Is it possible you could use some sub programs to cut down on the lines of code?

  6. #6
    Join Date
    Jan 2014
    Country
    UNITED STATES
    State/Province
    Washington
    Posts
    5,291
    Post Thanks / Like
    Likes (Given)
    956
    Likes (Received)
    2923

    Default

    Safest thing to do would be to get a cable that is set up for hardware handshaking and switch to hardware flow control rather than XON/XOFF in your PC software. A pretty easy way to see if your software is not responding quickly enough to the Fanuc issuing the XOFF is to add a few mS of line pacing in the PC software settings. If you get no or reduced occurrences of PS087 the it is a flow control issue.

  7. #7
    Join Date
    Nov 2014
    Country
    UNITED STATES
    State/Province
    Virginia
    Posts
    244
    Post Thanks / Like
    Likes (Given)
    28
    Likes (Received)
    69

    Default

    For the record it’s a P/S 003 alarm I get for the 10000 lines thing. Red herring. Sorry.

  8. #8
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by Dualkit View Post
    That sounds like an MTB alarm. What are you doing that is using 10,000 lines? How much of your program is getting in before it alarms out? Is it possible you could use some sub programs to cut down on the lines of code?
    Ok, I’ll look into that. Some of our work is heavy in 3D contouring, so the lines of code add up quick. Thanks

  9. #9
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by Vancbiker View Post
    Safest thing to do would be to get a cable that is set up for hardware handshaking and switch to hardware flow control rather than XON/XOFF in your PC software. A pretty easy way to see if your software is not responding quickly enough to the Fanuc issuing the XOFF is to add a few mS of line pacing in the PC software settings. If you get no or reduced occurrences of PS087 the it is a flow control issue.
    I will look into adding line pacing. I think I saw something in the settings area for the dnc program. Also thanks for the tip on hardware handshaking. I will look into that also. The Cnc tech had re-pinned my cable when the machine was set up, not sure what pinout it is.

  10. #10
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by vmipacman View Post
    For the record it’s a P/S 003 alarm I get for the 10000 lines thing. Red herring. Sorry.
    Thanks for clearing that up

  11. #11
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by Vancbiker View Post
    Safest thing to do would be to get a cable that is set up for hardware handshaking and switch to hardware flow control rather than XON/XOFF in your PC software. A pretty easy way to see if your software is not responding quickly enough to the Fanuc issuing the XOFF is to add a few mS of line pacing in the PC software settings. If you get no or reduced occurrences of PS087 the it is a flow control issue.
    Looks like my software allows "TIMING - LINE DELAY (mSec)" so I'll give that a try.

    Others in my boat have slowed the BAUD and reported success, while some have changed the FIFO setting, which is eluding me, but this thread may shed light on the fact that newer PC operating systems (in his case Windows 7, and in mine Windows 10) have eliminated the ability to easily change the FIFO settings, and have to go into the Registry Editor, which is maybe above my pay grade.

    https://social.technet.microsoft.com...w7itproinstall

    I'd try another computer, like maybe a windows XP unit, but that would land me in another boat whereas the DNC program I'm using is part of OneCNC, and requires a dongle, that I don't want to get into the dongle swap back and forth.

    Always something.

  12. #12
    Join Date
    Jan 2014
    Country
    UNITED STATES
    State/Province
    Washington
    Posts
    5,291
    Post Thanks / Like
    Likes (Given)
    956
    Likes (Received)
    2923

    Default

    You only want to try the line delay for troubleshooting purposes. Same with slowing the Baud rate. Either one reduces the data throughput and will force you to use slower feeds or have the machine data starve which will affect surface finish. Either one is not a fix, just a cover up of the underlying issue which is your DNC software and O/S not reacting quickly enough to the XOFF character sent by the CNC. Switching to hardware flow control removes the software from the picture.

  13. Likes rb1 liked this post
  14. #13
    Join Date
    Jan 2019
    Country
    UNITED STATES
    State/Province
    Missouri
    Posts
    246
    Post Thanks / Like
    Likes (Given)
    68
    Likes (Received)
    59

    Default

    FiFo

    I had to get I.T. to doit here as it is also above my paygrade. But it did fix my 087 alarm.

  15. Likes rb1 liked this post
  16. #14
    Join Date
    Sep 2010
    Location
    Victoria Australia
    Posts
    3,918
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    1591

    Default

    Quote Originally Posted by rb1 View Post
    Need some help with Drip feeding error PS0087 on a Fanuc OiMD.
    PM Sent.

    Regards,

    Bill

  17. Likes rb1 liked this post
  18. #15
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Quote Originally Posted by angelw View Post
    PM Sent.

    Regards,

    Bill
    thank you, very informative, replied.

  19. #16
    Join Date
    Nov 2008
    Location
    AB, Canada
    Posts
    287
    Post Thanks / Like
    Likes (Given)
    8
    Likes (Received)
    3

    Default

    Slight update, no forward progress tho.

    With Generaldisarray chiming in, I followed that link for the FIFO registry changes, tho my Windows 10 does not have the same folders as the one in that post instructed, however I searched for RXfifo and TXfifo and found them. I changed the values from 40 on each to 1. Had no improvement, then... having to actually get work done, I dug out the CF card and struggled with getting that working, as I have never used it.

    Got that working so I ran my 550kb program, from the memory card, and on the last op, got a PS0003 too many digits alarm, HA! Just classic.

    I did not slow down the baud rate, or add msec delay yet... and vancbiker and angelw have given me a great lesson in handshaking, so next I'll jump down that rabbit hole,

    thanks so far all


Tags for this Thread

Bookmarks

Posting Permissions

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