background image

Technical Documentation 
 
BLR-CM Modbus 

 

Rev. 05 

 

 

2018-09 

 

12 

 

Address 

Value 

Words 

Type 

Unit 

Frequency  

FLOAT 

Hz  

Voltage phase – phase 

FLOAT 

Voltage phase - neutral 

FLOAT 

Current I1 

FLOAT 

18 

Apparent power S-sum 

FLOAT 

VA 

26 

Active power P-sum 

FLOAT 

34 

Reactive power Q-sum 

FLOAT 

var 

42 

Lacking reactive power ΔQ 

FLOAT 

var 

50 

Power factor (P/S) 

FLOAT 

58 

Total harmonic distortion THD U 

FLOAT 

60 

Harmonics U 1. order = fundamental wave 

FLOAT 

62 

Harmonics U  2. order  

FLOAT 

64 

Harmonics U  3. order  

FLOAT 

… 

… 

… 

… 

… 

122 

Harmonics U  32. order  

FLOAT 

124 

Total harmonic distortion THD I 

FLOAT 

130 

Harmonics I  1. order = fundamental wave 

FLOAT 

132 

Harmonics I  2. order  

FLOAT 

134 

Harmonics I  3. order  

FLOAT 

… 

… 

… 

… 

… 

192 

Harmonics I  32. order  

FLOAT 

322 

Ambient temperature 

FLOAT 

°C 

3.4

 

Work counters 

In order to reach an accurate value, work counters/accumulators are arranged in a special way. Each counter consists 

of two parts:  

1.

 

A FLOAT-type base counter which simply accumulates/integrates the power. If this counter reaches 1000000.0, 

the extended counter is increased by one and 1000000.0 is subtracted from the base counter. 

2.

 

A LONG-type extended counter, which is used to count portions of MW / Mvar up to (2

32

-1)

10

6

To get the real work value, the extended counter must be multiplied with 1000000 and afterwards the base counter 

value must be added. This keeps the precision of the FLOAT-type base counter in acceptable range, because huge values 

can be handled as well.  

 

 

Содержание BLR-CM Modbus

Страница 1: ...cumentation BLR CM Modbus Rev 05 2018 09 Beluk GmbH Taubenstrasse 1 86956 Schongau Germany Tel 49 0 8861 2332 0 Fax 49 0 8861 2332 22 E Mail blr beluk de Web http www beluk de Technical Documentation BLR CM Modbus ...

Страница 2: ...ision Comment 08 11 06 ATh 01 initial document release 20 03 07 ATh 02 features of new software V2 1 x 21 09 07 Le 03 New connector on Modbus hardware valid from firmware V 2 2 x 18 11 08 Le 04 Inserting additional bus address 24 09 18 SMi 05 Adaption to firmware V 2 7 x Layout changes ...

Страница 3: ...indicator 7 2 2 The Modbus protocol 8 2 2 1 Modbus description 8 2 2 2 Serial data format 8 2 2 3 Serial transmission modes 9 2 2 4 Function codes 9 2 2 5 Exception codes 10 2 2 6 Master Slave protocol 10 3 BLR CM MODBUS 10 3 1 Setup 10 3 2 Address space 10 3 3 Measurement values 11 3 4 Work counters 12 3 5 Parameter settings 13 3 6 Stage status 17 3 7 Device status 18 3 8 Storage settings 20 4 TR...

Страница 4: ...tive power controller CM offers the possibility to read out measurement values or adjusting settings This can be done by remote computer systems Attention The BLR CM can send max 30 Values per request The present manual describes the data transmission using the Modbus protocol which defines methods of data transport and addressing but does not generally determined a specific transmission medium ph...

Страница 5: ...00 2400 4800 19200 38400 57600 and 115200 baud All parity variations even odd and none are supported In the RS485 standard two transmission variations are defined 2 wire RS485 This type uses two wires for the communication which is why the same wire pair is used for both data directions Therefore it is necessary to switch between sending and receiving at each device half duplex mode 4 wire RS485 I...

Страница 6: ...s participants PIN5 D B Data signal B PIN9 D A Data signal A b 3 pin Connector The power factor controller CM uses a 3 pin connector which is shown on the right side In order to establish a Modbus connection the data lines and and the common ground middle pin must be connected Attention Various vendors uses the assignment A and B Equating this designation A and B does not always apply This must be...

Страница 7: ...a bias voltage the logic level in the data wires would be undefined while no data is transmitted Additionally external influences may lead to interferences of the signal level For this reason line biasing is required This is done by two resistors which must be in the range of 450 Ω 650 Ω The first resistor is used as pull up resistor and is connected between the data wire resp D and 5 V The second...

Страница 8: ...underlying physical protocol layer PDU FC data 1 byte n bytes Illustration 1 Protocol Data Unit PDU The PDU consists of two parts The function code FC is a command which defines how the slave has to respond The data block contains information which correspond to the FC Its usage depends on the FC it can either contain data or register addresses for slave data access The PDU defines a single data u...

Страница 9: ...ity bit if set 1 Stop bit for parity even or odd 2 if parity is none to compensate missing parity bit 2 2 4 Function codes As it was mentioned before the data packet contains function codes which specify a command from the bus master to the bus slave The slave executes the command if possible and answers with the same function code to acknowledge the command The valid function code range is specif...

Страница 10: ...all slaves on the bus are addressed in parallel They all receive and execute the same command but none of them respond The master initiates a multicast command by using 0 as slave number 3 BLR CM Modbus 3 1 Setup If the device supports Modbus an additional entry is available in the setup menu of the device In this menu the following settings can be done ADDRESS This is the device s slave address s...

Страница 11: ... So their addresses system Modbus address 1 always start with 1 Some SCADA tools add an offset to determine the function code which is used to access the device at the given address Sometimes they also add 1 to the Modbus address As an example the address 40001 would be read Modbus address 0 with function code 03hex 30012 would be read Modbus address 11 with function code 04hex Please refer to the...

Страница 12: ...tal wave 2 FLOAT 132 Harmonics I 2 order 2 FLOAT 134 Harmonics I 3 order 2 FLOAT 192 Harmonics I 32 order 2 FLOAT 322 Ambient temperature 2 FLOAT C 3 4 Work counters In order to reach an accurate value work counters accumulators are arranged in a special way Each counter consists of two parts 1 A FLOAT type base counter which simply accumulates integrates the power If this counter reaches 1000000 ...

Страница 13: ...ion 2 7 0 These values can be accessed with function codes 03hex and 04hex Address Value Words Type Unit 2048 WQ inductive 2 REAL kVarh 2050 WQ capacitive 2 REAL kVarh 2052 WP import 2 REAL kWh 2054 WP export 2 REAL kWh 3 5 Parameter settings Parameters which are set by the user are stored in various data types The base addresses and the data type can be found in the table below All values can be ...

Страница 14: ...ize 1 UINT16 540 Limit warning switch cycles 2 UINT32 542 Limit alarm active power P 2 UINT32 W 544 Limit alarm reactive power Q 2 UINT32 var 546 pf alarm min 0 100 200 i0 00 1 00 c0 00 1 UINT16 547 pf alarm max 0 100 200 i0 00 1 00 c0 00 1 UINT16 548 pf alarm delay time 1 UINT16 s 555 Switching time delay Step exchange x 10 1 UINT16 s 556 Delay time fast control 1 UIN16 per 557 Max step size fast...

Страница 15: ... 1 564 470 Alarm Output Mask 2 und 573 User parameters 2 are coded binary The assignment of the single bits is depicted in the following tables User parameters 1 Bit 15 Bit 0 Bit 0 Synchronization Frequency 00 Automatic 01 Fix 50 Hz 10 Fix 60 Hz Bit 1 Synchronization Frequency Bit 2 Measurement connection 1 LL 0 LN Bit 3 Stage recognition 1 Off 0 On Bit 4 Switch cycle distribution 1 Yes 0 No Bit 5...

Страница 16: ... Output Mask 1 OM1 Bit 15 Bit 0 Bit 0 VOLTAGE Alarm Over or undervoltage 1 Selected 0 Deselected Bit 1 I HIGH Alarm I secondary 6A 1 Selected 0 Deselected Bit 2 I LOW Alarm 1 Selected 0 Deselected Bit 3 TEMP 1 Alarm 1 Selected 0 Deselected Bit 4 TEMP 2 Alarm 1 Selected 0 Deselected Bit 5 THD U Alarm 1 Selected 0 Deselected Bit 6 THD I Alarm 1 Selected 0 Deselected Bit 7 Stage warning Alarm OPC SPL...

Страница 17: ...ast stage 1 fast 0 normal 1 UINT16 769 Fix stage 1 fix 0 automatic 1 UINT16 770 Fix stage on off 1 on 0 off 1 UINT16 772 Stage status 1 defective 0 o k 1 UINT16 1280 Switching state 1 on 0 off 1 UINT16 In the current firmware version it is possible to switch stages manually via Modbus In order to switch a stage the respective stage must be set to 1 under address 769 After this preparation the stag...

Страница 18: ...845 6 n 1 Step size F value step n 2 SINT32 var 911 Step size F value step 12 2 SINT32 var 917 Switch cycles step 1 2 SINT32 919 Switch cycles step 2 2 SINT32 939 Switch cycles step 12 2 SINT32 941 Discharge time step 1 x 10 1 UINT16 s 942 Discharge time step 2 x 10 1 UINT16 s 952 Discharge time step 12 x 10 1 UINT16 s 3 7 Device status The following mentioned registers contain information of alar...

Страница 19: ... 1 Active 0 Inactive Bit 13 Export active energy 1 Active 0 Inactive Bit 14 Under or overcompensation 1 Active 0 Inactive Bit 15 Alarm cosφ is not reached 1 Active 0 Inactive The assignment of the alarm reactions can be seen in the bit mask below If the referring bit 1 the output or the message is active Address Value Words Type Unit 1537 Status messages 1 UINT16 Output Bit 15 Bit 0 Bit 0 Alarm re...

Страница 20: ...ta in EPROM 1 UINT16 If 29864 is written to the upper address the previous entered parameters are stored into the EPROM A successful writing process is confirmed by a 1 in the same register It is not recommended to write data cyclically into the EPROM since the lifetime of the flash cells is limited There are further values in the device s memory which are not mentioned in this document Since they...

Страница 21: ...ossibly consult the data sheet of the converter Perhaps the PC port is already used by another application Avoid multiple port reservations Check the termination and bias resistors 2 Has the bus cable any damages Are all plugs connected correctly If necessary they must be replace 3 Is the pin assignment of the RS485 connection correct If necessary it must be changed 4 The shielding of the bus line...

Отзывы: