Sharp TCP/IP Communications Troubleshooting

Please check the CIMPLICITY Status Log Viewer first if you encounter problems with your device communications. It often provides helpful hints on communication problems that you might encounter, especially during initial configuration.

This section lists some of those messages, and where appropriate, actions you can take to resolve the problems that cause them.

Other messages for this communications option may also appear in the CIMPLICITY Status Log Viewer. If you need help interpreting the messages in the CIMPLICITY Status Log Viewer, please contact the CIMPLICITY Technical Support Hotline.

Skip Polling

Skipping polling around <POINT ID> because request is already pending.


The Scan Rate you selected is faster than the data can be collected.

This is not an error.

Gethostname for <hostname> failed ­ errno <number>


The host name and socket port number entered in the TCP/IP property tab are not configured in your host file.


To resolve this problem, configure the host name into your computer system as described in step 5 of the Sharp PLC Communications Configuration Checklist. Remember that the names or aliases must match exactly.

Unable to Get A Socket

Unable to get a socket ­ errno = <number>


You do not have enough sockets in your system.


Contact your system administrator for help in tuning the operating system.

Bind Failed

Bind() for <hostname> port <port number> failed ­ REFUSED


You can get this message under any of the following circumstances:

You have not properly configured the socket port number within your CIMPLICITY application with that configured on the PLC.

At startup, another application is using your port or the socket has not cleared from a previous use.

The CIMPLICITY configuration for the device is inconsistent with that of the programmable controller.


To determine if the socket is in use, open a Command Prompt window from the project's Workbench, then type the following command:


Under "Foreign address", find the line with your configured <PLC_name>:<Port_number> combination. If the last column says TIME_WAIT, the connection was previously in use and is in the process of cleaning up. No further action is needed.

If the last column says ESTABLISHED, the socket port is in use. Check to make sure that you do have a connection (you can usually tell by examining the LEDs on your programmable controller's Ethernet card). If you do not have a connection, contact your system administrator for assistance in locating the application using the port.

If the command yields no information, this usually indicates that the IP address or socket port number configured on the computer does not match the configuration in the programmable controller. Review the configuration on both the computer and programmable controller and correct the mismatch.

More information

About Sharp TCP/IP Communications.