Home Button  Buy Button 

Topic:   Buffer overflow

By: MilanPosted on: Oct 31 2007 at 11:12:07 PM
I have Fanuc 11MF, your trial version and i have problem with buffer overflow. Parameters on Fanuc are
5001 1
5002 2
5003 3
5110 4
5111 2
5112 9 (2400)
5120 4
5121 2
5122 9
5130 4
5131 2
5132 9
TV Check 0 (off)

Flow control on easyDnc is RTS-CTS.
When i start to send on easyDnc appear small window "Waiting for CNC" then i must press "cicle start" on fanuc and Machine start. Computer send program and then stop and on easyDnc appear "Waiting for CNC". The Machine stil work and then stop on Fanuc appear "Buffer overflow"
Wiering is DTE (first example from your User guide) Fifo is disabled.

Please help me!

By: JanMPosted on: Nov 1 2007 at 07:03:36 PM
Some Fanucs will only dripfeed using XonXoff flow control.

Set easyDnc`s flow control to XonXoff (you don`t need to use XonXoff-Wait)

Hit Cycle Start on the Fanuc. The fanuc won`t do anything.

Then go to easyDnc and click Send.

As the data is sent the fanuc will start working.

By: MilanPosted on: Nov 1 2007 at 07:53:14 PM
I allready tryed and i have the same problem "Buffer overflow"

By: SupportPosted on: Nov 3 2007 at 02:42:19 PM
If you`re using a USB port or other intelligent `add-on` adapter then there`s a chance that the transmit buffers of that device are big and, even after easyDnc has stopped sending, the data from the transmit buffer is still flowing causing the overflow.

By: MilanPosted on: Nov 3 2007 at 10:44:01 PM
I have tryed today to slow baud rate to 300. Fanuc and computer handshaking in Rts-Cts mode but when i slowdown machine i have again "Buffer overflow".Fanuc and computer handshake 6-7 times before"Buffer overflow"

By: SupportPosted on: Nov 4 2007 at 06:20:11 PM
When using XonXoff the flow control is handled by MS Windows which can sometimes be a little lethargic causing buffer overflow as you describe.

But when running with RTS/CTS the flow control is handled by the UART (The micro-chip) behind the Com port. This is very efficient and a bufferoverflow would rarely, if ever, occur unless there was a fault with the cable or setup in the CNC.

Many fanucs won`t use RTS/CTS when drip feeding but you say that it handshakes 6 or 7 times before the overflow occurs (data flow stops and starts 6 or 7 times indicating that flow control is indeed working)

Check the cable make sure there`s not a bad joint causing intermittent flow control errors.

On a 25pin connector the RTS/CTS are pins 4 and 5. On a 9 pin connector the RTS/CTS pins are 7 and 8. Make sure they`re connected end to end and not frayed or loose.

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:- Buffer overflow


Enter the numbers.

Your name here is optional