Sample Application – ION Driver

Introduction

This Driver communicates with Power Measurements ION Meter models 7500/7600/8500/8400, as well as others supporting the ION protocol. This driver extracts data from Power Measurements meters, including:

  • Real time data
  • Events
  • Data recorders
  • Waveforms

To download mass memory data from the meters, you must follow a certain procedure in the application via scripts. This procedure is described in the Driver’s Manual.

Sample Application

For learning purposes, a sample made for E3 applications was developed to download mass memory data from the Driver. This application allows you to collect data from Energy Recorder 1 from an initial date, and then save it in the Historic.

Although this is an E3 application, a similar procedure can be performed to build applications for Elipse SCADA.

Application Setup and Usage

The following figure shows the application’s initial Screen.

Figure 1: Sample application’s initial Screen

To configure the application and perform the download, you must follow these procedures:

  1. Link an internal structure to the table to be read, and then initialize it: the first step to be taken is to associate the table to be retrieved in the meter to a driver internal structure, using the N2=4 Tag.
  2. Read meter time: get the meter’s local time.
  3. Calculate the number of records to be retrieved: enter the start date and time and click the Calculate button. The edit box shows the number of records to retrieve, considering the time interval to read, and that a record is saved every five minutes.
  4. Calculate initial register = current pointer position – number of records to retrieve: when knowing the current pointer position (Tag X.4.4.0) and the number of records to return, we can calculate the initial record to start collecting.
  5. Start Download: after determining the initial record position, we can start the download process.

Data is returned in the Table_Revenue Block Tag. To save it to the database, the OnRead script event of this Block Tag saves the retrieved data elements to the historic database. Since the elements of this Block are not shown on Screen, in order to allow the OnRead event to be executed, the AdviseType property of the Block Tag must have the 0 – AlwaysInAdvise value.

More information about the Driver Power Measurement ION and the download procedure can be found in the Driver’s Manual.

Attachments:

SampleAppION.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *