background image

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.

Содержание UBN3080

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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_...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: