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.

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

Figure 9.1 shows the general sequence of initialization for the controlling station. After<br />

the start of initialization, the link layer communications services will become established<br />

by synchronizing across the link with controlled stations. This may occur before the<br />

application level functions are fully initialized. When all application level functions are<br />

available general interrogation <strong>and</strong> other functions are commenced. In the example<br />

the controlling station commences a general interrogation following initialization from<br />

‘cold’. In this case it has no controlled station data <strong>and</strong> so it must obtain the state of<br />

all process data.<br />

Controlling Station<br />

Functions<br />

Reset rem ote<br />

station request<br />

C_RP<br />

Controlled Station<br />

Functions<br />

Start of Initialisation<br />

Communications<br />

R eady<br />

Controlled Station<br />

Initialised<br />

M_EI<br />

Station<br />

Ready<br />

Figure 9.2<br />

General sequence for controlled station initialization<br />

Figure 9.2 shows the initialization sequence for a controlled station. In this case a reset<br />

process comm<strong>and</strong> ASDU is transmitted by the controlling station to the remote controlled<br />

station. This resets the local station. Only after the link communications <strong>and</strong> all application<br />

level functions are available is the end of initialization M_EI ASDU transmitted to the<br />

controlling station.<br />

An end of initialization ASDU must be transmitted by each controlled station following<br />

its own initialization. In the case of multiple logical remote units in one physical device,<br />

each must transmit a separate end of initialization ASDU. In this case there is one link<br />

layer address, but more than one common address of ASDU for the device.<br />

Link layer function<br />

The link layer function has been presented elsewhere in this text <strong>and</strong> so only a brief review<br />

is noted here. The link layer services are responsible for establishing the link, <strong>and</strong> they<br />

proceed to do this immediately after being powered up or reset. On an unbalanced link,<br />

the primary station repeatedly sends ‘request status of link’ until it gets a ‘status of link’<br />

response. It then sends a ‘reset of remote link’ which synchronizes the frame count<br />

bit (FCB) across the link. Once this sequence is completed the link is available for<br />

communication services to the application layer. Balanced communications are basically<br />

two unbalanced links operating in opposite directions, <strong>and</strong> so the synchronization process<br />

occurs independently for each direction.

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

Saved successfully!

Ooh no, something went wrong!