background image

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.

Summary of Contents for UBN3080

Page 1: ...tocol 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 ber...

Page 2: ...ion 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...

Page 3: ...den 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...

Page 4: ...ing 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 sui...

Page 5: ...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 t...

Page 6: ...equence 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...

Page 7: ...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 C...

Page 8: ...n 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 follo...

Page 9: ...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 EXCLUSIV...

Page 10: ...inputs sign space valueon8digitswithdecimalpoint 9characters multiplier space m k M G T Phase reversal sign space valueon3digitswithdecimalpoint 4characters multiplier space m k M G T In case of wiri...

Page 11: ...n 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...

Page 12: ...UL 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...

Page 13: ...HMMSS 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_DATEA _minA _Max_DATEA _MaxA1_min_DATEA1_minA1_Max_...

Page 14: ...at 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 WD...

Page 15: ...mat 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 An...

Page 16: ...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 siz...

Page 17: ...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 IND...

Page 18: ...ted 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 T...

Page 19: ...ction 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 outpu...

Page 20: ...erated 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 tar...

Page 21: ...te 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 YYMMDDHHMMS...

Page 22: ...veform 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 Sy...

Page 23: ...ecessary 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...

Page 24: ...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...

Page 25: ...SHOLD 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...

Page 26: ...imum 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 di...

Page 27: ...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...

Page 28: ...E 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 EN...

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: ...ergieservice 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 d...

Reviews: