In the request or response PDU, Link Status bit 0 indicates TCP (0) or UDP (1). In the request PDU, Link Status bit 1 indicates a continuation of the Current Association (0) or the start of a New Association (1).

Here is an example of a pair of requests where a DNP over TCP connection was established with a client at IP Address 1.2.3.4, port 20000. The first TCP frame transmitted 7 bytes in the stream, con- taining part of a DNP frame. The first request indicates the start of new association and passes the TCP connection information and passes the 7 bytes received. The first response includes no response meant for the network. The second TCP frame transmitted 5 additional bytes in the stream, containing the remainder of the first DNP frame and the start of a second. The second request indi- cates the continuation of the association, passes the TCP connection information and the additional 5 bytes received. The second response acknowledges the second request and contains the response for the first DNP frame, which is meant to be returned in the TCP.

Request PDU

Field Name

(Hex)

Address

0x001

Function

0x042

Status

0x002

IP Add Quad 1

0x001

IP Add Quad 2

0x002

IP Add Quad 3

0x003

IP Add Quad 4

0x004

Client Port Hi

0x04E

Client Port Lo

0x020

Byte Count Hi

0x000

Byte Count Lo

0x007

DNP octet

0x005

DNP octet

0x064

DNP octet

0x005

DNP octet

0x0C0

DNP octet

0x001

DNP octet

0x000

DNP octet

0x00A

Checksum (CRC1)

0x05A

Checksum (CRC2)

0x045

DNP Field

Name

Start

Start

Length

Control

Destination Lo

Destination Hi

Source Lo

Response PDU

 

Field Name

(Hex)

DNP Field

Name

 

 

Address

0x001

 

Function

0x042

 

Status

0x000

 

IP Add Quad 1

0x001

 

IP Add Quad 2

0x002

 

IP Add Quad 3

0x003

 

IP Add Quad 4

0x004

 

Client Port Hi

0x04E

 

Client Port Lo

0x020

 

Byte Count Hi

0x000

 

Byte Count Lo

0x000

 

Checksum (CRC1)

0x0A4

 

Checksum (CRC2)

0x01B

 

1-10

Page 26
Image 26
GE EPM 9650/9800 manual Request PDU, Response PDU Field Name Hex DNP Field