Using PMU over TCP

Avatar

sdg.matiaan
2019-06-27 13:22
Last Edited 2022-08-20 19:09

This document describes how to read an Elster A1140 over TCP to get the Multidrop address (or Outstation number or bus id) with Elster's Power Master Unit Software (PMU).
NOTE: this mostly works for SMARTset too, except for creating a new connection which is described in the second post below.
It should be possible to use for an A1700 or AS230.
Remember that PMU for AS230 is version 3 of the PMU.
You can get PMU from Elster, or download it at
http://sdg.pnpscada.com/wiki/Elster%20Power%20Master%20Unit%20V2.4.1.16.exe
And version 3 at
http://sdg.pnpscada.com/wiki/elster%20AS230%20PMU%203.0.3499.zip
PMU consists of 2 programs.
1. The Scheme Master
2. And Communications Server
Scheme Master
The Scheme Master is used to create schemes to read or program the meter.

Communications Server
The communications server is used to send a scheme to a meter.

We are going to setup a scheme to read the Profile, Multidrop Address and CT ratio.
Start PMU.
The default username is Elster and the default passowrd is Elster.
First, we are going to setup the Communications Server.
Go to System → Communications Server Setup
Select the Port Setup tab

In the table on the left, select a port that is not used by your computer, e.g. COM24.
Double click COM24 in the table and a dropdown will pop up.
In the dropdown, select network.
Under port configuration on the right, enter your server's host name. If you are hosting on our central server, use adam.pnpscada.com.
For the port, use 10001.
Go to the Other Items tab.

Change the Flag turn around time to 500 and and the flag inter-message timeout to 22000.
Click the Save button at the bottom.
After changing the communications server setup, you need to close the communications server, if it was open. Changes will not apply until it is restarted. If you are unsure, just restart the entire application.
Next we are going to create a scheme to read the meter.
In the scheme manager, right click in the big open space on the right.
In the dropdown select New → A1140 Data To Read
Provide a name for the scheme e.g. 'A1140 Read Profile' and press enter.
The 'What to read' screen should come up and here we can choose from a wide variety of things to read. Profile data is located in the center.
Reading 'All Data' takes a long time (more than 10 minutes over gprs); so you might want to only read a couple of days.
Specifically:
'Meter Identifiers' on the right has the multidrop address.
'Meter Constants' has the CT/VT ratio.
After selecting everything that you want to read, click the 'Save Scheme' button at the top.
Next we are going to create a connection type that connects to adam (or your server, if you are not using adam).
Still in the 'What to read' screen, click the big red arrow at the top 'Quick Send'.
The 'Quick Send Scheme' Screen opens.
Under connection type, select 'Network Flag'.
Now click the 'New/Edit' button.
In the screen 'Connections to Meters', click 'New Connection' and enter the name 'adam tcp bridge' and click OK.

Now under Host and Port, enter adam's IP and the port 10001 separated with a colon.

And click Save and Close.
Ok, now you should be set up, and you should not need to do these settings again to read with PMU via adam. You can just use the ones we setup now every time.
Next we are going to ask for this data (or send the scheme to the meter as they call it in PMU).
On the 'Quick Send Scheme' Screen, enter the multidrop address of your meter. Unfortunately you cannot leave this blank when using the network communication protocol.
Provide your meter's Password (default is FEDC0003)
Do not click OK yet.

Next we are going to open the bridge on our server.
Since the meter is already setup to connect to our server, we can ask the server to pass that same connection on to us. This is called the TCP Bridge.
Its a bit of a hack, and basically how it works is it starts listening for a connection that comes in on port 10001. (Typically this would be the connection from PMU.) When it connects, we pass the data from PMU on to the meter, and the data from the meter to PMU.
Becuase the bridge is juggeling 2 connections, it tends to break easily.
For this reason its a goog idea to start the TCP bridge just before starting to read in PMU and to stop the bridge right after PMU has finished reading.
Log into your server (adam); and select the meter you want to read.
Now go to Tools → TCP Bridge.
Here you can specify which port to use the bridge on, but leave that on 10001. You will also see that the bridge is stopped.
Now click Start to start the bridge.
The screen should refresh and write 'Bridge Started' at the bottom.
As long as it does not say that, it is not started.
If it says, 'opening connection to meter' it is not started yet.
You might have to wait for it a while to start.
If it never starts, then there is a problem between the connection of the meter and the server.
(Not between your computer and the server!)
Once it is started, go to PMU again and click the OK button on the Quick Send screen.
You will now see PMU switch to the Communications Server and the communications server will open a small window inside it where you can see the communication with the meter.

Wait for the communication to end in PMU, then stop the bridge.


Tags: elster a1140elster a1700elster as230smartsetsoftware download
Avatar

sdg.matiaan
2015-07-30 07:25

SMARTset
most of the screens are the same, except where you create a new connection:
On the communications screen, click the button with the 3 dots

Click new

Choose FLAG Network and click OK

1) For the Name, enter the server's name (e.g. adam)
2) Host: enter server's url
3) Port: By default the TCP Bridge opens on port 10001, but you might want to use another port if that one is in use by someone else.
4) Outstation: don't worry too much about this, since you can change it just before you read the meter.
Click OK

Choose the new connection you made

1) Enter the meter's multidrop address
2) Enter the meter's password (default is FEDC0003)

Avatar

sdg.matiaan
2024-01-11 07:27

for ace pilot, please use HDLC tunneling by TCP and switch off broadcasting address.


Please log in to post a comment