Chennai
Chennai
Singapore
Mumbai
Switzerland
+91 44 4091 2000 Mon - Fri 09:00 - 18:30 766/1, TEZ, Sakthi Towers 1, Anna salai, Chennai 600 002.
+6584181583 Mon - Fri 09:00 - 18:30 68 Circular Road, #02-01, 049422, Singapore.
+91 98848 35702 Mon - Fri 09:00 - 18:30 5, Powai Lake Heights, Mumbai 400 072
+41 (0)91 225 81 00 Mon - Fri 09:00 - 18:30 Equvera - ISV Techno SAGL, Via Ligornetto 6A, 6855 Stabio, Switzerland
Ceritified
ISO 9001:2018
The Best
#1 in India
#1 in Europe
#1 in Asian-pacific
Number #1
AUTOMATION SOLUTION PROVIDER
Talk to an Expert

IEC 62056-21 Power Meter Data Logging

IEC 62056-21 POWER METER DATA LOGGING

Problem scenario:

My goal is to read values from the ” Iskra Emeco MT860” power meter using the IEC 62056-21 protocol.

Other our articles may help If you have power meters or other devices with MODBUS or Bacnet/IP.

Background:

This high precision power meter may be shipped with the IEC 62056-21 interface. It is the simplest data exchange interface. When a computer sends an initial request, the device returns all data (the “Readout” command). So, you only need to connect the meter to your computer.

It is assumed that:

You’ve connected the device to your computer using an RS232 or RS485 interface. Usually, devices use the IEC 62056 protocol in conjunction with an optical output. In this case, you need a converter to RS232. Your device may allow configuring a device address and an initial baud rate.

Also, you need Documentation for your device. It should contain information about values and their OBIS codes. It is the annex “A” (page #57) for IskraEmeco MT860.

Solution:

1. Configure the COM port connection settings. If you didn’t create any configuration yet, click the “Green Plus” button in the main window. The standard communication settings are:

Baud rate: 300 (but some devices may have a custom setting). Data bits: 7 Parity: Even Stop bits: 1.

COM Port settings

Fig. 1 COM Port settings

2. Enable the “IEC 62056-21” plugin (fig. 2).

IEC 62056-21 plugin

Fig. 2 IEC 62056-21 plugin

3. Configure the “IEC 62056-21” plugin by clicking the “Setup” button closely to the drop-down box (fig. 3).

Requests queue

Fig. 3 Requests queue.

4. Load the queue from the attached XML file by clicking the “Action – Load” button. This queue allows reading two basic values from the device, but you may add more. Note: you may delete all response items. In this case, the program will read all possible data. Also, you may load the full configurationusing the “File – Restore configuration backup” menu item in the main window.

5. Adjust the polling interval as you want.

6. If you just want to write the parsed data to a file, then make the following changes:

Data view mode

Fig. 4 Data view mode

Log file settings

Fig. 5 Log file settings

7. If you need to write the parsed to Excel or a database, then you may continue using links below. All data export plugins use parser variables. TYou’ve defined these variables’ names in the “Export name” field (fig.3).

RELATED ARTICLES: IEC 62056-21 POWER METER DATA LOGGING

MODBUS RTU, MODBUS ASCII, MODBUS/TCP

BACNET/IP

IEC 62056-21