Introduction

The BMENOP0300 module is a device that sends and receives data timestamped according to the IEC 61850 protocol. Some Mx80 ERT devices send and receive data timestamped according to the IEC60870 protocol.

To enable data transfer between devices that support different timestamp structures, you can use the following elementary functions in your program logic:

  • T850_TO_T870: This EF takes IEC60870 timestamped data (for example, data generated by the BMXNOR0200 module) and converts it to the more easily readable IEC 61850 format.

  • T870_TO_T850: This EF takes IEC 61850 timestamped data generated by the BMENOP0300 module and converts it to the IEC60870 format where it can be used by other Mx80 ERT devices.

T850_TO_T870 Representation in FBD

The following graphic depicts the T850_TO_870 function:

T850_TO_T870 Parameters

Parameter

Type

Description

Input parameters:

IN

TIME_850_FORMAT

the IEC61850 timestamp format

Output parameters:

OUT

TIME_870_FORMAT

the IEC 60870 timestamp format

T870_TO_T850 Representation in FBD

The following graphic depicts the T870_TO_T850 function:

T870_TO_T850 Parameters

Parameter

Type

Description

Input parameters:

IN

TIME_870_FORMAT

the IEC 60870 timestamp format

Output parameters:

OUT

TIME_850_FORMAT

the IEC61850 timestamp format

Data Type Structure: TIME_850_FORMAT

Element

Type

Description

Seconds

DWORD

seconds since 01-01-1970

NOTE: Only dates after January 01, 2000 are valid.

Ms_Quality

DWORD

milliseconds in IEC61850 format in low three bytes (Highest byte manages quality.)

Data Type Structure: TIME_870_FORMAT

Element

Type

Description

ms

WORD

from 0...59999 ms

min

BYTE

Numerical minute reference: 0...59. The highest bit indicates time validity:

  • 0 = valid time

  • 1 = invalid time

hour

BYTE

numerical hour reference: 0...23

NOTE: SU (summertime) is not supported.

day

BYTE

numerical day reference: 1...31.

NOTE: Day of week is not supported.

mon

BYTE

numerical month reference: 1...12

year

BYTE

numerical year reference: 0...99

reserved

BYTE

<reserved>