Specifications

App5-40 Appendix 5 Ethernet
Get Error Contents
int HKEtn_GetLastError()
Error codes and solutions
Code Contents Solution
1 Undefined command (receive timeout) Check the command.
2 Undefined IP address Check the IP address.
3 Target station busy Reduce the frequency of communications.
4 Illegal packet bytes Check response processing at the target station.
5
Packet bytes exceed the maximum
number.
Reduce the send packet size.
6 Local mode error Check that the target station is in the RUN mode.
7 Preparing for communications
Start communications when the target station is
ready.
8 Communication failure – Cannot access Check the target station.
9 Cannot process due to short memory Check the memory space at the target station.
10 Illegal received data Check the command.
20 Socket initialization error Check parameters for initialization.
50
Requested packet byte exceeds the
maximum number.
Reduce the requested size.
51 Address error Check the requested memory type.
52 Communication failure – Cannot access Check the target station.
54 Write protected Check write-protection of the card.
55 Cannot process due to short memory Check the memory space at the target station.
56 Sampling buffer error Check the command.
100 Processing another command Continue retrying.
101 Command control – Buffer over Reduce the frequency of communications.
120 Communications aborted by the user Communications are forcibly aborted.
121 Received during command processing Reduce the frequency of communications.