Use the search and browse feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Search Solutions Results By: View All Solutions

Kepware Knowledge Base: Solution

Resolving 'Communications error on COMn [***O***]'

Last Update: 11/12/2018

Possible Cause:
This is a character buffer overrun error.

To resolve the error, refer to the instructions below.

  1. Open the Windows Device Manager. Then, click Ports | <the COM port in question> | Port Settings | Advanced.
  2. Next, decrease the Receive Buffer one notch from the maximum.
  3. Restart the computer. The new setting will not take effect until the computer has been restarted.
  4. Continue to decrease the Receive Buffer until the buffer overruns stop occurring.

Note: Do not automatically set the Receive Buffer to 1. It needs to be as high as possible without causing buffer overruns.

Related Products