BERG UBN310, UBN3080, UBN315 Protocol Manual

Page 1
STANDARD Protocol Manual
English
Rev. 010 - 01/06/2006
1UBMSTD31010
Universal Berg Netzbaustein
UBN310
DIN 96x96 & ANSI 4” Power Meter
UBN315
UBN3080
DIN 144x144 LCD Power Meter
www.berg-energie.de
Page 2
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 12
4.3 Programmable Parameters 19
4.4 Variables List 25
4.5 Error Messages 26
5. ASCII CHARACTERS TABLE 27
Page 3
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
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.
Page 5
3
DESCRIPTION
ENGLISH
STANDARD Communication Protocol
3. DESCRIPTION
3.1 Communication
The 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 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 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.
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.
Page 6
4
DESCRIPTION
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 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
5
DESCRIPTION
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.
Page 8
6
DESCRIPTION
ENGLISH
STANDARD Communication Protocol
3.4 Parameter Setting Sequence
By 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
7
DESCRIPTION
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 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 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.
Page 10
8
COMMANDS
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
Page 11
9
COMMANDS
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 defi ned 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
Page 12
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
Page 13
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_Max A2_min_DATE A2_min A2_Max_DATE A2_Max A3_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_Max PF2_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
Page 14
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 defi ned 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
Page 15
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
Page 16
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 fi elds
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) M recording 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)
W start/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 data block: 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
Page 17
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 * (CT
2
)
> 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
Page 18
16
COMMANDS
ENGLISH
STANDARD Communication Protocol
Size (bytes) Block index 2 Block size 2 HEADER BLOCK:
Time/date 6  SSMMHHDDMMYY Frequency 2  500750.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 fi nal (word)=[(Vx sample*Vxcoeff)/(2*65536)]/PT Ax sample fi nal (word)=[(Ax sample*Axcoeff)*1.2/(2*65536*100)]*CT
8 bits resolution
Vx sample fi nal (byte)=16*[(Vx sample*Vxcoeff)/(2*65536)]/PT Ax sample fi nal (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
Page 19
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
Page 20
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
Page 21
19
COMMANDS
ENGLISH
STANDARD Communication Protocol
4.3 Programmable Parameters
(codes valid for write only)
W80 SERIAL COMMUNICATION (COM1) Format: W80=Baud rate, Parity, Bit, Stop
Baud Rate 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 Parity None, Even, Odd Bit 8 Stop 1 Example: W80=38400,N,8,1
W81 SERIAL COMMUNICATION (COM2) Format: see W80
W84 LOGICAL NUMBER Format: W84=XX Available values: $01 ... $FF Example: W84=01
W87.1 PROTOCOL SWITCHING (COM1) Format: W87.1=Baud rate, Parity, Bit, Stop
Baud Rate 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 Parity None, Even, Odd Bit 7, 8 Stop 1, 2 Example: W87.1=38400,N,8,1
W87.2 PROTOCOL SWITCHING (COM2) Format: see W87.1
W89 DATE/TIME/DAY Format: W89=YYMMDDHHMMSSd d=day of the week: 1...7->Mon...Sun Example: W89=0501211030005
W90 CT RATIO Format: W90=XXXX Available values: 0001...9999 Example: W90=0001
W92 PT RATIO Format: W92=XXXX.YYY Available values: 0001.000...9999.999 Example: W92=1234.567
WDA WIRING MODE Format: WDA=XX Available values: 01=1phase
02=1phase-3wires / 2CT (only 310) 03=3phase-3wires / 2CT 04=3phase-4wires / 3CT
WDB CURRENT INPUT FULLSCALE Format: WDB=XX Available values: 01=1 A
05=5 A Example: WDB=01
Command Description
UBN310
UBN315
UBN3080
Page 22
20
COMMANDS
ENGLISH
STANDARD Communication Protocol
W95 MIN/AVG/MAX RECORDING SETUP Format:
W95=VV1VV2VV3VV4VV5VV6VV7VV8,M,TT,W,YYMMDDHHMMSS(1),YYMMDDHHMM
SS(2)<ETX> <BCC>
VV1VV2..VV8 selected variable (see section 4.4) M recording 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)
W start/stop: 0=NO; 1=YES YYMMDDHHMMSS(1) start recording date YYMMDDHHMMSS(2) stop recording date
Example:
W95=00000200300900A00B094096,1,60,0,040229125559,040229125559
W96 CLEAR RECORDINGS Format: W96=X
Available values: 0=clear min/avg/max recordings 1=clear daily counter recordings 2=clear all recordings 3=clear waveform capture recording (only 315/3080 ENH) 4=clear event LOG recordings (ENH) Example: W96=0
W98 DMD INTEGRATION TIME Format: W98=XX
Available values: 01,05,10,15,30,60 minutes or 61 in case of external (Sync. with
DMD calculation)
Example: W98=01
W9B DISPLAY BACKLIGHT ON TIME Format: W9B=XXX
Available values: 0...999 Example: W9B=001
W9C MEASUREMENT SYNCHRONIZATION Format: W9C=X,YYYY
X synchro mode: 0=internal (fi xed); 1=external (auto) YYYY fi xed measurement synchronization: 0500 (050.0 Hz) Example: W9C=0,0500
W9E WAVEFORM CAPTURE SETUP (ENH) Format: W9E=XXX,Y,Z,TT
XXX number of periods: 1..200 Y samples/period: 0=8 samples/period; 1=16 samples/period; 2=32 sam-
ples/period; 3=64 samples/period; 4=128 samples/period
Z bit resolution: 0=8 bit resolution; 1=10 bit resolution TT trigger type: 00=manual; 11=SP1...18=SP8; 21=DO1...26=DO6;
31=DI1...34=DI4
WEF START WAVEFORM CAPTURE (ENH)
Command Description
UBN310
UBN315
UBN3080
Page 23
21
COMMANDS
ENGLISH
STANDARD Communication Protocol
W9F CLEAR COUNTERS & SET DEFAULT Format: W9F=XXXXX Available values: 43000=clear energy counters
53000=clear digital input counters * 75430=clear all counters 75000=clear time of use counters (only 315/3080 ENH) 80000=clear trends (only 315/3080 ENH) 65000=set default instrument parameters
WD1.xxx TIME OF USE - SCHEDULE SETUP (ENH) xxx=schedule number: 001÷120; 121=holiday schedule
It is possible to set:
Only schedule date: WD1.001=MMDD• Only a tariff change of the schedule: WD1.001=MMDDCCHHMMTT• More tariff changes of the schedule: WD1.001=MMDDCCHHMMTT...CCHHMMTT
It is not possible to set more than 8 tariff changes with a single command. Therefore,
to set all 15 tariff changes, it is necessary to send 2 commands.
Format: WD1.xxx=MMDDCCHHMMTT...CCHHMMTT...CCHHMMTT...CCHHMMTT...
CCHHMMTT...CCHHMMTT...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 Example: WD1.001=0930010800050210000303120001041400020516000306180
0040720000508220005
WD9 TIME OF USE - HOLIDAYS SETUP (ENH) Format: WD9.0=A, X, MMDD...MMDD - fi rst 10 holidays
WD9.1=A, X, MMDD...MMDD - last 10 holidays A holidays ON/OFF: 0=OFF; 1=ON X Sat&Sun Enable; 0=disable; 1=enable MMDD holidays month and day Example: WD9.0=1,1,0101010604250602071408151101120812251226
WD7 DMD CALCULATION MODE Format: WD7=X Available values: 0=fi xed
1=slide 2=COM 3=DI1 4=DI2 5=DI3 6=DI4
Example: WD7=1
WDF DMD CALCULATION SYNCHRONIZATION THROUGH COM
WD8 CLOCK FORMAT Format: WD8=X,Y
X 0=YYMMDD; 1=MMDDYY; 2=DDMMYY Y 0=24h; 1=12h (AM/PM)
Example: WD8=1,1
Command Description
UBN310
UBN315
UBN3080

Page 24
22
COMMANDS
ENGLISH
STANDARD Communication Protocol
WDE LANGUAGE Format: WDE=XX Available values: 00=English
01=Deutsch 02=Français 03=Italiano 04=Español
Example: WDE=00
W2F EVENT LOG RECORDING MODE (ENH) Format: W2F=X Available values: 0=none
1=fi ll 2=ring
Example: W2F=2
W21 SET POINT 1 (ENH) Format: W21=XX,YYY.YY,ZZ,JJJ
XX associated variable (see section 4.4) YYY.YY tripping value referring to the fullscale ZZ hysteresis percentage value referring to the tripping value JJJ delay time on threshold tripping (in seconds)
Example: W21=00,050.00,15,010
W22 SET POINT 2 (ENH) Format: see W21
W23 SET POINT 3 (ENH) Format: see W21
W24 SET POINT 4 (ENH) Format: see W21
W25 SET POINT 5 (ENH) Format: see W21
W26 SET POINT 6 (ENH) Format: see W21
W27 SET POINT 7 (ENH) Format: see W21
W28 SET POINT 8 (ENH) Format: see W21
DIGITAL OUTPUT 1 WA0 PULSE Format: WA0=XX,YYY.Y,ZZZ
XX associated variable (see section 4.4) YYY.Y pulse coeffi cient (ex. Wh/pulse) ZZZ pulse duration time (msec.)
Example: WA0=30,150.0,250
Command Description
UBN310
UBN315
UBN3080
Page 25
23
COMMANDS
ENGLISH
STANDARD Communication Protocol
WA1 THRESHOLD Format: WA1=XX,Y,ZZZ.ZZ,JJ,KKK
XX associated variable (see section 4.4) Y threshold mode L=low threshold mode H=high threshold mode
ZZZ.ZZ tripping value referring to the fullscale JJ hysteresis percentage value referring to the tripping value KKK delay time on threshold tripping Example: WA1=20,H,050.00,15,030
DIGITAL OUTPUT 2 WB0 PULSE (see WA0) WB1 THRESHOLD (see WA1)
DIGITAL OUTPUT 3 * WA4 PULSE (see WA0) WA5 THRESHOLD (see WA1)
DIGITAL OUTPUT 4 * WB4 PULSE (see WA0) WB5 THRESHOLD (see WA1)
DIGITAL OUTPUT 5 * WA8 PULSE (see WA0) WA9 THRESHOLD (see WA1)
DIGITAL OUTPUT 6 * WB8 PULSE (see WA0) WB9 THRESHOLD (see WA1)
WA2 DIGITAL INPUT 1 * Format: WA2=X,YY.YY,ZZZZZ X I=input identifi er YY.YY tripping value referring to the fullscale ZZZZZ 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
Command Description
UBN310
UBN315
UBN3080
 
 
 
 
 
 
 
 
 
 
Page 26
24
COMMANDS
ENGLISH
STANDARD Communication Protocol
WB2 DIGITAL INPUT 2 * Format: see WA2
WA6 DIGITAL INPUT 3 * Format: see WA2
WB6 DIGITAL INPUT 4 * Format: see WA2
WA3 ANALOG OUTPUT 1 * Format: WA3=XX,Y,ZZZ.ZZ,JJJ.JJ XX associated variable (see section 4.4) Y 0=mono-directional output 0-20mA
4=mono-directional output 4-20mA. The output is linear from the mini-
mum limit value to the maximum limit value A=bi-directional output 0-20mA (10mA=Val.0) C=bi-directional 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 fullscale or negative
maximum limit value in the case of bi-directional output (it is also pos­sible to use ZZ.ZZ format)
JJJ.JJ maximum limit value percentage referring to fullscale (it is also possible
to use JJ.JJ format)
Example: WA3=00,0,000.00,020.00
WB3 ANALOG OUTPUT 2 * Format: see WA3
WA7 ANALOG OUTPUT 3 * Format: see WA3
WB7 ANALOG OUTPUT 4 * Format: see WA3
WCE CLEAR MIN/MAX AND MAXIMUM DEMAND VALUES Format: WCE=XX Available values: 00=clear all min/max values (ENH)
01=clear max WDMD and max VADMD 02=clear max ADMD
Example: WCE=00
Command Description
UBN310
UBN315
UBN3080
Page 27
25
COMMANDS
ENGLISH
STANDARD Communication Protocol
4.4 Variables List
The code and the symbol, assigned to each variable, are described in the following list.
Code Description Symbol
000 System voltage VΣ 001 L-N voltage phase 1 V1 002 L-N voltage phase 2 V2 003 L-N voltage phase 3 V3 004 L-L voltage line 12 V12 005 L-L voltage line 23 V23 006 L-L voltage line 31 V31 094 Voltage unbalance (%) (ENH) Vub 008 System current AΣ 009 Phase 1 current A1 00A Phase 2 current A2 00B Phase 3 current A3 096 Phase 1 thermal current (ENH) AT1 097 Phase 2 thermal current (ENH) AT2 098 Phase 3 thermal current (ENH) AT3 095 Current unbalance (%) (ENH) Aub 00C Phase 1 current THD THDA1 00D Phase 2 current THD THDA2 00E Phase 3 current THD THDA3 00F Neutral current AN 010 System power factor PFΣ 011 Phase 1 power factor PF1 012 Phase 2 power factor PF2 013 Phase 3 power factor PF3 015 Phase 1 COSØ * COSØ1 016 Phase 2 COSØ * COSØ2 017 Phase 3 COSØ * COSØ3 018 System apparent power VAΣ 019 Phase 1 apparent power VA1 01A Phase 2 apparent power VA2 01B Phase 3 apparent power VA3 020 System active power WΣ 021 Phase 1 active power W1 022 Phase 2 active power W2 023 Phase 3 active power W3 028 System reactive power varΣ 029 Phase 1 reactive power var1 02A Phase 2 reactive power var2 02B Phase 3 reactive power var3 034 Line frequency F 036 Phase 1 voltage THD THDV1 037 Phase 2 voltage THD THDV2 038 Phase 3 voltage THD THDV3 039 System active power demand WDMD 03B Phase order RST 099 Phase 1 K-factor (ENH) K1 09A Phase 2 K-factor (ENH) K2 09B Phase 3 K-factor (ENH) K3
101 … 11F Harmonic (H1 … H31) L-N voltage phase 1 * 134 … 152 Harmonic (H1 … H31) L-N voltage phase 2 * 167 … 185 Harmonic (H1 … H31) L-N voltage phase 3 * 19A … 1B8 Harmonic (H1 … H31) phase 1 current * 1CD … 1EB Harmonic (H1 … H31) phase 2 current * 200 … 1B8 Harmonic (H1 … H31) phase 3 current *
Page 28
26
COMMANDS
ENGLISH
STANDARD Communication Protocol
101 … 132 Harmonic (H1 … H50) L-N voltage phase 1 (ENH) 134 … 165 Harmonic (H1 … H50) L-N voltage phase 2 (ENH) 167 … 198 Harmonic (H1 … H50) L-N voltage phase 3 (ENH) 19A … 1CB Harmonic (H1 … H50) phase 1 current (ENH) 1CD … 1FE Harmonic (H1 … H50) phase 2 current (ENH) 200 … 231 Harmonic (H1 … H50) phase 3 current (ENH)
0FF None variable selected
030 Imported active energy +Wh 031 Imported reactive inductive energy +varhI 033 Imported reactive capacitive energy +varhC 01C Imported apparent energy (only for standard instrument version) +VAh 090 Imported apparent inductive energy (ENH) +VAhI 092 Imported apparent capacitive energy (ENH) +VAhC 032 Exported active energy -Wh 02E Exported reactive inductive energy -varhI 02F Exported reactive capacitive energy -varhC 01D Exported apparent energy (only for standard instrument version) -VAh 091 Exported apparent inductive energy (ENH) -VAhI 093 Exported apparent capacitive energy (ENH) -VAhC
Variables code (e.g. 030=Imported active energy) should be used only with the 2 last digits (e.g. 30) in case of the following commands: WA0, WA1, WB0, WB1, WA4, WA5, WB4, WB5, WA8, WA9, WB8, WB9, WA2, WB2, WA6, WB6, WA3, WB3, WA7, WB7.
4.5 Error Messages
Nr Description
E000 COMMAND ACKNOWLEDGE (NO ERROR)
Reception of a correct command.
E011 ERROR COMMAND
Reception of an incorrect command.
E101 RECORDING DOWNLOAD ERROR1
Empty le.
E102 RECORDING DOWNLOAD ERROR2
End of fi le.
NOTE
A verifi cation error on BCC is not indicated; the reception of a complete message but with incorrect BCC is completely ignored by the instrument.
Code Description Symbol
Page 29
27
ASCII CHARACTERS TABLE
ENGLISH
STANDARD 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 30
28
ASCII CHARACTERS TABLE
ENGLISH
STANDARD 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 31
Energieservice - Optimierungssysteme - Betriebsdatenerfassung
Fraunhofer 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: info@berg-energie.de
Loading...