294
15.3.5 Socket communication function
For the details on the socket communication function, refer to the following.
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
(1) The connected device cannot receive data
If data is not delivered to the target device, check the following items.
(2) Data cannot be received
If the CPU cannot receive data from the connected device, check the following items.
(3) The open processing is not completed
If the open processing is not completed, check the following items.
(a) Passive open
(b) Active open
Check item Corrective action
The connection has not been opened yet.
(Check the corresponding bit in SD1282.)
Wait until the connection is completed.
An error is detected in Ethernet diagnostics. Remove the error cause.
A parameter or a setting data for SOCOPEN is incorrect. Correct the parameter or setting data.
The SOCSND instruction is not executed. (Check the start
contact and error completion device.)
Correct the execution condition, or remove the error cause
that is identified by the error code in the completion status
area of the SOCSND instruction.
The connected device has an error. Correct the error of the connected device.
Check item Corrective action
The connection has not been opened yet.
(Check the corresponding bit in SD1282.)
Wait until the connection is completed.
An error is detected in Ethernet diagnostics. Remove the error cause.
A parameter or a setting data for SOCOPEN is incorrect. Correct the parameter or setting data.
The SOCRCV instruction was not executed. (Check the start
contact and error completion device.)
Correct the execution condition, or remove the error cause
that is identified by the error code in the completion status
area of the SOCOPEN instruction.
The connected device has an error. Correct the error of the connected device.
Check item Corrective action
The parameter is incorrect. Correct the parameter.
The connected device has an error. Correct the error of the connected device.
Check item Corrective action
An error is detected in Ethernet diagnostics. Remove the error cause.
A parameter or a setting data for SOCOPEN is incorrect. Correct the parameter or setting data.
The SOCRCV instruction was not executed.
(Check the start contact and error completion device.)
Correct the execution condition, or remove the error cause
that is identified by the error code in the completion status
area of the SOCRCV instruction.
The connected device has an error. Correct the error of the connected device.