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.
After opening MDV61850 Browser, click on the New Project option from the File menu.
In the opened window, select the IEC 61850 configuration file (.cid, .icd, .scl) retrieved from the relay.
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.
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.
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.
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.
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.)
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.
MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed.
The CSV file obtained from Telediagram is imported.
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.
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.
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.
In the window that appears, select the file path where the Excel file will be saved and click the Save button.
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.
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.
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.
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.
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.
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.
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.
The blocks defined in Telediagram are exported in CSV format from the block properties table.
MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed. The CSV file obtained from Telediagram is imported.
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.
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.
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.
In the window that appears, select the file path where the Excel file will be saved and click the Save button.
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.
When the Excel file is imported, the IEC 61850 Table automatically populates with the blocks selected from the Browser.
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.
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.
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.
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.)
The blocks defined in Telediagram are exported in CSV format from the block properties table.
MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed. The CSV file obtained from Telediagram is imported.
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.
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.
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.
In the window that appears, select the file path where the Excel file will be saved and click the Save button.
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.
When the Excel file is imported, the IEC 61850 Table automatically populates with the blocks selected from the Browser.
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.
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.
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.
- 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.
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
The blocks defined in Telediagram are exported to CSV format from the block properties table.
The MDV61850 Browser is opened, and the RTU/PLC Integration section is accessed.
The CSV file obtained from Telediagram is imported.
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.
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.
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.
In the opened window, the file path for saving the Excel file is selected, and the Save button is clicked.
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.
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.
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.
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.