02.02.2018 Views

Practical_modern_SCADA_protocols_-_dnp3,_60870-5_and_Related_Systems

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

94 <strong>Practical</strong> Modern <strong>SCADA</strong> Protocols: DNP3, <strong>60870</strong>.5 <strong>and</strong> <strong>Related</strong> <strong>Systems</strong><br />

STATION<br />

A<br />

STATION<br />

B<br />

FCB=1<br />

FCV=1<br />

P3<br />

Expected FCB = 1<br />

Ind = Positive<br />

S0<br />

Ind = Data<br />

Expected FCB = 0<br />

FCB=0<br />

FCV=1<br />

P3<br />

Ind = Positive<br />

S0<br />

Ind = Data<br />

Expected FCB = 1<br />

Function Code Key<br />

P0 Reset Link<br />

P1 Reset User Process<br />

P2 Test Link<br />

P3 User Data - Confirm Expected<br />

P4 User Data - No Confirm<br />

P9 Request Link Status<br />

S0<br />

S1<br />

S11<br />

S14<br />

S15<br />

Confirm - ACK<br />

Confirm - NACK<br />

Link Status<br />

Non Functioning<br />

Not Implemented<br />

Figure 5.15<br />

User data<br />

The diagram shows the transmission of two consecutive user data frames by the<br />

primary station. On the successful receipt of the first user data frame an ACK (confirm–<br />

acknowledge) response is sent by the secondary station. The station also indicates the<br />

receipt of user data <strong>and</strong> toggles the expected FCB. On receipt of the confirmation by the<br />

primary, the FCB flag is toggled <strong>and</strong> another user data frame is sent.<br />

In the event of an error in the received message, the frame is ignored <strong>and</strong> therefore<br />

no confirmation is sent. In this case the primary will re-send the message after an appropriate<br />

re-try delay time.<br />

Unconfirmed send user data<br />

This procedure is used for sending user data without requiring confirmation from the<br />

secondary station. It may be used where the data is of low priority. The advantage is that<br />

data can be transmitted at a greater rate, thus providing a better use of b<strong>and</strong>width.<br />

However, the disadvantage is that errors in transmission will result in lost frames.<br />

A frame found to have an error (by CRC checking) will be rejected by the secondary<br />

station, but as no confirmation was expected by the primary there will be no way for the<br />

primary to know that the message was unsuccessful.<br />

Summary<br />

• Used for low priority user data<br />

• No confirmations are sent by secondary<br />

• More efficient use of b<strong>and</strong>width

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!