Page 1
UBN310 DIN 96x96 & ANSI 4” Power Meter UBN315 DIN 96x96 & ANSI 4” LCD Power Meter UBN3080 DIN 144x144 LCD Power Meter Universal Berg Netzbaustein STANDARD Protocol Manual English Rev. 010 - 01/06/2006 www.berg-energie.de...
STANDARD Communication Protocol ENGLISH 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.
STANDARD Communication Protocol ENGLISH 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).
STANDARD Communication Protocol ENGLISH 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.
STANDARD Communication Protocol ENGLISH 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,...).
STANDARD Communication Protocol ENGLISH 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>...
STANDARD Communication Protocol ENGLISH 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...
STANDARD Communication Protocol ENGLISH 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>...
“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) UBN315 UBN310 UBN3080 Command Description INSTRUMENT (Firmware Release 1.xx) COMPATIBLE ANSWER FORMAT In case of wiring mode: 3Ph-4W/3CT Answer format: <STX>...
Page 11
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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, …)
Page 12
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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>...
Page 13
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 DIGITAL INPUT VALUES * Answer format: <STX>DI1 DI2 DI3 DI4<ETX><BCC> Value format: See R3D.01 ALL DEMAND AND MAXIMUM DEMAND VALUES Answer format: <STX> ADMD VADMD WDMD varDMD AmaxDMD VAmaxDMD WmaxDMD varmaxDMD<ETX> <BCC>...
Page 15
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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>...
Page 16
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 double word: varh <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) recording mode:0=NONE; 1=FILL; 2=RING...
Page 17
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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...
Page 18
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 Size (bytes) Block index Block size HEADER BLOCK: Time/date SSMMHHDDMMYY Frequency 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...
Page 19
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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...
Page 20
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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...
STANDARD Communication Protocol ENGLISH 4.3 Programmable Parameters (codes valid for write only) UBN315 UBN310 Command Description UBN3080 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...
Page 22
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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) recording mode: 0=NONE; 1=FILL; 2=RING integration time to calculate the DMD: 01, 05, 10, 15, 30, 60 min or 61 in case of external (Synchronization with DMD calculation) start/stop: 0=NO;...
Page 23
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 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...
Page 24
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 LANGUAGE Format: WDE=XX Available values: 00=English 01=Deutsch 02=Français 03=Italiano 04=Español Example: WDE=00 EVENT LOG RECORDING MODE (ENH) Format: W2F=X Available values: 0=none 1=fi ll 2=ring Example: W2F=2 SET POINT 1 (ENH) Format: W21=XX,YYY.YY,ZZ,JJJ...
Page 25
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 THRESHOLD Format: WA1=XX,Y,ZZZ.ZZ,JJ,KKK associated variable (see section 4.4) threshold mode L=low threshold mode H=high threshold mode ZZZ.ZZ tripping value referring to the fullscale hysteresis percentage value referring to the tripping value delay time on threshold tripping Example: WA1=20,H,050.00,15,030...
Page 26
STANDARD Communication Protocol ENGLISH Command Description UBN315 UBN310 UBN3080 DIGITAL INPUT 2 * Format: see WA2 DIGITAL INPUT 3 * Format: see WA2 DIGITAL INPUT 4 * Format: see WA2 ANALOG OUTPUT 1 * Format: WA3=XX,Y,ZZZ.ZZ,JJJ.JJ associated variable (see section 4.4) 0=mono-directional output 0-20mA 4=mono-directional output 4-20mA.
STANDARD Communication Protocol ENGLISH Variables List The code and the symbol, assigned to each variable, are described in the following list. Code Description Symbol System voltage VΣ L-N voltage phase 1 L-N voltage phase 2 L-N voltage phase 3 L-L voltage line 12 L-L voltage line 23 L-L voltage line 31 Voltage unbalance (%) (ENH)
Need help?
Do you have a question about the UBN310 and is the answer not in the manual?
Questions and answers