universal berg netzbaustein · pdf fileit is a single character which results from exclusive...

28
STANDARD Protocol Manual English Rev. 005 - 16/05/2006 1UBMSTD31005 Universal Berg Netzbaustein UBN3100 DIN 144x144 LCD Power Meter www.berg-energie.de

Upload: duongnhu

Post on 20-Mar-2018

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

STANDARD Protocol ManualEnglish

Rev. 005 - 16/05/20061UB

MS

TD31

005

Universal Berg Netzbaustein

UBN3100DIN 144x144 LCD Power Meter

www.berg-energie.de

Page 2: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

A

ENGLISH

TABLE OF CONTENTS

STANDARD Communication Protocol

TABLE OF CONTENTS

1. INTRODUCTION 1

2. GRAPHIC SYMBOLS 2

3. DESCRIPTION 3

3.1 Communication 3

3.2 Identifi cation Code 3

3.3 Data Request Sequence 4

3.3.1 Response Sequence 5

3.4 Parameter Setting Sequence 6

3.4.1 Response Sequence 7

3.5 Check Characters 7

4. COMMANDS 8

4.1 Measured Values 8

4.2 Programmed Parameters & Other Info 11

4.3 Programmable Parameters 15

4.4 Variables List 20

4.5 Error Messages 22

5. ASCII CHARACTERS TABLE 23

Page 3: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

1

ENGLISH

INTRODUCTION

STANDARD Communication Protocol

1. INTRODUCTION

This manual provides information on the STANDARD communication protocol. The publication is not intended for general use, but for qualifi ed technicians.This term indicates a professional and skilled technician, authorised to act in accordance with the safety standards relating to the dangers posed by electric current.This person must also have basic fi rst-aid training and be in possession of suitable Personal Protective Equipment.

WARNING!It is strictly forbidden, for anyone who does not have the above-mentioned features, to install or use the device.

The device is made in compliance with the European Union directives in force, as well as in com-pliance with the technical standards implementing these requirements, as certifi ed by the CE mark on the device and in this manual.It is strictly forbidden to use the instrument for purposes other than those intended, which can be deduced from the manual content.

The Manufacturer reserves the right to make changes on the device or in the device specifi cations identifi ed in this manual without notice.The Manufacturer declines all liability for any use of the instrument which is different from that described in this manual and in the instrument manual, or for the lack/incorrect application of the reported instructions.

The information, contained in this manual, may not be divulged to third parties. Any copy of this manual, either partial or total, by photocopying, or by other means, also electronically, without written authorization from the Manufacturer, violates the copyright and is punishable by law.

The information contained in this document is believed to be accurate at the time of publication, however, the Manufacturer assumes no responsability for any errors which may appear here and reserves the right to make changes without notice.

Any brands mentioned in the publication are property of their respective owners.

Page 4: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

2

ENGLISH

GRAPHIC SYMBOLS

STANDARD Communication Protocol

2. GRAPHIC SYMBOLS

In the manual and on the device, some instructions are highlighted by symbols to draw the reader’s attention to the operational dangers.These symbols are the following:

DANGER!This warning indicates the possible presence of voltage exceeding 1kV on the marked terminals (even for short periods).

WARNING!This warning indicates the possible occurrence of an event which may cause a serious accident or considerable damage to the device if suitable precautionary countermeasures are not taken.

ATTENTION!This warning indicates the possible occurrence of an event which may cause a light accident or damage to the device if suitable precautionary countermeasures are not taken.

NOTEThis warning indicates important information which must be read care-fully.

Page 5: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

3 DESCRIPTION

ENGLISHSTANDARD Communication Protocol

3. DESCRIPTION

3.1 CommunicationThe protocol specifi cations defi ne the data sequence, the programming sequence and the check codes, necessary for a proper data communication.

This protocol allows the communication between the PC (master) and the instrument (slave).

The protocol uses an half duplex connection on a single line. In this way, the communication messages move on a single line in two opposite directions.

It is not possible a communication between instruments, without PC, as they cannot send comman-ds; instruments are limited to reply. All the trasmitted characters are part of the ASCII code (see chapter 5).

3.2 Identification CodeIn a multi-point type connection, a code allows to identify each instrument during the communi-cation. This code, the Serial Number, is assigned to each instrument by the manufacturer.It is made of 9 characters (numbers and letters), printed on the instrument label.

A second identifi cation code, the Logical Number, can be assigned by the user. As it is made up of 2 ASCII characters ($01...$FF), it allows a faster communication.

The Logical Number can be changed at any time using the specifi c command (see section 4.3). The instrument is supplied with a $01 Logical Number.

NOTEThe $00 Logical Number is used for broadcast commands. A command with the $00 Logical number is received by all the instruments connected in the network.

Page 6: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

4 DESCRIPTION

ENGLISHSTANDARD Communication Protocol

WARNING!In an instruments network, the $00 code can be used only for sending write commands. An interrogation would generate a simultaneous response from all of the instruments, with the possibility of malfunctions.

3.3 Data Request SequenceBy the master, a data request sequence is sent to the instrument (slave) to read information on the device (measured values, programmed parameters,...). This interrogation cannot change instrument confi guration. The following description shows the correct sequence of characters for a proper interrogation:

<STX>02R63<ETX>($51)

[begin block character][instrument identifi cation][command][end block character][check character]

[begin block character] It is always <STX> ($02) character.

[instrument identifi cation]It is usually represented by the Logical Number ($01...$FF). The character S ($53) can also be used followed by the instrument Serial Number (9 alphanumeric characters).

[command] It is always R ($52) character followed by the variable number to be read (see section 4.1), ex-pressed in hexadecimal.

[end block character] It is always <ETX> ($03) character.

[check character] It is a single character which results from EXCLUSIVE OR (XOR) of all the characters from <STX> up to and including <ETX>. It is used to check the transmitted data.

Page 7: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

5 DESCRIPTION

ENGLISHSTANDARD Communication Protocol

3.3.1 Response Sequence

When the instrument, with the corresponding Serial Number or Logical Number, received a read command, it replies with the following message.

<STX>+380.0<SP>.....<ETX><BCC>

[begin block character][data block][end block character][check character]

[begin block character]It is always <STX> ($02) character.

[data block]The data block format changes according to the sent command.

1. Data block of a variables group.

+380.0<SP>+13.38k...........+123.380kAlgebraic signVariable value with decimal pointMultiplier (see the following table)

Character Meaning Multiplier <SP> space 1 k kilo 1000 M Mega 1000000 G Giga 1000000000

4. Error reply. Ennn

Error code ($45)Code relative to the error type

[end block character]It is always <ETX> ($03) character.

[check character] It is a single character which results from EXCLUSIVE OR (XOR) of all the characters from <STX> up to and including <ETX>. It is used to check the transmitted data.

Page 8: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

6 DESCRIPTION

ENGLISHSTANDARD Communication Protocol

3.4 Parameter Setting SequenceBy the master, a programming sequence is sent to the instrument (slave) to change specifi c parameters (instrument confi guration). The following description shows the correct sequence of characters for a proper command.

<STX>SA1T120050W84=0A<ETX>($67)[begin block character][instrument identifi cation][command][new value][end block character][check character]

[begin block character]It is always <STX> ($02) character.

[instrument identifi cation]It is usually represented by the Logical Number ($01...$FF). The S ($53) character can also be used followed by the instrument Serial Number (9 alphanumeric characters).

[command] It is always W ($57) character followed by the variable number to be changed (see section 4.3) expressed in hexadecimal by two alphanumeric characters and always followed by the character =($3D).

[new value] It is a series of alphanumeric characters which express the new value, according to the assigned parameter (see section 2.3).

[end block character]It is always <ETX> ($03) character.

[check character]It is a single character resulting from EXCLUSIVE OR (XOR) of all the characters from <STX> up to and including <ETX>. It is used to check the transmitted data.

Page 9: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

7 DESCRIPTION

ENGLISHSTANDARD Communication Protocol

3.4.1 Response Sequence

When the instrument, with the corresponding Serial Number or Logical Number, received a write command, it replies with the following message.

<STX>E000<ETX>($74)

[begin block character][data block] [end block character][check character]

[begin block character]It is always <STX> ($02) character.

[data block] It is made up of E ($45) character followed by 3 numerical characters which indicate the code relative to the error. The E000 code specifi es that the operation has been completed correctly.

[end block character]It is always <ETX> ($03) character.

[check character] It is a single character resulting from EXCLUSIVE OR (XOR) of all of the characters from <STX> up to and including <ETX>, used to check the transmitted data.

3.5 Check Characters

The used check characters are the following:

<STX> Start of text ($02)Start of text character. Preceeds the data in all frames.

<ETX> End of text ($03)End block character.

<BCC> Block check characterIt is represented by 2 digit number, obtained by the operation of EXCLUSIVE OR (XOR) carried out on the transmitted data, as shown in the preceeding examples.

Page 10: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

8 COMMANDS

STANDARD Communication Protocol ENGLISH

4. COMMANDS

NOTEThe * symbol indicates a parameter available only when the instrument includes the relevant option.

4.1 Measured values (codes valid for read only)

R00 SYSTEM VOLTAGER01 PHASE 1 VOLTAGER02 PHASE 2 VOLTAGER03 PHASE 3 VOLTAGER04 LINE 12 VOLTAGER05 LINE 23 VOLTAGER06 LINE 31 VOLTAGE

R08 SYSTEM CURRENTR09 PHASE 1 CURRENTR0A PHASE 2 CURRENTR0B PHASE 3 CURRENT

R0C PHASE 1 CURRENT THDR0D PHASE 2 CURRENT THDR0E PHASE 3 CURRENT THD

R0F NEUTRAL CURRENT

R10 SYSTEM POWER FACTORR11 PHASE 1 POWER FACTORR12 PHASE 2 POWER FACTORR13 PHASE 3 POWER FACTOR

R15 PHASE 1 COSØR16 PHASE 2 COSØR17 PHASE 3 COSØ

R18 SYSTEM APPARENT POWER R19 PHASE 1 APPARENT POWERR1A PHASE 2 APPARENT POWERR1B PHASE 3 APPARENT POWER

R20 SYSTEM ACTIVE POWERR21 PHASE 1 ACTIVE POWERR22 PHASE 2 ACTIVE POWERR23 PHASE 3 ACTIVE POWER

R28 SYSTEM REACTIVE POWERR29 PHASE 1 REACTIVE POWERR2A PHASE 2 REACTIVE POWERR2B PHASE 3 REACTIVE POWER

Command Description

Page 11: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

9 COMMANDS

STANDARD Communication Protocol ENGLISH

R2C DIGITAL INPUT 1 (pulse counter value)R2D DIGITAL INPUT 2 (pulse counter value)R1E DIGITAL INPUT 3 (pulse counter value)R1F DIGITAL INPUT 4 (pulse counter value)

R30 IMPORTED ACTIVE ENERGYR31 IMPORTED LAGGING REACTIVE ENERGYR33 IMPORTED LEADING REACTIVE ENERGYR1C IMPORTED APPARENT ENERGY

R32 EXPORTED ACTIVE ENERGY R2E EXPORTED LAGGING REACTIVE ENERGYR2F EXPORTED LEADING REACTIVE ENERGYR1D EXPORTED APPARENT ENERGY

R34 FREQUENCY

R36 PHASE 1 VOLTAGE THDR37 PHASE 2 VOLTAGE THDR38 PHASE 3 VOLTAGE THD

R3B PHASE REVERSAL

R3D ALL MEASURED INSTANTANEOUS VARIABLES (compatible with UPM3010)R3D.01 Answer format: <STX> VΣ V1 V2 V3 V12 V23 V31 AΣ A1 A2 A3 THDA1 THDA2 THDA3 AN PFΣ PF1 PF2 PF3 NUL COSØ1

COSØ2 COSØ3 VAΣ VA1 VA2 VA3 WΣ W1 W2 W3 varΣ var1 var2 var3 IN1 IN2 IN3 IN4 +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F THDV1 THDV2 THDV3 NUL RST <ETX><BCC>

Values format: • Powers: 4 digits: sign (space,+,-) + value on 4 digits with decimal point (5 char) + multiplier (space, k, M, G, T, …) 5 digits: sign (space,+,-) + value on 5 digits with decimal point (6 char) + multiplier (space, k, M, G, T, …) To set number of digits, see section 4.3 (command W82) • Digital inputs: sign (space,+,-) + value on 8 digits with decimal point (9 char) + multiplier (space, k, M, G, T, …)

• Energy counters: sign (space,+,-) + value on 6 digits with decimal point (7 char) + multiplier (space, k, M, G, T, …)

• Phase reversal: sign (space,+,-) + value on 3 digits with decimal point (4 char) + 1 space • All other values: sign (space,+,-) + value on 4 digits with decimal point (5 char) + multiplier (space, k, M, G, T, …) sign for PF and COSϕ is: + (=lagging character); - (=leading character)

R40 UPM 3000 (OLD VERSION) COMPATIBLE ANSWER FORMAT Answer format: <STX> VΣ V1 V2 V3 V12 V23 V31 AΣ A1 A2 A3 PFΣ PF1 PF2 PF3 VAΣ VA1 VA2 VA3 WΣ W1 W2 W3 varΣ

var1 var2 var3 +Wh +varhI -Wh +varhC F THDV1 THDV2 THDV3 WΣDMD <ETX><BCC> Values format: see R3D

Command Description

Page 12: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

10 COMMANDS

STANDARD Communication Protocol ENGLISH

Command Description Answer format

R41 SYSTEM VALUES <STX> VΣ AΣ WΣ PFΣ <ETX><BCC> R42 SYSTEM POWERS <STX> WΣ varΣ VAΣ NUL <ETX><BCC> R43 ENERGY COUNTERS <STX> +Wh +varhI +varhC +VAh -Wh -varhI -varhC -Vah <ETX><BCC> R44 L-L VOLTAGES, FREQUENCY <STX> V12 V23 V31 Hz <ETX><BCC>R45 L-N VOLTAGES <STX> V1 V2 V3 <ETX><BCC>R46 PHASE CURRENTS <STX> A1 A2 A3<ETX><BCC> R47 PHASE ACTIVE POWERS <STX> W1 W2 W3 <ETX><BCC>R48 PHASE POWER FACTORS <STX> PF1 PF2 PF3 <ETX><BCC>R49 PHASE APPARENT POWERS <STX> VA1 VA2 VA3 <ETX><BCC>R4A PHASE REACTIVE POWERS <STX> var1 var2 var3 <ETX><BCC>R4B PHASE 1 VALUES <STX> V1 A1 W1 PF1 <ETX><BCC>R4C PHASE 2 VALUES <STX> V2 A2 W2 PF2 <ETX><BCC>R4D PHASE 3 VALUES <STX> V3 A3 W3 PF3 <ETX><BCC>R4E PHASE VOLTAGE THD <STX> THDV1 THDV2 THDV3 <ETX><BCC>R4F PHASE CURRENT THD <STX> THDA1 THDA2 THDA3 <ETX><BCC>

R50 READ THE VARIABLES PROGRAMMED WITH WD0 COMMAND

R60 MIN/MAX VALUES WITHOUT DATE AND TIME Answer format: <STX> VΣ V1 V2 V3 AΣ A1 A2 A3 VAΣ WΣ PFΣ varΣ <ETX><BCC> Values format: see R3D

R61 MIN/MAX VALUES WITH DATE AND TIME Answer format: <STX> VΣ Date Time V1 Date Time V2 Date Time V3 Date Time AΣ Date Time A1 Date Time A2 Date

Time A3 Date Time VAΣ Date Time WΣ Date Time PFΣ Date Time varΣ Date Time <ETX><BCC> Values format: see R3D Date format: month (3 characters + space) + day (2 characters) Time format: hh:mm:ss (space + 8 characters)

R62 ALL PEAK VALUES WITH DATE AND TIME Answer format (import/export): <STX> +A1DMDPk Date Time, +A2DMDPk Date Time, +A3DMDPk Date Time, ANDMDPk Date Time,

+WΣDMDPk Date Time +VAΣDMD +varIΣDMD WΣDMD/VAΣDMD(I), +VAΣDMDPk Date Time +WΣDMD +varIΣDMD WΣDMD/VAΣDMD(I), +varIΣDMDPk Date Time +WΣDMD +VAΣDMD WΣDMD/VAΣDMD(I), +varCΣDMDPk Date Time -WΣDMD -VAΣDMD WΣDMD/VAΣDMD(C)

-A1DMDPk Date Time, -A2DMDPk Date Time, -A3DMDPk Date Time, -WΣDMDPk Date Time -VAΣDMD -varIΣDMD WΣDMD/VAΣDMD(I), -VAΣDMDPk Date Time -WΣDMD +varCΣDMD WΣDMD/VAΣDMD(C), -varIΣDMDPk Date Time -WΣDMD -VAΣDMD WΣDMD/VAΣDMD(I), -varCΣDMDPk Date Time +WΣDMD +VAΣDMD WΣDMD/VAΣDMD(C)<ETX><BCC>

Values format: see R3D Date format: month (3 characters + space) + day (2 characters) Time format: hh:mm:ss (space + 8 characters)

R86 ALL DEMAND VALUES WITHOUT DATE AND TIME Answer format: <STX> +A1DMD +A2DMD +A3DMD ANDMD +WΣDMD +VAΣDMD +WΣDMD/VAΣDMD +AΣDMD +varI-

DMD +varCDMD -A1DMD -A2DMD -A3DMD -WΣDMD -VAΣDMD -WΣDMD/VAΣDMD -AΣDMD -varIDMD -varCDMD<ETX><BCC>

Page 13: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

11 COMMANDS

STANDARD Communication Protocol ENGLISH

Command Description Answer format

R64 MIN/MAX SYSTEM VOLTAGE <STX>VΣ<ETX><BCC>R65 MIN/MAX PHASE 1 VOLTAGE <STX>V1<ETX><BCC>R66 MIN/MAX PHASE 2 VOLTAGE <STX>V2<ETX><BCC>R67 MIN/MAX PHASE 3 VOLTAGE <STX>V3<ETX><BCC>R68 MIN/MAX SYSTEM CURRENT <STX>AΣ<ETX><BCC>R69 MIN/MAX PHASE 1 CURRENT <STX>A1<ETX><BCC>R6A MIN/MAX PHASE 2 CURRENT <STX>A2<ETX><BCC>R6B MIN/MAX PHASE 3 CURRENT <STX>A3<ETX><BCC>R6C MIN/MAX SYSTEM ACTIVE POWER <STX>WΣ<ETX><BCC>R6D MIN/MAX SYSTEM APPARENT POWER <STX>VAΣ<ETX><BCC>R6E MIN/MAX SYSTEM POWER FACTOR <STX>PFΣ<ETX><BCC>R6F MIN/MAX SYSTEM REACTIVE POWER <STX>varΣ<ETX><BCC>

4.2 Programmed parameters & other info R5F ALL PROGRAMMED PARAMETERS OF THE INSTRUMENT List of write commands in order of answer: <STX> W80, W82, W84, W89, W90, W92, W98, W9B, W9C, WD0, WD1, WDA, WDC, WDE, WA (0/1),

WB (0/1), WA (4/5), WB (4/5), WA (8/9) WB (8/9), WA3, WB3, WA7, WB7, WA2, WB2, WC2, WD2, WF1 <ETX> <BCC>

R63 SERIAL NUMBER R70 INSTRUMENT DATE Answer format: <STX> yy/mm/dd <ETX><BCC>

R71 INSTRUMENT TIME Answer format: <STX> hh:mm:ss <ETX><BCC>

R72 DAY OF THE WEEK Answer format: <STX> 10 characters <ETX><BCC> Example: <STX> Wednesday <ETX><BCC>

R74 TIMEBANDS ENERGY COUNTERS Answer format: <STX>PmonthTBcounters(band 1,2,3) monthTBcounters(band1,2,3) PdayTBcounters(band1,2,3) today

TBcounters(band1,2,3) <ETX><BCC> Energy counters are in this order: +Wh, +varhI, +varhC, +VAh, -Wh, -varhI, -varhC, -VAh

R76.01 PHASE 1 VOLTAGE SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

R76.02 PHASE 2 VOLTAGE SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

R76.03 PHASE 3 VOLTAGE SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

Page 14: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

12 COMMANDS

STANDARD Communication Protocol ENGLISH

R77.01 PHASE 1 CURRENT SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

R77.02 PHASE 2 CURRENT SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

R77.03 PHASE 3 CURRENT SAMPLES Answer format: <STX> <SP> 1024 characters (128 samples per 2 wave) <ETX> <BCC>

R78 INSTRUMENT FIRMWARE RELEASE

R79 PHASE 1 VOLTAGE HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7A PHASE 2 VOLTAGE HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7B PHASE 3 VOLTAGE HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7C PHASE 1 CURRENT HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7D PHASE 2 CURRENT HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7E PHASE 3 CURRENT HARMONICS INSTANT VALUES Answer format: <STX><SP>255 characters (51 x 5 char.)<ETX><BCC>

R7F.001 INSTRUMENT CONFIGURATION Answer format: <STX> OA=XX;OD=XX;ID=XX;RAM=XXXXk <ETX> <BCC> OA - Number of analog outputs * OD - Number of digital outputs ID - Number of digital inputs * RAM - Detected memory (kB)

R7F.002 FULLSCALE AND OTHER INSTRUMENT INFORMATION Answer format: <STX> KTA=0500.0000;KTV=0001.0000;KTI=0001.0000;FSA=0500.0;FSA3=0500.0;FSN=0500.0;FSV

=0433.0;FSV3=0750.0;FSW=0216.5k;FSW3=0649.5k;FSF=0100.0 ;CSDO=2220;Memo=FD;CPU2=MMAVG;MODE=1,2;NM=1;ADL=1;CPU2R=1.12;<ETX><BCC=35h>

R7F.004 INSTRUMENT NAME Answer format: <STX> 3100 <ETX> <BCC>

Command Description

Page 15: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

13 COMMANDS

STANDARD Communication Protocol ENGLISH

R7F.008 INFORMATION ON R3D ANSWER FORMAT Answer format: <STX> X1,Y1 X2,Y2 X3,Y3...X53,Y53 <ETX><BCC>

Xn variable numnber (see section 4.4) , separator between variable and measurement unit Yn measurement unit <space> separator between two fi elds

Measurement unit: 10= Volt 11= dHz 12= dperc 13= costs and PF 20= mA 21= VA 22= Watt 23= var 24= Wh 25= varh 26= Vah

Answer example: <STX> 00,10 01,10 02,10 03,10 04,10 05,10 06,10 08,20 09,20 0A,20 0B,20 0C,12 0D,12 0E,12 0F,20

10,13 11,13 12,13 13,13 FF,-- 15,13 16,13 17,13 18,21 19,21 1A,21 1B,21 20,22 21,22 22,22 23,22 28,23 29,23 2A,23 2B,23 2C,24 2D,24 1E,24 1F,24 30,24 31,25 33,25 1C,26 32,24 2E,25 2F,25 1D,26 34,11 36,12 37,12 38,12 FF,-- 3B,-- <ETX><BCC=54h>

R80 MEMORY CONFIGURATION INFO Answer format: <STX> ID,YYMMDDHHMMSS,CC,DDDDDDDDD,EE,FF; <ETX><BCC> ID File identifi er YYMMDDHHMMSS Date and Time CC Type of fi le 00 DMD Power 01 Min/Max 02 Harmonics 03 Samples 04 VDROP * 05 MIN/AVG/MAX * DDDDDDDDD File size in bytes EE File status 00 OFF 01 ON 03 WAIT FF Recorder mode 01 FILL

R81_ID FILE STATUS ID = File identifi er Answer format: <STX> CC,A,YYYYYY,B,yymmddhhmmssYYMMDDHHMMSS,X1X2X3....Xn <ETX><BCC>

CC Type of fi le (see command R80) A File status 1=Enabled 2=Disabled

Command Description

Page 16: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

14 COMMANDS

STANDARD Communication Protocol ENGLISH

YYYYYY Recording time interval (sec.) DMD Power $3C,$12C,$258,$384,$708,$E10 Harmonics $3C,$12C,$258,$384,$708,$E10 Min/max $3C÷$927C0 Samples $1÷$2710 B Start/stop mode 0=Continuous 1=Clock yymmddhhmmss Start date and time of recording (in Continuous mode = 000101000000) YYMMDDHHMMSS Stop date and time of recording (in Continuous mode = 000101000000) X1X2X3....Xn Variables to store (see section 4.4)

R84.001_ID DOWNLOAD THE FIRST DATA BLOCK OF THE REQUIRED FILE ID = File identifi er The fi rst data block can contain a maximum number of $3F9 (1017, in decimal) bytes. Answer format for DMD Power, Min/Max, Harm, InstValues fi le:

<STX>XXXXYYAAAAAAAAAAAABBBBCCCCCCCCCCCCDDDDDDDDDDDDEEEEFFFFFFFF(aabb)1 .....(aabb)n (G1G2G3G4)1.....(G1G2G3G4)n YYMMDDHHMMSSIIII....LLLL<ETX>

XXXX Block size, in hexadecimal (number of characters)YY File status; 01=ON, 00=OFFAAAAAAAAAAAA Recording time interval (in hexadecimal)BBBB Start/Stop mode; CONT.=0000, CLOCK=0001CCCCCCCCCCCC Seconds elapsed from 01/01/2000 to the recording start (in hexadecimal)DDDDDDDDDDDD Seconds elapsed from 01/01/2000 to the recording stop (in hexadecimal)EEEE Max number of recordable variables (in hexadecimal)FFFFFFFF Reserved(aabb)1 .....(aabb)n Status of each recordable variable; aa=01 the variable exist in the wiring mode aa=00 the variable does not exist in the wiring mode bb=01 the variable has been programmed bb=00 the variable has not been programmed(G1G2G3G4)1 ..(G1G2G3G4)n Displayed format for each recordable variable: G1 number of digits before decimal point G2 number of digits after decimal point G3 multiplier; 0=mili 1=no multiplier 2=kilo 3=Mega 4=Giga G4 do not careYYMMDDHHMMSS Date and time of the fi rst recorded values (in hexadecimal)IIII... First recorded values (in hexadecimal) Harm, Min/Max, Samples format: 1 word DMD Power format (Energy): 2 word Only in case of Energies recording, carry out the following values calculation:

data in decimal * 0.1 = energy value in Wh, varh or VAhLLLL Block index

R84.002_ID DOWNLOAD THE NEXT DATA BLOCK OF THE REQUIRED FILE Command format: R84.002_ID_xxxx xxxx = block index Answer format: see R84.001_ID

R84.003_ID SEND THE LAST DOWNLOADED DATA BLOCK OF THE REQUIRED FILE Answer format: see R84.001_ID

Command Description

Page 17: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

15 COMMANDS

STANDARD Communication Protocol ENGLISH

4.3 Programmable parameters (codes valid for write only)

W80 SERIAL COMMUNICATION NO Command format: W80=Baud rate,Parity,Bit,Stop Available values: Baud Rate 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 Parity N=None, E=Even, O=Odd Bit 8 Stop 1 Example: W80=38400,N,8,1

W82 FORMAT SELECTION OF THE ANSWER FOR ALL THE POWER VARIABLES NO Command format: W82=X Available values: 4 or 5 digit plus the decimal point Example: W82=4

W84 LOGICAL NUMBER NO Command format: W84=XX Available values: $01÷$FF Example: W84=01

W85 DATE AND TIME NO Command format: W85=YYMMDDHHMMSS Example: W85=050330103005

W89 DATE, TIME AND WEEK DAY NO Command format: W89=YYMMDDHHMMSSd d=day of the week: 1÷7 = Monday÷Sunday Example: W89=0503301030053

W8F ERASE PROFILE PAGE YES Command format: W8F=XX Example: W8F=00

W90 CURRENT INPUT YES Command format: W90=XX,YYYY/ZZ XX Insertion mode: 02=CT YYYY Primary value: 0000÷9999 ZZ Secondary value: 1 or 5 Example: W90=02,0160/05 W92 VOLTAGE INPUT YES

Command format: W92=XX,YYY.YYK/ZZZ XX Insertion mode: 00=Direct, 01=VT YYY.YY Primary value: 000.00÷999.99 K Multiplier: " ", "k", "M" ZZZ Secondary value: 001÷150 Example: W92=01,999.99k/100

Command Description Reset

Page 18: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

16 COMMANDS

STANDARD Communication Protocol ENGLISH

W95 VALUES TO STORE IN RAM PROGRAMMING NO The length of this command changes proportionally to the parameters to store. Command format: W95=XX,A,YYYYYY,B,yymmddhhmmss,YYMMDDHHMMSS,KK...KK XX Type of fi le 00=DMD Power 01=Min/Max 02=Harmonics 03=Samples

A File status 1=ON 2=OFF

YYYYYY Recording time interval DMD Power $3C,$12C,$258,$384,$708,$E10 Harmonics $3C,$12C,$258,$384,$708,$E10 Min/max $3C÷$927C0 Samples $1÷$2710 B St/stop mode 0=continuous 1=clock

yymmddhhmmss Start date and time of recording (in Continuous mode=000101000000) YYMMDDHHMMSS Stop date and time of recording (in Continuous mode=000101000000) KK...KK Variables to store (see section 4.4)

Example: W95=00,1,000060,1,050331103000050331123000,3031

W96 CLEAR FILES NO Command format: W96=XX XX ID of the recording fi le to be deleted Example: W96=01

WC2 CLEAR THE RECORDED DATA OF A FILE NO Command format: WC2=XX XX ID of the recording fi le whose data will be deleted Example: WC2=01

W97 START/STOP RECORDING NO Command format: W97=XX,YY XX File ID YY 00=Stop recording 01=Start recording Example: W97=01,00

W98 INTEGRATION TIME FOR DEMAND VALUES CALCULATION YES Command format: W98=XX Available values: 01, 05, 10, 15, 30, 60 minutes Example: W98=01

W9B DISPLAY BACKLIGHT ON TIME NO Command format: W9B=XX Available values: 01, 05, 10, 15, 30, 60 seconds Example: W9B=60

Command Description Reset

Page 19: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

17 COMMANDS

STANDARD Communication Protocol ENGLISH

W9C MEASURED SIGNAL FREQUENCY YES Command format: W9C=X,YY.YY X Syncro type 0=Fixed 1=Auto YY.YY Measured signal frequency 45.00÷65.00Hz YYY.Y Measured signal frequency 014.0÷500.0Hz (only with WFR option) Example: W9C=1,50.00

W9F COUNTERS RESET NO Command format: W9F=XXXXX Available values: 43000 Reset energy counters 53000 Reset digital input counters * 75000 Reset timebands energy counters 75430 Reset all counters Example: W9F=43000

WCF MIN/MAX VALUES RESET NO Command format: WCF=XX Available values: 00 Reset min/max counters 10 Reset demand counters 11 Reset peak counters Example: WCF=00

WD0 PROGRAM UP TO 5 VARIABLES TO BE READ WITH R50 COMMAND Command format: WD0=AA,BB,CC,DD,EE If less than 5 parameters are programmed, substitute FF for the variables not used. Example: WD0=00,01,02,03,FF

WD1 TIME OF USE - SCHEDULE SETUP NO Command format: WD1=XHHMMFHHMMFHHMMFHHMMFHHMMFHHMMFHHMMFHHMMFYYYYYYYZZZZZZZZZZZZ X Schedule number: $1÷$A HHMM Hour and minutes in decimal (8 periods) F Rate: $0÷$3 YYYYYYY Enable/disable the week days for the schedule; 0=disable / 1=enable ZZZZZ..ZZ Enable/disable the months for the schedule: 0=disable / 1=enable Example: WD1=107303090031030212301153021730220003230001111100011110000111

WDA WIRING MODE YES Command format: WDA=XX Available modes: 01=1phase 02=1phase, 3wires, 2CTs 03=3phases, 3wires, 2CTs 04=3phases, 4wires, 3CTs 05=3phases, 3wires, 3CTs 06=3phases, 3wires, 1CT 07=3phases, 1Volt, 3CTs Example: WDA=04

WDB CURRENT INPUT FULLSCALE YES Command format: WDB=XX

Available values: 01=1 A 05=5 A Example: WDB=01

Command Description Reset

Page 20: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

18 COMMANDS

STANDARD Communication Protocol ENGLISH

WDC ENERGY COUNTERS RESOLUTION NO Command format: WDC=XX Available values: 00=Slow (standard resolution) 01=Fast (high resolution) Example: WDC=00

WDE LANGUAGE NO Command format: WDE=XX Available values: 00=English 01=Deutsch 02=Français 03=Italiano 04=Español Example: WDE=00

DIGITAL OUTPUT 1WA0 PULSE YES Command format: WA0=XX,Y.YYY,ZZZ XX Associated variable (see section 4.4) Y.YYY Pulse coeffi cient (ex. Wh/pulse) ZZZ Pulse duration time, 500 msec. fi xed Example: WA0=30,0.172,500

WA1 THRESHOLD YES Command format: WA1=XX,K,YYY.YY,WW,ZZZ XX Associated variable (see section 4.4) K Threshold mode L=low threshold H=high threshold YYY.YY Tripping value referring to the full scale WW Hysteresis percentage value referrring to the tripping value (0÷99%) ZZZ Delay time on threshold tripping (0÷999 seconds) Example: WA1=20,H,050.00,15,030

DIGITAL OUTPUT 2WB0 PULSE (for the Command format, see WA0) YESWB1 THRESHOLD (for the Command format, see WA1) YES

DIGITAL OUTPUT 3 *WA4 PULSE (for the Command format, see WA0) YESWA5 THRESHOLD (for the Command format, see WA1) YES

DIGITAL OUTPUT 4 *WB4 PULSE (for the Command format, see WA0) YESWB5 THRESHOLD (for the Command format, see WA1) YES DIGITAL OUTPUT 5 *WA8 PULSE (for the Command format, see WA0) YESWA9 THRESHOLD (for the Command format, see WA1) YES

DIGITAL OUTPUT 6 *WB8 PULSE (for the Command format, see WA0) YESWB9 THRESHOLD (for the Command format, see WA1) YES

Command Description Reset

Page 21: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

19 COMMANDS

STANDARD Communication Protocol ENGLISH

WA2 DIGITAL INPUT 1 * YES Command format: WA2=X,YY.YY,ZZZZZ X I=Input identifi er YY.YY Tripping value referring to the full scale ZZZZZ Measurement unit 00000=none 00001=kWh 00002=kVAh 00003=kvarh 00004=MWh 00005=MVAh 00006=Mvarh 00007=GWh 00008=GVAh 00009=Gvarh 00010=m3 00011=I 00012=N,h’F8 00013=yd3 00014=ft3 00015=in3 00016=gal 00017=oz Example: WA2=I,01.00,00001 WB2 DIGITAL INPUT 2 * (for the Command format, see WA2) YES

WA6 DIGITAL INPUT 3 * (for the Command format, see WA2) YES

WB6 DIGITAL INPUT 4 * (for the Command format, see WA2) YES

WA3 ANALOG OUTPUT 1 * YES Command format: XX,Y,ZZZ.ZZ,JJJ.JJ XX Associated variable (see section 4.4) Y 0=Monodirectional output 0-20mA 4=Monodirectional output 4-20mA. The output is linear from the minimum limit value to the

maximum limit value A=Bidirectional output 0-20mA (10mA=Val.0) C=Bidirectional output 4-20mA (12mA=Val.0). The output is linear from the minimum limit

value (maximum negative) to zero and from zero to the maximum limit value ZZZ.ZZ Minimum limit value percentage referring to the full scale or negative maximum limit value

in the case of bidirectional output (it is possible to use ZZ.ZZ format) JJJ.JJ Maximum limit value percentage referrring to the full scale (it is also possible to use JJ.JJ

format) Example: WA3=00,0,000.00,020.00

WB3 ANALOG OUTPUT 2 * (for the Command format, see WA3) YES

WA7 ANALOG OUTPUT 3 * (for the Command format, see WA3) YES

WB7 ANALOG OUTPUT 4 * (for the Command format, see WA3) YES

Command Description Reset

Page 22: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

20 COMMANDS

STANDARD Communication Protocol ENGLISH

4.4 Variables ListThe code and the symbol, assigned to each variable, are described in the following list.

Code Description Symbol000 System voltage VΣ001 L-N voltage phase 1 V1002 L-N voltage phase 2 V2003 L-N voltage phase 3 V3004 L-L voltage line 12 V12005 L-L voltage line 23 V23006 L-L voltage line 31 V31008 System current AΣ009 Phase 1 current A100A Phase 2 current A200B Phase 3 current A300C Phase 1 current THD THDA100D Phase 2 current THD THDA200E Phase 3 current THD THDA300F Neutral current AN010 System power factor PFΣ011 Phase 1 power factor PF1012 Phase 2 power factor PF2013 Phase 3 power factor PF3015 Phase 1 COSØ COSØ1016 Phase 2 COSØ COSØ2017 Phase 3 COSØ COSØ3018 System apparent power VAΣ019 Phase 1 apparent power VA101A Phase 2 apparent power VA201B Phase 3 apparent power VA3020 System active power WΣ021 Phase 1 active power W1022 Phase 2 active power W2023 Phase 3 active power W3028 System reactive power varΣ029 Phase 1 reactive power var102A Phase 2 reactive power var202B Phase 3 reactive power var3034 Line frequency F036 Phase 1 voltage THD THDV1037 Phase 2 voltage THD THDV2038 Phase 3 voltage THD THDV303B Phase reversal RST040 System current demand (+) +AΣDMD041 Phase 1 current demand (+) +A1DMD042 Phase 2 current demand (+) +A2DMD043 Phase 3 current demand (+) +A3DMD044 Neutral current demand ANDMD045 System active power demand (+) +WΣDMD046 System apparent power demand (+) +VAΣDMD047 Ratio between system active power DMD and system apparent power DMD (+) +WΣDMD/VAΣDMD048 System reactive lagging power demand (+) +varIΣDMD049 System active leading power demand (+) +varCΣDMD

Page 23: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

21 COMMANDS

STANDARD Communication Protocol ENGLISH

04A System current demand (-) -AΣDMD04B Phase 1 current demand (-) -A1DMD04C Phase 2 current demand (-) -A2DMD04D Phase 3 current demand (-) -A3DMD04E System active power demand (-) -WΣDMD04F System apparent power demand (-) -VAΣDMD050 Ratio between system active power DMD and system apparent power DMD (-) -WΣDMD/VAΣDMD051 System reactive lagging power demand (-) -varIΣDMD052 System active leading power demand (-) -varCΣDMD053 Phase 1 current demand peak (+) +A1DMDPk054 Phase 2 current demand peak (+) +A2DMDPk055 Phase 3 current demand peak (+) +A3DMDPk056 Neutral current demand peak ANDMDPk057 System active power demand peak (+) +WΣDMDPk058 System apparent power demand peak (+) +VAΣDMDPk059 System reactive lagging power demand peak (+) +varIΣDMDPk05A System active leading power demand peak (+) +varCΣDMDPk05B Phase 1 current demand peak (-) -A1DMDPk05C Phase 2 current demand peak (-) -A2DMDPk05D Phase 3 current demand peak (-) -A3DMDPk05E System active power demand peak (-) -WΣDMDPk05F System apparent power demand peak (-) -VAΣDMDPk060 System reactive lagging power demand peak (-) -varIΣDMDPk061 System active leading power demand peak (-) -varCΣDMDPk

101 … 132 Harmonic (H1 … H50) L-N voltage phase 1134 … 165 Harmonic (H1 … H50) L-N voltage phase 2167 … 198 Harmonic (H1 … H50) L-N voltage phase 319A … 1CB Harmonic (H1 … H50) phase 1 current1CD … 1FE Harmonic (H1 … H50) phase 2 current200 … 231 Harmonic (H1 … H50) phase 3 current

030 Imported active energy +Wh031 Imported reactive inductive energy +varhI033 Imported reactive capacitive energy +varhC01C Imported apparent energy +VAh032 Exported active energy -Wh02E Exported reactive inductive energy -varhI02F Exported reactive capacitive energy -varhC01D Exported apparent energy -VAh

Code Description Symbol

Page 24: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

22 COMMANDS

STANDARD Communication Protocol ENGLISH

4.5 Error messagesInstrument answer message contains the result of the communication.

Nr Description E000 COMMAND ACKNOWLEDGE (NO ERROR) Reception of a correct command.

E001 ERROR COMMAND Reception of an incorrect command.

E002 RECORDING DOWNLOAD ERROR 1 Empty fi le.

E003 RECORDING DOWNLOAD ERROR 2 End of fi le.

SCONOSCIUTO No Si

NOTEA verifi cation error of the check character BCC is not indicated; the reception of a complete message but with incorrect BCC is ignored by the instrument.

Page 25: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

23 ASCII CHARACTERS TABLE

ENGLISHSTANDARD Communication Protocol

5. ASCII CHARACTERS TABLE

DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR.

DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR.

Page 26: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

24 ASCII CHARACTERS TABLE

ENGLISHSTANDARD Communication Protocol

DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR.

DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR. DEC HEX CHAR.

Page 27: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

25 ASCII CHARACTERS TABLE

ENGLISHSTANDARD Communication Protocol

NOTES:

Page 28: Universal Berg Netzbaustein · PDF fileIt is a single character which results from EXCLUSIVE OR ... 3.3.1 Response Sequence ... R09 PHASE 1 CURRENT

Energieservice - Optimierungssysteme - BetriebsdatenerfassungFraunhofer Straße 22 - D - 82152 Martinsried - Telefon +49 (0)89 379160 - 0 / Telefax +49 (0)89 379160 - 199

http: // www.berg-energie.de - E mail: [email protected]