Home Button  Buy Button 

Topic:   Flow Control on a Fanuc 15M

By: WMTIPosted on: Oct 9 2013 at 01:33:03 PM
I am trying to get EasyDNC 5 to work with a Fanuc 15M control that we have at our shop and I am having issues where about 60 lines through the program I get "SR824 BUFFER OVERFLOW (1)" error on the machine control. Below is the current setup and thanks in advance for any help, it would be greatly appreciated.

PIN Layout
9 PIN (2) – 25 PIN (2)
9 PIN (3) – 25 PIN (3)
25 PIN (4 & 5 are joined)
9 PIN (5) – 25 PIN (7)
25 PIN (8 & 20 are joined)

Easy DNC Settings
Baud/Data Rate: 9600
Data Bits and Parity: 7 Even Parity
Stop Bits : 1
Flow Control : Xon/Xoff
End of Block : CRLF
TX Timeout : Never
Block Delay : 200

Windows Com Port Settings
Bit Per Second : 9600
Data Bits : 7
Parity : Even
Stop Bits : 1
Flow Control : Xon/Xoff
Use FIFO Buffers : Turned Off


Hopefully someone can help me figure this out and much thanks in advance.





By: GuestPosted on: Oct 9 2013 at 10:21:41 PM
With an easyDnc block delay of 200 it means you're only sending max 5 lines per second. That is slow. Very slow so its strange that you're still getting an overflow.

I'd suggest lowering the baud rate. Perhaps even as low as 2400. Not saying you should stay that slpw but just test set the cnc amd easyDnc to 2400 and see what happens. You should be able to run ok at 2400 with a much smaller block delay

By: WMTIPosted on: Oct 10 2013 at 02:24:19 PM
I also tried the pin layout that was shown on the website and it didn't work. I will try lowering the baud rate but it will only delay the problem. Flow control is not working properly and I thought maybe is was due to my pin layout. Any ideas?

By: GuestPosted on: Oct 11 2013 at 07:18:30 PM
XonXoff flow control is software flow control so is not affected by pinouts.

You listed the com port settings in Windows and in easyDnc. The windows fifo should be disabled but all other com port settings in windows are not relevant and will be ignored. The settings in easydnc will be used.

You didn't show what settings you have in the Fanuc. The Fanuc 15 has a settings for DVC type. Some types will disable dc codes. You need to be using a dvc type that uses dc codes. (DC codes are another name for xonxoff flow control)

By: kruugPosted on: Jan 24 2014 at 05:43:37 PM
I'm having a similar issue. On our Fanuc, it came back with:

Baud/Data Rate: 9600
Data Bits and Parity: 8 Even Parity
Stop Bits : 2
Flow Control : Xon/Xoff

If nothing else, this should get you around 360 lines. That's where I'm stuck at now.

By: GuestPosted on: Jan 30 2014 at 06:25:36 PM
Use 7 bits even. Not 8bits Even.

Disable Windows FIFO (Control Panel > System > device manager > Com Ports)
Increase DNC Block delay in the DNC setup

By: WMTIPosted on: Feb 6 2014 at 02:41:35 PM
I had some strange results where with one PC no matter what I did flow control would not work but with another PC with the identical settings it did work. I even added a third party RS232 PCI card and still had the same results on the problematic PC. I check and recheck drivers and settings but still had the same results. My question is there specific RS232 cards that do not work very well with flow control?

Not sure if there is something else I should consider.

By: IanPosted on: Feb 6 2014 at 03:26:33 PM
When you send to the CNC the DNC software shows a progress bar that scrolls left to right from 0 to 100%

When the CNC throws a buffer overflow alarm does the DNC Software stop feeding data as soon as the alarm is thrown or does it keep running up to 100%

1. If the progress bar stops then flow control 'IS' being recognized but not quick enough. Disabling FIFO, Increasing block delay, Decreasing Baud rate should prevent the alarm.

2. If the progress bar ignores the CNC alarm and keeps scrolling all the way to 100% then it looks as though flow control was not being recognized at all.

Which of those is it ?

By: WMTIPosted on: Feb 6 2014 at 04:17:29 PM
One more thing when I do get flow control missing I sometimes see missing characters. Is there something I can do to prevent this?

By: supportPosted on: Feb 7 2014 at 06:44:48 AM
Non working flow control will of course cause data loss.

You didn't answer Ian's above questions.

Reply - add a comment to this topic.

You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.

Topic:- Flow Control on a Fanuc 15M


Enter the numbers.

Your name here is optional