Return |
Meaning |
|||
EW_SOCKET (=-16) |
Socket API related error. |
|||
err_no |
Meaning |
err_dtno |
||
1 |
Error of socket API function |
Return value of Windows API WSAGetLastError function. |
||
2 |
Error of connect API function |
|||
3 |
Error of send API function |
|
|
|
4 |
Error of recv API function |
|
|
|
5 |
Error of select API function |
|
|
|
6 |
Error of setsockopt API function |
|
|
|
7 |
Error of gethostbyname API function |
|
|
|
8 |
Timeout error of send API function |
Where the error is occurred. |
||
|
|
|
1 |
At sending request |
|
|
|
2 |
At sending data of download |
9 |
Timeout error of recv API function |
Where the error is occurred. |
||
|
|
|
1 |
At receiving request header |
|
|
|
2 |
At receiving request data |
|
|
|
3 |
At canceling upload data |
|
|
|
4 |
At receiving data of upload |
|
|
|
5 |
At starting or finishing the communication |
10 |
Error of Winsock API is occurred in other process |
Always 0. |
||
11 |
EOF (end of file) detected |
Where the error is occurred. |
||
|
|
|
1 |
At send API function |
|
|
|
2 |
At recv API function |
Return |
Meaning |
|||
EW_PROTOCOL (=-17) |
Violation of the protocol. |
|||
err_no |
Meaning |
err_dtno |
||
1 |
The send data is larger than the maximum transfer unit. |
Always 0. |
||
2 |
The sending data size is illegal. |
|
|
|
3 |
The number of the recieved packet is 0. |
|
|
|
4 |
The mark of the protocol is incorrect in the received packet header. |
|
|
|
5 |
The packet type flag is incorrect in the received packet header. |
|
|
|
6 |
The flag of the direction is incorrect in the received packet header. |
|
|
|
7 |
Illegal received data size. |
The detail information is shown. |
||
|
|
|
1 |
The received data size is larger than the maximum transfer unit. |
|
|
|
2 |
The received data size is incorrect at start of communication. |
|
|
|
3 |
The data size of the received packet is less than 2 bytes. |
|
|
|
4 |
The sum of data blocks of the received packet is larger than all packet size. |
|
|
|
5 |
The sum of data blocks of the received packet is smaller than all packet size. |
8 |
Communication error in the Ethernet Board |
Error code of the Ethernet Board |
||
|
|
|
2 |
The personal computer would establish over limited connection. See "Communication with Ethernet Board" in the GE Fanuc documentation for details. |
Error handling. |