Руководство по metercat

Каталог / Счетчик электроэнергии / Эльстер Метроника / Программное обеспечение

Номинальное напряжение:


Номинальный и максимальный ток:

А

Диапазон рабочих температур:


MeterCat 2.3.2 программирование и считывание А1800

Программный пакет Metercat предназначен для параметризации и сбора
данных со счетчиков семейства Альфа A1800 и Альфа А3 производства
компании Эльстер Метроника.

ПО поддерживает связь со счетчиками через оптический порт и
удаленно по цифровым интерфейсам с использованием коммутируемых
телефонных линий и в режиме прямой связи (компьютер преобразователь
интерфейсов счетчики).

Основные функции:

  • Параметризация счетчиков
  • Считывание данных конфигурации счетчиков
  • Считывание диагностических данных
  • Считывание показаний по электропотреблению, графиков нагрузки и графиков по параметрам сети

Режимы связи:

  • Через оптический порт
  • Прямая связь (компьютер-преобразователь-счетчики)
  • По коммутируемым телефонных линиям
  • По компьютерной сети.

Необходимое оборудование и минимальные системные ресурсы:

  • IBM совместимый персональный компьютер
  • ОС MS Windows NT,2000,ХР
  • 64 MB RAM или более
  • Жесткий диск с 60 МB или более свободного пространства
  • CD-ROM
  • SVGA монитор ( минимальное разрешение 800 х 600 точек )
  • Последовательный порт RS232 (рекомендуется)
  • Преобразователь USB/RS232 (если компьютер не имеет последовательного порта)
  • Оптический преобразователь AE-1
  • Ключ аппаратной защиты HASP USB или LPT исполнения
  • Принтер для распечатки отчетных форм.
MeterCat 2.3.2 программирование и считывание счетчиков

Номинальное напряжение:


Номинальный и максимальный ток:

А

Диапазон рабочих температур:


MeterCat 2.3.2 программирование и считывание А1800

Программный пакет Metercat предназначен для параметризации и сбора
данных со счетчиков семейства Альфа A1800 и Альфа А3 производства
компании Эльстер Метроника.

ПО поддерживает связь со счетчиками через оптический порт и
удаленно по цифровым интерфейсам с использованием коммутируемых
телефонных линий и в режиме прямой связи (компьютер преобразователь
интерфейсов счетчики).

Основные функции:

  • Параметризация счетчиков
  • Считывание данных конфигурации счетчиков
  • Считывание диагностических данных
  • Считывание показаний по электропотреблению, графиков нагрузки и графиков по параметрам сети

Режимы связи:

  • Через оптический порт
  • Прямая связь (компьютер-преобразователь-счетчики)
  • По коммутируемым телефонных линиям
  • По компьютерной сети.

Необходимое оборудование и минимальные системные ресурсы:

  • IBM совместимый персональный компьютер
  • ОС MS Windows NT,2000,ХР
  • 64 MB RAM или более
  • Жесткий диск с 60 МB или более свободного пространства
  • CD-ROM
  • SVGA монитор ( минимальное разрешение 800 х 600 точек )
  • Последовательный порт RS232 (рекомендуется)
  • Преобразователь USB/RS232 (если компьютер не имеет последовательного порта)
  • Оптический преобразователь AE-1
  • Ключ аппаратной защиты HASP USB или LPT исполнения
  • Принтер для распечатки отчетных форм.

July 2004

Figure 3. A3 ALPHA meter with ITM3 RJ-11 cable

Metering Software and

System

To have the A3 ALPHA meter function properly as a data collector in the

EnergyAxis System, it is important that the meter be programmed correctly

using Metercat

. In the Remote component tab in Metercat, be sure that the fol-

lowing options are set:

Port 1 usage is set to internal modem.

Port 2 usage is set to direct connect.

On the Port 1 Modem tab, enable line sharing (the Enable Line Sharing

box is checked).

On the Port 2 Direct Connect tab, the bit rate is set to 9600.

The other options can be set as desired. For more information on using Meter-

cat, see the Metercat documentation.

Metercat

The A3 ALPHA meter/collector requires Elster Electricity Metercat support soft-

ware release 1.4 or later. Metercat offers the following features:

program development to create user-defined configuration data

meter programming to send user-defined configuration data or com-

mands to the meter

meter reading to receive data that has been stored by the meter

diagnostic read including ILC1 option board and LAN status

ability to perform tasks related to replacing a collector

EnergyAxis Metering Automation Server

The EnergyAxis Metering Automation Server (MAS) reads meters over telephone

or wireless networks. Using MAS, meter readings can be scheduled or per-

formed on-request from the browser-based user interface. MAS allows all billing

data to be read from the meter; this includes data from the A3 ALPHA meter

and from each REX meter registered with the ILC1 option board. Billing data

from the A3 ALPHA meter includes multi-channel interval data, consumption,

demand, time-of-use registers as well as meter status flags. REX meter data can

be read from the stored data in the collector or on-request by using MAS to

communicate through the collector to the individual REX meter.

A3 ALPHA Meter/Collector

Product Guide

INT MOD ITM3

3

Build Status
Coverage Status
Code Climate
Dependency Status
Gem Version

schrodingersbox/meter_cat README

This Rails engine makes monitoring the usage history of your Rails environment easier.
It provides meters, similar to the odometer in a car, which can be incremented
when significant actions happen in your app, and are recorded on a daily basis.

Meters are managed in RAM and periodically flushed to DB after a configurable amount of time,
when the calendar day rolls over, or when the process exits.

Some examples of useful meters would be number of users created, number of emails sent, or
other events particular to your application. Even in cases where the equivalent value could be
determined with a count query, it can still be more efficient to look up a set of meter values,
rather than run a bunch of count queries.

Getting Started

  1. Add this to your Gemfile and bundle install

  2. Add this to your config/routes.rb

     mount MeterCat::Engine => '/meter_cat'
    
  3. Install and run migrations

     rake meter_cat:install:migrations
     rake db:migrate db:test:prepare
    
  4. Generate some random data

    rake meter_cat:random[my_test,0,100,365]

  5. Restart your Rails server

  6. Visit http://yourapp/meter_cat in a browser for an HTML meter report

Configuration

All configuration should go in config/initializers/meter_cat.rb.

  MeterCat.configure do |config|

    config.layout = 'meters'
    config.expiration = 60

    config.ratio( :failed_to_create_ratio, :login_failed, :user_created )
    config.percentage( :failed_to_create_percentage, :login_failed, :user_created )
    config.sum( :failed_plus_create, [ :login_failed, :user_created ] )

    config.to = 'ops@schrodingersbox.com'
    config.from = 'ops@schrodingersbox.com'
    config.subject = "#{Rails.env.upcase} MeterCat Report"
    config.mail_days = 7

    config.authenticate_with do
      warden.authenticate! scope: :user
    end

    config.authorize_with do
      redirect_to main_app.root_path unless current_user.try(:admin?)
    end

  end

How To

Increment A Meter

The easiest way is to call MeterCat.add.

    MeterCat.add( :any_name_you_like )

You can also optionally pass a value and date.

    MeterCat.add( :any_name_you_like, value = 1, created_on = Date.today )

Set A Meter

The easiest way is to call MeterCat.set.

    MeterCat.set( :any_name_you_like )

You can also optionally pass a value and date.

    MeterCat.set( :any_name_you_like, value = 1, created_on = Date.today )

This is useful where you want to record a single value for the day, such as from a daily cron job.

Add Calculated Values

Calculated values (ratios, percentages, and sums) can be defined in config/initializers/meter_cat.rb

  MeterCat.configure do |config|
    config.ratio( :failed_to_create_ratio, :login_failed, :user_created )
    config.percentage( :failed_to_create_percentage, :login_failed, :user_created )
    config.sum( :failed_plus_create, [ :login_failed, :user_created ] )
  end

Generate Development Data

rake meter_cat:random[name, min, max, days] can be used to generate random data for development.

The arguments are defined as follows:

  • name = String, Any string up to 64 characters long
  • min = Integer, Minimum generated value
  • max = Integer, Maximum generated value
  • days = Integer, Days prior to date to generate values for

e.g. The following command will generate data for :my_test with value between 0 and 100 for the last year.

    rake meter_cat:random[my_test,0,100,365]

Configure Email Settings

Create or add to config/initializers/meter_cat.rb

MeterCat.configure do |config|
  config.to = 'ops@schrodingersbox.com'
  config.from = 'ops@schrodingersbox.com'
  config.subject = "#{Rails.env.upcase} MeterCat Report"
end

Email A Meter Report

You can email a meter report using rake:

You can email a meter report in code:

Require authentication

Create or add to config/initializers/meter_cat.rb

MeterCat.configure do |config|
  config.authenticate_with do
    warden.authenticate! scope: :user
  end
end

Require authorization

Create or add to config/initializers/meter_cat.rb

MeterCat.configure do |config|
  config.authorize_with do
    redirect_to main_app.root_path unless current_user.try(:admin?)
  end
end

Apply a custom layout

Create or add to config/initializers/meter_cat.rb

MeterCat.configure do |config|
  config.layout = 'admin'
end

Get Started Developing

  1. cp spec/dummy/config/passwords.yml.sample spec/dummy/config/passwords.yml
  2. rake app:db:create app:db:migrate app:db:test:prepare

Reference

  • Getting Started with Engines
  • Testing Rails Engines With Rspec
  • How do I write a Rails 3.1 engine controller test in rspec?
  • Best practice for specifying dependencies that cannot be put in gemspec?
  • Clarifying the Roles of the .gemspec and Gemfile
  • The Semi-Isolated Rails Engine
  • FactoryGirl
  • Add Achievement Badges to Your Gem README
  • Publishing your gem

History

  • Version 0.0.8 = Rails 4 compatible
  • Version 5.0.0 = Rails 5 compatible

Понравилась статья? Поделить с друзьями:
  • Эссенциальные фосфолипиды ампулы инструкция по применению цена
  • Смарт часы barn hollis b h sw02 black ут000023096 инструкция
  • Как пить сироп алтея от кашля взрослым инструкция по применению
  • Пульсар гербицид инструкция по применению на горохе
  • Церукал инструкция по применению уколы детям 4 года