Tcp Socket Problems - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

Troubleshooting Procedures

10-5-4 TCP Socket Problems

General Problems
1,2,3...
Opening Problems
1,2,3...
Closing Problems
Reception Problems
1,2,3...
Most of the initial steps in these procedures are in question form. Continue in
sequence until a "True" answer tells you to jump to a specified step or until you
are told to perform a specific action that corrects the problem. If performing
the action does not correct the problem, return to the beginning of the proce-
dure and start over.
1. Go through the procedure in 10-5-2 FINS Communications Problems
(SEND(090)/RECV(098)/CMND(490)) before starting this procedure.
2. Is the response code a value other than 0000?
True ➨ Go to 10-6 Troubleshooting with Response Codes on page 207.
3. Is the response code in the results storage area a value other than 0000?
True ➨ Go to 10-7 Results Storage Area Response Codes on page 210.
(There will be no response code in the results storage area if Sock-
et Service Request Switches are being used.)
4. Read controller status using the FINS command READ CONTROLLER
STATUS.
5. Have any send collisions occurred?
True ➨ There may be too much traffic going on the network. Reduce net-
work traffic.
6. Go to 10-5-6 Network Connection Problems on page 203.
1. Are you attempting an active open?
True ➨ Step 3.
2. Is the passive open not finishing?
True ➨ Use an active open at the remote node.
3. Is the response code in the results storage area a value other than 0049?
True ➨ Step 6.
4. Read socket status using the FINS command READ SOCKET STATUS.
5. Does the port number being used exist at the local node?
True ➨ Make sure that the same port number is not being used simulta-
neously by more than one process, including FTP services.
Sockets can remain in ESTABLISHED or some later status even if
closed; be sure to close ports from both sides of the connection.
A socket can remain open in TIME WAIT status for up to one
minute on the side that closes the socket first; we recommend that
the active-side port number be set to 0 and that you close the
socket from the active side. If you are using the Socket Service Re-
quest Switches, check the response code to see if it is 0049 Hex.
6. Return to General Problems on page 199.
Refer to General Problems on page 199.
1. Is reception processing not finishing?
True ➨ Step 6.
2. Is the remote node not processing to send data?
Section 10-5
201

Advertisement

Table of Contents
loading

Table of Contents