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.

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

8.6.3 Time information elements<br />

The following information elements from Table 8.15 are presented in this sub-section.<br />

Symbol<br />

CP56Time2a<br />

CP24Time2a<br />

CP16Time2a<br />

Table 8.15 Extract D<br />

Comm<strong>and</strong> information elements<br />

Description<br />

Seven octet binary time<br />

Three octet binary time<br />

Two octet binary time<br />

CP56Time2a – Seven-octet binary time<br />

Seven-octet binary time is used for clock synchronization. Note that although days of the<br />

week are defined, these are not used <strong>and</strong> are set to zero.<br />

7 6 5 4 3 2 1 0<br />

Day of week = 0<br />

Minutes<br />

Hours<br />

Day of month<br />

Month<br />

Year<br />

Octet Range<br />

1<br />

0 .. 59 999 ms<br />

2<br />

3 0 .. 59 min<br />

4 0 .. 23 h<br />

5 0, 1 .. 31<br />

6 1 .. 12<br />

7 0 .. 99<br />

CP24Time2a – Three-octet binary time<br />

This is typically used for time tags of information objects. It is the first three octets of the<br />

seven-octet binary time element.<br />

7 6 5 4 3 2 1 0<br />

Milliseconds ms<br />

Minutes<br />

Octet Range<br />

1<br />

2<br />

0 .. 59 999 ms<br />

3 0 .. 59 min<br />

CP16Time2a – Two-octet binary time<br />

This is used for elapsed times such as for relay operating time. It is the first two octets of<br />

the seven octet-binary time element.<br />

7 6 5 4 3 2 1 0<br />

Milliseconds ms<br />

Octet<br />

1<br />

2<br />

Range<br />

0 .. 59 999 ms

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

Saved successfully!

Ooh no, something went wrong!