Skip to main content

IEC61850 Version 2 Application Notes

Note: This document covers DM series Mikrodev devices with version 19 and above. For DM and RTU series devices with versions prior to 19, please refer to the IEC 61850 Application Note Version 1.0 document.

DATA OBJECT

Data Object Read

To create a new project using MDV61850 Browser, follow the steps below:

To open MDV61850 Browser, navigate to the Tools menu in the Telediagram program and click on the MDV61850 Browser option.

iec61850_figure1

Figure 1: MDV61850 Browser Open

After opening MDV61850 Browser, click on the New Project option from the File menu.

iec61850_figure2

Figure 2: Creating a New Project in MDV61850 Browser

In the opened window, select the IEC 61850 configuration file (.cid, .icd, .scl) retrieved from the relay.

iec61850_figure3

Figure 3: IEC61850 Configuration File Selection Screen

A project name is specified, and the file path where it will be saved is selected. A new project is created by clicking the Create Project button.

iec61850_figure4

Figure 4: Project Creation Screen

When a new project is successfully created, the Info screen displays information about the 61850 configuration file retrieved from the relay. If the message "Project created" appears on the screen, it means the process has been successfully completed.

iec61850_figure5

Figure 5: Info Screen

Note: For detailed information about MDV61850 Browser, please refer to the MDV61850 Browser Application Note document.

In MDV61850 Browser, the data objects to be read can be selected by double-clicking on them from the Data Objects List on the right. The selected data objects are then displayed in the Data Object Table.

iec61850_figure6

Figure 6: Adding a Data Object

In the MMS_Type column, the variable type of the selected data is automatically updated. Based on the specified data type, a telediagram block should be assigned accordingly.

Note: For the corresponding telediagram blocks of the variables listed in the MMS_Type column, please refer to the MDV61850 Browser Application Note document.

In the Connection section of MDV61850 Browser, the following telediagram blocks must be assigned to open/close the connection between the relay and RTU and to monitor the connection status:

  • ConnectEnb Signal: To open and close the connection with the relay.
  • DevStatus Signal: To monitor the connection status.
  • Read Trig Signal: To read the data object.
  • Write Trig Signal: To write to the data object.
  • Status Signal: To monitor the read/write status of the data object.
  • Data Signal: To retrieve the value of the data object.

iec61850_figure7

Figure 7: Connection Section and Data Object Table

The Telediagram application is opened, and a new project is created.

The signals defined in MDV61850 Browser are mapped to appropriate register types in Telediagram. In the example described here, the following registers are used:

  • ConnectEnb Signal → Binary Register
  • DevStatus Signal → Word Register
  • Read Trig Signal, Write Trig Signal, Status Signal → Word Register
  • Data Signal → Long Register (A block is added from Telediagram to the Data Signal section based on the variable type specified in the MMS Type column.)

iec61850_figure8

Figure 8: Data Object Reading Example - Telediagram Project

The blocks defined in Telediagram are exported in CSV format from the block properties table.

This process generates the data file required for integration with MDV61850 Browser.

iec61850_figure9

Figure 9: Data Object Reading Example - Exporting Blocks to a CSV File

MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed.

The CSV file obtained from Telediagram is imported.

iec61850_figure10

Figure 10: Data Object Reading Example - Importing the CSV File into the Browser

Once the import is completed, the information screen displays the properties of the blocks.

On the right side of the screen, detailed information about the blocks is listed.

iec61850_figure11

Figure 11: Data Object Reading Example - Transfer of MDV61850 Telediagram Tags

In MDV61850 Browser, the tag mapping process is performed using the following steps:

  • Double-click on the relevant section where the tag should be mapped.
  • In the Tag List window that appears, the available tags for mapping are displayed.
  • Select the appropriate tag and map it to the corresponding section.

iec61850_figure12

Figure 12: Data Object Reading Example - Mapping Tags to Sections in the Browser

After completing the mapping process in MDV61850 Browser, the configuration can be exported in Excel format. From the File menu or file shortcuts, select the "Export to Excel" option.

iec61850_figure13

Figure 13: Data Object Reading Example - Exporting Browser Configuration to Excel

In the window that appears, select the file path where the Excel file will be saved and click the Save button.

iec61850_figure14

Figure 14: Data Object Reading Example - Browser Excel File Path Selection Screen

In Telediagram, the IEC 61850 table is opened, and the Excel file obtained from MDV61850 Browser is imported using the "Import tables (append) from Excel" option located at the bottom of the table.

iec61850_figure15

Figure 15: Data Object Reading Example - Importing the Excel File from the Browser into Telediagram

Note: If a previously prepared IEC 61850 project exists and changes have been made in MDV61850 Browser, use the "Import Tables (Replace) from Excel" option to update only the relevant changes in the table.

When the Excel file is imported, the IEC 61850 Table automatically populates with the blocks selected from the Browser.

iec61850_figure16

Figure 16: Data Object Reading Example - IEC 61850 Table

Once these steps are completed, the configuration required for communication between the relay and the RTU is finalized.

Finally, the RTU project created in Telediagram is uploaded to the device, making the system ready for operation.

After completing the configuration in MDV61850 Browser and Telediagram, follow these steps to test whether communication between the RTU and the relay is successful:

  • Connect to the RTU device via Telediagram and enable online monitoring.
  • To initiate communication between the RTU and the relay, send the value "1" to the ConnectEnb block. Monitor the Dev Status block to check the communication status between the RTU and the relay. If the Dev Status block displays the value "2", communication has been successfully established.

iec61850_figure17

Figure 17: Data Object Reading Example - Sending a Trigger to the ConnectEnb Block

To read the data object value, a trigger is sent to the Read Trig block. The data object value is retrieved from the Data Signal block. The Status block is monitored to check whether the data object value has been successfully received.

iec61850_figure18

Figure 18: Reading Data Object Value

Sending a Command to the Data Object

Open MDV61850 Browser from the Telediagram tools menu and select a previously prepared project file or create a new project.

In MDV61850 Browser, the data objects to which commands will be sent can be selected by double-clicking on them from the Data Objects List on the right side.

The selected objects will be displayed in the Data Objects Table on the right.

Note: Commands can only be sent to data objects with function code CO.

To send a command to a data object. Open MDV61850 Browser from the Telediagram tools menu and either create a new project or select a previously prepared project file. In MDV61850 Browser, double-click on the data object with function code CO in the Data Objects List on the right. This action will add the selected object to the Data Objects Table.

iec61850_figure19

Figure 19: Data Object with CO Function Code

In the Connection section of MDV61850 Browser, the following blocks must be assigned through Telediagram to open/close the connection between the relay and RTU and to monitor the connection status:

  • ConnectEnb Signal: To open and close the connection with the relay.
  • DevStatus Signal: To monitor the connection status.
  • Write Trig Signal: Trigger input to send a command to the data object.
  • Status Signal: To track the status of the command sent to the data object.
  • CltModel: Selects the control mode for command transmission (DO, SBO, DOes, SBOes).
  • Data Signal: Input for the command value to be sent.
  • Selection Type: Specifies the command selection type.

iec61850_figure20

Figure 20: Connection Section and Data Object Table - Command Transmission

Open the Telediagram application and create a new project. The signals defined in MDV61850 Browser are mapped to the appropriate register types in Telediagram. In this example, the following variables are selected:

  • ConnectEnb Signal, Write Trig Signal → Binary Register
  • Status Signal, Data Signal → Word Register (A block is added from Telediagram to the
  • Data Signal section based on the variable type specified in the MMS Type column.)
  • CltModel → DO is selected.
  • Selection Type → Without Value is selected.

iec61850_figure21

Figure 21: Data Object Command Transmission Example - Telediagram Project

The blocks defined in Telediagram are exported in CSV format from the block properties table.

iec61850_figure22

Figure 22: Data Object Command Transmission Example - Exporting Added Blocks to CSV in Telediagram

MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed. The CSV file obtained from Telediagram is imported.

iec61850_figure23

Figure 23: Figure Data Object Command Transmission Example - Importing the CSV File into the Browser

Once the import process is completed, the information screen displays the properties of the blocks. On the right side of the screen, detailed information about the blocks is listed.

iec61850_figure24

Figure 24: Data Object Command Transmission Example - Transferring Telediagram Tags to the Browser

In MDV61850 Browser, the tag mapping process is performed using the following steps:

  • Double-click on the relevant section where the tag should be mapped.
  • In the Tag List window that appears, the available tags for mapping are displayed.
  • Select the appropriate tag and map it to the corresponding section.

iec61850_figure25

Figure 25: Data Object Command Transmission Example - Mapping Tags to Sections in the Browser

After completing the mapping process in MDV61850 Browser, the configuration can be exported in Excel format. From the File menu, select the "Export to Excel" option.

iec61850_figure26

Figure 26: Data Object Command Transmission Example - Exporting Browser Configuration to Excel

In the window that appears, select the file path where the Excel file will be saved and click the Save button.

iec61850_figure27

Figure 27: Data Object Command Transmission Example - Browser Excel File Path Selection Screen

In Telediagram, the IEC 61850 table is opened, and the Excel file obtained from MDV61850 Browser is imported using the "Import tables (append) from Excel" option located at the bottom of the table.

iec61850_figure28

Figure 28: Data Object Command Transmission Example - Importing the Excel File from the Browser into Telediagram

When the Excel file is imported, the IEC 61850 Table automatically populates with the blocks selected from the Browser.

iec61850_figure29

Figure 29: Data Object Command Transmission Example - IEC 61850 Table

Once these steps are completed, the configuration required for communication between the relay and the RTU is finalized.

The RTU project created in Telediagram is uploaded to the device, making the system ready for operation. Connect to the RTU device via Telediagram and enable online monitoring.

To initiate communication between the RTU and the relay, send the value "1" to the ConnectEnb block. Monitor the Dev Status block to check the communication status between the RTU and the relay. If the Dev Status block displays the value "2", communication has been successfully established.

Enter a valueinto the block associated with Data Signal. Send a trigger from the Write Trig block. Monitor the Control Status and Control Error blocks to verify whether the command transmission was successful.

iec61850_figure30

Figure 30: Sending a Command to a Data Object

Note: For detailed information on Control Status and Control Error codes, please refer to the MDV61850 Browser Application Note document.

Data Set

Open MDV61850 Browser from the Telediagram tools menu and either create a new project or select a previously prepared project file.

In MDV61850 Browser, the data sets to be read can be selected by double-clicking on them from the Data Sets List on the right. The selected data sets will be displayed in the Data Sets Table.

iec61850_figure31

Figure 31: Adding a Data Set

In MDV61850 Browser, the following blocks must be assigned through Telediagram to open/close the connection between the relay and RTU and to monitor the status of data set processing:

  • ConnectEnb Signal: To open and close the connection with the relay.
  • DevStatus Signal: To monitor the connection status.
  • Status Signal: To track the read/write status of the data set.
  • Trig Signal: To trigger data set reading.
  • RxTime Signal: To display the reception time of the data set.
  • RxCount Signal: To track the number of received data sets.
  • Result Signal: To read the value of the data set.
  • DataSetFrom Report: Used to indicate whether the data set is received through the reporting mechanism.

iec61850_figure321

Figure 32: Connection Section and Data Set Table

Note: The difference between data set reading and data object reading is that for data sets, it is not necessary to define separate status signal, trig signal, rx time signal, rx count signal, and data set from report flag signal for each data attribute.

Open the Telediagram application and create a new project. The signals defined in MDV61850 Browser are mapped to the appropriate register type in Telediagram.

In this example, the following variables are selected:

  • ConnectEnb Signal → Binary Register
  • DevStatus Signal → Word Register
  • Status Signal, Trig Signal, Data Set From Report → Word Register
  • RxTime Signal, RxCount Signal → Long Register
  • Result Signal → Long Register (A block is added from Telediagram to the Result Signal section based on the variable type specified in the MMS Type column.)

iec61850_figure33

Figure 33: Data Set Example - Telediagram Project

The blocks defined in Telediagram are exported in CSV format from the block properties table.

iec61850_figure34

Figure 34: Data Set Example - Exporting Added Blocks to CSV in Telediagram

MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed. The CSV file obtained from Telediagram is imported.

iec61850_figure35

Figure 35: Data Set Example - Importing the CSV File into the Browser

When the import process is completed, the information screen displays the properties of the blocks. On the right side of the screen, detailed information about the blocks is listed.

iec61850_figure36

Figure 36: Data Set Example - Transfer of MDV61850 Telediagram Tags

In MDV61850 Browser, the tag mapping process is performed using the following steps:

  • Double-click on the relevant section where the tag should be mapped.
  • In the Tag List window that appears, the available tags for mapping are displayed.
  • Select the appropriate tag and map it to the corresponding section.

iec61850_figure37

Figure 37: Data Set Example - Mapping Tags to Sections in the Browser

After completing the mapping process in MDV61850 Browser, the configuration can be exported in Excel format. From the File menu, select the "Export to Excel" option.

iec61850_figure38

Figure 38: Data Set Example - Exporting Browser Configuration to Excel

In the window that appears, select the file path where the Excel file will be saved and click the Save button.

iec61850_figure39

Figure 39: Data Set Example - Browser Excel File Path Selection Screen

The IEC 61850 table is opened in Telediagram, and the Excel file obtained from MDV61850 Browser is imported using the import tables (append) from excel option at the bottom of the table.

iec61850_figure40

Figure 40: Data Set Example - Importing the Excel File from the Browser into Telediagram

When the Excel file is imported, the IEC 61850 Table automatically populates with the blocks selected from the Browser.

iec61850_figure41

Figure 41: Data Set Example - IEC 61850 Table

When these steps are completed, the necessary configuration for communication between the relay and RTU is finalized. Finally, the RTU project created in Telediagram is uploaded to the device, making the system ready for operation.

After completing the configuration with MDV61850 Browser and Telediagram, the following steps are applied to test whether communication between the RTU and the relay is successful:

  • Connect to the RTU device via Telediagram and enable online monitoring. To initiate communication between the RTU and the relay, send the value 1 to the ConnectEnb block.
  • Monitor the Dev Status block to check the communication status between the RTU and the relay. If the Dev Status block displays the value 2, communication has been successfully established.
  • To read the data set value, send a trigger to the Trig block. The data set value is retrieved from the Result Signal block. The Status block is monitored to check whether the data set value has been successfully received.

iec61850_figure42

Figure 42: Data Set Value Reading

Report Reading

In the IEC 61850 protocol, reports are used to read data sets without triggering them.

Note: To successfully read reports, both the data set and the corresponding reports must be selected in MDV61850 Browser.

MDV61850 Browser is opened from the Telediagram tools menu, and either a new project is created or a previously prepared project file is selected.

In the lower-left Reports section, the created reports are listed. The report to be read is added to the Reports table on the right by double-clicking it. It must be ensured that the DatasetRefPath of the added report in the Reports table matches the dataset name added to the Data Set Table.

iec61850_figure43

Figure 43: Data Set and Report Selection

Note: If DatasetRefPath is set incorrectly, the report reading process will fail. To determine when reports will be sent, double-click the Trigger Type column. In the window that appears, select the appropriate triggering condition.

iec61850_figure44

Figure 44: Report Reading Example - Trigger Type Selection Screen

  • TRG_OPT_DATA_CHANGED: Send when the data changes.
  • TRG_OPT_QUALITY_CHANGED: Send when the quality changes.
  • TRG_OPT_DATA_UPDATE: Send when the data is updated.
  • TRG_OPT_INTEGRITY: Send periodically.
  • TRG_OPT_GI: Send when a general query request is received.

Note: If the data is to be sent periodically, the periodic sending interval (in milliseconds) must be entered in the Int Period column.

iec61850_figure45

Figure 45: Report Reading Example - Determining the Period Duration

To read the data report, the Telediagram application is opened, and a new project is created.

The signals defined in MDV61850 Browser are associated with appropriate register types in Telediagram. In the example described here, the following variables have been selected:

Blocks for connection with the relay:

  • ConnectEnb Signal → Binary Register
  • DevStatus Signal → Word Register

Blocks in the dataset table:

  • Status Signal, Trig Signal, Data Set From Report → Word Register
  • RxTime Signal, RxCount Signal → Long Register
  • Result Signal → Long Register (A block is added from Telediagram to the data signal section according to the variable specified in the MMS Type field.)

Blocks in the report table:

  • Enable Signal → Binary Register
  • Status Signal, Send GI Signal, Purge Buffer Signal, Ignored Report Count → Word Register

iec61850_figure46

Figure 46: Report Reading Example - Telediagram Project

The blocks defined in Telediagram are exported to CSV format from the block properties table.

iec61850_figure47

Figure 47: Report Reading Example - Exporting Telediagram Blocks to CSV

The MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed.

The CSV file obtained from Telediagram is imported.

iec61850_figure48

Figure 48: Report Reading Example - Importing the CSV File into the Browser

Once the import is complete, the information screen displays the properties of the blocks. Detailed information about the blocks is listed on the right screen.

iec61850_figure49

Figure 49: Report Reading Example - Transferring Telediagram Tags in the Browser

In MDV61850 Browser, the tags must be matched. The relevant section where the tag will be assigned is double-clicked. In the opened Tag List window, the tags to be matched with the relevant section are displayed.

The appropriate tag is selected and matched with the corresponding section.

iec61850_figure50

Figure 50: Report Reading Example - Matching Tags with Sections in the Browser

After the matching process is completed in MDV61850 Browser, the configuration can be exported in Excel format. From the File menu, the Export to Excel option is selected.

iec61850_figure51

Figure 51: Report Reading Example - Exporting Browser Configuration to Excel

In the opened window, the file path for saving the Excel file is selected, and the Save button is clicked.

iec61850_figure52

Figure 52: Report Reading Example - Browser Excel File Path Selection Screen

In Telediagram, the IEC 61850 table is opened, and the Excel file obtained from MDV61850 Browser is imported using the "import tables (append) from Excel" option located at the bottom of the table.

iec61850_figure53

Figure 53: Report Reading Example - Importing the Excel File from the Browser into Telediagram

Once the Excel file is imported, the IEC 61850 Table automatically displays the blocks selected from the Browser. This ensures that all required signals and configurations are correctly transferred to Telediagram without manual input.

iec61850_figure54

Figure 54: Report Reading Example - IEC 61850 Table

When these steps are completed, the necessary configuration for communication between the relay and the RTU is finalized. This step is critical because it establishes the signal mapping required for successful data exchange.

Finally, the RTU project created in Telediagram is uploaded to the device, making the system ready for operation. Ensuring a successful upload is important to avoid configuration mismatches.

After completing the configuration using MDV61850 Browser and Telediagram, the following steps are applied to test whether communication between the RTU and the relay is successful:

  • Connect to the RTU device via Telediagram and open online monitoring. This allows real-time observation of data exchange.
  • To start communication between the RTU and the relay, set the ConnectEnb block to 1. This enables the communication link. Monitor the Dev Status block to check the communication status between the RTU and the delay. If the Dev Status block shows the value 2, communication has been successfully established. Any other value might indicate a configuration issue or connection failure.
  • When the Report Enable tag is set to 1, the Report Status and Data Set From Report blocks should receive the value 6. This confirms that the report mechanism is functioning properly.
  • In the RxTime Signal, the dataset value's read time should be displayed in epoch time. This ensures that timestamps are correctly processed. The Result Signal should display the current value of the dataset. Any discrepancies in the expected values might indicate issues in data mapping or communication delays.

iec61850_figure55

Figure 55: Reading the Dataset Value from the Report

By following these steps, the successful communication between the RTU and the relay can be verified, ensuring that the system is correctly configured and operational.