BERG UBN310 User manual

STANDARD Protocol Manual
English
Rev. 010 - 01/06/2006
1UBMSTD31010
Universal Berg Netzbaustein
UBN310
DIN 96x96 & ANSI 4” Power Meter
UBN315
DIN 96x96 & ANSI 4” LCD Power Meter
UBN3080
DIN 144x144 LCD Power Meter
www.berg-energie.de

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 Identification 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 12
4.3 Programmable Parameters 19
4.4 Variables List 25
4.5 Error Messages 26
5. ASCII CHARACTERS TABLE 27

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 qualified 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 first-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 certified 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 specifications
identified 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.

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.
NOTE
This warning indicates important information which must be read care-
fully.

3DESCRIPTION
ENGLISH
STANDARD Communication Protocol
3. DESCRIPTION
3.1 Communication
The protocol specifications define 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 Code
In 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 identification 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 specific command (see section 4.3).
The instrument is supplied with a $01 Logical Number.
NOTE
The $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.

4DESCRIPTION
ENGLISH
STANDARD 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 Sequence
By 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 configuration. The following description shows the correct sequence of characters for
a proper interrogation:
<STX>02R63<ETX>($51)
[begin block character]
[instrument identification]
[command]
[end block character]
[check character]
[begin block character]
It is always <STX> ($02) character.
[instrument identification]
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.

5DESCRIPTION
ENGLISH
STANDARD 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.380k
Algebraic sign
Variable value with decimal point
Multiplier (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.

6DESCRIPTION
ENGLISH
STANDARD Communication Protocol
3.4 Parameter Setting Sequence
By the master, a programming sequence is sent to the instrument (slave) to change specific
parameters (instrument configuration). The following description shows the correct sequence of
characters for a proper command.
<STX>SA1T120050W84=0A<ETX>($67)
[begin block character]
[instrument identification]
[command]
[new value]
[end block character]
[check character]
[begin block character]
It is always <STX> ($02) character.
[instrument identification]
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.

7DESCRIPTION
ENGLISH
STANDARD 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 specifies 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 character
It 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.

8COMMANDS
ENGLISH
STANDARD Communication Protocol
4. COMMANDS
NOTE
The * symbol indicates a parameter available only when the instrument includes
the relevant option.
NOTE
“ENH” is the abbreviation for functions or parameters included only in the
Enhanced Package version of the instrument.
4.1 Measured Values (codes valid for read only)
R3D INSTRUMENT (Firmware Release 1.xx) COMPATIBLE ANSWER FORMAT
In case of wiring mode: 3Ph-4W/3CT
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>
Value format:
Instantaneous values•
sign (space, +, -) + value on 4 digits with decimal point (5 characters) + multiplier
(space, m, k, M, G, T, …)
Energy counters•
sign (space, +, -) + value on 6 digits with decimal point (7 characters) + multiplier
(space, m, k, M, G, T, …)
Digital inputs•
sign (space, +, -) + value on 8 digits with decimal point (9 characters) + multiplier
(space, m, k, M, G, T, …)
Phase reversal•
sign (space, +, -) + value on 3 digits with decimal point (4 characters) + multiplier
(space, m, k, M, G, T, …)
In case of wiring mode: 3Ph-3W/2CT
Answer format:
<STX> VΣNUL NUL NUL V12 V23 V31 AΣA1 A2 A3 THDA1 NUL THDA3 NUL PFΣ
NUL NUL NUL NUL NUL NUL NUL VAΣNUL NUL NUL WΣNUL NUL NUL varΣNUL
NUL NUL IN1 IN2 IN3 IN4 +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F NUL
NUL NUL NUL RST <ETX><BCC>
In case of wiring mode: 1Phase
Answer format:
<STX> NUL V1 NUL NUL NUL NUL NUL NUL A1 NUL NUL THDA1 NUL NUL NUL
NUL PF1 NUL NUL NUL COSØ1* NUL NUL NUL VA1 NUL NUL NUL W1 NUL NUL
NUL var1 NUL NUL IN1 IN2 IN3 IN4 +Wh +varhI +varhC +VAh -Wh -varhI -varhC
-VAh F THDV1 NUL NUL NUL RST <ETX><BCC>
R3D.01 MEASURED INSTANTANEOUS VARIABLES
In case of wiring mode: 3Ph-4W/3CT
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>
Command Description
UBN310 UBN315
UBN3080

9COMMANDS
ENGLISH
STANDARD Communication Protocol
Value format:
Instantaneous values•
sign (space, +, -) + value on 4 digits with decimal point (5 characters) + multiplier
(space, m, k, M, G, T, …)
Digital inputs and Energy counters•
sign (space, +, -) + value on 8 digits with decimal point (9 characters) + multiplier
(space, m, k, M, G, T, …)
Phase reversal•
sign (space, +, -) + value on 3 digits with decimal point (4 characters) + multiplier
(space, m, k, M, G, T, …)
In case of wiring mode: 3Ph-3W/2CT
Answer format:
<STX> VΣNUL NUL NUL V12 V23 V31 AΣA1 A2 A3 THDA1 NUL THDA3 NUL PFΣ
NUL NUL NUL NUL NUL NUL NUL VAΣNUL NUL NUL WΣNUL NUL NUL varΣNUL
NUL NUL IN1 IN2 IN3 IN4 +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F NUL
NUL NUL NUL RST <ETX><BCC>
In case of wiring mode: 1Phase
Answer format:
<STX> NUL V1 NUL NUL NUL NUL NUL NUL A1 NUL NUL THDA1 NUL NUL NUL
NUL PF1 NUL NUL NUL COSØ1* NUL NUL NUL VA1 NUL NUL NUL W1 NUL NUL
NUL var1 NUL NUL IN1 IN2 IN3 IN4 +Wh +varhI +varhC +VAh -Wh -varhI -varhC
-VAh F THDV1 NUL NUL NUL RST <ETX><BCC>
R3D.02 MEASURED INSTANTANEOUS VARIABLES (ENH)
In case of wiring mode:3Ph-4W/3CT
Answer format:
<STX> THDA1o THDA1e THDA2o THDA2e THDA3o THDA3e THDV1o THDV1e
THDV2o THDV2e THDV3o THDV3e <ETX><BCC>
R3D.03 MEASURED INSTANTANEOUS VARIABLES (ENH)
In case of wiring mode:3Ph-4W/3CT
Answer format**:
<STX> AT1 AT2 AT3 Vub Aub +VAI +VAC -VAI -VAC <ETX><BCC>
**: In case of 310 instrument, the apparent power values are not defined and ----- will
be displayed.
R3D.04 MEASURED INSTANTANEOUS VARIABLES (ENH)
In case of wiring mode:3Ph-4W/3CT
Answer format:
<STX> K1 K2 K3 <ETX><BCC>
Command Description
UBN310 UBN315
UBN3080

10 COMMANDS
ENGLISH
STANDARD Communication Protocol
R3D.01 MEASURED INSTANTANEOUS VARIABLES
In case of wiring mode: 3Ph-4W/3CT
Answer format:
<STX> VΣV1 V2 V3 V12 V23 V31 AΣA1 A2 A3 THDA1 THDA2 THDA3 AN PFΣPF1
PF2 PF3 COSØ1* COSØ2* COSØ3* VAΣVA1 VA2 VA3 WΣW1 W2 W3 varΣvar1
var2 var3 +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F THDV1 THDV2 THDV3
WDMD VADMD ADMD RST <ETX><BCC>
Value format:
Instantaneous values, parameters always positive•
value on 4 digits with decimal point (5 characters) + multiplier (space, m, k, M, G, T, …)
Instantaneous values, parameters with sign (+ or -)•
sign + value on 4 digits with decimal point (5 characters) + multiplier (space,
m, k, M, G, T, …)
Digital inputs•
value on 8 digits with decimal point (9 characters) + multiplier (space, m, k, M, G, T, …)
Energy counters•
sign + value on 8 digits with decimal point (9 characters) + multiplier (space,
m, k, M, G, T, …)
Phase reversal•
value on 3 digits with decimal point (4 characters) + multiplier (space, m, k, M, G, T, …)
In case of wiring mode: 3Ph-3W/2CT
Answer format:
<STX>VΣNUL NUL NUL V12 V23 V31 AΣA1 A2 A3 THDA1 NUL THDA3 NUL PFΣ
NUL NUL NUL NUL NUL NUL VAΣNUL NUL NUL WΣNUL NUL NUL varΣNUL NUL
NUL +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F NUL NUL NUL WDMD
VADMD ADMD RST<ETX> <BCC>
In case of wiring mode: 1Ph-3W/2CT
Answer format:
<STX> VΣV1 V2 NUL V12 NUL NUL AΣA1 A2 NUL THDA1 THDA2 NUL AN PFΣ
PF1 PF2 NUL COSØ1* COSØ2* NUL VAΣVA1 VA2 NUL WΣW1 W2 NUL varΣvar1
var2 NUL +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F THDV1 THDV2 NUL
WDMD VADMD ADMD RST <ETX><BCC>
In case of wiring mode: 1Phase
Answer format:
<STX> NUL V1 NUL NUL NUL NUL NUL NUL A1 NUL NUL THDA1 NUL NUL NUL
NUL PF1 NUL NUL COSØ1* NUL NUL NUL VA1 NUL NUL NUL W1 NUL NUL NUL
var1 NUL NUL +Wh +varhI +varhC +VAh -Wh -varhI -varhC -VAh F THDV1 NUL NUL
WDMD VADMD ADMD RST <ETX><BCC>
R3D UPM 300A (NEW VERSION) COMPATIBLE ANSWER FORMAT
In case of wiring mode:3Ph-4W/3CT
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 F WDMD ADMD RST NUL
<ETX><BCC>
Value format: see R3D
R3E UPM 300 (OLD VERSION) COMPATIBLE ANSWER FORMAT
In case of wiring mode: 3Ph-4W/3CT
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 F WDMD ADMD<ETX><BCC>
Value format: see R3D
Command Description
UBN310 UBN315
UBN3080

11 COMMANDS
ENGLISH
STANDARD Communication Protocol
R3F DIGITAL INPUT VALUES *
Answer format:
<STX>DI1 DI2 DI3 DI4<ETX><BCC>
Value format:
See R3D.01
R64 ALL DEMAND AND MAXIMUM DEMAND VALUES
Answer format:
<STX> ADMD VADMD WDMD varDMD AmaxDMD VAmaxDMD WmaxDMD
varmaxDMD<ETX> <BCC>
R64 ALL DEMAND VALUES
Answer format:
<STX> WDMD VADMD ADMD <ETX> <BCC>
R61 ALL MAXIMUM AND MAXIMUM DEMAND VALUES
Answer format:
<STX> A1max A2max A3max AmaxDMD VAmaxDMD WmaxDMD <ETX><BCC>
R61.0 MINIMUM AND MAXIMUM VOLTAGE VALUES (ENH)
Answer format:
<STX>VΣ_min_DATE VΣ_min VΣ_Max_DATE VΣ_Max V1_min_DATE V1_min V1_Max_
DATE V1_Max V2_min_DATE V2_min V2_Max_DATE V2_Max V3_min_DATE V3_min
V3_Max_DATE V3_Max V12_min_DATE V12_min V12_Max_DATE V12_Max V23_min_
DATE V23_min V23_Max_DATE V23_Max V31_min_DATE V31_min V31_Max_DATE
V31_Max <ETX><BCC>
Where: VΣ_min_DATE:12 characters YYMMDDHHMMSS (always in 24h format):
YY=year
MM=month
DD=day
HH=hour
MM=minute
SS=second
R61.1 MINIMUM AND MAXIMUM CURRENT VALUES (ENH)
Answer format:
<STX>AΣ_min_DATE AΣ_min AΣ_Max_DATE AΣ_Max A1_min_DATE A1_min A1_Max_
DATE A1_MaxA2_min_DATEA2_minA2_Max_DATE A2_MaxA3_min_DATE A3_min A3_
Max_DATE A3_Max AN_min_DATE AN_min AN_Max_DATE AN_Max<ETX><BCC>
R61.2 MINIMUM AND MAXIMUM PF AND FREQUENCY VALUES (ENH)
Answer format:
<STX>PFΣ_min_DATE PFΣ_min PFΣ_Max_DATE PFΣ_Max PF1_min_DATE PF1_min
PF1_Max_DATE PF1_MaxPF2_min_DATE PF2_min PF2_Max_DATE PF2_Max PF3_min_
DATE PF3_min PF3_Max_DATE PF3_Max Freq_min_DATE Freq_min Freq_Max_DATE
Freq_Max <ETX><BCC>
R61.3 MINIMUM AND MAXIMUM THD VALUES (ENH)
Answer format:
<STX>THDV1_min_DATE THDV1_min THDV1_Max_DATE THDV1_Max THDV2_min_
DATE THDV2_min THDV2_Max_DATE THDV2_Max THDV3_min_DATE THDV3_min
THDV3_Max_DATE THDV3_Max THDA1_min_DATE THDA1_min THDA1_Max_DATE
THDA1_Max THDA2_min_DATE THDA2_min THDA2_Max_DATE THDA2_Max
THDA3_min_DATE THDA3_min THDA3_Max_DATE THDA3_Max <ETX><BCC>
Command Description
UBN310 UBN315
UBN3080

12 COMMANDS
ENGLISH
STANDARD Communication Protocol
R61.4 MAXIMUM DEMAND VALUES (ENH)
Answer format:
<STX>WDMD_Max_DATE WDMD_Max VADMD_Max_DATE VADMD_Max ADMD_
Max_DATE ADMD_Max A1DMD_Max_DATE A1DMD_Max A2DMD_Max_DATE
A2DMD_Max A3DMD_Max_DATE A3DMD_Max ANDMD_Max_DATE ANDMD_Max
AT1DMD_Max_DATE AT1DMD_Max AT2DMD_Max_DATE AT2DMD_Max AT3DMD_
Max_DATE AT3DMD_Max varDMD_Max_DATE varDMD_Max <ETX><BCC>
R64.0 DEMAND VALUES (ENH)
Answer format**:
<STX>WDMD VADMD ADMD A1DMD A2DMD A3DMD ANDMD AT1DMD AT2DMD
AT3DMD varDMD <ETX><BCC>
**: In case of 310, some parameters (A1DMD, A2DMD, A3DMD) are not defined and
----- will be displayed.
4.2 Programmed Parameters & Other Info
R5F ALL PROGRAMMED PARAMETERS
Answer format in case of standard instrument version:
<STX>W80;W81;W82;W84;W89;W90;W92;W98;W9B;WDA;WDB;WA1;WB1;WDE;
<ETX><BCC>
Answer format in case of ENH instrument version:
<STX>W80,W81,W82,W84,W89,WD8,W90,W92,W98,WD7,W9B,W9C,WDA,WDB,WA(0/
1),WB(0/1),WA(4/5),WB(4/5),WA(8/9)WB(8/9),WA3,WB3,WA7,WB7,WA2,WB2,WA6,WB6,WDE
<ETX><BCC>
R5F.1 ALL PROGRAMMED SET POINTS (ENH)
Answer format:
<STX>W21,W22,W23,W24,W25,W26,W27,W28,W2F<ETX><BCC>
R63 SERIAL NUMBER
R70 DATE (YY/MM/DD)
R71 TIME (HH:MM:SS)
R72 DAY OF THE WEEK
Answer format:
<STX>10 characters<ETX><BCC>
R78 INSTRUMENT FIRMWARE VERSION
R76.1 PHASE 1 VOLTAGE SAMPLES
Answer format:
<STX><SP>512 characters (128 samples per wave)<ETX><BCC>
R76.2 PHASE 2 VOLTAGE SAMPLES
Answer format:
<STX><SP>512 characters (128 samples per wave)<ETX><BCC>
R76.3 PHASE 3 VOLTAGE SAMPLES
Answer format:
<STX><SP>512 characters (128 samples per wave)<ETX><BCC>
Command Description
UBN310 UBN315
UBN3080

13 COMMANDS
ENGLISH
STANDARD Communication Protocol
R77.1 PHASE 1 CURRENT SAMPLES
Answer format:
<STX><SP>514 characters** (128 samples per wave)<ETX><BCC>
**: The last two characters are reserved
R77.2 PHASE 2 CURRENT SAMPLES
Answer format:
<STX><SP>514 characters** (128 samples per wave)<ETX><BCC>
**: The last two characters are reserved
R77.3 PHASE 3 CURRENT SAMPLES
Answer format:
<STX><SP>514 characters** (128 samples per wave)<ETX><BCC>
**: The last two characters are reserved
R7F.001 INSTRUMENT CONFIGURATION
Answer format:
<STX>OA=02;OD=02;ID=04;SP=8;RAM=0128k;COM1<ETX><BCC>
OA number of analog outputs *
OD number of digital outputs
ID number of digital inputs *
SP number of set points (ENH)
RAM detected memory
COMx used communication port (in the instrument)
R7F.002 FULLSCALE INFORMATION
Answer format:
<STX>KTA=0001;KTV=0001.000;FSV=433;FSV3=750;FSW=0433;FSW3=1299;MSA
=12;MSA3=12; MSN=12;MSV=1000;MSV3=1000;MSW=12000;MSW3=12000;FA=0
1;CSDO=1320;<ETX><BCC=72h>
R7F.008 INFORMATION ON R3D ANSWER FORMAT
Answer format:
<STX> 00,10 01,10 02,10 03,10 04,10 05,10 06,10 08,20 09,20 0A,20 0B,20 10,13
11,13 12,13 13,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 30,24 31,25 34,11 39,22 3A,20 3B,10 3C,10<ETX><BCC=23h>
<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>
Where: 00 system voltage variable
,separator between variable and measurement unit
10 measurement unit
single word:
10 Volt
11 dHz
12 dperc
13 COSØ
Command Description
UBN310 UBN315
UBN3080
UBN310
UBN315, UBN3080

14 COMMANDS
ENGLISH
STANDARD Communication Protocol
double word:
20 mA
21 VA
22 W
23 var
24 Wh
25 varh
26 VAh
<space> separator between two fields
R80.0 MIN / AVG / MAX RECORDING SETUP & STATUS
Answer format:
<STX>VV1,VV2,VV3,VV4,VV5,VV6,VV7,VV8,M,TT,W,YYMMDDHHMMSS(1),YYMMD-
DHHMMSS(2), DD<ETX><BCC>
VV1,VV2,…VV8 selected variable (see section 4.4)
Mrecording mode:0=NONE; 1=FILL; 2=RING
TT integration time to calculate the DMD: 01, 05, 10, 15, 30,
60 min or 61 in case of external (Synchronization with
DMD calculation)
Wstart/stop: 0=NO; 1=YES
YYMMDDHHMMSS(1) start recording date
YYMMDDHHMMSS(2) stop recording date
DD downloading data: 00=not available; 01=available
Example:
<STX>001,002,003,009,00A,00B,094,096,1,60,0,040229125559,040229125559,01
<ETX><BCC>
R80.7 RECORDINGS SIZE
Answer format:
<STX>E E E E M M M M M M W W W W V V V V<ETX><BCC>
E E E E energy recording size
M M M M M M min/avg/max recording size
W W W W waveform capture recording size (only 315/3080 ENH)
V V V V event LOG recording size (ENH)
R80.1 MIN/AVG/MAX RECORDING DOWNLOAD - FIRST DATA BLOCK
R80.2 MIN/AVG/MAX RECORDING DOWNLOAD - NEXT DATA BLOCK
R80.3 MIN/AVG/MAX RECORDING DOWNLOAD - REPEAT LAST DATA BLOCK
Answer format (R80.1, R80.2, R80.3):
<STX>00010106106418010542053A0536022902270227001600160016001600160
01600000000000004A00458031F3206320031F8...<ETX><BCC>
0001 progressive number of block transmitted
0106 total number of characters transmitted in this block
10641801....31F8 datablock:YYMMDDHHMMSS+minimum,average,maximum
of selected variables expressed with a word, as a fraction
of the fullscale.Conversion is carried out by the program on
the PC during transfer
Command Description
UBN310 UBN315
UBN3080

15 COMMANDS
ENGLISH
STANDARD Communication Protocol
Data conversion:
1064 0001000001100100(BIN)00010(BIN)=year:00000=20
00; 00001=2001;00010=2002;.....11111=2031 000011
00100(BIN)=day:100(DEC)-31(january)-28(february)-
31(march)=10april
1801 time (HHMM)
0542 maxV1=(data*FS*PT)/32768[FS=1000]=0542(HEX)=1346
(DEC)=(1346*1000)/32768=41.08V
0229 maxA1=(data*FS*PT)/32768[FS=12]=0229(HEX)=553(DEC)
=(553*12)/32768=0.205A
0016 maxP1=(data*FS*PT)/32768[FS=12000]=0016(HEX)=(DEC)
=(22*12)/32768=8.057kW
0016 maxS1=(data*FS*PT)/32768[FS=12000]=0016(HEX)=22(DEC)
=(22*12)/32768=8.057kVA
0000 maxQ1=(data*FS*PT)/32768[FS=12000]=0000(HEX)=00(DEC)
=(00*12)/32768=0kvar
04A0 maxPF1=(7FFF-data*FS)/32768[FS=1.000]=7B5F(HEX)=31583(DEC)
=(31583)/32768=0.9638inductive
3206 maxF=(data)/128=3206(HEX)=12806(DEC)=(12806)/
256=50.02Hz
06B2 maxTHD=(data)/128=06B2(HEX)=1714(DEC)=(1714)/128=13.39%
0369 maxHarm3=(data)/128=0369(HEX)=873(DEC)=(873)/128=6.82 %
> Vunbalance, Aunbalance are calculated like THD values
> Thermal currents are calculated with the following formula:
Ath=(data) * 2 * (CT2)
> The parameters with sign should be preconverted as follows:
if (data)>$7FFF, means that the value is negative, and should be converted•
in complement of 2: data new = 0 - data
for PF parameters, if (data) > $7FFF => INDUCTIVE PF => the formula is:•
(data-7FFF)/32768
for PF parameters, if (data) <= $7FFF => CAPACITIVE PF => the formula•
is: (7FFF-data)/32768
R80.4 DAILY COUNTERS RECORDING DOWNLOAD - FIRST DATA BLOCK
R80.5 DAILY COUNTERS RECORDING DOWNLOAD - NEXT DATA BLOCK
R80.6 DAILY COUNTERS RECORDING DOWNLOAD - REPEAT LAST DATA BLOCK
Answer format (R80.4, R80.5, R80.6):
<STX>000100CC106100000164...<ETX><BCC>
0001 progressive number of the transmitted block
00CC total number of characters transmitted in this block
1061 date
00000164... data block: energy counters expressed in mWh, mvarh, mVAh (with
two words).
In order, in case of standard instrument version:•
+Wh,+varhI,+varhC,+VAh, -Wh,-varhI,-varhC,-VAh
In order, in case of ENH instrument version: +Wh,+varhI,+varhC,•
+VAhI,+VAhC, -Wh,-varhI,-varhC,-VAhI,-VAhC
Data conversion:
En value = decimal data*CT*PT
R80.8 WAVEFORM CAPTURE RECORDING DOWNLOAD - HEADER (ENH)
Answer format:
<STX>00010030053014150105138F3FC82000A000A000A000E000E000E0000001
1F7D000100040000<ETX><BCC>
Command Description
UBN310 UBN315
UBN3080

16 COMMANDS
ENGLISH
STANDARD Communication Protocol
Size (bytes)
Block index 2
Block size 2
HEADER BLOCK:
Time/date 6 SSMMHHDDMMYY
Frequency 2 500750.07Hz
Captured channels 1 bit7=not used; bit6=not used; bit5=V1; bit4=V2;
bit3=V3; bit2=A1; bit1=A2; bit0=A3
1=captured; 0=not captured
Captured periods 1 1...200
Samples/period 1 08=8samples/period; 10=16samples/period;
20=32samples/period; 40=64samples/period;
80=128samples/period
Resolution 1 0=8bit; 1=10bit
V1 coeff 2
V2 coeff 2
V3 coeff 2
A1 coeff 2
A2 coeff 2
A3 coeff 2
PT integer 2 the integer part of PT expressed in hexadecimal
PT decimal 2 the decimal part of PT * 65536, expressed in hexadec.
CT 2
Wiring 2
Trigger 2 0000=manual trigger
0011=SP1...0018=SP8 (set point trigger)
0021=DO1...0026=DO6 (digital output trigger)
0031=DI1...0034=DI4 (digital input trigger)
R80.9 WAVEFORM CAPTURE RECORDING DOWNLOAD - BLOCK (ENH)
Answer format:
<STX>00010030EEEDEEFCFCFC...<ETX><BCC>
0001 progressive number of the transmitted block
0030 total number of characters transmitted in this block
EEEDEEFCFCFC sub-block. According to the Captured channels byte and
the Resolution byte, the sub-block can contain more or
less data. The byte length of each sample depends on the
Resolution byte value in the header. Voltage and/or current
samples values are expressed in two’s complement binary
representation
• Ex1: V1 sample=$EE, V2 sample=$ED, V3 sample=$EE,
A1 sample=$FC, A2 sample=$FC, A3 sample=$FC
6parameters, 8bits Captured channels=00111111,
Resolution=0
• Ex2: V1 sample=$00EE, A1 sample=$00FC 2parameters,
10bits Captured channels=00001001, Resolution=1
Data conversion:
If (data)>$7FFF, in case of 10 bits resolution•
if (data)>$7F, in case of 8 bits resolution•
data value is always negative; formula: $0 - $data = $data -> -data (DEC)
10 bits resolution
Vx sample final (word)=[(Vx sample*Vxcoeff)/(2*65536)]/PT
Ax sample final (word)=[(Ax sample*Axcoeff)*1.2/(2*65536*100)]*CT
8 bits resolution
Vx sample final (byte)=16*[(Vx sample*Vxcoeff)/(2*65536)]/PT
Ax sample final (byte)=16*[(Ax sample*Axcoeff)*1.2/(2*65536*100)]*CT
x = 1, 2, 3 phase of voltage and/or current
PT = PTinteger + (PTdecimal/65536)
Command Description
UBN310 UBN315
UBN3080

17 COMMANDS
ENGLISH
STANDARD Communication Protocol
R80.A WAVEFORM CAPTURE RECORDING DOWNLOAD - REPEAT LAST BLOCK
(ENH)
R80.B EVENT LOG RECORDING DOWNLOAD - FIRST DATA BLOCK (ENH)
R80.C EVENT LOG RECORDING DOWNLOAD - NEXT DATA BLOCK (ENH)
R80.D EVENT LOG RECORDING DOWNLOAD - REPEAT LAST DATA BLOCK
(ENH)
Answer format (R80.B, R80.C, R80.D):
<STX><blockindex><blocksize><eLOGcode><dateYY/MM/DD><timeHH/MM/
SS><eLOGvar><var percentage><eLOGcode><dateYY/MM/DD><timeHH/MM/
SS><eLOGvar><varpercentage>etc.<ETX><BCC>
Example:
<STX>000000180207D501180B2D0D00000000...<ETX><BCC>
0000 block index
0018 block size
02 eLOG code (see list below)
07D5 YY
01 MM
18 DD
0B HH
2D MM
0D SS
0000 eLOG var (see section 4.4)
0000 var percentage
Event LOG code
01=power ON
02=power OFF
03=digital output1 event ON
04=digital output1 event OFF
05=digital output2 event ON
06=digital output2 event OFF
07=digital output3 event ON
08=digital output3 event OFF
09=digital output4 event ON
0A=digital output4 event OFF
0B=digital output5 event ON
0C=digital output5 event OFF
0D=digital output6 event ON
0E=digital output6 event OFF
0F=set point1 event HIGH
10=set point1 event LOW
11=set point2 event HIGH
12=set point2 event LOW
13=set point3 event HIGH
14=set point3 event LOW
15=set point4 event HIGH
16=set point4 event LOW
17=set point5 event HIGH
18=set point5 event LOW
19=set point6 event HIGH
1A=set point6 event LOW
1B=set point7 event HIGH
1C=set point7 event LOW
1D=set point8 event HIGH
1E=set point8 event LOW
Command Description
UBN310 UBN315
UBN3080

18 COMMANDS
ENGLISH
STANDARD Communication Protocol
1F=digital input1 event HIGH
20=digital input1 event LOW
21=digital input2 event HIGH
22=digital input2 event LOW
23=digital input3 event HIGH
24=digital input3 event LOW
25=digital input4 event HIGH
26=digital input4 event LOW
R9E WAVEFORM CAPTURE SETTINGS (ENH)
Answer format (see W9E):
<STX>XXX,Y,Z,TT<ETX><BCC>
R74.0 TIME OF USE COUNTERS - PREVIOUS MONTH (tariffs 1,2,3 values)
R74.1 TIME OF USE COUNTERS - THIS MONTH (tariffs 1,2,3 values)
R74.2 TIME OF USE COUNTERS - PREVIOUS DAY (tariffs 1,2,3 values)
R74.3 TIME OF USE COUNTERS - TODAY (tariffs 1,2,3 values)
Answer format (R74.0, R74.1, R74.2, R74.3):
<STX><TOU1-consumption energy><TOU1-generated energy><TOU2-consumption
energy><TOU2-generated energy><TOU3-consumption energy><TOU3-generated
energy><ETX><BCC>
Where: consumption energy <+Wh +VAhI +VAhC +varhI +varhC>
generated energy <-Wh -VAhI -VAhC -varhI -varhC>
R74.4 TIME OF USE COUNTERS - PREVIOUS MONTH (tariffs 4,5 values)
R74.5 TIME OF USE COUNTERS - THIS MONTH (tariffs 4,5 values)
R74.6 TIME OF USE COUNTERS - PREVIOUS DAY (tariffs 4,5 values)
R74.7 TIME OF USE COUNTERS - TODAY (tariffs 4,5 values)
Answer format (R74.4, R74.5, R74.6, R74.7):
<STX><TOU4-consumption energy><TOU4-generated energy><TOU5-consumption
energy><TOU5-generated energy><ETX><BCC>
Where: consumption energy <+Wh +VAhI +VAhC +varhI +varhC>
generated energy <-Wh -VAhI -VAhC -varhI -varhC>
RD1.xxx TIME OF USE (ENH) - SCHEDULE xxx
xxx=schedule number; 001÷120; 121=holiday schedule
Answer format:
If TOU is not set:•
<STX>0000<ETX><BCC>
If only start shedule date is set:•
<STX>MMDD<ETX><BCC>
If start schedule date and tariff changes are set:•
<STX>MMDDCCHHMMTT...CCHHMMTT...CCHHMMTT<ETX><BCC>
MMDD month, day: in decimal, ex. 23 november=1123
CC tariff changes number; 01÷15
HHMM hour, minutes: in decimal, ex. 17:38=1738
TT tariff: 00÷05
RD9 TIME OF USE - HOLIDAYS (ENH)
Answer format (see WD9):
<STX>A,X,MMDD..MMDD<ETX><BCC>
Command Description
UBN310 UBN315
UBN3080
This manual suits for next models
2
Table of contents
Other BERG Measuring Instrument manuals
Popular Measuring Instrument manuals by other brands

Hanna Instruments
Hanna Instruments HI97739 instruction manual

West Mountain Radio
West Mountain Radio PWRcheck operating manual

Skyrc
Skyrc BD350 instruction manual

Bellingham and Stanley
Bellingham and Stanley Abbe 60 user guide

Topcon
Topcon KR-1W instruction manual

Extech Instruments
Extech Instruments FM200 user manual

Competition Electronics
Competition Electronics ProChrono DLX operating instructions

LaserLiner
LaserLiner MultiMeter Pocket XP operating instructions

Burkert
Burkert 8644 AirLINE operating instructions

Bartec
Bartec MAK 3003 quick guide

RHS
RHS 14ESS quick start guide

UINICS
UINICS SP2441 Series Operation manual