02.02.2018 Views

Practical_modern_SCADA_protocols_-_dnp3,_60870-5_and_Related_Systems

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

event of message collision, where it can occur. Because DNP3 supports peer–peer<br />

communications, any station can act as a primary, or message initiator. Because of this,<br />

messages can be sent from two stations simultaneously, causing a collision.<br />

Before discussing the physical layer procedures, a brief review of the terminology is<br />

given in the following table.<br />

Simplex:<br />

Half duplex:<br />

Full duplex:<br />

Two-wire<br />

Four-wire<br />

Communications are in one direction only<br />

Two-way communication is possible, but only in one<br />

direction at a time. This is because only one<br />

communication path or channel is used. To effect<br />

communication a protocol for h<strong>and</strong>ing over the channel is<br />

required.<br />

Simultaneous two-way communication is possible. Two channels are<br />

provided to do this.<br />

A two-wire connection will provide one communication channel. A<br />

PSTN line is an example of this. Therefore, half-duplex<br />

communications only are possible via this channel.<br />

A four-wire connection will provide two channels, <strong>and</strong> is capable of<br />

supporting duplex communications.<br />

In the following procedures, the data carrier detect (DCD) indication is used to<br />

determine if the communications medium is free. Generally a time delay must be used to<br />

prioritize access to the channel once it has become free.<br />

5.3.5 Half-duplex procedures<br />

Direct link<br />

With a direct, or point-to-point link, the delay from DCD clear needs to be just sufficient<br />

to allow the master station to detect loss of DCD <strong>and</strong> begin transmission. Note that if a<br />

dial-up connection is being used, the DCD signal indicates the establishment of a link<br />

rather than the presence of data. In this case the RTS <strong>and</strong> CTS signals must be used. DNP3<br />

must assert the RTS signal <strong>and</strong> await the CTS signal before transmitting each frame.<br />

Multidrop link<br />

In the case of a multidrop link, time delays must be used to ensure that stations get access<br />

to the medium. This is accomplished by providing a back-off time made of a fixed delay<br />

plus a variable delay. These delay times are configurable by the user. Normally the master<br />

station will be given a zero fixed delay time, so that it can always gain access in a halfduplex<br />

environment. Prioritization of slave stations can be accomplished by this method.<br />

Again, the minimum delay must be long enough for the master station to be able to gain<br />

control of the medium before any outstation.

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

Saved successfully!

Ooh no, something went wrong!