You are on page 1of 25

RTU560 Remote Terminal Unit

Transmission and Storage of Meter Data according to IEC 62056-21

Contents:

This manual describes the RTU560 Subdevice Communication Interface for transmission and storage of Meter Data according to IEC 62056-21

Revision
Document identity: 1KGT 150 548 V001 1

Revision:

Date: 06/2004

Revision:

Date: 02/2007 Note for time synchronization

We reserve all rights in this document and in the information contained therein. Reproduction, use or disclosure to third parties without express authority is strictly forbidden. Copyright 2007 ABB AG.

ABB AG

1KGT 150 548 V001 1

iii

Contents
TRANSMISSION AND STORAGE OF METER DATA ACCORDING TO IEC 62056-21...............................................................................................I REVISION .................................................................................................III CONTENTS .............................................................................................. IV ABBREVIATIONS ..................................................................................... V INTRODUCTION ..................................................................................... VII
Preface ....................................................................................................................... vii References ................................................................................................................. vii Conventions ............................................................................................................... vii

1 2 3

OVERVIEW ...................................................................................... 1-1 PHYSICAL LAYER .......................................................................... 2-1 CONFIGURATION ........................................................................... 3-1
3.1 3.2 Configuration of a file archive...................................................................... 3-1 Configuration of counter data transfer......................................................... 3-2

COMMUNICATION .......................................................................... 4-1


4.1 4.2 4.3 4.4 Transmission of Meter Data ........................................................................ 4-1 Transmission Procedure ............................................................................. 4-1 Time Synchronization.................................................................................. 4-2 Device Supervision...................................................................................... 4-2

FILE ARCHIVE FUNCTIONS........................................................... 5-1


5.1 5.2 Access to the File Archive ........................................................................... 5-1 Conversion Properties................................................................................. 5-2

ABB AG

1KGT 150 548 V001 1

iv

Abbreviations
AMI ASO BCU BSI CMU CS CSC CS-Command DCO DMI DPI DSO EPI GCD HCI IED IOC IOD IOM ITI MCD MFI MPU
NCC

Analog Measured value Input Analog Setpoint command Output Bus Connection Unit Bit String Input (8, 16 bit) Communication and Data Processing Unit Control System Command Supervision Channel Clock Synch Command Double Command Output Digital Measured value Input (8, 16 bit) Double Point Input Digital Setpoint command Output (8, 16 bit) Event of Protection equipment Input (1bit) General Configuration Data Host Communication Interface Intelligent Electronic Device I/O Controller (Controller on I/O Board) Input Output Data I/O Bus Master (Function of SLC) Integrated Totals Input Momentary Change Detect Analog Measured value Floating Input Main Processing Unit Network Control Center Peripheral Bus

PB

ABB AG

1KGT 150 548 V001 1

Abbreviation

RTU560 Transmission and Storage of Counter Data

PBP PDP PLC PPP PSU RCO RTC SBO SCADA SCI SCO SEV SLC SOC SPI STI TSI TSO

Peripheral Bus Processor Process Data Processing Programmable Logic Control Point to Point Protocol Power Supply Unit Regulation step Command Output Real Time Clock Select before Operate Supervision, Control and Data Acquisition Sub-Device Communication Interface Single Command Output System Events Serial Line Controller Strobe Output Channel Single Point Input Step position Input (8 bit) Time Synch Input Time Synch Output

vi

1KGT 150 548 V001 1

ABB AG

Introduction

Preface
This document describes the functions of the subdevice communication interface for transmission and storage of meter data according to IEC 62056-21 [2]. In addition the meter device has to support the requirements according to the VDEW Lastenheft [1]

References
[1] VDEW-Lastenheft, Version 2.1.2 Elektronische Lastgangzhler VDEW Arbeitsausschuss Zhler und Messgerte 07. November 2003 IEC 62056-21, Electricity Metering Data exchange for meter reading, tariff and load control Part 21: direct local data exchange, First Edition, May 2002 Elektrischer Drehstromzhler alpha A 1500 Produktbeschreibung, Revision 1.10 Elster Messtechnik GmbH, 8. 12. 2003 AEM 500 / A 1500 Protocol definition of alpha meter Revision 1.5 Elster Messtechnik GmbH, 10. 7. 2003 IEC 62056-61, Electricity Metering Data exchange for meter reading, tariff and load control Part 61: OBIS Object Identification System, First Edition, May 2002

[2]

[3]

[4]

[5]

Conventions
In this document function codes of data types according to IEC 62056 are marked with angel brackets: <Function code> Italic fonts with the heading Parameter are references to configuration parameter in RTUtil560. The parameter is followed by definitions in round brackets where to find this parameter in RTUtil560. Example: Parameter: File Type (FTR Filetransfer Parameter) In this document references to elements of the standard will be printed bold and in brackets: [2, 7.4]

ABB AG

1KGT 150 548 V001 1

vii

Overview

Meter Data (Load profiles and log-files) of alpha meters [3]/[4], which are generated in the devices, are transferred to the Compact Flash Card of one of the CMUs of a RTU560 system. Using the integrated Webserver of RTU560, it is possible to download these files to a local PC. The file archive is running on any CMU in the system. In systems with redundant CMUs the file archive must be configured on a non-redundant CMU (group C). For the storage of load profiles and log files you need at least (see Figure 1-1): Communication line with protocol according to [1] and [2] (formerly IEC 61107) One or more alpha meters [3]/[4] (IED) supporting the mode C according to [2] The file archive function running on a non-redundant CMU of the RTU560 At least one file transfer directory (FDR) with the name of the directory At least one file transfer file (FTR) for the records.

Figure 1-1: Configuration example with RTUtil560 The contents of the transmitted files is according to EDIS (Energy Data Identification System) ((E)DIN 43863 Part 3), including ASCII data and <CR>/<LF>.

ABB AG

1KGT 150 548 V001 1

1-1

Physical Layer

Possible communication interfaces are according to Table 2-1

CP1 560SLI02/560CMU0 4 560ETH02/03 560CMU80 RS232

CP2 RS232

CPA

CPB

RS232, RS485 RS232, RS485

-------------------- -------------------- RS232, RS485 RS232, RS485 RS232 RS232 RS232, RS485 --------------------

Table 2-1: Communication interface

The communication parameters (see Table 2-2) have to be set according to the physical connection. According to [2] the transmission is set to 7 data bits, even parity.

Option / Parameters Communication Speed Modem Control Transmit Delay Time Dial-up connection Redundant communication lines

Range of Values / Explanations Default 50, 75, 100, 110, 150, 200, 300, 600, 1.200, 9.600 2.400, 4.800, 9.600, 19.200 Direct Link Enable / Disable Disable If enabled: 30 ms 1 10.000 ms - Not supported - Not supported -

Table 2-2: Communication parameter The possibility of baud rate switching (starting with 300 baud) according to [1] is not supported by this communication interface. Note: Not more than 32 devices per communication line.

ABB AG

1KGT 150 548 V001 1

2-1

3
3.1 Configuration of a file archive

Configuration

The file transfer function is configured on a subdevice communication interface (see Figure 3-1). The necessary parameter must be set according to Table 3-1

Option / Parameter File type

Range / Comments IEC 61107 Read load profile IEC 61107 Read log file data Max. number of Enable / Disable archived files in If enable: Number of files in a FTR [1 ... 255] directory If disable: 1 file within FTR Max. time of storage in Enable / Disable directory If enable: Delete file after number of days automatically [1 ... 365] If disable: Overwrite the oldest file, if archive is full.

Default Enable 15 Enable 30 days

Table 3-1: Parameter for file archive directory

Figure 3-1: Configuration of archive directory One or more file transfer files (FTR) are connected to this directory. They do not need any parameter.

ABB AG

1KGT 150 548 V001 1

3-1

Configuration

RTU560 Transmission and Storage of Meter Data

3.2

Configuration of counter data transfer


In addition to the general communication parameter (see chapter 2), the following parameter are necessary to configure the upload of load profiles and log files: Communication line, general parameter (see Table 3-2, Figure 3-2)

Option / Parameter Communication retries Gap supervision time Time synchronization

Range / Comments 0 100 Number of command telegram repetitions Depending on the transmission speed (in t0 steps) Normally between 200 ms and 1,2 sec. Enable / Disable If enabled: RTU will synchronize the IED (see chapter 4.3) 5 5

Default

Enable

Table 3-2: Communication line parameter

Figure 3-2: Configuration of communication line parameter

3-2

1KGT 150 548 V001 1

ABB AG

RTU560 Transmission and Storage of Meter Data

Configuration

IED parameter, alpha counter parameter (see Table 3-3, Figure 3-3):

Option / Parameter Address of integrated total IED Cycle time read check byte Address of the unit Password

Range / Comments 1 65535 Not necessary for alpha counter 0 1440 min Time interval of link check cycle (see chapter 4.4) 32 characters. For alpha counter normally 16 character serial number 8 character Not necessary for the file transfer function -

Default

Table 3-3: IED parameter, alpha counter parameter

Figure 3-3: Configuration of IED parameter

ABB AG

1KGT 150 548 V001 1

3-3

Configuration

RTU560 Transmission and Storage of Meter Data

Transfer parameter (see Table 3-4, Figure 3-4)

Option / Parameter Address of integrated total DTE Interval type

Range / Comments 1 65535 Not necessary for alpha counter 0: No cyclic reading 1: Hour 2: Daily 3: Weekly 4: Monthly 0 23 h Only used for interval type weekly 1: Monday 2: Tuesday 6: Saturday 7: Sunday 1 31 Only used for interval type monthly 1 Unit of read interval according to interval type 1

Default

Start hour of reading Start day of week of reading

0 1

Start day of month of reading Read interval

1 1

Table 3-4: Transfer parameter

Figure 3-4: Configuration of transfer parameter Note: The RTU560 must be synchronized (System Event #25 = 1), in order to start up reading the meter data.

3-4

1KGT 150 548 V001 1

ABB AG

Communication

4.1

Transmission of Meter Data


The Meter Data is requested in Protocol Mode C according to [2, 6.4.3]. Only some features of this protocol mode are supported by the subdevice communication interface (see Table 4-1). R6-command is used for reading in order to transmit the files in separate blocks with separate checksum.

Mode C Feature Bi-directional data exchange Baud rate switching Data readout Programming with enhanced security Manufacturer-specific modes Supported Not supported Supported Not supported Not supported

Support

Table 4-1: Supported features in protocol mode C

4.2

Transmission Procedure

ABB AG

1KGT 150 548 V001 1

4-1

Communication

RTU560 Transmission and Storage of Meter Data

IEC 62056 Meter Interface RTU560 transmit receive from meter device

/?12345!<CR><LF> /ABB4\@V3.01 <ACK>041<CR><LF> <SOH>P0<STX>(00002314)<ETX>d <SOH>P1<STX>(00000000)<ETX> a <ACK> <SOH>R6<STX>P.01(00011150001;)<ETX> <STX>P.01(0001115001500)(00)(15)(4)(1.5)(kW) (2.5)(kW)(3.5)(kvar)(4.5)(kvar)<CR><LF> (000.000)(000.000)(000.000)(000.000)<CR><LF> . . . . . . . . . . . . . . (000.000)(000.000)(000.000)(000.000)<CR><LF> <EOT>x <ACK> <CR><LF>

...

...

...

...

<STX>(000.000)(000.000)(000.000)(000.000)<CR><LF> . . . . . . . . . . . . . . (000.000)(000.000)(000.000)(000.000)<CR><LF> <ETX>x

<SOH>B0<ETX>q

Figure 4-1: Transmission procedure of meter reading

4.3

Time Synchronization
If time synchronization is enabled for this device (see chapter 3.2, communication line parameter: time synchronization), the subdevice communication interface will synchronize the meter(s) immediately after transfer of the meter data. R5/W5 commands are used for synchronization according to [1] and [4]. <SOH>R5<STX>0.9.2(<date>)<ETX><BCC> <SOH>R5<STX>0.9.1(<time>)<ETX><BCC> <SOH>W5<STX>0.9.2(<date>)<ETX><BCC> <SOH>W5<STX>0.9.1(<time>)<ETX><BCC> for reading the date for reading the time for writing the date for writing the time

4.4

Device Supervision
The subdevice communication interface supports 2 system events

Description of system event RTU is active

Address offset 24

4-2

1KGT 150 548 V001 1

ABB AG

RTU560 Transmission and Storage of Meter Data

Configuration
48

RTU inoperable

After initialization of the subdevice communication interface, the system event RTU_ACTIVE is generated as SPI with value 1 for every correctly configured device. On a running system this system event will not change. If the line/device supervision is enabled for this line (see chapter 3.2, IED parameter: cycle time read check byte > 0), the subdevice communication interface will supervise the communication line and the connected devices by reading the OBIS identification number F.F (see [5]). <SOH>R5<STX>F.F<ETX><BCC> In case of a failure, the subdevice communication interface will generate the system event RTU_INOPERABLE.
State of the subordinated device OFFLINE ONLINE Value of system event 48 1 0

ABB AG

1KGT 150 548 V001 1

4-3

File Archive Functions

5.1

Access to the File Archive


Within RTU560 Webserver there is an own page for the file archive. This page shows the files in a variable structure, configurable by the user. This page is also used for the file transfer of the files to the workplace PC.

Figure 5-1: Access to the archive file manager The menu bar on top of the table contains (from left to right) a pushbutton to open a dialog for the conversion properties (see chapter 5.2), a pushbutton to navigate in the folder, and a pushbutton to refresh the page.

Figure 5-2: Pushbutton of the file manager The left hand part of the table shows all available directories within the RTU560, the right hand part shows the directory structure of the local PC (see Figure 5-3).

ABB AG

1KGT 150 548 V001 1

5-1

File Archive Functions

RTU560 Transmission and Storage of Meter Data

Figure 5-3: File Archive Manager, main page

5.2

Conversion Properties
For each directory displayed in the Archive File Manager it is possible to configure a target directory and a target filename. Entered values will be saved on the local PC for the current logged in user, if the operation system supports user accounts. Therefore the entered values have only be entered once, even if the web-browser or the RTU560 will be restarted. The field Target directory name contains the name of the target directory on a local PC. This entry is only necessary for automatic download of meter data, initiated by the local PC. In the field Target Filename the resulting name of the selected file after copying to the local PC can be entered. If no value entered, a default name will be used. In the field Conversion Call is not necessary for load profiles and log files.

5-2

1KGT 150 548 V001 1

ABB AG

RTU560 Transmission and Storage of Meter Data

File Archive Functions

Figure 5-4: Conversion properties Both values are strings, supporting wildcard usage. With the wildcards it is possible to define a target filename or a conversion call for all files in a directory. Wildcards starts and ends always with the percentage-sign % (e.g. %nameoffile% ). While processing, wildcards will be replaced by the corresponding values of the selected file. The following wildcards are supported by the RTU560 archive manager:

ABB AG

1KGT 150 548 V001 1

5-3

File Archive Functions

RTU560 Transmission and Storage of Meter Data

Wildcard nameoffile revindex Name of File

Meaning

Directory entries, that can not be differed by name of file or creation time, have different revision indices. Revision index starts always with a and will be incremented Year of creation time in format YY. Example: Year 2003 will be displayed as 03 Range: 0 99 Month of creation time in format MM. Example: Month December will be displayed as 12 Range: 1 12 Day of month of creation time in format DD. Range: 1 31 Hour of creation time in format HH. Range: 0 24 Minute of creation time in format MM. Range: 0 59 Second of creation time in format XX. Range: 0 59 Year of storage time in format YY. Example: Year 2003 will be displayed as 03 Range: 0 99 Month of storage time in format MM. Example: Month December will be displayed as 12 Range: 1 12 Day of month of storage time in format DD. Range: 1 31

cyear2

cmonth

cdayofmonth chourofday cminute csecond syear

smonth

sdayofmonth

5-4

1KGT 150 548 V001 1

ABB AG

RTU560 Transmission and Storage of Meter Data

File Archive Functions

Wildcard shourofday sminute ssecond workingdir parentdir targetfilename

Meaning Hour of storage time in format HH. Range: 0 - 24 Minute of storage time in format MM. Range: 0 59 Second of storage time in format XX. Range: 0 59 The path of the directory selected on the local PC selected in the right-panel. Name of the parent directory the selected file is located in as displayed in the header of the dialog. The result of the processed target filename string. That means all wildcards are already replaced by the corresponding values of the selected file.

Table 5-1: Wildcards Wildcards which are numbers can be extended to a fixed number of characters by adding a 0 (Zero) followed by the number of characters of the item. Example Value: Wildcard: Result: Value Wildcard: Result: Value: Wildcard: Result: Creation time 4 minutes, 2 digits with leading 0, if necessary. %02cminute% 04 Creation year 1998, only the last two digits %cyear2% 98 Creation date 1.12.2002, format YYYY-MM-DD. %cyear4%-%02cmonth%-%02cdayofmonth% 2002-12-01

MyFile_%nameoffile%_%cyear2%-%02cmonth%-%02cdayofmonth%.xyz With File number 15 and creation date June 18th, 2003 will result in the string: MyFile_15_03-06-18.xyz

ABB AG

1KGT 150 548 V001 1

5-5

You might also like