Rockwell Automation 1766-Lxxxx MicroLogix 1400 Programmable Controllers User Manual User Manual

Page 348

Advertising
background image

308

Rockwell Automation Publication 1766-UM001H-EN-P - May 2014

Appendix F MicroLogix 1400 Distributed Network Protocol (DNP3)

Word offset 7, 27 and 47 reflect the Error Codes that have been caused in the
sessions for DNP3 TCP Server, UDP and TCP Client respectively. The
following table lists the possible ranges of the Error Code. Any others are
reserved.

73

Transport Function Layer Error Codes:
0: NO_ERROR - No error found in the Transport Layer.
1: DISCARD_NOT_FIRST_SEG - The received packet was discarded
since it was not a first segment.
2: DISCARD_DUPLICATED_AND_MORE_SEG - The received packet
was discarded since it had the same sequence number as previous,
more segments are expected.
3: DISCARD_DUPLICATED_AND_FINAL_SEG - The received packet
was discarded since it had the same sequence number as previous,
final segment received.
4: DISCARD_OUT_OF_ORDER_SEG - The received packet was
discarded since the sequence number was out of order.

74

Transport Layer Error Count

75

Reserved

76

Reserved

77

Reserved

78

Reserved

79

Reserved

80

Reserved

Data File for Troubleshooting

Word Offset

Description

Category

Error Codes

Value (DEC)

Mnemonic

Description

0

NO ERROR

No error found.

1

ERR_SOCKET_CREATE

Socket error during Create operation.

2

ERR_SOCKET_LISTEN

Socket error during Listen operation.

3

ERR_SOCKET_BIND

Socket error during Bind operation.

4

ERR_SOCKET_ACCEPT

Socket error during Accept operation.

5

ERR_SOCKET_CONNECT

Socket error during Connect operation.

6

ERR_SOCKET_SEND

Socket error during Send operation.

7

ERR_SOCKET_RECEIVE

Socket error during Receive operation.

8

ERR_SOCKET_UNLISTEN

Socket error during Unlisten operation.

9

ERR_SOCKET_UNBIND

Socket error during Unbind operation.

10

ERR_SOCKET_UNACCEPT

Socket error during Unaccept operation.

11

ERR_SOCKET_DISCONNECT

Socket error during Disconnect operation.

12

ERR_SOCKET_DELETE

Socket error during Delete operation.

13-14

Reserved

-

15

ERR_QUE_FULL

Firmware use only

16

ERR_BUFFER_ALLOC

Firmware use only

17

ERR_PACKET_ALLOC

Firmware use only

Advertising
This manual is related to the following products: